/*
Theme Name: Cecilia Article Alimentation Microbiote V06 Test Autonome
Author: OpenAI
Description: Reconstruction HTML/CSS fidèle du modèle article fourni, sans incrustation de capture d'écran.
Version: 8.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap');

:root{
  --green:#0e5149;
  --green2:#215f50;
  --deep:#0e3f38;
  --terracotta:#bb6f58;
  --gold:#c79848;
  --cream:#fbf8f2;
  --paper:#fffdf9;
  --peach:#f8ece6;
  --sage:#edf2e8;
  --line:#e8e0d5;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Montserrat',Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#263d39;font-family:var(--sans);-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
button,input{font:inherit}
.page{overflow:hidden}

/* ========== HEADER ========== */
.header{
  height:64px;padding:0 5.0%;
  display:flex;align-items:center;background:#fff;
  border-bottom:1px solid #f0ebe4;
}
.brand{display:flex;flex-direction:column;min-width:235px}
.brand strong{font:500 23px/.95 var(--serif);letter-spacing:.01em;color:#163f3a}
.brand span{font:500 9px/1.2 var(--sans);margin-top:4px;color:#5d6964}
.nav{margin-left:auto;display:flex;align-items:center;gap:24px;font:500 10px/1 var(--sans);white-space:nowrap;color:#31463f}
.nav a{position:relative}
.nav .active{color:#aa624c}
.nav .active:after{content:'';position:absolute;left:50%;bottom:-17px;width:25px;height:1px;background:#aa624c;transform:translateX(-50%)}
.search svg{width:16px;height:16px}
.nav-cta{background:#174f3d;color:#fff!important;border-radius:999px;padding:13px 22px;font-weight:600}

/* ========== HERO ========== */
.hero{
  min-height:205px;
  display:grid;grid-template-columns:48% 52%;
  background:#f5f1e9;
}
.hero-copy{
  padding:22px 18px 18px 5.0%;
  display:flex;flex-direction:column;justify-content:center
}
.hero-meta{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.pill{background:#647b50;color:#fff;border-radius:999px;padding:5px 12px;font:600 9px/1 var(--sans)}
.read{font:500 9px/1 var(--sans);color:#66726d}
.hero h1{
  margin:0;color:#0e5149;
  font:500 35px/.93 var(--serif);
  letter-spacing:-.018em
}
.hero p{
  margin:8px 0 10px;
  max-width:440px;
  font:400 10.5px/1.45 var(--sans)
}
.hero-icons{display:flex;gap:25px;margin-top:2px}
.hero-icon{width:66px;text-align:center;color:#0e5149}
.hero-icon svg{width:28px;height:28px;margin:0 auto 4px;stroke:#0e5149;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.hero-icon span{display:block;font:600 7px/1.18 var(--sans)}
.hero-photo{position:relative;overflow:hidden;background:#eee}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-quote{
  position:absolute;right:24px;top:20px;width:150px;
  color:#fff;text-align:right;
  font:italic 20px/1.18 var(--serif);
  text-shadow:0 1px 6px rgba(0,0,0,.35)
}
.hero-note{
  position:absolute;right:18px;bottom:12px;
  background:rgba(255,255,255,.93);padding:8px 12px;border-radius:4px;
  font:400 8px/1.35 var(--sans);color:#53685f
}

/* ========== ARTICLE GRID ========== */
.shell{
  display:grid;
  grid-template-columns:118px minmax(0,1fr) 185px;
  gap:16px;
  padding:16px 5% 12px;
  align-items:start
}
.toc,.side-card{background:#fbf7f1;border-radius:7px;padding:12px}
.toc h3,.side-title h3{margin:0;color:#35544c;font:500 14px/1.05 var(--serif)}
.toc h3{margin-bottom:8px}
.toc a{
  display:block;padding:6px 0 6px 8px;
  border-left:2px solid transparent;
  font:400 8px/1.42 var(--sans)
}
.toc a.active{border-left-color:#bd7359;color:#92503d;font-weight:600}

.article{min-width:0}
.article>p:first-child{margin-top:2px}
.article h2{
  margin:12px 0 5px;
  color:#0e5149;
  font:500 20px/1.02 var(--serif)
}
.article p,.article li{
  font:400 9px/1.48 var(--sans);
  color:#314842
}
.article p{margin:5px 0}
.article ul{padding-left:18px;margin:6px 0 10px}
.article li{margin:4px 0}
.article strong{font-weight:600}

.callout{
  margin:10px 0 11px;
  padding:11px 12px;
  border-radius:6px;background:#f0f4ed;
  display:grid;grid-template-columns:31px 1fr;gap:9px;align-items:start
}
.callout svg{width:28px;height:28px;stroke:#2e654e;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.callout strong{display:block;color:#315a4a;font:500 13px/1.1 var(--serif)}
.callout p{margin:3px 0 0;font-size:8px}

.quick-title{margin-top:11px}
.quick-grid{
  margin:6px 0 12px;
  background:#f8eee9;border-radius:6px;padding:9px 8px;
  display:grid;grid-template-columns:repeat(4,1fr)
}
.quick{
  text-align:center;padding:0 6px;border-right:1px solid #ead6ca;
  display:flex;flex-direction:column;align-items:center;justify-content:center
}
.quick:last-child{border-right:0}
.quick svg{width:30px;height:30px;stroke:#37644e;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.quick span{margin-top:3px;font:400 7px/1.25 var(--sans)}

.summary{
  margin-top:4px;padding:10px 12px;border-radius:6px;background:#f0f4ed;
  display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:start
}
.summary svg{width:28px;height:28px;stroke:#2f654c;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.summary p{margin:0;font-size:8px}

/* ========== SIDEBAR ========== */
.sidebar{display:flex;flex-direction:column;gap:9px}
.side-title{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.side-title svg{width:24px;height:24px;stroke:#bd7456;fill:none;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.remember{margin:0;padding:0}
.remember li{list-style:none;position:relative;padding-left:16px;margin:7px 0;font:400 8px/1.4 var(--sans)}
.remember li:before{content:'✓';position:absolute;left:0;color:#c6943f;font-weight:700}
.related{
  display:grid;grid-template-columns:54px 1fr;gap:8px;align-items:center;
  padding:7px 0;border-bottom:1px solid #e9ddd3
}
.related:last-child{border-bottom:0}
.related img{width:54px;height:48px;border-radius:5px;object-fit:cover}
.related small{display:block;color:#a16f62;font:600 6px/1 var(--sans);margin-bottom:3px}
.related strong{font:500 8px/1.25 var(--sans);color:#444b48}
.sources ul{padding-left:15px;margin:7px 0}
.sources li{font:400 7px/1.35 var(--sans);margin:3px 0}
.sources a{display:inline-block;margin-top:4px;color:#84695e;font:500 7px/1 var(--sans);text-decoration:underline}

/* ========== CONTINUE READING ========== */
.continue{
  background:#f7f6f2;
  padding:11px 5% 14px;
  text-align:center
}
.continue h2{margin:0;color:#174f45;font:500 17px/1 var(--serif)}
.continue p{margin:3px 0 9px;font:400 8px/1.3 var(--sans)}
.cont-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}
.cont-card{background:#fff;border-radius:5px;overflow:hidden;text-align:left}
.cont-card img{width:100%;height:57px;object-fit:cover}
.cont-card .inner{padding:6px}
.cont-card small{display:block;color:#a36f5f;font:600 5px/1 var(--sans)}
.cont-card strong{display:block;margin:3px 0 4px;font:500 7px/1.18 var(--sans)}
.cont-card b{color:#bd7256;font:600 8px/1 var(--sans)}

/* ========== NEWSLETTER ========== */
.newsletter{
  min-height:62px;background:#faece7;
  display:flex;align-items:center;padding:10px 5%;gap:12px
}
.news-icon{
  width:36px;height:36px;border-radius:50%;background:#f6ddd4;
  display:flex;align-items:center;justify-content:center;flex:0 0 auto
}
.news-icon svg{width:22px;height:22px;stroke:#a64c32;fill:none;stroke-width:1.45}
.news-copy h2{margin:0;color:#9d452d;font:500 18px/.98 var(--serif)}
.news-copy p{margin:3px 0 0;color:#9b5a44;font:400 7px/1.3 var(--sans)}
.news-form{margin-left:auto;display:flex;gap:8px;width:285px}
.news-form input{flex:1;height:32px;border:0;border-radius:999px;padding:0 13px;background:#fff;font:400 8px/1 var(--sans)}
.news-form button{width:92px;height:32px;border:0;border-radius:999px;background:#174f38;color:#fff;font:600 8px/1 var(--sans)}

/* ========== FOOTER ========== */
.footer{background:#174f38;color:#fff;padding:28px 5% 12px}
.footer-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr .8fr 1fr;gap:34px}
.footer-brand{display:grid;grid-template-columns:35px 1fr;gap:10px}
.footer-brand svg{width:32px;height:50px;stroke:#fff;fill:none;stroke-width:1.1}
.footer-brand strong{display:block;font:500 17px/1 var(--serif)}
.footer-brand .sub{font:500 7px/1.25 var(--sans);margin-top:4px}
.footer-brand .promise{font:400 8px/1.4 var(--sans);margin-top:12px}
.footer h3{margin:0 0 8px;font:600 8px/1 var(--sans)}
.footer a{display:block;margin-bottom:4px;font:400 7px/1.15 var(--sans)}
.social{display:flex;gap:9px}
.social svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:1.8}
.social .fill{fill:#fff;stroke:none}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.42);
  margin-top:20px;padding-top:9px;
  display:flex;justify-content:space-between;font:400 6px/1.2 var(--sans)
}

/* ========== RESPONSIVE ========== */
@media(min-width:1200px){
  body{zoom:1.15}
}
@media(max-width:900px){
  .header{height:72px;padding:0 24px}.brand{min-width:auto}.brand strong{font-size:24px}.brand span{font-size:9px}.nav{display:none}
  .hero{grid-template-columns:1fr}.hero-copy{padding:38px 7%}.hero h1{font-size:48px}.hero p{font-size:14px;max-width:650px}.hero-photo{min-height:350px}.hero-quote{font-size:23px;width:220px}.hero-note{font-size:10px}
  .hero-icon{width:90px}.hero-icon svg{width:34px;height:34px}.hero-icon span{font-size:9px}
  .shell{grid-template-columns:1fr;padding:30px 6%}.article h2{font-size:30px}.article p,.article li{font-size:12px}.toc h3,.side-title h3{font-size:20px}.toc a,.remember li,.sources li{font-size:11px}
  .quick svg{width:34px;height:34px}.quick span{font-size:10px}
  .sidebar{display:grid;grid-template-columns:1fr 1fr}
  .related{grid-template-columns:80px 1fr}.related img{width:80px;height:70px}.related small{font-size:8px}.related strong{font-size:11px}
  .cont-grid{grid-template-columns:repeat(4,1fr)}.continue h2{font-size:28px}.continue p{font-size:11px}.cont-card img{height:115px}.cont-card small{font-size:8px}.cont-card strong{font-size:10px}
  .newsletter{padding:20px 6%;flex-wrap:wrap}.news-icon{width:52px;height:52px}.news-icon svg{width:28px;height:28px}.news-copy h2{font-size:27px}.news-copy p{font-size:10px}.news-form{width:min(460px,100%);margin-left:auto}.news-form input,.news-form button{height:44px;font-size:11px}.news-form button{width:140px}
  .footer{padding:40px 6% 16px}.footer-grid{grid-template-columns:1.6fr 1fr 1fr}.footer-brand strong{font-size:22px}.footer-brand .sub,.footer-brand .promise,.footer h3,.footer a{font-size:10px}.footer-bottom{font-size:9px}
}


/* ===== V07 — article étalon plus robuste ===== */

/* Les 4 pictogrammes du Hero ont désormais une signification explicite :
   intestin / assiette+feuille / équilibre hormonal / profil+coeur. */
.hero-icon svg{
  width:31px;
  height:31px;
  stroke-width:1.3;
}

/* Continuer votre lecture : exactement 4 cartes */
.cont-grid{
  grid-template-columns:repeat(4,1fr);
  max-width:690px;
  margin:0 auto;
  gap:12px;
}
.cont-card img{
  height:82px;
}
.cont-card .inner{
  min-height:78px;
  padding:8px;
}
.cont-card small{font-size:7px}
.cont-card strong{font-size:9px;line-height:1.25}

/* Zone de contenu libre alimentée directement par l’éditeur WordPress */
.editor-extra-content{
  background:#fff;
  padding:22px 5%;
}
.editor-extra-inner{
  max-width:760px;
  margin:0 auto;
}
.editor-extra-inner h2{
  color:#0e5149;
  font:500 25px/1.05 var(--serif);
  margin:22px 0 8px;
}
.editor-extra-inner h3{
  color:#0e5149;
  font:500 20px/1.08 var(--serif);
  margin:18px 0 7px;
}
.editor-extra-inner p,
.editor-extra-inner li{
  font:400 12px/1.65 var(--sans);
}
.editor-extra-inner blockquote{
  margin:18px 0;
  padding:16px 20px;
  background:#f8eee9;
  border-left:3px solid #bb6f58;
}
.editor-extra-inner img{
  max-width:100%;
  height:auto;
  border-radius:8px;
}

@media(max-width:900px){
  .cont-grid{grid-template-columns:1fr 1fr;max-width:none}
  .cont-card img{height:150px}
  .cont-card small{font-size:8px}
  .cont-card strong{font-size:11px}
  .editor-extra-content{padding:30px 7%}
}


/* ===== V08 — typography + pictograms locked to the visual maquette ===== */

/* Titles / headings */
.brand strong,
.hero h1,
.toc h3,
.article h2,
.callout strong,
.side-title h3,
.continue h2,
.news-copy h2,
.footer-brand strong,
.editor-extra-inner h2,
.editor-extra-inner h3{
  font-family:'Cormorant Garamond', Georgia, 'Times New Roman', serif !important;
  font-weight:500 !important;
}

/* All paragraph/subtext/descriptions */
body,
.brand span,
.nav,
.pill,
.read,
.hero p,
.hero-icon span,
.toc a,
.article p,
.article li,
.callout p,
.quick span,
.summary p,
.remember li,
.related small,
.related strong,
.sources li,
.sources a,
.continue p,
.cont-card small,
.cont-card strong,
.news-copy p,
.news-form input,
.news-form button,
.footer,
.footer h3,
.footer a,
.footer-brand .sub,
.footer-brand .promise,
.footer-bottom,
.editor-extra-inner p,
.editor-extra-inner li{
  font-family:'Montserrat', Arial, Helvetica, sans-serif !important;
}

/* More exact maquette rhythm */
.hero h1{font-size:35px!important;line-height:.93!important}
.hero p{font-size:10.5px!important;line-height:1.45!important}
.article h2{font-size:20px!important;line-height:1.02!important}
.article p,.article li{font-size:9px!important;line-height:1.48!important}
.toc h3{font-size:14px!important}
.toc a{font-size:8px!important;line-height:1.42!important}
.side-title h3{font-size:14px!important}
.remember li{font-size:8px!important;line-height:1.4!important}
.related strong{font-size:8px!important;line-height:1.25!important}
.related small{font-size:6px!important}
.sources li{font-size:7px!important;line-height:1.35!important}
.quick span{font-size:7px!important;line-height:1.25!important}
.continue h2{font-size:17px!important}
.continue p{font-size:8px!important}
.news-copy h2{font-size:18px!important}
.news-copy p{font-size:7px!important}
.footer-brand strong{font-size:17px!important}
.footer-brand .sub,.footer h3,.footer a{font-size:7px!important}
.footer-brand .promise{font-size:8px!important}

/* All pictograms = generated SVG, never raster capture */
.hero-icon svg,
.quick svg,
.callout svg,
.summary svg,
.side-title svg{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero-icon svg{
  width:28px;height:28px;stroke:#0e5149;stroke-width:1.35;
}
.quick svg{
  width:30px;height:30px;stroke:#37644e;stroke-width:1.35;
}
.callout svg,.summary svg{
  width:28px;height:28px;stroke:#2e654e;stroke-width:1.35;
}
.side-title svg{
  width:24px;height:24px;stroke:#bb6f58;stroke-width:1.35;
}

@media(max-width:900px){
  .hero h1{font-size:48px!important}
  .hero p{font-size:14px!important}
  .article h2{font-size:30px!important}
  .article p,.article li{font-size:12px!important}
  .toc h3,.side-title h3{font-size:20px!important}
  .toc a,.remember li,.sources li{font-size:11px!important}
  .quick span{font-size:10px!important}
  .continue h2{font-size:28px!important}
  .continue p{font-size:11px!important}
  .news-copy h2{font-size:27px!important}
  .news-copy p{font-size:10px!important}
  .footer-brand strong{font-size:22px!important}
  .footer-brand .sub,.footer-brand .promise,.footer h3,.footer a{font-size:10px!important}
}
