/* ────────────────────────────
 * 🎨 VARIABLES GLOBALES
 *──────────────────────────── */
:root {
    --primary-color: #9FC4E5;
    --secondary-color: #FAF7F0;
    --gold: #9FC4E5;
    --primary-color-hover: #D1E4F8;
    --decoration-color: #D6EAF9;
    --navy: #0d1929;
    --navy-deep: #060d18;
    --geo-pattern: repeating-linear-gradient(45deg, rgba(212, 175, 55, 0.05) 0px, rgba(212, 175, 55, 0.05) 1px, transparent 1px, transparent 22px),
        repeating-linear-gradient(-45deg, rgba(159, 196, 229, 0.04) 0px, rgba(159, 196, 229, 0.04) 1px, transparent 1px, transparent 22px);
    --arabesque-pattern: radial-gradient(circle at 25px 25px, rgba(212, 175, 55, 0.07) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(159, 196, 229, 0.05) 2px, transparent 2px);
    --tricolor-line: linear-gradient(to right, var(--gold), var(--primary-color), var(--gold));
    --french-name: "ImperialScript";
    --primary-font-family: "Cinzel";
    --secondary-font-family: "PoiretOne-Regular", serif;
    --hebrew-name: "BonaNovaSC";
    --primary-hebrew-font-family: "VarelaRound-Regular", serif;
    --secondary-hebrew-font-family: "NotoSerifHebrew", serif;
}



/* ────────────────────────────
 * 🔤 FONTS
 *──────────────────────────── */

@font-face {
    font-family: "ImperialScript";
    src:
        url("../fonts/ImperialScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

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


@font-face {
    font-family: 'NotoSerifDisplay';
    src: url('../fonts/NotoSerifHebrew-VariableFont_wdth.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "BonaNovaSC";
    src:
        url("../fonts/BonaNovaSC-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Tinos-Regular';
    src: url('../fonts/Tinos-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSerifHebrew';
    src: url('../fonts/NotoSerifHebrew-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PlayfairDisplay-Bold';
    src: url('../fonts/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PoiretOne-Regular';
    src: url('../fonts/PoiretOne-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--secondary-font-family);
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #2e2e2e;
}

[data-lang="he"] body {
    font-family: var(--secondary-hebrew-font-family);
}


.main-color {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 27px;
}

.h-houppa {
    font-size: inherit
}

.italic {
    font-style: italic;
}

/* ────────────────────────────
 * ✨ ANIMATIONS
 *──────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F8F3ED;
    display: block;
    z-index: 9999;
    opacity: 1;
}

.spinner {
    position: absolute;
    width: 360px;
    height: 360px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loaderLogo {
    height: auto;
    z-index: 2;
    position: absolute;
    opacity: 1;
    transform: scale(1);
    animation: none;
}

@keyframes zoomInLoader {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes fadeOutLoaderOverlay {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loader-text {
    position: absolute;
    top: 20%;
    font-family: var(--secondary-font-family);
    width: 100%;
    text-align: center;
    color: var(--decoration-color);
    font-size: 2.5rem;
    z-index: 2;
    animation: fadeInText 1.5s ease forwards;
}

[data-lang="he"] .loader-text {
    font-family: var(--secondary-hebrew-font-family);
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutText {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* ────────────────────────────
 * 🔝 BOUTON REMONTER EN HAUT
 *──────────────────────────── */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: opacity 0.3s ease;
}

#scrollToTop:hover {
    background-color: var(--primary-color-hover);
}

/* ────────────────────────────
 * 🎵 BOUTON MUSIQUE
 *──────────────────────────── */
#musicToggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    z-index: 9990;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
}

#musicToggle:hover {
    background-color: var(--primary-color-hover);
}

@media (max-width: 480px) {

    #scrollToTop,
    #musicToggle {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    #musicToggle {
        bottom: 75px;
    }
}

/* ────────────────────────────
 * 🧭 NAVBAR
 *──────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    font-weight: bold;
    font-family: var(--primary-font-family);
    direction: ltr;
    background: transparent;
    border-bottom: 1px solid transparent;
    isolation: isolate;
    transition: box-shadow 0.7s ease, border-color 0.7s ease;
}

#navbar::before,
#navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
    z-index: -1;
}

#navbar::before {
    background-color: rgba(159, 196, 229, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
}

#navbar::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    opacity: 0;
}

#navbar.scrolled::before {
    opacity: 1;
}

#navbar.transparent::after {
    opacity: 1;
}

[data-lang="he"] #navbar {
    font-family: var(--primary-hebrew-font-family);
}

#navbar nav {
    display: flex;
    align-items: center;
    padding: 10px 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    width: 100%;
}

#navbar nav a,
#navbar nav span {
    position: relative;
    margin: 0 15px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 25px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

#navbar.scrolled nav a,
#navbar.scrolled nav span {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(13, 25, 41, 0.35);
}

#navbar nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

#navbar nav a:hover,
#navbar nav a.active {
    color: var(--gold);
}

#navbar nav a:hover::after,
#navbar nav a.active::after {
    width: 100%;
}

#navbar.transparent {
    box-shadow: none;
    border-bottom-color: transparent;
}

#navbar.transparent nav a,
#navbar.transparent nav span {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

#navbar.transparent nav a:hover {
    color: var(--gold);
}

#navbar.scrolled {
    box-shadow: 0 2px 16px rgba(13, 25, 41, 0.08);
    border-bottom-color: rgba(255, 255, 255, 0.24);
}

@media (max-width: 480px) {
    #navbar nav a {
        font-size: 20px;
    }
}

/* ────────────────────────────
 * 🍔 MENU HAMBURGER (MOBILE)
 *──────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #navbar nav {
        padding: 10px 25px;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        color: white;
        z-index: 1101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 50px 20px;
        display: flex;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1100;
    }

    .nav-links.active {
        right: 0;
    }

    #navbar.transparent .nav-links {
        background-color: rgba(250, 247, 240, 0.98);
    }

    #navbar.scrolled .nav-links {
        background-color: rgba(250, 247, 240, 0.98);
    }

    #navbar.scrolled .nav-links a,
    #navbar.scrolled .nav-links span {
        color: #ffffff;
        text-shadow: 0 1px 4px rgba(13, 25, 41, 0.35);
    }

    #navbar .nav-links a.active {
        color: var(--primary-color);
        text-shadow: none;
    }
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ────────────────────────────
 * 📶 BARRE DE PROGRESSION SCROLL
 *──────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background-color: var(--primary-color);
    width: 0%;
    z-index: 2000;
    transition: width 0.2s ease-out;
}

/* ────────────────────────────
 * 🖼️ LOGO
 *──────────────────────────── */
.logo {
    height: 100px;
    transition: transform 0.3s ease;
}

.logo.fade {
    opacity: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.middle-logo {
    width: 240px !important;
    position: relative;
    z-index: 2;
    margin-top: -30px;
}

.logo-shabbat {
    width: 230px !important;
}

/* ────────────────────────────
 * 🌍 SÉLECTEURS DE LANGUE (MULTI)
 *──────────────────────────── */

#language-switcher {
    z-index: 10000;
    display: flex;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#language-switcher2 {
    position: fixed;
    z-index: 10001;
    display: flex;
    gap: 10px;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#language-switcher button,
#language-switcher2 button {
    font-size: 0.95rem;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#language-switcher button img,
#language-switcher2 button img {
    width: 24px;
    height: 24px;
    display: block;
    border-radius: 50%;
}

#language-switcher button:hover,
#language-switcher button.active,
#language-switcher2 button:hover,
#language-switcher2 button.active {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background-color: var(--gold);
    color: white;
    font-weight: bold;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 768px) {
    #language-switcher {
        box-shadow: initial;
        background-color: inherit;
    }
}

@media (max-width: 480px) {

    #language-switcher,
    #language-switcher2 {
        gap: 6px;
        padding: 6px 10px;
    }

    #language-switcher2 {
        top: 12px;
        left: 12px;
        right: auto;
        gap: 4px;
        padding: 4px 6px;
        border-radius: 10px;
    }

    #language-switcher2 button {
        padding: 2px;
    }

    #language-switcher2 button img {
        width: 18px;
        height: 18px;
    }
}

/* ────────────────────────────
 * 🈯 SUPPORT LANGUES RTL
 *──────────────────────────── */
[data-lang="fr"] {
    direction: ltr;
    font-family: var(--secondary-font-family);
}

[data-lang="he"] {
    direction: rtl;
    font-family: var(--secondary-hebrew-font-family);
    line-height: 1.5;
    word-spacing: 0.08em;
}

[data-lang="he"] .fr-only {
    display: none;
}

[data-lang="fr"] .he-only {
    display: none;
}

/* ────────────────────────────
 * 🎬 SECTION LANDING PAGE
 *──────────────────────────── */
#landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../images/bg2.jpg') no-repeat center center/cover;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#landing .overlay {
    background: rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

#landing .overlay-name {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
    padding: 20px 0;
}

#landing .overlay-name>*:first-child {
    margin-top: auto;
}

#landing .overlay-name>*:last-child {
    margin-bottom: 20px;
}

#landing h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
    margin-top: 40px;
}

.landing-logo {
    display: none;
}

.landing-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: linear-gradient(to bottom, var(--primary-color-hover), var(--primary-color));
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.landing-button:hover {
    background: linear-gradient(to bottom, var(--decoration-color), var(--primary-color-hover));
    transform: translateY(-2px);
}

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

/* ─────────── Responsive ─────────── */

@media (max-width: 768px) {
    #landing {
        background-image: url('../images/bg1.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
        background-color: #f8f3ed;
    }

    #landing h1 {
        font-size: 2.2rem;
        margin-bottom: 0px;
        text-align: center;
        margin-top: 60px;
    }

    #landing .overlay-name .landing-button {
        font-size: 0.95rem;
        padding: 12px 24px;
        order: 3;
    }

    #landing .overlay-name .landing-logo {
        order: 2;
    }

    #landing .overlay-name .compteur-navbar.compteur2 {
        order: 4;
    }

    #landing .overlay-name {
        height: 100%;
        justify-content: flex-start;
        gap: 20px;
    }

    #landing .overlay-name>*:first-child {
        margin-top: 40px;
    }

    #landing .overlay-name>*:last-child {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    #landing {
        background-image: url('../images/bg1_mobile.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
        background-color: white;
    }

    #landing h1 {
        font-size: clamp(2.7rem, 11vw, 3.2rem);
        letter-spacing: 0.5px;
        margin-top: 0;
        margin-bottom: 0;
        color: var(--decoration-color);
        -webkit-text-fill-color: var(--decoration-color);
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
        white-space: nowrap;
        line-height: 1;
    }

    #landing .overlay .overlay-name .landing-button {
        font-size: 1rem;
        order: 3 !important;
        padding: 5px 22px;
    }

    #landing .overlay {
        justify-content: flex-start;
        padding: 18px 15px 22px;
    }

    #landing .overlay-name {
        width: min(100%, 300px);
        justify-content: flex-start;
        gap: 0;
        padding: 82px 0 0;
    }

    #landing .overlay-name>*:first-child,
    #landing .overlay-name>*:last-child {
        margin: 0;
    }

    #landing .overlay .overlay-name.contain-accueil .names-groom {
        order: 1 !important;
        padding: 0 !important;
        font-size: clamp(50px, 10vw, 150px) !important;
        color: var(--decoration-color) !important;
        -webkit-text-fill-color: var(--decoration-color) !important;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55) !important;
        margin-top: 30px !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    #landing .overlay .overlay-name .landing-logo {
        display: block;
        order: 2 !important;
        width: 200px;
        height: auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
        margin-top: 100px;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar {
        order: 4 !important;
        gap: 6px;
        margin-top: 15px;
        margin-bottom: 100px;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
    }

    #landing .overlay .overlay-name .names-groom {
        order: 1 !important;
    }

    #landing .overlay .overlay-name .landing-button {
        margin-top: auto !important;
    }

    .compteur2 .compteur-bloc {
        width: 61px;
        height: 38px;
        border: none;
        border-radius: 999px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        justify-content: center;
        overflow: visible;
    }

    .compteur2 .compteur-bloc::after {
        content: none;
    }

    .compteur2 .compteur-bloc:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
        background: transparent;
    }

    .compteur2 .compteur-bloc .nombre {
        font-size: 1.05rem;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 0;
        line-height: 1;
    }

    .compteur2 .compteur-bloc .label {
        font-size: 0.5rem;
        letter-spacing: 0.8px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        line-height: 1.1;
    }
}

/* ────────────────────────────
 * 🏠 SECTION ACCUEIL
 *──────────────────────────── */
@media (min-width: 481px) and (max-width: 991px) {
    #landing {
        background-image: url('../images/bg1.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 100% auto;
        background-color: white;
    }

    #landing .overlay {
        justify-content: flex-start;
        padding: 20px 20px 28px;
    }

    #landing .overlay-name {
        width: min(100%, 420px);
        height: 100%;
        justify-content: flex-start;
        gap: 0;
        padding: 96px 0 0;
    }

    #landing .overlay-name>*:first-child,
    #landing .overlay-name>*:last-child {
        margin: 0;
    }

    #landing .overlay .overlay-name .names-groom {
        order: 1 !important;
        padding: 0;
        font-size: clamp(64px, 10.5vw, 98px) !important;
        color: #fff;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
        white-space: nowrap;
        line-height: 1;
        margin-top: 20px;
        margin-bottom: 0;
    }

    #landing .overlay .overlay-name .landing-logo {
        display: block;
        order: 2 !important;
        width: 210px;
        height: auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
        margin-top: 115px;
    }

    #landing .overlay .overlay-name .landing-button {
        order: 3 !important;
        width: fit-content;
        min-width: 300px;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        padding: 10px 32px;
        font-size: 1.15rem;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar {
        order: 4 !important;
        gap: 10px;
        margin-bottom: 100px;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc {
        width: 82px;
        height: 50px;
        border: none;
        border-radius: 999px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        justify-content: center;
        overflow: visible;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc::after {
        content: none;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
        background: transparent;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc .nombre {
        font-size: 1.55rem;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 0;
        line-height: 1;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc .label {
        font-size: 0.68rem;
        letter-spacing: 1px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        line-height: 1.1;
    }

    #language-switcher2 {
        top: 16px;
        left: 16px;
        right: auto;
        gap: 6px;
        padding: 6px 9px;
        border-radius: 12px;
    }

    #language-switcher2 button {
        padding: 3px;
    }

    #language-switcher2 button img {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 992px) {
    #landing {
        background-image: url('../images/bg1.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: auto 100%;
        background-color: white;
    }

    #landing .overlay {
        justify-content: flex-start;
        padding: 24px 32px 34px;
    }

    #landing .overlay-name {
        width: min(100%, 650px);
        height: 100%;
        justify-content: flex-start;
        gap: 0;
        padding: clamp(28px, 7vh, 72px) 0 0;
    }

    #landing .overlay-name>*:first-child,
    #landing .overlay-name>*:last-child {
        margin: 0;
    }

    #landing .overlay .overlay-name .names-groom {
        order: 1 !important;
        padding: 0;
        font-size: clamp(68px, 7vw, 112px) !important;
        color: #fff;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
        white-space: nowrap;
        line-height: 1;
        margin-top: 10px;
        margin-bottom: 0;
    }

    #landing .overlay .overlay-name .landing-logo {
        display: block;
        order: 2 !important;
        width: clamp(160px, 19vh, 230px);
        height: auto;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
        margin-top: clamp(24px, 8vh, 80px);
    }

    #landing .overlay .overlay-name .landing-button {
        order: 3 !important;
        width: fit-content;
        min-width: 380px;
        margin-top: clamp(18px, 4vh, 42px);
        margin-left: auto;
        margin-right: auto;
        padding: 14px 40px;
        font-size: 1.45rem;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar {
        order: 4 !important;
        gap: 16px;
        margin-top: clamp(18px, 4vh, 42px);
        margin-bottom: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc {
        width: 108px;
        height: 64px;
        border: none;
        border-radius: 999px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        justify-content: center;
        overflow: visible;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc::after {
        content: none;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
        background: transparent;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc .nombre {
        font-size: 2.15rem;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 0;
        line-height: 1;
    }

    #landing .overlay .overlay-name .compteur.compteur2.compteur-navbar .compteur-bloc .label {
        font-size: 0.75rem;
        letter-spacing: 1.2px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        line-height: 1.1;
    }

    #language-switcher2 {
        top: 20px;
        left: 20px;
        right: auto;
    }
}

#accueil {
    padding: 100px 20px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('../images/bg1.jpg') no-repeat center center/cover;
    color: white;
    position: relative;
    padding-top: 80px;
}

/* 
#accueil::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.46);
    pointer-events: none;
    z-index: 0;
} */

.contain-accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contain-accueil .names-groom {
    color: var(--decoration-color);
    background: none;
    background-clip: initial;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 30px rgba(214, 234, 249, 0.4);
    font-weight: 400;
    font-size: clamp(50px, 14vw, 150px) !important;
    margin: 0;
    padding: 10px 20px;
    letter-spacing: 2px;
    word-spacing: 0.4em;
}

.names-groom {
    font-family: var(--french-name) !important;
}

#accueil h1 {
    font-size: 6em;
}

#accueil #compteur {
    font-size: 2em;
    margin-top: 20px;
}

#navbar .compteur {
    padding-left: 20px;
}

#navbar.scrolled .compteur,
#navbar.transparent .compteur {
    color: white;
}

#navbar .compteur-bloc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.compteur-bloc:hover {
    transform: scale(1.05);
}

.compteur-bloc .nombre {
    font-size: 1rem;
    font-weight: bold;
}

.compteur-bloc .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compteur-navbar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-family: var(--primary-font-family);
}

[data-lang="he"] .compteur-navbar {
    font-family: var(--primary-hebrew-font-family);
}

.compteur2 {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.compteur2 .compteur-bloc {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #D4AF37;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(212, 175, 55, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.compteur2 .compteur-bloc::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.compteur2 .compteur-bloc:hover {
    transform: scale(1.1) translateY(-5px);
    border-color: #F9E27A;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.4);
    background: rgba(0, 0, 0, 0.3);
}

.compteur2 .compteur-bloc .nombre {
    font-size: 2rem;
    font-weight: 700;
    color: #F9E27A;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: -5px;
}

.compteur2 .compteur-bloc .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    font-weight: 500;
}

/* Supprimer l'ancienne classe inutilisée */


/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {
    #accueil h1 {
        font-size: 4em;
    }

    .compteur-bloc {
        height: 40px;
        font-size: 22px;
    }

    .compteur-bloc .nombre {
        font-size: 1.3em;
    }

    .compteur-bloc .label {
        font-size: 0.7em;
    }

    .compteur2 .compteur-bloc {
        width: 85px;
        height: 85px;
    }

    .compteur2 .compteur-bloc .nombre {
        font-size: 1.6em;
    }

    .compteur2 .compteur-bloc .label {
        font-size: 0.65em;
    }
}

@media (max-width: 768px) {
    #accueil h1 {
        font-size: 3rem;
    }

    nav {
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        order: 1;
    }

    .compteur-navbar {
        order: 2;
        margin: auto auto 30px auto;
        padding: initial !important;
        justify-content: center;
        max-width: 100%;
    }

    .compteur-navbar.compteur2 {
        order: inherit;
    }

    .hamburger {
        order: 3;
    }

    .compteur-navbar .compteur-bloc {
        font-size: 14px;
    }

    .compteur-navbar .nombre {
        font-size: 0.95em;
    }

    .compteur-navbar .label {
        font-size: 0.65em;
    }

    .compteur2 .compteur-bloc {
        width: 70px;
        height: 70px;
    }

    .compteur2 .compteur-bloc .nombre {
        font-size: 1.3em;
    }

    .compteur2 .compteur-bloc .label {
        font-size: 0.6em;
    }
}

@media (max-width: 480px) {
    #accueil {
        padding: 60px 10px;
    }

    .compteur-navbar .compteur-bloc {
        font-size: 16px;
    }

    .compteur-navbar .compteur-bloc .nombre {
        font-size: 1em;
    }

    .compteur-navbar .compteur-bloc .label {
        font-size: 0.6em;
    }

    .compteur-navbar.compteur2 {
        gap: 6px;
        margin: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .compteur-navbar.compteur2 .compteur-bloc {
        width: 61px;
        height: 38px;
        border: none;
        border-radius: 999px;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        justify-content: center;
        overflow: visible;
    }

    .compteur-navbar.compteur2 .compteur-bloc::after {
        content: none;
    }

    .compteur-navbar.compteur2 .compteur-bloc:hover {
        transform: none;
        border-color: transparent;
        box-shadow: none;
        background: transparent;
    }

    .compteur-navbar.compteur2 .compteur-bloc .nombre {
        font-size: 1.05rem;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        margin-bottom: 0;
        line-height: 1;
    }

    .compteur-navbar.compteur2 .compteur-bloc .label {
        font-size: 0.5rem;
        letter-spacing: 0.8px;
        color: #fff;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
        line-height: 1.1;
    }
}

.besod {
    position: fixed;
    top: 10px;
    right: 20px;
    font-family: 'NotoSerifHebrew', sans-serif;
    font-weight: bold;
    z-index: 1001;
    direction: rtl;
    font-size: 16px;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 481px) and (max-width: 991px) {
    .besod {
        top: 16px;
        right: 16px;
        left: auto;
        font-size: 14px;
        color: var(--primary-color);
    }
}

@media (min-width: 992px) {
    .besod {
        top: 20px;
        right: 20px;
        left: auto;
        color: var(--primary-color);
    }
}

@media (max-width: 480px) {
    .besod {
        top: 12px;
        right: 12px;
        left: auto;
        font-size: 13px;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }
}

.besod-landing {
    position: absolute;
    top: 14px;
    right: 20px;
    font-family: 'NotoSerifHebrew', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: var(--primary-color);
    direction: rtl;
    z-index: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .besod-landing {
        font-size: 13px;
        top: 12px;
        right: 12px;
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .besod-landing {
        font-size: 14px;
        top: 16px;
        right: 16px;
    }
}

/* ────────────────────────────────
 * ✦ SÉPARATEURS ORIENTAUX
 *──────────────────────────────── */
.section-divider {
    display: none;
}

.section-divider-ornament {
    display: none;
}

.ornament-trio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
    vertical-align: middle;
}

.ornament-star {
    display: block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.ornament-star-center {
    width: 14px;
    height: 14px;
}

/* ────────────────────────────────
 * 🎉 SECTION HOUPPA & SOIRÉE
 *──────────────────────────────── */

/* 🖼️ Fond et structure générale */
#houppa-soiree {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 90px 20px 70px;
    position: relative;
    background: url('../images/bg2.jpg') no-repeat center center/cover;
}

#houppa-soiree::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tricolor-line);
}

#houppa-soiree::after {
    content: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tricolor-line);
}

#main-content {
    background: none;
}

#houppa-soiree .container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

/* Verset en arc */
.arc-title-wrap {
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0 auto 12px;
    overflow: visible;
    box-sizing: border-box;
}

.arc-title-image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* 📝 Titres principaux */
#arc-title,
#arc-title2 {
    display: none;
}

#houppa_title,
#itineraire,
#itineraire_shabbat,
#shabbat_title,
#RSVP {
    font-family: var(--primary-font-family);
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 0px;
    position: relative;
}

#houppa_title {
    color: white;
}

[data-lang="he"] #houppa_title,
[data-lang="he"] #itineraire,
[data-lang="he"] #itineraire_shabbat,
[data-lang="he"] #shabbat_title,
[data-lang="he"] #RSVP {
    font-family: var(--primary-hebrew-font-family);
}

#arc-title,
#arc-title2 {
    font-family: "DavidLibre-Medium";
}

#houppa_title,
#itineraire,
#RSVP {
    margin: 0;
}

#RSVP {
    text-align: center;
}

#houppa_title::after,
#itineraire::after,
#itineraire_shabbat::after,
#shabbat_title::after,
#RSVP::after {
    content: none;
}

.margin-b {
    margin-bottom: 20px !important;
}

.margin-t {
    margin-top: 40px !important;
}

.parents {
    display: flex;
    justify-content: space-between;
    font-family: var(--secondary-font-family);
    font-size: 30px;
}

[data-lang="he"] .parents {
    font-size: 28px;
    font-family: var(--secondary-hebrew-font-family);
    font-weight: normal !important;
    align-items: flex-end;
    line-height: 1.35;
    row-gap: 8px;
}

[data-lang="he"] .parents * {
    font-weight: normal !important;
}

[data-lang="he"] .parents span {
    white-space: nowrap;
    word-spacing: 0.1em;
}

.parents-col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.heartbeat {
    display: inline-block;
    animation: beat 1s infinite ease-in-out;
    transform-origin: center;
    color: var(--decoration-color);
    position: absolute;
    top: 5px;
}

@keyframes beat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    40% {
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.05);
    }

    80% {
        transform: scale(0.98);
    }
}

/* 💬 Textes */
.hp {
    font-family: var(--secondary-font-family);
    font-size: 25px;
    color: #3a3a3a;
}

[data-lang="he"] .hp {
    font-size: 22px;
    font-family: var(--secondary-hebrew-font-family);
    line-height: 1.55;
    word-spacing: 0.1em;
}

.hp2 {
    display: flex;
    flex-direction: column;
}

[data-lang="he"] .hp2 {
    gap: 6px;
}

.hp3 {
    margin: auto;
    display: flex;
    justify-content: center;
    width: 55%;
}

.hp4 {
    margin-top: 20px;
    font-size: 20px;
    display: flex;
    flex-direction: column;
}

.groom {
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 100px;
}

.groom-hebrew {
    font-family: var(--hebrew-name);
    font-size: 80px;
    white-space: nowrap;
    line-height: 1.12;
    word-spacing: 0.12em;
}

.groom-hebrew span {
    white-space: nowrap;
}

/* Nom des marier */
.layout {
    max-width: 900px;
    margin: 24px auto;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 0fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
}

.cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.center {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.center span {
    font-family: var(--french-name);
    font-weight: 600;
    font-size: clamp(120px, 22vw, 260px);
    line-height: 0.85;
    margin-right: 15px;
}

.tl {
    grid-column: 1;
    grid-row: 1;
}

.tr {
    grid-column: 3;
    grid-row: 1;
}

.bl {
    grid-column: 1;
    grid-row: 2;
}

.br {
    grid-column: 3;
    grid-row: 2;
}


/*  */

#venue_address,
#shabbat_address {
    font-style: italic;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 23px;
}

#venue_address2 {
    font-weight: bold;
    color: var(--primary-color);
    font-family: var(--primary-font-family);
}

/* ✦ Header de section — monogramme élégant */
.houppa-crown {
    text-align: center;
    margin-bottom: 24px;
}

.houppa-crown-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 6px;
}

.crown-initial {
    font-family: var(--french-name);
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: white;
    line-height: 1;
    letter-spacing: -2px;
}

.crown-amp {
    font-family: var(--french-name);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: white;
    line-height: 1;
    padding: 0 6px;
    position: relative;
    top: 4px;
}

.houppa-crown-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px auto;
    max-width: 360px;
}

.houppa-crown-rule::before,
.houppa-crown-rule::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}

.houppa-crown-rule::after {
    background: linear-gradient(to left, transparent, var(--gold));
}

.houppa-crown-rule .ornament-trio {
    gap: 8px;
    padding: 0 2px;
}

/* ✦ Display élégant date & lieu */
.event-banner {
    margin: 28px auto;
    max-width: 640px;
    text-align: center;
    padding: 28px 0px;
    position: relative;
}

.event-banner::before,
.event-banner::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.event-banner::before {
    top: 0;
}

.event-banner::after {
    bottom: 0;
}

.event-banner-date {
    font-family: var(--primary-font-family);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-weight: bold;
}

.event-banner-sep {
    color: var(--primary-color);
    opacity: 0.5;
    font-size: 0.8rem;
}

.event-banner-hebrew-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: 4px;
}

.event-banner-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 14px auto;
    max-width: 280px;
}

.event-banner-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(159, 196, 229, 0.5));
}

.event-banner-divider-line:last-child {
    background: linear-gradient(to left, transparent, rgba(159, 196, 229, 0.5));
}

.event-banner-divider-gem {
    color: var(--primary-color);
    font-size: 0.6rem;
    opacity: 0.6;
}

.event-banner-times {
    font-family: var(--primary-font-family);
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    font-weight: bold;
}

.event-banner-times strong {
    color: var(--gold);
}

.event-banner-venue {
    margin-top: 14px;
    font-size: 1rem;
    color: #3a3a3a;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.event-banner-venue-he {
    color: var(--primary-color);
    font-style: normal;
    font-weight: bold;
    font-family: var(--primary-hebrew-font-family);
}

/* ✦ Info cards orientales */
.info-card-oriental {
    background: white;
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 12px auto;
    max-width: 520px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

[data-lang="he"] .info-card-oriental {
    border-left: none;
    border-right: 3px solid var(--gold);
    border-radius: 10px 0 0 10px;
    text-align: right;
}

.info-card-oriental-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 5px;
    font-family: var(--primary-font-family);
}

.info-card-oriental-text {
    color: #1a2f4a;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-card-oriental-he {
    color: var(--primary-color);
    font-size: 0.95rem;
    text-align: right;
    direction: rtl;
    margin-top: 4px;
}

.btn-houppa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: white !important;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 1px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color) !important;
    margin: auto;
}

.whatsapp-button:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(159, 196, 229, 0.3);
}

.calendar-button {
    display: none;
    width: 50%;
    margin: auto;
    background-color: var(--primary-color);
}

.calendar-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
}

.waze-button {
    background: var(--primary-color-hover);
    color: #0d1929 !important;
}

.waze-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(159, 196, 229, 0.45);
}

.moovit-button {
    background: linear-gradient(135deg, #f7941d 0%, #e07b00 100%);
    color: #ffffff !important;
    border: none;
    position: relative;
    overflow: hidden;
}

.moovit-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.moovit-button:hover {
    background: linear-gradient(135deg, #ffa033 0%, #f7941d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 148, 29, 0.5);
}

.btn-event {
    justify-content: center;
}

[data-lang="he"] #houppa_date {
    font-size: 18px;
    line-height: 1.45;
    word-spacing: 0.1em;
}

[data-lang="he"] #venue_address,
[data-lang="he"] #shabbat_address {
    font-size: 26px;
    line-height: 1.35;
    word-spacing: 0.08em;
}

[data-lang="he"] #venue_address2,
[data-lang="he"] #shabbat_address2 {
    font-size: 20px;
    line-height: 1.45;
    word-spacing: 0.08em;
}

[data-lang="he"] #grandparent_memory_intro {
    font-size: 18px;
    line-height: 1.55;
    word-spacing: 0.1em;
}

[data-lang="he"] #after {
    font-size: 18px;
    line-height: 1.55;
    word-spacing: 0.1em;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {

    #arc-title,
    #arc-title2,
    #houppa_title,
    #itineraire,
    #RSVP,
    #shabbat_title {
        font-size: 2.3rem;
    }

    .groom {
        font-size: 65px;
    }

    .groom-hebrew {
        font-size: 60px;
    }

    .hp {
        font-size: 22px;
    }

    .parents {
        font-size: 16px;
    }

    [data-lang="he"] .parents {
        font-size: 20px;
    }

    .hp3 {
        width: 70%;
        gap: 3px;
    }

    .calendar-button {
        display: inherit;
    }
}

@media (max-width: 768px) {
    #houppa-soiree {
        padding: 90px 10px 70px;
    }

    #arc-title,
    #arc-title2,
    #houppa_title,
    #itineraire,
    #RSVP,
    #shabbat_title {
        font-size: 2rem;
    }

    .middle-logo {
        width: 180px !important;
        margin-top: -20px;
    }

    .parents {
        gap: 20px;
        text-align: center;
    }

    [data-lang="he"] .parents {
        gap: 12px;
        font-size: 17px;
    }

    .groom {
        font-size: 60px;
    }

    .groom-hebrew {
        font-size: 50px;
    }

    .hp {
        font-size: 20px;
    }

    .btn-event {
        width: 80%;
    }

    .calendar-button,
    .waze-button,
    .moovit-button,
    .whatsapp-button {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {

    .arc-title-wrap {
        width: min(100%, 380px);
    }

    .event-banner-date {
        font-size: 1rem;
    }

    #houppa_title,
    #shabbat_title {
        font-size: 2rem;
    }

    #arc-title,
    #arc-title2 {
        font-size: 1.3rem;
        margin-bottom: 0px;
    }

    .groom {
        font-size: 50px;
    }

    .groom-hebrew {
        font-size: 33px;
    }

    .hp {
        font-size: 18px;
    }

    .hp4 {
        font-size: 16px;
    }

    [data-lang="he"] .parents {
        gap: 8px;
        font-size: 21px;
    }

    .btn-event {
        flex-direction: column;
        align-items: center;
        gap: inherit;
    }

    .calendar-button img,
    .waze-button img,
    .moovit-button img,
    .whatsapp-button img {
        height: 25px;
        width: 25px;
    }
}

/* ─────────────────────────────
 * 🎊 SECTION SHABBAT
 *──────────────────────────────── */
#shabbat {
    padding: 60px 20px 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-color: var(--decoration-color);
    background-image: var(--arabesque-pattern);
    background-size: 100px 100px, 100px 100px;
}

#shabbat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tricolor-line);
}

#shabbat::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tricolor-line);
}

/* ────────────────────────────────
 * 📩 SECTION FORMULAIRE RSVP
 *──────────────────────────────── */

/* 🖼️ Fond et layout */
#formulaire {
    padding: 80px 20px 100px;
    background: url('../images/bg3.jpg') no-repeat center center/cover;
    position: relative;
}

#formulaire::before {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tricolor-line);
}


#formulaire .form-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(159, 196, 229, 0.3);
    border-top: 3px solid var(--gold);
    padding: 40px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-top: 20px;
}

/* 📝 Titre du formulaire */
#formulaire h2 {
    font-family: var(--primary-font-family);
    font-size: 2rem;
    margin: 0 0 18px;
    text-transform: none;
}

#formulaire #RSVP {
    font-size: 2.1rem;
    margin: 0;
    text-transform: none;
}

#formulaire #happy {
    font-family: var(--secondary-font-family);
    font-size: 1.08rem;
    font-weight: 400;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    margin: 0 auto 22px;
    max-width: 640px;
    text-align: center;
}

[data-lang="he"] #formulaire h2 {
    font-family: var(--primary-hebrew-font-family);
    font-weight: bold;
}

[data-lang="he"] #formulaire #happy {
    font-family: var(--secondary-hebrew-font-family);
    font-size: 1rem;
}

/* 🧾 Champs */
#formulaire form input,
#formulaire form select,
#formulaire form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid rgba(159, 196, 229, 0.4);
    border-radius: 6px;
    font-family: var(--primary-font-family);
    background: white;
    color: #2e2e2e;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#formulaire form input::placeholder,
#formulaire form textarea::placeholder {
    color: #aaa;
}

#formulaire form input:focus,
#formulaire form select:focus,
#formulaire form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

[data-lang="he"] #formulaire form input,
[data-lang="he"] #formulaire form select,
[data-lang="he"] #formulaire form textarea {
    font-family: var(--primary-hebrew-font-family);
    font-size: 0.95rem;
}

[data-lang="he"] .submit-button {
    font-size: 0.95rem;
}

[data-lang="he"] .radio-group label {
    font-size: 0.76rem;
}

[data-lang="he"] .form-hint {
    font-size: 0.8rem;
}

#formulaire form textarea {
    height: 120px;
    resize: vertical;
}

/* 🔽 Select stylisé */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    top: 26px;
    right: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-color);
    font-size: 0.8rem;
}

#formulaire form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    padding-right: 40px;
    cursor: pointer;
}

/* 👥 Wrapper nombre de personnes (si visible) */
#nombre-wrapper {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

/* 📤 Bouton d'envoi */
.submit-button {
    background: linear-gradient(to right, var(--gold), #c9a030);
    color: var(--navy);
    font-weight: bold;
    padding: 14px 40px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ✅ Message de confirmation */
.message {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.radio-group>div {
    display: flex;
    flex: 1 1 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    text-align: center;
}

.radio-group label {
    max-width: 100%;
    font-size: 0.80rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

#formulaire form input[type="radio"] {
    width: auto;
    margin: 0;
}

.radio-group {
    margin-bottom: 18px;
}

.shuttle-city-group {
    max-height: 180px;
    opacity: 1;
    margin-bottom: 20px;
    transition: max-height 0.35s ease, opacity 0.35s ease, margin-bottom 0.35s ease;
}

.shuttle-city-group.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    margin-bottom: 0;
}

.shuttle-city-title {
    display: block;
    margin: 15px;
}

.radio-group-cities {
    margin-bottom: 0;
}

.form-hint {
    font-size: 0.85rem;
    color: #777;
    margin-top: -12px;
    margin-bottom: 20px;
    display: block;
}

.input-name {
    display: flex;
    justify-content: space-between;
}

.input-name #placeholder_first_name,
.input-name #placeholder_last_name {
    width: 40%;
}

[data-lang="he"] #placeholder_tel {
    direction: rtl;
}

/* ─────────── Responsive ─────────── */

@media (max-width: 992px) {
    #formulaire h2 {
        font-size: 1.85rem;
    }

    #formulaire #RSVP {
        font-size: 2rem;
    }

    #formulaire #happy {
        font-size: 1.04rem;
    }
}

@media (max-width: 768px) {
    #formulaire {
        padding: 0px 15px;
    }

    #formulaire h2 {
        font-size: 1.65rem;
        margin-bottom: 14px;
    }

    #formulaire #RSVP {
        font-size: 1.85rem;
    }

    #formulaire #happy {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    #formulaire form input,
    #formulaire form select,
    #formulaire form textarea {
        font-size: 0.95rem;
        padding: 12px;
    }

    .select-wrapper::after {
        top: 22px;
        right: 16px;
    }

    .radio-group {
        gap: 8px;
    }

    [data-lang="he"] #formulaire #happy {
        font-size: 0.94rem;
    }

    [data-lang="he"] #formulaire form input,
    [data-lang="he"] #formulaire form select,
    [data-lang="he"] #formulaire form textarea {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #formulaire h2 {
        font-size: 1.35rem;
    }

    #formulaire #RSVP {
        font-size: 1.65rem;
    }

    #formulaire #happy {
        font-size: 0.95rem;
    }

    #formulaire form input,
    #formulaire form select,
    #formulaire form textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .submit-button {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .select-wrapper::after {
        top: 20px;
        right: 14px;
        font-size: 0.7rem;
    }

    .radio-group {
        gap: 6px;
    }

    [data-lang="he"] #formulaire #happy {
        font-size: 0.9rem;
    }

    [data-lang="he"] #formulaire form input,
    [data-lang="he"] #formulaire form select,
    [data-lang="he"] #formulaire form textarea,
    [data-lang="he"] .submit-button {
        font-size: 0.85rem;
    }
}


/* ────────────────────────────
 * 💼 FOOTER SIGNATURE DÉVELOPPEUR
 *──────────────────────────── */
.footer-invitation {
    background-color: var(--navy-deep);
    padding: 28px 20px;
    text-align: center;
    font-family: var(--primary-font-family);
    font-size: 1rem;
    color: var(--primary-color);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

[data-lang="he"] .footer-invitation {
    font-family: var(--primary-hebrew-font-family);
    font-size: 20px;
}

.footer-invitation .footer-content p {
    margin: 8px 0;
    line-height: 1.6;
}

.footer-ornament {
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-ornament .ornament-trio {
    gap: 8px;
}

/* Ligne "créé par" avec lien discret mais cliquable */
.footer-invitation .credit {
    color: rgba(159, 196, 229, 0.5);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-invitation .creator-link {
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    padding-bottom: 2px;
}

.footer-invitation .creator-link:hover {
    color: var(--gold);
}

/* Ligne de contact */
.footer-invitation .contact-rows {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    justify-content: center;
}

.contact {
    display: flex;
    flex-direction: column;
}

.footer-invitation .contact a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.footer-invitation .contact a:hover {
    text-decoration: underline;
}

.footer-invitation .btn-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-invitation .btn-footer:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.footer-invitation .wa-ic {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    transition: fill 0.2s ease;
}

.footer-invitation .btn-footer:hover .wa-ic {
    fill: var(--gold);
}

/* Responsive */
@media (max-width: 600px) {
    .footer-invitation {
        font-size: .95rem;
        padding: 22px 12px;
    }
}

/* Font overrides cibles pour le texte hebreu */
[data-lang="he"] #landing_name,
[data-lang="he"] #enterSite,
[data-lang="he"] .compteur,
[data-lang="he"] .compteur *,
[data-lang="he"] .event-banner,
[data-lang="he"] .event-banner *,
[data-lang="he"] #grandparent_memory,
[data-lang="he"] #sergent_memory,
[data-lang="he"] #happy,
[data-lang="he"] .parents,
[data-lang="he"] .parents *,
[data-lang="he"] #remerciement,
[data-lang="he"] #joy_announcement,
[data-lang="he"] #joy_announcement2,
[data-lang="he"] #joy_announcement3,
[data-lang="he"] #joy_announcement4 {
    font-family: var(--secondary-hebrew-font-family) !important;
}

[data-lang="he"] .parents,
[data-lang="he"] .parents * {
    font-weight: normal !important;
}

[data-lang="he"] #grandparent_memory,
[data-lang="he"] #sergent_memory,
[data-lang="he"] #happy,
[data-lang="he"] .event-banner,
[data-lang="he"] .event-banner * {
    line-height: 1.55;
    word-spacing: 0.1em;
}

[data-lang="he"] #houppa_title,
[data-lang="he"] #itineraire {
    font-family: var(--primary-hebrew-font-family) !important;
    line-height: 1.35;
    word-spacing: 0.08em;
}

[data-lang="he"] #block_announcement1 {
    margin-bottom: 0px !important;
}

[data-lang="he"] #block_groom {
    margin-top: 0px !important;
}
