/* ============================================================
   SOPHILIA — Luxury Editorial Design System
   Philosophy tutoring · Bac & Prépa 2026
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* Palette — warm ink & ivory with gold accent */
    --ink:        #0d0b08;
    --ink-soft:   #1a1714;
    --ink-muted:  #2e2a24;
    --charcoal:   #3d3830;
    --warm-gray:  #6b6358;
    --taupe:      #9a9088;
    --sand:       #c4b9ab;
    --ivory:      #f5f0e8;
    --cream:      #faf7f2;
    --white:      #fffdf9;
    --gold:       #c9a84c;
    --gold-light: #e2cd7e;
    --gold-dark:  #a68a3a;
    --accent:     #8b6914;
    --success:    #4a7c59;
    --error:      #a63d40;

    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'Manrope', 'Helvetica Neue', sans-serif;

    /* Spacing scale */
    --sp-xs:  0.25rem;
    --sp-sm:  0.5rem;
    --sp-md:  1rem;
    --sp-lg:  1.5rem;
    --sp-xl:  2.5rem;
    --sp-2xl: 4rem;
    --sp-3xl: 6rem;
    --sp-4xl: 8rem;

    /* Layout */
    --max-w: 1200px;
    --nav-h: 72px;

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 32px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(13,11,8,0.06);
    --shadow-md:  0 4px 16px rgba(13,11,8,0.08);
    --shadow-lg:  0 12px 40px rgba(13,11,8,0.12);
    --shadow-glow: 0 0 40px rgba(201,168,76,0.15);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --dur-fast: 0.2s;
    --dur-med:  0.4s;
    --dur-slow: 0.7s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--charcoal);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hide-mobile { display: inline; }
@media (max-width: 640px) { .hide-mobile { display: none; } }

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

strong { font-weight: 600; }
em { font-style: italic; font-family: var(--font-display); font-size: 1.05em; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: 100px;
    padding: 0.75rem 1.75rem;
    transition: all var(--dur-fast) var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--ink);
    color: var(--cream);
    border: 1.5px solid var(--ink);
}
.btn--primary:hover {
    background: var(--ink-muted);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--sand);
}
.btn--outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--cream);
}

.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.82rem; }
.btn--lg { padding: 0.9rem 2.25rem; font-size: 0.95rem; }
.btn--full { width: 100%; }

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-h);
    transition: all var(--dur-med) var(--ease-out);
    background: rgba(250,247,242,0.6);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid transparent;
}

.nav--scrolled {
    background: rgba(250,247,242,0.92);
    border-bottom-color: rgba(196,185,171,0.3);
    box-shadow: 0 1px 12px rgba(13,11,8,0.04);
}

.nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.nav__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--ink);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.3rem;
    font-family: serif;
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--warm-gray);
    transition: color var(--dur-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--dur-med) var(--ease-out);
}

.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { width: 100%; }

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all var(--dur-fast) var(--ease-out);
    border-radius: 2px;
}

.nav__burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
    display: none;
    flex-direction: column;
    padding: 1rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(196,185,171,0.3);
}

.nav__mobile.active { display: flex; }

.nav__mobile-link {
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(196,185,171,0.2);
}

@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__burger { display: flex; }
    .nav__actions .btn { display: none; }
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.06), transparent),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(201,168,76,0.04), transparent),
        var(--cream);
    overflow: hidden;
}

.hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    font-style: italic;
    color: var(--gold-dark);
}

.hero__subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--warm-gray);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 140px;
}

.hero__stat-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.1em;
    line-height: 1;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
}

.hero__stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: var(--gold-dark);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.78rem;
    color: var(--warm-gray);
    margin-top: 0.6rem;
    letter-spacing: 0.02em;
}

.hero__stat-divider {
    width: 1px;
    height: 48px;
    background: var(--sand);
    opacity: 0.5;
}

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

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--sand), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Sections --- */
.section {
    padding: clamp(4rem, 10vw, 7rem) 0;
}

.section__header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section__tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.section__title {
    margin-bottom: 0.75rem;
}

.section__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--warm-gray);
    max-width: 540px;
    margin: 0 auto;
}

/* --- Why Section --- */
.section--why {
    background: var(--white);
}

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

.why__card {
    padding: 2rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(196,185,171,0.25);
    background: var(--cream);
    transition: all var(--dur-med) var(--ease-out);
}

.why__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,168,76,0.3);
}

.why__card--accent {
    background: var(--ink);
    border-color: var(--ink);
}

.why__card--accent .why__card-title { color: var(--cream); }
.why__card--accent .why__card-text { color: var(--taupe); }
.why__card--accent .why__card-icon { color: var(--gold); }

.why__card-icon {
    margin-bottom: 1.25rem;
    color: var(--gold-dark);
}

.why__card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
    color: var(--ink);
}

.why__card-text {
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

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

/* --- Timeline / Programme --- */
.section--programme {
    background: var(--ink);
    color: var(--ivory);
    position: relative;
    overflow: hidden;
}

.section--programme::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 70%);
    pointer-events: none;
}

.section--programme .section__tag { color: var(--gold-light); }
.section--programme .section__title { color: var(--ivory); }
.section--programme .section__subtitle { color: var(--taupe); }

.timeline {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.timeline__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold-dark), rgba(201,168,76,0.1));
}

.timeline__item {
    display: flex;
    gap: 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__marker {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ink-soft);
    border: 1.5px solid var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.timeline__phase {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 500;
}

.timeline__content {
    flex: 1;
    padding-top: 0.3rem;
}

.timeline__meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.timeline__month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201,168,76,0.12);
    padding: 0.2rem 0.75rem;
    border-radius: 100px;
}

.timeline__hours {
    font-size: 0.82rem;
    color: var(--taupe);
}

.timeline__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ivory);
    margin-bottom: 0.3rem;
}

.timeline__subtitle {
    font-size: 0.92rem;
    color: var(--sand);
    margin-bottom: 1rem;
    font-style: italic;
    font-family: var(--font-display);
}

.timeline__list li {
    font-size: 0.88rem;
    color: var(--taupe);
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.55;
}

.timeline__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-dark);
}

@media (max-width: 640px) {
    .timeline__line { left: 20px; }
    .timeline__marker { width: 40px; height: 40px; }
    .timeline__phase { font-size: 0.9rem; }
    .timeline__item { gap: 1.25rem; }
}

/* --- Notions --- */
.section--notions {
    background: var(--white);
}

.notions__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
}

.notion__chip {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.55rem 1.3rem;
    border-radius: 100px;
    border: 1px solid rgba(196,185,171,0.3);
    background: var(--cream);
    color: var(--charcoal);
    transition: all var(--dur-fast) var(--ease-out);
    cursor: default;
}

.notion__chip:hover {
    background: var(--ink);
    color: var(--gold-light);
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* --- Pricing --- */
.section--pricing {
    background: var(--cream);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.pricing__card {
    background: var(--white);
    border: 1px solid rgba(196,185,171,0.25);
    border-radius: var(--r-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all var(--dur-med) var(--ease-out);
    position: relative;
}

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

.pricing__card--featured {
    background: var(--ink);
    border-color: var(--gold-dark);
    transform: scale(1.04);
    box-shadow: var(--shadow-glow);
}

.pricing__card--featured:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.pricing__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold);
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing__card-header {
    margin-bottom: 1.5rem;
}

.pricing__name {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.pricing__card--featured .pricing__name { color: var(--ivory); }

.pricing__desc {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

.pricing__card--featured .pricing__desc { color: var(--taupe); }

.pricing__price {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    flex-wrap: wrap;
}

.pricing__amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
}

.pricing__card--featured .pricing__amount { color: var(--gold); }

.pricing__currency {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--charcoal);
}

.pricing__card--featured .pricing__currency { color: var(--gold); }

.pricing__per {
    font-size: 0.82rem;
    color: var(--taupe);
    margin-left: 0.5rem;
}

.pricing__features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing__features li {
    font-size: 0.9rem;
    padding: 0.45rem 0;
    color: var(--charcoal);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.pricing__card--featured .pricing__features li { color: var(--sand); }

.pricing__check {
    color: var(--gold-dark);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing__card--featured .btn--primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.pricing__card--featured .btn--primary:hover {
    background: var(--gold-light);
}

.pricing__card--featured .btn--outline {
    border-color: rgba(201,168,76,0.4);
    color: var(--gold-light);
}
.pricing__card--featured .btn--outline:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

.pricing__note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--warm-gray);
    margin-top: 2rem;
}

@media (max-width: 900px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing__card--featured { transform: none; }
    .pricing__card--featured:hover { transform: translateY(-4px); }
}

/* --- Included --- */
.section--included {
    background: var(--white);
}

.included__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.included__item {
    text-align: center;
    padding: 1.5rem;
}

.included__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201,168,76,0.08);
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.included__item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.included__item p {
    font-size: 0.85rem;
    color: var(--warm-gray);
}

@media (max-width: 768px) {
    .included__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .included__grid { grid-template-columns: 1fr; }
}

/* --- Team --- */
.section--team {
    background: var(--cream);
}

.team__content {
    max-width: 640px;
    margin: 0 auto;
}

.team__highlights {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.team__highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1px solid rgba(196,185,171,0.2);
    transition: all var(--dur-med) var(--ease-out);
}

.team__highlight:hover {
    border-color: rgba(201,168,76,0.3);
    box-shadow: var(--shadow-sm);
}

.team__highlight-icon {
    flex-shrink: 0;
    color: var(--gold-dark);
    margin-top: 2px;
}

.team__highlight p {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.55;
}

/* --- FAQ --- */
.section--faq {
    background: var(--white);
}

.faq__list {
    max-width: 680px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid rgba(196,185,171,0.25);
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
    transition: color var(--dur-fast);
}

.faq__question:hover { color: var(--gold-dark); }

.faq__icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--taupe);
    transition: transform var(--dur-med) var(--ease-out);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
    color: var(--gold-dark);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out);
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding-bottom: 1.25rem;
    font-size: 0.92rem;
    color: var(--warm-gray);
    line-height: 1.65;
}

/* --- CTA Section --- */
.section--cta {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.section--cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(201,168,76,0.06), transparent);
    pointer-events: none;
}

.cta__inner {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.cta__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--ivory);
    margin-bottom: 1rem;
}

.cta__text {
    font-size: 1.05rem;
    color: var(--taupe);
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta__actions .btn--primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
.cta__actions .btn--primary:hover {
    background: var(--gold-light);
}

.cta__actions .btn--outline {
    border-color: rgba(201,168,76,0.4);
    color: var(--gold-light);
}
.cta__actions .btn--outline:hover {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}

/* --- Footer --- */
.footer {
    background: var(--ink-soft);
    padding: 4rem 0 2rem;
    color: var(--taupe);
}

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

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.footer__logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(201,168,76,0.15);
    color: var(--gold);
    border-radius: 50%;
    font-size: 1.1rem;
    font-family: serif;
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--ivory);
}

.footer__tagline {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.55;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer__col-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--ivory);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.footer__col a {
    font-size: 0.85rem;
    color: var(--warm-gray);
    transition: color var(--dur-fast);
}

.footer__col a:hover { color: var(--gold-light); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(196,185,171,0.1);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__cookie-btn {
    font-size: 0.8rem;
    color: var(--warm-gray);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__cookie-btn:hover { color: var(--gold-light); }

@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
}

/* --- Modal --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur-med) var(--ease-out);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13,11,8,0.6);
    backdrop-filter: blur(8px);
}

.modal__content {
    position: relative;
    background: var(--cream);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px) scale(0.97);
    transition: transform var(--dur-med) var(--ease-out);
}

.modal.active .modal__content {
    transform: translateY(0) scale(1);
}

.modal__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.8rem;
    color: var(--taupe);
    line-height: 1;
    transition: color var(--dur-fast);
}
.modal__close:hover { color: var(--ink); }

.modal__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

/* --- Form --- */
.form__group {
    margin-bottom: 1.25rem;
}

.form__group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.form__group input,
.form__group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--sand);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--white);
    transition: border-color var(--dur-fast);
    outline: none;
}

.form__group input:focus,
.form__group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form__plan {
    padding: 0.75rem 1rem;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--r-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.form__group--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.form__group--checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--gold-dark);
}

.form__group--checkbox label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--warm-gray);
    margin-bottom: 0;
}

.form__group--checkbox a {
    color: var(--gold-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--taupe);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform var(--dur-med) var(--ease-out);
    background: var(--ink);
    border-top: 1px solid rgba(201,168,76,0.15);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 0.82rem;
    color: var(--taupe);
    flex: 1;
    min-width: 200px;
}

.cookie-banner a {
    color: var(--gold-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-banner .btn--outline {
    border-color: rgba(196,185,171,0.3);
    color: var(--taupe);
}
.cookie-banner .btn--outline:hover {
    border-color: var(--ivory);
    color: var(--ivory);
    background: transparent;
}

.cookie-banner .btn--primary {
    background: var(--gold);
    color: var(--ink);
    border-color: var(--gold);
}
