/* =====================================================================
   Alpaw — feuille de style de la boutique
   Style « outdoor & joyeux » : couleurs chaudes, formes arrondies,
   animations discrètes. Couleurs et polices modifiables dans :root.
   ===================================================================== */

/* Police Poppins (licence SIL OFL, hébergée sur le site : aucun appel externe) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-bold.woff") format("woff"); }

:root {
  /* Fonds */
  --bg: #FFF9F2;
  --surface: #FFFFFF;
  --surface-2: #FFF5EA;
  --tint: #FDEEDF;
  /* Texte */
  --ink: #16241E;
  --ink-2: #3A4A42;
  --muted: #6B756F;
  --line: #F0E2D2;
  /* Couleurs de marque */
  --lake: #1F4A3A;      /* vert forêt */
  --lake-2: #2B6651;
  --terra: #FF6B2C;     /* orange vif : boutons d'achat */
  --terra-2: #E8551A;
  --sand: #FFB88A;
  --sun: #FFC940;       /* jaune soleil : accents */
  --sun-bg: #FFF3CC;
  --mint: #DDF3E6;
  --peach: #FFE6D5;
  --sky: #E3EEFF;
  /* États */
  --success: #1F8A5B;
  --success-bg: #E3F5EB;
  --warning: #9A6412;
  --warning-bg: #FFF3D6;
  --danger: #C23B22;
  --danger-bg: #FDE8E3;
  --info: #2B5068;
  --info-bg: #E6EEF6;

  --font-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(60, 35, 10, .07);
  --shadow: 0 12px 32px -14px rgba(60, 35, 10, .22);
  --shadow-lg: 0 28px 60px -22px rgba(60, 35, 10, .32);
  --shadow-orange: 0 10px 24px -10px rgba(255, 107, 44, .75);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1220px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-2); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--terra); margin-bottom: .6rem; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--tint); padding: .1em .35em; border-radius: 6px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(255, 107, 44, .55); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { display: none; }
.i { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--lake); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* Texte surligné façon feutre */
.hl { background: linear-gradient(transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%); padding: 0 .1em; border-radius: 4px; }
.pill-label { display: inline-flex; align-items: center; gap: .45rem; background: var(--mint); color: var(--lake); font-weight: 600; font-size: .85rem; padding: .4rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.1rem; }
.pill-label .i { width: 18px; height: 18px; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  border: 2px solid var(--btn-bd); border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s var(--bounce), background .2s, border-color .2s, color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(2px); }
.btn--primary { --btn-bg: var(--terra); --btn-fg: #fff; --btn-bd: var(--terra); background: linear-gradient(135deg, #FF8144, var(--terra) 55%, var(--terra-2)); box-shadow: var(--shadow-orange); }
.btn--primary:hover { --btn-bd: var(--terra-2); box-shadow: 0 14px 28px -10px rgba(255, 107, 44, .85); }
.btn--dark { --btn-bg: var(--lake); --btn-fg: #fff; --btn-bd: var(--lake); }
.btn--dark:hover { --btn-bg: var(--lake-2); --btn-bd: var(--lake-2); }
.btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--lake); --btn-bd: rgba(31, 74, 58, .18); }
.btn--ghost:hover { --btn-bd: var(--lake); }
.btn--link { --btn-bg: transparent; --btn-bd: transparent; --btn-fg: var(--lake); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.btn--link:hover { transform: none; --btn-fg: var(--terra); }
.btn--danger { --btn-bg: transparent; --btn-fg: var(--danger); --btn-bd: rgba(194, 59, 34, .35); }
.btn--danger:hover { --btn-bg: var(--danger-bg); }
.btn--lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.03rem; }
.btn--sm { min-height: 38px; padding: .4rem .95rem; font-size: .88rem; border-width: 1.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.is-loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
.btn.is-loading .i { display: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative;
  transition: background .2s, color .2s, transform .2s var(--bounce);
}
.icon-btn:hover { background: var(--tint); color: var(--ink); transform: scale(1.06); }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn .i { width: 22px; height: 22px; }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.link-arrow--back { font-weight: 500; font-size: .95rem; margin-bottom: .6rem; }

@keyframes spin { to { transform: rotate(360deg); } }
.spinner { display: inline-block; width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(31, 74, 58, .2); border-top-color: var(--lake); animation: spin .8s linear infinite; }

/* ---------- Bandeau défilant ---------- */
.announce { background: var(--lake); color: #EAF3EE; font-size: .84rem; font-weight: 500; overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce:hover .marquee { animation-play-state: paused; }
.marquee__track { display: flex; flex: none; gap: 3rem; list-style: none; margin: 0; padding: .55rem 1.5rem; }
.marquee__track li { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.marquee__track li::after { content: "•"; color: var(--sun); margin-left: 3rem; }
.marquee__track .i { width: 16px; height: 16px; color: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Ancienne version du bandeau (compatibilité) */
.announce__inner { display: flex; justify-content: center; gap: 2rem; padding: .45rem 20px; }
.announce span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 242, .9); backdrop-filter: saturate(170%) blur(12px); -webkit-backdrop-filter: saturate(170%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(60, 35, 10, .5); }
.header { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 38px; height: 38px; transition: transform .35s var(--bounce); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.06); }
.logo__text { font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; white-space: nowrap; }
.logo__text em { color: var(--terra); font-style: normal; }
.logo--light, .logo--light:hover { color: #FFF9F2; }
.logo--light .logo__text em { color: var(--sun); }

.main-nav { display: flex; gap: .2rem; margin-left: 1.5rem; }
.main-nav a { white-space: nowrap; padding: .5rem .8rem; border-radius: var(--radius-pill); text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .93rem; transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--tint); color: var(--ink); }
.main-nav a.is-active { background: var(--peach); color: var(--terra-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .25rem; }
.header-search { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-pill); padding: 0 .35rem 0 1rem; margin-right: .4rem; transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(255, 107, 44, .12); }
.header-search input[type="search"] { border: 0; border-radius: 0; background: transparent; width: 150px; padding: .5rem 0; outline: none; min-height: 40px; box-shadow: none; }
.header-search input[type="search"]:focus { box-shadow: none; }
.header-search button { border: 0; background: transparent; cursor: pointer; color: var(--muted); display: grid; place-items: center; width: 34px; height: 34px; }
.cart-link { background: var(--surface); box-shadow: var(--shadow-sm); }
.cart-badge { position: absolute; top: -2px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--terra); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; line-height: 1; border: 2px solid var(--bg); }
.cart-badge.bump { animation: bump .5s var(--bounce); }
@keyframes bump { 30% { transform: scale(1.45); } 100% { transform: scale(1); } }

.nav-toggle { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 1rem 0 1.5rem; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: .95rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.mobile-menu nav a .i { color: var(--terra); }
.mobile-search { display: flex; gap: .5rem; margin-bottom: .75rem; }
.mobile-search input { flex: 1; min-width: 0; }

/* ---------- Formulaires ---------- */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"],
input[type="search"], input[type="date"], input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  background: var(--surface); border: 1.5px solid #E9DCCB; border-radius: var(--radius-sm);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 96px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%236B756F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 4px rgba(255, 107, 44, .12); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); background: #FFFBFA; }
input:disabled { background: var(--tint); color: var(--muted); }
.field { margin-bottom: 1rem; }
.field label, .field > span.label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row--postal { grid-template-columns: 140px 1fr; }
.field-error { color: var(--danger); font-size: .87rem; margin: .35rem 0 0; }
.hint { color: var(--muted); font-size: .85rem; margin: .35rem 0 0; }
.req { color: var(--terra); }
.checkbox, .radio { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; margin: .45rem 0; line-height: 1.45; }
.checkbox input, .radio input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--terra); flex: none; }
.input-group { display: flex; gap: .5rem; }
.input-group input { flex: 1; min-width: 0; }
.password-field { position: relative; }
.password-field input { padding-right: 3rem; }
.password-field .icon-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.password-field .icon-btn:hover { transform: translateY(-50%); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; padding: 0; }

/* ---------- Messages ---------- */
.flash-stack { margin-top: 1rem; display: grid; gap: .6rem; }
.alert { display: flex; align-items: flex-start; gap: .75rem; padding: .95rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: .95rem; animation: slideDown .35s var(--ease); margin-bottom: 1rem; }
.flash-stack .alert { margin: 0; }
.alert p, .alert ul { margin: 0; flex: 1; }
.alert ul { padding-left: 1.1rem; }
.alert .i { margin-top: .1rem; }
.alert--success { background: var(--success-bg); color: #165C3D; border-color: #C3E8D3; }
.alert--error { background: var(--danger-bg); color: #862F1F; border-color: #F5CFC6; }
.alert--warning { background: var(--warning-bg); color: #7A4F0E; border-color: #F2DDAE; }
.alert--info { background: var(--info-bg); color: #1F3F52; border-color: #CCDCE9; }
.alert__close { border: 0; background: transparent; cursor: pointer; color: inherit; opacity: .6; padding: 0; display: grid; place-items: center; }
.alert__close:hover { opacity: 1; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.notice { background: var(--surface-2); border: 1.5px dashed #EACFB2; border-radius: var(--radius-sm); padding: .85rem 1rem; margin-bottom: 1.2rem; font-size: .95rem; }
.notice p { margin: 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

.toast-region { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: grid; gap: .6rem; width: min(380px, calc(100vw - 40px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: .75rem; align-items: center; background: var(--lake); color: #fff; padding: .95rem 1.1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); animation: toastIn .45s var(--bounce); }
.toast--error { background: var(--danger); }
.toast a { color: var(--sun); font-weight: 700; margin-left: auto; white-space: nowrap; }
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Badges, étiquettes, stock ---------- */
.tag { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .01em; padding: .32rem .7rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); white-space: nowrap; }
.tag--sale { background: var(--terra); color: #fff; }
.tag--muted { background: #EFE9E1; color: var(--muted); }
.tag--love { background: var(--sun); color: var(--ink); }
.tag--ship { background: var(--lake); color: #fff; }
.stock { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 500; margin: 0; }
.stock .dot, .stock::before { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock::before { content: ""; }
.stock:has(.dot)::before { display: none; }
.stock--in { color: var(--success); }
.stock--in .dot, .stock--in::before { box-shadow: 0 0 0 0 rgba(31, 138, 91, .5); animation: pulse 2s infinite; }
.stock--low { color: #C26A0A; }
.stock--out { color: var(--muted); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 91, .45); } 70% { box-shadow: 0 0 0 7px rgba(31, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0); } }
.badge { display: inline-block; padding: .22rem .7rem; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; background: var(--tint); color: var(--ink-2); white-space: nowrap; }
.badge--en_attente { background: #FFF1D1; color: #8A5A10; }
.badge--payee { background: #E3EEF8; color: #1F3F52; }
.badge--en_preparation { background: #EFE6F7; color: #5B3A7A; }
.badge--expediee { background: #DDF0F7; color: #1B5A73; }
.badge--terminee { background: var(--success-bg); color: #165C3D; }
.badge--annulee { background: #EFEDEA; color: #6B6660; }

/* ---------- Sections ---------- */
.site-main { min-height: 50vh; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--surface-2); }
.section--flush { padding: 3rem 0 1rem; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.section__head h2 { margin: 0; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center p.muted { max-width: 58ch; margin: .8rem auto 0; }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem); }
.page-head--compact { padding: 1.8rem 0 1.2rem; }
.page-head h1 { margin-bottom: .3rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .84rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terra); }
.breadcrumbs--tight { padding-top: 1.4rem; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .7; }
.blob--1 { width: 520px; height: 520px; right: -120px; top: -140px; background: radial-gradient(circle at 30% 30%, var(--peach), transparent 68%); }
.blob--2 { width: 420px; height: 420px; left: -160px; bottom: -180px; background: radial-gradient(circle at 60% 40%, var(--mint), transparent 68%); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.2rem; }
.hero h1 em { color: var(--terra); font-style: normal; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 50ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: .6rem; flex-wrap: wrap; }
.hero__facts li { display: inline-flex; align-items: center; gap: .5rem; background: var(--surface); border-radius: var(--radius-pill); padding: .5rem .95rem .5rem .6rem; font-size: .88rem; color: var(--ink-2); box-shadow: var(--shadow-sm); }
.hero__facts .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--peach); color: var(--terra-2); }
.hero__facts strong { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; color: var(--ink); }
.hero__visual { position: relative; }
.hero__visual::before { content: ""; position: absolute; inset: 6% -4% -4% 8%; background: var(--sun); border-radius: 44% 56% 48% 52% / 52% 44% 56% 48%; transform: rotate(-6deg); z-index: 0; animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 56% 44% 52% 48% / 44% 56% 44% 56%; transform: rotate(-2deg); } }
.hero__photo { position: relative; z-index: 1; display: block; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); aspect-ratio: 1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__photo:hover img { transform: scale(1.04); }
.hero__card { position: absolute; z-index: 2; left: -28px; bottom: 32px; display: grid; gap: .15rem; max-width: 270px; background: var(--surface); padding: 1rem 1.15rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-decoration: none; color: var(--ink); animation: float 5s ease-in-out infinite; }
.hero__card:hover { color: var(--ink); }
.hero__card strong { font-size: .95rem; line-height: 1.3; }
.hero__card-tag { justify-self: start; background: var(--sun); color: var(--ink); font-size: .7rem; font-weight: 700; padding: .15rem .6rem; border-radius: var(--radius-pill); margin-bottom: .2rem; }
.hero__card-price { display: inline-flex; align-items: center; gap: .35rem; color: var(--terra); font-weight: 700; font-size: 1.1rem; }
.hero__card-price .i { width: 18px; height: 18px; }
/* Ancienne carte (compatibilité) */
.hero__card > .i { color: var(--success); width: 28px; height: 28px; }
.hero__card div { display: grid; line-height: 1.3; }
.hero__card div span { font-size: .82rem; color: var(--muted); }
.hero__sticker { position: absolute; z-index: 2; top: -14px; right: 18px; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: var(--surface); box-shadow: var(--shadow); animation: float 4s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Bande de confiance ---------- */
.trust-band { padding: 0 0 1rem; position: relative; z-index: 2; }
.trust-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { display: flex; gap: .85rem; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s var(--bounce), box-shadow .25s; }
.trust-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.trust-item div { display: grid; line-height: 1.35; }
.trust-item strong { font-size: .95rem; }
.trust-item div span { font-size: .84rem; color: var(--muted); }
.trust-item__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--peach); color: var(--terra-2); }
.trust-item__icon--sun { background: var(--sun-bg); color: #A26B00; }
.trust-item__icon--mint { background: var(--mint); color: var(--lake); }
.trust-item__icon--sky { background: var(--sky); color: #2E5AA8; }

/* ---------- Catégories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.category-tile { --tile: var(--peach); position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); text-decoration: none; transition: transform .3s var(--bounce), box-shadow .3s; }
.category-tile:nth-child(4n+2) { --tile: var(--mint); }
.category-tile:nth-child(4n+3) { --tile: var(--sun-bg); }
.category-tile:nth-child(4n+4) { --tile: var(--sky); }
.category-tile:hover { transform: translateY(-5px) rotate(-.6deg); box-shadow: var(--shadow); }
.category-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-tile:hover img { transform: scale(1.06); }
.category-tile__label { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: var(--radius-sm); padding: .75rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--ink); box-shadow: var(--shadow-sm); }
.category-tile__label strong { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.category-tile__label small { color: var(--terra-2); font-weight: 600; white-space: nowrap; }

/* ---------- Avantages et étapes ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.benefit { background: var(--peach); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .3s var(--bounce); }
.benefit:hover { transform: translateY(-5px); }
.benefit--sun { background: var(--sun-bg); }
.benefit--mint { background: var(--mint); }
.benefit__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--surface); font-size: 1.8rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.benefit h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.benefit p { margin: 0; color: var(--ink-2); }

.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: none; position: relative; }
.how li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.how__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--terra); color: #fff; font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow-orange); }
.how li:nth-child(2) .how__num { background: var(--lake); box-shadow: 0 10px 24px -10px rgba(31, 74, 58, .7); }
.how li:nth-child(3) .how__num { background: var(--sun); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(255, 201, 64, .9); }
.how h3 { margin-bottom: .35rem; }
.how p { margin: 0; color: var(--ink-2); }

/* Histoire (ancienne section, conservée) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__visual img { border-radius: 36px; box-shadow: var(--shadow); width: 100%; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .6rem; align-items: center; }
.checklist .i { color: var(--success); }

.shipping-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.shipping-strip__item { background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.shipping-strip__item h3 { margin-bottom: .4rem; }
.shipping-strip__item p { margin: 0 0 .3rem; }

/* ---------- Cartes produits ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.9rem, 2vw, 1.5rem); }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); padding: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--bounce), box-shadow .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--tint); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .has-alt .product-card__alt { opacity: 1; }
.product-card__tags { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: .35rem; pointer-events: none; }
.product-card__tags .tag { position: static; }
.product-card__cta { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 14px); opacity: 0; display: inline-flex; align-items: center; gap: .4rem; background: var(--terra); color: #fff; font-weight: 600; font-size: .86rem; padding: .55rem 1.1rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-orange); transition: transform .3s var(--bounce), opacity .25s; white-space: nowrap; }
.product-card__cta .i { width: 17px; height: 17px; }
.product-card:hover .product-card__cta { opacity: 1; transform: translate(-50%, 0); }
.product-card__body { padding: .8rem .45rem .35rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-2); font-weight: 600; margin: 0 0 .15rem; }
.product-card__title { font-family: var(--font-sans); font-size: .98rem; font-weight: 600; margin: 0 0 .5rem; line-height: 1.35; letter-spacing: -.01em; }
.product-card__title a { color: var(--ink); text-decoration: none; }
.product-card__title a:hover { color: var(--terra); }
.product-card__foot { margin-top: auto; display: grid; gap: .15rem; }
.product-card__price { margin: 0; display: flex; gap: .45rem; align-items: baseline; flex-wrap: wrap; }
.product-card__price strong { font-size: 1.12rem; color: var(--ink); }
.product-card__price .from { font-size: .8rem; color: var(--muted); }
.product-card__price s { color: var(--muted); font-size: .88rem; }
@media (hover: none) {
  .product-card__cta { opacity: 1; transform: none; left: auto; right: 10px; bottom: 10px; padding: .5rem; }
  .product-card__cta span { display: none; }
  .product-card:hover { transform: none; }
}

/* ---------- Catalogue ---------- */
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 2.5rem; padding-bottom: 4rem; align-items: start; }
.catalog__filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.filters__toggle { list-style: none; display: flex; align-items: center; gap: .5rem; padding: 1rem 1.1rem; font-weight: 600; cursor: pointer; }
.filters__toggle::-webkit-details-marker { display: none; }
.filters__toggle .chevron { margin-left: auto; transition: transform .2s; }
.filters[open] .filters__toggle .chevron { transform: rotate(180deg); }
.filters__form { padding: 0 1.1rem 1.1rem; }
.filters fieldset { border-top: 1px solid var(--line); padding: 1rem 0 .5rem; }
.filters legend { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); float: left; width: 100%; margin-bottom: .4rem; }
.filters legend + * { clear: both; }
.filters .radio small { color: var(--muted); }
.price-range { display: flex; align-items: center; gap: .5rem; }
.price-range input { min-height: 42px; padding: .5rem .7rem; }
.filters__actions { display: grid; gap: .3rem; padding-top: .8rem; }
.catalog__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; gap: 1rem; }
.catalog__bar p { margin: 0; }
.sort-form { display: flex; align-items: center; gap: .6rem; }
.sort-form label { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.sort-form select { min-height: 42px; padding: .45rem 2.2rem .45rem .9rem; width: auto; font-size: .92rem; border-radius: var(--radius-pill); }
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 .8rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, transform .2s var(--bounce); }
.pagination a:hover { border-color: var(--terra); transform: translateY(-2px); }
.pagination a.is-active { background: var(--terra); color: #fff; border-color: var(--terra); }

.empty-state { text-align: center; padding: 3.5rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 3rem; }
.empty-state > .i { width: 48px; height: 48px; color: var(--terra); margin-bottom: 1rem; }
.empty-state--large { padding: 4.5rem 1.5rem; margin-top: 2rem; }
.big-number { font-family: var(--font-serif); font-weight: 700; font-size: 5.5rem; line-height: 1; color: var(--terra); margin: 0 0 .5rem; }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); padding-bottom: 2rem; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__main { position: relative; border-radius: 28px; overflow: hidden; background: var(--surface); aspect-ratio: 1; box-shadow: var(--shadow); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__main img.is-fading { opacity: .2; }
.gallery__thumbs { display: flex; gap: .7rem; margin-top: .9rem; overflow-x: auto; padding: .2rem .1rem .3rem; }
.gallery__thumb { flex: none; width: 84px; height: 84px; padding: 0; border-radius: 16px; overflow: hidden; border: 2.5px solid transparent; background: var(--surface); cursor: pointer; transition: border-color .2s, transform .2s var(--bounce); box-shadow: var(--shadow-sm); }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--terra); }
.product-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.03em; margin-bottom: .7rem; }
.product-info__price { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin-bottom: .9rem; }
.product-info__price strong { font-size: 2rem; font-weight: 700; color: var(--terra-2); letter-spacing: -.02em; }
.product-info__price s { color: var(--muted); font-size: 1.05rem; }
.product-info__short { color: var(--ink-2); font-size: 1.04rem; margin-bottom: 1.4rem; }
.add-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.2rem; box-shadow: var(--shadow-sm); }
.option-group { margin-bottom: 1.2rem; }
.option-group legend { font-weight: 500; margin-bottom: .6rem; font-size: .95rem; }
.option-group legend strong { font-weight: 700; color: var(--terra-2); }
.option-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 46px; min-width: 54px; justify-content: center; padding: .5rem 1.05rem; border: 2px solid #EBDDCC; background: var(--surface); border-radius: 14px; font-weight: 600; font-size: .95rem; transition: all .2s var(--bounce); }
.pill:hover span { border-color: var(--terra); transform: translateY(-2px); }
.pill input:checked + span { border-color: var(--lake); background: var(--lake); color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 74, 58, .8); }
.pill input:focus-visible + span { outline: 3px solid rgba(255, 107, 44, .55); outline-offset: 2px; }
.pill.is-unavailable span { color: var(--muted); background: var(--surface-2); text-decoration: line-through; text-decoration-color: rgba(107, 117, 111, .6); }
.pill.is-unavailable input:checked + span { background: #8A9398; border-color: #8A9398; color: #fff; }
.add-form .stock { margin: .2rem 0 1rem; }
.add-form__row { display: flex; gap: .8rem; }
.add-form__submit { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 2px solid #EBDDCC; border-radius: var(--radius-pill); background: var(--surface); height: 56px; }
.qty input { width: 46px; min-height: 0; height: 100%; border: 0; background: transparent; text-align: center; padding: 0; font-weight: 700; -moz-appearance: textfield; box-shadow: none; }
.qty input:focus { box-shadow: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn { width: 44px; height: 100%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); border-radius: var(--radius-pill); }
.qty__btn:hover { color: var(--terra); }
.qty__btn .i { width: 18px; height: 18px; }
.qty--sm { height: 44px; }
.qty--sm .qty__btn { width: 38px; }
.qty--sm input { width: 38px; }

.buy-extras { display: grid; gap: .7rem; margin: 1.1rem 0 1.4rem; }
.eta, .ship-note { display: flex; gap: .7rem; align-items: flex-start; margin: 0; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .93rem; line-height: 1.45; }
.eta { background: var(--mint); color: #174333; }
.eta .i { color: var(--lake); margin-top: .05rem; }
.ship-note { background: var(--sun-bg); color: #5E4300; }
.ship-note .i { color: #A26B00; margin-top: .05rem; }
.buy-trust { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.buy-trust li { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .4rem; }
.buy-trust .i { width: 22px; height: 22px; color: var(--terra); }
.pay-chips--light { justify-content: center; margin-top: .2rem; }
.pay-chips.pay-chips--light span { border-color: var(--line); color: var(--ink-2); background: var(--surface); font-weight: 600; }

.delivery-box { list-style: none; padding: 1.1rem 1.2rem; margin: 0 0 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .85rem; }
.delivery-box li { display: flex; gap: .8rem; align-items: flex-start; }
.delivery-box .i { color: var(--terra); margin-top: .15rem; }
.delivery-box div { display: grid; line-height: 1.4; }
.delivery-box span { color: var(--muted); font-size: .9rem; }
.accordion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 1.2rem; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 0; }
.accordion details:first-child { border-top: 0; }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; cursor: pointer; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .i { transition: transform .25s var(--ease); color: var(--terra); }
.accordion details[open] summary .i { transform: rotate(180deg); }
.accordion .prose { padding-bottom: 1.1rem; color: var(--ink-2); }
.faq .accordion { margin-bottom: 1rem; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px rgba(60, 35, 10, .35); transform: translateY(110%); transition: transform .35s var(--bounce); }
.sticky-buy.is-visible { transform: none; }
.sticky-buy > div { display: grid; line-height: 1.25; }
.sticky-buy strong { font-size: 1.15rem; color: var(--terra-2); }

/* ---------- Texte riche ---------- */
.prose { line-height: 1.75; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose li::marker { color: var(--terra); }

/* ---------- Panier et commande ---------- */
.steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1rem; font-size: .85rem; color: var(--muted); counter-reset: step; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: .45rem; counter-increment: step; }
.steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .78rem; }
.steps li + li { padding-left: .5rem; }
.steps li + li::after { content: ""; order: -1; width: 22px; height: 2px; border-radius: 2px; background: var(--line); margin-right: .5rem; }
.steps .is-active { color: var(--ink); font-weight: 600; }
.steps .is-active::before { background: var(--terra); border-color: var(--terra); color: #fff; }
.steps .is-done::before { content: "✓"; background: var(--success-bg); border-color: #C3E8D3; color: var(--success); }
.steps a { color: inherit; }

.cart { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto auto auto; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-line__img img { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; background: var(--tint); }
.cart-line__info h2 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; margin: 0 0 .15rem; letter-spacing: -.01em; }
.cart-line__info h2 a { color: var(--ink); text-decoration: none; }
.cart-line__info p { margin: 0; }
.cart-line__total { font-weight: 700; margin: 0; min-width: 96px; text-align: right; }
.cart-line form { margin: 0; }
.cart .link-arrow--back { margin-top: 1.2rem; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.summary h2 { font-size: 1.35rem; }
.summary--sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.totals { margin: 1rem 0; display: grid; gap: .55rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--ink-2); }
.totals dt small { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; white-space: nowrap; }
.totals__discount dt, .totals__discount dd { color: var(--success); }
.totals__grand { border-top: 1.5px dashed var(--line); padding-top: .8rem; margin-top: .3rem; }
.totals__grand dt, .totals__grand dd { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.totals__vat dt, .totals__vat dd { font-size: .85rem; color: var(--muted); font-weight: 400; }
.free-ship { background: var(--sun-bg); border-radius: var(--radius-sm); padding: .85rem .95rem; font-size: .9rem; margin-bottom: .5rem; }
.free-ship p { margin: 0 0 .5rem; }
.free-ship--ok { display: flex; gap: .5rem; align-items: center; color: var(--success); font-weight: 700; background: var(--success-bg); }
.progress { height: 8px; background: rgba(255, 255, 255, .8); border-radius: 4px; overflow: hidden; }
.progress__bar { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), var(--terra)); border-radius: 4px; transition: width .6s var(--ease); }
.promo-form { margin: 1rem 0 1.2rem; }
.promo-form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.promo-form input { text-transform: uppercase; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; background: var(--success-bg); color: var(--success); border-radius: var(--radius-sm); padding: .4rem .5rem .4rem .9rem; margin: 1rem 0 1.2rem; font-weight: 600; }
.promo-applied span { display: inline-flex; gap: .4rem; align-items: center; }
.import-note { margin: .2rem 0 .9rem; line-height: 1.45; }
.secure-note { display: flex; justify-content: center; align-items: center; gap: .4rem; color: var(--muted); font-size: .85rem; margin: .9rem 0 .3rem; }
.secure-note .i { width: 16px; height: 16px; color: var(--success); }

.checkout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.card > legend { float: left; width: 100%; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.card > legend + * { clear: both; }
.card > legend .muted { font-family: var(--font-sans); font-size: .9rem; font-weight: 400; }
.card__title { font-size: 1.25rem; }
.payment-choice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem; border: 2px solid var(--lake); border-radius: var(--radius-sm); background: var(--mint); margin-bottom: 1rem; }
.payment-choice p { margin: .2rem 0 0; }
.payment-choice .i { color: var(--lake); width: 24px; height: 24px; margin-top: .1rem; }
.payment-choice--test { border-color: #E9C66B; background: var(--warning-bg); }
.payment-choice--test .i { color: var(--warning); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .8rem; }
.mini-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; font-size: .93rem; }
.mini-lines__img { position: relative; }
.mini-lines__img img { width: 64px; height: 64px; object-fit: cover; border-radius: 14px; background: var(--tint); }
.mini-lines__img b { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 11px; background: var(--terra); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; }
.mini-lines__name { display: grid; line-height: 1.35; font-weight: 600; }
.mini-lines__name small { color: var(--muted); font-weight: 400; }
.mini-lines__name a { color: var(--ink); text-decoration: none; }
.mini-lines--large { margin-bottom: 1rem; }

/* ---------- Paiement / confirmation ---------- */
.pay-sim { text-align: center; padding: 2rem; margin: 1rem 0 3rem; }
.pay-sim__badge { display: inline-flex; gap: .4rem; align-items: center; background: var(--warning-bg); color: var(--warning); padding: .35rem .8rem; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 600; }
.pay-sim__amount { display: grid; margin: 1.4rem 0; }
.pay-sim__amount span { color: var(--muted); }
.pay-sim__amount strong { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: var(--terra-2); }
.pay-sim__actions { display: grid; gap: .6rem; max-width: 380px; margin: 1.4rem auto; }
.result { text-align: center; padding: 3rem 1rem 2rem; }
.result__icon { width: 84px; height: 84px; border-radius: 50%; display: inline-grid; place-items: center; margin-bottom: 1.2rem; animation: pop .6s var(--bounce); }
.result__icon .i { width: 40px; height: 40px; }
.result--success .result__icon { background: var(--success-bg); color: var(--success); box-shadow: 0 0 0 10px rgba(31, 138, 91, .08); }
.result--error .result__icon { background: var(--danger-bg); color: var(--danger); }
.result--pending .result__icon { background: var(--info-bg); }
.result h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.result__actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; margin-top: .5rem; }
.address-grid h3 { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
address { font-style: normal; line-height: 1.6; }

/* ---------- Compte ---------- */
.auth { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; padding: 2.5rem 20px 4rem; max-width: 960px; }
.auth--single { grid-template-columns: 1fr; max-width: 560px; }
.auth__card { padding: 2rem; margin: 0; }
.auth__card h1 { font-size: 1.9rem; }
.auth__card--alt { background: var(--peach); border-color: transparent; }
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.account { padding-bottom: 4rem; }
.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.tabs a { padding: .8rem 1rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.is-active { color: var(--ink); border-bottom-color: var(--terra); }
.order-list { display: grid; gap: .7rem; }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .25s var(--bounce), box-shadow .2s; }
.order-row:hover { border-color: var(--terra); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.order-row > div { display: grid; }
.order-row .i { color: var(--terra); }
.form-narrow { max-width: 560px; }
.timeline { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; text-align: center; font-size: .88rem; color: var(--muted); }
.timeline li { display: grid; justify-items: center; gap: .4rem; position: relative; }
.timeline li + li::before { content: ""; position: absolute; top: 16px; right: 50%; width: 100%; height: 3px; border-radius: 2px; background: var(--line); z-index: 0; }
.timeline li.is-done + li.is-done::before { background: var(--success); }
.timeline__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); display: grid; place-items: center; z-index: 1; color: transparent; }
.timeline .is-done { color: var(--ink); font-weight: 600; }
.timeline .is-done .timeline__dot { background: var(--success); border-color: var(--success); color: #fff; }
.timeline__dot .i { width: 16px; height: 16px; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }

/* ---------- Contact, FAQ, tableaux ---------- */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; padding-bottom: 4rem; align-items: start; }
.contact-list, .link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .i { color: var(--terra); margin-top: .15rem; }
.faq { padding-bottom: 4rem; }
.faq__section { margin-bottom: 2.4rem; }
.faq__section h2 { font-size: 1.35rem; }
.table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.table th, .table td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.steps-list { list-style: none; counter-reset: s; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps-list li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; display: grid; gap: .3rem; font-size: .92rem; }
.steps-list li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--terra); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1; }
.steps-list span { color: var(--ink-2); }
.container--narrow.prose, .container--narrow > .prose { padding-bottom: 4rem; }

/* ---------- Réassurance et pied de page ---------- */
.reassurance { background: var(--surface-2); border-top: 1px solid var(--line); }
.reassurance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2.2rem 20px; }
.reassurance__item { display: flex; gap: .85rem; align-items: center; }
.reassurance__item .i { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--peach); color: var(--terra-2); }
.reassurance__item:nth-child(2) .i { background: var(--sun-bg); color: #A26B00; }
.reassurance__item:nth-child(3) .i { background: var(--mint); color: var(--lake); }
.reassurance__item:nth-child(4) .i { background: var(--sky); color: #2E5AA8; }
.reassurance__item div { display: grid; line-height: 1.4; }
.reassurance__item span { color: var(--muted); font-size: .86rem; }
.site-footer { background: var(--lake); color: #C9DDD3; padding-top: 3.5rem; font-size: .93rem; border-radius: 36px 36px 0 0; margin-top: -1px; }
.site-footer a { color: #F1F7F3; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand p { margin: 1rem 0; max-width: 36ch; }
.footer-title { font-family: var(--font-sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sun); font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: center; }
.pay-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.pay-chips span { border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; padding: .22rem .55rem; font-size: .75rem; color: #F1F7F3; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.2rem 20px calc(1.2rem + env(safe-area-inset-bottom)); font-size: .82rem; color: #9FBDAF; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #9FBDAF; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .product-card.reveal.is-visible:hover { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; width: auto; justify-content: center; }
  .marquee__track[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1420px) {
  .main-nav { margin-left: .6rem; }
  .main-nav a { padding: .5rem .6rem; font-size: .9rem; }
  .header-search input[type="search"] { width: 88px; }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; margin-left: -8px; }
  .header-search { display: none; }
}

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reassurance__grid, .trust-band__grid { grid-template-columns: 1fr 1fr; }
  .cart, .checkout { grid-template-columns: 1fr 340px; gap: 1.5rem; }
}

@media (max-width: 860px) {
  .hero__grid, .story, .product, .cart, .checkout, .contact, .auth { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; margin: 1rem auto 0; width: 100%; }
  .hero__card { left: 8px; bottom: 14px; }
  .story__visual { order: -1; max-width: 480px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .shipping-strip, .benefits, .how { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr; gap: 1rem; }
  .catalog__filters { position: static; }
  .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { position: static; }
  .summary--sticky { position: static; }
  .checkout .summary { order: -1; }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .sticky-buy { display: flex; }
  .page-product .site-footer { padding-bottom: 76px; }
  .page-product .toast-region { bottom: 88px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .announce__extra { display: none; }
  .marquee__track { gap: 2rem; }
  .marquee__track li::after { margin-left: 2rem; }
  .logo__text { font-size: 1.3rem; }
  .logo__mark { width: 32px; height: 32px; }
  .header { gap: .25rem; }
  .hero { padding-top: 1.4rem; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  .hero__lead { font-size: 1.02rem; margin-bottom: 1.5rem; }
  .hero__facts li { font-size: .82rem; }
  .hero__sticker { width: 58px; height: 58px; font-size: 1.6rem; right: 8px; }
  .hero__card { max-width: 220px; padding: .8rem .95rem; }
  .trust-band__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .9rem; }
  .trust-item__icon { width: 40px; height: 40px; border-radius: 12px; }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); gap: .8rem .7rem; }
  .product-card { padding: 7px; border-radius: 16px; }
  .product-card__media { border-radius: 11px; }
  .product-card__body { padding: .6rem .3rem .2rem; }
  .product-card__title { font-size: .9rem; }
  .product-card__price strong { font-size: 1.02rem; }
  .product-card__tags .tag { font-size: .66rem; padding: .25rem .55rem; }
  .category-tile__label { flex-direction: column; align-items: flex-start; gap: 0; padding: .6rem .8rem; }
  .category-tile__label strong { font-size: .92rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .section__head--center { align-items: center; }
  .field-row, .field-row--postal { grid-template-columns: 1fr; gap: 0; }
  .field-row--postal { grid-template-columns: 110px 1fr; gap: .8rem; }
  .cart-line { grid-template-columns: 76px 1fr auto; grid-template-areas: "img info remove" "img qty total"; gap: .5rem .9rem; }
  .cart-line__img { grid-area: img; align-self: start; }
  .cart-line__img img { width: 76px; height: 76px; }
  .cart-line__info { grid-area: info; }
  .cart-line__qty { grid-area: qty; }
  .cart-line__total { grid-area: total; min-width: 0; }
  .cart-line__remove { grid-area: remove; justify-self: end; align-self: start; }
  .summary, .card { padding: 1.2rem; }
  .add-form { padding: 1.1rem; }
  .add-form__row { flex-direction: column; }
  .add-form__row .qty { align-self: flex-start; }
  .product-info__price strong { font-size: 1.75rem; }
  .order-row { grid-template-columns: 1fr auto; }
  .order-row .i { display: none; }
  .order-row__total { grid-column: 2; }
  .address-grid { grid-template-columns: 1fr; }
  .timeline { font-size: .75rem; }
  .steps-list { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .table td { border: 0; padding: .3rem 1rem; display: flex; justify-content: space-between; gap: 1rem; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .site-footer { border-radius: 26px 26px 0 0; }
  .reassurance__grid { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 16px; }
  .catalog__bar { flex-wrap: wrap; }
  .toast-region { right: 12px; left: 12px; width: auto; bottom: 12px; }
  .account-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Guide des tailles ---------- */
.table-title { font-size: 1.2rem; margin: 2rem 0 .8rem; }
.notice .i { color: var(--terra); }
