/* ===========================================================
   MAJOR BIO CONSULTING — Design System
   Display: Instrument Serif · Body: Inter · Utility: Space Mono
   =========================================================== */


:root{
  /* ---- Charte Major Bio Consulting ---- */
  --ink:        #1E4D2B;   /* Vert Principal — Vert Bio Foncé */
  --ink-soft:   #24592F;
  --paper:      #FFFFFF;   /* Fond */
  --paper-dim:  #F2F7ED;   /* dérivé très clair du Vert Accent, pour les fonds de section */
  --soil:       #000000;   /* Texte */
  --soil-soft:  rgba(0,0,0,.66);
  --gold:       #C9A227;   /* Accent Premium — Or / Jaune */
  --gold-soft:  #DBBE55;
  --gold-text:  #8A6B14;   /* variante foncée de l'or, réservée au TEXTE sur fond clair (contraste WCAG AA) */
  --leaf:       #2E7D32;   /* Vert Signature — Vert Majorbio */
  --accent:     #7CB342;   /* Vert Accent — Vert Nature Clair */
  --berry:      #1E4D2B;
  --cream:      #FFFFFF;
  --harvest-gradient: linear-gradient(90deg, var(--leaf) 0%, var(--accent) 55%, var(--gold) 100%);

  --display: 'Instrument Serif', 'Georgia', serif;
  --body: 'Inter', -apple-system, sans-serif;
  --mono: 'Space Mono', monospace;

  --radius: 2px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*{ box-sizing:border-box; }
.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;
}
html{
  scroll-behavior:smooth; overflow-x:hidden; max-width:100%;
  -webkit-text-size-adjust:100%; text-size-adjust:100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family:var(--body);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  max-width:100%;
}

a{ color:inherit; }
img,svg{ display:block; max-width:100%; }

::selection{ background:var(--gold); color:var(--ink); }

:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

.wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:640px){ .wrap{ padding:0 20px; } }

.eyebrow{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--leaf);
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 18px;
}
.eyebrow::before{
  content:"";
  width:26px; height:3px; border-radius:2px;
  background:var(--harvest-gradient);
  display:inline-block;
}
.on-dark .eyebrow{ color:var(--leaf); }
.on-dark .eyebrow::before{ background:var(--harvest-gradient); }

h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:400;
  line-height:1.05;
  margin:0 0 .4em;
  letter-spacing:-.01em;
}
h1{ font-size:clamp(40px,6vw,76px); }
h2{ font-size:clamp(30px,4vw,48px); }
h3{ font-size:clamp(20px,2.4vw,26px); }

p{ margin:0 0 1em; color:var(--soil); }
.on-dark p{ color:var(--soil); }

.lede{
  font-size:19px;
  max-width:46ch;
  color:var(--soil);
}
.on-dark .lede{ color:var(--soil); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family:var(--body);
  font-weight:600;
  font-size:15px;
  padding:15px 28px;
  min-height:50px;
  border-radius:var(--radius);
  text-decoration:none;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{
  background:var(--gold);
  color:var(--ink);
}
.btn-gold:hover{ background:var(--gold-soft); }
.btn-outline{
  border-color:currentColor;
  background:transparent;
  color:inherit;
}
.on-dark .btn-outline{ color:var(--ink); border-color:var(--ink); }
.on-dark .btn-outline:hover{ border-color:var(--leaf); color:var(--leaf); }
.btn-outline:hover{ border-color:var(--ink); }
.btn-arrow{ font-family:var(--mono); }

/* ---------- nav ---------- */
.site-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(30,77,43,.1);
}
.site-nav::before{
  content:""; display:block; height:4px; width:100%;
  background:var(--harvest-gradient);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
}
.logo-mark{
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  object-fit:cover;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-family:var(--display);
  font-size:22px;
  color:var(--ink);
  text-decoration:none;
  letter-spacing:.01em;
}
.brand strong{ color:var(--leaf); font-style:italic; }
.nav-links{
  display:flex; flex-wrap:nowrap; white-space:nowrap; gap:28px; list-style:none; margin:0; padding:0;
}
.nav-links a{
  color:var(--soil);
  text-decoration:none;
  font-size:14px;
  font-weight:500;
  letter-spacing:.02em;
  position:relative;
  padding:4px 0;
}
.nav-links a.active{ color:var(--leaf); }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:1px;
  background:var(--leaf); transition:width .3s var(--ease);
}
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:16px; flex-shrink:0; }
.nav-toggle{ display:none; background:none; border:0; color:var(--ink); font-size:26px; cursor:pointer; padding:10px; min-width:44px; min-height:44px; }

/* ---------- language switcher (menu déroulant compact) ---------- */
.lang-switch{ position:relative; flex-shrink:0; }
.lang-current{
  display:flex; align-items:center; gap:7px;
  height:44px; padding:0 14px;
  border:1px solid rgba(30,77,43,.25); border-radius:22px;
  background:none; color:var(--soil); cursor:pointer;
  font-family:var(--mono); font-size:12.5px; font-weight:700; letter-spacing:.04em;
  transition:background .2s, border-color .2s;
}
.lang-current:hover, .lang-current[aria-expanded="true"]{ background:var(--paper-dim); border-color:rgba(30,77,43,.4); }
.lang-current svg{ flex-shrink:0; }
.lang-caret{ font-size:10px; transition:transform .2s; }
.lang-current[aria-expanded="true"] .lang-caret{ transform:rotate(180deg); }

.lang-menu{
  position:absolute; top:calc(100% + 8px); right:0; z-index:70;
  list-style:none; margin:0; padding:6px;
  min-width:150px;
  background:#FFFFFF; border:1px solid rgba(30,77,43,.16); border-radius:10px;
  box-shadow:0 18px 34px -16px rgba(30,77,43,.35);
}
.lang-menu[hidden]{ display:none; }
.lang-menu li{
  display:flex; align-items:center;
  min-height:44px; padding:0 14px;
  font-family:var(--body); font-size:14.5px; color:var(--ink);
  border-radius:7px; cursor:pointer; transition:background .18s;
}
.lang-menu li:hover, .lang-menu li:focus-visible{ background:var(--paper-dim); }
.lang-menu li[aria-selected="true"]{ color:var(--leaf); font-weight:600; }
.lang-menu li[aria-selected="true"]::after{ content:"✓"; margin-left:auto; font-size:12px; }

@media (max-width:480px){
  .lang-current{ padding:0 10px; font-size:11.5px; }
  .lang-current span:not(.lang-caret){ display:inline; }
}

@media (max-width: 1240px){
  .nav-links{
    position:fixed; inset:76px 0 0 0; background:var(--paper);
    flex-direction:column; flex-wrap:wrap; white-space:normal; padding:40px 32px; gap:24px;
    transform:translateX(100%); transition:transform .35s var(--ease), visibility .35s;
    visibility:hidden;
    z-index:60;
    box-shadow:-8px 0 24px -12px rgba(30,77,43,.25);
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); visibility:visible; }
  .nav-links a{ font-size:20px; padding:8px 0; display:inline-block; }
  .nav-toggle{ display:block; }
  .nav-cta .btn{ display:none; }
}

/* ---------- decorative accents ---------- */
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ---------- hero ---------- */
.hero{
  position:relative;
}

/* ---------- hero slider : diapositive plein écran (inspiré de toble-aprim.com) ---------- */
.hero-slider{
  position:relative;
  width:100%;
  height:88vh;
  min-height:560px;
  max-height:780px;
  overflow:hidden;
  color:#FFFFFF;
}
.hero-slider-track{ position:relative; width:100%; height:100%; }
.slide{
  position:absolute; inset:0;
  display:flex; align-items:center;
  opacity:0; visibility:hidden;
  transition:opacity 1s var(--ease);
}
.slide.active{ opacity:1; visibility:visible; }
.slide::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:64px 64px;
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 25% 40%, black, transparent);
  mask-image:radial-gradient(ellipse 70% 70% at 25% 40%, black, transparent);
  pointer-events:none;
}
.slide.bg-0{ background:radial-gradient(1100px 700px at 82% -6%, rgba(201,162,39,.28), transparent 60%), linear-gradient(120deg, #12301C 0%, #1E4D2B 48%, #2E7D32 100%); }
.slide.bg-1{ background:radial-gradient(1000px 640px at 10% -4%, rgba(46,125,50,.30), transparent 60%), linear-gradient(120deg, #1E4D2B 0%, #24592F 55%, #2E7D32 100%); }
.slide.bg-2{ background:radial-gradient(1000px 640px at 88% 100%, rgba(159,128,22,.30), transparent 60%), linear-gradient(120deg, #12301C 0%, #2E7D32 55%, #24592F 100%); }
.slide.bg-3{ background:radial-gradient(1000px 640px at 6% 100%, rgba(201,162,39,.28), transparent 60%), linear-gradient(120deg, #1E4D2B 0%, #2E7D32 55%, #12301C 100%); }
.slide.bg-4{ background:radial-gradient(1100px 700px at 90% 6%, rgba(201,162,39,.24), transparent 60%), linear-gradient(120deg, #24592F 0%, #2E7D32 50%, #1E4D2B 100%); }
.slide.bg-5{ background:radial-gradient(1000px 640px at 12% 8%, rgba(124,179,66,.30), transparent 60%), linear-gradient(120deg, #12301C 0%, #24592F 52%, #2E7D32 100%); }

.slide-inner{
  position:relative; z-index:1;
  width:100%; max-width:1180px; margin:0 auto; padding:0 24px;
}
.slide-inner img.slide-logo{ width:96px; height:96px; object-fit:contain; margin-bottom:22px; }
.slide .slide-eyebrow{
  display:block;
  font-family:var(--mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-soft); margin:0 0 18px;
}
.slide h1, .slide h2{
  font-family:var(--display); font-weight:400; font-size:clamp(34px,4.6vw,58px);
  line-height:1.08; color:#FFFFFF; margin:0 0 20px; max-width:16ch;
}
.slide h1 em, .slide h2 em{ color:var(--gold-soft); font-style:italic; }
.slide .slide-desc{ font-size:clamp(15px,1.5vw,18px); color:rgba(255,255,255,.86); max-width:56ch; margin:0; }
.slide.slide-intro .slide-desc{ max-width:64ch; }

.slide.image-slide::after{ display:none; }
.slide-banner{
  position:relative; z-index:1;
  width:100%; height:100%; object-fit:contain;
}

.slider-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.08); color:#FFFFFF; font-size:22px; line-height:1;
  cursor:pointer; z-index:2; display:flex; align-items:center; justify-content:center;
  transition:background .25s, transform .25s;
  -webkit-backdrop-filter:blur(2px);
  backdrop-filter:blur(2px);
}
.slider-arrow:hover{ background:rgba(255,255,255,.2); }
.slider-arrow.prev{ left:20px; }
.slider-arrow.next{ right:20px; }

.slider-dots{
  position:absolute; left:0; right:0; bottom:26px; z-index:2;
  display:flex; justify-content:center; gap:8px;
}
.slider-dots button{
  width:9px; height:9px; border-radius:50%; border:none;
  padding:0; margin:14px 5px; position:relative;
  background:rgba(255,255,255,.35); cursor:pointer; transition:background .25s, transform .25s;
}
.slider-dots button::before{
  content:""; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:32px; height:32px;
}
.slider-dots button.active{ background:var(--gold-soft); transform:scale(1.3); }

/* ---------- bandeau CTA + stats, statique sous les diapositives ---------- */
.hero-below{
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(201,162,39,.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  padding:40px 0 48px;
}
.hero-ctas{ display:flex; gap:16px; margin:0 0 34px; flex-wrap:wrap; }
.hero .btn-outline{ color:var(--ink); border-color:var(--ink); }

.hero-stats{
  display:flex; gap:34px; flex-wrap:wrap;
}
.hero-stat b{
  display:block; font-family:var(--display); font-size:32px; color:var(--leaf);
}
.hero-stat:nth-child(1) b{ color:var(--leaf); }
.hero-stat:nth-child(2) b{ color:var(--gold-text); }
.hero-stat:nth-child(3) b{ color:#B9860A; }
.hero-stat span{ font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--soil); }

@media (max-width:900px){
  .hero-slider{ height:auto; min-height:0; aspect-ratio:auto; height:64vh; min-height:440px; max-height:600px; }
  .slider-arrow{ width:38px; height:38px; font-size:18px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; flex-wrap:nowrap; }
  .hero-ctas .btn{ width:100%; flex:none; }
}

/* ---------- trust strip ---------- */
.trust-strip{
  background:var(--paper-dim);
  border-bottom:1px solid rgba(46,125,50,.12);
  padding:30px 0;
}
.trust-strip-inner{
  display:flex; gap:36px; flex-wrap:wrap; justify-content:center; align-items:center;
}
.cert-badge{
  height:52px; width:auto; max-width:120px; object-fit:contain;
  transition:transform .25s var(--ease);
}
.cert-badge:hover{ transform:translateY(-2px) scale(1.04); }
.cert-badge-dark{
  background:#000000; padding:8px 12px; border-radius:6px;
}
@media (max-width:640px){
  .trust-strip-inner{ gap:22px; }
  .cert-badge{ height:38px; max-width:88px; }
  .cert-badge-dark{ padding:6px 9px; }
}

/* ---------- generic section ---------- */
.section{ padding:110px 0; }
.section.tight{ padding:80px 0; }
.section.on-dark{ background:var(--paper-dim); color:var(--ink); border-top:1px solid rgba(30,77,43,.08); border-bottom:1px solid rgba(30,77,43,.08); }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end; gap:40px;
  margin-bottom:56px; flex-wrap:wrap;
}

/* reveal on scroll */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- problem/solution ---------- */
.ps-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:0;
  border:1px solid rgba(46,125,50,.18);
}
@media (max-width:800px){ .ps-grid{ grid-template-columns:1fr; } }
.ps-col{ padding:52px 48px; }
.ps-col.problem{ background:var(--paper); border-right:1px solid rgba(46,125,50,.18); }
.ps-col.solution{ background:linear-gradient(135deg, rgba(46,125,50,.10), transparent), var(--paper); border-left:3px solid var(--leaf); }
.ps-col.solution p{ color:var(--soil); }
.ps-list{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:16px; }
.ps-list li{ display:flex; gap:14px; align-items:flex-start; font-size:15px; }
.ps-list .mark{ font-family:var(--mono); flex-shrink:0; margin-top:2px; }
.problem .mark{ color:var(--berry); }
.solution .mark{ color:var(--leaf); }

/* ---------- services ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(5,1fr); gap:1px;
  background:rgba(46,125,50,.18);
  border:1px solid rgba(46,125,50,.18);
}
@media (max-width:1180px){ .services-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .services-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .services-grid{ grid-template-columns:1fr; } }
.service-card{
  background:var(--paper);
  padding:30px 20px;
  border-top:3px solid var(--leaf);
  transition:background .35s var(--ease), border-color .35s var(--ease);
}
.service-card:nth-child(5n+1){ border-top-color:var(--leaf); }
.service-card:nth-child(5n+2){ border-top-color:var(--gold-soft); }
.service-card:nth-child(5n+3){ border-top-color:var(--gold); }
.service-card:nth-child(5n+4){ border-top-color:var(--ink); }
.service-card:nth-child(5n+5){ border-top-color:var(--accent); }
.service-card:hover{ background:var(--cream); }
.service-card .num{ font-family:var(--mono); font-size:12px; color:var(--leaf); }
.service-card h3{ margin:16px 0 10px; font-size:18px; }
.service-card p{ font-size:13.5px; line-height:1.55; margin-bottom:0; }
.service-icon{ width:36px; height:36px; margin-bottom:18px; color:var(--leaf); }

/* ---------- organigramme de l'équipe ---------- */
.team-org{
  text-align:center;
}
.team-org .eyebrow{ justify-content:center; }
.team-org-title{ font-size:clamp(22px,3vw,30px); margin:8px 0 44px; }
.org-level{ display:flex; justify-content:center; gap:20px; flex-wrap:wrap; }
.org-level-3{ gap:16px; }
.org-card{ display:flex; flex-direction:column; align-items:center; gap:8px; width:104px; }
.org-card img{
  width:80px; height:80px; border-radius:50%; object-fit:cover;
  border:3px solid var(--paper); box-shadow:0 10px 24px -14px rgba(30,77,43,.45);
}
.org-name{ font-weight:600; font-size:12.5px; color:var(--ink); line-height:1.3; }
.org-role{ font-size:11px; color:var(--soil-soft); text-transform:uppercase; letter-spacing:.04em; }
.org-connector{ width:2px; height:26px; background:rgba(46,125,50,.35); margin:0 auto; }
.org-connector-branch{
  position:relative; height:26px; width:min(64%,520px); max-width:90%; margin:0 auto;
}
.org-connector-branch::after{
  content:""; position:absolute; top:0; left:0; right:0; height:2px;
  background:rgba(46,125,50,.35);
}
.org-connector-branch::before{
  content:""; position:absolute; top:-26px; left:50%; transform:translateX(-1px);
  width:2px; height:26px; background:rgba(46,125,50,.35);
}
@media (max-width:900px){
  .org-level-3{ max-width:460px; margin:0 auto; }
}
@media (max-width:640px){
  .org-connector, .org-connector-branch{ display:none; }
  .org-level{ gap:20px 16px; }
  .org-card{ width:92px; }
  .org-card img{ width:68px; height:68px; }
}

/* ---------- products ---------- */
.products-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
@media (max-width:900px){ .products-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .products-grid{ grid-template-columns:1fr; } }
.product-card{
  position:relative;
  background:var(--paper);
  border:1px solid rgba(46,125,50,.16);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.product-card:hover{ transform:translateY(-6px); box-shadow:0 24px 40px -20px rgba(30,77,43,.35); }
.product-media{
  position:relative;
  aspect-ratio:4/3;
  background:linear-gradient(160deg, var(--paper-dim), #fff);
  border-bottom:1px solid rgba(46,125,50,.14);
  overflow:hidden;
}
.product-media .illus{ width:100%; height:100%; }
.product-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.product-body{ padding:26px 26px 28px; }
.product-body .tag{
  font-family:var(--mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--leaf);
}
.product-body h3{ margin:10px 0 8px; color:var(--ink); }
.product-body p{ color:var(--soil); font-size:13.5px; margin:0; }

/* ---------- certification journey ---------- */
.journey{
  counter-reset:step;
}
.journey-row{
  display:grid; grid-template-columns:90px 1fr; gap:28px;
  padding:34px 0;
  border-top:1px solid rgba(30,77,43,.15);
}
.journey-row:last-child{ border-bottom:1px solid rgba(30,77,43,.15); }
.journey-num{
  font-family:var(--display); font-style:italic; font-size:44px; color:var(--leaf);
}
.journey-row:nth-child(4n+1) .journey-num{ color:var(--leaf); }
.journey-row:nth-child(4n+2) .journey-num{ color:var(--gold-text); }
.journey-row:nth-child(4n+3) .journey-num{ color:#B9860A; }
.journey-row:nth-child(4n+4) .journey-num{ color:var(--ink); }
.journey-body h3{ margin-bottom:8px; }
.journey-body p{ margin-bottom:0; max-width:60ch; }

/* ---------- gallery ---------- */
.gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:180px; gap:14px;
  grid-auto-flow:dense;
}
.gallery-grid figure{ margin:0; position:relative; overflow:hidden; background:var(--paper-dim); }
.gallery-grid figure .illus{ width:100%; height:100%; }
.gallery-grid figure img{ width:100%; height:100%; object-fit:cover; display:block; }
.gallery-grid .g1{ grid-column:span 2; grid-row:span 2; }
.gallery-grid .g4{ grid-column:span 2; }
@media (max-width:900px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid .g1{ grid-column:span 2; grid-row:span 1; }
}
.gallery-grid figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:16px;
  font-family:var(--mono); font-size:11px; letter-spacing:.05em; text-transform:uppercase;
  color:var(--cream); background:linear-gradient(0deg, rgba(30,77,43,.85), transparent);
}
.gallery-grid .swatch{ width:100%; height:100%; }

/* ---------- about ---------- */
.about-grid{ max-width:760px; }
.about-quote{
  border-left:2px solid var(--gold);
  padding-left:26px;
  margin:30px 0;
  font-family:var(--display); font-size:22px; font-style:italic; color:var(--ink);
}
.about-signoff{
  display:flex; align-items:center; gap:16px; margin-top:34px;
}
.about-signoff span{ font-family:var(--mono); font-size:12px; color:var(--soil); text-transform:uppercase; letter-spacing:.05em; }
.about-signoff img{
  width:56px; height:56px; border-radius:50%; object-fit:cover; flex-shrink:0;
  border:2px solid var(--gold);
}

/* ---------- director section (photo + text) ---------- */
.director-grid{
  display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; max-width:none;
}
@media (max-width:900px){ .director-grid{ grid-template-columns:1fr; gap:32px; } }
.director-figure{
  position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:8px;
  box-shadow:0 30px 50px -24px rgba(30,77,43,.35);
  border:1px solid rgba(30,77,43,.12);
}
.director-figure img{ width:100%; height:100%; object-fit:cover; display:block; }
.director-credentials{
  position:absolute; left:0; right:0; bottom:0; padding:18px 20px;
  background:linear-gradient(0deg, rgba(30,77,43,.88), transparent);
  color:#FFFFFF;
}
.director-credentials b{ display:block; font-family:var(--display); font-size:18px; font-style:italic; }
.director-credentials span{ font-family:var(--mono); font-size:11px; letter-spacing:.04em; text-transform:uppercase; opacity:.9; }
.director-stats{ display:flex; flex-wrap:wrap; gap:28px; margin:28px 0; }
.director-stats .hero-stat b{ font-size:26px; }
.director-stats .hero-stat-wide{ flex-basis:100%; max-width:56ch; }
.director-stats .hero-stat-wide span{ white-space:normal; }

/* ---------- testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
@media (max-width:900px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{
  background:var(--cream); border:1px solid rgba(46,125,50,.16);
  padding:30px 26px;
}
.testi-card p{ font-size:15px; color:var(--ink); }
.testi-who{ font-family:var(--mono); font-size:11.5px; text-transform:uppercase; letter-spacing:.05em; color:var(--leaf); margin-top:16px; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; }
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; gap:40px; } }
.form-field{ margin-bottom:20px; }
.form-field label{
  display:block; font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.06em;
  color:var(--leaf); margin-bottom:8px;
}
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:14px 16px; background:#FFFFFF;
  border:1px solid rgba(30,77,43,.25); color:var(--ink);
  font-family:var(--body); font-size:16px; border-radius:var(--radius);
  transition:border-color .3s;
  -webkit-appearance:none; -moz-appearance:none; appearance:none;
}
.form-field select{
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%231E4D2B' d='M5 7l5 6 5-6z'/></svg>");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
  padding-right:40px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--leaf);
}
.form-field textarea{ min-height:120px; resize:vertical; }
.form-note{ font-size:12.5px; color:var(--soil); margin-top:14px; }
.contact-info{ display:flex; flex-direction:column; gap:22px; margin-top:32px; }
.contact-info .row{ display:flex; gap:14px; font-size:14.5px; }
.contact-info .row b{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--leaf); min-width:120px; }
#formStatus{ font-size:14px; margin-top:14px; font-weight:600; }

/* ---------- footer ---------- */
.site-footer{ background:var(--paper-dim); color:var(--soil); padding:64px 0 30px; border-top:3px solid var(--leaf); }
.footer-grid{ display:grid; grid-template-columns:1.4fr repeat(3,1fr); gap:40px; margin-bottom:50px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
.footer-grid h4{ font-family:var(--mono); font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--leaf); margin-bottom:18px; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:14px; }
.footer-grid a{ text-decoration:none; color:var(--soil); }
.footer-grid a:hover{ color:var(--ink); }
.footer-bottom{ border-top:1px solid rgba(30,77,43,.15); padding-top:26px; display:flex; justify-content:center; flex-wrap:wrap; gap:12px; font-size:12.5px; }
.footer-bottom a{ color:var(--soil); text-decoration:underline; }

/* ---------- mobile & tablet polish: spacing & touch targets ---------- */
@media (max-width:1080px){
  .hero-ctas{ flex-wrap:wrap; }
  .hero-ctas .btn{ flex:1 1 220px; }
}

@media (max-width:900px){
  .section{ padding:72px 0; }
  .section.tight{ padding:56px 0; }
  .section-head{ margin-bottom:38px; }
  h1{ line-height:1.1; }
  h2{ line-height:1.15; }
}

@media (max-width:640px){
  .wrap{ padding:0 18px; }
  .section{ padding:56px 0; }
  .section.tight{ padding:42px 0; }
  .hero{ padding:44px 0 52px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; flex-wrap:nowrap; }
  .hero-ctas .btn{ width:100%; flex:none; }
  .btn{ min-height:52px; font-size:15.5px; }
  .row-actions button{ min-height:40px; padding:8px 14px; }
  .service-card{ padding:28px 22px; }
  .product-body{ padding:20px 20px 24px; }
  .testi-card{ padding:24px 20px; }
  .journey-row{ grid-template-columns:56px 1fr; gap:16px; padding:26px 0; }
  .journey-num{ font-size:32px; }
  .about-quote{ font-size:19px; padding-left:20px; }
  .contact-info .row{ flex-direction:column; gap:4px; }
  .contact-info .row b{ min-width:0; }
}

/* ---------- WhatsApp floating button ----------
   Numéro principal (bouton flottant) : +49 1521 8496971
   Numéro secondaire (section contact) : +228 90 36 23 78
   Pour changer un numéro : remplacez-le dans index.html
   (bouton flottant + section contact), format international
   sans "+" ni espaces. */
.whatsapp-float{
  position:fixed;
  right:20px; right:calc(20px + env(safe-area-inset-right));
  bottom:20px; bottom:calc(20px + env(safe-area-inset-bottom));
  z-index:70;
  width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#FFFFFF;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px -6px rgba(0,0,0,.35);
  transition:transform .25s var(--ease);
}
.whatsapp-float:hover{ transform:scale(1.08); }
.whatsapp-float svg{ width:30px; height:30px; }
@media (max-width:640px){
  .whatsapp-float{
    right:16px; right:calc(16px + env(safe-area-inset-right));
    bottom:16px; bottom:calc(16px + env(safe-area-inset-bottom));
    width:52px; height:52px;
  }
  .whatsapp-float svg{ width:26px; height:26px; }
}

/* =====================================================
   BLOG — liste des articles
   ===================================================== */
.blog-header{
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(201,162,39,.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--paper-dim) 100%);
  padding:64px 0 48px;
}
.blog-header h1{ margin:8px 0 16px; }
.blog-header .lede{ max-width:60ch; }

.blog-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:30px;
}
@media (max-width:980px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .blog-grid{ grid-template-columns:1fr; } }

.blog-card{
  display:flex; flex-direction:column;
  border:1px solid rgba(46,125,50,.15); border-radius:8px; overflow:hidden;
  transition:box-shadow .3s var(--ease), transform .3s var(--ease);
}
.blog-card:hover{ box-shadow:0 20px 38px -22px rgba(30,77,43,.35); transform:translateY(-3px); }
.blog-card-media{ display:block; aspect-ratio:3/2; overflow:hidden; background:var(--paper-dim); }
.blog-card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .4s var(--ease); }
.blog-card:hover .blog-card-media img{ transform:scale(1.05); }
.blog-card-body{ padding:22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.blog-card-body time{
  font-family:var(--mono); font-size:11.5px; color:var(--leaf); text-transform:uppercase; letter-spacing:.05em;
}
.blog-card-body h2{ font-size:19px; margin:10px 0 10px; line-height:1.3; }
.blog-card-body h2 a{ color:var(--ink); text-decoration:none; }
.blog-card-body h2 a:hover{ text-decoration:underline; }
.blog-card-body p{ font-size:14px; color:var(--soil-soft); flex:1; margin:0 0 16px; }
.blog-read-more{
  font-family:var(--mono); font-size:12.5px; font-weight:700; color:var(--leaf);
  text-decoration:none; letter-spacing:.02em;
}
.blog-read-more:hover{ text-decoration:underline; }

/* =====================================================
   ARTICLE — page de détail
   ===================================================== */
.article-wrap{ padding:56px 0 80px; }
.article-back{ margin-bottom:28px; }
.article-back a{
  font-family:var(--mono); font-size:13px; color:var(--leaf); text-decoration:none;
}
.article-back a:hover{ text-decoration:underline; }

.article-body{ max-width:760px; margin:0 auto; }
.article-date{
  display:block; font-family:var(--mono); font-size:12px; color:var(--leaf);
  text-transform:uppercase; letter-spacing:.05em; margin-bottom:12px;
}
.article-body h1{ font-size:clamp(28px,4vw,42px); line-height:1.15; margin:0 0 28px; }
.article-cover{
  width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; border-radius:8px; margin-bottom:32px;
}
.article-body h3{ margin:36px 0 14px; font-family:var(--display); font-weight:400; }
.article-body p{ font-size:16.5px; line-height:1.75; color:var(--soil-soft); margin:0 0 20px; }
.article-body strong{ color:var(--ink); }
.article-body em{ color:var(--leaf); font-style:italic; }

/* =====================================================
   PAGES LÉGALES (confidentialité, CGU) & 404
   ===================================================== */
.legal-page{ padding:70px 0 90px; }
.legal-wrap{ max-width:760px; margin:0 auto; }
.legal-wrap h1{ font-size:clamp(28px,4vw,40px); margin:10px 0 6px; }
.legal-updated{ font-size:12.5px; color:var(--soil-soft); font-family:var(--mono); margin-bottom:36px; }
.legal-body h2{ font-family:var(--display); font-weight:400; font-size:21px; margin:34px 0 12px; color:var(--ink); }
.legal-body p{ font-size:15.5px; line-height:1.7; color:var(--soil-soft); margin:0 0 16px; }
.legal-body strong{ color:var(--ink); }

.error-page{
  min-height:70vh; display:flex; align-items:center; justify-content:center; text-align:center; padding:60px 24px;
}
.error-page .eyebrow{ justify-content:center; }
.error-page h1{ font-size:clamp(64px,12vw,120px); margin:0; color:var(--leaf); line-height:1; }
.error-page p{ font-size:17px; color:var(--soil-soft); max-width:48ch; margin:16px auto 32px; }

/* =====================================================
   BANNIÈRE COOKIES
   ===================================================== */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:80;
  background:var(--ink); color:#fff;
  box-shadow:0 -12px 30px -16px rgba(0,0,0,.4);
}
.cookie-banner-inner{
  max-width:1180px; margin:0 auto; padding:20px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cookie-banner-inner p{ margin:0; font-size:13.5px; line-height:1.6; max-width:64ch; color:rgba(255,255,255,.88); }
.cookie-banner-actions{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.cookie-banner-link{ font-size:12.5px; color:#fff; text-decoration:underline; opacity:.85; }
.cookie-banner .btn{ padding:9px 18px; font-size:12.5px; }
.cookie-banner .btn-outline{ color:#fff; border-color:rgba(255,255,255,.5); }
@media (max-width:640px){
  .cookie-banner-inner{ flex-direction:column; align-items:stretch; text-align:center; }
  .cookie-banner-actions{ justify-content:center; }
}
