/* ═══════════════════════════════════════════
   LE LABO DE MAX — Global Stylesheet
   ═══════════════════════════════════════════ */

:root {
    --bg: #FAFAF8;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-muted: #7A7A7A;
    --accent: #2B5E4A;
    --accent-light: #E8F0EC;
    --accent-hover: #1E4435;
    --border: #E5E5E0;
    --border-light: #F0F0EC;
    --cta-bg: #2B5E4A;
    --cta-hover: #1E4435;
    --star: #D4A843;
    --red-soft: #C0392B;
    --green-check: #27AE60;
    --serif: 'Source Serif 4', Georgia, serif;
    --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.site-header { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.site-header .inner { max-width: 980px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.site-logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--text-primary); text-decoration: none; letter-spacing: -0.3px; }
.site-logo span { color: var(--accent); }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--text-secondary); text-decoration: none; transition: color 0.2s; }
.site-nav a:hover { color: var(--accent); }

/* ── CONTAINERS ── */
.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ── HERO (article) ── */
.hero { padding: 48px 0 0; }
.hero-category { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); background: var(--accent-light); padding: 5px 12px; border-radius: 4px; margin-bottom: 20px; }
.hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 42px); font-weight: 700; line-height: 1.2; color: var(--text-primary); margin-bottom: 24px; letter-spacing: -0.5px; }
.hero-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.author-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-light), #d1ddd6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.author-info { font-size: 14px; }
.author-name { font-weight: 600; color: var(--text-primary); }
.author-date { color: var(--text-muted); margin-top: 2px; }

/* ── PROMO BANNER ── */
.promo-banner { margin-top: 28px; }
.promo-banner-inner { background: var(--accent); color: #fff; padding: 20px 28px; border-radius: 10px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.promo-text { font-size: 15px; line-height: 1.5; }
.promo-text strong { font-size: 20px; display: block; margin-bottom: 2px; }
.promo-badge { font-size: 12px; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 4px; display: inline-block; margin-top: 6px; }
.promo-cta { display: inline-block; background: #fff; color: var(--accent); font-weight: 700; font-size: 15px; padding: 12px 28px; border-radius: 8px; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.promo-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* ── ARTICLE BODY ── */
.article { padding: 40px 0; }
.article p { margin-bottom: 20px; color: var(--text-secondary); }
.article p.lead { font-size: 19px; line-height: 1.75; color: var(--text-primary); }
.article h2 { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--text-primary); margin: 48px 0 18px; line-height: 1.3; letter-spacing: -0.3px; }
.article h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 32px 0 12px; }
.article strong { color: var(--text-primary); }
.article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ── HIGHLIGHT BOX ── */
.highlight-box { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 22px 26px; border-radius: 0 8px 8px 0; margin: 28px 0; }
.highlight-box p { margin-bottom: 0; color: var(--text-primary); font-size: 16px; }
.highlight-box strong { color: var(--accent-hover); }

/* ── METRICS ── */
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 24px 20px; text-align: center; }
.metric-value { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.metric-label { font-size: 13px; color: var(--text-muted); margin-top: 8px; line-height: 1.4; }

/* ── TABLES ── */
.table-wrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--accent); color: #fff; }
th { padding: 14px 16px; text-align: left; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
td { padding: 14px 16px; border-top: 1px solid var(--border-light); color: var(--text-secondary); }
tbody tr:nth-child(even) { background: #FAFAF8; }
tbody tr:hover { background: var(--accent-light); }
.result-positive { color: var(--green-check); font-weight: 600; }
.comparison-table thead { background: var(--text-primary); }
.comparison-table th { text-align: center; font-size: 14px; }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { text-align: center; font-size: 15px; }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.comparison-table .winner-col { background: var(--accent-light); }
.comparison-table .winner-col strong { color: var(--accent); }
.check { color: var(--green-check); font-weight: 700; }
.cross { color: var(--red-soft); font-weight: 700; }

/* ── VERDICT ── */
.verdict-box { background: var(--bg-card); border: 2px solid var(--accent); border-radius: 12px; padding: 32px; margin: 40px 0; }
.verdict-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.verdict-score { background: var(--accent); color: #fff; font-family: var(--serif); font-size: 28px; font-weight: 700; width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.verdict-title { font-family: var(--serif); font-size: 22px; font-weight: 700; }
.verdict-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.verdict-pros li, .verdict-cons li { list-style: none; padding: 6px 0 6px 24px; position: relative; font-size: 15px; }
.verdict-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--green-check); font-weight: 700; }
.verdict-cons li::before { content: "✗"; position: absolute; left: 0; color: var(--red-soft); font-weight: 700; }
.verdict-label { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.verdict-label.pro { color: var(--green-check); }
.verdict-label.con { color: var(--red-soft); }

/* ── CTA ── */
.cta-section { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); border-radius: 14px; padding: 44px 36px; text-align: center; color: #fff; margin: 48px 0; }
.cta-section h2 { font-family: var(--serif); font-size: 28px; color: #fff; margin: 0 0 12px; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 16px; }
.cta-button { display: inline-block; background: #fff; color: var(--accent); font-weight: 700; font-size: 17px; padding: 16px 40px; border-radius: 10px; text-decoration: none; transition: all 0.25s; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }
.cta-sub { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 14px; }

/* ── FAQ ── */
.faq { margin: 48px 0; }
.faq h2 { margin-bottom: 24px; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; background: var(--bg-card); }
.faq-question { width: 100%; background: none; border: none; padding: 20px 24px; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--text-primary); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question:hover { background: var(--accent-light); }
.faq-question .icon { font-size: 20px; transition: transform 0.3s; color: var(--accent); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; color: var(--text-secondary); margin: 0; }

/* ── TRUST BAR ── */
.trust-bar { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; margin: 36px 0; }
.trust-item { text-align: center; }
.trust-value { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--accent); }
.trust-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stars { color: var(--star); font-size: 18px; letter-spacing: 2px; }

/* ── STEPS ── */
.protocol-steps { margin: 28px 0; }
.step { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--border-light); }
.step:last-child { border-bottom: none; }
.step-number { width: 44px; height: 44px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.step-content h3 { margin: 0 0 6px; font-size: 17px; }
.step-content p { margin: 0; font-size: 15px; }

/* ── BEFORE/AFTER ── */
.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
.ba-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.ba-placeholder { height: 200px; background: linear-gradient(135deg, #e8e8e4, #d8d8d4); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-style: italic; }
.ba-caption { padding: 14px 16px; font-size: 14px; color: var(--text-secondary); text-align: center; }
.ba-caption strong { color: var(--text-primary); }

/* ── AUTHOR BIO ── */
.author-bio { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 40px; }
.author-bio .author-avatar { width: 64px; height: 64px; font-size: 24px; }
.author-bio-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.author-bio-role { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.author-bio p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.65; }

/* ── DISCLAIMER ── */
.disclaimer { padding: 0 0 48px; }
.disclaimer-inner { border-top: 1px solid var(--border); padding-top: 28px; }
.disclaimer-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ── FOOTER ── */
.site-footer { background: var(--text-primary); color: rgba(255,255,255,0.5); padding: 40px 24px; text-align: center; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }

/* ══════════ HOMEPAGE ══════════ */
.home-hero { padding: 72px 0 56px; text-align: center; border-bottom: 1px solid var(--border); }
.home-hero h1 { font-family: var(--serif); font-size: clamp(32px, 5.5vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; }
.home-hero p { font-size: 18px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; line-height: 1.65; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; padding: 48px 0 64px; }
.article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.card-image { height: 200px; background: linear-gradient(135deg, var(--accent-light), #d1ddd6); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.card-body { padding: 24px; }
.card-category { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 10px; }
.card-title { font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; color: var(--text-primary); }
.card-excerpt { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
.card-meta { font-size: 13px; color: var(--text-muted); }
.home-about { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; }
.about-inner { display: flex; gap: 32px; align-items: center; max-width: 780px; margin: 0 auto; padding: 0 24px; }
.about-avatar { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-light), #d1ddd6); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 36px; color: var(--accent); flex-shrink: 0; }
.about-text h2 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.about-text p { font-size: 15px; color: var(--text-secondary); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .verdict-grid { grid-template-columns: 1fr; }
    .before-after-grid { grid-template-columns: 1fr; }
    .promo-banner-inner { flex-direction: column; text-align: center; }
    .trust-bar { flex-direction: column; gap: 20px; }
    .site-nav { display: none; }
    .cta-section { padding: 32px 24px; }
    .articles-grid { grid-template-columns: 1fr; }
    .about-inner { flex-direction: column; text-align: center; }
    .author-bio { flex-direction: column; align-items: center; text-align: center; }
}
