@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

/* Reset et police de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimisations globales pour les images */
img {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

/* Optimisations pour les images de galerie */
.gallery-img {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optimisations pour les images de bannière */
.shrinking-banner-square {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, background-size;
}

/* Optimisations pour les images optimisées */
.optimized-image {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
    transition: opacity 0.3s ease;
}

/* Placeholder pour les images en cours de chargement */
.image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Optimisations pour les images de popup */
#popupImgLarge {
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

body,
p,
a,
li,
span,
input,
textarea,
label,
.nav-links,
.footer,
.form-champ,
.footer-section,
.footer-bottom,
.cart-link,
.cart-content,
.sitemap-content,
.sitemap-section,
.sitemap-title,
.sitemap-close,
.form-container,
.form-champ,
.form-container button,
.notification,
.spinner {
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.97em !important;
    font-weight: 200;
}

/* Ne pas toucher aux titres */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #000;
    background-color: #fff;
    line-height: 1.6;
    font-size: 18px;
}

/* Navigation */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    background-color: white;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid #ddd;
    background-color: white;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#mobile-menu {
    display: none;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.logo {
    font-size: 24px;
    font-weight: 600 !important;
    letter-spacing: 2px;
    color: #000;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 1.5px;
    transition: opacity 0.3s ease;
}

.nav-links li a:hover {
    opacity: 0.6;
}

/* Hero */
.hero {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('./images/UB_L6267.jpg') center/cover no-repeat;
}

.hero-content {
    padding: 40px;
    max-width: 100%;
}

.hero-title {
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: -1;
}

.hero h1,
.mariages h2,
.portraits h2,
.naissances h2 {
    font-size: 6rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Source Serif 4", serif;
    color: white;
    position: relative;
    display: inline-block;
    z-index: 1;
    mix-blend-mode: difference;
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 40px;
}


.hero p {
    font-size: 20px;
    color: #333;
    mix-blend-mode: difference;
}

/* Sections */
section {
    padding: 80px 0px;
    max-width: 100vw;
    margin: auto;
}

@media (max-width: 768px) {
    section {
        padding: 20px 0px;
        max-width: 100vw;
        margin: auto;
    }




}

.about h2,
.contact h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* === Footer Unifié === */
.footer {
    background: color(srgb 0.9764 0.9765 0.9766);
    ;
    color: black;
    padding: 40px 20px 20px;
    margin-top: 0px;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-section h3 {
    color: black;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-section a {
    color: black;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;

}

.footer-section a:hover {
    opacity: 0.6;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(185, 140, 94, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(185, 140, 94, 0.2);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* === Volet Plan du Site === */
.sitemap-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sitemap-overlay.show {
    opacity: 1;
    visibility: visible;
}

.sitemap-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
}

.sitemap-overlay.show .sitemap-panel {
    transform: translateY(0);
}

.sitemap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.sitemap-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    font-family: 'Source Serif 4', serif;
}

.sitemap-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #7f8c8d;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-close:hover {
    background: #f8f9fa;
    color: #2c3e50;
}

.sitemap-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.sitemap-section h4 {
    color: #b98c5e;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.sitemap-section ul {
    list-style: none;
    padding: 0;
}

.sitemap-section li {
    margin-bottom: 10px;
}

.sitemap-section a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.sitemap-section a:hover {
    color: #b98c5e;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer {
        padding: 30px 15px 15px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .sitemap-panel {
        padding: 20px;
        max-height: 90vh;
        text-align: center;
    }

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

    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.mariages {
    height: 100vh;
    width: 100vw;
    background: url('./images/Mariages/IMG_6944.jpg') no-repeat;
    background-position-y: 60%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.mariages.portraits {
    background: #f7f7f7;
    background: none;
}

.mariages-content {
    padding: 40px;
    color: white;
    max-width: 100%;
}

.mariages h2 {
    font-size: 6rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Source Serif 4", serif;
    color: white;
    position: relative;
    display: inline-block;
    z-index: 1;
    mix-blend-mode: difference;
    /* Ajout de l'effet */
}

/* Ancien style du bouton .btn-tarifs */
.btn-tarifs {
    padding: 10px 20px;
    border: 1px solid white;
    background: rgb(255, 255, 255, 0.2);
    color: white;
    font-weight: 300;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.btn-tarifs:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    text-decoration: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.popup-overlay.show {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-weight: normal;
    font-size: 16px;
    cursor: pointer;
}

.popup-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.popup-content p {
    font-size: 0.95rem;
}

.mariages {
    position: relative;
    overflow: hidden;
}

.mariages.sticky {
    position: sticky;
    top: 0;
}

.mariages-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

.mariages-content.show {
    opacity: 1;
    transform: translateY(0);
}

.mariages h2 {
    flex: 1;
    text-align: left;
    margin: 0;
}

.mariages-description {
    flex: 2;
    text-align: left;
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.5s;
}

.mariages-text {
    font-size: 1.1rem;
    color: rgb(255, 255, 255);
}

.btn-tarifs {
    font-size: 0.9rem;
    padding: 10px 0px;
    width: 160px;
    min-width: 0;
    margin-top: 20px;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.portraits {
    height: 100vh;
    width: 100vw;
    background: url('./images/20250202_144544110_iOS.jpg') no-repeat;
    background-position-y: 30%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.portraits-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    padding: 40px;
    color: black;
    max-width: 100%;
}

.portraits-content.show {
    opacity: 1;
    transform: translateY(0);
}

.portraits h2 {
    flex: 1;
    text-align: left;
    margin: 0;
    font-size: 6rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Source Serif 4", serif;
    color: white;
}

.portraits-description {
    flex: 2;
    text-align: left;
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.5s;
}

.portraits-text {
    font-size: 1.1rem;
    color: white;
}

.naissances {
    height: 100vh;
    width: 100vw;
    background: url('./images/naissances.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

.naissances-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.naissances-title {
    position: relative;
    display: inline-block;
}

.naissances-content {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    padding: 40px;
    color: black;
    max-width: 100%;
}

.naissances-content.show {
    opacity: 1;
    transform: translateY(0);
    mix-blend-mode: difference;
}

.naissances h2 {
    font-size: 6rem;
    margin-bottom: 10px;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Source Serif 4", serif;
    mix-blend-mode: difference;
    color: white;
}

.naissances-description {
    flex: 2;
    text-align: left;
    opacity: 0;
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.5s;
}

.naissances-text {
    font-size: 1.1rem;
    color: rgb(255, 255, 255);
}

@media (max-width: 768px) {
    .naissances-text {
        font-size: 1rem !important;
    }

    .portraits-text {
        font-size: 1rem !important;
    }

    .mariages-text {
        font-size: 1rem !important;
    }
}

.btn-tarifs.white-bg {
    border: 1px solid rgb(255, 255, 255);
    background: rgb(0, 0, 0);
    color: rgb(255, 246, 246);
}

.btn-tarifs.white-bg:hover {
    background-color: rgb(255, 255, 255);
    border: 1px solid black;
    color: rgb(0, 0, 0);
}

@media (max-width: 768px) {

    .hero h1,
    .mariages h2,
    .portraits h2,
    .naissances h2 {
        font-size: 3rem;
        text-align: center;
    }

    .hero-content {
        padding: 0px;
        max-width: 100%;
    }

    .hero p {
        font-size: 16px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        display: none;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mariages-content,
    .portraits-content,
    .naissances-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .mariages-description,
    .portraits-description,
    .naissances-description {
        text-align: center;
        padding: 0 20px;
    }

    .btn-tarifs {
        font-size: 0.9rem;
        padding: 10px 0px;
        width: 160px;
        min-width: 0;
        margin-top: 60px;
    }

    .mariages {
        background-position-x: 80%;
    }

    .portraits {
        background-position-x: 80%;
        background-position-y: 50%;
    }

    .naissances {
        background-position-x: 10%;
    }
}

@media (max-width: 767px) {

    .hero h1,
    .mariages h2,
    .portraits h2,
    .naissances h2 {
        font-size: 2.2rem !important;
        text-align: center !important;
        letter-spacing: 1px;
        line-height: 1.1;
        padding: 20px 0;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        text-align: center;
    }
}

html {
    scroll-behavior: smooth;
}

/* Titres de section harmonisés */
.hero h1,
.mariages h2,
.portraits h2,
.naissances h2 {
    font-size: 4rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: "Source Serif 4", serif;
    color: white;
    position: relative;
    display: inline-block;
    z-index: 1;
    mix-blend-mode: difference;
    flex: 1;
    text-align: center;
    margin: 0;
    padding: 40px;
}

/* === Galerie Carrousel Dynamique === */
.galerie {
    background: #000;
    padding: 40px 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.galerie-bg {
    background: black;
}

.galerie.show {
    opacity: 1;
    transform: none;
}

.galerie h2 {
    font-size: 4rem;
    font-family: "Source Serif 4", serif;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
    position: relative;
    display: inline-block;
    z-index: 1;
    mix-blend-mode: difference;
    margin: 0;
    padding: 80px;
    text-align: left;
}

.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 350px;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    color: #000;
    font-size: 2.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.carousel-arrow:hover {
    background: #fff;
}

.carousel-arrow.left {
    left: 0;
    position: absolute;
}

.carousel-arrow.right {
    right: 0;
    position: absolute;
}

.carousel-track {
    position: relative;
    overflow: hidden;
    width: 600px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    pointer-events: none;
}

.carousel-image.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}

.carousel-image.slide-left {
    transform: translateX(-100%);
}

.carousel-image.slide-right {
    transform: translateX(100%);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .carousel-track {
        width: 90vw;
        height: 45vw;
        min-height: 220px;
        max-height: 350px;
    }

    .carousel-image {
        height: 45vw;
        min-height: 220px;
        max-height: 350px;
    }
}

@media (max-width: 767px) {
    .galerie h2 {
        font-size: 2.2rem !important;
        text-align: center !important;
        letter-spacing: 1px;
        line-height: 1.1;
        padding: 20px 0;
        margin: 0;
    }

    .galerie {
        text-align: center;
    }

    .carousel-container {
        flex-direction: column;
        min-height: 350px;
    }

    .carousel-arrow.left,
    .carousel-arrow.right {
        position: static;
        margin: 0 10px;
        order: 2;
    }

    .carousel-track {
        flex-direction: column;
        width: 100vw;
        height: 350px;
        max-width: 100vw;
        min-height: 220px;
        max-height: 350px;
    }

    .carousel-image,
    .carousel-image.active {
        width: 100vw;
        min-width: 100vw;
        height: 220px;
        max-height: 350px;
        border-radius: 0.7rem;
        left: 0;
        top: 0;
        transition: opacity 0.5s, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .carousel-image {
        transform: translateY(100%);
    }

    .carousel-image.active {
        transform: translateY(0);
    }

    .carousel-image.slide-left {
        transform: translateY(-100%);
    }

    .carousel-image.slide-right {
        transform: translateY(100%);
    }

    .carousel-dots {
        margin-top: 1rem;
    }
}

/* === Galerie Nuage Interactif === */
.cloud-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px 0 0 0;
    min-height: 120px;
    max-width: 100vw;
    box-sizing: border-box;
}

.cloud-img {
    width: 150px;
    height: 150px;
    max-width: 30vw;
    max-height: 30vw;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.13);
    cursor: pointer;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    /* Fusion des transitions pour apparition ET hover */
    transition: opacity 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0.2, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.cloud-img:hover {
    transform: scale(1.18) rotate(-3deg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

.cloud-img.visible {
    opacity: 1;
    transform: none;
}

.cloud-img.visible:hover {
    transform: scale(1.18) rotate(-3deg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
    z-index: 2;
}

@media (min-width: 600px) {
    .cloud-img:nth-child(2n) {
        width: 170px;
        height: 170px;
    }

    .cloud-img:nth-child(3n) {
        width: 120px;
        height: 120px;
    }

    .cloud-img:nth-child(4n) {
        width: 200px;
        height: 200px;
    }

    .cloud-img:nth-child(5n) {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 767px) {
    .cloud-gallery {
        gap: 6px;
        padding: 6px 0 0 0;
    }

    .cloud-img {
        width: 22vw;
        height: 22vw;
        min-width: 54px;
        min-height: 54px;
        max-width: 80px;
        max-height: 80px;
        border-radius: 12px;
    }
}

.popup-img-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    transition: opacity 0.4s, backdrop-filter 0.4s;
    opacity: 0;
    backdrop-filter: blur(0px);
}

.popup-img-overlay.show {
    display: flex;
    opacity: 1;
    backdrop-filter: blur(8px);
}

#popupImgLarge {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    background: #fff;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s, transform 0.4s;
}

.popup-img-overlay.show #popupImgLarge {
    opacity: 1;
    transform: scale(1);
}

.popup-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.2s;
    opacity: 1;
}

.popup-arrow.left {
    left: 30px;
}

.popup-arrow.right {
    right: 30px;
}


.popup-arrow:hover {
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .popup-arrow.left {
        left: 8px;
        font-size: 1rem;
    }

    .popup-arrow.right {
        right: 8px;
        font-size: 1rem;
    }

    #popupImgLarge {
        max-width: 98vw;
        max-height: 60vh;
    }
}

/* === OFFRES MARIAGE === */
.mariages-offre {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem 1rem;
    text-align: center;
}

.mariages-offre h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    font-family: 'Source Serif 4', serif;
    color: #222;
}

.offre-intro {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.offre-table {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.offre-col {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: transform 0.18s;
}

.offre-col:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.13);
}

.offre-col-highlight {
    border: 2px solid #222;
    background: #f7f7f7;
}

.offre-col h2 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: #222;
    font-family: 'Source Serif 4', serif;
}

.offre-prix {
    font-size: 2.1rem;
    font-weight: 700;
    color: #b98c5e;
    margin-bottom: 1.1rem;
}

.offre-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    color: #444;
    font-size: 1rem;
}

.offre-col ul li {
    margin-bottom: 0.5rem;
}

.btn-reserver {
    background: #b98c5e;
    color: #fff;
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-family: 'Source Serif 4', serif;
    cursor: pointer;
    margin-top: auto;
    margin-bottom: 10px;
    transition: background 0.18s, color 0.18s;
}

.btn-reserver:hover {
    background: #222;
    color: #fff;
}

/* Panier popup */
.cart-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.45);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.cart-content {
    background: #fff;
    border-radius: 1.2rem;
    padding: 2.2rem 2rem 1.5rem 2rem;
    min-width: 320px;
    max-width: 95vw;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.13);
    text-align: center;
    position: relative;
}

#cartItems {
    margin-bottom: 1.2rem;
    color: #222;
    font-size: 1.1rem;
}

#cartTimer {
    margin-top: 1rem;
    color: #b98c5e;
    font-size: 1rem;
}

.cart-link {
    margin-left: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.cart-link a {
    color: #b98c5e;
    text-decoration: underline;
    font-weight: 600;
}

@media (max-width: 900px) {
    .offre-table {
        flex-direction: column;
        gap: 0;
    }

    .offre-col {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 600px) {
    .mariages-offre h1 {
        font-size: 1.6rem;
    }

    .offre-intro {
        font-size: 1rem;
    }

    .cart-content {
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        min-width: 0;
    }

    .mariages-banner h1 {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
    }

    .mariages-desc p {
        font-size: 1rem !important;
        padding: 0 0.5rem;
    }

    .offre-col {
        padding: 0.7rem 0.3rem 1rem 0.3rem !important;
        margin-bottom: 1.2rem;
        box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.07);
        margin-left: 4vw;
        margin-right: 4vw;
    }

    .offre-col h2 {
        font-size: 1.05rem !important;
        margin-bottom: 0.4rem;
    }

    .offre-prix {
        font-size: 1.3rem !important;
        margin-bottom: 0.7rem;
    }

    .offre-col ul {
        font-size: 0.95rem !important;
        margin-bottom: 0.7rem;
    }

    .offre-col ul li {
        margin-bottom: 0.3rem;
    }

    .btn-reserver,
    .btn-tarifs {
        font-size: 0.9rem;
        padding: 10px 0px;
        width: 160px;
        min-width: 0;
        margin-top: 60px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    #burger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        width: 48px;
        height: 48px;
        padding: 0;
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 1200;
        transition: color 0.2s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #burger-menu .bar {
        display: block;
        width: 24px;
        height: 3px;
        margin: 3px 0;
        background: #222;
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(.4, 2, .6, 1);
    }

    #burger-menu.open .bar1 {
        transform: rotate(45deg) translate(7px, 7px);
        background: black;
    }

    #burger-menu.open .bar2 {
        opacity: 0;
    }

    #burger-menu.open .bar3 {
        transform: rotate(-45deg) translate(8px, -8px);
        background: black;
    }

    #burger-menu:not(.open) .bar1,
    #burger-menu:not(.open) .bar3 {
        background: #222;
    }

    .nav-links {
        display: none;
    }

    #mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: white;
        z-index: 100;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        opacity: 1;
        pointer-events: none;
        transition: transform 1s cubic-bezier(.4, 1, .6, 1);
    }

    #mobile-menu.open {
        transform: translateX(0);
        z-index: 100;
        pointer-events: auto;
    }

    #mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    #mobile-menu a {
        font-size: 1.4rem;
        color: #000;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }

    #mobile-menu a:hover {
        color: #b98c5e;
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none;
    }

    /* Panier mobile : icône seulement */
    .cart-link a {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
    }

    .cart-link a svg {
        width: 20px;
        height: 20px;
    }

    .cart-link a span {
        display: none;
        /* Cache le texte en mobile */
    }

    .cart-link {
        position: absolute;
        right: 80px;
        /* À côté du burger */
        top: 50%;
        transform: translateY(-50%);
        z-index: 1200;
    }
}






/* Animation hero background et titre */
.hero-bg-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(.4, 1, .6, 1), transform 1.2s cubic-bezier(.4, 1, .6, 1);
}

.hero-bg-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(.4, 1, .6, 1), transform 1s cubic-bezier(.4, 1, .6, 1);
}

.hero-title-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Titres h2 responsives pour mariagestest.html */
.mariagestest-h2 {
    font-size: 1rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.7rem;
}

.mariagestest-banner {
    background: #f7f7f7;
    padding: 40px;
    text-align: center;
    margin-top: 80px;
}

.mariagestest-banner-title {
    font-family: 'Source Serif 4', serif;
    font-size: 2.7rem;
    letter-spacing: 2px;
    font-weight: 400;
}

.mariagestest-desc {
    padding: 10%;
    margin: 0;

}

.mariagestest-desc p {
    font-size: 1rem;
    color: #444;
}


.mariagestest-table {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    align-content: center;
}


.mariagestest-col {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    flex: 1 1 260px;
    min-width: 260px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mariagestest-col-highlight {
    border: 2px solid #222;
    background: #f7f7f7;
}

.mariagestest-prix {
    font-size: 2.1rem;
    font-weight: 700;
    color: #b98c5e;
    margin-bottom: 1.1rem;
}

.mariagestest-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    color: #444;
    font-size: 1rem;
}

@media (max-width: 700px) {
    .mariagestest-table {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }

    .mariagestest-col,
    .mariagestest-col-highlight {
        min-width: 0;
        max-width: calc(100% - 20px);
        width: 100%;
        margin-bottom: 0;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Même hauteur pour tous les blocs offre-col */
.mariagestest-table {
    align-items: stretch;
}

.offre-col,
.offre-col-highlight,
.mariagestest-col,
.mariagestest-col-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
    position: relative;
}

.btn-reserver {
    margin-top: auto;
    margin-bottom: 10px;
}

/* Galerie d'images mariage mariagestest */
.mariagestest-gallery {
    margin: 3rem auto;
    padding: 0 1rem;
    max-width: 1200px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    align-items: center;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .mariagestest-gallery {
        margin: 2rem auto;
        padding: 0 0.5rem;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.8rem;
    }

    .gallery-img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.6rem;
    }

    .gallery-img {
        height: 150px;
    }
}

/* Animation fade + slide up pour apparition des sections (mariagestest) */
.fade-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(.4, 1, .6, 1), transform 0.9s cubic-bezier(.4, 1, .6, 1);
}

.fade-slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.shrinking-banner {
    width: 100%;
    max-width: 100vw;
    height: 500px;
    margin: 0rem 0 2rem 0;
    background: url('images/IMG_0266-Enhanced-NR-copie1.jpg');
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    transition: width 0.7s cubic-bezier(.4, 1, .6, 1), max-width 0.7s cubic-bezier(.4, 1, .6, 1), margin 0.7s cubic-bezier(.4, 1, .6, 1), border-radius 0.7s cubic-bezier(.4, 1, .6, 1), background-position 0.7s cubic-bezier(.4, 1, .6, 1);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position-y: 70%;
    background-size: 100%;
    background-repeat: no-repeat;
}

.shrinking-banner.shrunk {
    width: calc(100% - 40px);
    max-width: 100vw;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 32px;
}

@media (max-width: 768px) {
    .shrinking-banner {
        height: 400px;
        background-size: cover;
        background-position-x: 70%;
    }
}

/* === Bannière Mariages Hero === */
.mariages-hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    height: 48vw;
    max-height: 520px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 65px;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('images/IMG_0266-Enhanced-NR-copie.jpg') center/cover no-repeat;
    background-position-x: center;
    background-position-y: 90%;
    overflow: hidden;
    border-radius: 0;
    z-index: 1;
    will-change: transform, background-size;
    transition: background-size 0.4s cubic-bezier(.4, 1, .6, 1), filter 0.4s cubic-bezier(.4, 1, .6, 1), transform 0.4s cubic-bezier(.4, 1, .6, 1);

    backface-visibility: hidden;
    transform: translateZ(0);
}

.mariages-hero-banner-content {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.mariages-hero-title {
    color: #fff;
    font-size: 4rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 550;
    letter-spacing: 4px;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    mix-blend-mode: difference;
}



@media (max-width: 600px) {
    .mariages-hero-banner {
        min-height: 200px;
        max-height: 340px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .mariages-hero-title {
        font-size: 3.2rem;
    }
}

.shrinking-banner-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto 3rem auto;
    transition: margin 0.7s cubic-bezier(.4, 1, .6, 1);
}

.shrinking-banner-square {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    transition: width 0.7s cubic-bezier(.4, 1, .6, 1),
        max-width 0.7s cubic-bezier(.4, 1, .6, 1),
        margin 0.7s cubic-bezier(.4, 1, .6, 1),
        border-radius 0.7s cubic-bezier(.4, 1, .6, 1),
        background-position 0.7s cubic-bezier(.4, 1, .6, 1),
        opacity 0.9s cubic-bezier(.4, 1, .6, 1),
        transform 0.9s cubic-bezier(.4, 1, .6, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    background-position-y: 20%;
    background-position-x: 20%;
}

.shrinking-banner-square.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .shrinking-banner-row {
        gap: 16px;
    }

    .shrinking-banner-square {
        max-width: 100vw;
        height: 400px;
    }
}

@media (max-width: 700px) {
    .shrinking-banner-row {
        flex-wrap: wrap;
        display: block;
        gap: 24px;
        align-items: center;

    }

    .shrinking-banner-square {
        display: block !important;
        width: 100%;
        min-width: 0;
        height: 320px;
        border-radius: 30px;
        margin-bottom: 32px;
        background-position-x: 10%;
        background-position-y: 20%;
    }
}

/* === Bannière Portraits Hero === */
.portraits-hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    height: 48vw;
    max-height: 520px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 65px;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('images/IMG_2134.jpg') center/cover no-repeat;
    background-position-x: center;
    background-position-y: 40%;
    overflow: hidden;
    border-radius: 0;
    z-index: 1;
    will-change: transform, background-size;
    transition: background-size 0.4s cubic-bezier(.4, 1, .6, 1), filter 0.4s cubic-bezier(.4, 1, .6, 1), transform 0.4s cubic-bezier(.4, 1, .6, 1);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.portraits-hero-banner-content {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.portraits-hero-title {
    color: #fff;
    font-size: 4rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 550;
    letter-spacing: 4px;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

@media (max-width: 600px) {
    .portraits-hero-banner {
        min-height: 200px;
        max-height: 340px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .portraits-hero-title {
        font-size: 3.2rem;
        margin-top: 0%;
    }
}

/* === Bannière Hero Naissances === */
.naissances-hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    height: 48vw;
    max-height: 520px;
    position: relative;
    left: 50%;
    right: 50%;
    margin-top: 65px;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('images/naissances1.jpg') center/cover no-repeat;
    background-position-x: 90%;
    background-position-y: 56%;
    background-size: cover;
    overflow: hidden;
    border-radius: 0;
    z-index: 1;
    /* isolation removed to allow broader backdrop blending */
    will-change: transform, background-size;
    transition: background-size 0.4s cubic-bezier(.4, 1, .6, 1), filter 0.4s cubic-bezier(.4, 1, .6, 1), transform 0.4s cubic-bezier(.4, 1, .6, 1);
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform: none;
    /* aligné sur .hero: pas d'isolation pour un mix-blend identique */
}

.naissances-hero-banner-content {
    width: 100%;
    text-align: center;
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background-color: transparent;
}

.naissances-hero-title {
    color: #ffffff;
    font-size: 4rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 550;
    letter-spacing: 4px;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    mix-blend-mode: difference;
    z-index: 1;
    display: inline-block;
    position: relative;
    background-color: transparent;
}

@media (max-width: 600px) {
    .naissances-hero-banner {
        min-height: 200px;
        max-height: 340px;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .naissances-hero-title {
        font-size: 3rem;
        padding: 20px;
    }
}

/* Styles pour la page Mentions Légales */
.mentions-hero {
    height: 60vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.mentions-hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.mentions-hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #333;
    font-family: "Source Serif 4", serif;
    letter-spacing: 2px;
    margin: 0;
}

.mentions-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.mentions-section {
    margin-bottom: 40px;
}

.mentions-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    font-family: "Source Serif 4", serif;
    letter-spacing: 1px;
}

.mentions-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.mentions-section ul {
    list-style: none;
    padding-left: 0;
}

.mentions-section ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.mentions-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
}

@media (max-width: 768px) {
    .mentions-hero {
        height: 40vh;
        margin-top: 60px;
    }

    .mentions-hero-title {
        font-size: 2.5rem;
    }

    .mentions-content {
        padding: 60px 20px;
        font-size: 0.95rem;
    }

    .mentions-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .mentions-hero-title {
        font-size: 2rem;
    }

    .mentions-content {
        padding: 40px 15px;
        font-size: 0.9rem;
    }

    .mentions-section h3 {
        font-size: 1.2rem;
    }
}

/* Classe pour la section mentions_legales */
.mentions_legales {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 40px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
}

.mentions_legales h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 40px 0 20px 0;
    font-family: "Source Serif 4", serif;
    letter-spacing: 1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.mentions_legales h1 {
    font-size: 2.4rem;
    text-align: center;
    font-weight: 600;
    color: #000;
    margin: 40px 0 20px 0;
    font-family: "Source Serif 4", serif;
    letter-spacing: 1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.mentions_legales h3:first-child {
    margin-top: 0;
}

.mentions_legales p {
    margin-bottom: 15px;
    text-align: justify;
}

.mentions_legales ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.mentions_legales ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.mentions_legales ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .mentions_legales {
        padding: 100px 20px;
        font-size: 0.95rem;
    }

    .mentions_legales h3 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }

    .mentions_legales h1 {
        font-size: 2rem;
    }
}


@media (max-width: 650px) {
    .mentions_legales {
        padding: 100px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .mentions_legales {
        padding: 100px 15px;
        font-size: 0.9rem;
    }

    .mentions_legales h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px 0;
    }


    .mentions_legales h1 {
        font-size: 1.8rem;
    }

    .mentions_legales ul li {
        padding-left: 20px;
        margin-bottom: 10px;
    }
}

/* Classe pour la section conditions_generales */
.conditions_generales {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
}

.conditions_generales h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 40px 0 20px 0;
    font-family: "Source Serif 4", serif;
    letter-spacing: 1px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.conditions_generales h3:first-child {
    margin-top: 0;
}

.conditions_generales p {
    margin-bottom: 15px;
    text-align: justify;
}

.conditions_generales ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.conditions_generales ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.conditions_generales ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .conditions_generales {
        padding: 60px 20px;
        font-size: 0.95rem;
    }

    .conditions_generales h3 {
        font-size: 1.3rem;
        margin: 30px 0 15px 0;
    }
}

@media (max-width: 480px) {
    .conditions_generales {
        padding: 40px 15px;
        font-size: 0.9rem;
    }

    .conditions_generales h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px 0;
    }

    .conditions_generales ul li {
        padding-left: 20px;
        margin-bottom: 10px;
    }
}

/* Hero pour la page conditions générales */
.conditions-hero {
    height: 60vh;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.conditions-hero-content {
    max-width: 800px;
    padding: 0 40px;
}

.conditions-hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #333;
    font-family: "Source Serif 4", serif;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 768px) {
    .conditions-hero {
        height: 40vh;
        margin-top: 60px;
    }

    .conditions-hero-title {
        font-size: 2.5rem;
    }

    .conditions-hero-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .conditions-hero-title {
        font-size: 2rem;
    }

    .conditions-hero-content {
        padding: 0 10px;
    }
}

/* Styles pour le formulaire de contact */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    font-family: 'Helvetica Neue', sans-serif;
}

.form-container h5 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    font-family: "Source Serif 4", serif;
    letter-spacing: 2px;
    margin-bottom: 50px;
    text-align: center;
}

.form-container form {
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    backdrop-filter: blur(10px);
}

.form-champ {
    margin-bottom: 35px;
}

.form-champ label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', sans-serif;
}

.form-champ input,
.form-champ select,
.form-champ textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Helvetica Neue', sans-serif;
    background: #fafafa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    color: #333;
}

.form-champ input:focus,
.form-champ select:focus,
.form-champ textarea:focus {
    outline: none;
    border-color: #333;
    background: white;
    box-shadow: 0 0 0 4px rgba(51, 51, 51, 0.1);
    transform: translateY(-2px);
}

.form-champ input::placeholder,
.form-champ textarea::placeholder {
    color: #999;
    font-style: italic;
    font-weight: 300;
}

.form-champ textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
    font-family: 'Helvetica Neue', sans-serif;
}

.form-champ select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 18px;
    padding-right: 50px;
    appearance: none;
}

.form-container button[type="submit"] {
    background: linear-gradient(135deg, #333 0%, #000 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.form-container button[type="submit"]:hover {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.form-container button[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-container button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-container button[type="submit"]:hover::before {
    left: 100%;
}

/* Notification styles */
.notification {
    margin-top: 30px;
    padding: 20px 24px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    display: none;
    font-family: 'Helvetica Neue', sans-serif;
    border: 2px solid transparent;
}

.notification.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #c3e6cb;
    display: block;
    box-shadow: 0 4px 12px rgba(21, 87, 36, 0.1);
}

.notification.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-color: #f5c6cb;
    display: block;
    box-shadow: 0 4px 12px rgba(114, 28, 36, 0.1);
}

/* Spinner styles */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .form-container {
        padding: 60px 20px;
    }

    .form-container h5 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .form-container form {
        padding: 40px 30px;
    }

    .form-champ {
        margin-bottom: 30px;
    }

    .form-champ input,
    .form-champ select,
    .form-champ textarea {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .form-container button[type="submit"] {
        padding: 18px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 40px 15px;
    }

    .form-container h5 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .form-container form {
        padding: 30px 20px;
    }

    .form-champ input,
    .form-champ select,
    .form-champ textarea {
        padding: 14px 18px;
        font-size: 0.9rem;
    }

    .form-container button[type="submit"] {
        padding: 16px 25px;
        font-size: 0.95rem;
    }
}

.mariages-hero-title,
.portraits-hero-title,
.naissances-hero-title {
    font-size: 4rem !important;
    text-transform: uppercase;
    font-weight: 550;
}

/* Centrage du bouton Instagram sous la galerie */
.instagram-more {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.instagram-more .btn-tarifs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}