/*
Theme: Cécilia Tetard — À propos Ferrari
Purpose: structure propre, cohérente avec les autres pages de la maquette.
Le cockpit about-editor.php garde la main sur les couleurs, typos, espacements, photos et boutons.
*/

.page-about{
  --about-ink:#182b3f;
  --about-forest:#526d43;
  --about-terracotta:#bc775f;
  --about-terracotta-dark:#955a46;
  --about-cream:#f7f3ed;
  --about-blush:#f4e5df;
  --about-sage:#e8ecdf;
  --about-line:#decfc5;
  --about-serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --about-sans:Montserrat,Arial,sans-serif;
  overflow:hidden;
  background:#fff;
  color:var(--about-ink);
  font-family:var(--about-sans);
  -webkit-font-smoothing:antialiased;
}
.page-about *{box-sizing:border-box}
.page-about a{text-decoration:none;color:inherit}
.page-about h1,.page-about h2,.page-about h3,.page-about p{margin-top:0}
.page-about>section{position:relative;clear:both;width:100%;isolation:isolate}
.page-about .eyebrow,
.page-about .small,
.page-about .expertise-eyebrow{
  letter-spacing:.16em;
  text-transform:uppercase;
}
.page-about .under{
  width:48px;
  border-top:1px solid currentColor;
  opacity:.7;
  margin:14px 0 20px;
}

/* HERO — reprend le langage visuel de la page Microbiote : grand texte + encart photo arrondi */
.about-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(430px,.95fr);
  align-items:center;
  gap:clamp(54px,6vw,92px);
  padding:clamp(64px,6.6vw,104px) clamp(38px,7.4vw,120px);
  background:#fff1e5;
  overflow:hidden;
}
.about-hero::before,.about-hero::after{content:none!important;display:none!important}
.hero-copy{
  width:auto;
  padding:0!important;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:1;
}
.hero-copy .eyebrow{
  margin-bottom:20px;
  color:#a4513d;
  font-weight:700;
  letter-spacing:.22em;
}
.hero-copy h1{
  margin:0;
  max-width:760px;
  color:#8a4434;
  font-family:var(--about-serif);
  font-size:clamp(52px,4.35vw,72px);
  line-height:.96;
  letter-spacing:-.025em;
}
.hero-copy p{
  max-width:690px;
  margin:26px 0 30px;
  color:#7b453a;
  font-family:var(--about-sans)!important;
  font-size:clamp(15px,1.04vw,17px)!important;
  line-height:1.5!important;
  font-weight:400!important;
}
.hero-copy p strong{
  display:block;
  margin-bottom:16px;
  font-size:clamp(21px,1.55vw,27px);
  line-height:1.12;
  font-weight:500;
}
.about-hero-actions{
  width:min(430px,100%);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.hero-btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:17px 30px;
  border-radius:999px;
  font-family:var(--about-sans);
  font-size:13px;
  line-height:1.1;
  font-weight:700;
}
.hero-btn.primary{
  background:#000!important;
  color:#fff!important;
  border:1px solid #000!important;
}
.hero-btn.secondary{
  background:rgba(255,255,255,.72)!important;
  color:#173c34!important;
  border:1.5px solid #315f3a!important;
}
.about-hero-visual{
  min-width:0;
  width:100%;
  aspect-ratio:.94 / 1;
  min-height:0!important;
  overflow:hidden;
  border-radius:24px;
  background:#eee6dd;
}
.about-hero-visual.is-empty{
  box-shadow:inset 0 0 0 1px rgba(122,67,56,.08);
}
.about-hero-visual img{
  display:block;
  width:100%;
  height:100%;
  min-height:0!important;
  object-fit:cover;
  border-radius:inherit;
}
.hero-quote{display:none!important}

/* PARCOURS */
.parcours{
  padding:82px clamp(36px,6.8vw,104px);
  background:#fff;
}
.parcours-top{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:64px;
  align-items:end;
}
.parcours h2{
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(40px,3.25vw,52px);
  line-height:1;
}
.parcours .lead{
  margin:0;
  font-family:var(--about-serif)!important;
  font-size:clamp(25px,1.9vw,32px)!important;
  line-height:1.15!important;
}
.parcours .intro{
  margin:0 0 4px;
  max-width:660px;
}
.timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  margin-top:52px;
}
.timeline::before{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  top:13px;
  height:1px;
  background:#ba7764;
  z-index:0;
}
.step{
  position:relative;
  z-index:1;
  min-width:0;
  padding:34px 22px 26px;
  text-align:center;
  background:#fff;
  border:1px solid #eadfd7;
  border-radius:16px;
}
.dot{
  position:absolute;
  top:8px;
  left:50%;
  width:11px;
  height:11px;
  border-radius:50%;
  background:#ba7764;
  transform:translateX(-50%);
}
.num{
  margin-bottom:12px;
  font-family:var(--about-serif);
  font-size:30px;
  color:#b66e5a;
}
.step h3{
  margin:0 0 12px;
  font-family:var(--about-serif);
  font-size:clamp(20px,1.4vw,24px);
  line-height:1.1;
}
.step p{margin:0}

/* EXPERTISE */
.about-expertise{
  padding:86px clamp(36px,6.8vw,104px);
  background:#f7eee9;
}
.expertise-inner{max-width:1180px;margin:0 auto}
.expertise-eyebrow{
  margin-bottom:16px;
  color:#934f3e;
  font-size:12px;
  font-weight:600;
}
.about-expertise h2{
  max-width:840px;
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(40px,3.3vw,54px);
  line-height:1.03;
}
.expertise-intro{
  max-width:900px;
  margin:24px 0 34px!important;
}
.expertise-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.expertise-card{
  min-width:0;
  padding:30px;
  background:#fff;
  border:1px solid #eadfd7;
  border-radius:16px;
}
.expertise-num{
  margin-bottom:18px;
  color:#9b5948;
  font-family:var(--about-sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:.12em;
}
.expertise-card h3{
  margin:0 0 12px;
  font-family:var(--about-serif);
  font-size:clamp(21px,1.5vw,25px);
  line-height:1.12;
}
.expertise-card p{margin:0!important}
.expertise-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px;
}
.expertise-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:14px 28px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  line-height:1;
}

/* PATRIMOINE SEO / PROFONDEUR SCIENTIFIQUE */
.about-heritage{
  padding:88px clamp(36px,6.8vw,104px);
  background:#fff;
  color:#182b3f;
}
.about-heritage-inner{max-width:1180px;margin:0 auto}
.about-heritage h2{
  max-width:900px;
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(40px,3.25vw,54px);
  line-height:1.03;
}
.about-heritage h3{
  margin:0 0 14px;
  font-family:var(--about-serif);
  font-size:clamp(24px,1.8vw,30px);
  line-height:1.08;
}
.about-heritage p{
  margin:0 0 18px!important;
  max-width:none;
}
.about-heritage-lead{
  max-width:980px;
  margin:30px 0 44px;
}
.about-heritage-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-bottom:34px;
}
.about-heritage-grid article,
.about-heritage-story,
.about-method{
  border:1px solid #eadfd7;
  border-radius:18px;
  background:#fbf8f4;
}
.about-heritage-grid article{padding:32px}
.about-heritage-story{
  padding:38px;
  margin-bottom:34px;
}
.about-heritage-story h3:not(:first-child){margin-top:34px}
.about-method{
  padding:38px;
  background:#f7eee9;
}
.about-method>.expertise-eyebrow{margin-bottom:14px}
.about-method-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:30px;
}
.about-method-grid article{
  min-width:0;
  padding:24px;
  background:#fff;
  border-radius:14px;
  border:1px solid #eadfd7;
}
.about-method-grid h3{font-size:clamp(20px,1.35vw,23px)}
.about-method-grid p{margin:0!important}
.about-heritage-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
@media(max-width:980px){
  .about-heritage{padding:64px 7%}
  .about-heritage-grid{grid-template-columns:1fr}
  .about-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
  .about-heritage{padding:52px 22px}
  .about-heritage h2{font-size:38px!important}
  .about-heritage-grid article,
  .about-heritage-story,
  .about-method{padding:24px 20px}
  .about-method-grid{grid-template-columns:1fr}
  .about-heritage-links{flex-direction:column}
  .about-heritage-links .expertise-btn{width:100%}
}

/* BLOCS PHOTO + TEXTE — aucun chevauchement */
.passion,
.science{
  display:grid;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  align-items:stretch;
  min-height:520px;
  overflow:hidden;
}
.science{grid-template-columns:minmax(0,50%) minmax(0,50%)}
.passion-photo,
.science-photo,
.practice-photo{
  min-height:520px;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}
.passion-copy,
.science-copy{
  min-width:0;
  padding:78px clamp(38px,5.2vw,82px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.passion-copy{background:linear-gradient(90deg,#f6ece7,#f2e2dc)}
.passion-copy h2,
.science-copy h2{
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(40px,3vw,50px);
  line-height:1;
}
.passion-copy p,
.science-copy p{
  max-width:720px;
  margin:0 0 18px!important;
}
.leaf-line{display:none!important}
.handwords{
  position:static;
  margin-top:24px;
  transform:none;
  color:#213143;
  font-size:clamp(25px,2vw,34px);
  line-height:1.16;
}
.handwords::after{
  content:"";
  display:block;
  width:50px;
  margin-top:12px;
  border-top:2px solid currentColor;
}
.science-copy{background:#66725e;color:#fff}
.science-copy .under{border-color:rgba(255,255,255,.8)}
.outline-btn{
  width:max-content;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:14px 28px;
  border:1px solid currentColor;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  line-height:1;
}

/* VALEURS */
.values{
  padding:78px clamp(36px,6.2vw,96px);
  display:grid;
  grid-template-columns:minmax(210px,22%) minmax(0,78%);
  gap:42px;
  align-items:start;
  background:#fff;
}
.values-title h2{
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(39px,2.9vw,48px);
  line-height:1;
}
.values-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:18px;
}
.value{
  min-width:0;
  padding:24px 16px;
  text-align:center;
}
.value-icon{
  width:76px;
  height:76px;
  margin:0 auto 16px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2e8;
}
.value:nth-child(2) .value-icon,
.value:nth-child(4) .value-icon{background:#f7e7e1}
.value-icon svg{
  width:38px;
  height:38px;
  stroke:#213f31;
  fill:none;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.value h3{
  margin:0 0 10px;
  font-family:var(--about-serif);
  font-size:clamp(20px,1.35vw,23px);
  line-height:1.1;
}
.value p{margin:0!important}

/* PRATIQUE RESPONSABLE */
.practice{
  display:grid;
  grid-template-columns:minmax(0,32%) minmax(0,43%) minmax(250px,25%);
  align-items:stretch;
  min-height:480px;
  overflow:hidden;
}
.practice-photo{min-height:480px}
.practice-copy,
.practice-quote{
  min-width:0;
  padding:72px clamp(34px,4vw,64px);
}
.practice-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:#fff;
}
.practice-copy h2{
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(38px,2.8vw,48px);
  line-height:1;
}
.practice-copy p{margin:0!important}
.practice-quote{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#e5e8dc;
}
.practice-quote svg{
  width:48px;
  height:48px;
  margin-bottom:18px;
  stroke:#314934;
  fill:none;
  stroke-width:1.3;
}
.practice-quote p{
  margin:0!important;
  font-family:var(--about-serif)!important;
  font-size:clamp(24px,1.65vw,29px)!important;
  line-height:1.25!important;
  font-style:italic;
}
.practice-quote .under{width:44px;margin:20px 0}
.practice-quote strong{
  font-family:var(--about-sans);
  font-size:12px;
  letter-spacing:.08em;
}

/* CTA FINAL — dimensions alignées sur Mon approche / Microbiote */
.cta{
  min-height:270px;
  padding:56px 7%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#f2dad7;
}
.cta .small{
  margin-bottom:12px;
  color:#8f4435;
  font-size:11px;
  font-weight:600;
}
.cta h2{
  margin:0;
  font-family:var(--about-serif);
  font-size:clamp(40px,2.9vw,48px);
  line-height:1;
}
.cta p{margin:12px 0 24px!important}
.cta-actions{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}
.cta-primary,
.cta-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:14px 28px;
  border-radius:999px;
  font-family:var(--about-sans);
  font-size:12px;
  font-weight:600;
  line-height:1;
}
.cta-primary{background:#000;color:#fff;border:1px solid #000}
.cta-secondary{background:#fff;color:#182b3f;border:1px solid #182b3f}

.page-about a:focus-visible{outline:3px solid #1f4e3d;outline-offset:3px}

/* TABLETTE */
@media(max-width:1100px){
  .values{grid-template-columns:1fr}
  .values-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
  .about-hero{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto;
  }
  .hero-copy{
    grid-column:1;
    grid-row:1;
    padding:58px 7%;
  }
  .hero-copy h1{font-size:54px}
  .about-hero-visual{
    grid-column:1;
    grid-row:2;
    min-height:380px;
  }
  .hero-quote{
    grid-column:1;
    grid-row:3;
    grid-template-columns:auto minmax(0,1fr);
    padding:28px 7%;
  }
  .hero-quote .sig{
    grid-column:2;
    text-align:left;
  }
  .parcours{padding:64px 7%}
  .parcours-top{grid-template-columns:1fr;gap:22px}
  .timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:38px}
  .timeline::before{display:none}
  .step{padding-top:28px}
  .dot{display:none}
  .about-expertise{padding:64px 7%}
  .expertise-grid{grid-template-columns:1fr}
  .passion,.science,.practice{grid-template-columns:1fr}
  .passion-photo,.science-photo,.practice-photo{min-height:340px}
  .passion-copy,.science-copy,.practice-copy,.practice-quote{padding:58px 7%}
  .values{padding:64px 7%}
  .values-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .practice-quote{min-height:300px}
  .cta{padding:52px 7%}
}

/* MOBILE */
@media(max-width:650px){
  .hero-copy{padding:46px 22px}
  .hero-copy h1{font-size:43px}
  .hero-copy p{margin:20px 0 24px!important}
  .hero-btn,
  .outline-btn,
  .expertise-btn,
  .cta-primary,
  .cta-secondary{
    min-height:44px;
    padding:14px 24px!important;
    font-size:11px!important;
  }
  .about-hero-visual{min-height:280px}
  .hero-quote{
    grid-template-columns:1fr;
    padding:24px 22px;
    gap:10px;
  }
  .hero-quote .quote-mark{font-size:38px}
  .hero-quote .sig{grid-column:1}
  .parcours{padding:52px 22px}
  .parcours h2,
  .about-expertise h2,
  .passion-copy h2,
  .science-copy h2,
  .values-title h2,
  .practice-copy h2,
  .cta h2{font-size:38px!important}
  .parcours .lead{font-size:25px!important}
  .timeline{grid-template-columns:1fr}
  .step{padding:24px 20px}
  .about-expertise{padding:54px 22px}
  .expertise-card{padding:24px 20px}
  .expertise-actions{flex-direction:column}
  .expertise-btn{width:100%}
  .passion-photo,.science-photo,.practice-photo{min-height:260px}
  .passion-copy,.science-copy,.practice-copy,.practice-quote{padding:50px 22px}
  .values{padding:52px 22px}
  .values-grid{grid-template-columns:1fr}
  .value{
    display:grid;
    grid-template-columns:64px 1fr;
    column-gap:16px;
    align-items:center;
    text-align:left;
    padding:18px 0;
  }
  .value-icon{
    grid-row:1/3;
    width:60px!important;
    height:60px!important;
    margin:0!important;
  }
  .value h3{margin:0 0 6px}
  .practice-quote{min-height:260px}
  .cta{
    min-height:0;
    padding:50px 22px;
  }
  .cta-actions{
    width:100%;
    flex-direction:column;
  }
  .cta-primary,.cta-secondary{width:100%}
}
