@import url("https://fonts.googleapis.com/css2?family=Beau+Rivage&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
    --beige: #fbc586;
    --grey: #5c5c5c;
    --turquoise: #49c9cb;
    --marron: #3d1907;
    --ecriture: #8c612b;
    --fondbeige: rgb(253, 223, 188);
    --fond-btn: #fddfbc;
    --base-color: #03bbf3;
    --gray-color: #8f8f88;
    --second-color: #23242a;
    --fondnav: rgba(61, 25, 7, 0.7);
    --text-beau: "Beau Rivage", cursive;
    --text-robo: "Roboto", sans-serif;
    --fond-toggle: #bdb7b7;
    --remonte-bg: rgba(253, 223, 188, 0.9);
    --remonte-bg-hover: #fddfbc;
    --remonte-i-color: #8c612b;
    --remonte-i-hover: #49c9cb;
    --footer-bg: transparent;
    --footer-text: #fbc586;
    --footer-hover: #49c9cb;
    --btn-btn-bg: #6c757d;
    --btn-btn-color: #fff;
    --btn-btn-border: #6c757d;
    --btn-btn-color-hover: #49c9cb;
}

/*============================================
                NAVBAR BOUTON 
  =============================================*/
/* navBar bouton gris ecriture blanche hover blanc/turquoise*/
.nav-bouton {
    position: absolute;
    width: 100%;
    height: 8vh;
    top: 0;
    left: 0;
    background: transparent;
    padding: 0 2rem;
    z-index: 9999;
}
.menu-bouton {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px;
}
.logo {
    font-size: 2rem;
    padding: 20px;
}
.toggle {
    display: none;
}
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 550px;
    margin: 0 10px;
    padding: 10px;
}
.bouton-bouton {
  background-color: var(--btn-btn-bg); /* Couleur */
  color: var(--btn-btn-color);            /* Couleur */
  border: 2px solid var(--btn-btn-border); /* Bordure assortie */
  padding: 10px 20px;        /* Espacement interne */
  font-size: 16px;           /* Taille du texte */
  font-weight: bold;         /* Texte en gras */
  border-radius: 10px;        /* Coins arrondis */
  cursor: pointer;           /* Curseur en forme de main */
  transition: all 0.3s ease; /* Transition douce pour l'effet au survol */
}

/* Effet visuel lors du survol de la souris */
.bouton-bouton:hover {
  background-color: var(--btn-btn-color); /* Le fond inverser */
  color: var(--btn-btn-color-hover);            /* L'écriture change couleur */
}

/* variation des boutons selon page */
body.b-espagne {
   --btn-btn-bg:var(--fond-btn);
   --btn-btn-color:var(--marron);
   --btn-btn-border:var(--marron);
   --btn-btn-color-hover:var(--beige);
}
body.b-recettes {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--marron);
    --btn-btn-color-hover:var(--beige);
}
body.b-maroc {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--marron);
    --btn-btn-color-hover:var(--beige);
}
body.b-emma {
    --btn-btn-bg:var(--fond-btn);
   --btn-btn-color:var(--marron);
   --btn-btn-border:var(--marron);
   --btn-btn-color-hover:var(--beige);
}
body.b-marcel {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--marron);
    --btn-btn-color-hover:var(--beige);
}
body.b-juan {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--fond-btn);
    --btn-btn-color-hover:var(--beige);
}
body.b-gaelle {
    --btn-btn-bg:var(--fond-btn);
   --btn-btn-color:var(--marron);
   --btn-btn-border:var(--marron);
   --btn-btn-color-hover:var(--beige);
}
body.b-corse {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--fond-btn);
    --btn-btn-color-hover:var(--beige);
}
body.b-bm-naor {
    --btn-btn-bg:var(--fond-btn);
    --btn-btn-color:var(--marron);
    --btn-btn-border:var(--fond-btn);
    --btn-btn-color-hover:var(--beige);
}
/* ======================================================
          CODE DU BOUTON QUI REMONTE HAUT PAGE
    ===================================================== */
/* LE CONTENEUR DU BOUTON par defaut beige*/
#monBouton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;

    /* Visuel */
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--remonte-bg);

    /* EFFET DE FONDU : On prépare l'état visible */
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Position normale */
    transition:
        opacity 0.5s ease,
        visibility 0.5s,
        transform 0.5s ease,
        background-color 0.3s; /* Pour le hover */
}
/* ÉTAT CACHÉ : Le fondu sortant */
#monBouton.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Il descend un peu en disparaissant */
    pointer-events: none; /* Empêche de cliquer dessus quand il est invisible */
}
#monBouton:hover {
    background-color: var(--remonte-bg-hover);
    transform: scale(1.1); /* Petit zoom au survol */
}
/* L'ICONE A L'INTERIEUR */
#monBouton i {
    color: var(--remonte-i-color); /* Votre couleur marron */
    font-size: 1.5rem;
    transition: color 0.3s;
}
#monBouton:hover i {
    color: var(--remonte-i-hover); /* Votre bleu turquoise au survol */
}

/* Variation du bouton remonte selon les pages */
body.b-notremariage {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-choix {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-videos {
    --remonte-bg: #e50914;
    --remonte-i-color: #ffffff;
    --remonte-bg-hover: #8a3a3a;
    --remonte-i-hover: #aaa;
}
body.b-ecole {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-stella {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-steph {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-tatoo {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-israel {
    --remonte-bg: #bed3f8;
    --remonte-i-color: #1c0bb6;
    --remonte-bg-hover: #121e53;
}
body.b-marcel {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-jessica {
    --remonte-bg: var(--fondbeige) ;
    --remonte-i-color: #933b11;
}
body.b-henne {
    --remonte-bg: #777777;
    --remonte-i-color: #fff;
    --remonte-bg-hover: #ecf3f5;
}
body.b-gaelle {
     --remonte-bg: var(--marron);
    --remonte-i-color: var(--beige);
    --remonte-bg-hover: #ecf3f5;
}
body.b-cousins {
     --remonte-bg: var(--marron);
    --remonte-i-color: var(--beige);
    --remonte-bg-hover: #ecf3f5;
}
body.b-bm-ron {
    --remonte-bg: #d3d0d0;
    --remonte-i-color: #575555;
    --remonte-bg-hover: #d1d1c7;
}
body.b-lucien {
    --remonte-bg: #bed3f8;
    --remonte-i-color: #1c0bb6;
    --remonte-bg-hover: #121e53;
}




/* ===================================================
             LE FOOTER
    ================================================== */
/* Style général */
.cc-footer {
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centre horizontalement tous les blocs */
    gap: 15px;                /* Remplace les paddings aléatoires pour un espacement uniforme */
    padding: 20px 0;
    margin-top: auto;
    width: 100%;
    background-color: var(--footer-bg);
}
.foot-logo {
    display: flex;
    justify-content: center;
}
footer .links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;                /* Espace uniforme entre les liens sans décaler le premier */
    padding: 0;
    margin: 0;
}
footer .links p{
     margin: 0;
    position: relative; /* Indispensable pour positionner la ligne animée */
    padding: 3px 0;    /* Ajustement du padding pour l'animation */
    cursor: pointer;
}
footer .links p a {
    text-decoration: none;
    color: var(--footer-text);
    font-size: 1.3em;
    font-weight: 500;
    font-style: italic;
    display: block;           /* Permet un meilleur alignement du texte */
    text-align: center;
    transition: color 0.3s ease; /* Transition douce pour la couleur du texte */
}
/* Création de la ligne invisible par défaut */
footer .links p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;         /* Démarre au centre */
    width: 0;          /* Largeur initiale nulle */
    height: 2px;       /* Épaisseur de la ligne */
    background-color: var(--footer-hover);
    transition: width 0.3s ease, left 0.3s ease; /* Animation fluide */
}
/* Comportement au survol du lien */
footer .links p:hover a {
    color: var(--footer-hover);
}

/* Déploiement de la ligne au survol */
footer .links p:hover::after {
    width: 100%;       /* Prend toute la largeur */
    left: 0;           /* Se recale à gauche pour s'étendre du centre vers les bords */
}
.foot-copy {
    text-align: center;       /* Force le texte de copyright au milieu */
    color: var(--footer-text);
    font-style: italic;
    font-size: 0.9em;        /* Un peu plus petit sur mobile pour l'élégance */
}
/* variante du footer selon les pages */
body.home {
    --footer-bg: #3d1907;
}
body.b-choix {
    --footer-text: #6c757d;
}
body.b-videos {
    --footer-text: #aaa;
}
body.b-notremariage {
    --footer-text: var(--grey);
}
body.b-album {
    --footer-bg: #3d1907;
}
body.b-about {
    --footer-text: #8c612b;
}
body.b-ecole {
    --footer-text: var(--grey);
}
body.b-recettes {
    --footer-text: #8b3a08;
}
body.b-stella {
    --footer-text: #fff;
}
body.b-maroc {
    --footer-text: var(--grey);
}
body.b-steph {
    --footer-text: var(--grey);
}
body.b-tatoo {
    --footer-text: #fff;
}
body.b-emma {
    --footer-text: #47220f;
}
body.b-israel {
    --footer-text: #1c0bb6;
}
body.b-marcel {
    --footer-text: var(--grey);
}
body.b-jessica {
    --footer-text: #933b11;
}
body.b-henne {
    --footer-text: #fff;
}
body.b-gaelle {
    --footer-text: var(--marron);
}
body.b-cousins {
    --footer-text: var(--marron);
}
body.b-corse {
    --footer-text: var(--marron);
}
body.b-charles {
    --footer-text: var(--marron);
}
BODY.b-bm-ron {
    --footer-text: #fff;
}
body.b-lucien {
    --footer-text: #1c0bb6;
}
body.b-amar {
    --footer-text: var(--marron);
}
body.b-animaux-light {
    --footer-bg:var(--marron);
}

/* ========================================================
                 ICONE  FA   COLOR
   ======================================================= */
.fa-beige {
    color: var(--beige);
}
.fa-beige:hover {
    color: var(--turquoise);
}   
.fa-blanc {
    color: #fff;
}
.fa-blanc:hover {
    color: var(--turquoise);
}
.fa-bleu {
    color: #1c0bb6;
}
.fa-gris {
    color: #575555;
}
.fa-gris:hover {
    color: var(--turquoise);
}
.fa-rouge {
    color: #e50914;
}





/* =====================================================
                      LECTEUR VIDEOS
   =====================================================          */
.video-container {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center; /* Centre les éléments sur chaque ligne */
    gap: 30px;                   /* Espace entre les deux blocs vidéo */
    padding: 20px;
    margin-top: 20vh;            /* Évite la superposition avec le header absolute */
    max-width: 1200px;           /* Largeur maximale de la zone de contenu */
    margin-left: auto;           /* Centre le conteneur dans la page */
    margin-right: auto;
    padding-bottom: 40vh;

}
.video-item {
     flex: 0 1 480px;             /* S'étire, mais passe à la ligne sous 450px de large */
    max-width: 100%; 
    width: 480px;          
    display: flex;
    flex-direction: column;
    align-items: center;
    scroll-margin-top: 0px;
    min-height: 350px;
}
.video-item video {
    width: 100%;                 /* Occupe toute la largeur du bloc parent */
    height: 350px;               /* Force une hauteur identique pour toutes les vidéos */
    object-fit: cover;           /* Remplit le cadre sans déformer la vidéo (recadre si besoin) */
    border-radius: 8px;          
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); 
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Rend l'effet fluide */
}
/* Effet au survol (Hover) */
.video-item video:hover {
    transform: translateY(-8px); /* Soulève légèrement la vidéo */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); /* Rend l'ombre plus grande et plus sombre */
    cursor: pointer; /* Indique clairement que c'est cliquable */
}

/* ============================================================
                     SECTION CADRE QUI BOUGE
 ============================================================= */
/* section cadre qui bouge */
.contfig {
    margin: 90px 40px;
    flex: 1;
}
.wave {
    float: left;
    margin: 20px;
    animation: wave ease-in-out 0.5s infinite alternate;
    transform-origin: center -36px;
}
.wave:hover {
    animation-play-state: paused;
    cursor: pointer;
}
.wave img {
    border: 5px solid grey;
    display: block;
    width: 200px;
    height: 250px;
}
.wave a {
    text-decoration: none;
    color: #5c5c5c;
}
.wave figcaption {
    text-align: center;
}
.wave figcaption:hover {
    color: #49c9cb;
}
.wave:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1.5px solid black;
    top: -10px;
    left: 50%;
    border-bottom: none;
    border-right: none;
    transform: rotate(35deg);
}
.wave:before {
    content: "";
    position: absolute;
    top: -23px;
    left: 50%;
    display: block;
    height: 44px;
    width: 47px;
    background-image: url("https://cdn.hashnode.com/res/hashnode/image/upload/v1602040503586/FW6g79WBY.png");
    background-size: 20px 20px;
    background-repeat: no-repeat;
    z-index: 16;
}
@keyframes wave {
    0% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(-10deg);
    }
}


/* ----------FORMULAIRE DE CONNEXION--------- */
.b-test-connect {
    background: url(../images/fond_pages/bleu-noir-vague.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sect-test {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    padding: 30px 20px;
    width: 90%;
    max-width: 520px;
    min-width: 280px;
    border-radius: 20px;
    box-sizing: border-box; /* Sécurité pour le calcul de la largeur */
}
.sect-test h2 {
    font-family: var(--text-play);
    color: var(--base-color);
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}
.sect-test h3 {
    color: var(--gray-color);
    font-style: italic;
    font-size: 1.7rem;
    font-weight: 400;
    text-align: center;
    margin-top: 30px;
}
.sect-test form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px; /* Ajoute un espace propre entre l'input et le bouton */
    max-width: 300px;
    margin: 0 auto;
}
/* ---- ZONE SÉCURISÉE ET NETTOYÉE ---- */

/* Le conteneur prend toute la largeur du formulaire */
.password-container {
    position: relative;
    width: 100%;
}

/* Le champ de saisie hérite de vos styles d'origine */
.password-container input {
    width: 100%;
    padding: 15px 45px 15px 15px; /* 45px à droite pour ne pas écrire sur l'icône */
    border-radius: 25px;
    outline: none;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #49c9cb;
    box-sizing: border-box; /* Indispensable pour garder la même largeur que le bouton */
}

.password-container input::placeholder {
    color: var(--gray-color);
}

/* Positionnement de l'icône parfaitement centré au milieu du champ */
.password-container i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%); /* Centre l'icône au pixel près verticalement */
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6); /* Couleur adaptée à votre fond sombre */
    font-size: 1.1rem; /* Taille de l'icône */
    z-index: 10; /* S'assure que l'icône reste cliquable */
}

/* Nettoyage de l'ancienne boîte */
.input-box {
    width: 100%;
    margin-top: 30px; /* Espace après le titre h3 */
}

/* Votre bouton (inchangé mais propre) */
.login-btn {
    width: 100%;
    padding: 15px; /* Aligné sur le padding de l'input pour la même hauteur */
    border-radius: 25px;
    background-color: transparent;
    color: var(--gray-color);
    outline: none;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Ajout d'une bordure initiale pour éviter le saut au hover */
    transition: 0.5s;
    box-sizing: border-box;
}
.login-btn:hover {
    background-color: transparent;
    border: 2px solid #49c9cb; /* Change de couleur au survol pour correspondre au texte de l'input */
    color: var(--base-color);
}


/* ----------MENU NAVIGATION PAGE ACCUEIL---------- */
.links li {
    list-style: none;
}
.links li a {
    text-decoration: none;
    color: var(--beige);
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
    border-bottom: 1px solid transparent;
    transition:
        padding-bottom 0.4s ease-in-out,
        border-color 0.3s ease;
}
.links li a:hover {
    color: var(--turquoise);
    padding-bottom: 20px;
    border-bottom-color: var(--turquoise);
}
.cc-nav {
    background-color: var(--fondnav);
    position: relative;
    padding: 0 2rem;
}
.navbar {
    width: 100%;
    max-width: 1200px;
    height: 90px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.avion-bleu {
    width: 180px;
    height: auto;
}
.navbar .links {
    display: flex;
    gap: 2rem;
}
.navbar .burger-button {
    color: var(--beige);
    font-size: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--beige);
    padding: 2px;
    border-radius: 5px;
    display: none;
}
/* ------------BURGER MENU PAGE ACCUEIL-------------- */
.burger-menu {
    display: none;
    z-index: 9999;
    height: 0;
    position: absolute;
    right: 2rem;
    top: 90px;
    width: 300px;
    background: rgba(61, 25, 7, 0.5);
    backdrop-filter: blur(15px);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.burger-menu.open {
    height: 380px;
}
.burger-menu li {
    padding: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* -----------SECTION ANNIVERSAIRE PAGE ACCUEIL-------------- */
.banner {
    background:
        linear-gradient(rgba(231, 227, 225, 0.5), rgba(231, 227, 225, 0.5)),
        url("/images/fond_pages/Flou-bobine.jpg") top center fixed no-repeat;
    background-size: cover;
    height: 900px;
    background-color: rgba(253, 223, 188, 0.5);
}
.container-anniv {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    gap: 20px; /* Espace entre l'image et le texte */
    justify-content: center;
    align-items: center;
}
#anniv {
    padding: 45px;
    text-align: center;
    font-size: 20px;
}
.container-gateau {
    display: block;
    margin-top: 10px; /* Espace entre le texte et le gâteau */
}
.container-gateau img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.bienvenue {
    text-align: end;
    padding: 80px;
}
.item {
    text-align: center;
    padding: 70px;
    font-size: 20px;
    font-weight: bold;
}
/* texte anime */
.texte-anime {
    animation: descendre 1s ease-out forwards;
    opacity: 0;
}
@keyframes descendre {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.banner .banner-bienvenue {
    font-family: var(--text-beau);
    font-size: 42px;
    color: #5c5c5c;
    font-weight: 600;
    font-style: italic;
    text-align: center;
}
.banner .banner-bienvenue:hover {
    color: #3d1907;
    cursor: pointer;
}

/* ---------SECTION PRESENTATION DE NOUS 4 PAGE ACCUEIL */
/* Style par défaut : Mobile (texte sous l'image) */
.presentation-responsive {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    gap: 20px; /* Espace entre l'image et le texte */
    justify-content: center;
    align-items: center;
    background-color: rgba(253, 223, 188, 0.5);
}
.presentation-responsive .left {
    margin: 20px;
}
.image-presentation {
    border-radius: 10px;
    filter: brightness(100%);
    cursor: pointer;
}
.image-presentation:hover {
    filter: brightness(80%);
}
.presentation-responsive .right {
    margin: 20px;
    text-align: center;
}
.description {
    color: var(--grey);
    font-weight: 700;
    font-style: italic;
    font-family: var(--text-play);
    font-size: 28px;
    margin-bottom: 40px;
}
.btn-savoir {
    margin-top: 25px;
    margin-bottom: 15px;
    padding: 10px 20px;
    background-color: #3d1907;
    color: #fbc586;
    border-bottom: 1px solid transparent;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.5s;
    text-decoration: none;
}
.btn-savoir:hover {
    color: #49c9cb;
    border-bottom-color: #49c9cb;
    padding-bottom: 20px;
}
/* --------SEPARATION PAGE ACCUEIL------- */
.separation {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
}
/* --------CARTE PAGE ACCUEIL-------- */
.cards {
    background-color: var(--marron);
    width: 100%;
}
.card {
    align-items: center;
    padding: 20px;
}
.cards .card img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    filter: brightness(100%);
    cursor: pointer;
}
.cards .card img:hover {
    filter: brightness(80%);
}
.card-text {
    text-align: center;
    font-style: italic;
    padding: 20px;
}
.card-text p {
    color: var(--beige);
    font-size: 1.8rem;
    cursor: pointer;
    text-decoration: underline;
}
.card-text p:hover {
    color: var(--turquoise);
}

/* ---------PAGE CHOIX ALBUM PHOTO-------- */
.b-album {
    background-color: var(--fond-btn);
}
.container-album {
    background-color: rgba(61, 25, 7, 0.9);
    width: 90%;
    max-width: 1200px;
    margin: 10px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding-bottom: 5px;
}
.container-album h2 {
    color: var(--beige);
    font-size: 1.7rem;
    font-style: italic;
    margin: 20px 0;
    padding: 15px 0;
    text-align: center;
    font-family: var(--text-play);
}
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    grid-gap: 30px;
    margin: 80px auto;
    width: 95%;
}
.card-wrapper {
    position: relative;
    min-height: 350px;
    perspective: 2000px;
    perspective-origin: top;
}
.card-wrapper:hover .card-album {
    transform: rotateY(180deg);
    /* box-shadow: 0 15px 30px rgba(64, 224, 208, 0.6); */
}
/* Lueur pour les Mariages (Beige/Doré) */
.theme-mariage:hover .card-album {
    box-shadow: 0 0 25px 5px rgba(247, 209, 128, 0.5); /* Lueur Beige */
}
/* Lueur pour les Voyages (Turquoise/Bleu) */
.theme-voyage:hover .card-album {
    box-shadow: 0 0 25px 5px rgba(64, 224, 208, 0.6);
    /* Lueur Turquoise */
}
/* Lueur pour les Bar-Mitsvote (Argent/Blanc ou autre couleur) */
.theme-bm:hover .card-album {
    box-shadow: 0 0 25px 5px rgba(176, 206, 95, 0.89); /* Lueur Blanche */
}
.card-album {
    position: relative;
    width: 100%;
    height: 350px;
    transform-style: preserve-3d;
    transition:
        transform 0.8s cubic-bezier(0.86, 0, 0.07, 1),
        box-shadow 0.5s ease;
}
.card-front,
.card-back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 0;
    border-radius: 8px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
}
.card-front img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* object-position: center; */
    border-radius: 8px;
}
.card-back {
    background: var(--fond-btn);
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}
.card-back a {
    display: inline-block;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: normal;
    font-size: 14px;
    background-color: var(--marron);
    color: var(--beige);
    transition:
        background-color 0.3s ease-in-out,
        color 0.3s ease-in-out;
}
.card-back a:hover {
    background-color: var(--beige);
    color: var(--turquoise);
}

/* ---------PAGE CONTACT-------- */
.b-contact {
    background: url("/images/photo_libre/appareil_photo_rose.jpg") center fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}
.f-contact {
    flex: 1; /* Très important : il occupe tout l'espace vide et pousse le footer en bas */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0; /* Ajoute un peu d'air au-dessus et en dessous */
    font-weight: bold;
    margin-top: 30px;
}
.f-contact form {
    padding: 30px;
    background-color: #fef1df;
    border-radius: 10px;
}
.f-contact form h2 {
    font-family: var(--text-play);
    font-size: 26px;
    font-style: italic;
    color: var(--ecriture);
}
.trait {
    width: 100%;
    height: 1px;
    background-color: var(--ecriture);
}
.corps-formulaire {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
.corps-formulaire .groupe {
    position: relative; /* Pour mettre positionner l’élément dans le flux normal de la page */
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}
.corps-formulaire .gauche .groupe input {
    margin-top: 5px;
    padding: 12px 10px 12px 35px;
    border: 1px solid #c9c9c9;
    outline-color: var(--marron);
    border-radius: 5px;
    font-size: 14px;
}
.corps-formulaire .gauche .groupe i {
    position: absolute; /* positionné par rapport à son parent le plus proche positionné */
    left: 12px;
    top: 46px;
    font-size: 14px;
    color: var(--marron);
    pointer-events: none;
}
/* Espacement du label */
.corps-formulaire .groupe label {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--ecriture);
    font-family: var(--text-robo);
}
.corps-formulaire .droite {
    margin-left: 40px;
}
.corps-formulaire .droite .groupe {
    height: 100%;
}
.corps-formulaire .droite .groupe textarea {
    margin-top: 5px;
    padding: 12px;
    background-color: #f1f1f1;
    border: 2px solid var(--marron);
    outline: none;
    border-radius: 5px;
    resize: none;
    height: 72%;
}
.pied-formulaire button {
    margin-top: 10px;
    background-color: var(--marron);
    color: var(--beige);
    font-size: 15px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: transform 0.5s;
}
.pied-formulaire button:hover {
    transform: scale(1.05);
    background-color: transparent;
    color: var(--turquoise);
}
/* Animation d'apparition en douceur */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.effet-fondu {
    animation: fadeIn 0.6s ease-out forwards;
}
/* -----------PAGE SEND MAIL PHP----------- */
.b-send {
    background-color: #fddfbc;
}
.mess-envoi {
    font-size: 30px;
    font-style: italic;
    font-weight: bold;
}
.p-secur {
    text-align: center;
    margin-top: 300px;
}
.btn-acc {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------PAGE ABOUT--------- */
.b-about {
    background: url("../images/photo_libre/livre_ancien.jpg") center center
        no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
.about {
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column; /* CRUCIAL : pour empiler titre et contenu */
    justify-content: flex-start;
}
.p-propos {
    width: 100%;
    color: white;
    padding: 0 20px;
    margin: 0;
    box-sizing: border-box;
}
.p-propos h2 {
    font-size: calc(1.475rem + 2.7vw);
    font-weight: 700;
    font-style: italic;
    text-align: left;
    margin: 0 0 20px 0;
}
.about-responsive {
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    box-sizing: border-box;
    width: 100%;
    margin: 15px;
}
.left-about {
    width: 100%;
    padding: 0 20px; /* Même retrait que le titre */
    box-sizing: border-box;
    text-align: left;
}
.right-about {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start; /* Aligne l'image à gauche avec le texte */
}
.about-responsive .right-about {
    margin: 10px 0;
    width: 100%;
}
.right-about .jardin {
    width: 100%;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 25px;
    border: 4px solid white;
    max-width: 400px;
    height: auto;
    filter: brightness(100%);
    transition: filter 0.3s;
    cursor: pointer;
}
.jardin:hover {
    filter: brightness(80%);
}
.about-responsive .left-about {
    margin: 0 0 30px 0;
    width: 100%;
    text-align: left;
    padding: 0 20px;
}
.c-propos {
    color: white;
    font-weight: 600;
    font-style: italic;
    font-size: 1.4rem;
    border-left: solid 5px white;
    padding-left: 15px;
    margin: 0 0 30px 0; /* Aligné à gauche, pas de auto */
    width: 100%;
    box-sizing: border-box;
}
/* Animation texte */
.texte-zoom {
    display: inline-block; /* Nécessaire pour la transformation */
    transition: transform 0.3s ease; /* Fluidité de l'animation */
}
.texte-zoom:hover {
    transform: scale(1.05); /* Agrandit le texte de 20% */
}
.c-vie {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    border-right: solid 5px white;
    padding-left: 30px;
    height: 100%;
    padding-right: 15px;
}
.alya {
    position: relative;
    max-width: 700px;
    height: 420px;
}
.img-base {
    border-radius: 30px;
}
.img-hover {
    border-radius: 30px;
}
.alya img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
}
.img-hover {
    opacity: 0;
}
.alya:hover .img-hover {
    opacity: 1;
}
.alya:hover .img-base {
    opacity: 0;
}
.about .passions {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 300px;
}
.about .passions p {
    color: white;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}
.card-about img {
    display: inline;
    width: 250px;
    height: 250px;
    border: solid 2px #fddfbc;
    border-radius: 50%;
    position: relative;
    top: 30px;
    cursor: pointer;
    filter: brightness(100%);
}
.card-about img:hover {
    filter: brightness(80%);
}
.card-about {
    border: solid 2px var(--beige);
    width: 430px;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
    border-radius: 10px;
}
.container-about {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.card-top {
    background: #8c612b;
    text-align: center;
    height: 30%;
    border-radius: 10px 10px 0 0;
}
.card-infos {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}
.name {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    padding-top: 35px;
}
.job {
    color: var(--marron);
    margin-top: 15px;
    font-size: 1.4rem;
    font-style: italic;
}
.btn-about {
    margin-bottom: 40px;
    text-align: center;
}
.btn-about button {
    border: solid 2px #8c612b;
    border-radius: 10px;
    color: #8c612b;
    padding: 10px 20px;
    cursor: pointer;
}
.btn-about button:hover {
    background: #8c612b;
    color: white;
}

/* --------PAGE BM RAPHAEL------- */
.b-bm-raph {
    background: url("../images/fond_pages/raphaelBm.JPG") center center
        no-repeat;
    background-attachment: fixed;
    background-size: cover;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.logo-vague {
    font-size: 2rem;
    padding: 10px;
}
.nav-vague {
    width: 100%;
    height: 8vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px;
}
.menu-vague {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 100%;
    margin: 40px;
    padding: 10px;
    gap: 30px;
}
.bm-a {
    position: relative;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    width: 200px;
    overflow: hidden;
    border-radius: 10px;
}
.bm-a span {
    position: relative;
    color: #fbc586;
    font-weight: bold;
    font-size: 20px;
    font-family: var(--text-robo);
    letter-spacing: 0px;
    z-index: 1;
}
.bm-a:hover {
    color: #47220f;
}
.bm-a .liquid {
    position: absolute;
    top: -80px;
    left: 0;
    width: 200px;
    height: 200px;
    background: #3d1907;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
}
.bm-a .liquid::after,
.bm-a .liquid::before {
    content: "";
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #933b11;
}
.bm-a .liquid::before {
    border-radius: 45%;
    background: rgba(165, 42, 42, 1);
    animation: animate 5s linear infinite;
}
.bm-a .liquid::after {
    border-radius: 40%;
    background: rgba(139, 69, 19, 0.5);
    animation: animate 10s linear infinite;
}
.bm-a:hover .liquid {
    top: -120px;
}
@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

/* Style texte sous vidéo */
.p-beige {
    color: var(--beige);
    font-family: var(--text-robo);
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px); /* Taille fluide : max 25px, plus petit sur mobile */
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}

/*------PAGE NOTRE MARIAGE--------*/
.b-notremariage {
    background: url("../images/fond_pages/voilemariage.jpg") center center fixed
        no-repeat;
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
}
/* style texte sous vidéo */
.p-gris {
    color: var(--grey);
    font-family: var(--text-robo);
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}


/* -------PAGE ESPAGNE----------*/
.b-espagne {
    background: url("../images/fond_pages/Tossa2.jpeg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ---------PAGE ECOLE------------ */
.b-ecole {
    background: url("../images/photo_libre/crayon.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ----------PAGE ALYAH---------- */
.b-alyah {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0; 
    background: rgba(253, 223, 188, 0.5); 
}
 /* Zone principale pour centrer uniquement le carrousel */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Aligne le carrousel vers le haut au lieu du centre */
    padding: 10px 20px 20px 20px; /* Réduit la marge interne du haut à 10px */
}
/* carousel */
.carousel {
    width: 100%;
    max-width: 800px;
    height: 100vh;
}
.carousel-container {
    position: relative;
    width: 70%;
    height: 50vh;
    margin-top: 20px; /* Contrôle l'espace direct sous la navbar (ajustez de 0px à 20px selon vos goûts) */
    left: 50%;
    transform: translateX(-50%); /* Recentrer uniquement sur l'axe horizontal */
}
.carousel-wrapper {
    position: relative;
    overflow: visible; /* Permet aux flèches de sortir */
}

.slide img { 
    width: 100%; 
    height: 65vh; /* Hauteur agrandie (65% de la hauteur de l'écran) */
    object-fit: contain; /* Conserve les proportions sans déformer l'image */
    
    /* Arrière-plan pour combler les vides des photos portrait */
    background: linear-gradient(135px, #2c3e50, #1a252f); /* Dégradé sombre moderne */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* Ombre portée pour donner du relief */
    
    border-radius: 12px; /* Coins arrondis légèrement accentués */
    vertical-align: middle; 
}

/* Force la légende à rester seule en haut, bien centrée, sans être perturbée par les flèches */
.caption {
    width: 100%; /* Prend toute la largeur pour renvoyer les flèches à la ligne du dessous */
    margin-top: 5px;
    margin-bottom: 20px; /* Crée un espace de sécurité sous le texte */
    text-align: center;
    color: var(--marron); /* Utilise votre variable de couleur pour le texte */
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
}
.slide { 
    display: none; 
}

/* Style des flèches épurées positionnées aux extrémités des points */
.prev, .next {
    cursor: pointer;
    color: var(--marron);
    font-size: 20px; /* Taille réduite et plus fine */
    user-select: none;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
}
/* Ordonnancement strict : Flèche gauche < Points > Flèche droite */
.prev { 
    margin-right: 20px;
 } /* Décale la flèche gauche des points */
.next { 
    margin-left: 20px; 
}  /* Décale la flèche droite des points */

.prev:hover, .next:hover {
    color: var(--turquoise);
    transform: scale(1.15); /* Léger effet de zoom au survol */
}
.prev { left: -60px; }
.next { right: -60px; }

/* Points indicateurs */
/* Nouveau conteneur de navigation regroupant flèches et points */
.dots-container { 
    text-align: center;
    margin-top: 45px; 
    display: flex;
    flex-direction: column; /* Aligne le titre au-dessus du bloc flèches+dots */
    align-items: center;
    gap: 15px; /* Espace entre le titre et la ligne de navigation */
}
/* Nouveau sous-conteneur pour aligner horizontalement : Flèche - Dots - Flèche */
.nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustement des points pour s'aligner parfaitement */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 10px; /* Géré proprement par le gap du parent */
    background-color: var(--marron);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.active, .dot:hover { 
    background-color: var(--turquoise); 
}

/* Animation de fondue moderne */
.slide {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: none; /* Conservé pour bloquer les clics sur les images masquées */
}

/* Classe active déclenchée par le JavaScript */
.slide.fade-active {
    display: block;
    opacity: 1;
}

/* --------PAGE RECETTES--------- */
.b-recettes {
    background: url("../images/photo_libre/orange_noisettes.jpg") center center fixed no-repeat;
    background-size: cover;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

/* En-tête de la page (Titre + Images regroupées) */
/* Alignement global de l'en-tête */
.recette-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: relative;
    height: 250px; /* Ajustez selon la hauteur souhaitée pour l'en-tête */
}

/* Zone du titre sur le moule (à gauche) */
.moule-titre-container {
    position: absolute;
    left: 4%;       /* Ajustez pour centrer horizontalement dans le moule */
    top: 180px;        /* Ajustez pour centrer verticalement dans le moule */
    transform: rotate(-32deg); /* Aligne le texte avec l'angle du moule */
    z-index: 10;
}

/* Style du texte "Nos Recettes" */
.recette-titre-moule {
    font-family: 'Playfair Display', Georgia, serif; /* Une police élégante s'accorde bien avec le moule */
    font-style: italic;
    color: #8b3a08;   /* Couleur cuivrée/marron pour rappeler le moule et contraster avec le fond blanc */
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.6); /* Améliore la lisibilité sur l'image de fond */
    white-space: nowrap;
}

/* Positionnement des petites icônes (décalées à droite) */
.recette-illustrations {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-left: 400px; /* Pousse les icônes vers la droite */
    padding-top: 100px;
}

/* Grille principale pour aligner plusieurs recettes */
.grille-recettes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 750px;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    margin: 0 auto;
}

/* Style de chaque carte recette */
.card-recette {
    background: rgba(255, 255, 255, 0.95); /* Fond blanc semi-transparent */
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}
.card-title {
    color: #b57a3d;
    font-size: 1.8rem;
    border-bottom: 2px solid #fbc586;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 1px;
}
.card-text-recette {
    color: #333;
    line-height: 1.6;
    text-align: justify;
    font-size: 0.95rem;
}
.card-text-recette p {
    margin-bottom: 15px;
}
/* -------PAGE STELLA-------- */
.b-stella {
    background: url("../images/fond_pages/stella.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
/* style texte sous vidéo */
.p-blanc {
    color: #fff;
    font-family: var(--text-robo);
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}
/* -------PAGE MAROC-------- */
.b-maroc {
    background: url("../images/fond_pages/voyage.jpg") top right fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* -------PAGE MARIAGE STEPHANIE------ */
.b-steph {
    background: url("/images/fond_pages/mariagealliance.jpg") center center
        fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* -------PAGE MARIAGE JULIEN------- */
.b-tatoo {
    background: url("../images/fond_pages/voilteTaoo.jpg") top center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* -------PAGE MARIAGE EMMA------- */
.b-emma {
    background: url("../images/fond_pages/alliancefleurs.jpg") center center
        fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.p-emma {
    color: #47220f;
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}

/* ----------PAGE ISRAEL--------- */
.b-israel {
    background: url("../images/fond_pages/avion-israel_v1.jpg") fixed no-repeat;
    background-size: cover;
    background-position-x: left;
    background-position-y: top;
    display: flex;
    flex-direction: column;
}
.bouton-bouton-israel {
  background-color: #0d6efd; /* Couleur */
  color: #fff;            /* Couleur */
  border: 2px solid #0d6efd; /* Bordure assortie */
  padding: 10px 20px;        /* Espacement interne */
  font-size: 16px;           /* Taille du texte */
  font-weight: bold;         /* Texte en gras */
  border-radius: 10px;        /* Coins arrondis */
  cursor: pointer;           /* Curseur en forme de main */
  transition: all 0.3s ease; /* Transition douce pour l'effet au survol */
}
.menu-bleu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 550px;
    margin: 0 10px;
    padding: 10px;
}
.p-bleu {
    color: #1c0bb6;
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}
.bouton-bouton-israel:hover {
    background-color: #bed3f8;
}

/* -----------PAGE MARCEL------------- */
.b-marcel {
    background: url("../images/photo_libre/ballons.jpg") center center fixed
        no-repeat;
    background-size: cover;
    font-family: var(--text-robo);
    display: flex;
    flex-direction: column;
}


/* ----------PAGE JUAN------------ */
.b-juan {
    background: url("../images/fond_pages/textmarronbois.jpg") center center
        fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* --------PAGE JESSICA---------- */
.b-jessica {
    background: url("../images/fond_pages/textureblancligne.jpg") center center
        fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.p-jessica {
    color: #933b11;
    font-style: italic;
    text-align: center;
    font-size: clamp(18px, 4vw, 25px);
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
}

/* ----------PAGE HENNE CHARLOTTE--------- */
.b-henne {
    background: url("../images/fond_pages/henneCharlotte.JPG") center center
        fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ----------PAGE GAELLE-------- */
.b-gaelle {
    background: url("../images/photo_libre/Palmier.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.p-marron {
    color: #3d1907;
    font-family: var(--text-robo);
    font-style: italic;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-top: 50px;
    padding: 20px;
}

/* ------------PAGE COUSINS--------------- */
.b-cousins {
    background: url("../images/fond_pages/texturepapierfroisebeige.jpg") center
        center fixed no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ------------PAGE CORSE-------------- */
.b-corse {
    background: url("../images/fond_pages/plage.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* -----------PAGE MARIAGE CHARLES------------ */
.b-charles {
    background: url("../images/fond_pages/mariagemains.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* ----------PAGE BM RON-------------- */
.b-bm-ron {
    background: url("../images/fond_pages/ronnb.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* -----------PAGE BM NAOR---------------- */
.b-bm-naor {
    background: url("../images/photo_libre/barmitsva.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}
.v-video {
    padding-top: 31px;
}

/* ------------PAGE ANNIVERSAIRES----------------- */
.b-lucien {
    background: url("../images/photo_libre/anniv.png") center center fixed
        no-repeat;
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
}

/* -----------PAGE AMAR FAMILY--------------- */
.b-amar {
    background: url("../images/fond_pages/texturefumee.jpg") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

/* --PAGE CHOIX-MARIAGES/FETES/SOUVENIRS FAMILLE/VOYAGES/BM-------------- */
.container-choix {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 85%;
}

/* ------------PAGE CHOIX NATURE/ANIMAUX */
/* --- ANIMATIONS (Keyframes) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px); /* Commence 20px plus bas */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* Finit à sa position normale */
    }
}
.b-choix {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.gal-logo {
    padding: 20px;
    text-align: center;
}
.img-logo {
    width: 250px;
    height: auto;
    max-width: 100%; /* Empêche le logo de déborder */
}
.row-choix {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.col-nature {
    padding: 20px;
    font-style: italic;
    font-weight: bold;
    width: 50%;
    /* Animation des blocs avec un léger retard pour le deuxième */
    opacity: 0; /* Reste caché avant le début de l'animation */
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}
/* Retard de l'animation pour le deuxième bloc (Nature) pour un effet décalé */
.row-choix .col-nature:nth-child(2) {
    animation-delay: 0.5s;
}
.card-nature {
    width: 100%;
    overflow: hidden;
    background-color: #3d1907;
    border-radius: 20px;
    border: none;
    display: flex;
    flex-direction: column;  /* Aligne verticalement l'image et le texte */
     /* Ombre initiale discrète */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
    /* Transition fluide pour l'effet de survol */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.cb-nature {
    padding: 20px 0; /* Crée de l'espace dans le cadre marron */
    text-align: center; /* Centre le texte */
    width: 100%;
}       
.cb-nature p {
    margin: 0;
} 
.cb-nature a {
    color: #fbc586;
    text-decoration: none;
    cursor: pointer;
    font-size: 1.7rem; /* Augmente la lisibilité */
    display: inline-block; /* Obligatoire pour appliquer une transformation de taille */
    transition: color 0.3s ease, transform 0.3s ease; /* Transition fluide pour la couleur ET le zoom */
}
.cb-nature a:hover {
    color: #49c9cb;
    transform: scale(1.1); /* Zoom de 10% sur le texte */
}

.hover-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out; /* Effet fluide [6] */
}
.hover-container .img-hover {
    opacity: 0; /* Cachée par défaut */
}

/* ----------PAGE GALERIE ANIMAUX---------- */
/* CSS en plus de Lightbox.css */
.cont-gal {
    background-color: rgba(253, 223, 188, 0.5);
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.row-son {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Évite que l'audio touche les bords */
}
.row-son audio {
    width: 100%;
    max-width: 600px;
}
.gal-light {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 60px;
}
/* Style des liens Lightbox s'ils entourent vos images */
.gal-light a {
    text-decoration: none;
    position: relative;
  display: inline-block;
  margin: 10px; /* Le margin se met ici pour espacer proprement les blocs */
  border-radius: 10px;
  overflow: hidden; /* Empêche l'image de déborder du cadre arrondi lors du zoom */

}
.gal-light img {
    width: 250px;
    height: 250px;
    display: block; /* Supprime l'espace vide sous l'image */
    object-fit: cover;
    /* AJOUT ICI : Décale le cadrage vers le haut pour ne pas couper les têtes */
    object-position: 50% 15%; 
    transition: transform 0.3s ease-in-out;
}
/* 3. L'effet de zoom au survol (modifié pour cibler le lien parent) */
.gal-light a:hover img {
  transform: scale(1.1);
}

/* ----------PAGE JARDIN SLIDER */
.b-jardin-slide {
    background-color: rgba(253, 223, 188, 0.5);
}
.slider-jardin {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1100px; /* Plus large que le container pour laisser la place aux flèches */
    margin: 70px auto 0 auto;
}
.container {
  max-width: 1000px;
  width: 100%;
  margin: 0 15px; /* Espace entre l'image et les flèches */
}

.slides {
  display: none;
}
.container img {
    width: 100%;
    height: 650px;
    object-fit: contain;
    object-position: center;
}
.prev,
.next {
    cursor: pointer;
  color: white;
  padding: 16px;
  border-radius: 3px;
  background: rgba(61, 25, 7, .5);
  transition: all .3s;
  user-select: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background: rgba(61, 25, 7, .8);
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  border-radius: 50%;
  margin: 10px 2px 0 2px;
  display: inline-block;
  background: #d9ccc1;
  transition: all .3s;
}

.active,
.dot:hover {
  background: #6e574d;
}
/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Classe appliquée sur la slide active */
.slides.fade-in {
    animation: fadeIn 0.8s ease-in-out forwards;
}

/* -----------PAGE CHOIX VIDEOS */
/* Couleurs et fond façon Netflix */
body.b-videos {
    background-color: #413f3f;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;

}
/* navbar bouton */
.menu-rouge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    width: 550px;
    gap: 1.3rem; /* Espace entre chaque bouton */
    margin: 0 10px;
    padding: 10px;
}
.bouton-bouton-rouge {
    background-color: transparent; /* Fond invisible */
    color: #ecebeb; /* Écriture grise par défaut */
    border: none; /* Supprime la bordure grise d'origine */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 4px; /* Coins légèrement arrondis */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; /* Effet fluide */
}

/* Effet au survol (Hover) : apparition du rouge Netflix */
.bouton-bouton-rouge:hover {
    background-color: #e50914; /* Fond Rouge Cinéma */
    color: #ffffff; /* Écriture Blanche */
}
/* Style du bouton de la page actuelle */
.bouton-bouton-rouge.active {
    background-color: transparent;
    border-bottom: 2px solid #e50914;
    color: #ffffff;
    font-weight: bold;
}
/* En-tête */
.text-film {
    text-align: center;
    margin-top: 15vh;
    margin-bottom: 3rem;
}

.text-film h1 {
    font-size: 2.5rem;
    color: #e50914; /* Rouge Cinéma */
    margin-bottom: 0.5rem;
}

.text-film p {
    color: #aaa;
    font-size: 1.1rem;
}

/* Grille de films */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Carte de film */
.movie-card {
    background-color: #181818;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Effet au survol de la carte */
.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(229, 9, 20, 0.2);
}

/* Image/Affiche */
.movie-poster {
    width: 250px;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Badge "Nouveau" */
.movie-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e50914;
    color: white;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
}

/* Infos du film */
.movie-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.movie-year {
    color: #e50914;
    font-weight: bold;
    font-size: 0.9rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.movie-title {
    font-size: 1.15rem;
    margin: 0.4rem 0;
    color: #ffffff;
    font-weight: 600;
    font-family: var(--text-robo);
}

.movie-desc {
    color: #cccccc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    height: auto; /* Laisse le texte respirer */
    text-align: justify;
    hyphens: auto;
}

/* Bouton Regarder */
.btn-play {
    display: block; /* Permet d'appliquer les dimensions */
    width: 100%;
    text-align: center; /* Centre le texte du lien */
    text-decoration: none; /* Supprime le soulignement par défaut du lien */
    background-color: #ffffff;
    color: #141414;
    border: none;
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: auto;
}

.btn-play:hover {
    background-color: #e50914;
    color: #ffffff;
}

/* ----------PAGE GALERIE des MARIES---------------- */
.row-son-maries {
    width: 100%;
    margin: 15px 0;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px; /* Évite que l'audio touche les bords */
}
.row-son-maries audio {
    width: 100%;
    max-width: 600px;
}

/* Style de l'infobulle (Couleurs et centrage) */
.gal-light a::after {
  content: attr(data-tooltip);
  position: absolute;
  
  /* Centrage parfait sur l'image */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  
  /* Personnalisation des couleurs */
  background-color: rgba(255, 255, 255, 0.9); /* Fond blanc semi-transparent */
  color: #111111; /* Couleur du texte (ici noir/gris foncé) */
  border: 1px solid #ffffff; /* Bordure fine blanche */
  
  /* Design */
  padding: 8px 16px;
  border-radius: 20px; /* Coins très arrondis style pilule */
  font-size: 13px;
  font-weight: bold; /* Texte en gras pour une meilleure lisibilité */
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  
  /* Gestion de l'affichage */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Affichage au survol avec léger effet de zoom */
.gal-light a:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------------PAGE GALERIE-------------- */
.b-galerie {
    background: url("../images/photo_libre/appareil_photo.jpg") center center fixed no-repeat ;
    background-size: cover;
}
.galerie-logo {        
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Conteneur principal qui commence sous la navbar */
.contenu-principal {
    /* DECALAGE : Évite que le titre ne se cache sous la navbar de 8vh */
    padding-top: 5vh; 
    padding-bottom: 4vh;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
    /* Style du Titre de la Section */
.titre-galerie {
    margin-bottom: 4vh;
    text-align: center;
    font-size: 2rem;
    color: var(--beige); 
    font-family: var(--text-robo); 
    font-style: italic;
    font-weight: bold;
}
    /* Conteneur de la galerie */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
    /* Cadre de chaque image (fixé à 250x250px) */
.galerie-item {
    display: block;
    width: 100%;
    max-width: 250px;
    height: 250px;
    margin: 0 auto; /* Centre l'image sur smartphone */
    overflow: hidden; /* Cache le débordement lors du zoom */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
    /* Style de l'image */
.galerie-item img {
    width: 100%;
     height: 100%;
    object-fit: cover; /* Recadre l'image proprement en carré */
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(100%); /* Éclairage normal au repos */
}
    /* Effets au passage de la souris (Hover) */
.galerie-item:hover img {
    transform: scale(1.1); /* Effet de zoom de 10% */
    filter: brightness(70%); /* Rend l'image plus sombre */
}

/* ----------PAGE SOUCCOT---------- */
.b-souccot {
    background: url("/images/fond_pages/soucca.webp") center center fixed
        no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
   
    
}







/* Page mes Parents en israel en attente */
/* .b-parent {
    background: url("../images/photo_libre/plume.jpg") center center fixed
        no-repeat;
    background-size: cover;
} */
 /* .p-parent {
    color: #933b11;
    font-family: "Roboto", sans-serif;
    font-style: italic;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
    margin-top: 30px;
    padding: 20px;
} */
/* Page 99_noceor */
/* .b-noceor {
    background: url("../images/fond_pages/textureblancligne.jpg") center center
        fixed no-repeat;
    background-size: cover;
}
.a-noce {
    color: #933b11;
} */





/* ------------RESPONSIVE----------- */
/* navabar page accueil */
@media (max-width: 1006px) {
    .navbar .links {
        display: none;
    }
    .navbar .burger-button {
        display: block;
    }
    .burger-menu {
        display: block;
    }
    .fond-i {
        max-width: 720px;
    }
    /* footer */
    footer .links {
        flex-direction: column;
        align-items: center;
    }
    footer .links p {
        margin: 0;
        margin-bottom: 10px;
    }

    /* nav page raphael */
    .nav-vague {
        justify-content: space-between;
    }
    .toggle {
        display: block;
        font-size: 2rem;
        padding: 0 0 0 15px;
        cursor: pointer;
        position: relative;
        z-index: 20;
    }
    .logo-vague {
        position: relative;
        z-index: 20;
    }
    .ouvrir {
        display: block;
    }
    .fermer {
        display: none;
    }
    .open .ouvrir {
        display: none;
    }
    .open .fermer {
        display: block;
    }
    .menu-vague {
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 65vh;
        background: var(--fond-toggle);
        flex-direction: column;
        padding: 2rem;
        justify-content: space-around;
        transform: translateX(-100%);
        transition: transform 1s;
    }
    .open .menu-vague {
        transform: translateX(0);
    }
    .bm-a {
        width: 180px; /* Taille ajustée pour mobile */
    }
    /* galerie */
    .gal-img:hover {
        transform: none;
    }
    /* navbar bouton */
    .menu-bouton {
        justify-content: space-between;
    }
    .logo {
        position: relative;
        z-index: 20;
    }
    .menu {
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 65vh;
        background: var(--fond-toggle);
        flex-direction: column;
        padding: 2rem;
        justify-content: space-around;
        transform: translateX(-100%);
        transition: transform 1s;
    }
    .open .menu {
        transform: translateX(0);
    }
    /* ----- slider page alyah-----*/
    .carousel-container {
        width: 95%; /* Élargit le conteneur sur mobile */
        height: auto;
        top: 0;
        left: 0;
        transform: none; /* Annule le centrage absolu complexe */
        margin: 20px auto;
    }

    .carousel {
        height: auto;
    }

    .slide img {
        height: 45vh; /* Hauteur réduite sur mobile pour éviter de défiler la page */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .caption {
        font-size: 0.95rem; /* Texte légèrement plus petit */
        padding: 0 10px;
    }

    /* Ajustement des contrôles pour les pouces */
    .nav-controls {
        gap: 5px;
    }

    .prev, .next {
        font-size: 16px; /* Réduit la zone globale */
    }
    
    /* Réduit spécifiquement l'icône FontAwesome sur mobile */
    .nav-controls .fa-2xl {
        font-size: 1.5em; 
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 4px; /* Rapproche légèrement les points sur petits écrans */
    }

    /* page recettes */
     .recette-entete {
        flex-direction: column;
        height: auto;
        padding: 20px;
        margin-top: 70px;
    }
    .moule-titre-container {
         position: static;
        transform: none;
        margin-bottom: 20px;
    }
    .recette-titre-moule {
        color: #fbc586; /* Retour à la couleur initiale si le texte bouge sous le moule sur mobile */
        font-size: 2rem;
    }
    .recette-illustrations {
        margin: 0 auto;
        padding-top: 0;
    }
    .grille-recettes {
        /* Force une seule colonne */
        grid-template-columns: 1fr; 
        gap: 20px; 
        padding: 15px; 
    }
    
    .card-recette {
        padding: 20px; 
    }

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

    /* ---page maroc--- */
    body.b-maroc {
        --footer-text: var(--beige);
    }
    .p-maroc {
    color: var(--beige);
    }

    /* ---page israel---- */
    .menu-bleu {
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 65vh;
        background: #bed3f8;
        flex-direction: column;
        padding: 2rem;
        justify-content: space-around;
        transform: translateX(-100%);
        transition: transform 1s;
    }
    .open .menu-bleu {
        transform: translateX(0);
    }
    body.b-israel {
        --btn-btn-border: #0d6efd;
    }

    /* page choix cadre bouge */
    .container-choix {
        justify-content: center;
    }
    .img-logo {
        width: 190px; /* Taille réduite adaptée aux téléphones */
    }
    .wave {
        margin-top: 30px;
    }

    /* page nature/animaux */
    .row-choix {
        flex-direction: column; /* Aligne les deux blocs l'un sous l'autre */
        align-items: center;
    }
    .col-nature {
        width: 90%; /* Prend presque toute la largeur de l'écran du téléphone */
        padding: 15px 0;
    }
    .hover-container {
        height: 350px !important; /* Réduit la hauteur de l'image sur mobile */
    }
    /* Force l'affichage unique de la première image sur mobile */
    .hover-container .img-base {
        opacity: 1 !important;
    }
    .hover-container .img-hover {
        display: none; /* Désactive complètement la deuxième image sur mobile [6] */
    }
    /* page galerie animaux */
     .gal-light {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .gal-light img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        margin: 0;
        display: block;
    }

    .gal-light img:hover {
        transform: none;
    }
    /* page slider jardin */
    .container img {
        height: 450px;
    }
    /* page choix videos */
     /* 1. Ajustement de l'espace en haut pour le mobile */
    .text-film {
        margin-top: 10vh;
        padding: 0 1rem;
    }

    .text-film h1 {
        font-size: 1.8rem; /* Titre plus petit sur téléphone */
    }
    /* 3. Grille de films sur une seule colonne centrée */
    .movie-grid {
        grid-template-columns: 250px; /* Force une seule colonne de 250px */
        justify-content: center;
        gap: 1.5rem; /* Espace légèrement réduit entre les films */
    }
    /* navbar rouge videos */
    .menu-rouge {
        position: absolute;
        margin: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 65vh;
        background: rgba(65, 63, 63, 0.98);
        flex-direction: column;
        padding: 2rem;
        justify-content: space-around;
        transform: translateX(-100%);
        transition: transform 1s;
    }
    .open .menu-rouge {
        transform: translateX(0);
    }
    .bouton-bouton-rouge {
        border: 1px solid #e50914;
    }
    .bouton-bouton-rouge.active:hover {
    background-color: #e50914; /* Fond Rouge Cinéma */
    color: #ffffff; /* Écriture Blanche */
    }
    .titre-galerie {
        font-size: 1.4rem;
    }
    /* lecteur video*/
     .video-container {
        margin-top: 12vh;        
        padding: 10px;           
        gap: 20px;               
        padding-bottom: 20vh;    
    }
    .video-item {
        flex: 1 1 100%;          
        max-width: 100%;         
        min-height: auto;        
    } 
    .video-item video {
        height: auto;            
        aspect-ratio: 16 / 9;    
    }
    /* ANNULATION DE L'EFFET AU SURVOL SUR MOBILE */
    .video-item video:hover {
        transform: none;         
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
        cursor: default;         
    } 
}

   
  



@media (max-width: 576px) {
    .burger-menu {
        left: 2rem;
        width: unset;
    }
    .card-about {
        border: none;
    }
    .gal-light {
        grid-template-columns: 1fr;
    }

    .gal-light img {
        width: 100%;
        height: 220px;
    }
    .sect-test {
        padding: 20px 15px; /* Réduit encore un peu l'espace interne sur mini-écrans */
    }

    .sect-test h2 {
        font-size: 1.4rem; /* Initialement à 2rem */
    }

    .sect-test h3 {
        font-size: 1.1rem; /* Initialement à 1.7rem */
        margin-top: 15px;  /* Réduit l'espace avec le titre du dessus */
    }
    
    .input-box {
        margin-top: 20px;  /* Rapproche le formulaire du texte */
    }

    
}

/* ----------MOBILE FIRST----------- */
@media (min-width: 990px) {
    .presentation-responsive {
        flex-direction: row; /* Aligne horizontalement */
        align-items: center; /* Aligne verticalement au centre */
        justify-content: center;
        padding: 20px;
    }
    .presentation-responsive .left {
        width: 50%; /* L'image prend la moitié de la largeur */
    }
    .presentation-responsive .right {
        width: 50%;
    }
    .image-presentation {
        width: 85%;
        margin: 20px;
    }
    .description {
        text-align: center;
    }
    .container-anniv {
        display: grid;
        grid-template-columns: 1fr 2fr;
        width: 90%;
        height: 700px;
        margin: auto;
        padding: 40px;
    }
    .cards {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 650px;
    }
    .card {
        width: 100%;
    }

    /* footer horizontal qd grand ecran */
    .cc-footer {
        flex-direction: row;         /* Aligne les 3 blocs en ligne */
        justify-content: space-between; /* Espace les 3 blocs de manière égale */
        align-items: center;         /* Aligne verticalement les blocs au centre */
        padding: 20px 80px 20px 40px;          /* Ajoute de l'espace sur les côtés */
    }

    .foot-logo, 
    footer .links, 
    .foot-copy {
        flex: 1;                     /* Donne la même largeur théorique aux 3 blocs */
    }

    .foot-logo {
        display: flex;
        justify-content: flex-start;
    }

    footer .links {
        gap: 30px;
        justify-content: center;     /* Garde les liens parfaitement au milieu */
    }

    .foot-copy {
        text-align: right;           /* Aligne le copyright à droite */
    }
}

@media (min-width: 1024px) {
    .about-bg {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }
    .p-propos {
        max-width: 1200px; /* Aligne le titre sur le contenu */
        margin: 0 auto 40px auto;
        padding-left: 50px;
    }
    .about-responsive {
        display: flex;
        flex-direction: row; /* Aligne texte et image côte à côte */
        align-items: center;
        max-width: 1200px;
        margin-top: 20px;
        margin: 0 auto;
        gap: 50px; /* Espace entre les deux colonnes */
    }
    .left-about {
        flex: 1; /* Donne un peu plus de place au texte */
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 0 0 50px;
    }
    .right-about {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 0 50px 0 0;
    }
    .right-about .jardin {
        margin: 0;
        max-width: 550px; /* L'image peut être plus grande sur PC */
    }
    .c-propos {
        font-size: 1.6rem; /* Texte légèrement plus grand sur PC */
        margin-bottom: 0;
    }
    .c-vie {
        font-size: 1.8rem;
    }
    .alya-avion {
        padding-top: 150px;
    }
    .about .passions p {
        font-size: 2rem;
    }
    .container-about {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .card-about {
        border-radius: 0;
    }
    .card-top {
        border-radius: 0;
    }

    /* page nature/animaux */
    .hover-container:hover .img-base {
        opacity: 0; /* Masque l'image 1 au survol */
    }
    .hover-container:hover .img-hover {
        opacity: 1; /* Affiche l'image 2 au survol [6] */
    }
     /* NOUVEAU : Effet d'élévation et ombre renforcée au survol de la carte */
    .card-nature:hover {
        transform: translateY(-5px); /* Soulève légèrement la carte */
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); /* Ombre plus diffuse et sombre */
    }
}