/* ===== VARIABLES ===== */
:root {
    --lin:        #F7F3EC;
    --sapin:      #2E3A2D;
    --terra:      #C97A5C;
    --ivoire:     #EDE8DF;
    --texte:      #2E3A2D;
    --texte-clair:#6B7066;
    --fond:       #F7F3EC;
    --fond-carte: #FDFAF6;
    --radius:     10px;
    --shadow:     0 1px 8px rgba(46, 58, 45, 0.07);
    --max-w:      1200px;
    --gutter:     40px;

    /* rétro-compat alias */
    --primary-color:   var(--sapin);
    --secondary-color: var(--terra);
    --accent:          var(--ivoire);
    --text:            var(--sapin);
    --light-text:      var(--texte-clair);
    --bg:              var(--lin);
    --card-bg:         var(--fond-carte);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }

/* ===== BASE ===== */
body {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: var(--sapin);
    background: var(--lin);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--sapin);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1.4rem; }
p:last-child { margin-bottom: 0; }

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, opacity 0.2s;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section, .py-large { padding: 96px 0; }

@media (max-width: 768px) {
    :root { --gutter: 20px; }
    .section, .py-large { padding: 64px 0; }
}

/* ===== UTILS ===== */
.text-center { text-align: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-medium  { gap: 20px; }
.mt-medium   { margin-top: 2rem; }
.mt-3        { margin-top: 1rem; }
.mb-2        { margin-bottom: 0.5rem; }
.mb-4        { margin-bottom: 2rem; }
.grid-2      { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.p-medium    { padding: 32px; }
.rounded     { border-radius: var(--radius); }
.img-fluid   { width: 100%; height: auto; }
.text-muted  { color: var(--texte-clair); font-size: 0.875rem; }
.bg-light    { background: var(--ivoire); }
.shadow      { box-shadow: var(--shadow); }

/* ===== TYPOGRAPHIE ÉDITORIALE ===== */
.chapeau {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-style: italic;
    font-weight: 400;
    color: var(--texte-clair);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 680px;
}

.encart-retenir {
    border-left: 3px solid var(--terra);
    background: var(--ivoire);
    padding: 24px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 2.5rem 0;
}
.encart-retenir strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 12px;
}

.geste-du-jour {
    background: var(--sapin);
    color: var(--lin);
    padding: 28px 32px;
    border-radius: var(--radius);
    margin: 2.5rem 0;
}
.geste-du-jour strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terra);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.geste-du-jour p { color: var(--lin); margin: 0; line-height: 1.6; }

/* ===== BOUTONS ===== */
.btn-cta {
    background: var(--terra);
    color: white;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}
.btn-cta:hover { background: #b3694d; color: white; }

.btn-primary {
    background: var(--sapin);
    color: white;
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: #1e2a1d; color: white; }

.btn-secondary {
    background: transparent;
    color: var(--sapin);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    border: 1.5px solid var(--sapin);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--sapin); color: var(--lin); }

/* ===== HEADER ===== */
header {
    background: var(--lin);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--ivoire);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--sapin);
    letter-spacing: -0.01em;
}
.logo span { color: var(--terra); }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--sapin);
    letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--terra); }

.cta-nav {
    background: var(--terra);
    color: white !important;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
}
.cta-nav:hover { background: #b3694d; color: white !important; }

/* ===== DROPDOWN ===== */
.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--fond-carte);
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(46,58,45,0.12);
    z-index: 100;
    border-radius: var(--radius);
    top: calc(100% + 8px);
    left: 0;
    padding: 8px 0;
    border: 1px solid var(--ivoire);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.875rem;
    color: var(--sapin);
}
.dropdown-menu li a:hover { background: var(--ivoire); color: var(--terra); }

/* ===== BREADCRUMBS ===== */
.breadcrumb-container { padding: 14px 0; border-bottom: 1px solid var(--ivoire); }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--texte-clair); }
.breadcrumb a { color: var(--terra); }
.breadcrumb i { width: 12px; height: 12px; color: var(--ivoire); }

/* ===== FOOTER ===== */
.footer {
    background: var(--sapin);
    color: var(--ivoire);
}

.footer-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: start;
    padding: 52px 40px 40px;
}

.footer-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--lin);
    margin-bottom: 14px;
    display: block;
}
.footer-logo span { color: var(--terra); }
.footer-brand p { color: rgba(237,232,223,0.55); font-size: 0.82rem; line-height: 1.65; margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 34px; height: 34px;
    border: 1px solid rgba(237,232,223,0.18);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ivoire);
    transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--terra); color: var(--terra); }

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.footer-col h4 {
    font-size: 0.68rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(237,232,223,0.4);
    margin-bottom: 14px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(237,232,223,0.7); font-size: 0.84rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--terra); }

.footer-bottom {
    border-top: 1px solid rgba(237,232,223,0.1);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { color: rgba(237,232,223,0.35); font-size: 0.78rem; margin: 0; }
.legal-nav { display: flex; gap: 20px; }
.legal-nav a { color: rgba(237,232,223,0.35); font-size: 0.78rem; transition: color 0.2s; }
.legal-nav a:hover { color: var(--terra); }

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--sapin); cursor: pointer; }

@media (max-width: 992px) {
    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--lin); padding: 24px var(--gutter);
        border-bottom: 1px solid var(--ivoire);
        gap: 20px;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 32px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { padding: 14px 24px; }
}

@media (max-width: 480px) {
    .footer-nav { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: 0.55s ease-out; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; }
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: white;
    margin-bottom: 1.2rem;
}
.hero p { font-size: 1.1rem; line-height: 1.7; }
@media (max-width: 768px) { .hero h1 { font-size: 2rem; } }

/* ===== CATEGORY CARDS ===== */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.cat-card {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 32px 26px;
    display: block;
    transition: border-color 0.2s;
}
.cat-card:hover { border-color: var(--terra); }
.cat-card i { color: var(--terra); width: 26px; height: 26px; margin-bottom: 16px; }
.cat-card h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--sapin);
    margin-bottom: 10px;
}
.cat-card p { font-size: 0.875rem; color: var(--texte-clair); line-height: 1.6; margin: 0; }
.cat-card a { color: var(--terra); }

/* ===== ARTICLE CARDS ===== */
.article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.article-card { background: transparent; overflow: hidden; }
.article-img { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.article-img img { width: 100%; height: 230px; object-fit: cover; transition: transform 0.45s; }
.article-card:hover .article-img img { transform: scale(1.03); }
.article-img-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(30,42,29,0.88) 0%, transparent 100%);
    padding: 52px 20px 18px;
    border-radius: 0 0 var(--radius) var(--radius);
}
.article-img-overlay .article-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terra);
    margin-bottom: 7px;
}
.article-img-overlay h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--lin);
    line-height: 1.3;
    margin: 0;
}
.article-body { padding: 16px 4px 0; }
.article-body p { font-size: 0.875rem; color: var(--texte-clair); margin-bottom: 10px; line-height: 1.65; }
.article-meta { font-size: 0.78rem; color: var(--terra); font-weight: 500; }

/* ===== SECTION TITLE ===== */
.section-title { margin-bottom: 40px; }
.section-title h2 { color: var(--sapin); }
.section-title p { color: var(--texte-clair); font-size: 1rem; margin-top: 8px; }

/* ===== CTA BOX ===== */
.cta-box {
    background: var(--ivoire);
    border-radius: var(--radius);
    padding: 60px 48px;
}
.cta-box h2 { color: var(--sapin); margin-bottom: 14px; }
.cta-box p { color: var(--texte-clair); margin-bottom: 0; }
@media (max-width: 768px) { .cta-box { padding: 40px 24px; } }

/* ===== INTRO SEO ===== */
.intro-seo h2 { margin-bottom: 20px; }
.intro-seo p { max-width: 720px; margin: 0 auto; color: var(--texte-clair); font-size: 1.05rem; line-height: 1.75; }

/* ===== RICH TEXT (intérieur pages) ===== */
.rich-text a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.rich-text a:hover { color: var(--sapin); }
.rich-text h2 {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ivoire);
}
.rich-text h3 { margin-top: 2rem; }
.rich-text p { line-height: 1.8; }
.rich-text ul li {
    padding-left: 1.4em;
    position: relative;
    margin-bottom: 0.5em;
}
.rich-text ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--terra);
    font-size: 0.85em;
}

/* ===== ARTICLE TAG (standalone) ===== */
.article-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--terra);
    padding: 3px 10px;
    border: 1px solid rgba(201,122,92,0.35);
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ===== SCORE / QUIZ COMPONENTS ===== */
.score-badge {
    display: inline-block;
    background: var(--terra);
    color: white;
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== TABLE ===== */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: var(--sapin); color: var(--lin); padding: 12px 16px; text-align: left; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; }
td { padding: 11px 16px; border-bottom: 1px solid var(--ivoire); vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--fond-carte); }
.resume-rapide { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ===== FORMULAIRE GENERIC ===== */
input, select, textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1.5px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 10px 14px;
    background: var(--fond-carte);
    color: var(--sapin);
    width: 100%;
    transition: border-color 0.2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--terra);
}
label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 500; }

/* ===== RANGE INPUT ===== */
input[type="range"] {
    -webkit-appearance: none;
    height: 4px;
    background: var(--ivoire);
    border: none;
    border-radius: 2px;
    padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    background: var(--terra);
    border-radius: 50%;
    cursor: pointer;
}

/* ===== PROGRESS BAR ===== */
.progress-bar { background: var(--ivoire); border-radius: 4px; height: 8px; overflow: hidden; }
.progress-fill { background: var(--terra); height: 100%; border-radius: 4px; transition: width 0.4s; }

/* ===== TOOL RESULT BOX ===== */
.result-box {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 32px;
    margin-top: 24px;
}
.result-box h3 { margin-bottom: 16px; }

/* ===== COMPARATOR CARDS ===== */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.comp-card {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: border-color 0.2s;
}
.comp-card:hover { border-color: var(--terra); }
.comp-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 10px;
}
.rating { color: var(--terra); font-size: 1.1rem; margin-bottom: 12px; }
.price-tag { font-size: 0.8rem; color: var(--texte-clair); margin-bottom: 14px; }
.pros-cons li { font-size: 0.85rem; color: var(--texte-clair); margin-bottom: 5px; padding-left: 1.2em; position: relative; }
.pros-cons li::before { content: '+'; position: absolute; left: 0; color: var(--terra); font-weight: 700; }
.pros-cons.cons li::before { content: '−'; }

/* ===== PAGE HERO (intérieur) ===== */
.page-hero {
    background: var(--ivoire);
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--ivoire);
}
.page-hero h1 { color: var(--sapin); margin-bottom: 16px; }
.page-hero .chapeau { color: var(--texte-clair); }

/* ===== SÉJOURS CARDS ===== */
.sejour-card {
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--fond-carte);
    transition: border-color 0.2s;
}
.sejour-card:hover { border-color: var(--terra); }
.sejour-card img { width: 100%; height: 200px; object-fit: cover; }
.sejour-info { padding: 22px; }
.sejour-info h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.15rem; margin-bottom: 8px; }
.sejour-info .meta { font-size: 0.8rem; color: var(--texte-clair); margin-bottom: 12px; }

/* ===== INTERACTIVE TOOL WRAPPER ===== */
.tool-wrapper {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 720px;
    margin: 0 auto;
}
@media (max-width: 768px) { .tool-wrapper { padding: 24px; } }

/* ===== CANVAS / CHART ===== */
canvas { max-width: 100%; height: auto !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .article-img img { height: 200px; }
    .comp-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .cat-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PILLAR PAGES (sommeil, respiration, alimentation, habitat)
============================================================ */

/* Hero image banner */
.pillar-hero {
    position: relative;
    height: 52vh;
    min-height: 320px;
    overflow: hidden;
}
.pillar-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pillar-hero__tag {
    position: absolute;
    bottom: 24px;
    left: 40px;
}
.pillar-hero__tag .article-tag {
    background: var(--lin);
    color: var(--terra);
    border-color: transparent;
    font-size: 0.75rem;
    padding: 5px 14px;
}

/* Intro block */
.pillar-intro {
    padding: 52px 0 40px;
    border-bottom: 1px solid var(--ivoire);
}
.pillar-intro h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.pillar-intro .chapeau {
    max-width: 720px;
    margin-bottom: 1.2rem;
}
.pillar-intro__meta {
    font-size: 0.82rem;
    color: var(--texte-clair);
    display: flex;
    gap: 8px;
    align-items: center;
}
.pillar-intro__sep { color: var(--terra); }

/* Main 2-col layout */
.pillar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 72px;
    align-items: start;
}

/* Article main column */
.pillar-main img {
    width: 100%;
    border-radius: var(--radius);
    margin: 2rem 0;
}
.pillar-main .rich-text ul li {
    padding-left: 1.4em;
    position: relative;
    margin-bottom: 0.6em;
}
.pillar-main .rich-text ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--terra);
}

/* Sidebar */
.pillar-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-widget {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 22px 20px;
}
.sidebar-widget__title {
    font-size: 0.68rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--texte-clair);
    margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 0; }
.sidebar-links li { border-bottom: 1px solid var(--ivoire); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links li a {
    display: block;
    padding: 9px 0;
    font-size: 0.875rem;
    color: var(--sapin);
    transition: color 0.2s;
}
.sidebar-links li a:hover { color: var(--terra); }

.sidebar-cta {
    background: var(--sapin);
    border-radius: var(--radius);
    padding: 24px 20px;
}
.sidebar-cta__label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--terra);
    margin-bottom: 8px;
}
.sidebar-cta__text {
    font-size: 0.88rem;
    color: rgba(247,243,236,0.75);
    line-height: 1.55;
    margin-bottom: 18px;
}

/* CTA centered */
.pillar-cta {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.pillar-cta h2 { margin-bottom: 1rem; }
.pillar-cta p { color: var(--texte-clair); margin-bottom: 2rem; }

/* Related pages grid */
.pillar-related__title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 32px;
}
.pillar-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.pillar-related__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: border-color 0.2s;
}
.pillar-related__card:hover { border-color: var(--terra); }
.pillar-related__icon {
    flex-shrink: 0;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--ivoire);
    display: flex; align-items: center; justify-content: center;
    color: var(--terra);
}
.pillar-related__icon i { width: 18px; height: 18px; }
.pillar-related__card h4 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--sapin);
}
.pillar-related__card p {
    font-size: 0.82rem;
    color: var(--texte-clair);
    line-height: 1.55;
    margin: 0;
}

/* Alimentation IG grid */
.alim-ig-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 2rem 0;
}
.alim-ig-card {
    border-radius: var(--radius);
    padding: 24px 22px;
}
.alim-ig-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 14px;
}
.alim-ig-card ul li {
    font-size: 0.875rem;
    color: var(--texte-clair);
    margin-bottom: 7px;
    padding-left: 1.2em;
    position: relative;
}
.alim-ig-card ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    font-size: 0.8em;
}
.alim-ig-card--low {
    background: #f0f5ef;
    border-left: 3px solid #6a9e68;
}
.alim-ig-card--low h4 { color: #4a7a48; }
.alim-ig-card--low ul li::before { color: #6a9e68; }
.alim-ig-card--high {
    background: #fdf3ef;
    border-left: 3px solid var(--terra);
}
.alim-ig-card--high h4 { color: var(--terra); }
.alim-ig-card--high ul li::before { color: var(--terra); }
@media (max-width: 640px) {
    .alim-ig-grid { grid-template-columns: 1fr; }
}

/* Pillar responsive */
@media (max-width: 1024px) {
    .pillar-layout { grid-template-columns: 1fr; gap: 48px; }
    .pillar-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .sidebar-widget { flex: 1; min-width: 220px; }
    .sidebar-cta { flex: 1; min-width: 220px; }
}
@media (max-width: 768px) {
    .pillar-hero { height: 40vw; min-height: 240px; }
    .pillar-hero__tag { left: 20px; bottom: 16px; }
    .pillar-sidebar { flex-direction: column; }
}

/* ============================================================
   PILLAR PAGES — FULL WIDTH OVERRIDE
============================================================ */
.pillar-intro .container,
.pillar-container {
    max-width: none;
}

/* ============================================================
   HOME — FULL WIDTH OVERRIDE
============================================================ */
.home-manifeste .container,
.home-piliers .container,
.home-articles .container,
.home-outils .container,
.home-seo .container,
.home-cta .container {
    max-width: none;
}

/* ============================================================
   HOME — HERO
============================================================ */
.home-hero {
    display: grid;
    grid-template-columns: 58fr 42fr;
    min-height: 72vh;
    overflow: hidden;
}

.home-hero__img {
    position: relative;
    overflow: hidden;
}
.home-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px 80px 56px;
    max-width: none;
    margin: 0;
}

.home-hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terra);
    margin-bottom: 22px;
}

.home-hero__title {
    font-size: clamp(2.8rem, 4.2vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1.6rem;
}

.home-hero__chapeau {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--texte-clair);
    max-width: 400px;
    margin-bottom: 2.5rem;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.home-hero__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sapin);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.home-hero__link:hover { color: var(--terra); }

/* ============================================================
   HOME — MANIFESTE
============================================================ */
.home-manifeste {
    padding: 96px 0;
    border-bottom: 1px solid var(--ivoire);
}

.home-manifeste__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home-manifeste__item {
    padding: 0 56px 0 0;
    border-right: 1px solid var(--ivoire);
}
.home-manifeste__item:nth-child(2) {
    padding: 0 56px;
}
.home-manifeste__item:last-child {
    border-right: none;
    padding: 0 0 0 56px;
}

.home-manifeste__num {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--terra);
    margin-bottom: 20px;
}

.home-manifeste__item h3 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    margin-bottom: 16px;
}

.home-manifeste__item p {
    font-size: 0.9rem;
    color: var(--texte-clair);
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   HOME — PILIERS
============================================================ */
.home-piliers__header {
    margin-bottom: 56px;
}
.home-piliers__label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terra);
    margin-bottom: 14px;
}
.home-piliers__header h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    margin: 0;
}

.home-piliers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.home-pilier {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    transition: border-color 0.25s, transform 0.3s;
    text-decoration: none;
}
.home-pilier:hover {
    border-color: var(--terra);
    transform: translateY(-4px);
}

.home-pilier__img {
    overflow: hidden;
    flex-shrink: 0;
}
.home-pilier__img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.55s ease;
    display: block;
}
.home-pilier:hover .home-pilier__img img {
    transform: scale(1.04);
}

.home-pilier__body {
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
}
.home-pilier__body h3 {
    font-size: 1.3rem;
    margin-top: 10px;
    margin-bottom: 10px;
}
.home-pilier__body > p {
    font-size: 0.875rem;
    color: var(--texte-clair);
    line-height: 1.65;
    margin-bottom: 18px;
}
.home-pilier__cta {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--terra);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* ============================================================
   HOME — ARTICLES
============================================================ */
.home-articles__header {
    margin-bottom: 48px;
}
.home-articles__header h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0;
}

/* ============================================================
   HOME — OUTILS
============================================================ */
.home-outils__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.home-outils__text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 1.2rem;
}

.home-outils__desc {
    font-size: 0.95rem;
    color: var(--texte-clair);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.home-outils__list {
    display: flex;
    flex-direction: column;
}

.home-outil-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ivoire);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sapin);
    transition: color 0.2s;
}
.home-outil-item:first-child {
    border-top: 1px solid var(--ivoire);
}
.home-outil-item:hover { color: var(--terra); }

.home-outils__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-outils__card-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 360px;
}

.home-outils__card-item {
    background: var(--fond-carte);
    border: 1px solid var(--ivoire);
    border-radius: var(--radius);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.home-outils__card-item--alt {
    background: var(--sapin);
    border-color: var(--sapin);
}
.home-outils__card-item--alt p {
    color: rgba(247,243,236,0.65);
}
.home-outils__card-item--alt .home-outils__score {
    color: var(--terra);
}

.home-outils__score {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--sapin);
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.home-outils__score small {
    font-size: 0.95rem;
    color: var(--texte-clair);
}

.home-outils__card-item p {
    font-size: 0.82rem;
    color: var(--texte-clair);
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   HOME — SEO
============================================================ */
.home-seo__inner {
    max-width: 920px;
    margin: 0 auto;
}
.home-seo__inner h2 {
    text-align: center;
    margin-bottom: 40px;
}
.home-seo__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.home-seo__cols p {
    font-size: 0.95rem;
    color: var(--texte-clair);
    line-height: 1.8;
    margin: 0;
}
.home-seo__cols a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   HOME — CTA FINAL
============================================================ */
.home-cta__inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.home-cta__inner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.2rem;
}
.home-cta__inner > p {
    color: var(--texte-clair);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}
.home-cta__inner > p a { color: var(--terra); text-decoration: underline; text-underline-offset: 3px; }
.home-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   HOME — RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .home-outils__inner { gap: 48px; }
}

@media (max-width: 992px) {
    .home-hero { grid-template-columns: 1fr; min-height: auto; }
    .home-hero__img { height: 55vw; max-height: 520px; }
    .home-hero__img img { height: 100%; width: 100%; }
    .home-hero__content { padding: 56px 40px; }

    .home-manifeste { padding: 64px 0; }
    .home-manifeste__grid { grid-template-columns: 1fr; }
    .home-manifeste__item { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--ivoire); }
    .home-manifeste__item:nth-child(2) { padding: 32px 0; }
    .home-manifeste__item:last-child { padding: 32px 0 0; border-bottom: none; }

    .home-piliers__grid { grid-template-columns: 1fr; }

    .home-outils__inner { grid-template-columns: 1fr; }
    .home-outils__visual { display: none; }

    .home-seo__cols { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 768px) {
    .home-hero__content { padding: 40px 24px; }
    .home-pilier__img img { height: 220px; }
    .home-cta__inner h2 { font-size: 2rem; }
}
