/* ============================================================
   PAGE DÉMO - Design complet
   Barre démo + Timer stylisé + Galerie soignée
   ============================================================ */

/* ============ MODE DÉMO : ajustements globaux ============ */
body.is-demo-mode {
    padding-top: 0;
}

body.is-demo-mode .site-header,
body.is-demo-mode .whatsapp-float,
body.is-demo-mode .music-toggle {
    display: none !important;
}

/* ============ BARRE DÉMO STICKY ============ */
.demo-bar {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a3e 0%, #0d0d24 100%);
    color: #f5f0e1;
    border-bottom: 2px solid #c9a961;
    box-shadow: 0 4px 20px rgba(26, 26, 62, 0.4);
}

.demo-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}

/* Logo */
.demo-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #e6c988;
    text-decoration: none;
    letter-spacing: 2px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.demo-logo:hover { color: #e6c988; transform: scale(1.03); }

.demo-logo-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 8px rgba(201, 169, 97, 0.5));
}

/* Info template centrale */
.demo-bar-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(201, 169, 97, 0.12);
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.demo-bar-icon { font-size: 16px; flex-shrink: 0; }

.demo-bar-category {
    color: #e6c988;
    opacity: 0.8;
    text-transform: uppercase;
    font-size: 11px;
    flex-shrink: 0;
}

.demo-bar-sep { color: rgba(230, 201, 136, 0.4); flex-shrink: 0; }

.demo-bar-name {
    color: #fff;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-bar-premium {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #c9a961, #8b7238);
    border-radius: 20px;
    font-size: 9px;
    letter-spacing: 0.5px;
    color: #fff;
    flex-shrink: 0;
}

/* Actions droite */
.demo-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.demo-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #c9a961, #8b7238);
    color: #1a1a3e;
    border: 1.5px solid #e6c988;
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.demo-bar-cta:hover {
    background: linear-gradient(135deg, #e6c988, #c9a961);
    color: #1a1a3e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.5);
}

.demo-bar-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(201, 169, 97, 0.4);
    border-radius: 50px;
    color: #e6c988;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.demo-bar-back:hover {
    background: rgba(201, 169, 97, 0.2);
    color: #fff;
    border-color: #c9a961;
    transform: translateX(-3px);
}

.demo-bar-back svg { transition: transform 0.3s; }
.demo-bar-back:hover svg { transform: translateX(-3px); }

/* ============================================================
   TIMER STYLISÉ (OVERRIDE GLOBAL POUR TOUS LES TEMPLATES)
   S'applique partout où il y a .countdown-section
   ============================================================ */

.countdown-section {
    padding: 100px 20px !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #0d0d24 100%) !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
}

.countdown-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 85% 50%, rgba(74, 14, 46, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.countdown-title {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(36px, 5vw, 56px) !important;
    color: #e6c988 !important;
    margin-bottom: 50px !important;
    position: relative !important;
    z-index: 2 !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

.countdown {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    position: relative !important;
    z-index: 2 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.countdown-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: linear-gradient(180deg, rgba(201, 169, 97, 0.12) 0%, rgba(201, 169, 97, 0.04) 100%) !important;
    border: 2px solid #c9a961 !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    min-width: 130px !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 25px rgba(201, 169, 97, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #c9a961, transparent);
    border-radius: 4px;
}

.countdown-item:hover {
    transform: translateY(-6px) !important;
    border-color: #e6c988 !important;
    box-shadow: 
        0 18px 50px rgba(201, 169, 97, 0.4),
        inset 0 0 30px rgba(201, 169, 97, 0.15) !important;
}

.countdown-num {
    display: block !important;
    font-family: 'Cinzel', serif !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: #e6c988 !important;
    line-height: 1 !important;
    text-shadow: 
        0 0 25px rgba(201, 169, 97, 0.6),
        0 2px 4px rgba(0, 0, 0, 0.5) !important;
    font-variant-numeric: tabular-nums !important;
    transition: transform 0.2s ease !important;
}

.countdown-label {
    display: block !important;
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    color: #c9a961 !important;
    font-weight: 600 !important;
    opacity: 0.9 !important;
}

/* Variantes pour différents templates (si nécessaire) */
.countdown-bday,
.countdown-bday .cd-num {
    /* Les templates birthday utilisent d'autres classes — laissez intact */
}

/* Timer fallback pour templates naissance / baptême */
.cd-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(201, 169, 97, 0.08) !important;
    border: 2px solid #c9a961 !important;
    border-radius: 16px !important;
    padding: 25px 20px !important;
    min-width: 110px !important;
}

.cd-num {
    font-family: 'Cinzel', serif !important;
    font-size: 48px !important;
    color: #e6c988 !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.cd-label {
    font-family: 'Cinzel', serif !important;
    font-size: 10px !important;
    letter-spacing: 3px !important;
    color: #c9a961 !important;
    text-transform: uppercase !important;
}

/* ============================================================
   GALERIE "NOS MOMENTS" — DESIGN SOIGNÉ
   S'applique à tous les templates
   ============================================================ */

/* Grille de galerie principale */
.gallery-grid,
.gallery-baby-grid,
.gallery-bday-grid,
.gallery-min,
.gallery-vintage,
.gallery-celestial,
.gallery-tropical,
.gallery-organic,
.gallery-modern,
.gallery-floral,
.gallery-artdeco,
.gallery-masonry {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Item de galerie générique */
.gallery-item,
.gallery-baby-item,
.gallery-bday-item,
.gallery-min-item,
.gallery-vintage-item,
.gallery-celestial-item,
.gallery-tropical-item,
.gallery-organic-item,
.gallery-modern-item,
.gallery-floral-item,
.gallery-artdeco-item,
.gallery-cell {
    position: relative !important;
    aspect-ratio: 1 !important;
    overflow: hidden !important;
    border-radius: 16px !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #1a1a3e, #0d0d24) !important;
    box-shadow: 
        0 12px 32px rgba(26, 26, 62, 0.15),
        0 0 0 3px #ffffff,
        0 0 0 5px rgba(201, 169, 97, 0.6) !important;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: block !important;
    padding: 0 !important;
}

.gallery-item img,
.gallery-baby-item img,
.gallery-bday-item img,
.gallery-min-item img,
.gallery-vintage-item img,
.gallery-celestial-item img,
.gallery-tropical-item img,
.gallery-organic-item img,
.gallery-modern-item img,
.gallery-floral-item img,
.gallery-artdeco-item img,
.gallery-cell img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    display: block !important;
    margin: 0 !important;
}

/* Overlay gradient au bas (pour icône) */
.gallery-item::after,
.gallery-baby-item::after,
.gallery-bday-item::after,
.gallery-min-item::after,
.gallery-vintage-item::after,
.gallery-celestial-item::after,
.gallery-tropical-item::after,
.gallery-organic-item::after,
.gallery-modern-item::after,
.gallery-floral-item::after,
.gallery-artdeco-item::after,
.gallery-cell::after {
    content: '✦' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0) !important;
    color: #e6c988 !important;
    font-size: 48px !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8) !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

/* Hover principal */
.gallery-item:hover,
.gallery-baby-item:hover,
.gallery-bday-item:hover,
.gallery-min-item:hover,
.gallery-vintage-item:hover,
.gallery-celestial-item:hover,
.gallery-tropical-item:hover,
.gallery-organic-item:hover,
.gallery-modern-item:hover,
.gallery-floral-item:hover,
.gallery-artdeco-item:hover,
.gallery-cell:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 
        0 20px 50px rgba(201, 169, 97, 0.4),
        0 0 0 3px #ffffff,
        0 0 0 5px #c9a961 !important;
    z-index: 2 !important;
}

.gallery-item:hover img,
.gallery-baby-item:hover img,
.gallery-bday-item:hover img,
.gallery-min-item:hover img,
.gallery-vintage-item:hover img,
.gallery-celestial-item:hover img,
.gallery-tropical-item:hover img,
.gallery-organic-item:hover img,
.gallery-modern-item:hover img,
.gallery-floral-item:hover img,
.gallery-artdeco-item:hover img,
.gallery-cell:hover img {
    transform: scale(1.12) !important;
    filter: brightness(0.7) !important;
}

.gallery-item:hover::after,
.gallery-baby-item:hover::after,
.gallery-bday-item:hover::after,
.gallery-min-item:hover::after,
.gallery-vintage-item:hover::after,
.gallery-celestial-item:hover::after,
.gallery-tropical-item:hover::after,
.gallery-organic-item:hover::after,
.gallery-modern-item:hover::after,
.gallery-floral-item:hover::after,
.gallery-artdeco-item:hover::after,
.gallery-cell:hover::after {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
}

/* Force toutes les formes rondes/carrées à rester uniformes */
.gallery-item.rounded,
.gallery-item[class*="rounded"],
.gallery-baby-item,
.gallery-celestial-item,
.gallery-floral-item,
.gallery-tropical-item,
.gallery-artdeco-item {
    border-radius: 16px !important;
}

/* Override les masques circulaires des autres templates */
.gallery-item::before,
.gallery-baby-item::before,
.gallery-celestial-item::before,
.gallery-floral-item::before,
.gallery-tropical-item::before {
    display: none !important;
}

/* Galerie "masonry" — layout plus intéressant */
.gallery-masonry {
    grid-auto-rows: 220px !important;
}

.gallery-masonry .gallery-cell:nth-child(5n+1) {
    grid-row: span 2 !important;
}

.gallery-masonry .gallery-cell:nth-child(7n+3) {
    grid-column: span 2 !important;
}

/* ============================================================
   AJUSTEMENTS POUR LE MODE DÉMO
   ============================================================ */

/* Retirer les marges top/bottom excessives du premier template */
body.is-demo-mode .main-page {
    padding-top: 0;
}

/* Assure que le hero est bien en haut */
body.is-demo-mode .hero,
body.is-demo-mode .hero-split,
body.is-demo-mode .hero-three,
body.is-demo-mode .hero-organic,
body.is-demo-mode .hero-typo,
body.is-demo-mode .hero-polaroid,
body.is-demo-mode .hero-floral,
body.is-demo-mode .hero-constellation,
body.is-demo-mode .hero-postcard,
body.is-demo-mode .hero-artdeco,
body.is-demo-mode .hero-modern {
    margin-top: 0 !important;
    padding-top: 60px !important;
}

/* Espace pour ne pas cacher le contenu sous la barre sticky */
body.is-demo-mode {
    scroll-padding-top: 80px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .demo-bar-inner {
        padding: 10px 15px;
        min-height: 56px;
        gap: 10px;
    }

    .demo-bar-info {
        max-width: 200px;
        font-size: 10px;
        padding: 6px 12px;
        gap: 6px;
    }

    .demo-bar-category,
    .demo-bar-sep {
        display: none;
    }

    .demo-bar-name {
        font-size: 10px;
    }

    .demo-bar-premium {
        font-size: 8px;
        padding: 2px 6px;
    }

    .demo-bar-cta {
        padding: 8px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .demo-bar-back {
        padding: 8px 14px;
        font-size: 10px;
    }

    .countdown-section {
        padding: 70px 15px !important;
    }

    .countdown-title {
        font-size: 34px !important;
        margin-bottom: 35px !important;
    }

    .countdown {
        gap: 12px !important;
    }

    .countdown-item {
        min-width: 85px !important;
        padding: 20px 16px !important;
    }

    .countdown-num {
        font-size: 36px !important;
    }

    .countdown-label {
        font-size: 9px !important;
        letter-spacing: 2px !important;
    }

    .gallery-grid,
    .gallery-baby-grid,
    .gallery-bday-grid,
    .gallery-min,
    .gallery-vintage,
    .gallery-celestial,
    .gallery-tropical,
    .gallery-organic,
    .gallery-modern,
    .gallery-floral,
    .gallery-artdeco,
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 600px) {
    .demo-bar-inner {
        min-height: 52px;
        padding: 8px 12px;
        gap: 8px;
    }

    .demo-logo-text {
        display: none;
    }

    .demo-bar-info {
        max-width: 130px;
        font-size: 9px;
        padding: 5px 10px;
    }

    .demo-bar-name {
        font-size: 9px;
    }

    .demo-bar-cta {
        padding: 7px 10px;
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .demo-bar-back {
        padding: 7px 10px;
        font-size: 9px;
    }

    .demo-bar-back span {
        display: none;
    }

    .countdown-section {
        padding: 55px 12px !important;
    }

    .countdown-title {
        font-size: 28px !important;
        margin-bottom: 25px !important;
    }

    .countdown {
        gap: 8px !important;
    }

    .countdown-item {
        min-width: 70px !important;
        padding: 15px 10px !important;
        border-radius: 14px !important;
    }

    .countdown-num {
        font-size: 28px !important;
    }

    .countdown-label {
        font-size: 8px !important;
        letter-spacing: 1.5px !important;
    }

    .countdown-item::before {
        width: 30px !important;
    }

    .gallery-grid,
    .gallery-baby-grid,
    .gallery-bday-grid,
    .gallery-min,
    .gallery-vintage,
    .gallery-celestial,
    .gallery-tropical,
    .gallery-organic,
    .gallery-modern,
    .gallery-floral,
    .gallery-artdeco,
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .gallery-item,
    .gallery-baby-item,
    .gallery-bday-item,
    .gallery-cell {
        border-radius: 12px !important;
        box-shadow: 
            0 8px 20px rgba(26, 26, 62, 0.15),
            0 0 0 2px #ffffff,
            0 0 0 4px rgba(201, 169, 97, 0.6) !important;
    }

    .gallery-item::after,
    .gallery-baby-item::after,
    .gallery-cell::after {
        font-size: 32px !important;
    }
}


/* ============================================================
   SECTION RSVP — "Confirmez votre présence"
   Design royal soigné
   ============================================================ */

/* Conteneur principal */
.rsvp-section,
.rsvp,
.section.rsvp {
    position: relative !important;
    padding: 100px 20px !important;
    background: 
        radial-gradient(ellipse at top, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at bottom, rgba(74, 14, 46, 0.05) 0%, transparent 60%),
        linear-gradient(180deg, #faf7f2 0%, #f5ecd7 100%) !important;
    overflow: hidden !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.rsvp-section::before,
.rsvp::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(201, 169, 97, 0.06) 0%, transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(201, 169, 97, 0.06) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
}

.rsvp-section > *,
.rsvp > * {
    position: relative;
    z-index: 2;
}

/* Titre de section */
.rsvp-section .section-title,
.rsvp .section-title,
.rsvp-section h2 {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(48px, 7vw, 76px) !important;
    color: #1a1a3e !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    position: relative !important;
}

/* Ornement sous le titre */
.rsvp-section .section-title::after,
.rsvp .section-title::after,
.rsvp-section h2::after {
    content: '✦  ◆  ✦' !important;
    display: block !important;
    font-family: 'Cinzel', serif !important;
    font-size: 14px !important;
    color: #c9a961 !important;
    letter-spacing: 15px !important;
    margin-top: 20px !important;
    text-indent: 15px;
}

/* Sous-titre : date limite */
.rsvp-section .section-sub,
.rsvp .section-sub,
.rsvp-subtitle {
    text-align: center !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 18px !important;
    color: #6b6456 !important;
    font-style: italic !important;
    margin-bottom: 50px !important;
    letter-spacing: 1px !important;
}

.rsvp-section .section-sub strong,
.rsvp .section-sub strong,
.rsvp-subtitle strong {
    color: #8b7238 !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* ============================================================
   FORMULAIRE RSVP
   ============================================================ */

.rsvp-form,
form.rsvp-form,
.rsvp-form-bday {
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 50px 45px !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 
        0 25px 70px rgba(26, 26, 62, 0.1),
        0 0 0 1px rgba(201, 169, 97, 0.25),
        inset 0 0 40px rgba(201, 169, 97, 0.03) !important;
    position: relative !important;
    overflow: visible !important;
}

/* Ornement décoratif en haut du formulaire */
.rsvp-form::before {
    content: '✦' !important;
    position: absolute !important;
    top: -22px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, #c9a961, #8b7238) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 20px !important;
    box-shadow: 
        0 8px 25px rgba(201, 169, 97, 0.5),
        0 0 0 4px #faf7f2 !important;
    z-index: 3 !important;
}

/* Lignes décoratives */
.rsvp-form::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, transparent, #c9a961, #4a0e2e, #c9a961, transparent) !important;
    border-radius: 28px 28px 0 0 !important;
}

/* ============================================================
   GROUPES DE CHAMPS
   ============================================================ */

.rsvp-form .form-group,
.rsvp-form .fg {
    margin-bottom: 24px !important;
}

/* Ligne de 2 champs côte à côte */
.rsvp-form .form-row,
.rsvp-form .form-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin-bottom: 24px !important;
}

/* Labels */
.rsvp-form label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 12px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #1a1a3e !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.rsvp-form label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #c9a961;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Inputs */
.rsvp-form input[type="text"],
.rsvp-form input[type="tel"],
.rsvp-form input[type="email"],
.rsvp-form select,
.rsvp-form textarea {
    width: 100% !important;
    padding: 16px 20px !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 17px !important;
    color: #1a1a3e !important;
    background: #faf7f2 !important;
    border: 2px solid rgba(201, 169, 97, 0.25) !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    border-color: #c9a961 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15), 0 4px 15px rgba(201, 169, 97, 0.1) !important;
    transform: translateY(-2px) !important;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: #999082 !important;
    font-style: italic !important;
}

.rsvp-form textarea {
    resize: vertical !important;
    min-height: 110px !important;
    line-height: 1.7 !important;
    font-family: 'Cormorant Garamond', serif !important;
}

.rsvp-form select {
    cursor: pointer !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    padding-right: 45px !important;
}

/* ============================================================
   RADIO BUTTONS (présence)
   ============================================================ */

.rsvp-form .radio-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.rsvp-form .radio-option {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px 20px !important;
    background: #faf7f2 !important;
    border: 2px solid rgba(201, 169, 97, 0.25) !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 17px !important;
    color: #1a1a3e !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

.rsvp-form .radio-option:hover {
    border-color: #c9a961 !important;
    background: #ffffff !important;
    transform: translateX(4px) !important;
}

.rsvp-form .radio-option input {
    display: none !important;
}

.rsvp-form .radio-custom {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    border: 2px solid #c9a961 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
}

.rsvp-form .radio-option input:checked + .radio-custom {
    background: #c9a961 !important;
    border-color: #8b7238 !important;
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.2) !important;
    transform: scale(1.1) !important;
}

.rsvp-form .radio-option input:checked + .radio-custom::after {
    content: '' !important;
    position: absolute !important;
    inset: 6px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
}

.rsvp-form .radio-option:has(input:checked) {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.05)) !important;
    border-color: #c9a961 !important;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.2) !important;
}

/* ============================================================
   MENU (choix repas)
   ============================================================ */

.rsvp-form .menu-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 8px !important;
}

.rsvp-form .menu-card {
    cursor: pointer !important;
    position: relative !important;
}

.rsvp-form .menu-card input {
    display: none !important;
}

.rsvp-form .menu-content {
    padding: 20px 15px !important;
    text-align: center !important;
    background: #faf7f2 !important;
    border: 2px solid rgba(201, 169, 97, 0.25) !important;
    border-radius: 14px !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.rsvp-form .menu-card:hover .menu-content {
    border-color: #c9a961 !important;
    background: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.15) !important;
}

.rsvp-form .menu-card input:checked + .menu-content {
    background: linear-gradient(135deg, #1a1a3e, #0d0d24) !important;
    border-color: #c9a961 !important;
    color: #e6c988 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(26, 26, 62, 0.3) !important;
}

.rsvp-form .menu-content h4 {
    font-family: 'Cinzel', serif !important;
    font-size: 14px !important;
    color: #1a1a3e !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    transition: color 0.3s !important;
}

.rsvp-form .menu-card input:checked + .menu-content h4 {
    color: #e6c988 !important;
}

/* ============================================================
   BOUTON D'ENVOI
   ============================================================ */

.rsvp-form .btn-submit,
.rsvp-form button[type="submit"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 22px 32px !important;
    margin-top: 30px !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #0d0d24 100%) !important;
    color: #e6c988 !important;
    border: 2px solid #c9a961 !important;
    border-radius: 50px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 15px !important;
    letter-spacing: 4px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 
        0 12px 30px rgba(26, 26, 62, 0.25),
        inset 0 0 20px rgba(201, 169, 97, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.rsvp-form .btn-submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    transition: left 0.6s !important;
}

.rsvp-form .btn-submit:hover::before {
    left: 100% !important;
}

.rsvp-form .btn-submit:hover {
    background: linear-gradient(135deg, #c9a961 0%, #8b7238 100%) !important;
    color: #1a1a3e !important;
    transform: translateY(-3px) !important;
    box-shadow: 
        0 18px 45px rgba(201, 169, 97, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

.rsvp-form .btn-submit:active {
    transform: translateY(-1px) !important;
}

/* ============================================================
   MESSAGE DE SUCCÈS
   ============================================================ */

.rsvp-success,
.rsvp-success-bday,
.rsvp-success-min {
    display: none !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 70px 45px !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #0d0d24 100%) !important;
    border: 2px solid #c9a961 !important;
    border-radius: 28px !important;
    text-align: center !important;
    color: #f5f0e1 !important;
    box-shadow: 
        0 30px 80px rgba(26, 26, 62, 0.4),
        0 0 60px rgba(201, 169, 97, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.rsvp-success.show,
.rsvp-success-bday.show,
.rsvp-success-min.show {
    display: block !important;
    animation: rsvpSuccessIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes rsvpSuccessIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.rsvp-success::before,
.rsvp-success-bday::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.rsvp-success-icon,
.rsvp-success-bday .success-emoji {
    font-size: 80px !important;
    margin-bottom: 25px !important;
    filter: drop-shadow(0 0 30px #c9a961) !important;
    animation: successIconPulse 2s ease-in-out infinite !important;
    position: relative !important;
    display: block !important;
}

@keyframes successIconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 30px #c9a961); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 50px #e6c988); }
}

.rsvp-success h3,
.rsvp-success-bday h3 {
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(48px, 6vw, 68px) !important;
    color: #e6c988 !important;
    margin-bottom: 20px !important;
    font-weight: 400 !important;
    text-shadow: 0 0 40px rgba(201, 169, 97, 0.5) !important;
    position: relative !important;
}

.rsvp-success p,
.rsvp-success-bday p {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: rgba(245, 240, 225, 0.9) !important;
    position: relative !important;
}

.rsvp-success-note,
.rsvp-success-bday .success-note {
    font-style: italic !important;
    margin-top: 20px !important;
    color: #c9a961 !important;
    font-size: 16px !important;
    position: relative !important;
}

/* ============================================================
   NOTE PERSONNALISÉE (message aux invités)
   ============================================================ */

.rsvp-custom-message,
.rsvp-baby-note,
.rsvp-baby-place,
.rsvp-baby-hours {
    text-align: center !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 17px !important;
    color: #6b6456 !important;
    font-style: italic !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
    margin: 30px auto 0 !important;
    padding: 0 20px !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .rsvp-section,
    .rsvp,
    .section.rsvp {
        padding: 70px 15px !important;
    }

    .rsvp-form,
    form.rsvp-form {
        padding: 40px 25px !important;
        border-radius: 22px !important;
    }

    .rsvp-form .form-row,
    .rsvp-form .form-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .rsvp-form .menu-grid {
        grid-template-columns: 1fr !important;
    }

    .rsvp-form .btn-submit {
        padding: 18px 24px !important;
        font-size: 13px !important;
        letter-spacing: 3px !important;
    }

    .rsvp-success {
        padding: 55px 30px !important;
        border-radius: 22px !important;
    }

    .rsvp-success-icon {
        font-size: 64px !important;
    }
}

@media (max-width: 480px) {
    .rsvp-section .section-title,
    .rsvp .section-title {
        font-size: 44px !important;
    }

    .rsvp-section .section-title::after {
        font-size: 11px !important;
        letter-spacing: 8px !important;
    }

    .rsvp-form {
        padding: 35px 20px !important;
    }

    .rsvp-form .radio-option {
        padding: 14px 16px !important;
        font-size: 16px !important;
    }

    .rsvp-success h3 {
        font-size: 42px !important;
    }
}



