/* =========================================================
   BIBEON — feuille de style
   Charte : Cormorant Garamond (titres) + Montserrat (textes)
            crème, sauge, bleu nuit
   ========================================================= */

:root{
  --cream:#f7f4ee;
  --cream-deep:#efeae0;
  --white:#ffffff;
  --card:#fbfaf6;

  --sage:#6e7e61;          /* vert de la marque : boutons, sur-titres */
  --sage-dark:#55614b;     /* titres */
  --sage-soft:#a9b79c;
  --sage-tint:#eef1ea;

  --navy:#11253a;          /* logotype, sous-titres */
  --text:#5b655d;
  --line:#ddd6cb;

  --shadow-s:0 6px 18px rgba(17,37,58,.05);
  --shadow-m:0 18px 44px rgba(17,37,58,.09);
  --radius:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--cream);
  color:var(--text);
  font-family:Montserrat,-apple-system,Segoe UI,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit}

.shell{width:min(1180px,calc(100% - 44px));margin-inline:auto}
.center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

/* ---------- typographie ---------- */
h1,h2,h3,blockquote,.serif{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500}

.overline{
  margin:0 0 14px;
  font-size:12px;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--sage);
}
.section-title{
  font-size:clamp(38px,4.6vw,58px);
  line-height:1.04;
  color:var(--sage-dark);
  margin:0 0 18px;
}
.section-head{max-width:640px;margin:0 auto 44px}
.section-head p{margin:0;font-size:16px}
.lead{font-size:17px;max-width:56ch}

/* ---------- boutons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid transparent;border-radius:999px;
  padding:14px 26px;font-size:14px;font-weight:600;letter-spacing:.02em;
  cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.btn-primary{background:var(--sage);color:#fff}
.btn-primary:hover{background:var(--sage-dark)}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--navy)}
.btn-ghost:hover{border-color:var(--sage);color:var(--sage-dark)}
.btn-sm{padding:10px 18px;font-size:13px}
.btn-link{font-weight:600;color:var(--navy);border-bottom:1px solid var(--sage-soft);padding-bottom:2px}
.btn-link:hover{color:var(--sage-dark)}

/* ---------- entête ---------- */
.header{
  position:sticky;top:0;z-index:40;
  background:rgba(247,244,238,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(221,214,203,.75);
}
.nav{min-height:78px;display:flex;align-items:center;gap:28px}
.brand{
  display:inline-flex;align-items:baseline;gap:4px;
  font-family:Montserrat,sans-serif;font-weight:700;font-size:26px;
  letter-spacing:.16em;color:var(--navy);white-space:nowrap;
}
.brand svg{width:13px;height:13px;color:var(--sage);transform:translateY(-9px)}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:14px}
.nav-links a{padding:6px 0;border-bottom:1px solid transparent}
.nav-links a:hover{color:var(--sage-dark);border-color:var(--sage-soft)}
.nav .btn{flex:none}
.burger{
  display:none;margin-left:auto;
  background:#fff;border:1px solid var(--line);border-radius:999px;
  padding:9px 16px;font-size:13px;font-weight:600;color:var(--navy);cursor:pointer;
}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;padding:64px 0 40px}
.hero::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(1100px 520px at 78% 18%,#e9eee4 0%,rgba(233,238,228,0) 62%);
  pointer-events:none;
}
.hero-grid{position:relative;display:grid;grid-template-columns:.94fr 1.06fr;gap:52px;align-items:center}
.hero h1{font-size:clamp(52px,6.4vw,86px);line-height:.94;color:var(--sage-dark);margin:0 0 12px}
.hero h2{font-size:clamp(24px,2.4vw,31px);line-height:1.15;color:var(--navy);margin:0 0 20px}
.hero .lead{margin:0 0 28px}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-bottom:30px}

.assurances{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;color:#6b7a6c}
.assurances span{display:inline-flex;align-items:center;gap:7px}
.assurances svg{width:14px;height:14px;color:var(--sage);flex:none}

.hero-copy{position:relative}
.leaf-deco{position:absolute;left:-104px;top:26px;width:110px;color:var(--sage-soft);opacity:.45;z-index:-1;pointer-events:none}

/* scène produit */
.hero-scene{position:relative;min-height:520px}
.arch{
  position:absolute;right:2%;top:0;width:63%;aspect-ratio:4/5;
  border-radius:220px 220px 30px 30px;overflow:hidden;box-shadow:var(--shadow-m);
}
.arch img{width:100%;height:100%;object-fit:cover}
.hero-bottle{
  position:absolute;left:-2%;bottom:6%;width:52%;z-index:3;
  filter:drop-shadow(0 22px 24px rgba(17,37,58,.14));
}
.hero-pack{
  position:absolute;right:-2%;bottom:0;width:38%;z-index:4;
  background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px;
  box-shadow:var(--shadow-m);
}
.hero-pack img{width:100%;border-radius:12px}

/* ---------- bandeau d'atouts ---------- */
.atouts{padding:16px 0 8px}
.atouts-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.atout{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:20px 16px;text-align:center;box-shadow:var(--shadow-s);
}
.atout svg{width:26px;height:26px;color:var(--sage);margin:0 auto 10px}
.atout b{display:block;color:var(--navy);font-size:14px;margin-bottom:4px}
.atout span{display:block;font-size:12.5px;line-height:1.5}

/* ---------- comment ça marche ---------- */
.etapes{padding:80px 0 70px}
.etapes-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.etape{
  background:var(--white);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 26px 30px;text-align:center;box-shadow:var(--shadow-s);
  display:flex;flex-direction:column;
}
.etape-visuel{
  height:210px;
  background:var(--sage-tint);border-radius:18px;margin-bottom:20px;padding:14px;
}
.etape-visuel img{display:block;height:100%;width:100%;object-fit:contain}
.etape-num{
  width:34px;height:34px;margin:0 auto 10px;border-radius:50%;
  display:grid;place-items:center;
  background:var(--sage);color:#fff;font-size:13px;font-weight:700;
}
.etape h3{font-size:27px;color:var(--navy);margin:0 0 8px}
.etape p{margin:0;font-size:14.5px}

/* ---------- vidéo ---------- */
.demo{padding:70px 0;background:var(--cream-deep)}
.demo-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:48px;align-items:center}
.demo h2{margin-bottom:16px}
.demo p{margin:0 0 14px}
.video-frame{
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow-m);background:#000;
}
.video-frame video{width:100%;display:block}
.video-note{margin-top:12px;font-size:12.5px;color:#7b8579}

/* ---------- preuves ---------- */
.preuves{padding:76px 0;background:var(--white)}
.preuves-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.preuve{
  border:1px solid var(--line);border-radius:20px;padding:26px 22px;background:var(--cream);
}
.preuve .marque{
  display:inline-grid;place-items:center;min-width:52px;height:52px;padding:0 12px;
  border-radius:50px;background:var(--sage-tint);color:var(--sage-dark);
  font-weight:700;font-size:15px;letter-spacing:.06em;margin-bottom:14px;
}
.preuve h3{font-size:23px;color:var(--navy);margin:0 0 8px;line-height:1.15}
.preuve p{margin:0;font-size:14px}

/* ---------- histoire ---------- */
.histoire{padding:84px 0}
.split{display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}
.histoire-photo{
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-m);
  aspect-ratio:16/11;
}
.histoire-photo img{width:100%;height:100%;object-fit:cover}
.histoire p{max-width:52ch}

/* ---------- coloris ---------- */
.coloris{padding:64px 0;background:var(--white);text-align:center}
.coloris-visuel{max-width:960px;margin:0 auto}

/* ---------- boutique ---------- */
.boutique{padding:80px 0;background:var(--cream-deep)}
.produits{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.produit{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:20px;display:flex;flex-direction:column;box-shadow:var(--shadow-s);
}
.produit-image{
  height:240px;border-radius:18px;background:var(--cream);
  padding:14px;overflow:hidden;
}
.produit-image img{display:block;height:100%;width:100%;object-fit:contain}
.produit h3{font-size:26px;color:var(--navy);margin:18px 0 6px;line-height:1.15}
.produit p{margin:0 0 18px;font-size:14px}
.produit .bas{
  margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border-top:1px solid var(--line);padding-top:16px;
}
.prix{font-weight:600;color:var(--sage-dark);font-size:14px}

/* ---------- signature ---------- */
.signature{padding:70px 0;background:var(--cream)}
.signature-carte{
  display:grid;grid-template-columns:1.05fr .95fr;
  background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-s);
}
.signature-texte{padding:52px 48px;display:flex;flex-direction:column;justify-content:center}
.signature blockquote{
  margin:0;font-size:clamp(28px,3.2vw,40px);line-height:1.15;color:var(--navy);
}
.signature img{width:100%;height:100%;object-fit:cover;min-height:300px}

/* ---------- inscription ---------- */
.inscription{padding:60px 0}
.inscription-carte{
  background:var(--sage-tint);border:1px solid #dbe2d5;border-radius:var(--radius);
  padding:44px 48px;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;
}
.inscription h2{font-size:clamp(28px,3vw,38px);color:var(--sage-dark);margin:0 0 6px}
.inscription p{margin:0;font-size:14.5px}
.form-mail{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.form-mail input{
  min-width:290px;padding:14px 20px;border-radius:999px;
  border:1px solid var(--line);background:#fff;font:inherit;font-size:14px;color:var(--navy);
}
.form-mail input:focus{outline:2px solid var(--sage-soft);outline-offset:1px}
.form-message{flex-basis:100%;font-size:13px;color:var(--sage-dark);margin:0}

/* ---------- pied de page ---------- */
footer{background:#ebe6dc;padding:56px 0 22px;margin-top:20px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.1fr;gap:36px}
.footer-grid h3{
  font-family:Montserrat,sans-serif;font-size:12px;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--navy);margin:0 0 14px;
}
.footer-col{display:flex;flex-direction:column;gap:9px;font-size:13.5px}
.footer-col a:hover{color:var(--sage-dark)}
.footer-intro{font-size:13.5px;max-width:34ch;margin:14px 0 0}
.copyright{
  border-top:1px solid #d8d1c4;margin-top:40px;padding-top:18px;
  display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:space-between;font-size:12px;
}

/* =========================================================
   Adaptations écran moyen / téléphone
   ========================================================= */
@media (max-width:1020px){
  .nav-links{
    display:none;position:absolute;left:22px;right:22px;top:72px;
    flex-direction:column;gap:14px;
    background:#fff;border:1px solid var(--line);border-radius:20px;
    padding:22px 24px;box-shadow:var(--shadow-m);
  }
  .nav-links.open{display:flex}
  .burger{display:block}
  .nav > .btn{display:none}

  .hero-grid,.demo-grid,.split{grid-template-columns:1fr;gap:40px}
  .hero-scene{min-height:440px;max-width:520px;margin-inline:auto;width:100%}
  .leaf-deco{display:none}
  .atouts-grid{grid-template-columns:repeat(3,1fr)}
  .preuves-grid{grid-template-columns:repeat(2,1fr)}
  .produits{grid-template-columns:repeat(2,1fr)}
  .signature-carte{grid-template-columns:1fr}
  .signature-texte{padding:40px 32px}
  .inscription-carte{grid-template-columns:1fr;padding:36px 30px}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width:660px){
  body{font-size:15.5px}
  .shell{width:calc(100% - 34px)}
  .hero{padding:40px 0 24px}
  .hero-scene{min-height:380px}
  .arch{width:70%}
  .hero-bottle{width:56%}
  .hero-pack{width:44%}
  .hero-actions{gap:12px}
  .hero-actions .btn{width:100%}
  .atouts-grid{grid-template-columns:repeat(2,1fr)}
  .etapes,.boutique,.preuves,.histoire{padding:56px 0}
  .etapes-grid,.produits,.preuves-grid{grid-template-columns:1fr}
  .etape-visuel{height:190px}
  .form-mail input{min-width:100%}
  .form-mail .btn{width:100%}
  .footer-grid{grid-template-columns:1fr}
  .copyright{justify-content:flex-start}
}

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