/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
:root {
    /* Water-Themed Color Palette */
    --clr-deep-water: #0A192F;
    --clr-ocean-blue: #112240;
    --clr-aqua-light: #64FFDA;
    --clr-aqua-dark: #00B4D8;
    --clr-cyan: #00E5FF;
    --clr-white: #FFFFFF;
    --clr-text-main: #333333;
    --clr-text-light: #8892B0;
    --clr-bg-light: #F8FBFF;

    /* Gradients */
    --grad-water: linear-gradient(135deg, var(--clr-aqua-dark) 0%, var(--clr-cyan) 100%);
    --grad-dark: linear-gradient(to bottom, var(--clr-deep-water), var(--clr-ocean-blue));
    --grad-accent: linear-gradient(135deg, #FFB75E 0%, #ED8F03 100%);
    /* Orange accent for CTA */

    /* Shadows & Effects */
    --shadow-soft: 0 10px 30px -15px rgba(2, 12, 27, 0.2);
    --shadow-glow: 0 0 20px rgba(100, 255, 218, 0.4);
    --shadow-glow-cta: 0 0 30px rgba(255, 183, 94, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);

    /* Layout */
    --max-width: 1200px;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    /* Fonts */
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    background-color: var(--clr-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5 {
    color: var(--clr-deep-water);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.text-gradient {
    background: var(--grad-water);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.fa-gradient {
    background: var(--grad-water);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan {
    color: var(--clr-aqua-dark);
}

.text-white {
    color: var(--clr-white) !important;
}

.text-light {
    color: var(--clr-text-light);
}

.text-warning {
    color: #ff5252;
    font-weight: 600;
}

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

.mt-2 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--clr-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 180, 216, 0.1);
    color: var(--clr-aqua-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.badge-light {
    background: rgba(100, 255, 218, 0.1);
    color: var(--clr-aqua-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn-primary {
    background-color: var(--clr-ocean-blue);
    color: var(--clr-white);
    padding: 0.8rem 1.8rem;
    border: 2px solid transparent;
}

.btn-primary:hover {
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 34, 64, 0.3);
    border-color: var(--clr-aqua-light);
}

/* Updated Accent Button to pop more */
.btn-accent {
    background: var(--grad-accent);
    color: var(--clr-white);
    padding: 1.2rem 3rem;
    box-shadow: var(--shadow-glow-cta);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
    color: var(--clr-white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 183, 94, 0.7);
}

.btn-huge {
    font-size: 1.3rem;
    padding: 1.5rem 4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Intense Pulse Animation for Offers */
@keyframes pulseIntense {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 183, 94, 0.7);
    }

    70% {
        box-shadow: 0 0 0 25px rgba(255, 183, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 183, 94, 0);
    }
}

.pulse-anim-intense {
    animation: pulseIntense 2s infinite;
}

.pulse-hero {
    animation: pulseIntense 2.5s infinite;
}

/* ==========================================================================
   Images & Cards (Glassmorphism)
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

.glass-card {
    background: rgba(10, 25, 47, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(10, 25, 47, 0.7);
    border-color: var(--clr-aqua-light);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
    background: transparent;
}

.header.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 160px; /* Augmenté de 120px à 160px */
    border-radius: 5px;
    transition: var(--transition);
}

.header.scrolled .brand-logo {
    height: 80px;
}

.header:not(.scrolled) .nav-link {
    color: var(--clr-deep-water);
    font-weight: 600;
}

.header.scrolled .nav-link {
    color: var(--clr-white);
}

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

.nav-link {
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--grad-water);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--clr-ocean-blue);
    transition: var(--transition);
    border-radius: 3px;
}

.header.scrolled .mobile-menu-btn span {
    background: var(--clr-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 0 2rem;
    background: url('Photos/3.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(200, 240, 255, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 850px;
}

.hero-badge {
    background: var(--clr-deep-water);
    color: var(--clr-white);
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}

.hero-title {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-main);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--clr-ocean-blue);
    font-size: 2rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-20px) translateX(-50%);
    }

    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-item i {
    font-size: 1.5rem;
}

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    padding: 1rem;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--clr-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    font-weight: 700;
    color: var(--clr-ocean-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    color: var(--clr-aqua-dark);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==========================================================================
   Activities Section
   ========================================================================== */
.wave-bg {
    background: var(--clr-ocean-blue);
    position: relative;
}

.wave-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23F8FBFF" fill-opacity="1" d="M0,160L48,149.3C96,139,192,117,288,138.7C384,160,480,224,576,240C672,256,768,224,864,197.3C960,171,1056,149,1152,144C1248,139,1344,149,1392,154.7L1440,160L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>') no-repeat;
    background-size: cover;
}

.activities .section-header {
    margin-top: 4rem; /* Ajout d'espace au dessus du badge Notre Offre */
}

.activities .section-title {
    color: var(--clr-white);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.activity-card-new {
    display: flex;
    flex-direction: column;
}

.activity-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.activity-content {
    padding: 2rem;
    flex: 1;
}

.activity-content h3 {
    color: var(--clr-white);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.activity-content p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-panel {
    padding: 3rem 2.5rem;
}

.pricing-panel h3 {
    font-size: 1.8rem;
    color: var(--clr-ocean-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-info {
    font-weight: 500;
    color: var(--clr-aqua-dark);
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 180, 216, 0.2);
    padding-bottom: 1rem;
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list li strong {
    font-size: 1.3rem;
    color: var(--clr-deep-water);
}

.popular-row {
    background: rgba(0, 180, 216, 0.05);
    margin: 0 -1rem;
    padding: 1.2rem 1rem !important;
    border-radius: 8px;
    font-weight: 700;
}

.badge-mini {
    background: var(--clr-aqua-dark);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    margin-left: 10px;
    vertical-align: middle;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.photo-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
}

.photo-large {
    grid-row: span 2;
    height: 100%;
}

.img-hover-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.08);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.8), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.photo-overlay h4 {
    color: var(--clr-white);
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Offer Section
   ========================================================================== */
.offer {
    background: url('Photos/1.png') center/cover fixed;
    position: relative;
    padding: 8rem 0;
}

.offer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 25, 47, 0.8);
}

.offer-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    position: relative;
    z-index: 10;
}

.offer-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFB75E;
    /* Orange badge */
    color: var(--clr-deep-water);
    padding: 0.5rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(255, 183, 94, 0.4);
}

.offer-title {
    color: var(--clr-deep-water);
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.offer-subtitle {
    font-size: 1.2rem;
    margin: 1rem 0;
    font-weight: 500;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    background: rgba(100, 255, 218, 0.1);
    padding: 1rem;
    border-radius: 20px;
    border: 1px dashed var(--clr-aqua-dark);
}

.price-old {
    font-size: 2rem;
    color: #a0a0a0;
    text-decoration: line-through;
    font-weight: 700;
}

.price-new {
    font-size: 3.5rem;
    color: var(--clr-aqua-dark);
    font-weight: 800;
    line-height: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--clr-ocean-blue);
    padding: 4rem 0 2rem;
    color: var(--clr-text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 4rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--clr-aqua-light);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
}

.social-links a:hover {
    background: var(--clr-aqua-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Recovery & Bienveillance
   ========================================================================== */
.recovery-image .img-wrapper img {
    border-radius: 16px;
    width: 100%;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-deep-water);
    line-height: 1;
}

.stars {
    font-size: 1.5rem;
    color: #FFB75E;
    /* Orange stars */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--clr-aqua-dark);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.review-author {
    border-top: 2px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    font-weight: 700;
    color: var(--clr-ocean-blue);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-item summary {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--clr-ocean-blue);
    position: relative;
    list-style: none;
    /* Hide default arrow */
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    /* FontAwesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--clr-aqua-dark);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--clr-text-main);
    line-height: 1.6;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ==========================================================================
   Animations & Responsive
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (max-width: 992px) {

    .grid-2-col,
    .footer-grid,
    .pricing-tabs {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .photo-large {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 80px;
    }

    .header.scrolled .brand-logo {
        height: 60px;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .scroll-indicator {
        display: none;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--clr-ocean-blue);
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active .nav-link {
        color: var(--clr-white);
        font-size: 1.2rem;
        padding: 0.5rem 0;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .btn-huge {
        font-size: 1rem;
        padding: 1.2rem 2rem;
    }
}