:root {
    --bg-sand: #FBF9F5;          
    --bg-card: rgba(255, 255, 255, 0.85); 
    --bg-alt: rgba(244, 239, 235, 0.8);   
    --text-main: #1E293B;        
    --text-muted: #475569;       
    --lagoon-blue: #0284C7;      
    --lagoon-deep: #0369A1;      
    --palm-green: #059669;       
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-sand);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* --- EFFET PARALLAXE GOURMAND --- */
.parallax-wrapper {
    position: fixed;
    top: -50px; left: -50px; right: -50px; bottom: -50px; 
    pointer-events: none; 
    z-index: 0; 
    overflow: hidden;
}

.floating-item {
    position: absolute;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dof-fg { width: 250px; filter: blur(8px) drop-shadow(0 20px 20px rgba(0,0,0,0.15)); z-index: 3; }
.dof-mid { width: 120px; filter: blur(0px) drop-shadow(0 10px 10px rgba(0,0,0,0.1)); z-index: 2; }
.dof-bg { width: 60px; filter: blur(4px) drop-shadow(0 5px 5px rgba(0,0,0,0.05)); z-index: 1; opacity: 0.7; }

.content-layer {
    position: relative;
    z-index: 10;
}

/* Utilitaires */
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.italic { font-style: italic; }
.font-bold { font-weight: bold; }
.text-2xl { font-size: 1.5rem; }

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(251, 249, 245, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.1);
    transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--lagoon-blue);
}

.btn-glow {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--lagoon-blue), var(--lagoon-deep));
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    transition: transform 0.3s;
    display: inline-block;
}

.btn-glow:hover { transform: scale(1.05); }

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-h: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 5rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(251, 249, 245, 0.2) 0%, var(--bg-sand) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--lagoon-deep);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.text-gradient {
    background: linear-gradient(135deg, var(--lagoon-blue), #0EA5E9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
}

.btn-primary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--lagoon-blue), var(--lagoon-deep));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.3);
    transition: transform 0.3s;
    display: inline-block;
}

.btn-primary:hover { transform: translateY(-3px); }

/* --- SECTIONS --- */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    backdrop-filter: blur(30px);
    
}

.bg-alt { background: var(--bg-alt); backdrop-filter: blur(10px); }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.section-title-center {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #0F172A;
}

.section-text, .section-text-center {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.max-w { max-width: 850px; margin-left: auto; margin-right: auto; }

/* --- CARTES & BOXES --- */
.glass-card, .glass-box {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(2, 132, 199, 0.15);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.glass-card {
    padding: 2.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 35px rgba(2, 132, 199, 0.1);
}

.glass-box {
    border-left: 5px solid var(--lagoon-blue);
    padding: 2rem;
}

.glass-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0F172A;
}

.glass-card p { color: var(--text-muted); }

.highlight-text {
    color: var(--lagoon-deep);
    font-size: 1.15rem;
    font-weight: 600;
}

/* --- ICONS & DELAYS POUR SECTION IMMERSION --- */
.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.glass-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.text-muted { 
    color: var(--text-muted); 
}

.delay-1 { 
    transition-delay: 0.1s; 
}

.delay-2 { 
    transition-delay: 0.2s; 
}

/* --- SECTION DÉFILEMENT HORIZONTAL --- */
.horizontal-scroll-section {
    height: 250vh; /* Scroll accéléré */
    position: relative;
    background: var(--bg-alt);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 60vh;
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5vh;
}

.horizontal-header {
    padding: 0 5vw;
    margin-bottom: 2rem;
    max-width: 800px;
}

.horizontal-track {
    display: flex;
    gap: 3rem;
    padding: 0 5vw;
    width: max-content; 
    will-change: transform; 
    transition: transform 0.1s ease-out; 
}

.activity-card {
    width: 80vw;
    max-width: 350px; 
    flex-shrink: 0; 
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-img {
    transform: scale(1.05);
}

.activity-content {
    padding: 2.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--lagoon-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(2, 132, 199, 0.4);
}

.end-spacer {
    width: 10vw; 
}

/* --- STYLES SECTION TECHNOLOGIE & AR --- */
.ar-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.15), rgba(5, 150, 105, 0.15));
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover .ar-icon-wrapper {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.25);
}

/* --- LISTES & BÉNÉFICES --- */
.benefit-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blue-dot::before {
    content: ''; display: block; width: 14px; height: 14px;
    background: var(--lagoon-blue); border-radius: 50%;
}
.cyan-dot::before {
    content: ''; display: block; width: 14px; height: 14px;
    background: var(--palm-green); border-radius: 50%;
}


.blue-check::before {
    content: '✔'; color: var(--lagoon-blue); font-weight: 900; margin-right: 0.5rem;
}
.green-check::before {
    content: '✔'; color: var(--palm-green); font-weight: 900; margin-right: 0.5rem;
}

.border-blue { border-top: 5px solid var(--lagoon-blue); }
.border-cyan { border-top: 5px solid var(--palm-green); }
.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: block; /* On supprime le flex qui casse le texte en colonnes */
    position: relative;
    padding-left: 1.75rem; /* Espace pour l'icône/check */
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Positionnement de la coche ou du point en absolu pour ne pas perturber le texte */
.benefit-list li span,
.benefit-list li .blue-check,
.benefit-list li .green-check {
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
}

/* Le texte et les balises strong s'écrivent naturellement à la suite sans sauter */
.benefit-list li strong {
    font-weight: 700;
    color: var(--text-main);
}
/* --- FOOTER --- */
.footer-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--bg-alt);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.btn-primary-large {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.25rem 3.5rem;
    background: linear-gradient(135deg, var(--lagoon-blue), var(--lagoon-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.25);
    transition: transform 0.3s;
}

.btn-primary-large:hover { transform: scale(1.05); }

/* --- CARTES IMMERSION AVEC TITRE INCRUSTÉ --- */
.immersion-card {
    padding: 12px !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.immersion-card .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
}

.immersion-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.immersion-card:hover .card-img {
    transform: scale(1.05);
}

/* Le titre incrusté en haut à gauche avec découpe arrondie */
.card-tag-title {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: var(--bg-card);
    color: var(--lagoon-deep);
    font-weight: 800;
    font-size: 1.15rem;
    padding: 0.6rem 1.2rem;
    border-bottom-right-radius: 16px;
}

/* Raccords arrondis (inversed border-radius) pour l'effet onglet */
.card-tag-title::before,
.card-tag-title::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: transparent;
    pointer-events: none;
}

/* Arrondi à droite de l'onglet */
.card-tag-title::before {
    top: 0;
    right: -16px;
    border-top-left-radius: 16px;
    box-shadow: -5px -5px 0 5px var(--bg-card);
}

/* Arrondi sous l'onglet */
.card-tag-title::after {
    bottom: -16px;
    left: 0;
    border-top-left-radius: 16px;
    box-shadow: -5px -5px 0 5px var(--bg-card);
}

/* Contenu sous l'image */
.immersion-card .card-body {
    padding: 1.25rem 0.75rem 0.75rem;
    flex-grow: 1;
}

.immersion-card .card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales (1/3 chacune) */
    gap: 2rem;
    align-items: stretch; /* Même hauteur pour toutes les cartes */
}
/* --- ANIMATIONS SCROLL --- */
.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1; transform: translate(0, 0);
}

/* --- SECTION PLAN INTERACTIF --- */
.plan-interactive-canvas {
    position: relative; /* Nécessaire pour le positionnement absolu des spots */
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity; /* Pour l'animation d'apparition */
}

.plan-base-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Style commun pour les spots (Points 1 à 6) */
.spot-marker {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: var(--lagoon-blue);
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    /* Effet néon/glow cyan Argame */
    box-shadow: 0 0 15px var(--blue-glow);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* Positions absolues en % basées sur image_32.png */
.spot-1 { left: 15%; top: 35%; }
.spot-2 { left: 30%; top: 40%; }
.spot-3 { left: 48%; top: 20%; }
.spot-4 { left: 60%; top: 28%; }
.spot-5 { left: 75.5%; top: 1%; }
.spot-6 { left: 86%; top: 43%; }

/* Interactions au survol/focus */
.spot-marker:hover, .spot-marker:focus {
    transform: scale(1.15) rotate(5deg);
    background-color: var(--lagoon-deep);
    box-shadow: 0 0 25px var(--blue-glow);
    outline: none; /* Cache la bordure de focus par défaut si on a le tooltip */
}

/* --- INFOBULLES (Tooltips) EN CSS PUR --- */
.spot-marker::after {
    content: attr(data-tooltip); /* Récupère le texte de data-tooltip */
    position: absolute;
    bottom: 120%; /* Positionne au-dessus du spot */
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Centrage et décalage d'entrée */
    background-color: var(--bg-card); /* Fond semi-transparent Argame */
    backdrop-filter: blur(10px);
    color: var(--text-main);
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap; /* Empêche le retour à la ligne */
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Ne bloque pas le clic */
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Affichage du tooltip au survol/focus */
.spot-marker:hover::after, .spot-marker:focus::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0); /* Animation d'entrée douce */
}



/* --- PASSAGE EN VERTICAL SUR MOBILE --- */
@media (max-width: 968px) {
    .grid-3-col {
        grid-template-columns: 1fr; /* 1 seule colonne verticale */
        gap: 1.5rem;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .spot-marker {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    /* Ajustement tooltip pour mobile */
    .spot-marker::after {
        font-size: 0.8rem;
        padding: 8px 12px;
        white-space: normal; /* Autorise retour à la ligne si texte trop long */
        max-width: 150px;
    }
}

@media (max-width: 968px) {
    .grid-2-col { grid-template-columns: 1fr; gap: 3rem; }
    .nav-links { display: none; }
    
    .dof-fg { width: 150px; }
    .dof-mid { width: 80px; }
}

@media (max-width: 768px) {
    .horizontal-scroll-section {
        height: 180vh; 
    }
    .horizontal-track {
        gap: 1.5rem;
    }
    .activity-card {
        width: 85vw;
    }
}