/*
Theme Name: EUR Payment v2
Theme URI: https://payment/
Author: EUR
Description: Thème WordPress professionnel pour la vente et le paiement en ligne avec WooCommerce (produits, panier, commande). Les offres sont pilotées depuis inc/config.php.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eur-payment
Tags: woocommerce, e-commerce, light, one-column, custom-menu
WC requires at least: 7.0
WC tested up to: 9.0
*/

/* =================================================================
   1. Tokens
   ================================================================= */

:root {
	--night: #f5f7fb;
	--deep: #eef2f8;
	--panel: #ffffff;
	--panel-2: #f8fafc;
	--line: rgba(15, 40, 80, 0.08);

	--gold: #0ea5e9;
	--gold-deep: #0284c7;
	--ice: #0ea5e9;
	--violet: #6366f1;
	--green: #16a34a;
	--red: #ef4444;

	--text: #0f172a;
	--muted: #64748b;

	--display: 'Anton', 'Arial Narrow', sans-serif;
	--body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;

	--gap: clamp(1rem, 2.5vw, 2rem);
	--pad-section: clamp(3rem, 7vw, 6rem);
	--max: 1200px;
}

/* =================================================================
   2. Base
   ================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background-color: var(--night);
	background-image: none;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ice);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--gold);
}

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.05;
	text-transform: uppercase;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

ul, ol {
	margin: 0 0 1em;
	padding-left: 1.15em;
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--gold);
	color: #12060a;
	padding: 0.6rem 1rem;
	z-index: 999;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.container {
	width: min(100% - 2.4rem, var(--max));
	margin-inline: auto;
}

.container-narrow {
	max-width: 760px;
}

.section {
	padding-block: var(--pad-section);
}

.section-title {
	font-size: clamp(1.9rem, 4.4vw, 3.1rem);
	color: var(--text);
	text-align: center;
}

.section-lead {
	max-width: 62ch;
	margin: 0 auto 2.6rem;
	text-align: center;
	color: var(--muted);
}

/* =================================================================
   3. Boutons
   ================================================================= */

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--body);
	font-weight: 800;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	padding: 0.85rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button {
	background: var(--green);
	color: var(--text);
	box-shadow: 0 8px 20px -10px rgba(22, 163, 74, 0.55);
}

.btn-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover {
	background: #15803d;
	color: var(--text);
	transform: translateY(-1px);
}

.btn-ghost,
.woocommerce a.button:not(.alt):not(.checkout-button),
.woocommerce button.button:not(.alt),
.woocommerce input.button:not(.alt) {
	background: #fff;
	border-color: var(--line);
	color: var(--text);
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.btn-ghost:hover,
.woocommerce a.button:not(.alt):hover,
.woocommerce button.button:not(.alt):hover {
	background: var(--deep);
	border-color: var(--ice);
	color: var(--text);
}

/* =================================================================
   4. En-tête
   ================================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--line);
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-stuck {
	border-bottom-color: var(--line);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 0.85rem;
}

.brand-text {
	font-family: var(--display);
	font-size: 1.4rem;
	letter-spacing: 0.06em;
	color: var(--text);
	text-decoration: none;
}

.brand-text:hover {
	color: var(--ice);
}

.site-nav {
	margin-left: auto;
}

.nav-list {
	display: flex;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-list a {
	color: var(--text);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
}

.nav-list a:hover {
	color: var(--gold);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--line);
	text-decoration: none;
}

.cart-icon {
	width: 17px;
	height: 15px;
	border: 2px solid var(--text);
	border-top: 0;
	border-radius: 0 0 4px 4px;
	position: relative;
}

.cart-icon::before {
	content: '';
	position: absolute;
	inset: -8px 3px auto 3px;
	height: 9px;
	border: 2px solid var(--text);
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
}

.cart-count {
	position: absolute;
	top: -6px;
	right: -6px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--text);
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	margin-inline: auto;
	position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
	content: '';
	position: absolute;
	left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

/* =================================================================
   5. Hero
   ================================================================= */

.hero {
	padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4.5rem);
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #f0f7ff 0%, var(--night) 100%);
}

.hero::after {
	display: none;
}

.hero-inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.hero-eyebrow {
	display: inline-block;
	font-family: var(--body);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--ice);
	background: rgba(14, 165, 233, 0.1);
	border: 1px solid rgba(14, 165, 233, 0.25);
	border-radius: 999px;
	padding: 0.4rem 1rem;
	margin-bottom: 1.2rem;
}

.hero-title {
	font-size: clamp(2.1rem, 5.5vw, 3.6rem);
	color: var(--text);
	text-shadow: none;
	line-height: 1.15;
}

.hero-title span {
	color: var(--ice);
}

.hero-sub {
	max-width: 60ch;
	margin: 1rem auto 2rem;
	color: var(--muted);
	font-size: 1.05rem;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	max-width: 780px;
	margin: 0 auto 2.2rem;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
}

.hero-stats > div {
	background: rgba(8, 18, 49, 0.85);
	padding: 1rem 0.5rem;
}

.hero-stats dt {
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.hero-stats dd {
	margin: 0.25rem 0 0;
	font-family: var(--display);
	font-size: 1.5rem;
	color: var(--gold);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.8rem;
}

/* =================================================================
   6. Cartes d'offre — élément signature (fanion cranté)
   ================================================================= */

.offers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: var(--gap);
	list-style: none;
	margin: 0;
	padding: 0;
}

.offers-grid-single {
	max-width: 420px;
	margin-inline: auto;
}

.offer-card,
.offer-card-li {
	list-style: none;
}

.offer-card {
	--accent: var(--ice);
	position: relative;
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	overflow: hidden;
}

.offer-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.offer-card.tier-standard { --accent: #0ea5e9; }
.offer-card.tier-premium { --accent: var(--violet); }
.offer-card.tier-vip { --accent: #eab308; }
.offer-card.tier-app { --accent: #f97316; }

.offer-card-inner {
	height: 100%;
	padding: 0 0 1.6rem;
	text-align: center;
	background: var(--panel);
}

.card-image {
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: #0b1a3a;
	line-height: 0;
}

.card-image img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: cover;
	object-position: center top;
	display: block;
	transition: transform 0.35s ease;
}

.offer-card:hover .card-image img {
	transform: scale(1.03);
}

.card-badge {
	display: inline-block;
	margin: 0 0 0.7rem;
	padding: 0.25rem 0.8rem;
	border: 1px solid var(--accent);
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
}

.card-name {
	font-size: 1.15rem;
	color: var(--text);
	min-height: 2.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 1rem;
	font-family: var(--body);
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
}

.card-price {
	margin: 0.4rem 0 0.2rem;
	line-height: 1;
}

.card-amount {
	font-family: var(--display);
	font-size: clamp(2.4rem, 6vw, 3.2rem);
	color: var(--text);
	font-variant-numeric: tabular-nums;
}

.card-cur {
	font-size: 0.55em;
	margin-left: 0.05em;
}

.card-period {
	display: block;
	margin-top: 0.5rem;
	font-weight: 700;
	color: var(--text);
}

.card-channels {
	display: inline-block;
	margin: 1rem 0 1.2rem;
	padding: 0.45rem 1.1rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent) 18%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
	font-weight: 800;
	font-size: 0.95rem;
	color: var(--text);
}

.card-features {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	text-align: left;
	font-size: 0.92rem;
	color: var(--muted);
}

.card-features li {
	position: relative;
	padding: 0.35rem 0 0.35rem 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-features li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.85em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
}

.card-actions {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-top: 1.25rem;
	padding: 0 1rem 0.25rem;
}

.card-actions .btn {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.card-actions .btn-primary {
	font-size: 1rem;
	padding: 0.95rem 1.25rem;
}

.card-import-hint {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
	text-align: center;
}

/* =================================================================
   7. Panneaux d'information
   ================================================================= */

.panel {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	margin-bottom: var(--gap);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.panel-title {
	font-size: clamp(1.25rem, 3vw, 1.7rem);
	color: var(--ice);
	text-align: center;
	margin-bottom: 1.6rem;
	font-family: var(--body);
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
}

.included-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.4rem 2rem;
}

.included-item h3 {
	font-family: var(--body);
	font-weight: 800;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--ice);
	margin-bottom: 0.25rem;
}

.included-item p {
	margin: 0;
	font-size: 0.93rem;
	color: var(--muted);
}

.panel-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: var(--gap);
}

.panel-row .panel {
	margin-bottom: 0;
}

.rules-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
}

.rules-col h3 {
	font-family: var(--body);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.16em;
}

.rules-allowed h3 { color: var(--green); }
.rules-forbidden h3 { color: var(--red); }

.rules-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.93rem;
	color: var(--muted);
}

.rules-col li {
	padding: 0.3rem 0 0.3rem 1.4rem;
	position: relative;
}

.rules-allowed li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.75em;
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	transform: rotate(-45deg);
}

.rules-forbidden li::before {
	content: '×';
	position: absolute;
	left: 0;
	top: 0.15em;
	color: var(--red);
	font-weight: 800;
	font-size: 1.1rem;
}

.device-note {
	color: var(--muted);
	margin: 0;
}

.panel-steps .steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1.6rem;
	counter-reset: step;
}

.step {
	position: relative;
	padding-top: 2.4rem;
	border-top: 1px solid var(--line);
}

.step-num {
	position: absolute;
	top: -0.9rem;
	left: 0;
	font-family: var(--display);
	font-size: 1.5rem;
	color: var(--gold);
	background: var(--night);
	padding-right: 0.6rem;
	font-variant-numeric: tabular-nums;
}

.step h3 {
	font-family: var(--body);
	font-weight: 800;
	font-size: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: var(--text);
}

.step p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--muted);
}

.notice-empty {
	max-width: 60ch;
	margin: 0 auto 2rem;
	padding: 1rem 1.2rem;
	border: 1px dashed var(--gold);
	border-radius: var(--r-md);
	color: var(--gold);
	text-align: center;
	font-size: 0.95rem;
}

/* =================================================================
   8. WooCommerce — fiche produit
   ================================================================= */

.shop-main {
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--gap);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

@media (min-width: 900px) {
	.woocommerce div.product {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	.woocommerce div.product .offer-detail {
		grid-column: 1 / -1;
	}
}

.woocommerce div.product .product_title {
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	color: var(--text);
}

.offer-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.6rem;
}

.offer-duration {
	font-family: var(--display);
	letter-spacing: 0.18em;
	color: var(--gold);
}

.offer-badge {
	padding: 0.2rem 0.7rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-family: var(--display);
	font-size: clamp(2.4rem, 6vw, 3.4rem);
	color: var(--gold);
	line-height: 1;
	margin: 0.4rem 0 1rem;
}

.woocommerce div.product p.price del {
	color: var(--muted);
	font-size: 0.5em;
}

.offer-headline {
	font-size: 1.05rem;
	color: var(--text);
}

.offer-highlights {
	list-style: none;
	padding: 0;
	margin: 0 0 1.6rem;
}

.offer-highlights li {
	position: relative;
	padding: 0.4rem 0 0.4rem 1.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 0.95rem;
	color: var(--muted);
}

.offer-highlights li::before {
	content: '';
	position: absolute;
	left: 1px;
	top: 0.95em;
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	transform: rotate(-45deg);
}

.woocommerce div.product form.cart {
	margin: 1.25rem 0 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.woocommerce div.product form.cart div.quantity {
	margin-right: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
	min-width: 180px;
	padding: 0.95rem 1.5rem !important;
	font-size: 1.05rem !important;
}

.woocommerce .quantity input.qty,
.woocommerce input[type='text'],
.woocommerce input[type='email'],
.woocommerce input[type='tel'],
.woocommerce input[type='password'],
.woocommerce textarea,
.woocommerce select,
.woocommerce .select2-container .select2-selection {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	color: var(--text);
	padding: 0.7rem 0.8rem;
	font-family: var(--body);
	font-size: 0.95rem;
}

.woocommerce table.variations {
	margin-bottom: 1rem;
}

.woocommerce table.variations th,
.woocommerce table.variations td {
	padding: 0.35rem 0;
	border: 0;
	background: none;
}

.woocommerce table.variations label {
	font-weight: 800;
	color: var(--ice);
}

.offer-trust {
	list-style: none;
	padding: 0;
	margin: 1.2rem 0 0;
	font-size: 0.86rem;
	color: var(--muted);
}

.offer-trust li {
	padding: 0.2rem 0 0.2rem 1.2rem;
	position: relative;
}

.offer-trust li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}

.offer-detail {
	margin-top: clamp(2rem, 5vw, 3.5rem);
}

.offer-sections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: var(--gap);
	margin-bottom: var(--gap);
}

.offer-section {
	background: #ffffff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--ice);
	border-radius: var(--r-md);
	padding: 1.4rem 1.5rem;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.offer-section h2 {
	font-size: 1.15rem;
	color: var(--text);
	text-transform: none;
	font-family: var(--body);
	font-weight: 800;
	letter-spacing: 0;
}

.offer-section p {
	color: var(--muted);
	font-size: 0.95rem;
}

.offer-section p:last-child {
	margin-bottom: 0;
}

.offer-faq {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(1.5rem, 3.5vw, 2.5rem);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.offer-faq h2 {
	font-size: clamp(1.25rem, 3vw, 1.7rem);
	color: var(--ice);
	text-align: center;
	margin-bottom: 1.4rem;
}

.faq-item {
	border-bottom: 1px solid var(--line);
	padding: 0.9rem 0;
}

.faq-item summary {
	cursor: pointer;
	font-weight: 800;
	color: var(--text);
	list-style: none;
	position: relative;
	padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::after {
	content: '+';
	position: absolute;
	right: 0;
	top: -0.1em;
	font-size: 1.4rem;
	color: var(--ice);
	line-height: 1;
}

.faq-item[open] summary::after {
	content: '–';
}

.faq-item p {
	margin: 0.6rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Grille boutique */

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: var(--gap);
	margin: 0;
	padding: 0;
}

.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
}

.woocommerce ul.products li.product::before,
.woocommerce ul.products li.product::after {
	content: none;
}

/* =================================================================
   9. WooCommerce — panier, commande, messages
   ================================================================= */

.woocommerce table.shop_table,
.woocommerce table.cart {
	background: rgba(13, 28, 68, 0.6);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--line);
	color: var(--text);
	padding: 0.9rem 1rem;
}

.woocommerce table.shop_table th {
	font-family: var(--display);
	letter-spacing: 0.08em;
	color: var(--gold);
	text-transform: uppercase;
	font-weight: 400;
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-order-details__title,
.woocommerce-column__title {
	font-size: 1.25rem;
	color: var(--text);
}

.woocommerce .cart-collaterals .cart_totals {
	width: 100%;
	max-width: 460px;
	float: none;
	margin-left: auto;
}

.woocommerce-checkout #payment {
	background: rgba(13, 28, 68, 0.6);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
}

.woocommerce-checkout #payment div.payment_box {
	background: rgba(255, 255, 255, 0.98);
	color: var(--muted);
	border-radius: var(--r-sm);
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--line);
}

.woocommerce-checkout #payment ul.payment_methods {
	border-bottom-color: var(--line);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.woocommerce p.no-comments {
	background: rgba(13, 28, 68, 0.85);
	border-top: 3px solid var(--gold);
	border-radius: var(--r-sm);
	color: var(--text);
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--gold);
}

.woocommerce-error {
	border-top-color: var(--red);
}

.woocommerce-error::before {
	color: var(--red);
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--muted);
	font-size: 0.85rem;
	margin-bottom: 1.4rem;
}

.woocommerce div.product .woocommerce-product-gallery {
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
	background: #0b1a3a;
}
.woocommerce div.product .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-height: 420px;
	margin: 0 auto;
	display: block;
}

.woocommerce span.onsale {
	background: var(--gold);
	color: var(--text);
	font-weight: 800;
}

/* =================================================================
   10. Contenus éditoriaux
   ================================================================= */

.page-title,
.entry-title {
	font-size: clamp(1.9rem, 4.5vw, 3rem);
	color: var(--text);
	margin-top: clamp(2rem, 5vw, 3rem);
}

.entry-content h2 {
	font-family: var(--body);
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1.4rem;
	color: var(--ice);
	margin-top: 2rem;
}

.entry-content p,
.entry-content li {
	color: var(--muted);
}

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--gap);
	margin-block: 2rem 3rem;
}

.post-card {
	background: rgba(13, 28, 68, 0.6);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	overflow: hidden;
	padding-bottom: 1.2rem;
}

.post-card .post-title {
	font-family: var(--body);
	font-weight: 800;
	text-transform: none;
	letter-spacing: 0;
	font-size: 1.1rem;
	padding: 1rem 1.2rem 0;
}

.post-card .post-title a {
	color: var(--text);
	text-decoration: none;
}

.post-excerpt {
	padding: 0 1.2rem;
	color: var(--muted);
	font-size: 0.93rem;
}

/* =================================================================
   11. Pied de page
   ================================================================= */

.site-footer {
	margin-top: clamp(3rem, 7vw, 5rem);
	border-top: 1px solid var(--line);
	background: #f8fafc;
	padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	padding-bottom: 2.5rem;
}

.footer-logo {
	font-family: var(--display);
	font-size: 1.35rem;
	color: var(--gold);
	letter-spacing: 0.06em;
	margin-bottom: 0.4rem;
}

.footer-tagline,
.footer-contact {
	color: var(--muted);
	font-size: 0.92rem;
}

.footer-title {
	font-family: var(--body);
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.18em;
	color: var(--ice);
}

.footer-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
	font-size: 0.92rem;
}

.footer-list li {
	padding: 0.22rem 0;
}

.footer-list a {
	color: var(--muted);
	text-decoration: none;
}

.footer-list a:hover {
	color: var(--gold);
}

.footer-bottom {
	border-top: 1px solid var(--line);
	padding-block: 1.2rem;
	font-size: 0.85rem;
	color: var(--muted);
	text-align: center;
}

.footer-bottom p {
	margin: 0;
}

/* =================================================================
   12. Animations et responsive
   ================================================================= */

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.offer-card {
		transition: none;
	}
}

@media (max-width: 860px) {
	.nav-toggle {
		display: block;
		order: 3;
	}

	.site-nav {
		order: 4;
		flex-basis: 100%;
		margin-left: 0;
		display: none;
	}

	.site-nav.is-open {
		display: block;
	}

	.nav-list {
		flex-direction: column;
		gap: 0.2rem;
		padding-block: 0.8rem;
	}

	.nav-list a {
		display: block;
		padding: 0.6rem 0;
		border-bottom: 1px solid var(--line);
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.header-actions {
		order: 2;
		margin-left: auto;
	}
}

@media (max-width: 560px) {
	.hero-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.card-name {
		min-height: 0;
	}

	.card-image {
		/* full width, natural image height */
	}

	.offer-card-inner {
		padding-bottom: 1.2rem;
	}
}
