/* ==========================================================================
   Stéphanie Jouanen Nutrition — feuille de style partagée
   Option B — Neutre & épuré
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', Arial, sans-serif;
  background: #F2F0EC;
  color: #2E2C28;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

:root {
  --bg: #F2F0EC;
  --bg-alt: #EAE6DE;
  --card: #F8F6F2;
  --dark: #2E2C28;
  --text: #2E2C28;
  --text-soft: #6B6558;
  --accent: #B4694A;
  --border: #E3DED4;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
h1, h2, h3 { font-family: 'Jost', sans-serif; }
h2.section-title {
  font-size: 32px; font-weight: 700; letter-spacing: -0.5px;
  text-transform: uppercase; margin-bottom: 18px; line-height: 1.2;
  overflow-wrap: break-word;
}
h1, h2, h3 { overflow-wrap: break-word; }
.head { text-align: center; max-width: 640px; margin: 0 auto 50px; }

.btn {
  display: inline-block; padding: 15px 30px; font-size: 12.5px;
  letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  border-radius: 3px; cursor: pointer; border: none;
}
.btn-primary { background: var(--dark); color: var(--bg); }
.btn-outline { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-cream { background: var(--bg); color: var(--dark); }
.btn-outline-cream { background: transparent; color: var(--bg); border: 1.5px solid var(--bg); }

section { padding: 90px 0; }
@media (max-width: 900px) { section { padding: 56px 0; } }

.placeholder-img {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#E7E2D9,#D8D2C6);
  color: #8A8477; font-size: 12px; letter-spacing: 1px; text-align: center; padding: 10px;
}

.banner {
  background: var(--accent); color: #fff; text-align: center;
  font-size: 12.5px; padding: 8px 12px; letter-spacing: 0.5px;
}

/* ===== NAV ===== */
nav.mainnav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px; max-width: 1180px; margin: 0 auto;
}
nav.mainnav .logo { font-size: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
nav.mainnav ul { display: flex; gap: 30px; }
nav.mainnav ul li a { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
nav.mainnav ul li a.active { color: var(--accent); }
nav.mainnav .btn { padding: 12px 22px; }
.navwrap { background: var(--bg); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); }
.nav-burger { display: none; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-social {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent); color: var(--card);
  transition: opacity 0.2s;
}
.nav-social:hover { opacity: 0.85; }
.nav-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; }

@media (max-width: 900px) {
  nav.mainnav ul { display: none; }
  nav.mainnav .btn.desktop-only { display: none; }
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding: 64px 0 54px; text-align: center; background: var(--bg-alt);
}
.page-header h1 {
  font-size: 40px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; margin-bottom: 14px;
  overflow-wrap: break-word;
}
.page-header p { font-size: 15px; color: var(--text-soft); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.breadcrumb { font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-soft); margin-bottom: 16px; }
.breadcrumb a { color: var(--accent); }
@media (max-width: 640px) {
  .page-header { padding: 48px 0 40px; }
  .page-header h1 { font-size: 28px; }
}

/* ===== HERO (home) ===== */
.hero { padding: 20px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.hero-photo { border-radius: 4px; overflow: hidden; }
.hero-photo img { width: 100%; }
.hero-text .role { font-size: 16px; color: var(--text-soft); margin-bottom: 26px; font-weight: 500; }
.hero-text h1 { font-size: 46px; font-weight: 800; text-transform: uppercase; letter-spacing: -1px; line-height: 1.05; margin-bottom: 6px; }
.tagline-block {
  font-size: 24px; font-weight: 600; line-height: 1.4; margin: 22px 0 18px;
  border-left: 3px solid var(--accent); padding-left: 18px; max-width: 460px;
}
.hero-desc { font-size: 15px; color: var(--text-soft); line-height: 1.75; max-width: 440px; margin-bottom: 32px; }
.hero-btns, .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 34px; }
}

/* ===== RECOGNIZE / cards grid ===== */
.recognize { background: var(--bg-alt); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 50px; }
.rec-card { background: var(--card); padding: 26px 24px; border-radius: 4px; font-size: 15px; line-height: 1.5; border-left: 3px solid var(--accent); }
.recognize .transition { text-align: center; font-size: 24px; font-weight: 700; line-height: 1.4; max-width: 620px; margin: 0 auto 34px; }
.recognize .transition span { color: var(--accent); }
.center-btn { text-align: center; }

/* ===== APPROACH / two-col with pillars ===== */
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.approach-photo { border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; }
.approach-photo img { width: 100%; height: 100%; object-fit: cover; }
.approach-desc { font-size: 15px; color: var(--text-soft); line-height: 1.75; margin-bottom: 36px; max-width: 460px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pillar h3 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
.pillar p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.pillar .num { color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 6px; display: block; }

/* ===== STEPS ===== */
.steps { background: var(--bg-alt); }
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { background: var(--card); padding: 30px 22px; border-radius: 4px; }
.step-card .step-num { font-size: 34px; font-weight: 800; color: var(--accent); margin-bottom: 14px; display: block; }
.step-card h3 { font-size: 14.5px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; font-weight: 700; }
.step-card p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }

/* ===== FORMULES ===== */
.discovery-banner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  background: var(--card); border: 1.5px dashed var(--accent); border-radius: 4px;
  padding: 26px 30px; margin-bottom: 34px;
}
.discovery-banner .txt h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.discovery-banner .txt p { font-size: 13px; color: var(--text-soft); }
.discovery-banner .tag {
  display: inline-block; background: var(--accent); color: #fff; font-size: 10.5px;
  padding: 4px 10px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 8px;
}
.price-old { text-decoration: line-through; color: #8f897c; font-size: 17px; font-weight: 500; margin-right: 8px; }
.formule-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.formule-card { background: var(--card); border-radius: 4px; padding: 32px 24px; display: flex; flex-direction: column; border: 1px solid var(--border); }
.formule-card.featured { background: var(--dark); color: var(--bg); border: none; position: relative; }
.formule-card .badge {
  position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff;
  font-size: 10.5px; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.5px; text-transform: uppercase; font-weight: 700;
}
.formule-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; font-weight: 700; }
.formule-card .price { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.formule-card .desc { font-size: 13px; line-height: 1.6; margin-bottom: 22px; flex-grow: 1; }
.formule-card.featured .desc { color: #cfc9bf; }
.formule-card ul { margin-bottom: 22px; }
.formule-card ul li { font-size: 12.5px; line-height: 1.9; padding-left: 16px; position: relative; }
.formule-card ul li:before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.formule-card .btn { text-align: center; font-size: 11.5px; padding: 13px 18px; }
.btn-pair { display: flex; gap: 8px; }
.btn-pair .btn { flex: 1; padding: 12px 8px; font-size: 10px; letter-spacing: 0.8px; }
.formules-note { text-align: center; font-size: 13px; color: var(--text-soft); margin-top: 28px; font-style: italic; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-photo { border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-desc { font-size: 15px; color: var(--text-soft); line-height: 1.8; margin-bottom: 30px; max-width: 480px; }
.about-desc p + p { margin-top: 16px; }
.todo-note {
  background: #FBF3EE; border: 1px dashed var(--accent); border-radius: 4px;
  padding: 14px 18px; font-size: 12.5px; color: #8a5238; margin: 18px 0; line-height: 1.6;
}

/* ===== CARDS 3/4 (blog + recipes) ===== */
.cards-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.content-card { background: var(--card); border-radius: 4px; overflow: hidden; }
.content-card .thumb { aspect-ratio: 4/3; }
.content-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.content-card .body { padding: 20px; }
.content-card h3 { font-size: 14.5px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.content-card p { font-size: 12.5px; color: var(--text-soft); line-height: 1.5; margin-bottom: 14px; }
.content-card .link { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700; color: var(--accent); }
.section-foot { text-align: center; margin-top: 10px; }
.recettes-alt { background: var(--bg-alt); }
.category-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.category-tabs .tab {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600;
  padding: 10px 20px; border-radius: 20px; border: 1.5px solid var(--border); color: var(--text-soft);
}
.category-tabs .tab.active { background: var(--dark); color: var(--bg); border-color: var(--dark); }
.category-block { margin-bottom: 60px; }
.category-block h2 { font-size: 20px; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 22px; font-weight: 700; border-bottom: 2px solid var(--border); padding-bottom: 12px; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--card); padding: 30px 26px; border-radius: 4px; }
.testi-card .quote { font-size: 14.5px; line-height: 1.7; color: #4a463f; margin-bottom: 18px; font-style: italic; }
.testi-card .who { font-size: 13px; font-weight: 700; }
.testi-card .stars { color: var(--accent); margin-bottom: 12px; font-size: 13px; letter-spacing: 2px; }

/* ===== CTA ===== */
.cta { background: var(--dark); color: var(--bg); text-align: center; }
.cta h2 { font-size: 34px; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; }
.cta p { font-size: 16px; color: #cfc9bf; max-width: 560px; margin: 0 auto 34px; line-height: 1.6; }

/* ===== CONTACT ===== */
.contact-strip {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding: 40px 0; border-top: 1px solid #ddd7ca; border-bottom: 1px solid #ddd7ca;
}
.contact-strip .infos { font-size: 13.5px; color: var(--text-soft); line-height: 1.9; }
.contact-strip .btns { display: flex; gap: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0; min-height: 640px; }
.contact-photo { position: relative; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.contact-panel { background: var(--bg-alt); padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.contact-panel .eyebrow { margin-bottom: 6px; }
.contact-panel h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.contact-panel .role { font-size: 14.5px; color: var(--text-soft); margin-bottom: 30px; }
.contact-info-list { margin-bottom: 34px; }
.contact-info-list li { font-size: 14.5px; line-height: 2.2; }
.contact-form { display: grid; gap: 14px; max-width: 420px; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--border); background: #fff; padding: 13px 16px; font-family: inherit;
  font-size: 13.5px; border-radius: 3px; color: var(--text);
}
.contact-form label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-soft); margin-bottom: 4px; display: block; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 50px 28px; }
}

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 760px; margin: 0 auto; font-size: 14.5px; line-height: 1.85; color: var(--text-soft); }
.legal-content h2 { color: var(--text); font-size: 18px; margin: 34px 0 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; list-style: disc; }
.legal-content ol { margin: 0 0 14px 20px; list-style: decimal; }
.legal-content li { margin-bottom: 8px; }

/* ===== RECIPE META BAR ===== */
.recipe-meta {
  display: flex; justify-content: center; gap: 40px; max-width: 760px; margin: 0 auto 40px;
  padding: 18px 24px; background: var(--card); border-radius: 4px; flex-wrap: wrap;
}
.recipe-meta div { text-align: center; }
.recipe-meta span { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-soft); margin-bottom: 4px; }
.recipe-meta strong { font-size: 15px; color: var(--text); font-weight: 700; }
@media (max-width: 640px) { .recipe-meta { gap: 24px; } }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: #cfc9bf; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
footer .brand { color: var(--bg); font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
footer .tagline { font-size: 13px; color: #9c9689; }
footer ul li { margin-bottom: 10px; font-size: 13px; }
.footer-legal { font-size: 11.5px; color: #8a8477; line-height: 1.7; border-top: 1px solid #45423b; padding-top: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== ARTICLE PAGES ===== */
.article-hero { aspect-ratio: 16/7; border-radius: 4px; overflow: hidden; margin: 0 auto 44px; max-width: 900px; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ===== POSITIONING AXES ===== */
.axes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.axis-card { background: var(--card); padding: 34px 30px; border-radius: 4px; border-left: 3px solid var(--accent); }
.axis-card h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; margin-bottom: 18px; }
.axis-card ul { margin: 0; }
.axis-card ul li { font-size: 13.5px; line-height: 2.1; padding-left: 18px; position: relative; color: var(--text-soft); }
.axis-card ul li:before { content: "—"; position: absolute; left: 0; color: var(--accent); }

@media (max-width: 640px) { h2.section-title { font-size: 25px; } }

/* ===== RESPONSIVE GRID OVERRIDES (kept last so they win the cascade) ===== */
@media (max-width: 900px) {
  .cards-grid, .steps-list, .formule-grid, .cards-3, .testi-grid, .pillars, .approach-grid, .about-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .cards-grid, .steps-list, .formule-grid, .cards-3, .testi-grid, .pillars, .approach-grid, .about-grid, .axes-grid { grid-template-columns: 1fr; }
}
