:root {
    --rose-950: #421528;
    --rose-900: #5f1f39;
    --rose-800: #7c2948;
    --rose-700: #9d3b60;
    --rose-200: #f1c6d3;
    --rose-100: #fae7ed;
    --rose-50: #fff7f9;
    --gold: #b5853c;
    --gold-light: #ead5a7;
    --ink: #2f2026;
    --muted: #705c64;
    --paper: #fffdfd;
    --shadow: 0 28px 80px rgba(91, 31, 57, 0.15);
    --radius-xl: 34px;
    --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--rose-50);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.cover-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--rose-800); }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 500;
    letter-spacing: -0.035em;
}

.eyebrow {
    display: inline-block;
    color: var(--rose-100);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.dark { color: var(--rose-700); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button:focus-visible,
a:focus-visible,
#heroTitle:focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 4px;
}

.button-primary {
    background: linear-gradient(135deg, var(--rose-800), var(--rose-700));
    box-shadow: 0 14px 30px rgba(124, 41, 72, 0.25);
    color: white;
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--rose-900), var(--rose-800));
    box-shadow: 0 18px 38px rgba(124, 41, 72, 0.32);
}

.button-large { min-height: 58px; padding-inline: 30px; }
.button-full { width: 100%; }

.surprise-cover {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: auto;
    padding: 24px;
    background:
        linear-gradient(rgba(66, 21, 40, 0.22), rgba(66, 21, 40, 0.38)),
        url("../img/fleurs-rose-dore.webp") center / cover no-repeat;
    transition: opacity 650ms ease, visibility 650ms ease;
}

.surprise-cover::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(255, 247, 249, 0.2);
    backdrop-filter: blur(12px);
}

.surprise-cover.is-hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.cover-card {
    position: relative;
    width: min(620px, 100%);
    padding: clamp(38px, 7vw, 76px) clamp(24px, 7vw, 70px);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xl);
    background: rgba(255, 253, 253, 0.88);
    box-shadow: var(--shadow);
    text-align: center;
    backdrop-filter: blur(16px);
}

.cover-card .eyebrow { color: var(--rose-700); }

.cover-card h1 {
    margin-bottom: 18px;
    color: var(--rose-900);
    font-size: clamp(2.15rem, 7vw, 4.6rem);
    font-weight: 500;
}

.cover-card > p {
    margin-bottom: 30px;
    color: var(--muted);
    font-weight: 700;
}

.cover-number {
    display: block;
    margin: 12px 0 -8px;
    color: transparent;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 700;
    line-height: 0.9;
    -webkit-text-stroke: 1px rgba(157, 59, 96, 0.42);
}

.site-shell {
    overflow: hidden;
    opacity: 1;
    transition: filter 700ms ease, opacity 700ms ease;
}

.site-shell.is-concealed {
    opacity: 0.4;
    filter: blur(15px);
    pointer-events: none;
}

.hero {
    width: min(1240px, calc(100% - 40px));
    min-height: 100svh;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    align-items: center;
    gap: clamp(36px, 6vw, 82px);
    padding-block: clamp(42px, 7vw, 86px);
}

.hero-art { position: relative; }

.hero-art::before {
    position: absolute;
    z-index: -1;
    inset: -18px 28px 22px -18px;
    border: 1px solid rgba(181, 133, 60, 0.42);
    border-radius: 50% 50% 46% 54% / 48% 43% 57% 52%;
    content: "";
}

.hero-art img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(181, 133, 60, 0.3);
    border-radius: 50% 50% 46% 54% / 48% 43% 57% 52%;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-copy { padding-block: 24px; }

.hero-copy h1 {
    max-width: 650px;
    margin: 12px 0 24px;
    color: var(--rose-900);
    font-size: clamp(3.4rem, 8vw, 7.4rem);
    font-weight: 500;
    letter-spacing: -0.06em;
}

.hero-lead {
    max-width: 590px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.payment-note,
.external-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.section-pad { padding: clamp(72px, 9vw, 124px) 22px; }

.section-heading,
.content-narrow {
    width: min(790px, 100%);
    margin-inline: auto;
}

.section-heading { margin-bottom: 46px; text-align: center; }
.centered { text-align: center; }

.mini-flourish,
.lock-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid var(--gold-light);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.25rem;
}

.event-section { background: var(--paper); }

.event-grid {
    width: min(1180px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.event-card {
    min-height: 250px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid var(--rose-200);
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, #fff, var(--rose-50));
    box-shadow: 0 18px 45px rgba(91, 31, 57, 0.07);
}

.event-kicker {
    display: block;
    margin-bottom: 20px;
    color: var(--rose-700);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.event-card h3 {
    margin-bottom: 16px;
    color: var(--rose-900);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    font-weight: 500;
}

.event-card p { margin-bottom: 0; color: var(--muted); }

.contribution-section {
    background:
        linear-gradient(rgba(255, 247, 249, 0.9), rgba(255, 247, 249, 0.92)),
        url("../img/fleurs-rose-dore.webp") center / cover fixed;
}

.contribution-card {
    width: min(1120px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: clamp(30px, 6vw, 80px);
    align-items: center;
    padding: clamp(30px, 6vw, 68px);
    border: 1px solid rgba(255, 255, 255, 0.86);
    border-radius: var(--radius-xl);
    background: rgba(255, 253, 253, 0.92);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.contribution-copy p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.trust-panel {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--rose-200);
    border-radius: var(--radius-lg);
    background: white;
}

.trust-list {
    display: grid;
    gap: 17px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.trust-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: 680;
}

.trust-list li span {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--rose-100);
    color: var(--rose-800);
    font-size: 0.83rem;
}

.external-note { text-align: center; }

.secret-section { background: var(--rose-900); color: white; }
.secret-section h2 { color: white; }

.secret-section p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
}

.secret-section .lock-mark {
    border-color: rgba(234, 213, 167, 0.5);
    color: var(--gold-light);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 26px max(22px, calc((100vw - 1180px) / 2));
    background: var(--rose-950);
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
}

.site-footer p { margin: 0; }
.site-footer a { color: white; }

.noscript-banner {
    position: fixed;
    z-index: 200;
    inset: auto 0 0;
    padding: 14px 20px;
    background: white;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.legal-page {
    min-height: 100svh;
    padding: clamp(30px, 6vw, 72px) 20px;
    background:
        linear-gradient(rgba(255, 247, 249, 0.9), rgba(255, 247, 249, 0.94)),
        url("../img/fleurs-rose-dore.webp") center / cover fixed;
}

.legal-back {
    display: block;
    width: min(820px, 100%);
    margin: 0 auto 18px;
    font-weight: 750;
}

.legal-card {
    width: min(820px, 100%);
    margin-inline: auto;
    padding: clamp(28px, 6vw, 62px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    background: rgba(255, 253, 253, 0.94);
    box-shadow: var(--shadow);
}

.legal-card h1 {
    margin: 10px 0 24px;
    color: var(--rose-900);
    font-size: clamp(2.7rem, 7vw, 5.2rem);
    font-weight: 500;
    letter-spacing: -0.05em;
}

.legal-card p { color: var(--muted); }
.legal-card .button { margin-top: 14px; }

@media (max-width: 920px) {
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 32px;
        text-align: center;
    }

    .hero-art { width: min(620px, 92%); margin-inline: auto; }

    .hero-copy {
        width: min(700px, 100%);
        margin-inline: auto;
        padding-bottom: 70px;
    }

    .hero-copy h1,
    .hero-lead { margin-inline: auto; }

    .event-grid,
    .contribution-card { grid-template-columns: 1fr; }
    .event-card { min-height: 0; }
}

@media (max-width: 620px) {
    .surprise-cover { padding: 14px; }
    .cover-card { border-radius: 26px; }
    .cover-number { font-size: 6.2rem; }
    .hero { width: min(100% - 28px, 1240px); gap: 20px; }
    .hero-art { width: 100%; }
    .hero-copy h1 { font-size: clamp(3.1rem, 18vw, 5rem); }

    .button,
    .button-large { width: 100%; padding-inline: 18px; }

    .event-grid { gap: 14px; }
    .contribution-section { background-attachment: scroll; }
    .contribution-card { padding: 22px; border-radius: 26px; }
    .trust-panel { padding: 22px; }

    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
