@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Saira+Stencil:ital,wght@0,100..900;1,100..900&display=swap');


/* ===== NOUVELLE PALETTE CULTURELLE & MÉLANCOLIQUE ===== 
           Inspiration : terres ocre de l'ouest malgache, bois patiné, 
           cieux crépusculaires, mémoire des ancêtres Sakalava.
        */
        :root {
            --terracotta: #b85c38;      /* Terre cuite, authenticité */
            --sepia: #6b4c3a;           /* Vieilles photographies, mémoire */
            --ombre: #3e2a24;           /* Profondeur, mélancolie douce */
            --pierre: #d4c5b0;          /* Pierre ancienne, histoire */
            --lin: #f2e6d8;             /* Tissu traditionnel, lumière tamisée */
            --bronze: #8b5e3c;          /* Bronze patiné, objets rituels */
            --nuit: #1f1a16;            /* Nuit sakalava, étoiles lointaines */
            --cendre: #9e8b72;          /* Mémoire poussiéreuse */
            --ocre: #c28a4b;            /* Terre de soleil couchant */
            --vert-de-gris: #5f7c6b;    /* Patine du temps, végétation ancienne */
            
            --primary: var(--terracotta);
            --primary-dark: #9a4a2a;
            --primary-light: #d47a52;
            --bg-dark: var(--nuit);
            --bg-card: #2a221d;
            --text-light: var(--lin);
            --text-muted: #bcab93;
            --accent-gold: #cb9e6b;
            --accent-shadow: rgba(0,0,0,0.6);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-light);
            overflow-x: hidden;
            scroll-behavior: smooth;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* ===== ÉCRAN DE CHARGEMENT ===== */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #14100e;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.6s ease;
        }

        .loading-logo {
            position: relative;
            width: 180px;
            height: 180px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .loading-logo img {
            width: 100px;
            height: 100px;
            filter: drop-shadow(0 0 8px var(--terracotta));
            z-index: 2;
            opacity: 0.9;
        }

        /* Lignes de courant - nuances terreuses et anciennes */
        .electric-line {
            position: absolute;
            background-color: var(--terracotta);
            border-radius: 2px;
            box-shadow: 0 0 12px var(--ocre);
        }

        .line-1, .line-3 {
            width: 2px;
            height: 110px;
            left: 50%;
            transform: translateX(-50%);
        }
        .line-1 { top: -55px; }
        .line-3 { bottom: -55px; }

        .line-2, .line-4 {
            width: 110px;
            height: 2px;
            top: 50%;
            transform: translateY(-50%);
        }
        .line-2 { right: -55px; }
        .line-4 { left: -55px; }

        .line-5 {
            width: 80px;
            height: 80px;
            border: 1.5px solid var(--vert-de-gris);
            border-radius: 50%;
            box-shadow: 0 0 20px rgba(95,124,107,0.4);
            animation: pulseAncient 2.5s infinite;
        }

        .spark {
            position: absolute;
            width: 4px;
            height: 4px;
            background-color: var(--accent-gold);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--accent-gold);
            animation: flickerMemory 1.2s infinite alternate;
        }
        .spark-1 { top: 15%; left: 15%; animation-delay: 0s; }
        .spark-2 { top: 20%; right: 18%; animation-delay: 0.4s; }
        .spark-3 { bottom: 18%; right: 22%; animation-delay: 0.7s; }

        @keyframes pulseAncient {
            0%, 100% { transform: scale(1); opacity: 0.6; }
            50% { transform: scale(1.08); opacity: 1; }
        }
        @keyframes flickerMemory {
            0% { transform: scale(0.8); opacity: 0.4; }
            100% { transform: scale(1.3); opacity: 1; }
        }
        @keyframes electricFlow {
            0%,100% { opacity: 0.3; }
            50% { opacity: 0.9; }
        }
        .electric-line { animation: electricFlow 1.8s infinite; }
        .line-2 { animation-delay: 0.3s; }
        .line-3 { animation-delay: 0.6s; }
        .line-4 { animation-delay: 0.9s; }

        /* ===== NAVIGATION ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(31, 26, 22, 0.92);
            backdrop-filter: blur(12px);
            z-index: 1000;
            padding: 14px 0;
            transition: all 0.3s;
            border-bottom: 1px solid rgba(180, 92, 56, 0.3);
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img {
            height: 42px;
            filter: drop-shadow(0 2px 6px rgba(180, 92, 56, 0.5));
            transition: all 0.3s;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }
        .nav-links a {
            color: var(--lin);
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 1px;
            font-size: 1rem;
            transition: 0.3s;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--terracotta);
        }
        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--ocre);
            transition: 0.3s;
        }
        .nav-links a:hover::after {
            width: 100%;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }
        .menu-toggle span {
            width: 28px;
            height: 2.5px;
            background: var(--lin);
            margin: 4px 0;
            transition: 0.3s;
        }

        /* ===== HERO - Mélancolie & Histoire ===== */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            background: linear-gradient(rgba(20, 16, 14, 0.65), rgba(31, 26, 22, 0.7)), 
                        url('../Img/C5.jpg') no-repeat center center/cover;
            position: relative;
        }
        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, transparent 30%, #1a1410 85%);
            pointer-events: none;
        }
        .hero h1 {
            font-size: 5rem;
            font-weight: 800;
            letter-spacing: 5px;
            color: var(--pierre);
            text-shadow: 0 0 20px rgba(160, 100, 60, 0.8), 2px 2px 12px black;
            position: relative;
            z-index: 2;
        }
        .hero h2 {
            font-size: 2rem;
            font-weight: 300;
            color: #ecd9c2;
            letter-spacing: 3px;
            position: relative;
            z-index: 2;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
        }

        /* ===== SECTION QUI SOMMES-NOUS ===== */
        .about-section {
            padding: 100px 0;
            background: linear-gradient(145deg, #241e19 0%, #1e1814 100%);
            position: relative;
        }
        .about-section h3 {
            font-size: 2.6rem;
            text-align: center;
            margin-bottom: 60px;
            color: var(--ocre);
            font-weight: 500;
            letter-spacing: 2px;
        }
        .about-section h3::after {
            content: '';
            display: block;
            width: 100px;
            height: 2px;
            background: var(--terracotta);
            margin: 18px auto 0;
            box-shadow: 0 0 6px var(--terracotta);
        }
        .about-content {
            display: flex;
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
        }
        .about-text {
            flex: 1;
            font-size: 1.1rem;
            line-height: 1.8;
            text-align: justify;
            color: #e0cfbc;
            background: rgba(0,0,0,0.3);
            padding: 28px;
            border-radius: 24px;
            border-left: 4px solid var(--terracotta);
            font-weight: 400;
        }
        .images-container {
            flex: 1;
            position: relative;
            height: 420px;
        }
        .moving-image {
            position: absolute;
            width: 210px;
            height: 270px;
            border-radius: 12px;
            background-size: cover;
            background-position: center;
            box-shadow: 10px 15px 25px rgba(0,0,0,0.5);
            border: 2px solid rgba(180, 92, 56, 0.7);
            transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .image-1 {
            background-image: url('../Img/SF1.jpg');
            top: 0;
            left: 5%;
            transform: rotate(-6deg);
        }
        .image-2 {
            background-image: url('../Img/DS3.jpg');
            top: 70px;
            left: 40%;
            transform: translateX(-30%) rotate(2deg);
            z-index: 3;
            width: 220px;
            height: 280px;
        }
        .image-3 {
            background-image: url('../Img/N2.jpg');
            bottom: 0;
            right: 5%;
            transform: rotate(5deg);
        }
        .images-container:hover .image-1 {
            transform: rotate(-9deg) translateX(-10px);
        }
        .images-container:hover .image-2 {
            transform: translateX(-30%) rotate(0deg) translateY(-12px);
        }
        .images-container:hover .image-3 {
            transform: rotate(8deg) translateX(12px);
        }

        /* ===== CARROUSEL - VIBRATION HISTORIQUE ===== */
        .carousel-section {
            padding: 70px 0;
            background: #17120f;
            position: relative;
        }
        .carousel-title {
            text-align: center;
            color: #dbb87c;
            font-size: 2rem;
            margin-bottom: 40px;
            font-family: 'Georgia', serif;
            letter-spacing: 1px;
        }
        .carousel-title:after {
            content: '✧';
            display: block;
            font-size: 1.8rem;
            color: var(--terracotta);
            margin-top: 8px;
        }
        .carousel-wrapper {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.5);
            border: 1px solid rgba(130, 80, 50, 0.4);
        }
        .carousel-slides {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        .carousel-slide {
            min-width: 100%;
            position: relative;
        }
        .carousel-slide img {
            width: 100%;
            height: 520px;
            object-fit: cover;
            filter: sepia(0.2) brightness(0.9) contrast(1.05);
        }
        .slide-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(20, 12, 8, 0.9));
            color: #f5e7d9;
            padding: 28px 20px;
            text-align: center;
            font-size: 1.2rem;
            font-style: italic;
            font-weight: 500;
            backdrop-filter: blur(3px);
        }
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(65, 45, 35, 0.7);
            color: #e7cfb0;
            border: 1px solid var(--terracotta);
            width: 48px;
            height: 48px;
            border-radius: 60px;
            cursor: pointer;
            font-size: 1.8rem;
            transition: 0.25s;
            z-index: 10;
        }
        .carousel-btn:hover {
            background: var(--terracotta);
            color: #1f1a16;
            border-color: #f2e0c0;
        }
        .prev { left: 20px; }
        .next { right: 20px; }
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 14px;
            margin-top: 28px;
        }
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(190, 150, 110, 0.4);
            cursor: pointer;
            transition: 0.2s;
        }
        .carousel-dot.active {
            background: var(--terracotta);
            transform: scale(1.2);
            box-shadow: 0 0 6px var(--ocre);
        }

        /* ===== FOOTER AUTHENTIQUE AVEC TRIPADVISOR ===== */
        .footer-alt {
            background: #110d0a;
            color: #b9a78f;
            text-align: center;
            padding: 48px 20px 38px;
            border-top: 1px solid #3e2a20;
        }
        .social-links {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-bottom: 32px;
            flex-wrap: wrap;
        }
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 52px;
            height: 52px;
            background: #2a201b;
            border-radius: 50%;
            color: #d6bd9b;
            font-size: 1.5rem;
            transition: 0.3s;
            text-decoration: none;
            border: 1px solid rgba(180, 92, 56, 0.3);
        }
        .social-links a:hover {
            background: var(--terracotta);
            color: #17100c;
            transform: translateY(-5px);
            border-color: var(--ocre);
        }
        /* Style spécifique pour TripAdvisor */
        .social-links a .fa-tripadvisor {
            font-size: 1.7rem;
        }
        .footer-alt p {
            font-size: 0.95rem;
            letter-spacing: 0.5px;
            margin: 8px 0;
        }
        .footer-alt strong {
            color: var(--ocre);
            font-weight: 500;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 950px) {
            .about-content { flex-direction: column; }
            .images-container { width: 100%; min-height: 380px; }
            .hero h1 { font-size: 3.2rem; }
            .hero h2 { font-size: 1.4rem; }
            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 70%;
                height: calc(100vh - 70px);
                background: #1f1915e6;
                backdrop-filter: blur(18px);
                flex-direction: column;
                align-items: center;
                padding: 40px 0;
                transition: 0.3s;
                border-right: 2px solid var(--terracotta);
                gap: 2.5rem;
            }
            .nav-links.active {
                left: 0;
            }
            .menu-toggle {
                display: flex;
            }
            .menu-toggle.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }
            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }
            .menu-toggle.active span:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
            }
            .carousel-slide img {
                height: 340px;
            }
            .carousel-btn {
                width: 38px;
                height: 38px;
                font-size: 1.2rem;
            }
            .social-links a {
                width: 45px;
                height: 45px;
                font-size: 1.3rem;
            }
        }

        @media (max-width: 550px) {
            .images-container .moving-image {
                width: 160px;
                height: 210px;
            }
            .image-2 {
                width: 170px;
                height: 220px;
                top: 90px;
            }
            .about-text { font-size: 0.95rem; }
            .social-links { gap: 18px; }
        }