@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');

:root {
    --beige-clair: #d1bba2;
    --blanc: #ffffff;
    --gris-haut-gauche: #161616;
    --gris-bas-droite: #000000;
}

html {
    background: radial-gradient(
        circle at top left, 
        var(--gris-haut-gauche) 0%, 
        var(--gris-bas-droite) 100%
    );
    background-attachment: fixed;
    font-family: 'Yeseva One', serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow-x: hidden;
    font-family: 'Yeseva One', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* FOND ARBRE / SAPIN */
.bg-parallax-sapin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 200vh;
    background-image: url('VectorSapin.svg');
    background-repeat: no-repeat;
    background-position: center 50vh;
    background-size: 100vw auto; 
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}



/* ============================================================
   BARRE DE NAVIGATION DYNAMIQUE
   ============================================================ */
.top-bar {
    background-color: var(--beige-clair);
    height: 60px;
    display: flex;
    justify-content: space-between;      
    align-items: center;
    padding: 0 40px;
    position: fixed; 
    top: 0; left: 0; right: 0;
    transition: transform 0.2s ease-out;
    z-index: 4000;
    box-shadow: 0 -100px 0 0 var(--beige-clair), 0 10px 20px rgba(0, 0, 0, 0.3);
}

.top-bar.hidden {
    transform: translateY(-53px);
}

.top-bar.hidden .logo {
    transform: translateY(-52px);
}

.top-bar:hover, 
.top-bar:hover .logo {
    transform: translateY(0) !important;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 140px;                         
    height: 100%;
}

.logo {
    width: 120px; 
    height: 120px;
    position: relative;
    top: 40px; left: 20px;
    z-index: 1100;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: 700;
    font-size: 1.1rem; /* Remis à une taille fine et discrète */
    line-height: 1;                     
    letter-spacing: 1px;
    color: #141414;
    white-space: nowrap;                
}

.lang-btn {
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.lang-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.lang-btn.active {
    opacity: 1;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.lang-dot {
    font-size: 0.9rem;
    font-weight: 700;
    opacity: 0.6;
    pointer-events: none;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    display: flex;
    align-items: center;
}

.social-icon-img {
    width: 45px; 
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon-img:hover {
    transform: scale(1.2) rotate(-7deg); 
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.4));
}


/* ============================================================
   STRUCTURE PRINCIPALE (ÉCRAN 1 / HERO)
   ============================================================ */
.main-container {
    display: flex;
    min-height: calc(100vh - 60px);
    width: 100%;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.sidebar {
    background-color: transparent;
    width: 350px;
    padding: 0 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.brand-name {
    font-family: 'Yeseva One', serif;
    font-weight: normal;
    color: var(--beige-clair); 
    font-size: 3.5rem;
    margin-top: 100px; 
    margin-bottom: 60px;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 110;
}

.btn-beige {
    font-family: 'Yeseva One', serif;
    font-weight: 300;
    font-size: 1.25rem;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    display: block;
    border: none;
    cursor: pointer;
    background-color: var(--beige-clair);
    color: #141414;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.btn-beige::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 60%;
    height: 3px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 10;
    will-change: left;
}

.btn-beige:hover {
    color: var(--blanc);
    background-color: #c5af8b;
    transform: scale(1.05);
    outline: 3px solid var(--blanc);
    outline-offset: 5px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 125;
}

.btn-beige:hover::before {
    left: 110%;
    transition: left 0.50s cubic-bezier(0, 1, 0.3, 1);
}

.btn-beige:active {
    transform: scale(0.98);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    transition: all 0s;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    background-color: transparent;
    overflow: hidden;
    z-index: 1;
    min-height: 400px;
}

.hero-image-zone {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideshow-simple 25s infinite;
}

.hero-image-wrapper::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 40%; height: 100%;
    background: linear-gradient(to right, rgba(28,28,28,1) 0%, rgba(28,28,28,0) 100%);
    z-index: 5;
    pointer-events: none;
}

@keyframes slideshow-simple {
    0%, 15%   { background-image: url('Image_Acceuil1.png'); }
    20%, 35%  { background-image: url('Image_Acceuil2.png'); }
    40%, 55%  { background-image: url('Image_Acceuil3.png'); }
    60%, 75%  { background-image: url('Image_Acceuil4.png'); }
    80%, 95%  { background-image: url('Image_Acceuil5.png'); }
    100%      { background-image: url('Image_Acceuil1.png'); }
}

/* ============================================================
   SECTIONS SUIVANTES (PRIX & PHOTOS)
   ============================================================ */
.services-section {
    min-height: 100vh;
    background-color: transparent;
    color: var(--beige-clair);
    padding: 40px 40px 100px 40px; /* Réduit le padding du haut à 60px au lieu de 100px */
    margin-top: -0px;               /* Remonte toute la section vers le haut */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    width: 100%;
}

.services-section p {
    font-family: 'Yeseva One', serif;
    font-size: 1.2rem;
    color: var(--blanc);
    max-width: 600px;
}

/* GALERIE PHOTOS */
.gallery-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--beige-clair) transparent;
}

.gallery-container::-webkit-scrollbar {
    height: 6px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background: var(--beige-clair);
    border-radius: 10px;
}

.photo-item {
    height: 400px;
    flex-shrink: 0;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    will-change: opacity, transform;
}

.photo-item img {
    height: 100%;
    width: auto; 
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

#section-bas img {
    cursor: pointer !important;
}

.photo-item:hover img {
    transform: scale(1.02);
}

.mot-blanc {
    color: var(--blanc);
}

.cerf-bg {
    position: absolute;       /* Positionné par rapport à #section-bas */
    bottom: -85vh;                 
    right: 0;                    /* Collé sur le bord droit de la section */
    width: 40vw;                /* Prend toujours 8% de la largeur de l'écran */
    height: auto;               /* Garde les proportions de l'image SVG */
    pointer-events: none;       /* Empêche l'image de bloquer les clics */
    z-index: 1;                /* Reste derrière les éléments interactifs */
    will-change: transform;
}

/* Assure-toi que la section photos et la galerie gèrent bien les calques */
#section-bas {
    position: relative;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    z-index: 2;
}


/* TITRE DE SECTION ET LIGNE (PLEINE LARGEUR D'ORIGINE) */
.section-title-container {
    display: flex;
    align-items: center;
    gap: 20px;                             
    width: 100%;
    margin-bottom: 20px;
}

.section-title-text {
    font-family: 'Yeseva One', serif;
    font-weight: normal;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    background: linear-gradient(to top, #bb9c73 0%, rgb(247, 219, 169) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-line {
    flex: 1;
    width: 100%;
    height: 8px;
    background: linear-gradient(
        to right, 
        #E2C89C 0%, 
        #7B613E 100%
    );
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.section-title-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--reflet-x, -100%);
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
    will-change: left;
}

.section-title-line::after {
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: var(--reflet-x, -100%);
    width: 50%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(3px);
    pointer-events: none;
    z-index: 1;
    will-change: left;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    border: none;
    z-index: 5001;
    display: block;
}

.close-lightbox {
    font-family: 'Yeseva One', serif;
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--beige-clair);
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
}

.prev-btn, .next-btn {
    font-family: 'Yeseva One', serif;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--beige-clair);
    font-size: 50px;
    font-weight: normal;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: 0.3s;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.prev-btn:hover, .next-btn:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.2);
}

/* TABLEAU DES TARIFS - DÉCALÉ À GAUCHE (JUSTIFY-CONTENT: FLEX-START) */
.pricing-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 80px;
    margin-top: 50px;
    margin-left: 25%; /* Ajuste ce pourcentage selon l'alignement exact souhaité */
    width: 100%;
    max-width: 1200px;
}

.price-display-zone .price-details {
    font-size: 20px !important;                 /* Force une taille petite */
    color: rgba(255, 255, 255, 0.7) !important; /* Force le blanc à 70% */
    background: none !important;                /* Retire le dégradé doré */
    -webkit-text-fill-color: initial !important;/* Annule le remplissage transparent du texte */
    font-weight: normal !important;
}


/* ============================================================
   MESSAGE LAST MINUTE (TEXTE SIMPLE)
   ============================================================ */
.last-minute-notice {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--beige-clair);
    margin-top: 40px;
    margin-left: 25%;
    text-align: left;
    background: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

@media screen and (max-width: 1024px) {
    .last-minute-notice {
        margin-left: 0 !important;
        text-align: center;
    }
}

.pricing-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.price-container-wrapper {
    display: flex;
    flex-direction: column; /* Empile le prix et le texte en dessous */
    align-items: flex-start;
    gap: 10px; /* Espace entre le prix et la mention */
}

.price-details {
    font-family: inherit !important;             /* Reprend la police générale du texte/liste */
    font-size: 20px !important;                 /* Taille plus petite et discrète */
    color: rgba(255, 255, 255, 1) !important; /* Blanc avec 70% d'opacité */
    background: none !important;                /* Retire le dégradé doré */
    -webkit-text-fill-color: initial !important;/* Annule le remplissage transparent */
    font-weight: normal !important;
}

.pricing-category-title {
    font-family: 'Yeseva One', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--blanc);
    margin: 0;
    line-height: 1.1;
}

.pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;                                        
}

.pricing-list li {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blanc);
    opacity: 0.9;
    letter-spacing: 0.5px;
    padding: 6px 10px;                        
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    border-radius: 0;
    user-select: none;
}

.pricing-list li::before {
    content: '';
    position: absolute;
    top: -2px; 
    left: -4px; 
    right: -4px; 
    bottom: -2px;
    border: 2px solid var(--beige-clair);  
    border-radius: 0;
    background: transparent;
    opacity: 0;
    transform: scale(0.92);
    pointer-events: none;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.pricing-list li:hover {
    transform: translateX(10px);
    opacity: 1;
}

.pricing-list li:hover::before {
    opacity: 1;
    transform: scale(1.08);
}

.pricing-list li:active {
    transform: scale(0.95);
}

.pricing-list li.selected {
    background: linear-gradient(to bottom, #E2C89C 0%, #dbb886 100%);
    color: #131313;
    font-weight: bold;
}

.pricing-container.noel-mode li[data-duration="weekend"]:hover,
.pricing-container.noel-mode li[data-duration="midweek"]:hover {
    cursor: not-allowed;
}

.price-display-zone, 
.price-display-zone span {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    background: linear-gradient(to bottom, #E2C89C 0%, #dbb886 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-list li.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}


/* ============================================================
   AJOUT UNIQUEMENT POUR RENDRE LE TOUT RESPONSIBLE SUR MOBILE
   ============================================================ */
@media screen and (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        height: auto;
    }
    .sidebar {
        width: 100%;
        padding: 40px 30px;
        box-sizing: border-box;
        align-items: center;
        text-align: center;
    }
    .brand-name {
        margin-top: 40px;
        margin-bottom: 30px;
        font-size: 2.8rem;
    }
    .menu {
        width: 100%;
        max-width: 400px;
    }
    .hero-image-wrapper {
        height: 50vh;
        width: 100%;
    }
    .hero-image-wrapper::after {
        width: 100%;
        height: 30%;
        background: linear-gradient(to bottom, rgba(28,28,28,1) 0%, rgba(28,28,28,0) 100%);
    }
    .pricing-container {
        flex-direction: column;
        gap: 30px;
        margin-left: 0 !important;
    }
    .section-title-text {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .top-bar {
        padding: 0 20px;
        height: 50px;
    }
    .logo {
        width: 80px;
        height: 80px;
        top: 25px;
        left: 10px;
    }
    .social-icon-img {
        width: 35px;
        height: 35px;
    }
    .sidebar {
        padding: 20px;
    }
    .brand-name {
        font-size: 2.2rem;
        margin-top: 30px;
        margin-bottom: 25px;
    }
    .btn-beige {
        font-size: 1.1rem;
        padding: 12px 15px;
    }
    .hero-image-wrapper {
        height: 40vh;
    }
    .services-section {
        padding: 60px 20px;
    }
    .section-title-container {
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }
    .section-title-text {
        font-size: 1.8rem;
        white-space: normal;
    }
    .section-title-line {
        height: 5px;
        width: 100%;
    }
    .pricing-category-title {
        font-size: 1.6rem;
    }
    .pricing-list li {
        font-size: 1.1rem;
    }
    .photo-item {
        height: 280px;
    }
    .close-lightbox {
        top: 15px;
        right: 20px;
        font-size: 45px;
    }
    .prev-btn, .next-btn {
        font-size: 35px;
        padding: 10px;
    }
    .lang-selector {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 480px) {
    .brand-name {
        font-size: 1.8rem;
    }
    .section-title-text {
        font-size: 1.5rem;
    }
    .pricing-category-title {
        font-size: 1.4rem;
    }
    .pricing-list li {
        font-size: 1rem;
    }
    .photo-item {
        height: 220px;
    }
}

/* 1. On garde la section alignée en haut (comme pour les prix) */
#section-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Garde tout positionné en haut */
    align-items: flex-start;
}

/* ============================================================
   SECTION INFO : ALIGNEMENT ET STYLE DES TEXTES
   ============================================================ */

/* Conteneur global du texte et de l'adresse pour les garder bien alignés au centre */
.info-content-container {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centre tout horizontalement */
    text-align: center;     /* Centre les lignes de texte */
    margin-left: auto;
    margin-right: auto;
}

/* Style du texte principal */
.info-content-container p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #ffffff;         /* Blanc pur */
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;    /* Espace propre avant l'adresse */
}

/* Style de l'adresse et de l'icône (en blanc et plus grand) */
.info-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.info-location-icon {
    width: 28px;            /* Icône agrandie pour matcher le texte */
    height: auto;
}
.info-location span {
    font-size: 1.6rem;      /* Même taille que le texte du haut (1.6rem) */
    color: #DABC8D;         /* Blanc pur */
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
}