/*
Theme Name: Les Galton's
Description: Refonte 2026 des Galton's. Composants dans l'esprit shadcn/ui : variables de thème, cartes, boutons, badges, accordéon, segments.
Version: 1.0.0
Text Domain: galtons
*/

/* ============ Variables (style shadcn/ui) ============ */
:root {
	--background: #ffffff;
	--foreground: #0c131f;
	--card: #ffffff;
	--sea: #1b7fa8;
	--sun: #ffc857;
	--muted: #f3f8fb;
	--muted-foreground: #5b6778;
	--border: #e3e7ee;
	--input: #d6dce6;
	--primary: #0f2b49;
	--primary-hover: #183a60;
	--primary-foreground: #ffffff;
	--secondary: #edf3f8;
	--ring: rgba(15, 43, 73, .30);
	--success: #15803d;
	--success-bg: #e8f5ec;
	--warn: #b4440f;
	--warn-bg: #fdeee7;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
	--shadow-lg: 0 18px 40px -12px rgba(15, 23, 42, .22);
	--font: "Inter", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "Geist Mono", "SF Mono", Menlo, Consolas, monospace;
	--header-h: 64px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(12, 19, 31, .35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted-foreground); }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
.ico { flex: none; vertical-align: -3px; }

/* ============ Composants ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font: 600 .92rem/1 var(--font); cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--foreground); border-color: var(--input); }
.btn-outline:hover { background: var(--secondary); }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.btn-block { width: 100%; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); background: #fff; font-size: .72rem; font-weight: 600; color: var(--muted-foreground); line-height: 1.3; }
.badge-warn { background: var(--warn-bg); border-color: transparent; color: var(--warn); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.field-label { display: block; margin: 18px 0 8px; font-size: .84rem; font-weight: 600; }
.input, .select, .woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="number"], .woocommerce input[type="password"], .woocommerce textarea, .woocommerce select {
	width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--input); border-radius: var(--radius-sm); background: #fff; color: var(--foreground); font: inherit; box-shadow: var(--shadow-sm);
}
.woocommerce textarea { padding: 10px 12px; min-height: 96px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6778' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.select:disabled { background-color: var(--muted); color: var(--muted-foreground); cursor: not-allowed; }
.input:focus, .select:focus, .woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--ring); }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-foreground); font-size: .85rem; pointer-events: none; }
.link-btn { display: inline-block; margin-top: 12px; padding: 0; border: 0; background: none; color: var(--foreground); font: 500 .88rem var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--primary-hover); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--radius-sm); background: var(--secondary); }
.segmented button { min-height: 38px; padding: 6px 8px; border: 0; border-radius: 6px; background: transparent; font: 500 .85rem/1.2 var(--font); color: var(--muted-foreground); cursor: pointer; }
.segmented button.is-on { background: #fff; color: var(--foreground); box-shadow: var(--shadow-sm); font-weight: 600; }

/* ============ En-tête ============ */
.topbar { background: var(--primary); color: #fff; font-size: .78rem; }
.topbar-in { display: flex; justify-content: center; gap: 14px; padding-block: 8px; flex-wrap: wrap; }
.topbar i { opacity: .5; font-style: normal; }
.topbar a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--primary); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.main-nav a { padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--muted-foreground); }
.main-nav a:hover { background: var(--secondary); color: var(--foreground); }
.main-nav a.is-active { background: var(--secondary); color: var(--foreground); }
.nav-phone-mobile { display: none !important; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; text-decoration: none; }
.cart-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--input); border-radius: 10px; background: #fff; text-decoration: none; }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--primary); color: #fff; font: 700 .7rem/1 var(--font); }
.cart-count.is-empty { background: var(--primary); }
.menu-toggle { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--input); border-radius: 10px; background: #fff; cursor: pointer; color: var(--foreground); }
.menu-toggle .close { display: none; }
.nav-open .menu-toggle .open { display: none; }
.nav-open .menu-toggle .close { display: block; }

/* Parcours de commande */
.site-header.is-flow .header-in { min-height: 60px; }
.steps { display: flex; align-items: center; gap: 18px; list-style: none; margin: 0 auto; padding: 0; font-size: .86rem; color: var(--muted-foreground); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps li + li::before { content: ""; width: 28px; height: 1px; background: var(--input); margin-right: 10px; }
.step-dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--input); background: #fff; font-size: .74rem; font-weight: 600; flex: none; }
.step-dot .ico { width: 13px; height: 13px; }
.steps .is-current { color: var(--foreground); font-weight: 600; }
.steps .is-current .step-dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.steps .is-done { color: var(--success); }
.steps .is-done .step-dot { background: var(--success-bg); border-color: transparent; color: var(--success); }
.secure { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: .86rem; font-weight: 500; }

/* ============ Univers marin : mur d'images, soleil, vagues ============ */
.btn-sun { background: var(--sun); color: #2b1f00; box-shadow: 0 6px 18px -6px rgba(255, 200, 87, .7); }
.btn-sun:hover { background: #ffd57d; color: #2b1f00; }
.topbar { background: linear-gradient(90deg, #0f2b49, #14507a 55%, #0f2b49); }

.hero.hero-sea { position: relative; isolation: isolate; overflow: hidden; clip-path: inset(0); background: #0b2a47; color: #fff; border-bottom: 0; padding-block: 64px 118px; }
/* Le mur est calé exactement sur le haut de page (aucun débordement, aucune animation) */
.hero-wall { position: absolute; inset: 0; z-index: -2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: hidden; }
.hero-wall img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 8px; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
	linear-gradient(97deg, rgba(7, 28, 52, .88) 0%, rgba(7, 28, 52, .76) 34%, rgba(7, 28, 52, .4) 56%, rgba(7, 28, 52, .06) 100%),
	linear-gradient(0deg, rgba(7, 28, 52, .32), transparent 38%); }
.hero-wall img { filter: saturate(1.1) contrast(1.03); }
.hero-sea .finder { color: var(--foreground); }
.hero-sea h1 { color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .28); }
.hero-sea h1 span { color: var(--sun); }
.hero-sea .lead { color: rgba(255, 255, 255, .9); }
.hero-sea .pill { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .34); color: #fff; }
.hero-sea .pill b { background: var(--sun); color: #3a2a00; }
.hero-sea .checks { color: #fff; }
.hero-sea .checks .ico { color: var(--sun); }
.hero-sea .finder { box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); }
/* La vague recouvre le bas du haut de page (placée après lui, donc jamais découpée : pas de trait) */
.hero-wave { display: block; position: relative; z-index: 3; width: 100%; height: 74px; margin: -73px 0 0; color: var(--background); pointer-events: none; }

.sea-band { position: relative; isolation: isolate; overflow: hidden; margin-top: 56px; padding: 150px 0 120px; text-align: center; color: #fff; background: #0b2a47; }
.band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sea-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 28, 52, .55), rgba(7, 28, 52, .72)); }
.band-wave { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: 72px; color: var(--background); }
.band-in { max-width: 760px; }
.band-kicker { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
.sea-band h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -0.03em; text-shadow: 0 2px 22px rgba(0, 0, 0, .3); }
.band-text { max-width: 56ch; margin: 0 auto 28px; color: rgba(255, 255, 255, .92); font-size: 1.08rem; }

/* ============ Accueil ============ */
.hero { background: var(--muted); border-bottom: 1px solid var(--border); padding-block: 56px 64px; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 5px 12px 5px 6px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: .8rem; color: var(--muted-foreground); }
.pill b { padding: 2px 8px; border-radius: 999px; background: var(--success-bg); color: var(--success); font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); letter-spacing: -0.035em; margin-bottom: .45em; }
.lead { color: var(--muted-foreground); font-size: 1.08rem; max-width: 34em; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks .ico { color: var(--success); }
.finder { padding: 26px; box-shadow: var(--shadow-lg); }
.finder h2 { margin: 0 0 4px; font-size: 1.25rem; }
.finder .muted { margin: 0 0 4px; font-size: .9rem; }
.finder-msg { min-height: 1.4em; margin: 14px 0 0; font-size: .88rem; color: var(--muted-foreground); }
.finder-msg.is-ok { color: var(--success); font-weight: 600; }
.finder .field-label:first-of-type { margin-top: 14px; }

.section { padding-block: 56px; }
.section-muted { background: var(--muted); border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; font-size: .85rem; }

/* Liste de béquilles */
.rows { display: grid; gap: 12px; }
.row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 8px 20px; align-items: center; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.row-img { display: block; width: 88px; height: 64px; border-radius: 8px; overflow: hidden; background: var(--secondary); }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 2px; font-size: 1.02rem; letter-spacing: -0.01em; }
.row-title a { text-decoration: none; }
.row-title a:hover { text-decoration: underline; }
.row-sub { margin: 0; font-size: .82rem; color: var(--muted-foreground); }
.row-price { display: grid; justify-items: end; line-height: 1.2; }
.row-price strong { font-size: 1.22rem; letter-spacing: -0.02em; }
.row-price s { font-size: .8rem; color: var(--muted-foreground); }
.row-actions { display: flex; gap: 8px; }
.row-order, .row-cart { display: none; }
.rows.is-compat .row-choose { display: none; }
.rows.is-compat .row-order, .rows.is-compat .row-cart { display: inline-flex; }
.list-empty { margin-top: 12px; padding: 18px 20px; font-size: .95rem; }

.tiles-wrap { padding-bottom: 8px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: .86rem; }
.tile b { display: block; font-size: .95rem; margin-bottom: 2px; }
.tile span, .tile a { color: var(--muted-foreground); }
.tile-ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 9px; background: var(--secondary); color: var(--primary); }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.faq-photo img { width: 100%; border-radius: 16px; border: 1px solid var(--border); aspect-ratio: 4 / 3; object-fit: cover; }
.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 2px; list-style: none; cursor: pointer; font-weight: 600; font-size: .98rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { transition: transform .2s; color: var(--muted-foreground); }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.accordion details p { margin: 0 0 16px; color: var(--muted-foreground); font-size: .93rem; }
.faq-cta { display: flex; align-items: center; gap: 18px; margin: 24px 0 0; }
.faq-cta .link-btn { margin: 0; }

/* ============ Envoi d'une photo (fenêtre) ============ */
.photo-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--border); border-radius: 16px; background: #fff; color: var(--foreground); box-shadow: var(--shadow-lg); overflow: auto; }
.photo-dialog::backdrop { background: rgba(12, 19, 31, .55); }
.photo-form { padding: 22px 24px 24px; }
.photo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.photo-head h2 { margin: 0; font-size: 1.25rem; }
.photo-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--muted-foreground); cursor: pointer; }
.photo-close:hover { background: var(--secondary); color: var(--foreground); }
.photo-main > .muted { margin: 0 0 14px; font-size: .92rem; }
.photo-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-thumbs:empty { display: none; }
.photo-thumbs li { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--secondary); }
.photo-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumbs button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(12, 19, 31, .75); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.photo-add { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.photo-add .btn { flex: 1; min-width: 150px; }
.photo-add .btn:disabled { opacity: .5; cursor: not-allowed; }
.photo-form .field-label { margin-top: 14px; }
.photo-textarea { min-height: 84px; padding: 10px 12px; resize: vertical; }
.photo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.photo-note { margin: 14px 0 0; font-size: .8rem; line-height: 1.45; }
.photo-note a { color: inherit; }
.photo-msg { min-height: 1.3em; margin: 10px 0 12px; font-size: .9rem; font-weight: 500; color: #b4261a; }
.photo-msg.is-ok { color: var(--success); }
.photo-done { text-align: center; padding: 18px 0 6px; }
.photo-done .ok-dot { margin-inline: auto; }
.photo-done h3 { font-size: 1.3rem; margin-bottom: 6px; }
.photo-done .btn { margin-top: 8px; }
@media (max-width: 600px) {
	.photo-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 94dvh; }
	.photo-form { padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); }
	.photo-add .btn { min-width: 0; }
}

/* ============ FAQ ============ */
.faq-head { background: var(--muted); border-bottom: 1px solid var(--border); padding-block: 36px 40px; }
.faq-head .lead { margin: 0; }
.faq-page { padding-block: 44px 64px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list summary { padding-block: 20px; font-size: 1.05rem; }
.faq-list details p { max-width: 62ch; font-size: .98rem; line-height: 1.65; }
.faq-list details p a { color: var(--foreground); font-weight: 500; }
.faq-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.help-card p { margin-bottom: 12px; font-size: .93rem; }
.help-card .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 11px; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.link-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-inline: -10px; border-radius: 8px; text-decoration: none; font-size: .92rem; font-weight: 500; }
.link-list a:hover { background: var(--secondary); }
.link-list .ico { color: var(--muted-foreground); }

/* ============ Boutique, fiche produit ============ */
.page-head { padding-block: 28px 8px; }
.page-head h1 { margin: 10px 0 6px; }
.group { margin-bottom: 36px; }
.group-title { margin-bottom: 14px; font-size: 1.25rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted-foreground); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span:last-child { color: var(--foreground); }
.product-page { padding-block: 20px 56px; }
.product-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; margin-top: 18px; align-items: start; }
.gallery-main { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); background: var(--secondary); aspect-ratio: 4 / 3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--secondary); cursor: pointer; aspect-ratio: 4 / 3; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-on { border-color: var(--primary); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.buybox h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: .35em; }
.buybox .lead { font-size: .98rem; margin-bottom: 18px; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 22px; }
.price-now { font-size: 2rem; letter-spacing: -0.03em; }
.price-old { color: var(--muted-foreground); }
.price-line .muted { font-size: .85rem; }
.versions { display: grid; gap: 8px; margin-bottom: 18px; }
.versions .field-label { margin: 0 0 2px; }
.version { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; text-decoration: none; }
.version:hover { background: var(--muted); }
.version.is-on { border: 2px solid var(--primary); background: var(--muted); padding: 11px 13px; }
.radio { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--input); background: #fff; }
.version.is-on .radio { border: 5px solid var(--primary); }
.version-text { display: grid; flex: 1; font-size: .84rem; color: var(--muted-foreground); }
.version-text b { color: var(--foreground); font-size: .95rem; }
.version-text small { margin-left: 4px; color: var(--muted-foreground); font-weight: 500; }
.version-price { font-weight: 700; }
.buy-form { display: grid; gap: 10px; margin-bottom: 18px; }
.trust { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; }
.trust li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.trust li + li { border-top: 1px solid var(--border); }
.trust .ico { color: var(--muted-foreground); }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.info-card { padding: 26px; }
.info-card h2 { font-size: 1.1rem; }
.info-card h3 { margin-top: 20px; }
.specs { margin: 0; }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted-foreground); }
.specs dd { margin: 0; text-align: right; font-weight: 500; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: .9rem; }
.doc-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.schema { margin-top: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.adapter { display: grid; gap: 2px; margin-top: 20px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--muted); font-size: .88rem; }
.adapter span { color: var(--muted-foreground); }
.prose { margin-top: 20px; }
.section-muted .prose img { border-radius: 10px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -12px rgba(15, 23, 42, .25); transform: translateY(105%); transition: transform .25s; }
.buybar.is-visible { transform: none; }
.buybar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.buybar-in div { display: grid; line-height: 1.3; font-size: .9rem; }

/* ============ Pages libres, WooCommerce ============ */
.page-content { padding-block: 36px 64px; }
.page-title { margin-bottom: .6em; }
.entry-content > *:last-child { margin-bottom: 0; }
.page-flow { max-width: 1120px; }
.woocommerce-notices-wrapper { margin-bottom: 8px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 18px; padding: 14px 18px; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-sm); background: #fff; font-size: .93rem; }
.woocommerce-error { border-left-color: #c0392b; }
.woocommerce-message { border-left-color: var(--success); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.woocommerce-message .button { order: 2; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce a.checkout-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font: 600 .92rem var(--font); text-decoration: none; cursor: pointer; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.checkout-button:hover { background: var(--primary-hover); color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--primary); }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: .93rem; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table thead th { background: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-foreground); }
.woocommerce table.shop_table tr:last-child td { border-bottom: 0; }
.woocommerce table.cart img { width: 72px; border-radius: 8px; }
.woocommerce table.cart td.product-remove a { text-decoration: none; font-size: 1.4rem; color: var(--muted-foreground); }
.woocommerce .quantity input.qty { width: 74px; text-align: center; }
.woocommerce .cart-collaterals { display: grid; justify-items: end; margin-top: 24px; }
.woocommerce .cart_totals { width: min(100%, 420px); }
.woocommerce .cart_totals h2 { font-size: 1.1rem; }
.woocommerce .wc-proceed-to-checkout { margin-top: 14px; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 48px; }
.woocommerce .actions .coupon { display: flex; gap: 8px; }
.woocommerce .actions .coupon .input-text { width: 180px; }
.woocommerce-cart-form .actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.woocommerce form .form-row { margin-bottom: 14px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; }

/* ============ Confirmation de commande ============ */
.thanks { max-width: 1120px; margin-inline: auto; padding: 36px 20px 64px; }
.thanks-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.thanks-col { display: grid; gap: 18px; }
.thanks-main { padding: 28px; }
.thanks-main h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: .3em; }
.thanks-main p { margin-bottom: 0; }
.ok-dot { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--success-bg); color: var(--success); }
.ok-dot .ico { width: 26px; height: 26px; }
.next-steps { padding: 26px; }
.next-steps h2 { font-size: 1.1rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.timeline li { display: flex; gap: 14px; align-items: flex-start; }
.timeline li div { display: grid; line-height: 1.35; }
.timeline li span:not(.step-dot) { color: var(--muted-foreground); font-size: .9rem; }
.timeline .step-dot { width: 30px; height: 30px; }
.timeline .is-done .step-dot { background: var(--success-bg); color: var(--success); border-color: transparent; }
.timeline .is-current .step-dot { background: var(--primary); color: #fff; border-color: var(--primary); }
.pay-info h2 { font-size: 1.1rem; }
.pay-info ul { margin: 0; padding-left: 18px; font-size: .93rem; }
.pay-info .woocommerce-bacs-bank-details h3 { margin-top: 12px; font-size: .95rem; }
.next-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.summary { padding: 24px; }
.summary h2 { font-size: 1.05rem; }
.summary h3 { margin: 18px 0 4px; font-size: .9rem; }
.summary address { font-style: normal; color: var(--muted-foreground); font-size: .9rem; }
.summary-items { list-style: none; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--border); display: grid; gap: 12px; }
.summary-items li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.sum-img { width: 56px; height: 56px; overflow: hidden; border-radius: 8px; background: var(--secondary); }
.sum-img img { width: 100%; height: 100%; object-fit: cover; }
.sum-name { display: grid; line-height: 1.3; font-size: .93rem; }
.sum-name small { color: var(--muted-foreground); font-size: .82rem; }
.sum-price { font-weight: 600; font-size: .93rem; }
.sum-lines { margin: 0; }
.sum-lines div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.sum-lines dt { color: var(--muted-foreground); }
.sum-lines dd { margin: 0; }
.sum-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px !important; font-weight: 700; font-size: 1.05rem !important; }
.sum-total dt { color: var(--foreground) !important; }
.help-box { display: grid; gap: 2px; margin-top: 18px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--muted); font-size: .9rem; }
.help-box span { color: var(--muted-foreground); }

/* Formulaire de contact (code Zoho) : même style que le reste du site */
#crmWebToEntityForm { max-width: 560px !important; padding: 0 !important; background: transparent !important; color: var(--foreground) !important; font-family: var(--font) !important; }
#crmWebToEntityForm .zcwf_title { padding: 0 0 8px !important; color: var(--foreground) !important; font: 700 1.5rem/1.2 var(--font) !important; letter-spacing: -0.02em; max-width: none !important; }
#crmWebToEntityForm .zcwf_row { margin: 14px 0 !important; font-family: var(--font) !important; }
#crmWebToEntityForm .zcwf_col_lab, #crmWebToEntityForm .zcwf_col_fld { float: none !important; width: 100% !important; margin: 0 0 6px !important; padding: 0 !important; }
#crmWebToEntityForm label { font: 600 .86rem var(--font) !important; }
#crmWebToEntityForm .zcwf_col_fld input[type="text"], #crmWebToEntityForm .zcwf_col_fld textarea { float: none !important; width: 100% !important; min-height: 44px; padding: 0 12px; border: 1px solid var(--input) !important; border-radius: var(--radius-sm) !important; background: #fff; font: inherit; box-shadow: var(--shadow-sm); }
#crmWebToEntityForm .zcwf_col_fld textarea { padding: 10px 12px; min-height: 130px; }
#crmWebToEntityForm .zcwf_col_fld input:focus, #crmWebToEntityForm .zcwf_col_fld textarea:focus { outline: none; border-color: var(--primary) !important; box-shadow: 0 0 0 3px var(--ring); }
#crmWebToEntityForm .formsubmit.zcwf_button { min-height: 48px; padding: 0 24px !important; border: 0 !important; border-radius: var(--radius-sm) !important; background: var(--primary) !important; font: 600 1rem var(--font) !important; color: #fff !important; cursor: pointer; }
#crmWebToEntityForm .formsubmit.zcwf_button:hover { background: var(--primary-hover) !important; }
#crmWebToEntityForm a { color: var(--foreground); }

/* ============ Pied de page ============ */
.site-footer { margin-top: 0; border-top: 1px solid var(--border); background: #fff; font-size: .86rem; color: var(--muted-foreground); }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 22px; }
.footer-copy { margin: 0; }
.footer-nav { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }

/* ============ Fluid Checkout (paiement en une page) ============ */
body.woocommerce-checkout { background: var(--muted); }
body.woocommerce-checkout .site-main, body.woocommerce-order-received .site-main { background: var(--muted); }
body.woocommerce-checkout .page-content { padding-top: 28px; }
body.woocommerce-checkout .site-footer { background: var(--muted); border-top: 0; }
#fc-wrapper, .fc-wrapper { max-width: 1120px; margin-inline: auto; }
.fc-checkout-step, .fc-step__substep { background: #fff; }
.woocommerce-checkout .fc-step__substep, .woocommerce-checkout .fc-checkout-step { border-radius: var(--radius); }
.woocommerce-checkout #order_review, .woocommerce-checkout .fc-checkout-order-review-wrapper { border-radius: var(--radius); }
.woocommerce-checkout #place_order { width: 100%; min-height: 50px; border-radius: var(--radius-sm); background: var(--primary); color: #fff; font: 700 1rem var(--font); border: 0; cursor: pointer; }
.woocommerce-checkout #place_order:hover { background: var(--primary-hover); }
.woocommerce-checkout .woocommerce-checkout-payment { border-radius: var(--radius); }

/* Sur la commande, le récapitulatif reste collé en haut de la fenêtre : l'en-tête ne doit donc pas rester collé lui aussi */
body.woocommerce-checkout .site-header { position: relative; }

/* Étapes = cartes numérotées 1, 2, 3 */
.fc-checkout-steps { counter-reset: galtons-step; display: grid; gap: 18px; }
.fc-checkout-step { counter-increment: galtons-step; margin: 0 !important; padding: 0 !important; background: #fff !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-sm); overflow: hidden; }
.fc-checkout-step .fc-step__substep { margin: 0 !important; padding: 22px 24px !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.fc-checkout-step .fc-step__substep + .fc-step__substep { border-top: 1px solid var(--border) !important; }
.fc-step__substep-title { margin: 0 0 14px !important; font-size: 1.05rem !important; font-weight: 700 !important; letter-spacing: -0.01em !important; text-transform: none !important; color: var(--foreground) !important; }
.fc-checkout-step > .fc-step__substep:first-of-type .fc-step__substep-title::before { content: counter(galtons-step) ". "; }
.fc-checkout-step .fc-step__substep-fields input[type="text"], .fc-checkout-step .fc-step__substep-fields input[type="email"], .fc-checkout-step .fc-step__substep-fields input[type="tel"], .fc-checkout-step .fc-step__substep-fields select, .fc-checkout-step .select2-selection { border-radius: var(--radius-sm) !important; border: 1px solid var(--input) !important; min-height: 44px; background: #fff !important; box-shadow: var(--shadow-sm); }
.fc-checkout-step label { font-weight: 600; font-size: .86rem; }
.fc-checkout-step .fc-expansible-form-section__toggle { color: var(--foreground); font-weight: 500; }
.fc-contact-login, .fc-login-form__wrapper { border-radius: var(--radius-sm); }
.fc-sidebar__inner, .fc-checkout-order-review { border-radius: var(--radius) !important; border: 1px solid var(--border) !important; background: #fff !important; box-shadow: var(--shadow-sm); overflow: hidden; }
.fc-checkout-order-review-title, .fc-checkout-order-review__head { font-size: 1.05rem !important; text-transform: none !important; letter-spacing: -0.01em; }
.fc-checkout-order-review table td, .fc-checkout-order-review table th { border-color: var(--border) !important; }
.fc-place-order__section--main { margin-top: 18px; }
.fc-terms-checkbox, .woocommerce-privacy-policy-text { font-size: .86rem; color: var(--muted-foreground); }

/* ============ Mobile ============ */
@media (max-width: 960px) {
	.hero-in { grid-template-columns: 1fr; gap: 32px; }
	.hero { padding-block: 36px 44px; }
	.hero.hero-sea { padding-block: 44px 100px; }
	.hero-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); }
	.hero-wall img:nth-child(n+10) { display: none; }
	.product-grid, .info-grid, .faq-grid, .faq-layout { grid-template-columns: 1fr; gap: 28px; }
	.faq-side { position: static; }
	.tiles { grid-template-columns: repeat(2, 1fr); }
	.thanks-grid { grid-template-columns: 1fr; }
	.section { padding-block: 40px; }
}
@media (max-width: 760px) {
	:root { --header-h: 58px; }
	.container { padding-inline: 16px; }
	.topbar-in { gap: 4px 10px; font-size: .72rem; padding-block: 6px; }
	.topbar span:nth-of-type(3), .topbar i:nth-of-type(2) { display: none; }
	.header-phone { display: none; }
	.menu-toggle { display: grid; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 10px 12px 14px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 16px 24px -16px rgba(15, 23, 42, .3); }
	.nav-open .main-nav { display: flex; }
	.main-nav a { padding: 13px 12px; font-size: 1rem; }
	.nav-phone-mobile { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0 !important; padding-top: 16px !important; color: var(--foreground) !important; font-weight: 600; }
	.hero h1 { font-size: 2.35rem; }
	.hero.hero-sea { padding-block: 32px 92px; }
	.hero-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, minmax(0, 1fr)); }
	.hero-wall img:nth-child(n+9) { display: none; }
	.hero-shade { background: linear-gradient(180deg, rgba(7, 28, 52, .8) 0%, rgba(7, 28, 52, .6) 40%, rgba(7, 28, 52, .22) 100%); }
	.hero-wave { height: 50px; margin-top: -49px; }
	.sea-band { padding: 112px 0 84px; }
	.band-wave { height: 48px; }
	.finder { padding: 20px; }
	.segmented button { font-size: .78rem; padding: 6px 4px; }
	.row { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img main" "price price" "actions actions"; padding: 12px; gap: 10px 14px; }
	.row-img { grid-area: img; width: 76px; height: 60px; }
	.row-main { grid-area: main; }
	.row-price { grid-area: price; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; }
	.row-actions { grid-area: actions; }
	.row-actions .btn { flex: 1; }
	.rows.is-compat .row-actions { flex-wrap: wrap; }
	.tiles { grid-template-columns: 1fr; }
	.tile { padding: 14px; }
	.faq-cta { flex-wrap: wrap; }
	.info-card, .thanks-main, .next-steps, .summary { padding: 20px; }
	.price-now { font-size: 1.75rem; }
	.gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.specs div { flex-direction: column; gap: 2px; }
	.specs dd { text-align: left; }
	.steps { gap: 10px; font-size: .78rem; margin: 0; }
	.steps li + li::before { width: 12px; margin-right: 4px; }
	.steps li:not(.is-current) { }
	.secure span, .secure { font-size: 0; gap: 0; }
	.secure .ico { width: 20px; height: 20px; }
	.logo-text { display: none; }
	.is-flow .logo-text { display: none; }
	.footer-in { flex-direction: column; align-items: flex-start; }
	.buybar { padding-bottom: env(safe-area-inset-bottom); }
	.page-content { padding-block: 24px 48px; }
	.woocommerce table.shop_table_responsive tr { display: block; }
}
/* Panier sur petit écran : chaque ligne devient une carte */
@media (max-width: 760px) {
	.woocommerce table.shop_table.cart thead { display: none; }
	.woocommerce table.shop_table.cart, .woocommerce table.shop_table.cart tbody { display: block; border: 0; background: none; }
	.woocommerce table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img price price" "img qty sub"; gap: 4px 14px; align-items: center; margin-bottom: 12px; padding: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
	.woocommerce table.shop_table.cart tr.cart_item td { display: block; padding: 0; border: 0; text-align: left; }
	.woocommerce table.cart td.product-thumbnail { grid-area: img; }
	.woocommerce table.cart td.product-name { grid-area: name; font-weight: 600; }
	.woocommerce table.cart td.product-remove { grid-area: remove; }
	.woocommerce table.cart td.product-price { grid-area: price; color: var(--muted-foreground); font-size: .88rem; }
	.woocommerce table.cart td.product-quantity { grid-area: qty; }
	.woocommerce table.cart td.product-subtotal { grid-area: sub; font-weight: 700; justify-self: end; }
	.woocommerce table.cart td.product-price::before, .woocommerce table.cart td.product-subtotal::before { content: none; }
	.woocommerce table.shop_table.cart tr:not(.cart_item) { display: block; }
	.woocommerce table.shop_table.cart td.actions { display: block; padding: 0; border: 0; }
	.woocommerce .actions .coupon { flex-direction: column; width: 100%; }
	.woocommerce .actions .coupon .input-text { width: 100%; }
	.woocommerce .actions .button { width: 100%; }
	.woocommerce .cart-collaterals { justify-items: stretch; }
	.woocommerce .cart_totals { width: 100%; }
	.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { display: block; width: 100%; padding: 8px 14px; border: 0; }
	.woocommerce .cart_totals table.shop_table tr { display: block; border-bottom: 1px solid var(--border); padding: 6px 0; }
	.steps li:not(.is-current) { font-size: 0; gap: 0; }
	.steps li:not(.is-current) .step-dot { font-size: .74rem; }
}
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.woocommerce ul#shipping_method li { display: flex; gap: 8px; align-items: baseline; }

@media (max-width: 420px) {
	.hero h1 { font-size: 2.05rem; }
	.buybar-in .btn { padding: 0 14px; }
	.buybar-in b { font-size: .84rem; }
}
