/* ===========================
   1. IMPORTS & VARIABLES
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --primary-color: #603AC4;
    --primary-hover: #4e2ea3;
    --secondary-color: #613ac41c;
    --background-color: #FFFCF4;
    --surface-color: #fff;
    --text-color: #262626;
    --text-light: #666; 
    
    /* Ombres */
    --shadow-soft: 0 10px 40px -10px rgba(96, 58, 196, 0.15);
    --shadow-card: 0 4px 20px rgba(0,0,0,0.06);
    --glass-bg: rgba(255, 255, 255, 0.7);
}

/* ===========================
   2. RESET & GLOBAL
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased; 
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
    overflow-x: hidden;
    background-color: var(--background-color);
}

/* ===========================
   3. LOADER
   =========================== */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--background-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader::after {
    content: "";
    width: 50px; height: 50px;
    border: 4px solid var(--secondary-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

#loader span {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ===========================
   4. HEADER & NAVIGATION
   =========================== */
header {
    overflow: hidden;
    width: 100%;
    height: 100svh;
    position: relative;
}

/* Background Video */
header .video-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
}

header .video-container video {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.85);
}

/* Navbar */
header nav {
    position: relative;
    width: 100%;
    height: 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    z-index: 10;
}

header nav img.logo {
    height: 110px;
    transition: height 0.3s ease;
}

/* Menu Links */
header nav ul {
    display: flex;
    gap: 40px;
    width: 45%;
    min-width: 45%;
}

header nav ul li {
    font-family: "Bebas Neue", sans-serif;
    color: var(--background-color);
    font-size: 1.3rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeSlideIn 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
    position: relative;
}

header nav ul li:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

header nav ul li::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -2px; left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
header nav ul li:hover::after { width: 100%; }

/* Buttons Desktop */
header nav .btn {
    display: flex;
    justify-content: end;
    gap: 15px;
    width: 45%;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeSlideIn 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

header nav .btn button, .btn-responsive {
    padding: 12px 35px;
    font-family: "Bebas Neue", sans-serif;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: var(--background-color);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

header nav .btn button:hover, .btn-responsive:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

header nav .btn button:last-of-type, .btn-responsive {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
}

header nav .btn button:last-of-type:hover {
    background-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 5px 20px rgba(96, 58, 196, 0.4);
}

/* Hamburger & Responsive Button */
.hamburger { display: none; }
.btn-responsive { display: none; }

/* Waves/Bars Animation */
.waves {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    bottom: 40px;
    left: 4vw;
    z-index: 10;
}
.waves svg { stroke: none; width: 20px; }
.waves svg path { stroke: none; fill: var(--background-color); transition: fill 0.3s ease; }
.waves.muted svg path { fill: rgba(255,255,255,0.5); }

.bars { display: flex; gap: 4px; height: 40px; align-items: flex-end; transform: rotate(90deg); }
.bar {
    width: 4px; height: 5px; background: var(--background-color); border-radius: 2px;
    animation: wave 1.2s infinite ease-in-out; transition: background 0.3s ease;
}
.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
@keyframes wave { 0%, 100% { height: 5px; } 50% { height: 30px; } }
.waves.muted .bar { animation: none; height: 4px; background: rgba(255,255,255,0.5); }

/* ===========================
   5. MAIN CONTENT GENERAL
   =========================== */
main {
    display: flex;
    flex-direction: column;
    padding: 100px 4vw;
    gap: clamp(80px, 10vw, 120px);
    background-color: var(--background-color);
}

main section h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--primary-color);
    line-height: 0.9;
}
main section p {
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   6. SECTION GALLERY (CAROUSEL)
   =========================== */
main section.gallery {  
    height: 50vw;
    max-height: 800px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

main section.gallery .photo {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

main section.gallery .photo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

/* ANIMATION FLUIDE CARROUSEL (AJOUT) */
main section.gallery .photo > img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
    border-radius: 20px;
}

/* Classe ajoutée par JS lors du changement */
main section.gallery .photo > img.animating {
    opacity: 0;
    transform: scale(0.95);
}

main section.gallery .photo:hover > img:not(.animating) { 
    transform: scale(1.05); 
}

main section.gallery .photo::after {
    content: attr(data-caption);
    position: absolute; bottom: 20px; left: 20px;
    background: rgba(255, 255, 255, 0.9); color: var(--primary-color);
    padding: 8px 16px; border-radius: 30px;
    font-size: 0.9rem; font-weight: 600;
    opacity: 0; transform: translateY(10px); transition: all 0.3s ease;
    pointer-events: none;
}
main section.gallery .photo:hover::after { opacity: 1; transform: translateY(0); }

main section.gallery .photo:first-child { width: 60%; }

main section.gallery .gallery-container {
    display: flex; flex-direction: column; justify-content: space-between;
    width: 40%; height: 100%;
}
main section.gallery .gallery-container .img-container {
    display: flex; justify-content: space-between; gap: 20px; height: 45%;
}
main section.gallery .gallery-container .img-container .photo { width: 100%; }

main section.gallery .gallery-container .text-container h1 {
    font-size: clamp(3rem, 4vw, 6rem);
    font-weight: 600; font-style: italic; margin: 15px 0;
}
main section.gallery .gallery-container .text-container p {
    font-size: clamp(0.9rem, 1vw, 1.2rem);
}

/* NAVIGATION DOTS (MISE A JOUR) */
.navigation {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.navigation svg { cursor: pointer; width: 50px; transition: transform 0.2s; }
.navigation svg:hover { transform: scale(1.1); }
.navigation svg path { fill: var(--primary-color); }

.navigation .point-container { display: flex; gap: 10px; }

.navigation .point-container .point {
    width: 10px; height: 10px; 
    min-width: 10px; /* Important pour ne pas écraser */
    border-radius: 50%;
    background-color: transparent; 
    border: 1px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navigation .point-container .point.active {
    background-color: var(--primary-color); 
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(96, 58, 196, 0.3);
}

.navigation .point-container .point:hover { background-color: var(--primary-color); }

/* ===========================
   7. SECTION MAP
   =========================== */
main section.map {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    gap: 5vw;
}

main section.map .description-container {
    width: 45%; display: flex; flex-direction: column; gap: 20px;
}
main section.map .description-container p { font-size: clamp(0.9rem, 1vw, 1.2rem); }

main section.map .description-container .locate-container {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 5px 20px;
    background: var(--secondary-color);
    border-radius: 15px; width: fit-content;
    transition: 0.3s ease;
}
main section.map .description-container .locate-container:hover {
    background: var(--primary-color);
}
main section.map .description-container .locate-container:hover p { color: #fff; }
main section.map .description-container .locate-container:hover svg path { fill: #fff; }
main section.map .description-container .locate-container svg { width: 20px; }
main section.map .description-container .locate-container p {
    font-size: clamp(0.9rem, 1vw, 1.2rem); color: var(--primary-color); font-weight: 600; width: auto;
}

main section.map .map-container {
    width: 55%; height: clamp(300px, 50vh, 300px);
    border-radius: 20px; overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}
main section.map .map-container iframe { width: 100%; height: 100%; border:0; transition: 0.5s; }

/* ===========================
   8. SECTION ABOUT
   =========================== */
main section.about {  
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 5vw;
}
main section.about img {
    width: 50%; height: 600px; border-radius: 20px; object-fit: cover; box-shadow: var(--shadow-soft);
}
main section.about .text-container { width: 45%; }
main section.about .text-container h1 {
    font-size: clamp(3rem, 5vw, 6rem); font-weight: 600; font-style: italic;
    color: var(--primary-color); margin: 20px 0;
}
main section.about .text-container p { font-size: clamp(0.9rem, 1vw, 1.2rem); margin-bottom: 30px; }

main section.about .text-container .bottom-container {
    display: flex; justify-content: space-between; align-items: center; gap: 30px;
}
main section.about .text-container .bottom-container .instagram-container {
    display: flex; align-items: center; gap: clamp(4px, 1.5vw, 8px); cursor: pointer;
}
main section.about .text-container .bottom-container .instagram-container svg { width: clamp(18px, 4vw, 24px); }
main section.about .text-container .bottom-container .instagram-container p {
    color: var(--primary-color); font-weight: 600; font-size: clamp(0.75rem, 2.2vw, 1rem); margin: 0;
}
main section.about .text-container .bottom-container button {
    padding: clamp(6px, 2vw, 12px) clamp(20px, 5vw, 30px);
    border: 1px solid var(--primary-color); border-radius: 50px;
    background-color: transparent; color: var(--primary-color);
    font-size: clamp(0.75rem, 2.2vw, 1rem); font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
}
main section.about .text-container .bottom-container button:hover {
    background-color: var(--primary-color); color: #fff; box-shadow: 0 5px 15px rgba(96, 58, 196, 0.3);
}

/* ===========================
   9. SECTION REVIEW
   =========================== */
main section.review {
    width: 100%; display: flex; justify-content: space-between; gap: 50px;
}

main section.review .stat-container {
    width: 30%; display: flex; flex-direction: column; justify-content: center;
    gap: 30px;
}
main section.review .stat-container h2 {
    color: rgb(96, 58, 196); 
    font-family: "Bebas Neue", sans-serif; 
    font-weight: 600; 
    opacity: 0; 
    transform: translateY(20px); 
    display: inline-block; 

    animation: 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.69s 1 normal forwards running textReveal;
}
main section.review .stat-container #total-reviews-count,
main section.review .stat-container #average-rating {
    color: var(--primary-color); font-style: italic; font-size: clamp(3.5rem, 3.5vw, 6rem); 
    font-weight: 900; line-height: 1;
    margin-top: 10px;
}
main section.review .stat-container p.description {
    font-size: clamp(0.8rem, 1.1vw, 1rem); opacity: 0.8; margin-top: 5px;
    max-width: 350px;
}
main section.review .stat-container .haverage-review .title-container {
    display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
}
main section.review .stat-container .haverage-review .stars-container {
    display: flex; gap: 2px;
}
main section.review .stat-container .stars-container svg { width: 35px; height: 35px; }

main section.review .review-container { 
    width: 65%; display: flex; flex-direction: column; gap: 20px;
}
main section.review .review-card-container {
    display: flex; gap: 30px; width: 100%; 
    height: 300px;
    position: relative;
}

.review-card {
    display: none; 
    flex-direction: column; justify-content: space-between;
    width: calc(50% - 15px);
    background: var(--secondary-color); padding: 30px; border-radius: 20px;
    box-shadow: var(--shadow-card); border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: crosshair;
}
.review-card.active {
    display: flex; 
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.review-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--primary-color);
}

.review-card .card-header {
    display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
}
.review-card .pdp-circle {
    min-width: 50px; min-height: 50px; border-radius: 50%;
    background: var(--primary-color); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(96, 58, 196, 0.3);
}
.review-card .name h2 { font-size: 1.1rem; font-weight: 600; color: var(--text-color); }
.review-card .name p { font-size: 0.85rem; font-weight: 300; opacity: 0.6; margin-top: 2px; }

.review-card .date-container {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px;
}
.review-card .date-container .stars-container svg { width: 20px; height: 20px; }
.review-card .date-container p {
    font-size: 0.8rem; color: var(--primary-color); font-weight: 500;
}

.review-card p.comment {
    font-size: 1rem; font-style: italic; font-weight: 300; line-height: 1.6; color: #444;
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   10. SECTION BLOG / ARTICLES (NOUVEAU)
   =========================== */
section.blog {
    padding: 60px 20px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.blog-header {
    text-align: center;
    max-width: 800px;
}

.blog-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    font-style: italic;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-header p {
    color: var(--text-light);
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.5;
}

.blog-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.public-article-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.public-article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(96, 58, 196, 0.15);
    border-color: var(--primary-color);
}

.public-article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.public-article-card:hover img {
    transform: scale(1.05);
}

.public-article-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.public-article-content h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.3;
}

.public-article-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.public-article-date {
    margin-top: auto;
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 15px;
    border-top: 1px solid #f6f6f6;
}

@media (max-width: 768px) {
    .blog-container { flex-direction: column; align-items: center; }
    .public-article-card { max-width: 100%; }
}

/* ===========================
   11. FOOTER
   =========================== */
footer {
    width: 100%;
    background: linear-gradient(135deg, #4A2B99 0%, #2D1B5E 100%);
    padding: 80px 8vw 30px;
    position: relative;
    overflow: hidden;
    color: #fff;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

footer::before {
    content: '';
    position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; 
    gap: 60px;
    margin-bottom: 60px;
}

.footer-section h3 {
    color: #fff; font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem; margin-bottom: 25px; letter-spacing: 1px;
}

.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .logo-container img {
    width: 120px; height: auto; margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.8); font-size: clamp(0.9rem, 1vw, 1rem); line-height: 1.6;
    max-width: 320px; margin-bottom: 25px;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-color); border-color: var(--primary-color);
    transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.social-links a svg { width: 18px; height: 18px; fill: #fff; }

.footer-section ul { display: flex; flex-direction: column; gap: 12px; }
.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 1rem;
    transition: all 0.3s ease; display: inline-block;
}
.footer-section ul li a:hover { color: #fff; transform: translateX(5px); }

.contact-item {
    display: flex; align-items: flex-start; gap: 15px; margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.5;
}
.contact-item svg { width: 20px; min-width: 20px; fill: var(--primary-color); margin-top: 3px; }

.footer-bottom {
    position: relative; z-index: 2; padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-bottom p, footer span { color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }
.footer-bottom-links { display: flex; gap: 25px; }
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5); text-decoration: none; font-size: 0.9rem; transition: 0.3s;
}
.footer-bottom-links a:hover { color: #fff; text-decoration: underline; }

/* ===========================
   12. OVERLAY (MODALE)
   =========================== */
section.overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

section.overlay.active {
    display: flex;
    opacity: 1;
}

section.overlay form {
    width: 100%;
    max-width: 500px;
    background-color: var(--surface-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: none;
    flex-direction: column;
    gap: 20px;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
}

section.overlay form[style*="display: block"],
section.overlay.active form { 
    opacity: 1;
    transform: translateY(0) scale(1);
}

section.overlay form::-webkit-scrollbar { display: none; }

section.overlay form .form-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

section.overlay form .form-header .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section.overlay form .form-header .title h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
    margin: 0;
    letter-spacing: 1px;
}

section.overlay form .form-header p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 300;
}

section.overlay form .form-header .title .back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--primary-color);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

section.overlay form .form-header .title .back-btn p {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
}

section.overlay form .form-header .title .back-btn svg { width: 18px; height: auto; }
section.overlay form .form-header .title .back-btn svg path {
    fill: var(--primary-color);
    transition: fill 0.3s ease;
}

section.overlay form .form-header .title .back-btn:hover {
    background: var(--primary-color);
    transform: translateX(-3px);
}
section.overlay form .form-header .title .back-btn:hover p { color: #fff; }
section.overlay form .form-header .title .back-btn:hover svg path { fill: #fff; }

section.overlay form .inputs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 2px;
}

#register-form .inputs-container {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 5px;
}
#register-form .inputs-container::-webkit-scrollbar { width: 4px; }
#register-form .inputs-container::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 4px;
}

section.overlay form .input-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

section.overlay form .input-container label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
    margin-left: 5px;
}

section.overlay form .input-container input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background-color: #fcfcfc;
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

section.overlay form .input-container input::placeholder { color: #bbb; font-weight: 300; }

section.overlay form .input-container input:focus {
    background-color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--secondary-color);
    transform: translateY(-2px);
}

section.overlay form .twice-input-container { display: flex; gap: 15px; }
section.overlay form .twice-input-container .input-container { flex: 1; }

.selected-city {
    position: absolute;
    right: 15px;
    top: 50px;
    opacity: 0.5;
    font-weight: 300;
    font-size: 0.7rem;
}

section.overlay form .password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}
section.overlay form .password-toggle:hover { opacity: 1; }
section.overlay form .password-toggle svg { width: 20px; height: 20px; }

#register-form .city-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 85px;
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 500;
    animation: fadeSlideIn 0.2s ease-out forwards;
}

#register-form .city-container span {
    padding: 10px 15px;
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

#register-form .city-container span:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 20px;
}

section.overlay form .remember-me-container, 
section.overlay form .accept-terms-container {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

section.overlay form input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px; height: 20px;
    border: 1.5px solid #d1d1d1;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    margin-right: 10px;
    flex-shrink: 0;
    background: #fff;
}

section.overlay form input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

section.overlay form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 45%; left: 50%;
    width: 5px; height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

section.overlay form label { font-size: 0.85rem; color: var(--text-light); cursor: pointer; }

section.overlay form a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}
section.overlay form a:hover { text-decoration: underline; }

section.overlay form button[type="submit"] {
    margin-top: 10px;
    width: 100%;
    height: 55px;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 20px rgba(96, 58, 196, 0.2);
    letter-spacing: 0.5px;
}

section.overlay form button[type="submit"]:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(96, 58, 196, 0.3);
}

section.overlay form p.forgot-password {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

section.overlay form p.forgot-password:hover {
    color: var(--secondary-hover);
}

section.overlay form p.switch {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--text-color);
}
section.overlay form p.switch span {
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
}
section.overlay form p.switch span:hover { text-decoration: underline; }

section.overlay form .error-message,
section.overlay form .success-message {
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    display: none;
    margin-top: 10px;
}
section.overlay form .error-message {
    background-color: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.1);
    color: #d32f2f;
}
section.overlay form .success-message {
    background-color: rgba(39, 174, 96, 0.05);
    border: 1px solid rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

/* --- Mobile Bottom Sheet Style --- */
@media (max-width: 650px) {
    section.overlay {
        padding: 0;
        align-items: flex-end;
    }
    
    section.overlay form {
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
        padding: 30px 25px;
        transform: translateY(100%);
    }
    
    section.overlay.active form { 
        transform: translateY(0); 
    }
    
    section.overlay form .form-header .title h1 { 
        font-size: 2.2rem; 
    }
    
    section.overlay form .twice-input-container { 
        flex-direction: column; 
        gap: 15px; 
    }
}

/* ===========================
   13. ANIMATIONS & UTILS
   =========================== */
.arrow-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: clamp(25px, 6vw, 40px);
    right: clamp(25px, 6vw, 40px);
    height: 50px;
    width: 50px;
    background-color: var(--surface-color);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.arrow-top.show {
    opacity: 1;
    visibility: visible;
}

.arrow-top svg { height: 22px; }
.arrow-top svg path { fill: var(--primary-color); }

.arrow-top:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(96, 58, 196, 0.4);
}
.arrow-top:hover svg path { fill: #fff; }

@keyframes fadeSlideIn { to { opacity: 1; transform: translateY(0); } }

.scale-in, .fade-in-right, .fade-in-left, .blur-in, .rotate-in, .animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.8s ease;
    will-change: opacity, transform;
}

.scale-in { transform: scale(0.9); }
.fade-in-right { transform: translateX(50px); }
.fade-in-left { transform: translateX(-50px); }
.blur-in { filter: blur(20px); transform: scale(1.1); }
.rotate-in { transform: translateY(30px) rotate(3deg); }
.animate-on-scroll { transform: translateY(30px); }

.scale-in.visible, .fade-in-right.visible, .fade-in-left.visible, .blur-in.visible, .rotate-in.visible, .animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: blur(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===========================
   14. MEDIA QUERIES
   =========================== */
/* --- TABLETTE (max-width: 1024px) --- */
@media (max-width: 1024px) {
    main section.gallery { height: auto; flex-direction: column; }
    main section.gallery .photo:first-child { width: 100%; height: 400px; }
    main section.gallery .gallery-container { width: 100%; gap: 20px; }
    main section.gallery .gallery-container .img-container { display: none; }
    
    main section.map { flex-direction: column; padding: 0px; }
    main section.map .description-container, main section.map .map-container { width: 100%; }
    
    main section.about { flex-direction: column; }
    main section.about img { width: 100%; height: 400px; }
    main section.about .text-container { width: 100%; }
    
    footer { padding: 60px 5vw 30px; }
    .footer-content {
        grid-template-columns: 1fr 1fr; 
        gap: 50px; margin-bottom: 40px;
    }
    .footer-brand { grid-column: span 2; align-items: center; text-align: center; }
    .footer-brand p { max-width: 500px; margin-left: auto; margin-right: auto; }
    .social-links { justify-content: center; }
}

/* --- MOBILE & NAVIGATION COMPLEXE (max-width: 950px) --- */
@media all and (max-width: 950px) {
    header nav {
        height: 100px;
        padding: 0 25px;
        position: fixed;
        top: 0; left: 0; right: 0;
        display: flex;
        justify-content: end;
        background: transparent;
        transition: backdrop-filter 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    }

    header nav.scrolled {
        background: rgba(255, 255, 255, 0.06); 
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    header nav img.logo {
        position: absolute; left: 5%; height: 80px; z-index: 101; transition: all 0.5s ease;
    }

    .hamburger {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 35px; height: 25px; cursor: pointer; z-index: 101; position: relative;
    }

    .hamburger span {
        display: block; height: 4px; width: 100%; background-color: var(--background-color); 
        border-radius: 2px; transition: all 0.3s ease; 
    }

    .hamburger.active span { background-color: var(--primary-color); }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(10px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(9px, -5px); }

    header nav::after {
        content: ""; position: absolute; top: 0; left: 50%;
        width: 250vh; height: 250vh;
        background-color: var(--background-color);
        border-radius: 50%; 
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
        z-index: 90; pointer-events: none;
    }

    header nav.active::after {
        transform: translate(-50%, -50%) scale(1); pointer-events: all;
    }

    header nav ul {
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        position: absolute; top: 0; left: 0; width: 100%; height: 80vh;
        gap: 30px; z-index: 95;
        opacity: 0; transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        pointer-events: none;
    }

    header nav.active ul {
        opacity: 1; transform: translateY(0); pointer-events: all; transition-delay: 0.2s;
    }

    header nav.active ul li {
        color: var(--text-color); font-size: 2rem; opacity: 1; transform: none; animation: none;
    }
    
    header nav ul li:hover { color: var(--primary-color); text-shadow: none; }
    header nav ul li::after { background-color: var(--primary-color); }

    .btn-responsive {
        display: block; position: absolute; right: 80px; padding: 8px 20px; font-size: 1rem;
        z-index: 101; transition: opacity 0.3s ease;
    }

    header nav.active .btn-responsive { display: none; }

    header nav .btn {
        display: flex; position: absolute; top: 65vh; left: 0; width: 100%;
        justify-content: center; align-items: center; flex-direction: column;
        gap: 15px; z-index: 95;
        animation: none; transform: none; opacity: 0 !important;
        transition: opacity 0.4s ease; pointer-events: none;
    }

    header nav.active .btn {
        opacity: 1 !important; pointer-events: all; transition-delay: 0.3s;
    }

    header nav .btn button {
        border-color: var(--primary-color); color: var(--primary-color);
        background: transparent; width: 60%; max-width: 300px;
    }

    header nav .btn button:hover { background: var(--primary-color); color: var(--background-color); }
    header nav .btn button:last-of-type { background: var(--primary-color); color: var(--background-color); }

    footer { padding: 50px 20px 20px; text-align: center; }
    .footer-content { display: flex; flex-direction: column; gap: 40px; }
    .footer-section { display: flex; flex-direction: column; align-items: center; }
    
    .footer-section h3 { font-size: 1.4rem; margin-bottom: 20px; position: relative; display: inline-block; }
    .footer-section h3::after {
        content: ''; display: block; width: 40px; height: 2px;
        background: var(--primary-color); margin: 5px auto 0; opacity: 0.7;
    }
    
    .contact-item { flex-direction: column; align-items: center; gap: 5px; margin-bottom: 20px; }
    .contact-item svg { margin-top: 0; width: 24px; height: 24px; margin-bottom: 5px; }
    
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; padding-top: 20px; }
    .footer-bottom-links { flex-direction: column; gap: 10px; }
    
    main section.review { flex-direction: column; gap: 40px; }
    main section.review .stat-container, main section.review .review-container { width: 100%; }
    .review-card { width: 100%; min-width: 100%; }
}