/* Intégration Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Inter:wght@100..900&display=swap');

/* --- Styles Généraux --- */
body, html, .content {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
}

/* --- Container d'arrière-plan --- */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000; /* Fond noir par sécurité */
}

/* L'image est visible immédiatement */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/back2.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

#video-fond {
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2; /* Placée au-dessus de l'image */
}

/* La vidéo est invisible par défaut avec une transition fluide */
#video-fond > video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Classe CSS ajoutée en JS quand la vidéo est prête */
#video-fond > video.video-prete {
    opacity: 1;
}

/* --- Gestion du fallback (sans object-fit) --- */
@media (min-aspect-ratio: 16/9) {
    #video-fond > video {
        height: 300%;
        top: -100%;
    }
}
@media (max-aspect-ratio: 16/9) {
    #video-fond > video {
        width: 300%;
        left: -100%;
    }
}

/* --- Si object-fit est supporté --- */
@supports (object-fit: cover) {
    #video-fond > video {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        object-fit: cover;
    }
}

/* --- Contenu & Header Banner --- */
.content {
    width: 100%;
    margin-top: 0; /* Évite que la nav fixe (height 30px + padding) ne masque le haut du contenu */
}

.header-banner {
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid white;
    position: relative;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    width: 100%;
    border-bottom: 2px solid black;
    overflow-x: hidden;
    overflow-y: hidden;
    min-height: 400px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 20px; /* Ajout d'un padding latéral de sécurité pour les petits écrans */
    min-height: 400px;
}

/* --- Bloc Texte --- */
.header-text {
    flex: 1;
    padding-right: 30px;
    text-shadow: 3px 0px 1px rgba(0, 0, 0, 1);
}

.header-text .subtitle {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 22px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.header-text h1 {
    font-size: 110px;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    line-height: 1.2;
    font-family: "Lavishly Yours", cursive;
    font-weight: 400;
    font-style: normal;
}

.header-text .description {
    font-size: 22px;
    font-style: italic;
    color: #bfa3ff;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
}

/* --- Social Media Links in Header --- */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px; /* Spacing below the description text */
    margin-bottom: 25px;
}

.social-icon {
    display: inline-block;
    width: 38px;
    height: 38px;
    opacity: 0;
    transform: scale(3.5);
    animation: shrinkIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.6));
    transition: filter 0.3s ease;
}

/* Staggered Delay for the entrance animation */
.social-icon:nth-child(1) {
    animation-delay: 0.15s;
}
.social-icon:nth-child(2) {
    animation-delay: 0.35s;
}
.social-icon:nth-child(3) {
    animation-delay: 0.55s;
}
.social-icon:nth-child(4) {
    animation-delay: 0.75s;
}

/* Hover effects */
.social-icon:hover {
    transform: scale(1.2) translateY(-4px);
    filter: brightness(1.2);
}

.social-icon:hover img {
    filter: drop-shadow(0px 6px 12px rgba(212, 175, 55, 0.6)); /* subtle golden glow */
}

/* Keyframes for the shrink-in animation */
@keyframes shrinkIn {
    0% {
        opacity: 0;
        transform: scale(3.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Navigation --- */
.nav-menu {
    gap: 50px;
    padding: 15px 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0; /* Assure le centrage correct sur toute la largeur */
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e2e8f0;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d4af37;
}

.nav-link.active {
    color: white;
    border-bottom: 1px solid #d4af37;
}

/* --- Bouton menu mobile (hamburger) --- */
.menu-toggle-btn {
    display: none;
}

/* --- Bloc Photo --- */
.header-photo {
    flex: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    right: 10px;      /* Aligné à droite du container */
    bottom: 0;        /* Collé au bas de la bannière */
    z-index: 1;       /* En dessous du texte (qui a un z-index de 10) */
    pointer-events: none; /* Évite que l'image bloque les clics sur le texte */
}

.header-photo img {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0px 10px 25px rgba(0, 0, 0, 0.7));
    vertical-align: bottom;
}

.image-icone {
    float: left; /* Ou 'right' selon votre préférence */
    margin: 0 20px 0 0; /* Pour éviter que le texte ne colle à l'image */
    max-width: 150px; /* Ajustez la taille selon vos besoins */
}

.image-icone-l {
    float: right; /* Ou 'right' selon votre préférence */
    margin: 0 0 10px 20px; /* Pour éviter que le texte ne colle à l'image */
    max-width: 150px; /* Ajustez la taille selon vos besoins */
}

.hardcontent {
    max-width: 800px;
    margin: 20px auto;
    padding: 60px 150px;
    text-align: left;
    color: black;
    text-shadow: 2px 2px 4px rgba(50, 50, 177, 0.5);
    font-size: 1.2em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 1s ease-in-out;
}

/* Classe active qui applique la transparence/opacité finale prévue */
.hardcontent.fade-in {
    background-color: rgba(255, 255, 255, 0.3);
}

.hardcontent li {
    margin: 10px;
}

.hardcontent h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 0.5px;
    /* Optionnel : une légère ombre portée pour détacher le titre du fond */
    text-shadow: 5px 1px 3px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.hardcontent h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #e2e8f0; /* Un blanc très légèrement cassé pour hiérarchiser */
    text-shadow: 5px 1px 3px rgba(0, 0, 0, 0.4);
}

.hardcontent p {
    font-size: 1.2rem;
    /* Augmente l'espace entre les lignes (crucial pour la lisibilité) */
    line-height: 1.8;
    /* Donne un aspect texturé et transparent au texte */
    color: rgba(0, 0, 0, 1);
    margin-bottom: 30px;
    /* Justifié ou à gauche selon votre préférence, le "left" est souvent plus moderne */
    text-align: justify;
    text-shadow: 2px 0px 4px rgba(255, 255, 255, 0.25);
    font-weight: bold;
}

.hardcontent h1, .hardcontent h2, .hardcontent h3 {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px; /* Un léger espacement des lettres sublime cette police */
    clear: both;
    padding-top: 15px;
}
.hardcontent p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
}

/* Style général du conteneur */
.conteneur-para {
    margin-bottom: 40px;
}

/* Pour éviter le bug des blocs qui se chevauchent (Clearfix) */
.conteneur-para::after {
    content: "";
    display: table;
    clear: both;
}

.conteneur-para img.rond {
    shape-outside: circle(50%);
}

.conteneur-para img.trans {
    -webkit-mask-image: radial-gradient(farthest-corner, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(farthest-corner, rgba(0, 0, 0, 1) 55%, rgba(0, 0, 0, 0) 100%);
    max-width: 100%;
}

/* --- BLOCS IMPAIRS (Image à GAUCHE, texte qui l'enveloppe) --- */
.conteneur-para img {
    float: left;
    max-width: 160px;
    width: 100%;
    object-fit: cover; /* Optionnel : force l'image à rester carrée/propre */
    margin-right: 25px;
    margin-bottom: 10px;
}

/* --- BLOCS PAIRS (Image à DROITE, texte qui l'enveloppe) --- */
.conteneur-para:nth-of-type(even) img {
    float: right;
    margin-left: 25px;
    margin-right: 0; /* Réinitialisation */
    margin-bottom: 10px;
}

/* Style du texte */
.conteneur-para p {
    margin: 0;
    text-align: justify;
    line-height: 1.6; /* Un interlignage propre rend l'habillage plus fluide */
}

.conteneur-para ul {
    list-style-position: inside;
    padding-left: 0; /* Optionnel : nettoie le décalage par défaut des listes */
}

/* --- Sous-menu --- */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(226, 232, 240, 0.95); /* Couleur de texte précédente (#e2e8f0) en arrière-plan */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 0px solid #d4af37; /* Masqué par défaut */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* Pas de padding quand replié */
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0);

    /* Animation déroulante */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-width 0.4s ease;
}

.submenu.active {
    max-height: 280px; /* Assez de place pour le contenu */
    opacity: 1;
    padding: 10px 0;
    border-bottom: 2px solid #8a6d1c; /* Ligne bronze dorée contrastée */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.submenu-item {
    color: #0a0a0f; /* Couleur de fond précédente (#0a0a0f) comme couleur de texte */
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    display: block;
    border-bottom: 1px solid rgba(10, 10, 15, 0.08); /* Bordure de séparation sombre */
    text-shadow: none; /* Pas d'ombre portée claire sur fond clair */
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    color: #8a6d1c; /* Bronze/doré sombre pour un bon contraste sur fond clair */
    background-color: rgba(138, 109, 28, 0.1); /* Effet de survol assorti */
    letter-spacing: 3px;
}

.submenu-item.active {
    color: #8a6d1c;
    background-color: rgba(138, 109, 28, 0.15); /* Fond légèrement plus visible pour la page active */
    font-weight: bold;
    letter-spacing: 2px;
}

/* Style additionnel pour le lien actif pendant que le menu est ouvert */
.nav-link.active-submenu {
    color: #d4af37 !important;
    border-bottom: 1px solid #d4af37;
}

/* --- Bouton d'action principal avec oscillation de couleur lente --- */
.btn-action {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d4af37;
    color: #0a0a0f;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: colorOscillation 5s ease-in-out infinite alternate;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-action:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

@keyframes colorOscillation {
    0% {
        background-color: #d4af37; /* Or actuel */
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }
    100% {
        background-color: #e6f0fa; /* Blanc cassé bleu */
        box-shadow: 0 4px 15px rgba(230, 240, 250, 0.4);
    }
}

/* --- Barre de réseaux sociaux fixe (bas-droite) --- */
.fixed-social-links {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 12px;
    background: rgba(10, 10, 15, 0.75); /* Dark matching background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3); /* subtle golden border */
    padding: 10px 14px;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 2000; /* stays above navigation & other content */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixed-social-links.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.fixed-social-links .social-icon {
    width: 32px;
    height: 32px;
    opacity: 1;
    transform: none;
    animation: none;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
}

.fixed-social-links .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.5));
    transition: filter 0.2s ease;
}

.fixed-social-links .social-icon:hover {
    transform: scale(1.2) translateY(-2px);
}

.fixed-social-links .social-icon:hover img {
    filter: drop-shadow(0px 4px 8px rgba(212, 175, 55, 0.6));
}

.divmenu-resa-btn {
    height : 0;
    max-height : 0;
    overflow: visible;
    margin : 0 0;
    padding : 0 0;
}

.resa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 40px;
    line-height: 19px;
    padding: 10px 8px 10px 10px;

    overflow: visible;
    box-sizing: border-box;
    background-color: rgba(10, 10, 15, 0.75); /* Fond sombre assorti */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1.5px solid #d4af37; /* Cadre doré */
    border-radius: 6px; /* Coins légèrement arrondis */
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    animation: menuToggleOscillation 5s ease-in-out infinite alternate;

    /* --- LES MODIFICATIONS ICI --- */
    position: fixed;   /* On passe en fixed pour flotter au-dessus de l'écran */
    top: 16px;
    right: 20px;
    z-index: 10000;    /* Reste au-dessus du menu et du hardcontent */
    margin-left: 0;    /* Plus besoin du margin-left auto */
    gap: 6px;

    color: #cccccc;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    text-align: center;
    font-weight: bolder;
}

.resa-btn.moretop {
    top: 60px;
}

.resa-btn.visible.invisible {
    display: none;
}

@media (max-width: 1307px) {
    .container {
        padding-bottom: 20px; /* Espace de sécurité en bas */
        margin: 0 30px;
    }

    /* Le texte passe au premier plan */
    .header-text {
        position: relative;
        z-index: 10;
        padding-right: 0; /* Plus besoin de marge à droite */
        max-width: 100%;  /* Le texte peut occuper toute la largeur */
        padding-top: 30px;
    }

    /* La photo se détache et glisse derrière le texte */
    .header-photo {
        position: absolute;
        right: 10px;      /* Aligné à droite du container */
        bottom: 0;        /* Collé au bas de la bannière */
        z-index: 1;       /* En dessous du texte (qui a un z-index de 10) */
        pointer-events: none; /* Évite que l'image bloque les clics sur le texte */
    }

    .header-photo img {
        max-height: 350px; /* On réduit légèrement la taille de la photo sur petit écran */
    }
}

@media (max-width: 1142px) {
    .hardcontent {
        margin: 0 0;
        max-width: none;
    }
}

@media (max-width: 1060px) {
    .header-text h1 {
        font-size: 75px;
    }

    .container {
        min-height: 320px;
    }

    .header-text .subtitle {
        font-size: 17px;
    }

    .header-text .description {
        font-size: 20px;
    }
}

@media (max-width: 936px) {
    .container, .header-banner {
        min-height: 315px;
    }

    .hardcontent {
        padding: 60px 80px;
    }

    .nav-link {
        font-size: 10px;
    }
}

@media (max-width: 820px) {
    .nav-link {
        letter-spacing: 1px;
    }
}

@media (max-width: 758px) {
    .resa-btn, .menu-toggle-btn {
        top: 354px;
    }

    .header-photo {
        right: -80px;
    }
}

@media (max-width: 752px) {
    .nav-menu {
        display: flex; /* Toujours flex pour permettre la transition */
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 4px solid #e2e8f0;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        max-height: 350px; /* Espace suffisant pour les 5 items */
        padding: 5px 0;
        border-bottom: 1px solid #e2e8f0;
        overflow: visible; /* Permet d'afficher le sous-menu sans le tronquer */
    }

    .nav-menu > .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        box-sizing: border-box;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Éviter de masquer la bordure dorée de l'élément actif */
    .nav-link.active, .nav-link.active-submenu {
        border-bottom: 1px solid #d4af37 !important;
    }

    .divmenu-toggle-btn {
        height : 0;
        max-height : 0;
        overflow: visible;
        margin : 0 0;
        padding : 0 0;
    }

    /* Style du bouton hamburger */
    .menu-toggle-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 44px;
        height: 40px;
        padding: 10px 8px;
        overflow: visible;
        box-sizing: border-box;
        background-color: rgba(10, 10, 15, 0.75); /* Fond sombre assorti */
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1.5px solid #d4af37; /* Cadre doré */
        border-radius: 6px; /* Coins légèrement arrondis */
        cursor: pointer;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        animation: menuToggleOscillation 5s ease-in-out infinite alternate;

        /* --- LES MODIFICATIONS ICI --- */
        position: fixed;   /* On passe en fixed pour flotter au-dessus de l'écran */
        top: 356px;         /* Calé à 20px du haut de l'écran */
        left: 20px;        /* Calé à 20px de la droite de l'écran */
        z-index: 10000;    /* Reste au-dessus du menu et du hardcontent */
        margin-left: 0;    /* Plus besoin du margin-left auto */
        gap: 6px;
    }

    .resa-btn {
        top: 356px;
    }

    .menu-toggle-btn.moretop {
        top: 20px;
    }

    .resa-btn.moretop {
        top: 20px;
    }

    .resa-btn.visible {
        display: flex;
    }

    .menu-toggle-btn:focus {
        outline: none;
    }

    @media (hover: hover) {
        .menu-toggle-btn:hover {
            background-color: rgba(212, 175, 55, 0.2); /* Surlignage doré au survol */
            box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
        }
    }

    .menu-toggle-btn:active {
        background-color: rgba(212, 175, 55, 0.3); /* Surlignage doré temporaire au toucher */
    }

    .menu-toggle-btn .bar {
        height: 3px;
        width: 100%;
        background-color: #d4af37;
        border-radius: 2px;
        transition: all 0.3s ease;
        animation: barOscillation 5s ease-in-out infinite alternate;
    }

    /* Transformation en croix */
    .menu-toggle-btn.open .bar:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .menu-toggle-btn.open .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle-btn.open .bar:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }
}

@media (max-width: 640px) {
    .resa-btn, .menu-toggle-btn {
        top: 272px;
    }

    .header-photo img {
        max-height: 280px;
    }

    .container, .header-banner {
        min-height: 250px;
    }
}

@media (max-width: 628px) {
    .social-links {
        margin-top: -13px;
    }
}

@media (max-width: 570px) {
    .resa-btn, .menu-toggle-btn {
        top: 272px;
    }

    .header-text h1 {
        font-size: 55px;
    }

    .container {
        margin: 0 5px;
    }

    .hardcontent {padding: 30px 50px 90px 50px;}

    .social-links {
        margin-top: 15px;
    }
}

@media (max-width: 447px) {
    .resa-btn, .menu-toggle-btn {
        top: 315px;
    }

    .header-text h1 {
        font-size: 42px;
    }

    .container {
        margin: 0 5px;
    }

    .header-text .subtitle {
        max-width: 200px;
    }

    .header-text .description {
        max-width: 200px;
    }

    .nav-menu {
        gap: 25px;
    }
}

@keyframes menuToggleOscillation {
    0% {
        border-color: #d4af37;
        color: #d4af37;
    }
    100% {
        border-color: #e6f0fa;
        color: #e6f0fa;
    }
}

@keyframes barOscillation {
    0% {
        background-color: #d4af37;
    }
    100% {
        background-color: #e6f0fa;
    }
}

.admin-grid-layout {
    color: white;
}

/* --- Bas de page (Footer) --- */
.main-footer {
    width: 100%;
    background-color: rgba(10, 10, 15, 0.3); /* Fond sombre semi-transparent assorti au menu */
    border-top: 1px solid rgba(212, 175, 55, 0.3); /* Légère bordure dorée supérieure */
    padding: 30px 0;
    font-family: 'Inter', sans-serif;
    z-index: 999;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-copyright {
    color: #cccccc;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: #bfa3ff; /* Teinte violette/bleutée présente dans vos descriptions */
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-link:hover {
    color: #d4af37; /* Changement vers l'or au survol */
}

.footer-separator {
    color: #8a6d1c; /* Séparateur bronze doré */
    user-select: none;
}

/* --- Ajustements Responsives pour le Footer --- */
@media (max-width: 752px) {
    .main-footer {
        padding: 25px 0 85px 0; /* Ajout d'un espace en bas pour ne pas masquer/chevaucher le bouton menu mobile fixe */
    }
}

@media (max-width: 480px) {
    .footer-links {
        flex-direction: column; /* Les liens s'empilent verticalement sur petits écrans */
        gap: 12px;
    }
    .footer-separator {
        display: none; /* On masque les tirets si les liens s'empilent */
    }
}

/* Conteneur principal des tarifs */
.pricing-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

/* Élément (ligne) d'une prestation */
.pricing-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

/* En-tête de l'élément (contient le titre) */
.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

/* Titre de la prestation */
.pricing-title {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #e2e8f0;
}

/* Ligne contenant la durée et le prix */
.pricing-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

/* Texte de la durée */
.pricing-duration {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: normal;
    text-shadow: none;
}

/* Texte du prix */
.pricing-price {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: #d4af37;
    font-size: 1.2rem;
}

/* Conteneur du bouton en bas */
.pricing-footer {
    margin-top: 40px;
    text-align: center;
}

/*** RESERVER ****/
.prestation-selection-container {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out;
}

.prestation-selection-container h2 {
    font-family: 'Cinzel', serif;
    color: #F7E7B0;
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.section-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 25px;
    text-shadow: none;
}

.prestations-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.client-prestation-card {
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 110px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.client-prestation-card:hover {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(10, 10, 15, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.client-prestation-card.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.client-prestation-card h4 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.15rem;
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 7px rgba(0,0,0,1);
}

.client-prestation-card.selected h4 {
    color: #F7E7B0;
}

.client-prestation-card .durations-summary {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #94a3b8;
    text-shadow: none;
}

.client-prestation-card.selected .durations-summary {
    color: black;
}

.duration-options-chips {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.duration-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: none;
}

.duration-chip:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.duration-chip.selected {
    background: #d4af37;
    border-color: #d4af37;
    color: #0a0a0f;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.chosen-prestation-summary-banner {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 8px;
    padding: 15px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    flex-wrap: wrap;
    gap: 15px;
    animation: fadeIn 0.4s ease-out;
}

.summary-info {
    font-size: 0.95rem;
}

.btn-change-prestation {
    background: transparent;
    border: none;
    color: #F7E7B0;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-change-prestation:hover {
    color: #ffffff;
}

.calendar-container {
    margin-top: 30px;
    font-family: 'Inter', sans-serif;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.week-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: bold;
    color: #d4af37;
    text-shadow: 1px 1px 2px black;
    text-align: center;
}

.btn-nav {
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-nav:hover:not(:disabled) {
    background: #d4af37;
    color: #0a0a0f;
    transform: translateY(-1px);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.btn-nav:disabled {
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.15);
    cursor: not-allowed;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .calendar-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 600px) {
    .calendar-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .calendar-grid {
        grid-template-columns: 1fr;
    }
}

.day-column {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.day-column.today {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.05);
}

.day-header {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.day-name {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #d4af37;
    display: block;
    margin-bottom: 2px;
}

.day-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: bold;
}

.slots-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 2px;
}

/* Custom Scrollbar for slots */
.slots-container::-webkit-scrollbar {
    width: 4px;
}
.slots-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.slots-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.slot-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 8px 4px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: none;
    text-align: center;
}

.slot-btn:hover:not(.disabled) {
    background: rgba(212, 175, 55, 0.2);
    border-color: #d4af37;
    transform: translateY(-1px);
}

.slot-btn.selected {
    background: #d4af37 !important;
    color: #0a0a0f !important;
    border-color: #d4af37 !important;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.slot-btn.disabled {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    text-decoration: line-through;
}

.no-slots-msg {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    font-style: italic;
    margin-top: 15px;
    width: 100%;
}

/* Validation and Info Bar */
.validation-bar {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid #d4af37;
    padding: 15px 25px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6);
    flex-wrap: wrap;
    gap: 15px;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.selection-info {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
}

.gold-text {
    color: #F7E7B0;
    margin-right: 8px;
    font-weight: bold;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.75);
}

#selected-slot-text {
    color: #ffffff;
    font-weight: bold;
}


/* Form UI Components */
.chosen-slot-banner {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid #d4af37;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Cinzel', serif;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.chosen-slot-info {
    font-size: 1.05rem;
}

.btn-change-slot {
    background: transparent;
    border: none;
    color: #d4af37;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}

.btn-change-slot:hover {
    color: #ffffff;
}

/* Appointment Type Selection Cards */
.appointment-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.appointment-type-card {
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.appointment-type-card:hover {
    border-color: rgba(212, 175, 55, 0.65);
    background: rgba(10, 10, 15, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.15);
}

.appointment-type-card.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.appointment-type-card .card-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.appointment-type-card h3 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: color 0.3s ease;
}

.appointment-type-card.selected h3 {
    color: #d4af37;
}

.appointment-type-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin: 0;
    text-shadow: none;
    line-height: 1.4;
}

/* --- Global Styles Réutilisables & Helpers --- */
.display-none,
.step-hidden {
    display: none;
}

/* --- Notification Banner --- */
#notification-banner {
    display: none; /* Géré par JS (devra passer en display: block) */
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: bold;
}

/* --- Summary Prestation Banner --- */
.chosen-prestation-summary-banner {
    display: none; /* Géré par JS */
    margin-bottom: 25px;
}

.chosen-prestation-summary-banner .summary-info strong {
    color: #ffffff;
}

.chosen-prestation-summary-banner .summary-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.chosen-prestation-summary-banner #summary-prestation-price {
    text-shadow: none;
}

/* --- Étape 2 : Layout Header --- */
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-prev {
    text-decoration: none;
    font-size: 0.9rem;
}

/* --- Message de chargement dynamique --- */
.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #cbd5e1;
    font-family: 'Cinzel', serif;
}

/* --- Sélection Durée --- */
.duration-box-hidden {
    display: none;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.duration-title {
    font-family: 'Cinzel', serif;
    color: #F7E7B0;
    font-size: 1.15rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* --- Barre de Validation Étape Prestation --- */
.validation-bar-hidden {
    display: none;
    margin-top: 40px;
    justify-content: center;
}

.btn-search-slots {
    font-size: 1.05rem;
    padding: 12px 30px;
}

/* --- Étape 3 : Bannière Créneau Choisi --- */
.chosen-slot-banner .chosen-slot-info strong {
    color: #ffffff;
}

/* --- Formulaire --- */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Cas particulier pour le textarea qui ne doit pas s'étirer via 'flex: 1' */
.booking-form > .form-group {
    flex: none;
}

.form-label {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.form-input,
.form-textarea {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.form-textarea {
    resize: vertical;
}

/* Champ d'affichage statique de la prestation */
.form-static-display {
    padding: 11px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(0, 0, 0, 0.4);
    color: #d4af37;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    text-shadow: none;
}

/* Bouton de soumission du formulaire */
.btn-submit {
    align-self: center;
    margin-top: 10px;
}

/*** Paiement ***/
.payment-simulator-card {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-family: 'Inter', sans-serif;
    animation: fadeIn 0.4s ease-out;
}

.simulator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.stripe-logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #635bff;
    letter-spacing: -0.5px;
}

.badge-sandbox {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-summary {
    text-align: center;
    margin-bottom: 30px;
}

.summary-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.amount-title {
    font-size: 2.2rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.booking-details-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 15px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-row span {
    color: rgba(255, 255, 255, 0.55);
}

.detail-row strong {
    color: #ffffff;
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-form h3 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1rem;
    margin: 0 0 5px 0;
    text-shadow: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.card-form input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: monospace;
    transition: border-color 0.2s;
}

.card-form input:focus {
    border-color: #d4af37;
    outline: none;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.card-input-wrapper input {
    width: 100%;
    padding-right: 40px;
    box-sizing: border-box;
}

.card-type-icon {
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
}

.form-row-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-pay-now {
    width: 100%;
    margin-top: 15px;
    padding: 14px !important;
    font-size: 1.05rem !important;
    font-weight: bold !important;
    letter-spacing: 0.5px;
}

.simulation-note {
    margin-top: 25px;
    font-size: 0.78rem;
    color: #f87171;
    line-height: 1.4;
    text-align: center;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px;
    border-radius: 6px;
}

/*** Reserver success ***/
.booking-success-card {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: 'Inter', sans-serif;
    animation: fadeIn 0.5s ease-out;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.12);
    border: 2px solid #d4af37;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.success-icon {
    font-size: 2.5rem;
}

.booking-success-card h2 {
    font-family: 'Cinzel', serif;
    color: #d4af37;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.intro-p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
}

.success-details-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 22px;
    text-align: left;
    margin-bottom: 30px;
}

.details-title {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 1.05rem;
    margin: 0 0 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
    text-shadow: none;
}

.success-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.success-grid-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    line-height: 1.4;
}

.detail-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.detail-value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.gold-highlight {
    color: #d4af37;
}

.follow-up-instructions {
    text-align: left;
    background: rgba(212, 175, 55, 0.04);
    border-left: 3px solid #d4af37;
    padding: 20px;
    border-radius: 0 6px 6px 0;
}

.follow-up-instructions p {
    color: #ffffff;
    font-size: 0.92rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.follow-up-instructions ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.45;
}

/* Conteneur principal de la carte */
.prestation-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 389px;
    border-radius: 20px; /* Bords bien arrondis */
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: flex-end; /* Aligne le contenu en bas */
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Léger reflet sur le bord */
    min-width: 0;
    margin: 22px 0;
}

.prestation-card .description {
    position: absolute;
    bottom: 28px;
    left: 28px;
    color: white;
    max-width: 50%;
}

.prestation-card .card-subtitle {
    padding-top: 0;
    font-size: 1em;
    color: lightgrey;
}

/* Effet au survol */
.prestation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(147, 112, 219, 0.3); /* Halo violet subtil */
}

/* Contenu interne */
.card-content {
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* Zone des badges de durée */
.card-durations {
    display: table-column;
    max-width: 166px;
}

.duration-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 123px;
    text-align: right;
}

span.duration {
    font-size: 1rem;
}

span.price {
    color: rgba(200, 200, 255, 1);
}

/* Titre de la prestation */
.card-title {
    color: #ffffff;
    font-size: 1.6rem;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Roboto, sans-serif; /* Ajustez selon vos polices */
    max-width: 44%;
    text-align: right;
}

@media (max-width: 620px) {
    .prestation-card .description {
        font-size: 0.95rem;
        max-width: 44%;
    }

    .card-content {
        padding: 25px 10px 25px 0;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .duration-badge {
        max-width: 55px;
    }
}

/* Boutons d'action */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    gap: 10px;
}

/* Boutons de base */
.card-actions a {
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.card-content.nodesc .card-title {
    max-width: 90%;
}

/* Bouton "Réserver" (Principal) */
.btn-primary {
    background: #9370DB; /* Couleur violet/médium spirituel */
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
}

.btn-primary:hover {
    background: #8a2be2;
    transform: scale(1.03);
}

/* Bouton "En savoir plus" (Secondaire) */
.btn-secondary {
    background: transparent;
    color: #e0e0e0 !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: #ffffff;
}

.contact-title {
    font-family: serif; /* À adapter selon vos polices (ex: même que "Giovanni Lucas") */
    color: #d4af37; /* Or */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: #e2d9f3;
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Style de l'encart WhatsApp (Mis en valeur) */
.whatsapp-highlight {
    background: rgba(50, 0, 50, 0.5);
    border: 2px solid #25D366;
    border-radius: 12px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.whatsapp-highlight:hover {
    transform: translateY(-2px);
}

.whatsapp-highlight .method-icon {
    color: #25D366;
}

.badge-recommande {
    background-color: #25D366;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.whatsapp-highlight h2 {
    color: #fff;
    margin: 0;
    font-size: 1.6rem;
}

.whatsapp-highlight p {
    color: #c9bedc;
    font-size: 0.95rem;
    margin: 0 0 10px 0;
    max-width: 450px;
}

/* Bouton d'action WhatsApp */
.whatsapp-btn {
    display: inline-block;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 30px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background-color: #20ba56;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Grille pour les méthodes secondaires */
.secondary-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .secondary-methods {
        grid-template-columns: 1fr;
    }
}

.secondary-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: background 0.3s ease;
}

.secondary-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.secondary-card h2 {
    color: #d4af37; /* Or */
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 8px;
}

.secondary-card p {
    color: #a396be;
    font-size: 0.85rem;
    margin: 0 0 15px 0;
}

/* Liens téléphoniques et mails */
.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
    color: #d4af37;
    border-color: #d4af37;
}

.support-img, .support-img:hover {
    background-image: url('/images/support.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
