/* ────────────────────────────
 * 🎨 VARIABLES GLOBALES
 *──────────────────────────── */
:root {
    --primary-color: #A0832B;
    --secondary-color: #000000;
    --primary-color-hover: #ecbbcb;
    --primary-font-family: "CormorantGaramond", serif;
    --french-name: "ImperialScript";
    --hebrew-name: "BonaNovaSC";
    --hebrew-general: "Bellefair";
    --secondary-font-family: 'Cormorant', Georgia, "Times New Roman", serif;
    --font-text-general: "CormorantGaramond", "serif";
}

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

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


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

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

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

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

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

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

.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: flex;
    align-items: center;
    justify-content: center;
    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 {
    width: 290px;
    height: auto;
    z-index: 2;
    position: relative;
    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: #C0AA90;
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    z-index: 2;
    animation: fadeInText 1.5s ease forwards;
}

@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;
    transition: all 0.3s ease;
    font-family: var(--secondary-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: #ffffff;
    font-weight: bold;
    font-size: 25px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

#navbar.scrolled nav a,
#navbar.scrolled nav span {
    color: var(--primary-color);
}

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

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

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

#navbar.transparent {
    background-color: rgba(57, 57, 57, 0.51);
    box-shadow: none;
}

#navbar.scrolled {
    background-color: #FEEFF4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@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(57, 57, 57, 0.95);
    }

    #navbar.scrolled .nav-links {
        background-color: var(--secondary-color);
    }
}

.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: 80px;
    transition: transform 0.3s ease;
}

.logo.fade {
    opacity: 0;
}

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

.middle-logo {
    width: 160px !important;
    bottom: 20px;
    position: relative;
}

/* ────────────────────────────
 * 🌍 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: rgba(255, 255, 255, 0.8);
    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-family: var(--primary-font-family);
    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(--primary-color);
    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;
    }
}

/* ────────────────────────────
 * 🈯 SUPPORT LANGUES RTL
 *──────────────────────────── */
[data-lang="he"] {
    direction: rtl;
    font-family: var(--hebrew-general);
}

[data-lang="fr"] {
    direction: ltr;
    font-family: var(--secondary-font-family);
}

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

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

[data-lang="he"] .names-font {
    font-family: var(--hebrew-general) !important;
}

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

[data-lang="he"] .parents {
    font-size: 30px;
    font-family: var(--hebrew-general);
    font-weight: bold;
}

[data-lang="he"] .hp {
    font-size: 24px;
    font-family: var(--hebrew-general);
    font-weight: bold;
}

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

#navbar {
    font-family: var(--hebrew-general);
    font-weight: bold;
    direction: ltr;
}

/* ────────────────────────────
 * 🎬 SECTION LANDING PAGE
 *──────────────────────────── */
#landing {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../images/bg1.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.4);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

#landing .overlay-name {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    height: 45vh;
    margin-bottom: 130px;
}

#landing h1 {
    font-family: var(--french-name);
    font-size: 3rem;
    margin-bottom: 30px;
    color: white;
    letter-spacing: 2px;
}

.landing-button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    background: linear-gradient(to bottom, #d1b97f, #A0832B);
    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, #e3d5f3, #ffbdca);
    transform: translateY(-2px);
}

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

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

@media (max-width: 768px) {
    #landing h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        text-align: center;
    }

    .landing-button {
        font-size: 0.95rem;
        padding: 12px 24px;
    }

    #landing .overlay-name {
        height: auto;
        margin-bottom: 80px;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    #landing h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .landing-button {
        font-size: 1rem;
    }

    #landing .overlay-name {
        margin-bottom: 60px;
    }
}

/* ────────────────────────────
 * 🏠 SECTION ACCUEIL
 *──────────────────────────── */
#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-font {
    color: #DC7583;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.571);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    font-weight: 400;
    font-size: 80px !important;
    margin-top: 159px;
    margin-right: 33px;
}

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

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

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

#navbar .compteur {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding-left: 20px;
    color: white;
    font-size: 0.85rem;
    font-family: var(--primary-font-family);
}

#navbar.scrolled .compteur {
    color: #B187B3;
}

#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;
    margin-left: auto;
    color: white;
    font-size: 0.9rem;
    font-family: var(--primary-font-family);
}

/* ─────────── 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;
    }
}

@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: 10px auto 0 auto;
        padding: initial !important;
        justify-content: center;
        max-width: 100%;
    }

    .hamburger {
        order: 3;
    }

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

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

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

@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;
    }
}

.besod {
    position: fixed;
    top: 10px;
    right: 20px;
    font-family: 'NotoSerifHebrew', sans-serif;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    direction: rtl;
    font-size: 16px;
    color: #FFF;
}

#navbar.scrolled .besod {
    color: #B187B3;
}

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

/* 🖼️ Fond et structure générale */
#houppa-soiree {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px;
    position: relative;
}

#main-content {
    background: url('../images/bg3.jpg') no-repeat center center/cover;
    background-attachment: fixed;
}

@media (max-width: 480px) {
    #main-content {
        background: url('../images/bg3.jpg') center center/cover;
        background-size: contain;
        background-repeat: repeat;
        background-position: center top;
    }
}

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

/* 📝 Titres principaux */
#arc-title,
#houppa_title {
    font-family: "DavidLibre-Medium";
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
}

#houppa_title {
    bottom: 25px;
    margin-top: 35px;
}

#houppa_title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 12px auto 0;
    border-radius: 2px;
}

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

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

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

.heartbeat {
    display: inline-block;
    animation: beat 1s infinite ease-in-out;
    transform-origin: center;
    color: #F14E95;
    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;
}

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

.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;
}

.name-fr {
    display: flex;
    justify-content: space-around;
}

.groom-hebrew {
    display: flex;
    justify-content: space-around;
    font-family: var(--hebrew-name);
    font-size: 80px;
}

#venue_address {
    font-style: italic;
    font-weight: bold;
    color: var(--primary-color);
}

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

.calendar-button {
    display: none;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.waze-button {
    background-color: #05C4FF;
    border: 2px solid #05C4FF;
}

.waze-button:hover {
    background-color: #03B0E6;
    transform: translateY(-2px);
}

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

[data-lang="he"] #joy_announcement2 {
    font-size: 28px;
}

[data-lang="he"] #houppa_date {
    font-size: 19px;
}

[data-lang="he"] #venue_address {
    font-size: 28px;
}

[data-lang="he"] #venue_address2 {
    font-size: 22px;
}

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

[data-lang="he"] #after {
    font-size: 19px;
}

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

@media (max-width: 992px) {

    #arc-title,
    #houppa_title {
        font-size: 2.3rem;
    }

    .groom {
        font-size: 55px;
    }

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

    .hp {
        font-size: 22px;
    }

    .parents {
        font-size: 16px;
    }

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

    .calendar-button {
        display: inherit;
    }
}

@media (max-width: 768px) {
    #houppa-soiree {
        padding: 40px 15px;
    }

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

    .middle-logo {
        width: 100px;
    }

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

    .groom {
        font-size: 45px;
    }

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

    .hp {
        font-size: 20px;
    }

    .btn-event {
        width: 80%;
    }

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

@media (max-width: 480px) {

    #houppa_title {
        font-size: 2rem;
    }

    #arc-title {
        font-size: 2.4rem;
    }

    .groom {
        font-size: 35px;
    }

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

    .hp {
        font-size: 18px;
    }

    .hp4 {
        font-size: 16px;
    }

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

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

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

/* 🖼️ Fond et layout */
#formulaire {
    padding: 100px 20px;
}

#formulaire .form-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 📝 Titre du formulaire */
#formulaire h2 {
    font-family: var(--primary-font-family);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

/* 🧾 Champs */
#formulaire form input,
#formulaire form select,
#formulaire form textarea {
    width: 100%;
    margin-bottom: 20px;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
}

#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: #999;
    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-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 14px 28px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color-hover);
}

/* ✅ 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;
    margin-top: 10px;
}

.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%;
}

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

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

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

    #formulaire h2 {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }

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

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

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

    #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;
    }
}


/* ────────────────────────────
 * 💼 FOOTER SIGNATURE DÉVELOPPEUR
 *──────────────────────────── */
.footer-invitation {
    background-color: #fdf9f3;
    padding: 20px 20px;
    text-align: center;
    font-family: var(--secondary-font-family);
    font-size: 1rem;
    color: #6b5b4a;
    border-top: 1px solid #e3d4c0;
    box-shadow: inset 0 1px 0 #e3d4c0;
}

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

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

.footer-invitation a {
    color: #b8996e;
    text-decoration: none;
    font-weight: 600;
}

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

#footer_name {
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    .footer-invitation {
        font-size: 0.9rem;
        padding: 20px 10px;
    }
}