/* ==========================================================
   RESET & BASE
   ========================================================== */
.env-prod {
    color: #d32f2f;
    font-weight: bold;
}

.env-dev {
    color: #388e3c;
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    background: #1c2433;
    /* bleu nuit */
    color: #ece5d8;
    /* parchemin clair */
    line-height: 1.6;
}

:root {
    --header-height: 88px;
}

.is-hidden {
    display: none !important;
}

/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(28, 36, 51, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(214, 181, 108, .25);
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    letter-spacing: .25em;
    color: #d6b56c;
    text-transform: uppercase;
}

.logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    color: #f1d9a0;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(214, 181, 108, .35);
    background: rgba(28, 36, 51, .35);
    color: #f1d9a0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle-bars {
    position: relative;
    width: 22px;
    height: 2px;
    background: #f1d9a0;
    border-radius: 2px;
    display: block;
    transition: transform .25s ease, background .25s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #f1d9a0;
    border-radius: 2px;
    transition: transform .25s ease, top .25s ease;
}

.nav-toggle-bars::before {
    top: -7px;
}

.nav-toggle-bars::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-backdrop[hidden] {
    display: none;
}

.nav-backdrop {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    z-index: 105;
}

body.nav-open {
    overflow: hidden;
}

.nav a {
    margin-left: 26px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .08em;
    color: #ece5d8;
    transition: color .3s ease;
}

.nav a:first-child {
    margin-left: 0;
}

.nav-home-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    letter-spacing: 0;
}

.nav-logo {
    height: 46px;
    width: auto;
    display: block;
}

.nav a:hover {
    color: #f1d9a0;
}

@media (max-width: 899px) {
    /* No blur when the hamburger menu is open on mobile */
    .nav-backdrop {
        backdrop-filter: none;
    }

    .nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    /* Drawer */
    .nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        height: calc(100vh - var(--header-height));
        width: min(86vw, 360px);
        padding: 16px 16px 16px;
        background: rgba(28, 36, 51, .96);
        border-left: 1px solid rgba(214, 181, 108, .25);
        backdrop-filter: none;
        z-index: 120;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;

        transform: translateX(105%);
        transition: transform .25s ease;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav a {
        margin-left: 0;
        width: 100%;
        padding: 12px 10px;
        border-radius: 12px;
        font-size: 16px;
        letter-spacing: .06em;
        background: rgba(241, 217, 160, .06);
        border: 1px solid rgba(214, 181, 108, .18);
    }

    .nav a:hover {
        background: rgba(241, 217, 160, .10);
    }

    .nav-home-logo {
        display: none;
    }

    .logo-link {
        gap: 10px;
        min-width: 0;
    }

    .logo-title {
        font-size: 12px;
        letter-spacing: .18em;
    }

    .logo-name {
        font-size: 20px;
    }
}

/* Header logo image */
.site-logo {
    height: 56px;
    width: auto;
    display: block;
}

/* ==========================================================
   MAIN
   ========================================================== */

main {
    padding-top: 0;
}

/* ==========================================================
   SECTIONS
   ========================================================== */

.section {
    padding: 120px 8%;
    text-align: center;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 60px;
    letter-spacing: .08em;
}

/* Section claire type parchemin */
.section-light {
    background: #ece5d8;
    color: #1b1b1b;
}

/* Section sombre */
.section-dark {
    background: #1c2433;
    color: #ece5d8;
}

.section-light h2,
.section-light .section-title {
    color: #1c2433;
}

.section-dark h2,
.section-dark .section-title {
    color: #f1d9a0;
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    background: #141a25;
    border-top: 1px solid rgba(214, 181, 108, .25);
    padding: 40px 20px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    font-size: 13px;
    letter-spacing: .08em;
    color: #cfc6b8;
}

.footer-meta {
    font-size: 11px;
    opacity: 0.8;
}

.hidden-live-link {
    position: fixed;
    left: 8px;
    bottom: 8px;
    width: 12px;
    height: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6b56c;
    opacity: 0.06;
    z-index: 60;
    user-select: none;
}

.hidden-live-link:hover,
.hidden-live-link:focus-visible {
    opacity: 0.45;
}

/* === LIENS NEUTRES === */
a,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

/* === PAGE LOGIN === */
.login-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c2433;
}

/* === BOX LOGIN === */
.login-wrapper {
    width: 380px;
    background: rgba(28, 36, 51, 0.95);
    border: 1px solid rgba(214, 181, 108, .35);
    padding: 36px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.login-wrapper h1 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    margin-bottom: 30px;
    color: #f1d9a0;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.login-wrapper label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: .08em;
    color: #d6d9de;
}

.login-wrapper input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 22px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    background: rgba(255, 255, 255, .95);
    color: #111;
    font-family: inherit;
}

.login-wrapper button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #d6b56c, #bfa25a);
    color: #1c2433;
    border: none;
    font-size: 14px;
    letter-spacing: .12em;
    font-weight: 600;
    cursor: pointer;
    border-radius: 999px;
}

.login-wrapper button:hover {
    background: linear-gradient(135deg, #f1d9a0, #d6b56c);
}

.login-error {
    background: rgba(140, 47, 47, .25);
    border-left: 4px solid #8c2f2f;
    color: #f1caca;
    padding: 12px 14px;
    margin-bottom: 22px;
    font-size: 13px;
}

/* ==========================================================
   UTILITAIRES
   ========================================================== */

.address {
    margin-top: 40px;
    font-weight: 500;
}

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

@media (max-width: 599px) {
    :root {
        --header-height: 76px;
    }

    .header-inner {
        padding: 10px 11px;
    }

    .logo-name {
        font-size: 20px;
    }

    .nav a {
        margin-left: 16px;
        font-size: 13px;
    }

    .section {
        padding: 80px 6%;
    }

    .section h2 {
        font-size: 32px;
    }
}

/* ==========================================================
   HERO
   ========================================================== */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-link:visited,
.logo-link:hover,
.logo-link:active {
    color: inherit;
    text-decoration: none;
}

.hero {
    min-height: 100vh;
    padding: 160px 8% 120px;
    background:
        radial-gradient(circle at top, rgba(241, 217, 160, .12), transparent 60%),
        #1c2433;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(214, 181, 108, .6);
    border-radius: 999px;
    color: #d6b56c;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 13px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 600;
    color: #f1d9a0;
    letter-spacing: .08em;
}

.hero-sub {
    display: block;
    font-family: 'Playfair Display', serif;
    letter-spacing: .25em;
    opacity: .8;
}

/* ==========================================================
   CAROUSEL (AARON + SALLE)
   ========================================================== */
/* ==========================================================
   CARD – VARIANTE FÊTE (INVERSE / CONTRASTÉ)
   ========================================================== */
#fete {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: center;
    column-gap: 20px;
    row-gap: 20px;
}

#fete>h2 {
    grid-column: 1 / -1;
    grid-row: 1;
}

#fete .card-fete {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: center;
}

#fete .carousel-fete {
    grid-column: 1 / -1;
    grid-row: 3;
}

.card-synagogue {
    margin: 60px auto 0;
}


.card-fete {
    background: #1c2433;
    /* fond sombre */
    color: #ece5d8;
    /* texte clair */
    border-radius: 18px;
    padding: 28px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    width: min(520px, 100%);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 1px solid rgba(214, 181, 108, .35);
}

.card-fete h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #d6b56c;
    /* doré */
}

.card-fete .date {
    font-size: 0.9rem;
    margin-bottom: 18px;
    opacity: .9;
}

.card-fete .time {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 999px;
    background: #d6b56c;
    /* inversion bouton */
    color: #1c2433;
    font-weight: 600;
    margin-bottom: 18px;
}

.card-fete .location {
    font-size: .95rem;
    line-height: 1.5;
}

/* === FETE : CAROUSEL FULL WIDTH === */

#fete {
    padding-left: 0;
    padding-right: 0;
}

#fete .carousel-fete {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

#fete .carousel-fete img {
    display: block;
    width: 100%;
}

/* RSVP deadlines only */
.rsvp-title {
    margin-bottom: 0.6rem;
    display: block;
}

.rsvp-deadline {
    display: block;
    /* force en dessous */
    margin-top: 4px;
    font-size: 0.75rem;
    /* plus petit */
    font-weight: 500;
    color: #e91717;
}

.carousel-section {
    background: #1c2433;
    padding: 60px 0;
}

.hero-carousel {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 1px #d6b56c;
    position: relative;
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-top: 2px solid #d6b56c;
    /* MODIFIER */
    border-bottom: 2px solid #d6b56c;
    /* MODIFIER */
    border-left: none;
    /* AJOUT */
    border-right: none;
    /* AJOUT */
    pointer-events: none;
    z-index: 10;
}

.hero-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;

    /* MODIFIER / AJOUTER */
    background:
        linear-gradient(to right,
            transparent,
            #d6b56c,
            transparent) top / 100% 2px no-repeat,

        linear-gradient(to right,
            transparent,
            #d6b56c,
            transparent) bottom / 100% 2px no-repeat;
}

/* Variante Salle */
.hero-carousel.carousel-fete {
    height: 320px;
}

/* Bande animée */
.hero-carousel .slides {
    display: flex;
    height: 100%;
    animation: carouselScroll 45s linear infinite;
    will-change: transform;
}

/* Images */
.hero-carousel img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    filter: brightness(.96) contrast(1.05);
    transition: transform 1.2s ease, filter 1.2s ease;
}

/* Hover léger */
@media (hover:hover) {
    .hero-carousel img:hover {
        transform: scale(1.03);
        filter: brightness(1.08);
    }
}

/* ==========================================================
   ASSOMBRISSEMENT GAUCHE / DROITE (LES 2 CAROUSELS)
   ========================================================== */

.hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to right,
            rgba(28, 36, 51, .95) 0%,
            rgba(28, 36, 51, .75) 6%,
            transparent 18%,
            transparent 82%,
            rgba(28, 36, 51, .75) 94%,
            rgba(28, 36, 51, .95) 100%);
}

/* Animation UNIQUE */
@keyframes carouselScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* ==========================================================
   CARTES HORAIRES
   ========================================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin: 60px auto;
    max-width: 1100px;
}

.card {
    padding: 40px 30px;
    border-radius: 18px;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .95),
            rgba(236, 229, 216, .95));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
}

.card h3 {
    font-family: 'Playfair Display', serif;
    color: #1c2433;
    margin-bottom: 12px;
}

.card p {
    font-weight: 500;
    color: #333;
}
.input-help {
	display: block;
	font-size: 0.85rem;
	color: #666;
	margin-top: 4px;
}

/* ==========================================================
   VIDEO BAND
   ========================================================== */
.video-carousel-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
    bottom: 24px;
    height: auto;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.video-carousel-bg .slides {
    display: flex;
    width: max-content;
    height: 100%;
    animation: carouselBgScroll 120s linear infinite;
    will-change: transform;
}

.video-carousel-bg img {
    height: 100%;
    width: 100vw;
    flex-shrink: 0;
    object-fit: cover;
    filter: brightness(0.6) blur(1px);
}

/* ================= VIDEO BAND – 2 LIGNES ================= */

.video-carousel-bg.two-lines {
    position: absolute;
    inset: 24px 0 calc(24px + var(--dedication-space));
}

.video-carousel-bg.two-lines::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 3;
    background:
        linear-gradient(to right,
            rgba(214, 181, 108, 0.00) 0%,
            rgba(214, 181, 108, 0.70) 18%,
            rgba(241, 217, 160, 0.95) 50%,
            rgba(214, 181, 108, 0.70) 82%,
            rgba(214, 181, 108, 0.00) 100%),
        radial-gradient(120px 28px at center,
            rgba(241, 217, 160, 0.95) 0%,
            rgba(214, 181, 108, 0.65) 45%,
            rgba(214, 181, 108, 0.00) 72%);
    background-repeat: no-repeat;
    background-size: 100% 2px, 170px 28px;
    background-position: center, -10% 50%;
    box-shadow:
        0 0 10px rgba(214, 181, 108, 0.65),
        0 0 26px rgba(214, 181, 108, 0.35);
    animation: k2000Sweep 2.9s ease-in-out infinite alternate;
}

.video-carousel-bg.two-lines .slides {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    height: 50%;
    width: max-content;
    animation: carouselBgScroll 120s linear infinite;
}

.video-carousel-bg.two-lines .line-1 {
    top: 0;
}

.video-carousel-bg.two-lines .line-2 {
    bottom: 0;
    animation-direction: reverse;
}

.video-carousel-bg.two-lines img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    filter: brightness(.8) blur(0.5px);
    margin-right: 10px;
}


.video-frame {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}

.video-media {
    position: relative;
    display: inline-block;
    width: min(100%, 720px);
}

.video-media video {
    height: auto;
    display: block;
}


.video-replay-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-width: 54px;
    height: 36px;
    padding: 0 14px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(214, 181, 108, 0.78);
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 6;
    justify-content: center;
}


/* ==========================================================
   VIDEO CAROUSEL – EFFETS IDENTIQUES GALERIE
   ========================================================== */

.video-carousel-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(to right,
            rgba(28, 36, 51, .95) 0%,
            rgba(28, 36, 51, .75) 6%,
            transparent 18%,
            transparent 82%,
            rgba(28, 36, 51, .75) 94%,
            rgba(28, 36, 51, .95) 100%);
}

.video-carousel-bg img {
    filter: brightness(.85) contrast(1.05) blur(1px);
    transition: filter 1.2s ease;
}

@keyframes carouselBgScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes k2000Sweep {
    from {
        background-position: center, -10% 50%;
    }

    to {
        background-position: center, 110% 50%;
    }
}

@keyframes dedicationBorderOrbit {
    from {
        offset-distance: 0%;
    }

    to {
        offset-distance: 100%;
    }
}

@keyframes dedicationBorderFlicker {
    0%,
    100% {
        opacity: 0.88;
        filter: saturate(1.0);
    }

    17% {
        opacity: 0.55;
        filter: saturate(1.15);
    }

    43% {
        opacity: 0.96;
        filter: saturate(1.25);
    }

    72% {
        opacity: 0.62;
        filter: saturate(0.95);
    }
}

.video-band {
    position: relative;
    --dedication-space: 100px;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 24px 0;
}

#video-shoul {
    max-height: 100%;
    width: 100%;
    max-width: 720px;
    border-radius: 18px;
    border: 1px solid #d6b56c;
    box-shadow:
        0 0 0 1px rgba(214, 181, 108, 0.4),
        0 30px 80px rgba(0, 0, 0, 0.45);    
}


/* Foreground video */
.video-band-inner {
    position: relative;
    z-index: 3;
    width: min(94vw, 980px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
}

.video-band-video {
    height: 100%;
    max-height: 100%;
    width: auto;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}


#video-shoul::after {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 2px solid #d6b56c;
    border-bottom: 2px solid #d6b56c;
    border-radius: 18px;
    pointer-events: none;
}

.video-sound-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-width: 54px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(214, 181, 108, 0.78);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);

    color: #fff;
    font-size: 14px;
    line-height: 1;

    cursor: pointer;

    white-space: nowrap;
    /* 🔑 empêche retour ligne */
    max-width: none;
    /* 🔑 pas de wrap mobile */
    justify-content: center;
}


.sound-text,.replay-text {
    white-space: nowrap;
}

.sound-icon,.replay-icon {
    font-size: 20px;
}

/* ==========================================================
   RSVP
   ========================================================== */
/* ==========================================================
   BOUTON RSVP FLOTTANT
   ========================================================== */

.rsvp-floating-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    padding: 12px 18px;
    border-radius: 30px;

    background: linear-gradient(135deg, #d8c48a, #bfa25a);
    color: #1c1c1c !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rsvp-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}



@keyframes rsvp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(216, 196, 138, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(216, 196, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(216, 196, 138, 0);
    }
}

.rsvp-floating-btn {
    animation: rsvp-pulse 3s infinite;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 20px;
}

.rsvp-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 10px;
}

.rsvp-icon i {
    font-size: 6.5rem;
    color: #d8c48a;
    /* couleur du site */
}

.rsvp-form input,
.rsvp-form textarea {
    width: 100%;
    padding: 10px 11px;
    border-radius: 10px;
    border: none;
    font-size: 0.9rem;
    background: #ffffff;
    color: #111;
    box-sizing: border-box;
    font-family: inherit;
}

.rsvp-form textarea {
    resize: vertical;
    min-height: 120px;
    background: rgba(255, 255, 255, .9);
}

.section-dark .rsvp-form {
    max-width: 420px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsvp-form input,
.rsvp-form button {
    padding: 14px;
    border-radius: 7px;
    border: none;
    font-size: 15px;
}

.rsvp-form input {
    background: rgba(255, 255, 255, .9);
}

.rsvp-form button {
    background: #d6b56c;
    color: #1c2433;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
}

.rsvp-form button:hover {
    background: #f1d9a0;
}

.rsvp-note {
    font-size: 13px;
    opacity: .7;
    color: darkorange;
}

/* ================= INFO RSVP ================= */
.rsvp-choice {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #d6d9de;
}

.rsvp-field {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 14px;
}

.rsvp-error {
    margin: 14px 0;
    padding: 12px 16px;
    background: rgba(140, 47, 47, 0.15);
    border-left: 4px solid #8c2f2f;
    color: #f1caca;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 6px;
}

.rsvp-field label {
    font-size: 0.9rem;
    color: #d6d9de;
    opacity: 0.85;
}

.rsvp-choice input {
    margin-right: 6px;
}

.rsvp-info {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #aaa;
    text-align: center;
    line-height: 1.4;
}

/* ================= RSVP OVERLAY (SITE COLORS) ================= */
.rsvp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    opacity: 1;

    width: 100vw;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(14, 15, 17, 0.92);
    /* fond site */
    backdrop-filter: blur(6px);
    z-index: 99999;
}

.rsvp-box {
    background:
        url('/assets/images/bg/bg-silver-gradient.png') center / cover no-repeat,
        #f5f6f7;

    padding: 50px 60px;
    border-radius: 20px;
    text-align: center;
    max-width: 440px;
    width: calc(100% - 40px);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.rsvp-box p {
    font-size: 1.35rem;
    margin-bottom: 30px;
    line-height: 1.4;
    font-family: 'Playfair Display', serif;
    color: #111;
}

/* SUCCESS */
.rsvp-overlay.success .rsvp-box p {
    color: #1f7a5a;
    /* vert sobre */
    font-weight: 600;
}

/* ERROR */
.rsvp-overlay.error .rsvp-box p {
    color: #8c2f2f;
    /* rouge bordeaux */
    font-weight: 600;
}

/* Bouton */
.rsvp-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 999px;

    background: #0e0f11;
    color: #d6d9de;

    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;

    transition: background 0.3s ease, color 0.3s ease;
}

.rsvp-btn:hover {
    background: #1a1c20;
    color: #ffffff;
    cursor: pointer;
}

.hero-dedication {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    margin: 12px auto 0;
    font-size: 0.9rem;
    color: #d6d9de;
    background: rgba(26, 28, 32, 0.84);
    opacity: 0.9;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 8px 54px;
    border-radius: 18px;
    border: 1px solid #d6b56c;
    box-shadow:
        0 0 0 1px rgba(214, 181, 108, 0.22),
        0 0 18px rgba(214, 181, 108, 0.25);
    z-index: 6;
    overflow: hidden;
}

.hero-dedication::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 3px;
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(214, 181, 108, 0.0) 0%,
            rgba(241, 217, 160, 0.98) 50%,
            rgba(214, 181, 108, 0.0) 100%);
    box-shadow:
        0 0 5px rgba(241, 217, 160, 0.82),
        0 0 12px rgba(214, 181, 108, 0.55),
        0 0 20px rgba(214, 181, 108, 0.28);
    offset-path: inset(1px round 18px);
    offset-distance: 0%;
    offset-rotate: auto;
    animation:
        dedicationBorderOrbit 3.2s linear infinite alternate,
        dedicationBorderFlicker 1.75s steps(2, end) infinite;
}

.section-horaires {
    background: #efe8dc;
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #d4b26a;
    margin-bottom: 50px;
}

.horaires-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto 50px;
}


.horaire-card {
    background: #faf7f2;
    border-radius: 18px;
    padding: 32px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    position: relative;
}

.horaire-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1d1d1d;
}

.horaire-sub {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 10px;
}

.horaire-date {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 18px;
}

.horaire-time {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    color: #d4b26a;
    border: 1px solid #d4b26a;
    padding: 6px 14px;
    border-radius: 20px;
}

.horaires-lieu {
    font-size: 0.95rem;
    color: #222;
    line-height: 1.6;
}

/* ==========================================================
   DASHBOARD – ALERT CARD
   ========================================================== */
.card-alert {
    border-left: 6px solid #8c2f2f;
    background: linear-gradient(180deg,
            rgba(255, 245, 245, .95),
            rgba(236, 200, 200, .95));
}

.card-alert h3 {
    color: #8c2f2f;
}

.card-alert .stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #8c2f2f;
}


}


.rsvp-existing-summary {
    position: relative !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 300px !important;
    max-width: calc(100vw - 28px) !important;
    margin: 16px auto 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: rgba(18, 23, 33, 0.97) !important;
    border: 2px solid rgba(214, 181, 108, 0.78) !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42) !important;
    padding: 14px 14px !important;
    z-index: auto !important;
}

.rsvp-existing-summary__title {
    font-family: 'Playfair Display', serif;
    color: #f1d9a0;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.rsvp-existing-summary__content {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #ece5d8;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.rsvp-existing-summary__content p {
    margin: 0 0 8px;
}

.rsvp-existing-summary__content strong {
    color: #d6b56c;
    font-weight: 600;
}

.rsvp-existing-summary__edit-btn {
    margin-top: 10px;
    width: 100%;
    border: 1px solid rgba(214, 181, 108, 0.55);
    background: #d6b56c;
    color: #1c2433;
    border-radius: 7px;
    padding: 8px 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.rsvp-existing-summary__edit-btn:hover {
    background: #f1d9a0;
}

@media (max-width: 768px) {
    .rsvp-existing-summary {
        width: calc(100vw - 16px) !important;
        margin: 12px auto 0 !important;
    }
}



.rsvp-actions {
    display: flex;
    gap: 10px;
}

.rsvp-actions button {
    flex: 1;
}

.rsvp-form .rsvp-cancel-btn {
    background: transparent;
    color: #ece5d8;
    border: 1px solid rgba(214, 181, 108, 0.45);
}

.rsvp-form .rsvp-cancel-btn:hover {
    background: rgba(236, 229, 216, 0.12);
}
