/* =====================================================================
   aiMer — Feuille de style principale
   Univers : luxe doux & artisanal · crème, or, vert sauge, rose
   ===================================================================== */

/* ---- Polices (hébergées en local — aucun appel à Google, conforme RGPD) ---- */
@import url('fonts.css');

/* ---- Variables ---- */
:root{
  --cream:#f4f1ec;
  --cream-2:#ece6dc;
  --cream-3:#e3dccf;
  --ink:#463f33;
  --ink-soft:#6b6253;
  --gold:#9f783e;
  --gold-2:#c6a35f;
  --gold-soft:#bfa46f;
  --sage:#b6b9a6;
  --sage-2:#9aa088;
  --sage-deep:#7f8670;
  --rose:#d1b8ad;
  --rose-deep:#c2a193;
  --white:#fffdfa;
  --shadow-sm:0 4px 18px rgba(124,92,68,.08);
  --shadow:0 18px 48px -20px rgba(70,63,51,.30);
  --shadow-lg:0 30px 70px -28px rgba(70,63,51,.40);
  --radius:18px;
  --radius-lg:28px;
  --maxw:1240px;
  --serif:'Cormorant Garamond', Georgia, serif;
  --sans:'Poppins', -apple-system, system-ui, sans-serif;
  --script:'Parisienne', cursive;
  --ease:cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--sans);
  font-weight:300;
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  font-size:16px;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
ul{list-style:none}
input,textarea,select{font-family:inherit;font-size:1rem}

/* ---- Typo ---- */
h1,h2,h3,h4{font-family:var(--serif);font-weight:500;line-height:1.12;color:var(--ink);letter-spacing:.2px}
h1{font-size:clamp(2.6rem,6vw,4.6rem)}
h2{font-size:clamp(2rem,4vw,3.1rem)}
h3{font-size:clamp(1.4rem,2.4vw,1.9rem)}
p{color:var(--ink-soft)}
.script{font-family:var(--script);color:var(--gold);font-weight:400}
.eyebrow{
  font-family:var(--sans);font-weight:500;font-size:.72rem;letter-spacing:.32em;
  text-transform:uppercase;color:var(--sage-2);display:inline-block;
}
.eyebrow::before{content:"";display:inline-block;width:26px;height:1px;background:var(--gold-soft);
  vertical-align:middle;margin-right:.7em;opacity:.7}

/* ---- Layout helpers ---- */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(1.2rem,4vw,2.5rem)}
.section{padding:clamp(4rem,9vw,7.5rem) 0}
.center{text-align:center}
.lead{font-size:1.1rem;max-width:54ch;margin:1.2rem auto 0}
.muted{color:var(--ink-soft)}
.bg-cream2{background:var(--cream-2)}
.bg-sage{background:linear-gradient(160deg,#c4c7b6,#b6b9a6)}

/* =====================================================================
   BOUTONS
   ===================================================================== */
.btn{
  display:inline-flex;align-items:center;gap:.55em;
  font-family:var(--sans);font-weight:500;font-size:.86rem;letter-spacing:.06em;
  padding:.95em 1.9em;border-radius:999px;transition:.4s var(--ease);
  text-transform:uppercase;white-space:nowrap;
}
.btn-gold{background:var(--gold);color:var(--white);box-shadow:0 12px 26px -12px rgba(159,120,62,.7)}
.btn-gold:hover{background:#8c6932;transform:translateY(-2px);box-shadow:0 18px 34px -12px rgba(159,120,62,.75)}
.btn-outline{border:1.5px solid var(--gold);color:var(--gold)}
.btn-outline:hover{background:var(--gold);color:var(--white);transform:translateY(-2px)}
.btn-sage{background:var(--sage-2);color:var(--white)}
.btn-sage:hover{background:var(--sage-deep);transform:translateY(-2px)}
.btn-ghost{color:var(--ink);border:1.5px solid var(--cream-3)}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold)}
.btn-block{display:flex;width:100%;justify-content:center}
.btn-lg{padding:1.1em 2.4em;font-size:.92rem}
.btn[disabled]{opacity:.45;cursor:not-allowed;pointer-events:none}
.link-arrow{font-weight:500;color:var(--gold);letter-spacing:.04em;display:inline-flex;gap:.4em;align-items:center}
.link-arrow svg{transition:transform .3s var(--ease)}
.link-arrow:hover svg{transform:translateX(4px)}

/* =====================================================================
   HEADER
   ===================================================================== */
.topbar{
  background:var(--sage-2);color:var(--white);text-align:center;
  font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;padding:.55rem 1rem;font-weight:400;
}
.topbar .heart-inline{height:1.5em;vertical-align:-0.45em;margin:0 .35em}
.header{
  position:sticky;top:0;z-index:60;
  background:rgba(244,241,236,.82);backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(159,120,62,.14);transition:.3s var(--ease);
}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;height:78px}
.logo{display:flex;align-items:center;line-height:1}
.logo img{height:48px;width:auto;display:block}
.footer .logo img{height:56px}

/* ---- Cœur logo (logo-mark) en icône & inline ---- */
.ic-heart{object-fit:contain;display:block;margin:auto}
.heart-inline{height:1em;width:auto;display:inline-block;vertical-align:-0.14em;margin:0 .08em}
.heart-medallion{display:inline-grid;place-items:center;width:170px;height:170px;border-radius:50%;
  background:rgba(255,253,250,.9);box-shadow:var(--shadow)}
.heart-medallion img{width:96px;height:auto;display:block}
.nav{display:flex;align-items:center;gap:2rem}
.nav a{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;font-weight:400;color:var(--ink);position:relative;padding:.3em 0}
.nav a::after{content:"";position:absolute;left:0;bottom:0;height:1.5px;width:0;background:var(--gold);transition:width .35s var(--ease)}
.nav a:hover::after,.nav a.active::after{width:100%}
.nav a.active{color:var(--gold)}
.header__actions{display:flex;align-items:center;gap:1.1rem}
.icon-btn{position:relative;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;transition:.3s var(--ease)}
.icon-btn:hover{background:rgba(159,120,62,.12)}
.icon-btn svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:1.5}
.cart-count{
  position:absolute;top:2px;right:0;background:var(--gold);color:#fff;font-family:var(--sans);
  font-size:.62rem;font-weight:600;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;padding:0 4px;
}
.cart-count:empty,.cart-count[data-count="0"]{display:none}
.burger{display:none;flex-direction:column;gap:5px;width:42px;height:42px;align-items:center;justify-content:center}
.burger span{width:22px;height:1.6px;background:var(--ink);transition:.3s var(--ease)}

/* =====================================================================
   HERO
   ===================================================================== */
.hero{position:relative;overflow:hidden;background:linear-gradient(165deg,#f6f3ee 0%,#ece6dc 55%,#e4ded0 100%)}
.hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(2rem,5vw,4.5rem);align-items:center;
  padding:clamp(3rem,7vw,6rem) 0 clamp(3.5rem,8vw,6.5rem)}
.hero__content{position:relative;z-index:2}
.hero h1{margin:.5rem 0 0}
.hero h1 em{font-family:var(--script);font-style:normal;color:var(--gold);font-size:1.08em;display:inline-block}
.hero p{font-size:1.12rem;max-width:46ch;margin:1.6rem 0 2.3rem}
.hero__cta{display:flex;gap:1rem;flex-wrap:wrap}
.hero__media{position:relative;aspect-ratio:4/4.4;border-radius:240px 240px 28px 28px;overflow:hidden;
  box-shadow:var(--shadow-lg);background:linear-gradient(160deg,#7c5c44,#c2a193)}
.hero__media .ph-icon{position:absolute;inset:0;display:grid;place-items:center;opacity:.9}
.hero__media .ph-icon svg{width:46%;stroke:rgba(255,253,250,.85);fill:none;stroke-width:1.4}
.hero__badge{
  position:absolute;bottom:26px;left:-26px;background:var(--white);border-radius:16px;padding:1rem 1.3rem;
  box-shadow:var(--shadow);display:flex;align-items:center;gap:.8rem;z-index:3;max-width:230px;
}
.hero__badge .h-heart{width:34px;height:34px;color:var(--gold)}
.hero__badge .h-heart .ic-heart{width:100%;height:100%}
.hero__badge b{font-family:var(--serif);font-size:1.05rem;display:block;color:var(--ink);font-weight:600}
.hero__badge span{font-size:.78rem;color:var(--ink-soft)}
.hero__deco{position:absolute;font-family:var(--script);color:rgba(159,120,62,.10);
  font-size:clamp(8rem,20vw,18rem);top:-3%;right:-2%;z-index:1;pointer-events:none;line-height:1}
.hero__blob{position:absolute;width:380px;height:380px;border-radius:50%;
  background:radial-gradient(circle,rgba(182,185,166,.5),transparent 70%);top:-120px;left:-120px;filter:blur(10px)}

/* marquee bandeau valeurs */
.marquee{background:var(--gold);color:var(--white);overflow:hidden;white-space:nowrap;padding:.85rem 0}
.marquee__track{display:inline-flex;gap:3rem;animation:slide 28s linear infinite;font-family:var(--serif);
  font-size:1.15rem;font-style:italic;letter-spacing:.02em}
.marquee__track span{display:inline-flex;align-items:center;gap:3rem}
.marquee__track span::after{content:"♥";font-style:normal;font-size:.8em;opacity:.7}
@keyframes slide{to{transform:translateX(-50%)}}

/* =====================================================================
   PRODUITS — grille & cartes
   ===================================================================== */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:3rem;flex-wrap:wrap}
.section-head .titles h2{margin-top:.4rem}
.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:clamp(1.4rem,3vw,2.4rem)}
.card{
  background:var(--white);border-radius:var(--radius-lg);overflow:hidden;position:relative;
  box-shadow:var(--shadow-sm);transition:.5s var(--ease);display:flex;flex-direction:column;
}
.card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.card__media{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--cream-2)}
.card__media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.card:hover .card__media img{transform:scale(1.06)}
.card__fav{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;background:rgba(255,253,250,.85);
  display:grid;place-items:center;backdrop-filter:blur(4px);opacity:0;transform:translateY(-6px);transition:.35s var(--ease)}
.card:hover .card__fav{opacity:1;transform:none}
.card__fav svg{width:19px;height:19px;stroke:var(--gold);fill:none;stroke-width:1.6}
.card__fav .ic-heart{width:20px;height:20px}
.badge{
  position:absolute;top:14px;left:14px;background:var(--gold);color:#fff;font-family:var(--sans);
  font-size:.66rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase;padding:.4em .9em;border-radius:999px;z-index:2;
}
.badge[data-badge="Bientôt"]{background:var(--sage-2)}
.badge[data-badge="Nouveau"]{background:var(--rose-deep)}
.card__body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;flex:1}
.card__cat{font-size:.68rem;letter-spacing:.2em;text-transform:uppercase;color:var(--sage-2);font-weight:500}
.card__name{font-family:var(--serif);font-size:1.32rem;font-weight:600;margin:.35rem 0 .25rem;line-height:1.2}
.card__short{font-size:.86rem;color:var(--ink-soft);margin-bottom:1rem;flex:1}
.card__foot{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.price{font-family:var(--serif);font-size:1.5rem;font-weight:600;color:var(--gold)}
.price small{font-size:.95rem}
.card__add{width:46px;height:46px;border-radius:50%;background:var(--cream-2);display:grid;place-items:center;transition:.35s var(--ease);flex-shrink:0}
.card__add svg{width:21px;height:21px;stroke:var(--gold);fill:none;stroke-width:1.6;transition:.35s var(--ease)}
.card__add:hover{background:var(--gold)}
.card__add:hover svg{stroke:#fff}

/* =====================================================================
   SECTIONS ÉDITORIALES
   ===================================================================== */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,6vw,5rem);align-items:center}
.split--reverse .split__media{order:2}
.split__media{aspect-ratio:5/5.6;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);
  background:linear-gradient(160deg,#b6b9a6,#e7ddcb);position:relative}
.split__media.alt{background:linear-gradient(160deg,#7c5c44,#d1b8ad)}
.split__media .ph-icon{position:absolute;inset:0;display:grid;place-items:center}
.split__media .ph-icon svg{width:42%;stroke:rgba(255,253,250,.85);fill:none;stroke-width:1.3}
.split__content p{margin-top:1.2rem}
.signature{font-family:var(--script);font-size:2.2rem;color:var(--gold);margin-top:1.5rem}

/* valeurs / piliers */
.pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem}
.pillar{text-align:center;padding:1rem}
.pillar__ic{width:64px;height:64px;margin:0 auto 1.2rem;border-radius:50%;display:grid;place-items:center;
  background:var(--cream);border:1.5px solid rgba(159,120,62,.25)}
.pillar__ic svg{width:30px;height:30px;stroke:var(--gold);fill:none;stroke-width:1.4}
.pillar__ic .ic-heart{width:32px;height:32px}
.pillar h3{font-size:1.3rem;margin-bottom:.5rem}
.pillar p{font-size:.9rem}

/* coffret highlight */
.feature{position:relative;border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(135deg,#9aa088,#b6b9a6);color:var(--white);padding:clamp(2.5rem,6vw,5rem)}
.feature__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center;position:relative;z-index:2}
.feature h2{color:var(--white)}
.feature p{color:rgba(255,255,255,.9)}
.feature .price{color:var(--white)}
.feature__deco{position:absolute;right:-40px;top:-40px;font-family:var(--script);font-size:16rem;color:rgba(255,255,255,.12);z-index:1}

/* =====================================================================
   NEWSLETTER
   ===================================================================== */
.news{text-align:center}
.news__form{display:flex;gap:.7rem;max-width:480px;margin:1.8rem auto 0}
.news__form input{flex:1;padding:1em 1.4em;border-radius:999px;border:1.5px solid var(--cream-3);background:var(--white)}
.news__form input:focus{outline:none;border-color:var(--gold)}
.parrainage-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;max-width:760px;margin:2.4rem auto 0;text-align:left}
.p-step{display:flex;gap:.9rem;align-items:flex-start}
.p-step p{font-size:.88rem;margin:0}
.p-num{flex-shrink:0;width:34px;height:34px;border-radius:50%;background:var(--gold);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-size:1.1rem;font-weight:600}
.parrainage-code{display:inline-flex;align-items:center;gap:1rem;flex-wrap:wrap;justify-content:center;margin-top:1.4rem;
  background:var(--white);border:1.5px dashed var(--gold-soft);border-radius:var(--radius);padding:1rem 1.4rem;box-shadow:var(--shadow-sm)}
.parrainage-code strong{font-family:var(--serif);font-size:1.6rem;color:var(--gold);letter-spacing:.04em}
.parrainage-code .muted{font-size:.78rem}
@media (max-width:680px){.parrainage-steps{grid-template-columns:1fr;max-width:380px}}

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer{background:#3f3a30;color:#d9d2c5;padding:clamp(3.5rem,7vw,5.5rem) 0 2rem;margin-top:0}
.footer a{color:#d9d2c5;transition:color .3s}
.footer a:hover{color:var(--gold-2)}
.footer__grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,.1)}
.footer .logo{color:var(--gold-2)}
.footer .logo svg{color:var(--gold-2)}
.footer__about p{color:#b3aa9a;font-size:.9rem;margin-top:1rem;max-width:34ch}
.footer h4{font-family:var(--sans);font-size:.78rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold-2);margin-bottom:1.2rem;font-weight:500}
.footer ul li{margin-bottom:.7rem;font-size:.9rem}
.socials{display:flex;gap:.8rem;margin-top:1.3rem}
.socials a{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.2);display:grid;place-items:center}
.socials a:hover{border-color:var(--gold-2);background:rgba(198,163,95,.12)}
.socials svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.5}
.footer__bottom{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-top:1.8rem;font-size:.8rem;color:#9a9183}

/* =====================================================================
   PANIER (drawer)
   ===================================================================== */
.overlay{position:fixed;inset:0;background:rgba(63,58,48,.45);backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:.4s var(--ease);z-index:80}
.overlay.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(420px,100%);background:var(--cream);z-index:90;
  transform:translateX(100%);transition:transform .45s var(--ease);display:flex;flex-direction:column;box-shadow:var(--shadow-lg)}
.drawer.open{transform:none}
.drawer__head{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 1.6rem;border-bottom:1px solid var(--cream-3)}
.drawer__head h3{font-size:1.4rem}
.drawer__close{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--white)}
.drawer__close svg{width:20px;height:20px;stroke:var(--ink);stroke-width:1.6}
.drawer__body{flex:1;overflow-y:auto;padding:1.2rem 1.6rem}
.drawer__foot{padding:1.4rem 1.6rem;border-top:1px solid var(--cream-3);background:var(--white)}
.cart-line{display:grid;grid-template-columns:74px 1fr auto;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--cream-3)}
.cart-line__img{width:74px;height:74px;border-radius:12px;overflow:hidden;background:var(--cream-2)}
.cart-line__img img{width:100%;height:100%;object-fit:cover}
.cart-line__name{font-family:var(--serif);font-size:1.05rem;font-weight:600;line-height:1.2}
.cart-line__opt{font-size:.76rem;color:var(--ink-soft)}
.cart-line__price{color:var(--gold);font-weight:500;font-size:.95rem;margin-top:.2rem}
.qty{display:inline-flex;align-items:center;border:1px solid var(--cream-3);border-radius:999px;margin-top:.5rem;background:var(--white)}
.qty button{width:28px;height:28px;display:grid;place-items:center;color:var(--gold);font-size:1rem}
.qty span{min-width:26px;text-align:center;font-size:.85rem}
.cart-line__rm{align-self:flex-start;color:var(--ink-soft);font-size:.72rem;text-decoration:underline}
.cart-empty{text-align:center;padding:3rem 1rem;color:var(--ink-soft)}
.cart-empty .h{width:60px;height:60px;color:var(--sage);margin:0 auto 1rem}
.cart-empty .h .ic-heart{width:100%;height:100%}
.summary-row{display:flex;justify-content:space-between;margin-bottom:.6rem;font-size:.9rem;color:var(--ink-soft)}
.summary-row.total{font-family:var(--serif);font-size:1.4rem;color:var(--ink);font-weight:600;margin:.8rem 0 1.2rem}
.summary-row.total span:last-child{color:var(--gold)}
.ship-note{font-size:.78rem;text-align:center;color:var(--sage-2);margin-top:.8rem}
.ship-progress{height:6px;border-radius:3px;background:var(--cream-3);overflow:hidden;margin:.5rem 0}
.ship-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--gold-2),var(--gold));transition:width .5s var(--ease)}

/* =====================================================================
   PAGE BANNER (intérieur)
   ===================================================================== */
.page-banner{background:linear-gradient(160deg,#ece6dc,#e3dccf);padding:clamp(2.5rem,6vw,4.5rem) 0;text-align:center;position:relative;overflow:hidden}
.page-banner .script{font-size:clamp(1.4rem,3vw,2rem)}
.crumbs{font-size:.78rem;letter-spacing:.05em;color:var(--ink-soft);margin-top:.8rem}
.crumbs a:hover{color:var(--gold)}

/* =====================================================================
   FILTRES boutique
   ===================================================================== */
.filters{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center;margin-bottom:3rem}
.filters button{padding:.6em 1.4em;border-radius:999px;border:1.5px solid var(--cream-3);font-size:.8rem;
  letter-spacing:.08em;text-transform:uppercase;transition:.3s var(--ease);color:var(--ink-soft)}
.filters button:hover{border-color:var(--gold-soft)}
.filters button.active{background:var(--gold);color:#fff;border-color:var(--gold)}

/* =====================================================================
   FICHE PRODUIT
   ===================================================================== */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:start}
.pdp__media{position:sticky;top:100px}
/* ---- Galerie photos produit ---- */
.gallery__main{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);background:var(--cream-2)}
.gallery__main img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}
.gallery__nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  background:rgba(255,253,250,.88);backdrop-filter:blur(4px);display:grid;place-items:center;font-size:1.7rem;line-height:1;
  color:var(--gold);box-shadow:var(--shadow-sm);transition:.3s var(--ease);z-index:2;padding-bottom:3px}
.gallery__nav:hover{background:var(--gold);color:#fff}
.gallery__prev{left:14px}
.gallery__next{right:14px}
.gallery__count{position:absolute;bottom:14px;right:14px;background:rgba(70,63,51,.6);color:#fff;font-size:.72rem;
  padding:.28em .8em;border-radius:999px;letter-spacing:.06em;z-index:2}
.gallery__thumbs{display:flex;gap:.7rem;margin-top:.9rem;overflow-x:auto;padding-bottom:.4rem}
.gallery__thumb{flex:0 0 auto;width:76px;height:76px;border-radius:12px;overflow:hidden;border:2px solid transparent;
  transition:.3s var(--ease);opacity:.65;background:var(--cream-2);padding:0}
.gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.gallery__thumb:hover{opacity:1}
.gallery__thumb.active{border-color:var(--gold);opacity:1}
.pdp__cat{color:var(--sage-2)}
.pdp h1{font-size:clamp(2rem,4vw,3rem);margin:.5rem 0}
.pdp__price{font-family:var(--serif);font-size:2.1rem;color:var(--gold);font-weight:600;margin:.5rem 0 1.5rem}
.pdp__desc{margin-bottom:1.8rem}
.field{margin-bottom:1.6rem}
.field label{display:block;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);margin-bottom:.7rem;font-weight:500}
.chips{display:flex;gap:.6rem;flex-wrap:wrap}
.chip{padding:.55em 1.1em;border-radius:999px;border:1.5px solid var(--cream-3);font-size:.85rem;transition:.3s var(--ease);background:var(--white)}
.chip:hover{border-color:var(--gold-soft)}
.chip.active{border-color:var(--gold);background:var(--gold);color:#fff}
.perso-toggle{display:flex;align-items:center;gap:1rem;padding:1.1rem 1.3rem;border:1.5px dashed var(--gold-soft);border-radius:var(--radius);background:rgba(159,120,62,.04);margin-bottom:1rem}
.perso-toggle input{width:20px;height:20px;accent-color:var(--gold)}
.perso-toggle .pt-txt b{font-family:var(--serif);font-size:1.05rem}
.perso-toggle .pt-txt span{font-size:.8rem;color:var(--ink-soft);display:block}
.perso-name{display:none;margin-bottom:1.6rem}
.perso-name.show{display:block}
.perso-name input{width:100%;padding:.9em 1.2em;border-radius:var(--radius);border:1.5px solid var(--cream-3);background:var(--white)}
.perso-name input:focus{outline:none;border-color:var(--gold)}
.pdp__actions{display:flex;gap:1rem;align-items:center;margin-top:1rem}
.pdp__meta{margin-top:2.2rem;border-top:1px solid var(--cream-3);padding-top:1.6rem;display:grid;gap:.9rem}
.pdp__meta li{display:flex;gap:.8rem;align-items:flex-start;font-size:.88rem;color:var(--ink-soft)}
.pdp__meta svg{width:20px;height:20px;stroke:var(--gold);fill:none;stroke-width:1.5;flex-shrink:0;margin-top:2px}

/* =====================================================================
   COMPTE / AUTH / formulaires
   ===================================================================== */
.auth-wrap{max-width:480px;margin:0 auto}
.card-panel{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:clamp(1.8rem,4vw,2.8rem)}
.tabs{display:flex;background:var(--cream-2);border-radius:999px;padding:5px;margin-bottom:2rem}
.tabs button{flex:1;padding:.75em;border-radius:999px;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);transition:.3s var(--ease)}
.tabs button.active{background:var(--white);color:var(--gold);box-shadow:var(--shadow-sm)}
.form-field{margin-bottom:1.3rem}
.form-field label{display:block;font-size:.8rem;color:var(--ink);margin-bottom:.5rem;font-weight:400}
.form-field input,.form-field textarea,.form-field select{
  width:100%;padding:.9em 1.1em;border-radius:12px;border:1.5px solid var(--cream-3);background:var(--cream);transition:.3s}
.form-field input:focus,.form-field textarea:focus{outline:none;border-color:var(--gold);background:var(--white)}
.form-note{font-size:.82rem;color:var(--ink-soft);text-align:center;margin-top:1.2rem}
.form-note a{color:var(--gold);text-decoration:underline}
.alert{padding:.9em 1.2em;border-radius:12px;font-size:.85rem;margin-bottom:1.2rem}
.alert-error{background:#f8e8e3;color:#a35a44;border:1px solid #e6c3b6}
.alert-ok{background:#eaf0e3;color:#5f7045;border:1px solid #cdd9bd}

.account-grid{display:grid;grid-template-columns:260px 1fr;gap:2.5rem;align-items:start}
.account-side{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.6rem;position:sticky;top:100px}
.account-side .avatar{width:64px;height:64px;border-radius:50%;background:var(--sage);color:#fff;display:grid;place-items:center;font-family:var(--serif);font-size:1.6rem;margin-bottom:1rem}
.account-side nav{display:flex;flex-direction:column;gap:.3rem;margin-top:1.2rem}
.account-side nav button{text-align:left;padding:.75em 1em;border-radius:12px;font-size:.9rem;color:var(--ink-soft);transition:.3s;display:flex;gap:.7rem;align-items:center}
.account-side nav button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.5}
.account-side nav button:hover{background:var(--cream-2)}
.account-side nav button.active{background:var(--gold);color:#fff}
.order{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:1.4rem 1.6rem;margin-bottom:1.2rem}
.order__head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;border-bottom:1px solid var(--cream-3);padding-bottom:.9rem;margin-bottom:.9rem}
.order__status{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;padding:.35em .9em;border-radius:999px;background:#eaf0e3;color:#5f7045;font-weight:500}
.order__items{font-size:.88rem;color:var(--ink-soft)}
.empty-state{text-align:center;padding:3rem 1rem;color:var(--ink-soft)}
.empty-state svg{width:54px;height:54px;stroke:var(--sage);fill:none;stroke-width:1.3;margin:0 auto 1rem}

/* =====================================================================
   CHECKOUT
   ===================================================================== */
.checkout-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:3rem;align-items:start}
.checkout-summary{background:var(--white);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:1.8rem;position:sticky;top:100px}
.checkout-line{display:flex;gap:.9rem;padding:.8rem 0;border-bottom:1px solid var(--cream-3);font-size:.88rem}
.checkout-line img{width:54px;height:54px;border-radius:10px;object-fit:cover}
.secure-badge{display:flex;align-items:center;gap:.6rem;justify-content:center;font-size:.8rem;color:var(--sage-2);margin-top:1.2rem}
.secure-badge svg{width:18px;height:18px;stroke:var(--sage-2);fill:none;stroke-width:1.6}
.pay-methods{display:flex;gap:.6rem;justify-content:center;margin-top:.8rem;opacity:.7;flex-wrap:wrap}
.pay-methods span{font-size:.7rem;border:1px solid var(--cream-3);border-radius:6px;padding:.3em .6em;letter-spacing:.05em}

/* ---- Modes de livraison (checkout) ---- */
.delivery-methods{display:flex;flex-direction:column;gap:.7rem}
.delivery-opt{display:flex;align-items:center;gap:.9rem;padding:1rem 1.1rem;border:1.5px solid var(--cream-3);
  border-radius:14px;cursor:pointer;transition:.25s var(--ease);background:var(--cream)}
.delivery-opt:hover{border-color:var(--gold-soft)}
.delivery-opt.active{border-color:var(--gold);background:rgba(159,120,62,.05)}
.delivery-opt input{width:18px;height:18px;accent-color:var(--gold);flex-shrink:0}
.delivery-opt__body{flex:1;display:flex;flex-direction:column;line-height:1.3}
.delivery-opt__name{font-weight:500;color:var(--ink)}
.delivery-opt__desc{font-size:.78rem;color:var(--ink-soft)}
.delivery-opt__price{font-family:var(--serif);font-weight:600;color:var(--gold);white-space:nowrap}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-item{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-sm);margin-bottom:1rem;overflow:hidden}
.faq-q{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.3rem 1.6rem;cursor:pointer;font-family:var(--serif);font-size:1.2rem;font-weight:600;color:var(--ink)}
.faq-q svg{width:22px;height:22px;stroke:var(--gold);stroke-width:1.6;transition:transform .3s var(--ease);flex-shrink:0}
.faq-item.open .faq-q svg{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.faq-a p{padding:0 1.6rem 1.4rem;color:var(--ink-soft);font-size:.92rem}

/* =====================================================================
   ANIMATIONS d'apparition
   ===================================================================== */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.1s}
.reveal[data-d="2"]{transition-delay:.2s}
.reveal[data-d="3"]{transition-delay:.3s}
.reveal[data-d="4"]{transition-delay:.4s}

/* toast */
.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(120%);background:var(--ink);color:var(--cream);
  padding:.9em 1.6em;border-radius:999px;font-size:.88rem;z-index:120;transition:transform .45s var(--ease);box-shadow:var(--shadow);display:flex;gap:.6rem;align-items:center}
.toast.show{transform:translateX(-50%) translateY(0)}
.toast svg{width:18px;height:18px;stroke:var(--gold-2);fill:none;stroke-width:2}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:980px){
  .hero__inner{grid-template-columns:1fr;text-align:center}
  .hero p{margin-left:auto;margin-right:auto}
  .hero__cta{justify-content:center}
  .hero__media{width:min(440px,100%);justify-self:center;order:-1}
  .hero__deco{display:none}
  .split{grid-template-columns:1fr}
  .split--reverse .split__media{order:0}
  .split__media{width:min(480px,100%);justify-self:center}
  .feature__grid{grid-template-columns:1fr}
  .pdp{grid-template-columns:1fr}
  .pdp__media{position:static}
  .checkout-grid{grid-template-columns:1fr}
  .checkout-summary{position:static;order:-1}
  .account-grid{grid-template-columns:1fr}
  .account-side{position:static}
  .footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .nav,.header .link-arrow{display:none}
  .burger{display:flex}
  .nav.mobile-open{display:flex;position:fixed;top:0;right:0;height:100vh;width:min(300px,82%);background:var(--cream);
    flex-direction:column;align-items:flex-start;padding:6rem 2rem 2rem;gap:1.4rem;z-index:85;box-shadow:var(--shadow-lg);transform:none}
  .nav.mobile-open a{font-size:1rem}
  .nav-overlay{position:fixed;inset:0;background:rgba(63,58,48,.4);z-index:84;opacity:0;visibility:hidden;transition:.3s}
  .nav-overlay.open{opacity:1;visibility:visible}
  body.nav-open .burger span:nth-child(1){transform:translateY(6.6px) rotate(45deg)}
  body.nav-open .burger span:nth-child(2){opacity:0}
  body.nav-open .burger span:nth-child(3){transform:translateY(-6.6px) rotate(-45deg)}
  .section-head{flex-direction:column;align-items:flex-start}
  .footer__grid{grid-template-columns:1fr;gap:2rem}
  .footer__bottom{flex-direction:column;text-align:center}
  .news__form{flex-direction:column}
  .news__form .btn{justify-content:center}
}
@media (max-width:430px){
  .products{grid-template-columns:1fr 1fr;gap:1rem}
  .card__body{padding:1rem 1rem 1.2rem}
  .card__name{font-size:1.05rem}
  .price{font-size:1.2rem}
  .card__add{width:38px;height:38px}
  .pdp__actions{flex-direction:column;align-items:stretch}
}

/* ---- Bandeau cookies (information RGPD) ---- */
.cookie-banner{
  position:fixed;left:1rem;right:1rem;bottom:1rem;z-index:1200;
  max-width:720px;margin:0 auto;
  display:flex;align-items:center;gap:1.1rem;
  background:var(--cream);border:1px solid var(--cream-3);border-radius:16px;
  box-shadow:0 14px 44px rgba(60,45,25,.18);padding:1rem 1.25rem;
  animation:cookie-in .4s ease both;
}
.cookie-banner p{margin:0;font-size:.82rem;line-height:1.55;color:var(--ink-soft)}
.cookie-banner p a{color:var(--gold);text-decoration:underline}
.cookie-banner .btn{flex:0 0 auto;white-space:nowrap;padding:.7em 1.4em}
.cookie-banner--out{animation:cookie-out .3s ease both}
@keyframes cookie-in{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes cookie-out{from{opacity:1}to{opacity:0;transform:translateY(22px)}}
@media (max-width:560px){
  .cookie-banner{flex-direction:column;align-items:stretch;text-align:left;gap:.9rem}
  .cookie-banner .btn{width:100%}
}
