/* =====================================================================
   ESSENTIAL Bioflavour — feuille de style du site
   Design de la maquette : sable, vert forêt, titres Cormorant Garamond,
   sous-titres en italique, touche manuscrite, photos pleine largeur.
   ===================================================================== */

:root {
  /* Couleurs du logo : vert (feuilles, texte « Essential »), jaune or (goutte d'huile), marron (vanille, girofle) */
  --green-900: #0b3a17;
  --green-800: #0f4d1f;
  --green-700: #1a5f22;
  --green-600: #3a7a1c;
  --green-500: #6a9a1c;
  --green-100: #e4eed3;
  --green-50: #f1f6e6;
  --gold: #e8a900;
  --gold-600: #c98f00;
  --gold-400: #f2c21a;
  --gold-100: #fdf3c4;
  --gold-50: #fffaeb;
  --brown-900: #3a2414;
  --brown-800: #4d2f19;
  --brown-700: #6b3e22;
  --brown-500: #9a6a3a;
  --brown-100: #f1e5d6;
  --ochre: var(--gold);
  --sand: #fcf9f0;
  --stone: #f6f0df;
  --stone-2: #efe6cf;
  --line: #e9dfc8;
  --line-strong: #d7c9a8;
  --ink: #2b1b0f;
  --text: #3d2c1d;
  --muted: #76644f;
  --danger: #a3261e;
  --danger-soft: #fbecea;
  --warn-soft: #fdf3d6;
  --info-soft: #f4efe3;
  --footer-bar: #062610;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;

  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(58, 36, 20, .05), 0 10px 26px -16px rgba(58, 36, 20, .28);
  --container: 1200px;
  --gutter: clamp(16px, 3.5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 15.5px; line-height: 1.65; color: var(--text); background: var(--sand); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--green-900); line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 1.4rem + 1.1vw, 2.2rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--brown-700); line-height: 1.35; margin: -.2em 0 .9em; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.3; margin: 0; }
.script { font-family: var(--script); font-weight: 500; line-height: 1.12; margin: 0; }
.kicker { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-700); font-weight: 600; margin-bottom: 14px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--green-900); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.mb-0 { margin-bottom: 0; }
.label-like { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 42px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; font-family: var(--sans); font-weight: 600; font-size: .88rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn .arr { font-size: 1.05em; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-white:hover { border-color: var(--green-600); color: var(--green-900); }
.btn-light { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { background: #fff; border-color: var(--green-600); color: var(--green-900); }
.btn-ghost { background: transparent; color: var(--green-700); padding-inline: 8px; }
.btn-ghost:hover { text-decoration: underline; }
.btn-danger { background: #fff; color: var(--danger); border-color: #eac4bf; }
.btn-danger:hover { background: var(--danger-soft); color: var(--danger); }
.btn-gold { background: var(--gold); color: var(--brown-900); }
.btn-gold:hover { background: var(--gold-600); color: var(--brown-900); }
.btn-soft { background: var(--green-100); color: var(--green-800); }
.btn-soft:hover { background: #d6e6bf; color: var(--green-900); }
.btn-lg { min-height: 50px; padding: 13px 24px; font-size: .95rem; }
.btn-sm { min-height: 34px; padding: 6px 13px; font-size: .82rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow { font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.link-arrow .arr { margin-left: 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-row { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.brand { flex-shrink: 0; display: flex; }
.brand img { height: 50px; width: auto; }
.main-nav { margin: 0 auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu > li { position: relative; }
.menu-link { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border: 0; background: none; cursor: pointer; font-family: var(--sans); font-size: .86rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.menu-link:hover, .has-sub.is-open > .menu-link { color: var(--green-700); }
.menu-link.is-active { color: var(--green-800); font-weight: 600; border-bottom-color: var(--gold); }
.caret { font-size: .65rem; color: var(--muted); transition: transform .15s; }
.has-sub.is-open .caret { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 240px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility 0s linear .15s; }
.submenu-right { left: auto; right: 0; }
.has-sub.is-open > .submenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.submenu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: .9rem; white-space: nowrap; }
.submenu a:hover { background: var(--stone); color: var(--green-800); }
.submenu a.is-active { background: var(--green-50); color: var(--green-900); font-weight: 600; }
.submenu-hello { padding: 6px 12px 10px; color: var(--muted); font-size: .84rem; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.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-strong); color: var(--ink); text-decoration: none; background: #fff; }
.cart-link:hover, .cart-link.is-active { border-color: var(--green-700); color: var(--green-800); }
.cart-fallback { display: none; font-size: .72rem; font-weight: 600; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--brown-900); font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.is-empty { display: none; }
.cart-count.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; }
.menu-fallback { display: none; font-size: 1.2rem; line-height: 1; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-right: 4px; }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 6px 2px; }
.lang-switch a:hover { color: var(--green-700); }
.lang-switch a.is-active { color: var(--green-800); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.lang-sep { color: var(--line-strong); }
.no-icons .menu-toggle i { display: none; }
.no-icons .menu-fallback, .no-icons .cart-fallback { display: inline; }
.no-icons .cart-link i { display: none; }
.no-icons .cart-link { width: auto; padding: 0 12px; border-radius: 999px; }

/* ---------- Messages ---------- */
.page-flash { padding-top: 18px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 13px 16px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid transparent; font-size: .93rem; }
.alert > i { margin-top: 4px; }
.alert > div > :last-child { margin-bottom: 0; }
.alert-success { background: var(--green-50); border-color: #cfe0b5; color: var(--green-900); }
.alert-error { background: var(--danger-soft); border-color: #eec9c4; color: #6e1a13; }
.alert-info { background: var(--info-soft); border-color: #e3d8c0; color: var(--brown-800); }
.alert-warning { background: var(--warn-soft); border-color: #f0d78a; color: #5c3f07; }

/* =====================================================================
   Accueil (maquette)
   ===================================================================== */
.home { background: var(--sand); }
.h-wide { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.bg-img { background-size: cover; background-position: center; }

/* En-tête photo */
.h-hero { position: relative; display: grid; grid-template-columns: 30% 1fr 38%; min-height: clamp(420px, 38vw, 520px); background: #f7f1df; overflow: hidden; }
.h-hero-left, .h-hero-right { position: relative; background: var(--img) center / cover no-repeat; }
.h-hero-left { grid-column: 1; grid-row: 1; }
.h-hero-left::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,241,223,0) 55%, #f7f1df 100%); }
.h-hero-right { grid-column: 3; grid-row: 1; }
.h-hero-right::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f7f1df 0%, rgba(247,241,223,.55) 22%, rgba(247,241,223,0) 45%); }
.h-hero-text { grid-column: 2; grid-row: 1; position: relative; z-index: 2; align-self: center; padding: 48px 0 48px 8px; margin-right: -12%; max-width: 640px; }
.h-hero h1 { font-size: clamp(1.9rem, 1.1rem + 2.1vw, 2.75rem); line-height: 1.07; margin-bottom: 18px; }
.h-hero-lead { font-size: .98rem; max-width: 36em; margin-bottom: 26px; color: var(--text); }
.h-hero-script { position: absolute; left: 11%; bottom: 13%; z-index: 2; color: #fff; font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.5rem); text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.h-hero-quote { position: absolute; top: 9%; right: 7%; z-index: 2; text-align: right; color: var(--ink); max-width: 16em; }

/* Lignes de sections */
.h-row { display: grid; border-top: 1px solid var(--line); background: var(--sand); }
.h-row h2 { margin-bottom: .35em; }
.h-row p { font-size: .95rem; }

.h-why-row { grid-template-columns: 1.05fr 1fr 1.1fr; }
.h-why-text { padding: clamp(28px, 3vw, 44px) clamp(20px, 3vw, 44px) clamp(28px, 3vw, 44px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); background: linear-gradient(180deg, var(--sand), var(--stone)); }
.h-why-photo { position: relative; min-height: 280px; background: var(--img) center / cover no-repeat; display: flex; align-items: flex-end; justify-content: flex-end; padding: 22px; }
.h-why-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.5) 100%); }
.h-why-photo .quote, .h-side-photo .quote { position: relative; z-index: 1; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.35); max-width: 15em; }
.h-philo { padding: clamp(28px, 3vw, 44px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))) clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px); background: var(--stone); }
.h-philo-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.h-philo-list li { display: flex; flex-direction: column; font-size: .82rem; color: var(--muted); line-height: 1.35; }
.h-philo-list strong { font-family: var(--serif); font-size: 1.12rem; color: var(--ink); margin: 10px 0 2px; }
.icon-circle { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, var(--gold-100)); color: var(--green-700); font-size: 1.5rem; box-shadow: inset 0 0 0 1px #efdca0; }

.h-viva { grid-template-columns: 1fr 1.55fr .95fr; background: #faf5e6; }
.h-viva-text { padding: clamp(28px, 3vw, 44px) 24px clamp(28px, 3vw, 44px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); align-self: center; }
.viva-cycle { display: grid; grid-template-columns: 1fr 190px 1fr; grid-template-rows: auto 150px auto; align-items: center; justify-items: center; gap: 18px 22px; width: 100%; max-width: 620px; justify-self: center; align-self: center; padding: 26px 0; }
.viva-center { grid-area: 2 / 2; position: relative; width: 100%; height: 100%; display: grid; place-content: center; text-align: center; }
.viva-arrows { position: absolute; left: 50%; top: 50%; width: 270px; height: 222px; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.viva-arrows path { fill: none; stroke: var(--gold-400); stroke-width: 4; stroke-linecap: round; }
.viva-arrows marker path { fill: var(--gold-400); stroke: none; }
.viva-center strong { position: relative; display: block; font-family: var(--serif); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); color: var(--ink); line-height: 1; letter-spacing: .04em; }
.viva-center span { position: relative; font-size: .76rem; color: var(--muted); line-height: 1.25; display: block; margin-top: 4px; }
.viva-node { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.viva-node img { mix-blend-mode: multiply; object-fit: contain; flex: none; }
.viva-node p { margin: 0; font-size: .74rem; line-height: 1.3; color: var(--muted); }
.viva-node strong { display: block; font-size: .86rem; color: var(--ink); }
.viva-node-1 { grid-area: 2 / 1; justify-self: end; flex-direction: row-reverse; }
.viva-node-1 p { text-align: right; }
.viva-node-1 img { width: 96px; height: 96px; }
.viva-node-2 { grid-area: 1 / 2; width: max-content; }
.viva-node-2 img { width: 46px; height: 64px; }
.viva-node-3 { grid-area: 2 / 3; justify-self: start; flex-direction: column; align-items: flex-start; }
.viva-node-3 img { width: 72px; height: 60px; }
.viva-node-4 { grid-area: 3 / 2; width: max-content; flex-direction: column; text-align: center; gap: 4px; }
.viva-node-4 img { width: 84px; height: 56px; }
.h-viva-photo { position: relative; background: var(--img) right center / cover no-repeat; display: flex; align-items: center; padding: 24px; min-height: 260px; }
.h-viva-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #faf5e6 0%, rgba(250,245,230,.85) 38%, rgba(250,245,230,0) 70%); }
.h-viva-photo .quote { position: relative; color: var(--brown-700); max-width: 9em; }

/* Nos produits */
.h-products { border-top: 1px solid var(--line); padding: 28px 0 34px; background: var(--sand); }
.h-head { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.h-head h2 { margin: 0; }
.h-head .subtitle { margin: 0; font-size: 1.05rem; color: var(--muted); flex: 1; }
.cat-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.03); transition: box-shadow .25s, transform .25s; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.cat-card-img { display: block; aspect-ratio: 2 / 1; overflow: hidden; }
.cat-card-img img, .cat-card-img .visual-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-body { display: flex; flex-direction: column; padding: 14px 16px 16px; flex: 1; }
.cat-card h3 { font-size: 1.28rem; margin: 0 0 4px; }
.cat-card h3 a { color: var(--ink); text-decoration: none; }
.cat-card p { font-size: .82rem; color: var(--muted); line-height: 1.45; margin: 0 0 14px; flex: 1; }
.cat-card .btn { align-self: flex-start; }

/* Qualité */
.h-quality { grid-template-columns: 1fr 1.35fr .95fr; background: var(--stone); }
.h-quality-text, .h-impact-text, .h-history-text { padding: clamp(26px, 3vw, 40px) 24px clamp(26px, 3vw, 40px) max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter))); align-self: center; }
.h-quality-cards { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; align-self: center; }
.h-quality-cards li { background: #fbf6e8; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: .8rem; color: var(--muted); line-height: 1.4; min-height: 190px; }
.h-quality-cards i { font-size: 1.9rem; color: var(--green-700); align-self: center; margin-bottom: 10px; }
.h-quality-cards strong { color: var(--ink); font-size: .88rem; }
.h-side-photo { position: relative; background: var(--img) center / cover no-repeat; min-height: 250px; display: flex; align-items: center; justify-content: flex-end; padding: 22px; }
.h-side-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.28)); }
.h-side-photo .quote { text-align: left; }

/* Impact */
.h-impact { grid-template-columns: 1fr 2fr .95fr; }
.h-impact-cols { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); align-self: center; }
.h-impact-cols li { padding: 4px 22px; border-left: 1px solid var(--line-strong); display: flex; flex-direction: column; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.h-impact-cols i { font-size: 1.9rem; color: var(--green-600); margin-bottom: 12px; }
.h-impact-cols strong { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); margin-bottom: 4px; }
.h-impact-photo { justify-content: flex-start; }
.h-impact-photo::after { background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 80%); }
.h-impact-photo .quote { max-width: 12em; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); }

/* Histoire */
.h-history { grid-template-columns: 1fr 2.1fr .95fr; }
.timeline { list-style: none; margin: 0; padding: 26px 34px 26px 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; align-self: center; }
.timeline::before { content: ""; position: absolute; left: 0; right: 16px; top: calc(26px + 44px); height: 1px; background: var(--green-600); opacity: .6; }
.timeline::after { content: "›"; position: absolute; right: 8px; top: calc(26px + 44px - 13px); font-size: 1.4rem; color: var(--green-600); line-height: 1; }
.timeline li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .76rem; color: var(--muted); line-height: 1.35; padding: 0 4px; }
.timeline i { font-size: 1.6rem; color: var(--green-600); height: 36px; }
.tl-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); margin: 4px 0 10px; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--sand); }
.timeline strong { font-size: .95rem; color: var(--ink); }
.h-history-photo { background: #f6efdc; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); }
.h-history-photo .quote { color: var(--brown-700); padding: 22px 22px 8px; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); }
.h-history-photo img { width: 100%; height: 110px; object-fit: cover; object-position: bottom; }

/* Bandeau devis */
.h-cta { position: relative; color: #fff; background: linear-gradient(90deg, rgba(58,36,20,0) 0%, rgba(58,36,20,.45) 18%, #4d2f19 34%, #3a2414 100%), var(--img) left center / auto 100% no-repeat, #3a2414; }
.h-cta-row { display: flex; align-items: center; gap: 22px 36px; flex-wrap: wrap; min-height: 118px; padding-top: 20px; padding-bottom: 20px; padding-left: max(var(--gutter), 22%); }
.h-cta h2 { color: #fff; margin: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.h-cta p { margin: 0; font-size: .95rem; color: #f3e7d3; }
.btn-cta { background: var(--gold); color: var(--brown-900); border: 1px solid var(--gold); min-height: 48px; padding: 12px 24px; font-size: .95rem; }
.btn-cta:hover { background: var(--gold-400); color: var(--brown-900); }
.h-cta-links { list-style: none; padding: 0; margin: 0 0 0 auto; display: flex; gap: 22px; flex-wrap: wrap; }
.h-cta-links a { color: #fff; text-decoration: none; font-size: .8rem; display: inline-flex; align-items: center; gap: 8px; opacity: .92; }
.h-cta-links a:hover { opacity: 1; text-decoration: underline; }

/* =====================================================================
   Pages intérieures
   ===================================================================== */
.page-hero { position: relative; background: var(--stone); border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--green-600), var(--gold) 50%, var(--brown-700)) 1; padding: clamp(34px, 5vw, 60px) 0 clamp(30px, 4vw, 48px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 42%; background: var(--bg, none) center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); opacity: .95; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 16em; }
.page-hero .subtitle { max-width: 36em; margin-bottom: 0; }
.page-hero-slim { padding: clamp(26px, 4vw, 40px) 0 clamp(22px, 3vw, 32px); }
.page-hero-slim::after { display: none; }
.catalog-search { position: relative; max-width: 560px; margin-top: 22px; }
.catalog-search input { width: 100%; height: 50px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: #fff; padding: 0 120px 0 16px; }
.catalog-search input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.catalog-search .btn { position: absolute; right: 4px; top: 4px; min-height: 42px; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 2.6vw, 28px); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: 1.6rem; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-title h2 { margin: 0; }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-700); color: #fff; font-family: var(--sans); font-size: .85rem; font-weight: 700; margin-right: 8px; vertical-align: 4px; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: #fff; }
.empty p { color: var(--muted); }
.two-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 32px 0 72px; align-items: start; }

/* Processus de commande */
.process-box { margin: 28px 0 8px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-box h2 { font-size: 1.5rem; margin-bottom: 14px; }
.process { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.process-step::before { content: ""; position: absolute; top: 17px; left: calc(-50% + 20px); right: calc(50% + 20px); height: 2px; background: var(--line-strong); }
.process-step:first-child::before { display: none; }
.process-step.is-offline::before { background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.process-step.is-done::before, .process-step.is-current::before { background: var(--green-600); }
.process-dot { flex-shrink: 0; position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: #fff; border: 2px solid var(--line-strong); color: var(--muted); }
.process-step.is-done .process-dot { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.process-step.is-current .process-dot { background: var(--green-800); border-color: var(--green-800); color: #fff; box-shadow: 0 0 0 5px var(--gold-100); }
.process-text { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.process-text strong { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); line-height: 1.15; }
.process-step.is-todo .process-text strong { color: var(--muted); }
.process-desc { font-size: .78rem; color: var(--muted); line-height: 1.4; }
.process-where { display: inline-block; align-self: center; margin-top: 4px; font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--green-50); color: var(--green-700); }
.process-step.is-offline .process-where { background: var(--stone); color: var(--muted); }
.process-note { font-size: .88rem; color: var(--muted); background: var(--stone); border-radius: var(--radius-sm); padding: 12px 14px; margin: 6px 0 0; }

/* Panier et formulaire de cotation */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; padding: 20px 0 72px; }
.checkout > *, .catalog-layout > *, .two-cols > *, .product-page > *, .account > *, .auth > * { min-width: 0; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; }
.cart-item:first-child { border-top: 0; padding-top: 4px; }
.cart-item .visual { aspect-ratio: 1; border-radius: var(--radius-sm); }
.cart-item h3 { font-size: 1.3rem; margin: 0 0 2px; }
.cart-item h3 a { color: var(--ink); text-decoration: none; }
.cart-item-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.link-remove { background: none; border: 0; padding: 4px; color: var(--muted); font-size: .84rem; cursor: pointer; text-decoration: underline; }
.link-remove:hover { color: var(--danger); }
.unit-select { height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; padding: 0 30px 0 10px; font-weight: 600; font-size: .9rem; }
.unit-select-lg { height: 50px; }
.summary { position: sticky; top: 90px; }
.summary h2 { font-size: 1.55rem; }
.summary-items { list-style: none; padding: 0; margin: 0 0 14px; }
.summary-items li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-items strong { white-space: nowrap; color: var(--ink); }
.summary-price { background: var(--gold-50); border: 1px solid #f3e2a4; border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 16px; }
.summary-price strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--green-800); }
.summary-price span { font-size: .84rem; color: var(--muted); }
.summary-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.summary-sub { font-size: 1.15rem; margin: 18px 0 6px; }
.mini-steps { margin: 0; padding-left: 20px; font-size: .84rem; color: var(--muted); }
.mini-steps li { margin-bottom: 4px; }
.checkout-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap-reverse; }

.qty { display: inline-flex; align-items: stretch; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.qty button { width: 38px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty button:hover { background: var(--stone); }
.qty input { width: 70px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; background: var(--green-50); }
.qty-lg { height: 50px; }
.qty-lg button { width: 46px; }

/* Formulaires */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field legend { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; padding: 0; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px var(--green-100); }
.field .hint { font-size: .8rem; color: var(--muted); margin: 5px 0 0; }
.field .error { font-size: .84rem; color: var(--danger); margin: 5px 0 0; font-weight: 500; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fffaf8; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 70px; }
.password-toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); border: 0; background: var(--stone); border-radius: var(--radius-sm); padding: 6px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; color: var(--muted); }
.check, .field label.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; font-weight: 400; }
.check input, .field .check input { width: 18px; min-height: 0; padding: 0; height: 18px; margin-top: 3px; accent-color: var(--green-700); flex-shrink: 0; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.choice-grid { display: grid; gap: 10px; }
.choice { position: relative; display: flex; gap: 12px; align-items: center; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; background: #fff; }
.choice:hover { border-color: var(--green-600); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-radio { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.choice-body strong { font-weight: 600; font-size: .92rem; color: var(--ink); }
.choice:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.choice:has(input:checked) .choice-radio { border-color: var(--green-700); }
.choice:has(input:checked) .choice-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-700); }
.choice:has(input:focus-visible) { outline: 3px solid var(--ochre); outline-offset: 2px; }

/* Catalogue */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 30px 0 72px; align-items: start; }
.filters { position: sticky; top: 90px; }
.filters h2 { font-size: 1.4rem; }
.filter-list { list-style: none; padding: 0; margin: 0 0 22px; }
.filter-list a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: .92rem; }
.filter-list a:hover { color: var(--green-700); background: #fff; }
.filter-list a.is-active { color: var(--green-900); font-weight: 600; background: #fff; box-shadow: inset 3px 0 0 var(--green-700); }
.filter-list .count { color: var(--muted); font-size: .8rem; }
.filters-note { background: var(--stone); padding: 16px; border-radius: var(--radius); font-size: .86rem; color: var(--muted); }
.filters-note h3 { font-size: 1.2rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .results { color: var(--muted); font-size: .92rem; }
.toolbar select { height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); padding: 0 32px 0 12px; background: #fff; }
.chips { display: none; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); text-decoration: none; font-size: .85rem; }
.chip.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); text-decoration: none; color: var(--text); background: #fff; }
.pagination .is-current { background: var(--green-700); color: #fff; border-color: var(--green-700); }

.visual { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--stone); }
.visual-placeholder { --tile: #1a5f22; display: grid; place-items: center; background: color-mix(in srgb, var(--tile) 12%, #fff); color: var(--tile); font-size: 2.2rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.visual-link { position: relative; display: block; overflow: hidden; }
.visual-link .visual { transition: transform .6s ease; }
.product-card:hover .visual-link .visual { transform: scale(1.04); }
.avail-badge { position: absolute; left: 10px; top: 10px; font-size: .7rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--green-800); }
.avail-low { color: #8a5a00; }
.avail-out { background: var(--ink); color: #fff; }
.product-card-body { padding: 14px 16px 6px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; color: var(--brown-500); font-weight: 600; letter-spacing: .02em; }
.product-card h3 { font-size: 1.3rem; margin: 2px 0 4px; }
.product-card h3 a { color: var(--ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--green-700); }
.product-card .desc { font-size: .84rem; color: var(--muted); line-height: 1.45; margin: 0 0 8px; }
.on-request { font-family: var(--serif); font-style: italic; color: var(--brown-700); font-size: 1.02rem; margin: auto 0 6px; }
.product-card form, .product-card > .btn { margin: 0 16px 16px; }
.product-card form .btn { width: 100%; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock-in { color: var(--green-600); }
.stock-low { color: #8a5a00; }
.stock-out { color: var(--danger); }

/* Fiche produit */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 18px 0; font-size: .84rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 52px); align-items: start; padding-bottom: 40px; }
.product-photo .visual { aspect-ratio: 1 / .82; border-radius: var(--radius); }
.product-info h1 { margin: 4px 0 10px; }
.product-info .lead { font-size: 1.05rem; color: var(--muted); }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; display: grid; gap: 16px; }
.buy-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.buy-top > div { display: flex; flex-direction: column; }
.on-request-lg { font-family: var(--serif); font-size: 1.6rem; color: var(--green-800); line-height: 1.1; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.buy-row .btn { flex: 1; min-width: 190px; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts span { color: var(--muted); }
.facts strong { font-weight: 500; color: var(--ink); }
.h-desc { margin-top: 30px; font-size: 1.7rem; }
.prose p { max-width: 68ch; }
.section-similar { padding: 20px 0 72px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* Confirmation, suivi, compte */
.confirm-hero { text-align: center; padding: 10px 0 20px; }
.confirm-icon { width: 70px; height: 70px; border-radius: 50%; background: var(--green-700); box-shadow: 0 0 0 8px var(--gold-100); color: #fff; display: grid; place-items: center; font-size: 2rem; font-weight: 700; margin: 0 auto 16px; }
.confirm-ref { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 1.6rem; background: #fff; border: 1px solid var(--line-strong); color: var(--green-900); padding: 4px 18px; border-radius: var(--radius-sm); margin: 6px 0 12px; }
.items-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.items-table th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--muted); padding: 0 8px 8px 0; border-bottom: 1px solid var(--line); }
.items-table td { padding: 11px 8px 11px 0; border-bottom: 1px solid var(--line); }
.items-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
.recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.recap-grid h3 { font-size: 1.15rem; margin-bottom: 4px; }
.recap-grid p { font-size: .92rem; color: var(--muted); margin: 0; }
.history-list { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.history-list li { padding: 5px 0 5px 14px; border-left: 2px solid var(--green-100); }
.order-list { display: grid; gap: 10px; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; color: inherit; flex-wrap: wrap; }
.order-row:hover { border-color: var(--green-600); color: inherit; }
.order-row h3 { font-size: 1.25rem; margin: 0 0 2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.order-row .meta { font-size: .86rem; color: var(--muted); }
.order-go { font-size: .86rem; font-weight: 600; color: var(--green-700); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-family: var(--sans); font-size: .74rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-recue { background: var(--gold-100); color: #7a4f00; }
.pill-cotation_envoyee { background: #eaf2dc; color: var(--green-700); }
.pill-commande_confirmee { background: var(--brown-100); color: var(--brown-700); }
.pill-paiement_recu { background: #fbeec0; color: #6b4a00; }
.pill-expediee { background: #efe3cf; color: var(--brown-800); }
.pill-livree { background: var(--green-100); color: var(--green-800); }
.pill-annulee { background: #eee8dc; color: var(--muted); }
.tracker { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.tracker li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 0 6px; }
.tracker li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 3px; background: var(--line); }
.tracker li:first-child::before { display: none; }
.tracker li.is-done::before, .tracker li.is-current::before { background: var(--green-600); }
.tracker-dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-strong); background: #fff; color: #fff; font-size: .85rem; font-weight: 700; }
.tracker li.is-done .tracker-dot { background: var(--green-600); border-color: var(--green-600); }
.tracker li.is-current .tracker-dot { background: var(--green-800); border-color: var(--green-800); box-shadow: 0 0 0 5px var(--gold-100); }
.tracker-text strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); line-height: 1.15; }
.tracker-text span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }
.tracker li.is-todo .tracker-text strong { color: var(--muted); }
.account { display: grid; grid-template-columns: 220px 1fr; gap: 30px; padding: 30px 0 72px; align-items: start; }
.account-nav { display: grid; position: sticky; top: 90px; border-top: 1px solid var(--line); }
.account-nav a { padding: 11px 12px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .92rem; }
.account-nav a:hover { background: #fff; color: var(--green-700); }
.account-nav a.is-active { background: #fff; color: var(--green-900); font-weight: 600; box-shadow: inset 3px 0 0 var(--green-700); }

/* Connexion et inscription */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 69px); }
.auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(30px, 5vw, 64px) var(--gutter); }
.auth-card { width: 100%; max-width: 440px; }
.auth-card h1 { margin-bottom: 4px; }
.auth-switch { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: .92rem; }
.auth-aside { position: relative; background: var(--bg) center / cover no-repeat, var(--green-900); display: flex; align-items: flex-end; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,58,23,.15), rgba(11,58,23,.88) 65%); }
.auth-aside-inner { position: relative; padding: clamp(28px, 5vw, 60px); color: #f3ecd9; }
.auth-aside h2 { color: #fff; }
.auth-aside ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.auth-aside li { font-size: .92rem; padding-left: 16px; border-left: 2px solid var(--ochre); }
.auth-aside strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }

/* Contact et aide */
.contact-card { background: var(--green-900); color: #efe8d6; border-radius: var(--radius); padding: 28px; }
.contact-card h2 { color: #fff; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.contact-card li { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
.contact-card li span { color: var(--gold-400); }
.contact-card a, .contact-card strong { color: #fff; font-weight: 500; }
.contact-card-note { font-size: .86rem; margin: 0; }
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--green-700); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 14px; color: var(--muted); font-size: .94rem; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: radial-gradient(120% 140% at 100% 100%, #14521f 0%, var(--green-900) 55%, #082e12 100%); color: #e6ecd6; }
.site-footer::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--green-600) 0%, var(--gold) 50%, var(--brown-700) 100%); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1.3fr 1fr 1.3fr; padding-top: 34px; padding-bottom: 30px; }
.footer-grid > div { padding: 0 22px; border-left: 1px solid rgba(242, 194, 26, .18); }
.footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
.footer-brand img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 10px; background: #fffdf5; border-radius: 50%; padding: 8px; box-shadow: 0 0 0 3px rgba(242, 194, 26, .45); }
.footer-tagline { font-family: var(--serif); font-style: italic; color: #f3e7c4; font-size: 1.05rem; line-height: 1.25; margin: 0; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .84rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { width: 14px; margin-top: 4px; color: var(--gold-400); }
.footer-contact a, .footer-contact span { color: #e6ecd6; text-decoration: none; }
.footer-contact a:hover { color: var(--gold-400); text-decoration: underline; }
.footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; font-size: .84rem; }
.footer-links a { color: #e6ecd6; text-decoration: none; }
.footer-links a:hover { color: var(--gold-400); text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-bottom: 12px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; color: var(--green-900); background: var(--gold-400); font-size: 1rem; text-decoration: none; border-radius: 50%; }
.socials a:hover { color: var(--green-900); background: #fff3c0; }
.social-fallback { display: none; font-size: .72rem; font-weight: 700; }
.no-icons .social-fallback { display: inline; }
.footer-website { font-weight: 700; color: #fff; font-size: .95rem; margin: 0; }
.footer-quote { position: relative; overflow: hidden; min-height: 100px; }
.footer-quote p { position: relative; z-index: 1; font-family: var(--script); font-size: 1.5rem; color: var(--gold-400); line-height: 1.15; transform: rotate(-3deg); margin: 6px 0 0; }
.footer-leaves { position: absolute; right: 0; bottom: -8px; width: 92px; height: 92px; }
.footer-leaves path { fill: var(--green-500); opacity: .45; }
.footer-bottom { background: #062610; color: #d8e0c6; font-size: .78rem; border-top: 1px solid rgba(242, 194, 26, .2); }
.footer-bottom span:last-child { color: var(--gold-400); }
.footer-bottom-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }

/* ---------- Notification ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 90; background: var(--green-900); color: #fff; padding: 12px 12px 12px 18px; border-radius: var(--radius); display: flex; align-items: center; gap: 14px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.4); transition: opacity .2s, transform .25s; width: max-content; max-width: min(560px, calc(100vw - 32px)); font-size: .92rem; }
.toast > span { flex: 1; min-width: 0; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast.is-error { background: var(--danger); }
.toast a { color: var(--green-900); background: #fff; padding: 8px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; white-space: nowrap; }

/* ---------- Impression ---------- */
.print-page { max-width: 820px; margin: 0 auto; padding: 32px var(--gutter); background: #fff; }
.print-head { display: flex; justify-content: space-between; gap: 24px; border-bottom: 2px solid var(--green-800); padding-bottom: 18px; margin-bottom: 22px; }
.print-head img { width: 70px; }
.print-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 18px; }
.print-actions { display: flex; gap: 10px; margin-bottom: 24px; }
@media print { .print-actions { display: none; } body { background: #fff; } }

section[id] { scroll-margin-top: 80px; }

/* =====================================================================
   Adaptation aux écrans
   ===================================================================== */
@media (max-width: 1240px) {
  .cat-cards { grid-template-columns: repeat(3, 1fr); }
  .h-quality { grid-template-columns: 1fr 1.4fr; }
  .h-quality .h-side-photo { grid-column: 1 / -1; min-height: 220px; }
  .h-impact, .h-history { grid-template-columns: 1fr 2fr; }
  .h-impact .h-side-photo, .h-history-photo { grid-column: 1 / -1; }
  .h-history-photo { flex-direction: row; align-items: center; border-left: 0; border-top: 1px solid var(--line); }
  .h-history-photo img { width: 45%; height: 130px; }
  .h-impact-photo { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; row-gap: 24px; }
  .footer-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 1080px) {
  .h-why-row { grid-template-columns: 1fr 1fr; }
  .h-philo { grid-column: 1 / -1; padding-left: var(--gutter); }
  .h-viva { grid-template-columns: 1fr 1.3fr; }
  .h-viva-photo { grid-column: 1 / -1; min-height: 200px; }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .chips { display: flex; }
}

@media (max-width: 960px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(27,59,43,.35); max-height: calc(100vh - 68px); overflow-y: auto; margin: 0; }
  .main-nav.is-open { display: block; }
  .menu { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 18px; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu-link { width: 100%; justify-content: space-between; padding: 15px 2px; font-size: 1rem; border-bottom: 0; }
  .menu-link.is-active { border-bottom: 0; }
  .submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; min-width: 0; }
  .has-sub.is-open > .submenu { display: block; }
  .submenu a { white-space: normal; }
  .menu-cta-mobile { display: block; border-bottom: 0 !important; padding-top: 14px; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }

  .h-hero { grid-template-columns: 1fr; min-height: 0; }
  .h-hero-left { display: none; }
  .h-hero-right { grid-column: 1; grid-row: 1; min-height: 520px; }
  .h-hero-right::before { background: linear-gradient(180deg, rgba(247,241,223,.96) 0%, rgba(247,241,223,.9) 45%, rgba(247,241,223,.25) 80%, rgba(247,241,223,0) 100%); }
  .h-hero-text { grid-column: 1; grid-row: 1; margin: 0; padding: 36px var(--gutter) 200px; max-width: none; align-self: start; }
  .h-hero-quote { top: auto; bottom: 22px; right: var(--gutter); color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; padding: 0 0 16px; }
  .process-step::before { top: calc(-100% + 36px); bottom: calc(100% - 0px); left: 17px; right: auto; width: 2px; height: auto; }
  .process-step.is-offline::before { background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 11px); }
  .process-text { margin-top: 4px; }
  .process-where { align-self: flex-start; }
  .tracker { grid-template-columns: 1fr; }
  .tracker li { flex-direction: row; text-align: left; align-items: flex-start; gap: 14px; padding: 0 0 16px; }
  .tracker li::before { top: calc(-100% + 32px); bottom: 100%; left: 15px; right: auto; width: 3px; height: auto; }
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-aside { min-height: 300px; }
  .product-page, .two-cols { grid-template-columns: 1fr; }
  .account { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; border-top: 0; gap: 6px; }
  .account-nav a { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
  .account-nav a.is-active { box-shadow: none; border-color: var(--green-700); }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .h-why-row, .h-viva, .h-quality, .h-impact, .h-history { grid-template-columns: 1fr; }
  .h-why-text, .h-viva-text, .h-quality-text, .h-impact-text, .h-history-text, .h-philo { padding: 30px var(--gutter); }
  .h-why-photo { min-height: 240px; }
  .h-philo-list { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .viva-cycle { margin: 0 auto 10px; width: calc(100% - 2 * var(--gutter)); grid-template-columns: 1fr 130px 1fr; grid-template-rows: auto 110px auto; gap: 6px 8px; padding: 10px 0 20px; }
  .viva-arrows { width: 210px; height: 180px; }
  .viva-node-1 { flex-direction: column; align-items: flex-end; gap: 4px; }
  .viva-node-1 img { width: 64px; height: 64px; }
  .viva-node-3 { gap: 4px; }
  .viva-node-3 img, .viva-node-4 img { width: 56px; height: 44px; }
  .viva-node p { font-size: .68rem; }
  .viva-node strong { font-size: .76rem; }
  .h-quality-cards { grid-template-columns: 1fr 1fr; padding: 0 var(--gutter) 24px; }
  .h-quality-cards li { min-height: 0; }
  .h-impact-cols { grid-template-columns: 1fr; padding: 0 var(--gutter) 20px; gap: 16px; }
  .h-impact-cols li { border-left: 3px solid var(--green-100); padding: 4px 0 4px 16px; }
  .timeline { grid-template-columns: 1fr; padding: 0 var(--gutter) 24px; gap: 0; }
  .timeline::before { top: 0; bottom: 24px; left: calc(var(--gutter) + 58px); right: auto; width: 1px; height: auto; }
  .timeline::after { display: none; }
  .timeline li { display: grid; grid-template-columns: 40px 18px 56px 1fr; align-items: center; text-align: left; gap: 0 8px; padding: 8px 0; }
  .timeline i { height: auto; font-size: 1.3rem; }
  .tl-dot { margin: 0; justify-self: center; }
  .h-history-photo { flex-direction: column; align-items: stretch; }
  .h-history-photo img { width: 100%; }
  .cat-cards { grid-template-columns: 1fr 1fr; }
  .cat-card-img { aspect-ratio: 3 / 2; }
  .h-cta { background: linear-gradient(180deg, rgba(58,36,20,.55), #3a2414 60%), var(--img) center top / cover no-repeat, #3a2414; }
  .h-cta-row { padding-left: var(--gutter); flex-direction: column; align-items: flex-start; }
  .h-cta-links { margin-left: 0; }
  .form-grid, .check-grid, .recap-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item > form:last-child { grid-column: 2; }
  .facts li { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div { border-left: 0; padding: 0; }
  .footer-brand, .footer-quote { grid-column: 1 / -1; }
  .page-hero::after { width: 100%; opacity: .18; -webkit-mask-image: none; mask-image: none; }
  .buy-row .btn { min-width: 100%; }
}

@media (max-width: 480px) {
  .cat-cards { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card h3 { font-size: 1.12rem; }
  .product-card .desc { display: none; }
  .product-card form, .product-card > .btn { margin: 0 10px 10px; }
  .product-card-body { padding: 10px 10px 4px; }
  .product-card .btn { font-size: .78rem; padding-inline: 6px; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  .header-row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Demande de cotation dans le panier + e-mail préparé ---------- */
.quote-form { margin-top: 34px; scroll-margin-top: 90px; }
.quote-form-head h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); margin-bottom: 6px; }
.quote-form-head p { max-width: 46em; }
.form-section-title { font-size: 1.35rem; margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.quote-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 18px 0 72px; }
.quote-submit p { flex: 1 1 260px; margin: 0; }
.mail-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.mail-meta { margin: 0 0 12px; display: grid; gap: 4px; font-size: .92rem; }
.mail-meta div { display: flex; gap: 8px; }
.mail-meta dt { color: var(--muted); min-width: 52px; }
.mail-meta dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.mail-preview { white-space: pre-wrap; font-family: var(--sans); font-size: .88rem; line-height: 1.55; background: var(--stone); border-radius: var(--radius-sm); padding: 16px; margin: 0; max-height: 420px; overflow: auto; color: var(--text); }
@media (max-width: 760px) {
  .quote-submit .btn { width: 100%; }
  .mail-actions .btn { width: 100%; }
}

/* ---------- Carrières ---------- */
.job-list { display: grid; gap: 14px; }
.job-card { display: flex; align-items: center; gap: 20px 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: var(--radius); padding: 22px 24px; transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-left-color: var(--gold); box-shadow: var(--shadow); }
.job-card-main { flex: 1; min-width: 0; }
.job-card h3 { font-size: 1.45rem; margin: 8px 0 6px; }
.job-card h3 a { color: var(--green-900); text-decoration: none; }
.job-card h3 a:hover { color: var(--green-700); text-decoration: underline; }
.job-card p { margin: 0 0 6px; color: var(--text); }
.job-meta { font-size: .8rem; color: var(--muted) !important; }
.job-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.job-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--stone); color: var(--brown-700); }
.job-tag i { color: var(--green-600); }
.job-tag-contract { background: var(--gold-100); color: #6b4a00; }
.page-hero .job-tags { margin-top: 4px; }
.page-hero .job-tag { background: #fff; border: 1px solid var(--line); }
.page-hero .job-tag-contract { background: var(--gold-100); border-color: #f0d78a; }
.job-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; padding: 28px 0 72px; }
.job-layout > * { min-width: 0; }
.job-body .lead { font-size: 1.08rem; color: var(--ink); }
.job-body h3 { font-size: 1.35rem; margin: 22px 0 8px; color: var(--green-800); }
.job-body ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.job-body li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.job-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.job-aside { position: sticky; top: 96px; }
.job-facts { display: grid; gap: 8px; margin: 0 0 18px; font-size: .9rem; }
.job-facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.job-facts dt { color: var(--muted); }
.job-facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.job-spontaneous { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(120deg, var(--green-50), var(--gold-50)); border: 1px solid var(--line); }
.job-spontaneous h3 { margin-bottom: 4px; }
@media (max-width: 900px) {
  .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
}
@media (max-width: 640px) {
  .job-card { flex-direction: column; align-items: flex-start; padding: 18px; }
  .job-card .btn, .job-spontaneous .btn { width: 100%; }
}
