/* =====================================================
   FUELYOURDNA — DESIGN SYSTEM v2
   Thème Santé · Nature · Boost ADN
   Inspiré de Happy Living Nutrition
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Space+Mono:wght@400;700&display=swap');

:root {
    --white: #FFFFFF;
    --bg: #F7FAF7;
    --bg-alt: #EEF5EF;
    --bg-deep: #1C2B1E;
    --surface: #FFFFFF;
    --forest: #2D6A4F;
    --forest-dark: #1B4332;
    --forest-light: #52B788;
    --sage: #74C69D;
    --sage-light: #B7E4C7;
    --sage-pale: #D8F3DC;
    --teal: #0F766E;
    --teal-bright: #14B8A6;
    --teal-light: #CCFBF1;
    --amber: #D97706;
    --amber-bright: #F59E0B;
    --amber-light: #FEF3C7;
    --purple: #6D28D9;
    --purple-mid: #7C3AED;
    --purple-light: #EDE9FE;
    --success: #059669;
    --error: #DC2626;
    --text: #1A2E1A;
    --text-soft: #3D5A3E;
    --text-muted: #6B7F6C;
    --text-light: #9BAD9C;
    --text-on-dark: #F0FAF0;
    --border: #D1E8D3;
    --border-soft: #E8F4EA;
    --border-dark: #A8C5AB;
    --grad-primary: linear-gradient(135deg, #2D6A4F 0%, #14B8A6 100%);
    --grad-energy: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --grad-dna: linear-gradient(135deg, #14B8A6 0%, #7C3AED 100%);
    --grad-hero: linear-gradient(160deg, #1B4332 0%, #2D6A4F 45%, #0F766E 100%);
    --grad-boost: linear-gradient(135deg, #2D6A4F 0%, #14B8A6 45%, #F59E0B 100%);
    --shadow-sm: 0 1px 3px rgba(29,74,33,.08);
    --shadow: 0 4px 12px rgba(29,74,33,.10);
    --shadow-md: 0 8px 24px rgba(29,74,33,.12);
    --shadow-lg: 0 20px 48px rgba(29,74,33,.14);
    --shadow-xl: 0 32px 64px rgba(29,74,33,.16);
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-mono: 'Space Mono', monospace;
    --nav-h: 72px;
    --radius-sm: 6px;
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --ease: cubic-bezier(.4,0,.2,1);
    --t: 250ms;
    --t-fast: 150ms;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--nav-h)
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--t) var(--ease)
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text)
}

/* ── Dark/dark-gradient sections: force white text on all children ───────── */
.ft-hero h1, .ft-hero h2, .ft-hero h3, .ft-hero h4,
.ft-hero p, .ft-hero span, .ft-hero div,
.cta-banner h1, .cta-banner h2, .cta-banner h3, .cta-banner h4,
.cta-banner p, .cta-banner span,
.dna-cta h1, .dna-cta h2, .dna-cta h3, .dna-cta h4,
.dna-cta p, .dna-cta span,
.dna-cta-card h1, .dna-cta-card h2, .dna-cta-card h3, .dna-cta-card h4,
.dna-cta-card p, .dna-cta-card span,
.article-hero h1, .article-hero h2, .article-hero h3,
.article-hero p, .article-hero span,
[class*="dark-"] h1, [class*="dark-"] h2, [class*="dark-"] h3,
[class*="dark-"] h4, [class*="dark-"] p {
    color: inherit;
}

/* Ensure sections with dark backgrounds pass color down */
.ft-hero, .cta-banner, .dna-cta, .dna-cta-card,
.article-hero, [class*="legal-hero"] {
    color: #fff;
}


h1 {
    font-size: clamp(2.25rem,5vw,3.75rem)
}

h2 {
    font-size: clamp(1.75rem,3.5vw,2.75rem)
}

h3 {
    font-size: clamp(1.2rem,2vw,1.5rem)
}

.gradient-text {
    background: var(--grad-dna);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.gradient-text-energy {
    background: var(--grad-energy);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.container {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(1rem,4vw,2.5rem)
}

.section {
    padding-block: clamp(4rem,8vw,7rem)
}

.section--alt {
    background: var(--bg-alt)
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: clamp(2.5rem,5vw,4rem)
}

    .section-header h2 {
        margin-bottom: 1rem
    }

    .section-header p {
        color: var(--text-soft);
        font-size: 1.1rem
    }

/* Eyebrow */
.section-tag, .hero-badge, .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--forest);
    background: var(--sage-pale);
    border: 1px solid var(--sage-light);
    padding: .35rem .9rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.25rem
}

    .section-tag.teal, .eyebrow.teal {
        color: var(--teal);
        background: var(--teal-light);
        border-color: #99F6E4
    }

    .section-tag.amber, .eyebrow.amber {
        color: var(--amber);
        background: var(--amber-light);
        border-color: #FDE68A
    }

    .section-tag.purple, .eyebrow.purple {
        color: var(--purple);
        background: var(--purple-light);
        border-color: #C4B5FD
    }

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-teal, .btn-gradient, .btn-white, .btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: .95rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    transition: all var(--t) var(--ease);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest)
}

    .btn-primary:hover {
        background: var(--forest-dark);
        border-color: var(--forest-dark);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(45,106,79,.35);
        color: var(--white)
    }

.btn-secondary, .btn-outline {
    background: transparent;
    color: var(--forest);
    border-color: var(--border-dark)
}

    .btn-secondary:hover, .btn-outline:hover {
        background: var(--sage-pale);
        border-color: var(--forest);
        color: var(--forest-dark)
    }

.btn-teal {
    background: var(--teal-bright);
    color: var(--white);
    border-color: var(--teal-bright)
}

    .btn-teal:hover {
        background: var(--teal);
        border-color: var(--teal);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(20,184,166,.35);
        color: var(--white)
    }

.btn-gradient {
    background: var(--grad-boost);
    color: var(--white);
    border-color: transparent
}

    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(45,106,79,.4);
        filter: brightness(1.08);
        color: var(--white)
    }

.btn-white {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white)
}

    .btn-white:hover {
        background: var(--sage-pale);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
        color: var(--forest-dark)
    }

.btn-glass {
    background: rgba(255,255,255,.12);
    color: var(--white);
    border-color: rgba(255,255,255,.25)
}

    .btn-glass:hover {
        background: rgba(255,255,255,.2);
        transform: translateY(-1px);
        color: var(--white)
    }

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem
}

.btn[data-loading="true"] {
    opacity: .7;
    pointer-events: none
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    background: rgba(247,250,247,.92);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid var(--border-soft);
    transition: background var(--t) var(--ease),box-shadow var(--t) var(--ease)
}

    .navbar.scrolled {
        background: rgba(247,250,247,.98);
        box-shadow: var(--shadow-sm)
    }

.nav-container {
    height: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: clamp(1rem,4vw,2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: .625rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text);
    flex-shrink: 0;
    text-decoration: none
}

    .nav-logo img {
        height: 40px;
        width: 40px;
        object-fit: contain
    }

    .nav-logo .logo-fuel {
        color: var(--forest-dark)
    }

    .nav-logo .logo-your {
        color: var(--teal)
    }

    .nav-logo .logo-dna {
        color: var(--purple-mid)
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none
}

    .nav-links a, .nav-links li a {
        font-size: .88rem;
        font-weight: 500;
        color: var(--text-soft);
        padding: .4rem .85rem;
        border-radius: var(--radius-sm);
        transition: color var(--t-fast) var(--ease),background var(--t-fast) var(--ease);
        text-decoration: none;
        white-space: nowrap
    }

        .nav-links a:hover, .nav-links li a:hover, .nav-links a.active {
            color: var(--forest);
            background: var(--sage-pale)
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0
}

    .nav-actions .btn-secondary, .nav-actions .btn-primary {
        padding: .55rem 1.25rem;
        font-size: .88rem
    }

/* ── Burger button (Razor pages) — hidden on desktop ────── */
.nav-toggle, .nav-mobile-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .5rem;
    cursor: pointer
}
    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: transform var(--t) var(--ease),opacity var(--t) var(--ease)
    }

/* Legacy mobile-menu — kept for backwards compat on pages that still use it */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: .5rem;
    overflow-y: auto
}
    .mobile-menu a {
        font-size: 1.1rem;
        font-weight: 500;
        padding: .85rem 1rem;
        border-radius: var(--radius);
        color: var(--text-soft)
    }
        .mobile-menu a:hover { background: var(--sage-pale); color: var(--forest) }
    .mobile-menu.open { display: flex }

@media(max-width:900px) {
    .nav-links, .nav-actions { display: none }
    .nav-toggle, .nav-mobile-btn { display: flex }
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-block: clamp(3rem,6vw,5rem)
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 70% 60% at 60% 50%,rgba(20,184,166,.06) 0%,transparent 70%),radial-gradient(ellipse 50% 70% at 20% 80%,rgba(45,106,79,.05) 0%,transparent 70%);
        pointer-events: none
    }

.hero-bg, .gradient-orb {
    display: none
}

.hero .container {
    position: relative;
    z-index: 1
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.hero-text h1 {
    font-size: clamp(2.4rem,5.5vw,4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 1.5rem
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap
}

.stat {
    display: flex;
    flex-direction: column
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--forest);
    line-height: 1
}

.stat-label {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: .15rem
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border)
}

/* Hero visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center
}

.dna-helix {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 420px
}

    .dna-helix::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--grad-boost)
    }

.dna-svg {
    max-width: 100%;
    height: auto
}

@media(max-width:900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center
    }

    .hero-description {
        margin-inline: auto
    }

    .hero-buttons {
        justify-content: center
    }

    .hero-stats {
        justify-content: center
    }

    .hero-visual {
        display: none
    }
}

/* Stats bar */
.stats-bar {
    background: var(--forest);
    color: var(--white);
    padding-block: 2.5rem
}

    .stats-bar .container {
        display: flex;
        justify-content: space-around;
        gap: 2rem;
        flex-wrap: wrap
    }

    .stats-bar .stat {
        text-align: center
    }

    .stats-bar .stat-number {
        color: var(--sage);
        font-size: 2.5rem
    }

    .stats-bar .stat-label {
        color: rgba(240,250,240,.75)
    }

    .stats-bar .stat-divider {
        background: rgba(255,255,255,.15)
    }

/* Explore section */
.explore-dna {
    padding-block: clamp(4rem,8vw,7rem);
    background: var(--bg-alt);
    position: relative;
    overflow: hidden
}

.explore-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center
}

.explore-text h2 {
    margin-bottom: 1.25rem
}

.explore-text .lead {
    font-size: 1.1rem;
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.5rem
}

.explore-text p {
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 1.25rem
}

.explore-text .highlight {
    background: var(--grad-dna);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.ancestry-visual {
    position: relative
}

.ancestry-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden
}

    .ancestry-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--grad-primary)
    }

@media(max-width:900px) {
    .explore-content {
        grid-template-columns: 1fr
    }
}

/* Benefits */
.benefits {
    padding-block: clamp(4rem,8vw,7rem)
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 1.5rem
}

.benefit-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t) var(--ease),transform var(--t) var(--ease)
}

    .benefit-card:hover {
        box-shadow: var(--shadow-lg);
        transform: translateY(-4px)
    }

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--sage-pale)
}

.benefit-card h3 {
    margin-bottom: .5rem;
    font-size: 1.1rem
}

.benefit-card p {
    color: var(--text-soft);
    font-size: .92rem
}

/* DNA quote */
.dna-quote {
    background: var(--grad-hero);
    padding-block: clamp(3rem,6vw,5rem);
    text-align: center
}

    .dna-quote blockquote, .dna-quote p {
        font-family: var(--font-serif);
        font-size: clamp(1.4rem,3vw,2rem);
        font-style: italic;
        color: var(--white);
        max-width: 760px;
        margin-inline: auto;
        line-height: 1.6;
        opacity: .95
    }

/* Features */
.features {
    padding-block: clamp(4rem,8vw,7rem);
    background: var(--bg-alt)
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 1.5rem
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t) var(--ease),transform var(--t) var(--ease),border-color var(--t) var(--ease)
}

    .feature-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
        border-color: var(--border)
    }

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: var(--teal-light);
    color: var(--teal);
    font-size: 1.4rem
}

.feature-card h3 {
    margin-bottom: .5rem;
    font-size: 1.05rem
}

.feature-card p {
    color: var(--text-soft);
    font-size: .9rem
}

/* How it works */
.how-it-works {
    padding-block: clamp(4rem,8vw,7rem)
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem
}

.step-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t) var(--ease),transform var(--t) var(--ease)
}

    .step-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px)
    }

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 16px rgba(45,106,79,.3)
}

.step-card h3 {
    margin-bottom: .5rem;
    font-size: 1.1rem
}

.step-card p {
    color: var(--text-soft);
    font-size: .9rem
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

@media(max-width:768px) {
    .steps-grid {
        grid-template-columns: 1fr
    }
}

/* CTA */
.cta-banner {
    background: var(--grad-hero);
    padding-block: clamp(3rem,7vw,6rem);
    text-align: center
}

    .cta-banner h2 {
        color: var(--white);
        margin-bottom: 1rem
    }

    .cta-banner p {
        color: rgba(240,250,240,.8);
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        max-width: 540px;
        margin-inline: auto
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap
}

/* Blog */
.blog-preview {
    padding-block: clamp(4rem,8vw,7rem);
    background: var(--bg-alt)
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 1.5rem
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t) var(--ease),transform var(--t) var(--ease)
}

    .blog-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-3px)
    }

.blog-card-image {
    height: 180px;
    background: var(--bg-alt);
    overflow: hidden
}

    .blog-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.blog-card-body {
    padding: 1.5rem
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--forest);
    background: var(--sage-pale);
    border: 1px solid var(--sage-light);
    padding: .2rem .6rem;
    border-radius: var(--radius-full);
    margin-bottom: .75rem
}

.blog-card-body h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
    color: var(--text)
}

.blog-card-body p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.6
}

.blog-card-meta {
    font-size: .78rem;
    color: var(--text-light);
    margin-top: 1rem
}

.read-more {
    color: var(--teal);
    font-weight: 600;
    font-size: .88rem;
    margin-top: .75rem;
    display: inline-flex;
    align-items: center;
    gap: .25rem
}

    .read-more:hover {
        color: var(--forest)
    }

/* Footer */
.footer {
    background: var(--bg-deep);
    color: var(--text-on-dark);
    padding-top: 4rem;
    padding-bottom: 2rem
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem
}

.footer-brand p {
    font-size: .9rem;
    color: rgba(240,250,240,.6);
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 300px
}

.footer-links h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.25rem
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem
}

.footer-links a {
    font-size: .88rem;
    color: rgba(240,250,240,.6);
    transition: color var(--t-fast)
}

    .footer-links a:hover {
        color: var(--sage-light)
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .82rem;
    color: rgba(240,250,240,.4)
}

@media(max-width:768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

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

/* Cookie */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: var(--bg-deep);
    color: var(--text-on-dark);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 9000;
    border: 1px solid rgba(255,255,255,.08);
    max-width: 800px;
    margin-inline: auto
}

    .cookie-banner p {
        font-size: .85rem;
        color: rgba(240,250,240,.75)
    }

    .cookie-banner a {
        color: var(--sage);
        text-decoration: underline
    }

.cookie-buttons {
    display: flex;
    gap: .75rem;
    flex-shrink: 0
}

.cookie-accept {
    background: var(--forest);
    color: var(--white);
    border: none;
    padding: .6rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer
}

.cookie-decline {
    background: rgba(255,255,255,.08);
    color: rgba(240,250,240,.7);
    border: none;
    padding: .6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: .85rem;
    cursor: pointer
}

/* Utils */
.text-center {
    text-align: center
}

.hidden {
    display: none !important
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .75rem;
    border-radius: var(--radius-full);
    border: 1px solid transparent
}

.badge-forest {
    background: var(--sage-pale);
    color: var(--forest);
    border-color: var(--sage-light)
}

.badge-teal {
    background: var(--teal-light);
    color: var(--teal);
    border-color: #99F6E4
}

.badge-amber {
    background: var(--amber-light);
    color: var(--amber);
    border-color: #FDE68A
}

.badge-purple {
    background: var(--purple-light);
    color: var(--purple-mid);
    border-color: #C4B5FD
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes pulse {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: .5
    }
}

.pulse-1 {
    animation: pulse 2s ease-in-out infinite
}

.pulse-2 {
    animation: pulse 2s ease-in-out infinite .67s
}

.pulse-3 {
    animation: pulse 2s ease-in-out infinite 1.34s
}

/* ── Pricing cards (used in index + pricing page) ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
    align-items: stretch
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    transition: all var(--t) var(--ease);
    display: flex;
    flex-direction: column
}

    .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg)
    }

    .pricing-card.featured {
        border-color: var(--teal-bright);
        box-shadow: 0 0 0 1px var(--teal-bright),var(--shadow-md)
    }

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal-bright);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: .3rem 1.25rem;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: .06em;
    text-transform: uppercase
}

.pricing-plan {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .75rem
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: .25rem;
    margin-bottom: .5rem
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text)
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--text)
}

.pricing-desc {
    color: var(--text-soft);
    font-size: .9rem;
    margin-bottom: 1.75rem
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.75rem;
    font-size: .88rem;
    color: var(--text-soft);
    flex: 1
}

@media(max-width:900px) {
    .pricing-grid {
        grid-template-columns: 1fr
    }
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm)
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--text-soft);
    line-height: 1.75
}

    .testimonial-quote::before {
        content: '"';
        color: var(--sage);
        font-size: 2rem;
        line-height: 0;
        vertical-align: -.5em;
        margin-right: .25rem
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0
}

.testimonial-name {
    font-weight: 700;
    font-size: .88rem;
    color: var(--text)
}

.testimonial-detail {
    font-size: .78rem;
    color: var(--text-muted)
}

.stars {
    color: var(--amber-bright);
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: .5rem
}

/* Amber button */
.btn-amber {
    background: var(--amber);
    color: var(--white);
    border-color: var(--amber)
}

    .btn-amber:hover {
        background: #B45309;
        border-color: #B45309;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(217,119,6,.35);
        color: var(--white)
    }

/* Section tag grid fix */
@media(max-width:768px) {
    .testimonial-card ~ .testimonial-card ~ .testimonial-card {
        display: none
    }

    [style*="grid-template-columns:repeat(3"] {
        grid-template-columns: 1fr !important
    }

    [style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important
    }
}

/* =====================================================
   LEGAL PAGES — Cookies, Privacy, Terms, GDPR, Notice
   ===================================================== */

.legal-hero {
    background: var(--bg-alt,#eef5ef);
    padding: clamp(3rem,6vw,5rem) 0 2.5rem;
    border-bottom: 1px solid var(--border-soft,#e8f4ea);
}

.legal-hero h1 {
    font-size: clamp(2rem,4vw,3rem);
    font-weight: 800;
    color: var(--forest,#2d6a4f);
    margin-bottom: .5rem;
}

.legal-hero p {
    color: var(--text-muted,#6b7f6c);
    font-size: .9rem;
}

.legal-content {
    padding: clamp(2.5rem,5vw,4rem) 0;
}

.legal-article {
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-article h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forest,#2d6a4f);
    margin: 2.5rem 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid var(--sage-pale,#d8f3dc);
}

.legal-article h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--forest,#2d6a4f);
    margin: 1.75rem 0 .5rem;
}

.legal-article p {
    color: var(--text-soft,#3d5a3e);
    margin-bottom: 1rem;
}

.legal-article ul,
.legal-article ol {
    color: var(--text-soft,#3d5a3e);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-article li {
    margin-bottom: .4rem;
}

.legal-article a {
    color: var(--teal,#0f766e);
    text-decoration: underline;
}

.legal-article a:hover {
    color: var(--teal-bright,#14b8a6);
}

.legal-article strong {
    color: var(--text,#1a2e1a);
    font-weight: 600;
}

.legal-article blockquote {
    border-left: 4px solid var(--teal-bright,#14b8a6);
    margin: 1.5rem 0;
    padding: .75rem 1.25rem;
    background: var(--sage-pale,#d8f3dc);
    border-radius: 0 8px 8px 0;
    color: var(--forest,#2d6a4f);
    font-style: italic;
}

/* Cookie/Privacy tables */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: .9rem;
}

.cookie-table th {
    background: var(--sage-pale,#d8f3dc);
    color: var(--forest,#2d6a4f);
    font-weight: 600;
    padding: .65rem 1rem;
    text-align: left;
    border: 1px solid var(--border,#d1e8d3);
}

.cookie-table td {
    padding: .6rem 1rem;
    border: 1px solid var(--border-soft,#e8f4ea);
    color: var(--text-soft,#3d5a3e);
    vertical-align: top;
}

.cookie-table tr:nth-child(even) td {
    background: var(--bg-alt,#eef5ef);
}

.cookie-table code {
    background: var(--teal-light,#ccfbf1);
    color: var(--teal,#0f766e);
    padding: .15em .4em;
    border-radius: 4px;
    font-size: .82em;
    font-family: var(--font-mono,monospace);
}

/* Responsive legal */
@media (max-width: 768px) {
    .legal-hero h1 { font-size: 1.6rem; }
    .cookie-table { font-size: .8rem; }
    .cookie-table th,
    .cookie-table td { padding: .5rem .65rem; }
}

/* Legal page language switching */
[data-lang-block] { display: none; }
[data-lang-block="en"] { display: block; }

/* ── Blog article: Scientific References section ─────────────────────────── */
.article-references {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-soft, #e8f4ea);
}

.article-references h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--forest, #2d6a4f);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .85rem;
}

.article-references ol {
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.article-references li {
    font-size: .82rem;
    color: var(--text-muted, #6b7f6c);
    line-height: 1.6;
}

.article-references li em {
    color: var(--text-soft, #3d5a3e);
    font-style: italic;
}

.article-references a {
    color: var(--teal, #0f766e);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 600;
    background: var(--teal-light, #ccfbf1);
    padding: .1em .4em;
    border-radius: 4px;
    white-space: nowrap;
    transition: background .15s;
}

.article-references a:hover {
    background: var(--teal-bright, #14b8a6);
    color: #fff;
}
