@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Pinyon+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.cdnfonts.com/css/amsterdam-2');
@import url('https://fonts.googleapis.com/css2?family=Cardo&display=swap');
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f3f3f3;
}

html {
    scroll-behavior: smooth;
}

.btn-container1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15%;
    margin-top: 15%;
}

#transition-cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    pointer-events: none;
}

.cover-block {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #f7f2ec;
    z-index: 1;
}

.left-block {
    left: 0;
    transform: translateX(-100%);
}

.right-block {
    right: 0;
    transform: translateX(100%);
}

#transition-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 80%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    z-index: 10;
    /* Plus élevé que les blocs */
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.animate-cover #transition-logo.show-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* Animation */

.animate-cover .left-block {
    animation: slideInLeft 0.6s forwards;
}

.animate-cover .right-block {
    animation: slideInRight 0.6s forwards;
}

.animate-cover .show-logo {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.animate-out .left-block {
    animation: slideOutLeft 0.6s forwards;
}

.animate-out .right-block {
    animation: slideOutRight 0.6s forwards;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0%);
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0%);
    }
}

@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
    }
}

@keyframes slideOutRight {
    to {
        transform: translateX(100%);
    }
}

#container1 {
    background-image: url('media/fond-acceuil.jpeg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    font-family: 'Cardo', serif;
    font-style: normal;
    transform-origin: left;
    /* utile pour l'effet rideau */
    transform: scaleX(1);
    transition: transform 1s ease, opacity 1s ease;
}

.rideau-fermeture {
    animation: rideauClose 1s forwards;
}

@keyframes rideauClose {
    0% {
        transform: scaleX(1);
        opacity: 1;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}


/* #container1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

#container1>* {
    position: relative;
    z-index: 2;
} */

#container2 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Assurer une hauteur minimale de la fenêtre */
    position: relative;
}

.main-section {
    background-image: url('media/houpa.jpg');
    background-size: cover;
    background-position: 49% center;
    background-repeat: no-repeat;
    background-color: #fff;
    width: 100%;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    justify-content: flex-start;
    padding-top: 20%;
}

.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.main-section>* {
    position: relative;
}

.wedding-title,
.names,
.arrow-down {
    margin: 10px 0;
    font-size: 15px;
    font-family: "Alex Brush", cursive !important;
    font-weight: 400;
    font-style: normal;
    padding-top: 5%;
}

.main-section .btn#language-btn {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
}

html a {
    text-decoration: none;
}

.arrow-down {
    margin-top: 20px;
}

#music-control {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #d6bc8b, #b99e5e);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    z-index: 99999;
}

#play-pause-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
}

.text-section h2,
p {
    margin: 1% 0;
    padding: 0;
}

#play-pause-btn:focus {
    outline: none;
}

.typewriter-5 {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black;
    width: 0;
    animation: typing 3s steps(40, end) forwards 5s, blink 0.75s step-end infinite 5s;
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid black;
    width: 0;
    animation: typing 3s steps(40, end) forwards 0.5s, blink 0.75s step-end infinite 5s;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.main-section {
    text-align: center;
    color: #b5a75c;
    margin-bottom: 0;
}

.wedding-title {
    font-size: 3.5em;
    margin: 0;
}

.names {
    font-size: 3em;
    margin: 0;
}

.arrow-down {
    font-size: 3em;
    color: #b5a75c;
}

.text-section {
    background-image: url('media/fond-carte.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-style: normal;
    /* haut et bas */
    padding-inline: 5%;
    /* droite et gauche */
    overflow-x: hidden;
    /* empêche le scroll horizontal */
    box-sizing: border-box;
    padding-top: 8%;
    /* Plus précis que 20% du viewport */
    padding-bottom: 8%;
    margin-top: 0;
    position: relative;
    box-sizing: border-box;
    color: #8e8045;
}

.text-section h3 {
    text-align: center;
    color: #b5a75c;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

#houpaetsoire {
    font-size: 25px;
    letter-spacing: 12PX;
    text-shadow: 2px 2px 5px #b5a75c;
}

.image-logo-carte {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    margin: 30px 0;
    /* Top & bottom spacing sans padding externe */
}

.image-logo-carte img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.text-section h2 {
    font-size: 20px;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    margin-left: 2%;
    margin-right: 2%;
}

.text-sdv {
    color: #b5a75c;
    margin: -4% 0 0 0;
    padding: 0;
    text-align: right;
    width: 100%;
}

.save-the-date {
    background-image: url(media/Fond-feuille.png);
    background-color: #fff;
    border: #b5a75c solid 3px;
    color: #b5a75c;
    font-family: "Pinyon Script", cursive;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 5% 3% 0 3%;
    /* top right bottom left */
}

.save-the-date h2 {
    font-size: 3rem;
}

.findusite {
    background-color: #fff;
    color: #8c7235;
    background-image: url(media/fond-marbre.png);
    background-size: cover;
    background-position: center;
    padding-top: 40px;
    font-family: Arial, Helvetica, sans-serif;
    width: 100vw;
}

.color-or {
    color: #b5a75c;
    font-size: 1.7rem !important;
}

.immage-text {
    width: 95%;
    margin: 5% 0;
}

.immage-text img {
    width: 100%;
}

.image-du-haut img,
.image-du-bas img {
    width: 250px;
    height: 60%;
}

.invitation-container {
    display: flex;
    justify-content: space-between;
    color: #8e8045;
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    padding-top: 5%;
}

.invitation-column {
    text-align: left;
    padding: 0 20px;
}

.invitation-column p {
    padding: 0;
    margin: 1px 0;
}

.pas-cole {
    padding: 0;
    margin: -8px 0;
}

.invitee-name {
    margin: 10px 0;
}

.invitee-name {
    white-space: nowrap;
    /* Empêche le retour à la ligne */
    overflow: hidden;
    /* Cache tout débordement */
    text-overflow: ellipsis;
    /* Ajoute "..." si ça déborde */
    font-size: clamp(0.75rem, 2vw, 1.2rem);
    /* Adaptatif : entre 0.8rem et 1.2rem selon la largeur */
    max-width: 100%;
    /* Important pour que ça ne dépasse jamais */
    display: block;
    /* S'assure que ça prend la largeur disponible */
}

.waze-button-container {
    text-align: center;
    margin-bottom: 40px;
    text-decoration: none;
}

.btn {
    position: relative;
    display: inline-block;
    padding: 14px 36px;
    font-size: 1.4rem;
    font-family: 'Pinyon Script', cursive;
    color: #fff;
    background: linear-gradient(145deg, #d6bc8b, #b99e5e);
    /* même couleurs */
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px #8c7235;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}


/* Effet lumière glissante */

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    transition: left 0.6s ease-in-out;
    z-index: 0;
}

.btn:hover::before {
    left: 125%;
}


/* Animation légère au survol */

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}


/* Le texte doit rester au-dessus de ::before */

.btn span,
.btn i {
    position: relative;
}

#language-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#language-icon {
    display: flex;
    align-items: center;
}

#language-text {
    display: flex;
    align-items: center;
    vertical-align: middle;
}

.btn:hover {
    background-color: #b5a75c;
}

.countdown-container {
    background-color: #FAFAFADE;
    padding: 15px;
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-container-2 {
    flex-direction: row;
}

.countdown-title {
    font-family: "Alex Brush", cursive;
    font-size: 1.5em;
    color: #b5a75c;
    margin-bottom: 15px;
    text-align: center;
}

.countdown-elements {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.countdown-element {
    flex: 1;
    margin: 0 5px;
    min-width: 0;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border: 1.5px solid #b5a75c;
    color: #b5a75c;
    font-size: 1.8em;
    box-sizing: border-box;
}

.countdown-element span {
    font-size: 0.4em;
    margin-top: 4px;
    font-family: "Alex Brush", cursive !important;
    color: #b5a75c;
}

.ltr {
    direction: ltr;
    text-align: left;
}

.rtl {
    direction: rtl;
    text-align: right;
}

form {
    font-family: 'Cardo', serif;
    ;
    width: 80%;
    max-width: 600px;
    margin: 2em auto;
    background: #ffffff;
    padding: 2em;
    /* border-radius: 8px; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    background-image: url(media/Fond-feuille.png);
    background-size: cover;
    background-position: center;
    position: sticky;
    border: 3px solid #b5a75c;
}

.phone-input-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.phone-input-wrapper select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 200px;
}

.phone-input-wrapper input[type="tel"] {
    padding: 10px;
    font-size: 1em;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#country-code {
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
    font-size: 1em;
}

.radio-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    flex-wrap: wrap;
    /* Permet de passer à la ligne si trop serré */
}

.checkbox-style {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Cardo', serif;
    font-size: 1.4rem;
    color: #b5a75c;
    position: relative;
    padding: 12px 24px;
    border: 2px solid #b5a75c;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
    user-select: none;
    flex: 1 1 250px;
    /* s'adapte à la taille de l'écran */
    max-width: 300px;
    justify-content: center;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
}

.checkbox-style input[type="radio"] {
    display: none;
}

.checkbox-style span::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #b5a75c;
    border-radius: 4px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.checkbox-style input[type="radio"]:checked+span::before {
    content: "✔";
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #b5a75c;
    border-color: #b5a75c;
}

.checkbox-style span {
    padding-left: 35px;
    position: relative;
    display: inline-block;
}


/* Responsive texte taille */

@media screen and (max-width: 768px) {
    .checkbox-style {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    .radio-container {
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .checkbox-style {
        font-size: 1.1rem;
        flex: 1 1 100%;
        max-width: 100%;
        padding: 10px 16px;
    }
    .checkbox-style span::before {
        left: 5px;
        width: 18px;
        height: 18px;
    }
}


/* Style pour la modale */

.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Transparence */
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}


/* Contenu de la modale */

.modal-content {
    background-color: #fff;
    padding: 20px;
    /* border-radius: 10px; */
    text-align: center;
    width: 80%;
    max-width: 400px;
    position: relative;
    font-size: 1.3em;
}


/* Bouton de fermeture */

.close {
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
}

button {
    background-color: #b5a75c;
    color: #ffffff;
    border: none;
    padding: 0.75em 1.5em;
    /* border-radius: 14px; */
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
    margin: 0.5em;
}

button:hover {
    background-color: #27ae60;
}

button.prev {
    background-color: #6c757d;
}

button.prev:hover {
    background-color: #5a6268;
}

input[type="text"],
input[type="tel"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 0.5em;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

input[type="radio"] {
    margin-right: 10px;
}

.step {
    display: none;
    width: 100%;
}

.step.active {
    display: block;
}

#error-message {
    color: red;
    font-size: 0.875em;
    text-align: center;
}

#guest-count {
    font-size: 1.2em;
    margin: 0 1em;
}

#guest-names input {
    margin-bottom: 1em;
    padding: 10px;
    border: 1px solid #ddd;
    width: calc(100% - 22px);
}

.step-content {
    width: 100%;
    text-align: center;
}

.step-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f2ec;
    z-index: 9999;
    overflow: hidden;
}

#loadingVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Remplit l'écran tout en gardant les proportions */
}

.hidden {
    display: none;
}

video {
    width: 100%;
    object-fit: cover;
}

.interesserparlebus {
    text-align: center;
    margin-bottom: 5%;
    margin: 0 3%;
    font-family: 'Cardo', serif;
    background-image: url(media/Fond-feuille.png);
    border: #b5a75c solid 3px;
    color: #b5a75c;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 0 3%;
}

.footer {
    display: block;
    font-size: 12px;
    font-family: "Alex Brush", cursive !important;
    font-weight: 400;
    font-style: normal;
    background-color: #fff;
    background-image: url(media/Fond-feuille.png);
    background-size: cover;
    background-position: center;
    position: sticky;
}

.footer h2 {
    color: #b5a75c;
    text-align: center;
}


/* ===== RSVP – Section 2 (formulaire) ===== */

#section-2 {
    padding: 40px 16px;
    background: #f7f2ec url('media/Fond-feuille.png') center/540px repeat;
    display: flex;
    justify-content: center;
}

.form-rsvp {
    width: 100%;
    max-width: 760px;
    background: url('media/fond-marbre.png');
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
    overflow: hidden;
    border: #b5a75c solid 3px;
}

.form-rsvp h2 {
    margin: 0;
    padding: 28px 24px 8px;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: .5px;
}

.form-rsvp>p {
    text-align: center;
    margin: 0 24px 16px;
    color: #6d6d6d;
}

.event-block {
    padding: 24px 22px 28px;
    border-top: 1px dashed rgba(0, 0, 0, .08);
}

.event-block:first-of-type {
    border-top: none;
}

.event-block h3 {
    margin: 6px 0 10px;
    text-align: center;
    font-family: "Pinyon Script", cursive;
    font-weight: 600;
    color: #b5a75c;
    font-size: 40px;
    letter-spacing: .6px;
}

.event-block p {
    margin: 0 0 6px;
    text-align: center;
    color: #4a4a4a;
}

.event-block img {
    width: 100%;
    height: 240px;
    /* belle hauteur “hero” */
    object-fit: cover;
    border-radius: 12px;
    margin: 12px 0 18px;
    display: block;
    border: 1px solid rgba(0, 0, 0, .06);
}


/* Choix présent/absent */

.choices {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 6px 0 10px;
    color: #333;
}


/* radios custom minimalistes */

.choices input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #bfa27e;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    outline: none;
    cursor: pointer;
}

.choices input[type="radio"]:checked {
    border-color: #8a6b4f;
}

.choices input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #8a6b4f;
}


/* Inputs “Combien serez-vous ?” */

.event-block label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #4a4a4a;
}

.event-block input[type="number"] {
    width: 88px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    text-align: center;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.event-block input[type="number"]:focus {
    outline: none;
    border-color: #bfa27e;
    box-shadow: 0 0 0 4px rgba(191, 162, 126, .15);
}


/* Bouton envoyer (réutilise .btn existant si présent) */

.form-rsvp .btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 12px 28px rgba(167, 137, 103, .32);
}

.form-rsvp .btn:active {
    transform: translateY(1px);
}


/* Responsive petits écrans */

@media (max-width: 480px) {
    .event-block img {
        height: 200px;
    }
    .choices {
        gap: 14px;
    }
    .form-rsvp .btn {
        width: 80%;
    }
}


/* Bordures/espaces plus propres quand la section suit une image pleine largeur */

#section-2 .form-rsvp {
    margin-top: 8px;
}


/* ===== Alignement gauche pour les inputs ===== */

.choices {
    justify-content: flex-start;
    /* plus centré, mais aligné gauche */
    flex-direction: column;
    /* options radio l’une sous l’autre */
    align-items: flex-start;
    margin-left: 12px;
}

.choices label {
    display: flex;
    align-items: center;
    margin: 6px 0;
    font-size: 16px;
}

.event-block label {
    justify-content: flex-start;
    /* pour le "Combien serez-vous ?" */
    flex-direction: row;
    align-items: center;
    margin: 10px 0 0 12px;
}

.event-block input[type="number"] {
    margin-left: 10px;
}


/* Coordonnées: champs à la française, alignés à gauche */

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 12px;
}

.form-row input[type="text"],
.form-row input[type="tel"] {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.form-row input:focus {
    border-color: #bfa27e;
    box-shadow: 0 0 0 4px rgba(191, 162, 126, .15);
    outline: none;
}

.hint {
    color: #777;
    margin-left: 12px;
}


/* Alignement gauche des choix + labels inline pour les nombres */

.choices {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 12px;
}

.event-block label.inline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 0 12px;
}

.event-block input[type="number"] {
    margin-left: 0;
}


/* ===== Coordonnées (inputs stylés, sans labels) ===== */

.coordonnees {
    text-align: left;
    padding-top: 10px;
}

.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 8px 12px;
}

@media (max-width: 560px) {
    .two-cols {
        grid-template-columns: 1fr;
    }
}

.input-with-icon {
    position: relative;
}

.input-with-icon.full {
    margin: 8px 12px 2px;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: .65;
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    /* place pour l’icône */
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s;
}

.input-with-icon input::placeholder {
    color: #8e8e8e;
    opacity: 1;
    /* iOS */
}

.input-with-icon input:hover {
    background: #fcfcfc;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #bfa27e;
    box-shadow: 0 0 0 4px rgba(191, 162, 126, .15);
}


/* Harmonise l’alignement de tout le bloc formulaire vers la gauche */

.form-rsvp,
.event-block {
    text-align: left;
}


/* (Déjà en place chez toi, mais au cas où) radios alignées à gauche */

.choices {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    margin-left: 12px;
}


/* ===== Centrer le bouton Envoyer dans la carte RSVP ===== */

#rsvp-submit {
    display: block !important;
    /* pas inline */
    margin: 18px auto 28px !important;
    /* centre horizontal */
    float: none !important;
    /* au cas où un float traîne */
    align-self: center;
    /* si parent est en flex/grid */
}


/* ===== Or doré pour tous les inputs ===== */

.input-with-icon input,
.event-block input[type="text"],
.event-block input[type="tel"],
.event-block input[type="number"] {
    border: 1px solid #b5a75c !important;
    border-radius: 12px;
    /* garde tes coins arrondis */
}

.input-with-icon input:hover,
.event-block input[type="text"]:hover,
.event-block input[type="tel"]:hover,
.event-block input[type="number"]:hover {
    border-color: #b5a75c !important;
}

.input-with-icon input:focus,
.event-block input[type="text"]:focus,
.event-block input[type="tel"]:focus,
.event-block input[type="number"]:focus {
    outline: none;
    border-color: #b5a75c !important;
    box-shadow: 0 0 0 4px rgba(181, 167, 92, .18);
    /* halo doré doux */
}


/* Radios custom */

.choices input[type="radio"] {
    border: 2px solid #b5a75c !important;
}

.choices input[type="radio"]:checked {
    border-color: #b5a75c !important;
}

.choices input[type="radio"]:checked::after {
    background: #b5a75c !important;
}