:root {
    --background: 0 0% 0%;
    --foreground: 210 40% 98%;

    --card: 220 20% 12%;

    --primary: 195 100% 50%;
    --primary-foreground: 220 25% 8%;

    --secondary: 158 100% 46%;

    --muted: 220 15% 18%;
    --muted-foreground: 215 20% 65%;

    --border: 220 15% 20%;

    --radius: 0.75rem;

    --gradient-hero: linear-gradient(135deg, hsl(195 100% 50% / 0.1), hsl(158 100% 46% / 0.1));
    --gradient-accent: linear-gradient(90deg, hsl(195 100% 50%), hsl(158 100% 46%));
}

* {
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Texte d'introduction du hero : halo noir dégradé pour rester lisible sur les zones claires de l'image */
.hero-intro {
    text-shadow:
        0 0 2px rgba(0, 0, 0, 0.95),
        0 0 6px rgba(0, 0, 0, 0.75),
        0 0 14px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(0, 0, 0, 0.35);
}

/* Bandeau : CTA secondaire à gauche du CTA principal (>= 1024px) */
@media (min-width: 1024px) {
    .header-ctas { display: grid; grid-template-columns: auto auto; column-gap: 1rem; row-gap: 0.5rem; align-items: stretch; }
    .header-ctas > .cta-secondary { display: flex; grid-column: 1; grid-row: 1; }
    .header-ctas > .cta-primary { grid-column: 2; grid-row: 1; white-space: nowrap; }
    .header-ctas > .std-trigger { grid-column: 2; grid-row: 2; justify-self: center; }
}

/* Pop-in Save the date */
.std-trigger { cursor: pointer; }
.std-trigger:focus-visible { outline: 2px solid hsl(var(--foreground)); outline-offset: 3px; }
.std-link { background: none; border: 0; padding: 0; color: hsl(var(--muted-foreground)); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.std-link:hover { color: hsl(var(--primary)); }

.std-dialog {
    width: calc(100% - 2rem);
    max-width: 28rem;
    padding: 0;
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    background: hsl(var(--card));
    color: hsl(var(--foreground));
}
.std-panel { position: relative; padding: 1.75rem 1.5rem 1.5rem; }
.std-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }

.std-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.25rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
}
.std-close:hover { color: hsl(var(--foreground)); }

.std-title { font-size: 1.375rem; padding-right: 2rem; }
.std-event { margin: 0.75rem 0 1.25rem; font-size: 0.875rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }

.std-list { display: flex; flex-direction: column; gap: 0.5rem; }
.std-list a {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) - 0.25rem);
    font-weight: 600;
    transition: border-color 0.15s, background-color 0.15s;
}
.std-list a:hover, .std-list a:focus-visible { border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.08); outline: none; }
.std-list a span { display: block; margin-top: 0.125rem; font-size: 0.8125rem; font-weight: 400; color: hsl(var(--muted-foreground)); }
