/* ==========================================================================
   La Guilde des Conteurs de Destinées — Design system
   Palette inspirée du logo : nuit étoilée bleu profond + or, accent pourpre.
   ========================================================================== */

:root {
    /* Couleurs */
    --gcd-ink: #0d1424;
    --gcd-ink-2: #16203a;
    --gcd-purple: #452a68;
    --gcd-purple-light: #7a4fb0;
    --gcd-gold: #d9ae4e;
    --gcd-gold-light: #f2d68f;
    /* Or foncé : assez sombre pour rester lisible sur fond clair (contraste AA) */
    --gcd-gold-deep: #8a6212;
    --gcd-red: #8b2e3b;
    --gcd-cream: #f7f4ee;
    --gcd-paper: #ffffff;
    --gcd-text: #24222c;
    --gcd-muted: #6b6878;
    --gcd-line: rgba(69, 42, 104, 0.12);

    /* Alias hérité de l'ancienne feuille de style */
    --gcd-dark: var(--gcd-ink);

    /* Ombres */
    --shadow-sm: 0 1px 2px rgba(13, 20, 36, 0.06), 0 2px 8px rgba(13, 20, 36, 0.05);
    --shadow-md: 0 4px 12px rgba(13, 20, 36, 0.08), 0 12px 28px rgba(13, 20, 36, 0.07);
    --shadow-lg: 0 10px 24px rgba(13, 20, 36, 0.12), 0 24px 48px rgba(13, 20, 36, 0.12);
    --shadow-gold: 0 8px 24px rgba(217, 174, 78, 0.35);

    /* Rayons */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* Typo */
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    color: var(--gcd-text);
    background-color: var(--gcd-cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .font-display {
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

p {
    line-height: 1.75;
}

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

:focus-visible {
    outline: 3px solid var(--gcd-gold);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--gcd-gold-light);
    color: var(--gcd-ink);
}

.skip-link {
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    z-index: 2000;
    background: var(--gcd-gold);
    color: var(--gcd-ink);
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* --------------------------------------------------------------------------
   Barre d'infos pratiques (au-dessus de la navigation)
   -------------------------------------------------------------------------- */

.topbar {
    background: linear-gradient(90deg, var(--gcd-ink) 0%, var(--gcd-purple) 55%, var(--gcd-ink) 100%);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(217, 174, 78, 0.25);
}

.topbar .topbar-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.topbar i {
    color: var(--gcd-gold);
    margin-right: 0.4rem;
}

.topbar a {
    color: var(--gcd-gold-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.topbar a:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.navbar-gcd {
    background: rgba(13, 20, 36, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(13, 20, 36, 0.25);
    border-bottom: 1px solid rgba(217, 174, 78, 0.18);
    padding: 0;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar-gcd.scrolled {
    background: rgba(13, 20, 36, 0.98);
    box-shadow: 0 6px 28px rgba(13, 20, 36, 0.35);
}

.navbar-gcd .navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gcd-gold) !important;
    letter-spacing: 0.04em;
    padding: 0.7rem 0;
    line-height: 1.15;
}

.navbar-gcd .navbar-brand small {
    font-family: var(--font-body);
    font-size: 0.62em;
    color: rgba(242, 214, 143, 0.85);
    font-weight: 400;
    letter-spacing: 0.02em;
    display: block;
    line-height: 1.2;
}

.navbar-gcd .navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(217, 174, 78, 0.35));
    transition: transform 0.4s ease;
}

.navbar-gcd .navbar-brand:hover img {
    transform: rotate(-4deg) scale(1.05);
}

.navbar-gcd .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    padding: 1.1rem 1rem !important;
    transition: color 0.2s, background 0.2s;
    font-size: 0.95rem;
    position: relative;
}

.navbar-gcd .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gcd-gold), var(--gcd-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.navbar-gcd .nav-link:hover,
.navbar-gcd .nav-link.active {
    color: var(--gcd-gold-light) !important;
}

.navbar-gcd .nav-link:hover::after,
.navbar-gcd .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-gcd .navbar-toggler {
    border-color: rgba(217, 174, 78, 0.6);
    padding: 0.4rem 0.6rem;
}

.navbar-gcd .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(217, 174, 78, 1)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn-cta,
.btn-cta-dark,
.btn-ghost {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-pill);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-cta {
    background: linear-gradient(135deg, var(--gcd-gold-deep), var(--gcd-gold) 45%, var(--gcd-gold-light));
    color: var(--gcd-ink) !important;
    padding: 0.65rem 1.7rem;
    box-shadow: 0 2px 10px rgba(168, 121, 31, 0.28);
}

.btn-cta:hover,
.btn-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-cta-dark {
    background: var(--gcd-ink);
    color: var(--gcd-gold-light) !important;
    padding: 0.8rem 2rem;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(13, 20, 36, 0.25);
}

.btn-cta-dark:hover,
.btn-cta-dark:focus-visible {
    background: var(--gcd-purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(13, 20, 36, 0.35);
}

.btn-ghost {
    background: transparent;
    color: #fff !important;
    padding: 0.65rem 1.7rem;
    box-shadow: inset 0 0 0 2px rgba(242, 214, 143, 0.65);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(242, 214, 143, 0.12);
    color: var(--gcd-gold-light) !important;
    transform: translateY(-2px);
}

/* Variante compacte : .btn-sm de Bootstrap n'agit pas sur nos paddings */
.btn-cta.btn-sm,
.btn-cta-dark.btn-sm,
.btn-ghost.btn-sm {
    padding: 0.45rem 1.15rem;
    font-size: 0.875rem;
}

/* Reflet lumineux au survol */
.btn-cta::after,
.btn-cta-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
}

.btn-cta:hover::after,
.btn-cta-dark:hover::after {
    animation: sheen 0.8s ease;
}

@keyframes sheen {
    to { left: 140%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 5rem;
    color: #fff;
    background:
        radial-gradient(ellipse 60% 55% at 20% 15%, rgba(122, 79, 176, 0.55), transparent 65%),
        radial-gradient(ellipse 55% 50% at 82% 25%, rgba(139, 46, 59, 0.45), transparent 65%),
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(217, 174, 78, 0.22), transparent 70%),
        linear-gradient(160deg, var(--gcd-ink) 0%, var(--gcd-ink-2) 45%, var(--gcd-purple) 100%);
}

/* Ciel étoilé */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.6px 1.6px at 12% 22%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.4px 1.4px at 28% 68%, rgba(242, 214, 143, 0.8), transparent),
        radial-gradient(1.8px 1.8px at 46% 18%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.3px 1.3px at 62% 52%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1.7px 1.7px at 78% 32%, rgba(242, 214, 143, 0.75), transparent),
        radial-gradient(1.4px 1.4px at 88% 72%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1.2px 1.2px at 34% 88%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 68% 84%, rgba(242, 214, 143, 0.65), transparent);
    animation: twinkle 6s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkle {
    from { opacity: 0.45; }
    to { opacity: 1; }
}

/* Filet doré de clôture, comme sur les en-têtes de page */
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gcd-gold), transparent);
    pointer-events: none;
}

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

.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    font-weight: 700;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero .subtitle {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--gcd-gold-light);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-logo {
    max-width: 340px;
    width: 100%;
    filter: drop-shadow(0 12px 40px rgba(217, 174, 78, 0.35));
    animation: float-slow 7s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Bandeau « prochaine séance » dans le hero */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(242, 214, 143, 0.45);
    color: var(--gcd-gold-light);
    border-radius: var(--radius-pill);
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gcd-gold);
    box-shadow: 0 0 0 0 rgba(217, 174, 78, 0.7);
    animation: pulse-ring 2.2s infinite;
}

@keyframes pulse-ring {
    70% { box-shadow: 0 0 0 12px rgba(217, 174, 78, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 174, 78, 0); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
    padding: 4.5rem 0;
    position: relative;
}

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

.section-dark {
    color: #fff;
    background:
        radial-gradient(ellipse 60% 60% at 15% 20%, rgba(122, 79, 176, 0.45), transparent 60%),
        radial-gradient(ellipse 50% 60% at 85% 80%, rgba(139, 46, 59, 0.35), transparent 60%),
        linear-gradient(140deg, var(--gcd-ink) 0%, var(--gcd-ink-2) 55%, var(--gcd-purple) 100%);
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gcd-gold-deep);
    margin-bottom: 0.6rem;
}

.section-dark .section-kicker {
    color: var(--gcd-gold);
}

.section-title {
    font-weight: 700;
    color: var(--gcd-purple);
    margin-bottom: 0.6rem;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}

.section-dark .section-title {
    color: var(--gcd-gold);
}

.section-subtitle {
    color: var(--gcd-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

/* Filet doré décoratif */
.title-rule {
    width: 72px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gcd-gold-deep), var(--gcd-gold-light));
    margin: 0 0 1.2rem;
}

.text-center .title-rule,
.title-rule.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Séparateur ornemental */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--gcd-gold);
    margin: 0 auto 2.4rem;
    max-width: 320px;
}

.ornament::before,
.ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gcd-gold), transparent);
}

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.card-gcd {
    position: relative;
    border: 1px solid var(--gcd-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    background: var(--gcd-paper);
    overflow: hidden;
}

/* Note : pas de height:100% par défaut. Plusieurs cartes empilées dans une
   même colonne s'étireraient chacune à la hauteur totale de la colonne et
   déborderaient de la section. Les grilles de cartes de hauteur égale
   utilisent la classe utilitaire .h-100 de Bootstrap. */

.card-gcd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gcd-gold-deep), var(--gcd-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.card-gcd:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 174, 78, 0.45);
}

.card-gcd:hover::before {
    transform: scaleX(1);
}

.card-gcd .card-icon {
    font-size: 2.2rem;
    color: var(--gcd-purple-light);
    margin-bottom: 0.9rem;
    line-height: 1;
}

.card-gcd .card-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gcd-ink);
    font-size: 1.15rem;
}

/* Carte sombre (variante) */
.card-dark {
    background:
        radial-gradient(ellipse 80% 70% at 20% 0%, rgba(122, 79, 176, 0.5), transparent 65%),
        linear-gradient(150deg, var(--gcd-ink), var(--gcd-purple));
    border-color: rgba(217, 174, 78, 0.28);
    color: rgba(255, 255, 255, 0.86);
}

.card-dark .card-title,
.card-dark h5 {
    color: var(--gcd-gold);
}

.card-dark strong {
    color: #fff;
}

.card-dark-divider {
    border-top: 1px solid rgba(242, 214, 143, 0.28);
    opacity: 1;
}

/* Colonne latérale de la page contact : reste visible pendant la saisie
   du formulaire, et évite une colonne plus longue que le contenu. */
@media (min-width: 992px) {
    .contact-aside {
        position: sticky;
        top: 96px;
    }
}

/* Pas d'effet de soulèvement sur une carte de la taille d'une colonne */
.contact-aside:hover {
    transform: none;
}

/* --------------------------------------------------------------------------
   Pastilles d'icônes
   -------------------------------------------------------------------------- */

.feature-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--gcd-purple), var(--gcd-purple-light));
    box-shadow: 0 0 0 6px rgba(122, 79, 176, 0.1), var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--gcd-gold-light);
    font-size: 1.9rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-gcd:hover .feature-circle,
.step-item:hover .feature-circle {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 0 8px rgba(217, 174, 78, 0.14), var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Infos pratiques
   -------------------------------------------------------------------------- */

.info-card {
    position: relative;
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    height: 100%;
    padding: 1.6rem 1.5rem;
    background: var(--gcd-paper);
    border: 1px solid var(--gcd-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(217, 174, 78, 0.45);
}

.info-card .info-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gcd-gold-light);
    background: linear-gradient(140deg, var(--gcd-ink), var(--gcd-purple));
    box-shadow: var(--shadow-sm);
}

.info-card h3,
.info-card .info-title {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--gcd-purple);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-card p {
    margin-bottom: 0;
    color: var(--gcd-text);
    font-size: 0.95rem;
    line-height: 1.65;
}

.info-card .info-strong {
    font-weight: 700;
    color: var(--gcd-ink);
}

/* Variante sombre sur fond foncé */
.section-dark .info-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(242, 214, 143, 0.28);
    backdrop-filter: blur(6px);
    box-shadow: none;
}

.section-dark .info-card h3,
.section-dark .info-card .info-title {
    color: var(--gcd-gold);
}

.section-dark .info-card p {
    color: rgba(255, 255, 255, 0.84);
}

.section-dark .info-card .info-strong {
    color: #fff;
}

.section-dark .info-card .info-icon {
    background: rgba(217, 174, 78, 0.16);
    border: 1px solid rgba(242, 214, 143, 0.35);
    color: var(--gcd-gold-light);
}

.info-card a:not(.phone-link) {
    color: var(--gcd-purple);
    font-weight: 600;
    text-decoration: none;
}

.info-card a:not(.phone-link):hover {
    color: var(--gcd-gold-deep);
    text-decoration: underline;
}

.section-dark .info-card a:not(.phone-link),
.section-dark p a {
    color: var(--gcd-gold-light);
    font-weight: 600;
    text-decoration: none;
}

.section-dark .info-card a:not(.phone-link):hover,
.section-dark p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Encart « à votre arrivée » */
.callout {
    border-left: 4px solid var(--gcd-gold);
    background: linear-gradient(90deg, rgba(217, 174, 78, 0.14), rgba(217, 174, 78, 0.03));
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.2rem 1.4rem;
}

.callout .callout-title {
    font-weight: 700;
    color: var(--gcd-gold-deep);
    margin-bottom: 0.3rem;
}

.section-dark .callout {
    background: linear-gradient(90deg, rgba(217, 174, 78, 0.2), rgba(217, 174, 78, 0.04));
    color: rgba(255, 255, 255, 0.88);
}

.section-dark .callout .callout-title {
    color: var(--gcd-gold-light);
}

/* Lien téléphone */
.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--gcd-purple);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.phone-link:hover {
    color: var(--gcd-gold-deep);
}

.section-dark .phone-link,
.card-dark .phone-link,
.footer .phone-link {
    color: var(--gcd-gold-light);
}

.section-dark .phone-link:hover,
.card-dark .phone-link:hover,
.footer .phone-link:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Statistiques / points forts
   -------------------------------------------------------------------------- */

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

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.45rem;
}

/* --------------------------------------------------------------------------
   Étapes numérotées
   -------------------------------------------------------------------------- */

.step-item {
    text-align: center;
    padding: 1rem 0.5rem;
}

.step-item .feature-circle {
    width: 68px;
    height: 68px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 800;
}

.step-item h5 {
    font-family: var(--font-display);
    color: var(--gcd-purple);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Agenda
   -------------------------------------------------------------------------- */

.agenda-card {
    border: 1px solid var(--gcd-line);
    border-left: 4px solid var(--gcd-purple-light);
    padding: 1.3rem 1.5rem;
    background: var(--gcd-paper);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.agenda-card:hover {
    border-left-color: var(--gcd-gold);
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

.agenda-date {
    font-weight: 700;
    color: var(--gcd-purple);
    font-size: 0.9rem;
}

.agenda-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.08rem;
    margin: 0.2rem 0;
}

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */

.badge-gcd {
    background: rgba(69, 42, 104, 0.08);
    color: var(--gcd-purple);
    border: 1px solid rgba(69, 42, 104, 0.16);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.42rem 0.9rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.badge-gcd:hover {
    background: var(--gcd-purple);
    border-color: var(--gcd-purple);
    color: #fff;
}

.badge-gcd-gold {
    background: rgba(217, 174, 78, 0.15);
    color: var(--gcd-gold-deep);
    border-color: rgba(217, 174, 78, 0.35);
}

.badge-gcd-gold:hover {
    background: var(--gcd-gold);
    border-color: var(--gcd-gold);
    color: var(--gcd-ink);
}

/* --------------------------------------------------------------------------
   Section CTA
   -------------------------------------------------------------------------- */

.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--gcd-gold-deep) 0%, var(--gcd-gold) 40%, var(--gcd-gold-light) 100%);
    padding: 4.5rem 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.35), transparent 45%),
                      radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.28), transparent 45%);
    pointer-events: none;
}

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

.cta-section h2 {
    color: var(--gcd-ink);
    font-weight: 700;
    font-size: clamp(1.7rem, 3.4vw, 2.2rem);
}

/* --------------------------------------------------------------------------
   En-tête de page interne
   -------------------------------------------------------------------------- */

.page-header {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 3.4rem 0 2.6rem;
    background:
        radial-gradient(ellipse 60% 70% at 10% 20%, rgba(122, 79, 176, 0.5), transparent 62%),
        radial-gradient(ellipse 50% 70% at 90% 80%, rgba(139, 46, 59, 0.35), transparent 62%),
        linear-gradient(140deg, var(--gcd-ink) 0%, var(--gcd-ink-2) 55%, var(--gcd-purple) 100%);
}

.page-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gcd-gold), transparent);
}

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

.page-header h1 {
    font-weight: 700;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
}

.page-header .breadcrumb {
    font-size: 0.88rem;
}

.page-header .breadcrumb-item a {
    color: var(--gcd-gold-light);
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    text-decoration: underline;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border-color: rgba(69, 42, 104, 0.18);
    padding: 0.65rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gcd-purple-light);
    box-shadow: 0 0 0 0.22rem rgba(122, 79, 176, 0.18);
}

.form-label {
    color: var(--gcd-ink);
    font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Accordéon FAQ
   -------------------------------------------------------------------------- */

.accordion-item {
    border: 1px solid var(--gcd-line) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--gcd-ink);
    background: var(--gcd-paper);
}

.accordion-button:not(.collapsed) {
    color: var(--gcd-purple);
    background: rgba(122, 79, 176, 0.07);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.22rem rgba(122, 79, 176, 0.18);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.footer {
    background: linear-gradient(160deg, var(--gcd-ink) 0%, #101a2e 60%, var(--gcd-ink) 100%);
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0 1.5rem;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--gcd-gold), transparent) 1;
}

.footer a {
    color: rgba(242, 214, 143, 0.9);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
}

.footer h5 {
    font-family: var(--font-display);
    color: var(--gcd-gold);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer .footer-contact li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    line-height: 1.55;
}

.footer .footer-contact i {
    color: var(--gcd-gold);
    margin-top: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Retour en haut
   -------------------------------------------------------------------------- */

.to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 1030;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--gcd-purple), var(--gcd-ink));
    color: var(--gcd-gold-light);
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.3s;
}

.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top:hover {
    background: linear-gradient(140deg, var(--gcd-gold-deep), var(--gcd-gold));
    color: var(--gcd-ink);
}

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .navbar-gcd .navbar-collapse {
        padding-bottom: 0.8rem;
    }

    .navbar-gcd .nav-link {
        padding: 0.7rem 0.4rem !important;
    }

    .navbar-gcd .nav-link::after {
        left: 0.4rem;
        right: auto;
        width: 28px;
        bottom: 0.35rem;
    }

    .navbar-gcd .btn-cta {
        display: inline-block;
        margin-top: 0.6rem;
    }
}

@media (max-width: 767.98px) {
    html { scroll-padding-top: 76px; }
    .hero { padding: 3.2rem 0 3rem; }
    .section { padding: 3rem 0; }
    .cta-section { padding: 3.2rem 0; }
    .stat-number { font-size: 2rem; }
    .info-card { padding: 1.3rem 1.2rem; }
    .topbar { font-size: 0.76rem; }
}

/* --------------------------------------------------------------------------
   Accessibilité : mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Impression
   -------------------------------------------------------------------------- */

@media print {
    .topbar, .navbar-gcd, .to-top, .cta-section { display: none !important; }
    body { background: #fff; }
    .hero, .page-header, .section-dark, .footer { background: #fff !important; color: #000 !important; }
}
