/* ============================================
   MARIAGE EDEN & AARON
   Design Mobile-First (même sur desktop)
   ============================================ */

/* Polices locales */
@font-face {
    font-family: 'Le Jour Serif';
    src: url('../fonts/LeJourSerif.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Amoresa';
    src: url('../fonts/Amoresa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    /* Couleurs du design */
    --color-title: #9d3204;
    --color-script: #C9A86C;
    --color-card-bg: #d69086;
    --color-card-text: #5C3D3D;
    --color-white: #ffffff;

    /* Polices */
    --font-title: 'Le Jour Serif', 'Times New Roman', serif;
    --font-script: 'Amoresa', cursive;
    --font-body: 'Georgia', serif;

    /* Mobile dimensions */
    --mobile-width: 430px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background: #f3e9e2 url('../images/paper-texture.png') center top / cover no-repeat fixed;
    overflow-x: hidden;
}

/* Bloquer le scroll au départ */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

/* ===== WELCOME SECTION (Page d'accueil) ===== */
.welcome-section {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 50;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.welcome-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Fond unique pour welcome */
.welcome-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #F5EDE4 0%, #E8DDD5 50%, #D4C4B5 100%);
    z-index: 1;
}

/* Contenu welcome centré */
.welcome-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 30px;
}

/* Titre Eden & Aaron — écriture manuscrite */
.welcome-names-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.welcome-names {
    display: inline-block;
    width: auto;
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 2.3rem;
    color: #9d3204;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
    padding: 0.6em 1em 0.35em;
    /* révélation gauche -> droite avec un bord d'encre doux */
    -webkit-mask-image: linear-gradient(to right, #000 60%, rgba(0,0,0,0) 70%);
    mask-image: linear-gradient(to right, #000 60%, rgba(0,0,0,0) 70%);
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: handwrite 2.6s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.4s;
}

@keyframes handwrite {
    from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
    to   { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}

/* Plume qui avance le long du tracé */
.welcome-pen {
    position: absolute;
    top: -8px;
    left: 0;
    width: 30px;
    height: 30px;
    opacity: 0;
    transform: translateX(-55%);
    animation: penMove 2.6s cubic-bezier(0.65, 0, 0.35, 1) forwards 0.4s;
}

.welcome-pen svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.18));
}

@keyframes penMove {
    0%   { left: 3%;   opacity: 0; }
    7%   { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* The Wedding */
.welcome-subtitle {
    font-family: var(--font-script);
    font-size: 1.6rem;
    font-weight: normal;
    color: #9d3204;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 3s;
}

/* Boutons de choix de langue */
.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 280px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 3.4s;
}

.btn-welcome {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    background: transparent;
    color: var(--color-title);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 2px solid var(--color-title);
    border-radius: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-welcome:hover {
    background: var(--color-title);
    color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(140, 79, 70, 0.3);
}

.btn-hebrew {
    font-size: 1.1rem;
    direction: rtl;
}

/* ===== LOADER SECTIONS ===== */
.loader-section {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-section.active {
    opacity: 1;
    visibility: visible;
}

/* Loader Henné - fond beige */
.loader-henne {
    background: #F5EBE0;
}

/* Loader Houppa - fond papier */
.loader-houppa {
    background: #F5EBE0 url('../images/paper-texture.png') center center / cover no-repeat;
}

.loader-icon-houppa {
    width: 200px;
    animation: loaderPulse 2s ease-in-out infinite;
}

/* ===== MONOGRAMME E & A (remplace les anciennes images) ===== */
.monogram-badge {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(157, 50, 4, 0.35);
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px rgba(157, 50, 4, 0.08);
    background: rgba(255, 255, 255, 0.35);
}

.monogram-initials {
    font-family: var(--font-script);
    font-size: 4rem;
    line-height: 1;
    color: #9d3204;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.monogram-amp {
    font-size: 0.5em;
    margin: 0 0.12em;
    vertical-align: 0.35em;
    opacity: 0.8;
}

.monogram-inline {
    display: inline-block;
    font-size: 2.8rem;
    margin-top: 4px;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Contenu du loader */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px;
}

/* Icône centrale (chameau) */
.loader-icon {
    width: 180px;
    height: auto;
    margin-bottom: 40px;
    animation: loaderBounce 2s ease-in-out infinite;
}

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

/* Points de chargement */
.loader-dots {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.loader-dots .dot {
    width: 12px;
    height: 12px;
    background: #9d3204;
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
}

.loader-dots .dot:nth-child(1) {
    animation-delay: 0s;
}

.loader-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loader-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Monogramme en bas */
.loader-monogram {
    position: absolute;
    bottom: 60px;
    width: 170px;
    height: auto;
    opacity: 0.4;
}

/* ===== LAYOUT MOBILE-FIRST ===== */
.hero {
    position: relative;
    width: 100%;
    max-width: var(--mobile-width);
    height: 100vh;
    height: 100dvh;
    min-height: -webkit-fill-available;
    margin: 0 auto;
    overflow: hidden;
}

/* Background image avec fade-in */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeInBg 1.5s ease forwards;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ===== HERO CONTENT - Centré ===== */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    padding-bottom: 550px;
}

/* Wrapper pour titre + subtitle + box (centré) */
.hero-titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -15vh;
}

/* ===== TITRE - EDEN & AARON ===== */
.couple-names {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: 37px;
    color: var(--color-title);
    text-align: center;
    letter-spacing: 0.12em;
    line-height: 1;

    /* Animation */
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

/* ===== THE WEDDING ===== */
.wedding-subtitle {
    font-family: var(--font-script);
    font-size: 1.5rem;
    font-weight: normal;
    color: #9d3204;
    margin-top: 0;

    /* Animation */
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

/* ===== BLOC ROSE ===== */
.info-card {
    position: absolute;
    bottom: 24%;
    left: 50%;
    transform: translateX(-50%);
    background: #d6908661;
    border-radius: 20px;
    padding: 18px 35px;
    width: 330px;
    text-align: center;

    /* Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.date-main {
    display: block;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: normal;
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
    margin-bottom: 2px;
}

.date-location {
    display: block;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: normal;
    color: #9d3204;
}

/* ===== COUNTDOWN (dans le bloc rose) ===== */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    margin-top: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}

.countdown-number {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.55rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 3px;
    opacity: 0.9;
}

.countdown-separator {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
    opacity: 0.7;
    animation: blink 1s ease-in-out infinite;
}

/* ===== BOUTONS HERO (Henné / Houppa) ===== */
.hero-buttons {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 350px;
    padding: 0 20px;

    /* Animation */
    opacity: 0;
    animation: fadeInBtn 0.8s ease forwards 1.2s;
}

.btn-event {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: #9d3204;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(140, 79, 70, 0.4);
    transition: all 0.3s ease;
}

.btn-event:hover {
    background: #6d3d36;
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(140, 79, 70, 0.5);
}

.btn-event svg {
    width: 14px;
    height: 14px;
    stroke: #ffffff;
}

.btn-rsvp-hero {
    background: transparent;
    border: 2px solid #9d3204;
    color: #9d3204;
    box-shadow: none;
    font-size: 0.75rem;
    padding: 10px 20px;
    letter-spacing: 1.5px;
}

.btn-rsvp-hero:hover {
    background: rgba(140, 79, 70, 0.1);
    box-shadow: none;
}

.btn-henne {
    background: #9d3204;
}

.btn-henne:hover {
    background: #a34406;
}

/* ===== SECTIONS - SYSTÈME DE PAGES ===== */
.section-page {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    max-width: var(--mobile-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    z-index: 10;
}

.section-page.active {
    opacity: 1;
    visibility: visible;
}

.hero {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ===== BOUTON RETOUR ===== */
.btn-back {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #9d3204;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #9d3204;
    color: #ffffff;
}

.btn-back svg {
    width: 16px;
    height: 16px;
}

.btn-back:hover svg {
    stroke: #ffffff;
}

/* ===== SECTION HENNÉ ===== */
.henne-section {
    background: #F5EBE0;
}

/* Fond - overlay */
.henne-background {
    display: none;
}

/* Arc oriental en haut (nouveau design) */
.henne-arch {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-bottom: 0;
}

.henne-arch img {
    width: 100%;
    max-width: 430px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Bordures dentelle sur les côtés */
.henne-lace-border {
    position: absolute;
    z-index: 1;
    width: 23px;
    height: auto;
    top: 15%;
    bottom: 0;
    object-fit: contain;
    object-position: top;
    opacity: 0.6;
}

.henne-lace-left {
    left: 0;
}

.henne-lace-right {
    right: 0;
    transform: scaleX(-1);
}

/* Carte beige centrale */
.henne-card {
    position: relative;
    z-index: 2;
    background: #f5ebe0;
    border-radius: 0;
    padding: 40px 25px 35px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1); */
    padding-top: 30px;
    margin: -20px auto 0 auto;
}

/* Titre HENNÉ avec mandala */
.henne-title {
    margin-bottom: 25px;
}

.henne-title img {
    width: 100%;
    max-width: 220px;
    height: auto;
}

/* Mères des mariés */
.henne-mothers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.mother-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #9d3204;
    /* font-style: italic; */
    font-family: var(--font-body);
    border-bottom: 1px solid;
}

.mother-separator {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: #9d3204;
}

/* Texte intro */
.henne-intro {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #5C3D3D;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

/* Noms du couple avec bordures */
.henne-couple-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.couple-border {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.henne-couple {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #9d3204;
    letter-spacing: 0.1em;
    margin: 8px 0;
}

/* Date et heure */
.henne-datetime {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.henne-date {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #5C3D3D;
    font-weight: 500;
}

.henne-time {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #9d3204;
    font-style: italic;
}

/* Lieu */
.henne-location {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.henne-venue {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #9d3204;
    letter-spacing: 0.05em;
}

.henne-venue-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #5C3D3D;
    font-style: italic;
}

/* Bouton Waze */
.henne-waze-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 25px;
    background: transparent;
    border: 1px solid #9d3204;
    color: #9d3204;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.henne-waze-btn:hover {
    background: #9d3204;
    color: #ffffff;
}

.henne-waze-btn svg {
    width: 16px;
    height: 16px;
}

/* Footer avec chameaux et monogramme */
.henne-footer {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.henne-footer img {
    width: 100%;
    height: auto;
    margin-top: 35px;
    border-top: 1px solid #8a442d;
    padding-top: 25px;
}

/* Boutons navigation Henné */
.henne-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.henne-nav-buttons .section-next-btn {
    margin-top: 0;
}

.btn-to-houppa {
    background: #5C3D3D;
    border: none;
    cursor: pointer;
}

.btn-to-houppa:hover {
    background: #4a3030;
}

/* ===== SECTION HOUPPA & SOIRÉE ===== */
.houppa-section {
    background: #f3e9e2 url('../images/paper-texture.png') center top / 100% 100% no-repeat;
    padding: 40px 15px 50px;
    justify-content: flex-start;
}

/* Fond - overlay */
.houppa-background {
    display: none;
}

/* Contenu principal */
.houppa-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px 25px 50px;
    margin: 0 auto;
}

/* בס"ד en haut à droite */
.houppa-bsd {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 0.9rem;
    color: #5C3D3D;
    direction: rtl;
}

/* Citation hébraïque + monogramme E & A */
.houppa-monogram {
    margin-bottom: 12px;
    text-align: center;
}

.houppa-quote-he {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #9d3204;
    direction: rtl;
    max-width: 340px;
    margin: 0 auto 2px;
}

/* Noms du couple */
.houppa-couple-img {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    margin: 8px 0 4px;
}

.couple-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.couple-first {
    font-family: var(--font-script);
    font-size: 2.6rem;
    line-height: 1.1;
    color: #9d3204;
}

.couple-he {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #9d3204;
    direction: rtl;
    margin-top: -2px;
}

.couple-amp {
    font-family: var(--font-script);
    font-size: 1.9rem;
    line-height: 1;
    color: #9d3204;
    align-self: center;
    margin-top: -10px;
}

/* Titre HOUPPA & SOIRÉE */
.houppa-title {
    margin-bottom: 15px;
    text-align: center;
}

.houppa-title-text {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9d3204;
    margin: 0;
}

/* Texte hébreu (quote) */
.houppa-hebrew-quote {
    margin-bottom: 25px;
    text-align: center;
}

.houppa-hebrew-quote p {
    font-size: 0.85rem;
    color: #9d3204;
    direction: rtl;
    font-style: italic;
}

.houppa-hebrew-quote img {
    max-width: 85%;
    height: auto;
}

/* Ancien style pour compatibilité */
.houppa-hebrew {
    margin-bottom: 25px;
    text-align: center;
}

.houppa-hebrew img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Parents */
.houppa-parents {
    display: flex;
    justify-content: center;
    gap: 38px;
    margin-bottom: 20px;
}

.parent-group {
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
    text-align: left;
}

.parent-name {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #5C3D3D;
    line-height: 1.4;
}

/* Intro */
.houppa-intro {
    font-family: var(--font-body);
    font-size: 16px;
    color: #9d3204;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Noms du couple */
.houppa-couple {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 5px;
}

.houppa-name {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: #9d3204;
    font-weight: 700;
}

.houppa-amp {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: #9d3204;
    font-weight: 700;
}

/* Noms hébreux */
.houppa-hebrew-names {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 15px;
}

.houppa-hebrew-names span {
    font-size: 0.8rem;
    color: #9d3204;
}

/* Texte cérémonie */
.houppa-ceremony-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #9d3204;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Date */
.houppa-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.houppa-date-main {
    font-family: var(--font-script);
    font-size: 1.55rem;
    font-weight: 700;
    color: #9d3204;
    line-height: 1.1;
    white-space: nowrap;
}

.houppa-date-hebrew {
    font-size: 1.2rem;
    color: #9d3204;
    margin: 3px 0;
}

.houppa-time {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #9d3204;
    font-style: italic;
}

/* Lieu */
.houppa-venue {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.venue-name {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: #9d3204;
    letter-spacing: 0.05em;
}

.venue-address {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #5C3D3D;
}

/* Bouton Waze */
.houppa-waze-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #9d3204;
    color: #9d3204;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.houppa-waze-btn:hover {
    background: #9d3204;
    color: #ffffff;
}

/* Image hôtel (ancien) */
.houppa-hotel-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.houppa-hotel-image img {
    width: 100%;
    height: auto;
}

/* Image venue (aquarelle Houppa) */
.houppa-venue-image {
    /* width: 100%; */
    margin-bottom: 20px;
    /* border-radius: 8px; */
    /* overflow: hidden; */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.houppa-venue-image img {
    width: 100%;
    max-width: 260px;
    height: auto;
}

/* Texte cocktail */
.houppa-cocktail {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5C3D3D;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Dédicace */
.houppa-dedication {
    position: relative;
    border-top: 1px solid #d4c4b5;
    padding-top: 20px;
}

.houppa-dedication p {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #9d3204;
    line-height: 1.4;
    margin-bottom: 3px;
}

.dedication-names {
    font-style: italic;
    color: #5C3D3D !important;
}

.dedication-closing {
    margin-top: 10px !important;
    font-style: italic;
}

/* Colombe */
.dedication-dove {
    position: absolute;
    bottom: 10px;
    right: -10px;
    width: 60px;
    height: auto;
}

/* ===== SECTION VOTRE SÉJOUR ===== */
.sejour-section {
    background: #F5EBE0;
    padding: 40px 15px 50px;
    justify-content: flex-start;
}

.sejour-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px 20px 50px;
    margin: 0 auto;
}

/* Header avec chameau et avion */
.sejour-header {
    margin-bottom: 25px;
}

.sejour-header img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* Titre */
.sejour-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #9d3204;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

/* Intro */
.sejour-intro {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #5C3D3D;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Signature */
.sejour-signature {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: #9d3204;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Image hôtel */
.sejour-hotel-image {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.sejour-hotel-image img {
    width: 100%;
    height: auto;
    max-width: 270px;
}

/* Liste des hôtels */
.sejour-hotels {
    margin-bottom: 30px;
}

.sejour-subtitle {
    font-family: var(--font-title);
    font-size: 20px;
    color: #D4763A;
    letter-spacing: 0.03em;
    margin-bottom: 15px;
}

.hotel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.hotel-list li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5C3D3D;
    padding: 5px 0;
    position: relative;
}

.hotel-list li::before {
    content: "•";
    color: #9d3204;
    margin-right: 8px;
}

/* Contact */
.sejour-contact {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #5C3D3D;
    line-height: 1.5;
}

.contact-phone {
    color: #9d3204;
    text-decoration: none;
    font-weight: 600;
}

.contact-phone:hover {
    text-decoration: underline;
}

/* AirBnB */
.sejour-airbnb {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #d4c4b5;
}

.sejour-airbnb-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5C3D3D;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Footer avec monogramme */
.sejour-footer {
    margin-bottom: -10px;
}

.sejour-monogram {
    width: 240px;
    height: auto;
    opacity: 0.5;
    margin-left: 35px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInBg {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes blink {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes fadeInBtn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes breathe {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 15px rgba(140, 79, 70, 0.4);
    }
    50% {
        transform: translateX(-50%) scale(1.03);
        box-shadow: 0 6px 25px rgba(140, 79, 70, 0.6);
    }
}

/* Animation balancement lanternes */
@keyframes lanternSwing {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(3deg);
    }
    75% {
        transform: rotate(-3deg);
    }
}

/* Animation lueur lanternes */
@keyframes lanternGlow {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 180, 100, 0.3));
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 12px rgba(255, 180, 100, 0.6));
    }
}

/* ===== SECTION RSVP ===== */
.rsvp-section {
    background: linear-gradient(180deg, #F5EDE4 0%, #EDE4D8 50%, #E8DDD5 100%);
    padding: 60px 20px 50px;
    justify-content: flex-start;
}

.rsvp-background {
    display: none;
}

.rsvp-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.rsvp-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #9d3204;
    text-align: center;
    margin-bottom: 8px;
}

.rsvp-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5C3D3D;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

/* Formulaire */
.rsvp-form {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: #5C3D3D;
    margin-bottom: 8px;
    font-weight: 500;
    position: relative;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d4c4b5;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 16px; /* 16px minimum pour éviter le zoom iOS */
    color: #5C3D3D;
    background: #faf8f6;
    transition: all 0.3s ease;
    -webkit-appearance: none; /* Désactive le style iOS */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9d3204;
    box-shadow: 0 0 0 3px rgba(140, 79, 70, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Radio buttons personnalisés */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 1px solid #d4c4b5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #9d3204;
    background: #faf8f6;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom {
    width: 20px;
    height: 20px;
    display: block;
    border: 2px solid #d4c4b5;
    border-radius: 50%;
    margin-right: 12px;
    top: 16px;
    position: relative;
    transition: all 0.3s ease;
    position: absolute;
    right: 10px;
}

.radio-option input:checked + .radio-custom {
    border-color: #9d3204;
}

.radio-option input:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #9d3204;
    border-radius: 50%;
}

.radio-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #5C3D3D;
}

/* Checkbox personnalisés */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 15px;
    border: 1px solid #d4c4b5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.checkbox-option:hover {
    border-color: #9d3204;
    background: #faf8f6;
}

.checkbox-option input {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d4c4b5;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-option input:checked + .checkbox-custom {
    border-color: #9d3204;
    background: #9d3204;
}

.checkbox-option input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #5C3D3D;
}

/* Sélecteur nombre d'invités */
.event-group {
    margin-bottom: 25px;
    padding: 20px 15px;
    background: #faf8f6;
    border-radius: 10px;
    border: 1px solid #e8ddd5;
}

.event-title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: #9d3204;
    display: block;
    margin-bottom: 5px;
}

.event-group .guests-date {
    margin-bottom: 15px;
}

.event-group .radio-group {
    margin-bottom: 15px;
}

.guests-selector-wrapper {
    padding-top: 15px;
    border-top: 1px solid #e8ddd5;
}

.guests-selector-wrapper label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #9d3204;
    display: block;
    margin-bottom: 10px;
}

.guests-group {
    display: none;
    margin-bottom: 25px;
    padding: 15px;
    background: #faf8f6;
    border-radius: 10px;
    border: 1px solid #e8ddd5;
}

.guests-group.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

.guests-group label {
    font-weight: 600;
    color: #9d3204;
}

.guests-date {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #5C3D3D;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 12px;
}

.guests-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.guests-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #d4c4b5;
    background: #faf8f6;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #9d3204;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guests-btn:hover {
    background: #9d3204;
    color: #fff;
    border-color: #9d3204;
}

.guests-selector input {
    width: 60px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #5C3D3D;
    border: 1px solid #d4c4b5;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
}

/* Masquer le groupe henné sur la page houppa-only */
.houppa-only #guests-henne-group {
    display: none !important;
}

/* Bouton submit */
.rsvp-submit {
    width: 100%;
    padding: 15px 25px;
    background: #9d3204;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rsvp-submit:hover {
    background: #6d3d36;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 79, 70, 0.4);
}

.rsvp-submit.loading .btn-text {
    opacity: 0;
}

.rsvp-submit .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.rsvp-submit.loading .btn-loading {
    opacity: 1;
}

.spinner {
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Message de succès */
.rsvp-success {
    display: none;
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: successPop 0.5s ease;
}

.rsvp-success.visible {
    display: block;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9d3204 0%, #9d3204 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: successBounce 0.6s ease 0.2s;
}

.success-icon svg {
    width: 35px;
    height: 35px;
    stroke: #fff;
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: checkDraw 0.4s ease 0.4s forwards;
}

.rsvp-success h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #9d3204;
    margin-bottom: 10px;
}

.rsvp-success p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #5C3D3D;
    margin-bottom: 5px;
}

.success-message {
    font-style: italic;
    color: #9d3204 !important;
    margin-top: 15px !important;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes successBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes checkDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* ===== BOUTONS NAVIGATION SECTIONS ===== */
.section-next-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    border: 0;
    gap: 8px;
    max-width: 350px;
    width: 100%;
    padding: 15px 30px;
    background: #9d3204;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(140, 79, 70, 0.3);
    justify-content: center;
}

.rsvp-content .section-next-btn {
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.section-next-btn:hover {
    background: #6d3d36;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(140, 79, 70, 0.4);
}

.section-next-btn svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
    animation: bounceDown 1.5s ease-in-out infinite;
}

/* ===== ANIMATIONS D'APPARITION ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Délais pour apparitions en cascade */
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.3s; }
.fade-in-up.delay-4 { transition-delay: 0.4s; }
.fade-in-up.delay-5 { transition-delay: 0.5s; }

/* Animation sections au scroll */
/* Animation des contenus - visible par défaut dans les sections actives */
.section-page.active .henne-card,
.section-page.active .houppa-content,
.section-page.active .rsvp-content {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FOOTER CRÉDIT ===== */
/* Footer dans RSVP */
.rsvp-footer {
    margin-top: 30px;
    padding: 20px;
    background: #5C3D3D;
    border-radius: 8px;
    text-align: center;
    width: 100%;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-credit:hover {
    color: #25D366;
}

.footer-credit svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ===== DESKTOP ===== */
@media (min-width: 431px) {
    body {
        background: linear-gradient(135deg, #D4C4B5 0%, #C0A090 100%);
    }
    .hero {
        box-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
    }
}

/* Petits écrans */
@media (max-width: 380px) {
    .couple-names {
        font-size: 1.7rem;
    }
    .wedding-subtitle {
        font-size: 1.6rem;
    }
    .info-card {
        padding: 15px 28px;
    }
    .date-main {
        font-size: 1.2rem;
    }
    .date-location {
        font-size: 1rem;
    }
}

/* ===== RTL SUPPORT (HEBREW) ===== */
body.rtl {
    direction: rtl;
}

body.rtl .henne-mothers,
body.rtl .henne-intro,
body.rtl .henne-datetime,
body.rtl .henne-location,
body.rtl .houppa-parents,
body.rtl .houppa-intro,
body.rtl .houppa-ceremony-text,
body.rtl .houppa-date,
body.rtl .houppa-venue,
body.rtl .houppa-cocktail,
body.rtl .houppa-dedication,
body.rtl .rsvp-title,
body.rtl .rsvp-subtitle,
body.rtl .form-group label,
body.rtl .radio-label,
body.rtl .guests-date,
body.rtl .rsvp-success h3,
body.rtl .rsvp-success p {
    direction: rtl;
    text-align: center;
}

body.rtl .houppa-couple {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 5px;
    flex-direction: row-reverse;
}

/* En hébreu, les noms des parents s'alignent à droite (RTL) */
body.rtl .parent-group {
    text-align: right;
}



body.rtl input[type="text"],
body.rtl textarea {
    direction: rtl;
    text-align: right;
}

body.rtl .btn-back {
    left: auto;
    right: 15px;
}

body.rtl .btn-back svg {
    transform: rotate(180deg);
}

body.rtl .section-next-btn svg {
    transform: rotate(180deg);
}

body.rtl .houppa-bsd {
    right: auto;
    left: 10px;
}

body.rtl .dedication-dove {
    right: auto;
    left: -10px;
}

/* Hebrew font sizes - légèrement plus grandes */
body.rtl .henne-mothers .mother-name {
    font-size: 1.15rem;
}

body.rtl .henne-intro {
    font-size: 1.1rem;
}

body.rtl .henne-datetime .henne-date {
    font-size: 1.15rem;
}

body.rtl .henne-datetime .henne-time {
    font-size: 1.05rem;
}

body.rtl .henne-location .henne-venue {
    font-size: 1.15rem;
}

body.rtl .houppa-parents .parent-name {
    font-size: 1.05rem;
}

body.rtl .houppa-intro {
    font-size: 1.1rem;
}

body.rtl .houppa-ceremony-text {
    font-size: 1.05rem;
}

body.rtl .houppa-date .houppa-date-main {
    font-size: 1.15rem;
}

body.rtl .houppa-date .houppa-time {
    font-size: 1.1rem;
}

body.rtl .houppa-venue .venue-name {
    font-size: 1.1rem;
}

body.rtl .houppa-cocktail {
    font-size: 1.05rem;
}

body.rtl .houppa-dedication p {
    font-size: 0.95rem;
}

body.rtl .rsvp-title {
    font-size: 1.6rem;
}

body.rtl .rsvp-subtitle {
    font-size: 1.05rem;
}

body.rtl .form-group label {
    font-size: 1.05rem;
}

body.rtl .radio-label {
    font-size: 1.05rem;
}

body.rtl .guests-date {
    font-size: 0.95rem;
}

body.rtl .rsvp-submit .btn-text {
    font-size: 1.1rem;
}

body.rtl .countdown-label {
    font-size: 0.7rem;
}

body.rtl .btn-event span {
    font-size: 1.1rem;
}

body.rtl .section-next-btn span {
    font-size: 1.05rem;
}

/* RTL Radio buttons */
body.rtl .radio-option {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

body.rtl .radio-custom {
    margin-right: 0;
    margin-left: 12px;
}

body.rtl .radio-label {
    text-align: right;
}

body.rtl .houppa-hebrew-names {

    flex-direction: row-reverse;
}

body.rtl .houppa-title {
    /* font-size: 2.2rem; */
}

