/* ==========================================================================
   DESIGN SYSTEM - AURÉLIE THÉRAPIE
   ========================================================================== */

/* 1. VARIABLES & CONSTANTS */
:root {
    /* Color Palette */
    --color-teal: #008AAD;
    --color-teal-light: rgba(0, 138, 173, 0.08);
    --color-teal-hover: #00708c;
    --color-gold: #fed047;
    --color-gold-light: rgba(254, 208, 71, 0.15);
    --color-gold-hover: #e0b430;
    --color-sand: #f3f1e8;
    --color-bg-light: #f9f9fb;
    --color-white: #ffffff;
    --color-dark: #212326;
    --color-dark-muted: #434549;
    --color-border: #e6e5df;
    
    /* Premium Gradients */
    --gradient-teal-blue: linear-gradient(135deg, #008AAD 0%, #00607a 100%);
    --gradient-warm-blue: linear-gradient(135deg, rgba(0, 138, 173, 0.06) 0%, rgba(254, 208, 71, 0.08) 50%, rgba(243, 241, 232, 0.55) 100%);
    --gradient-soft-blue: linear-gradient(180deg, rgba(0, 138, 173, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
    
    /* Semantic Colors */
    --color-success: #2ecc71;
    --color-warning: #f1c40f;
    --color-danger: #e74c3c;

    /* Typography */
    --font-headings: 'Lora', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 6px;
    
    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* 2. RESET & BASE STYLES */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-dark-muted);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 15px;
}

h2.centered {
    text-align: center;
}

h2.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

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

a:hover {
    color: var(--color-teal-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

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

.section-sand {
    background-color: var(--color-sand);
}

/* 3. BUTTONS & UI COMPONENTS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap; /* Prevent button text wrapping */
}

.btn-primary {
    background: var(--gradient-teal-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00708c 0%, #004b5c 100%);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 138, 173, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
}

.btn-secondary:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.btn-gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(254, 208, 71, 0.4);
}

.cta-btn {
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background-color: rgba(46, 204, 113, 0.15);
    color: var(--color-success);
}

.badge-warning {
    background-color: rgba(241, 196, 15, 0.15);
    color: var(--color-warning);
}

.badge-danger {
    background-color: rgba(231, 76, 60, 0.15);
    color: var(--color-danger);
}

/* 4. HEADER & TOP BAR */
.top-bar {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item a {
    color: var(--color-dark-muted);
}

.contact-item a:hover {
    color: var(--color-teal);
}

.top-bar-right .social-links {
    display: flex;
    gap: 16px;
}

.top-bar-right .social-links a {
    color: var(--color-dark-muted);
}

.top-bar-right .social-links a:hover {
    color: var(--color-teal);
}

.main-header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

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

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-headings);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-teal);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--color-dark-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 4px; /* Reduced gap from 8px */
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 12px; /* Reduced padding from 10px 16px */
    color: var(--color-dark);
    font-size: 0.98rem; /* Slightly reduced font size to fit on PC screen */
    font-weight: 500;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap; /* Prevent menu text wrapping */
}

.nav-link:hover, .nav-link.active {
    color: var(--color-teal);
    background-color: var(--color-bg-light);
}

.nav-btn {
    background: var(--gradient-teal-blue);
    color: var(--color-white) !important;
    border-radius: 25px;
    padding: 8px 18px; /* Reduced padding */
    margin-left: 5px; /* Reduced margin */
    white-space: nowrap; /* Prevent Prendre RDV button text wrapping */
}

.nav-btn:hover, .nav-btn.active {
    background: linear-gradient(135deg, #00708c 0%, #004b5c 100%);
    color: var(--color-white) !important;
}

/* Dropdown Menu */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown li a:hover, .dropdown li a.active {
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    padding-left: 25px;
}

/* 5. FOOTER */
.site-footer {
    background-color: #1a1c1e;
    color: #a4a7ab;
    border-top: 5px solid var(--color-teal);
}

.footer-widgets {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.25fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-teal);
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    border-radius: 0;
    filter: brightness(0.9) contrast(1.1);
}

.footer-logo-text {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #2b2e31;
    color: var(--color-white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-teal);
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a4a7ab;
    font-size: 0.95rem;
    display: inline-block;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-teal);
    transform: translateX(4px);
}

.footer-links.font-small a {
    font-size: 0.85rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-teal);
}

.footer-contact a {
    color: #a4a7ab;
}

.footer-contact a:hover {
    color: var(--color-teal);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-bottom {
    background-color: #111314;
    padding: 25px 0;
    border-top: 1px solid #2b2e31;
    font-size: 0.9rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin-bottom: 0;
}

.credits {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: #65686b;
}

/* 6. LANDING / HOME PAGE STYLES */
/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: var(--gradient-warm-blue);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-teal);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-dark);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    border: 8px solid var(--color-white);
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover .hero-image {
    transform: rotate(0deg) scale(1.02);
}

.hero-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-gold);
    color: var(--color-dark);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Feature Cards Grid (Home / Services) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    padding: 40px 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-teal);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-teal);
    color: var(--color-white);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.98rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.feature-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-teal);
}

.feature-link svg {
    transition: var(--transition);
}

.feature-card:hover .feature-link svg {
    transform: translateX(4px);
}

/* Presentation / Intro Block */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.intro-image-wrapper {
    position: relative;
}

.intro-image {
    width: 100%;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--color-white);
}

.intro-image-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: var(--color-teal);
    color: var(--color-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}

.intro-content h3 {
    color: var(--color-teal);
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.intro-content h2 {
    margin-bottom: 25px;
}

.intro-text-highlight {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 20px;
}

/* Testimonials Carousel Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--color-sand);
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 10px;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 50px 40px;
    position: relative;
    text-align: center;
    border: 1px solid var(--color-border);
}

.testimonial-quote-icon {
    position: absolute;
    top: 30px;
    left: 40px;
    color: rgba(254, 208, 71, 0.2);
    font-size: 6rem;
    font-family: Georgia, serif;
    line-height: 0;
    pointer-events: none;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-teal-light);
    color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-author-info {
    text-align: left;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1rem;
}

.testimonial-meta {
    font-size: 0.85rem;
    color: var(--color-dark-muted);
}

/* Carousel Controls */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background-color: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}

.carousel-nav-prev {
    left: -60px;
}

.carousel-nav-next {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #cbd3d6;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--color-teal);
    width: 24px;
    border-radius: 10px;
}

/* 7. INNER PAGES SPECIFIC STYLES */
.page-banner {
    padding: 60px 0;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.page-banner h1 {
    margin-bottom: 10px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--color-dark-muted);
}

.breadcrumbs a {
    color: var(--color-dark-muted);
}

.breadcrumbs a:hover {
    color: var(--color-teal);
}

.breadcrumbs span {
    margin: 0 8px;
    color: #cbd3d6;
}

/* Standard Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-teal);
    padding-bottom: 8px;
}

/* Interactive Pricing Grids */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
    content: 'Recommandé';
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--color-gold);
    color: var(--color-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 35px;
    transform: rotate(45deg);
}

.pricing-card-header {
    margin-bottom: 25px;
}

.pricing-name {
    font-size: 1.3rem;
    font-family: var(--font-headings);
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.pricing-category {
    font-size: 0.9rem;
    color: var(--color-dark-muted);
}

.pricing-value-wrapper {
    display: flex;
    align-items: baseline;
    margin: 20px 0;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-teal);
    line-height: 1;
}

.pricing-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-teal);
    margin-left: 2px;
}

.pricing-duration {
    font-size: 0.95rem;
    color: var(--color-dark-muted);
    margin-left: 10px;
}

.pricing-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Dates Schedule List for Constellations */
.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.schedule-row {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.schedule-row:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-sm);
}

.schedule-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.schedule-date-wrapper {
    display: flex;
    flex-direction: column;
}

.schedule-date {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-dark);
}

.schedule-time {
    font-size: 0.9rem;
    color: var(--color-dark-muted);
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.schedule-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 8. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .carousel-nav-prev {
        left: -20px;
    }
    
    .carousel-nav-next {
        right: -20px;
    }
}

@media (max-width: 1180px) {
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    /* Navigation */
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 91px;
        left: 0;
        width: 100%;
        height: calc(100vh - 91px);
        background-color: var(--color-white);
        z-index: 1000;
        box-shadow: var(--shadow-md);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 30px;
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-link {
        padding: 16px 20px;
        border-radius: 0;
        font-size: 1.15rem;
    }
    
    .nav-link:hover, .nav-link.active {
        background-color: var(--color-bg-light);
        padding-left: 25px;
    }
    
    .nav-btn {
        margin: 20px 20px 0;
        text-align: center;
        border-radius: 25px;
    }
    
    /* Dropdown inside Mobile Navigation */
    .dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--color-bg-light);
        padding: 0;
        display: none;
    }
    
    .has-dropdown.active .dropdown {
        display: block;
    }
    
    .dropdown li a {
        padding: 12px 35px;
    }
      /* Layouts */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-badge {
        left: 20px;
    }
    
    .intro-image-badge {
        right: 20px; /* Safe inset margin on mobile */
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}
 
@media (max-width: 768px) {
    h1 {
        font-size: 2.1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        display: none;
    }
    
    /* Sleek Mobile Header Layout to prevent content overlap and wrapping */
    .header-container {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-img {
        height: 44px;
    }
    
    .logo-title {
        font-size: 1.25rem;
    }
    
    /* Align Mobile Navigation opening with the compact header bottom */
    .main-nav {
        top: 64px;
        height: calc(100vh - 64px);
    }
    
    /* Compact mobile paddings to fit layout beautifully */
    .hero {
        padding: 80px 0 50px;
    }
    
    .page-banner {
        padding: 40px 0;
    }
    
    /* Hide Carousel Arrows on mobile (swiping is preferred) */
    .carousel-nav-btn {
        display: none !important;
    }
    
    /* General buttons wrap to prevent off-screen text cuts */
    .btn {
        white-space: normal !important;
        text-align: center;
        line-height: 1.4;
    }

    /* Stacking Hero buttons on tablets & mobile screens */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Rendering badges statically below the centered images to avoid overlapping and cutoffs */
    .hero-image-badge {
        position: static;
        margin: 30px auto 0;
        transform: none;
        width: max-content;
        display: block;
        text-align: center;
    }
    
    .intro-image-badge {
        position: static;
        margin: 20px auto 0;
        width: max-content;
        display: block;
        text-align: center;
    }
    
    /* Large CTA button sizing overrides */
    .cta-btn {
        font-size: 1rem !important;
        padding: 12px 24px !important;
        width: 100%;
        display: inline-flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .schedule-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .schedule-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


/* ==========================================================================
   PREMIUM IMAGE INTERACTIONS & TRANSITIONS
   ========================================================================== */
.main-content img, 
.sidebar img, 
.hero-image-wrapper img, 
.intro-image-wrapper img, 
.feature-card img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                filter 0.6s ease;
    cursor: pointer;
}

.main-content img:hover, 
.sidebar img:hover, 
.hero-image-wrapper img:hover, 
.intro-image-wrapper img:hover, 
.feature-card img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 138, 173, 0.18);
    filter: brightness(1.03);
}

/* Testimonial Card Hover Lift */
.testimonial-card-full {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                border-color 0.4s ease;
}

.testimonial-card-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 138, 173, 0.08);
    border-color: var(--color-teal) !important;
}


/* ==========================================================================
   GDPR COOKIE CONSENT BANNER (SLIDE-IN GLASSMORPHIC PANEL)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -300px; /* Cache au départ */
    right: 24px;
    width: calc(100% - 48px);
    max-width: 480px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 138, 173, 0.15);
    padding: 24px;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.6s cubic-bezier(0.165, 0.84, 0.44, 1),
                bottom 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cookie-banner.show {
    bottom: 24px;
    opacity: 1;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: -400px;
        right: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        padding: 20px;
    }
    .cookie-banner.show {
        bottom: 0;
    }
}

.cookie-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--color-teal);
}

.cookie-header h3 {
    font-family: var(--font-headings);
    font-size: 1.15rem;
    font-weight: 700;
}

.cookie-desc {
    font-size: 0.85rem;
    color: var(--color-dark-muted);
    line-height: 1.5;
    margin-bottom: 18px;
}

.cookie-desc a {
    color: var(--color-teal);
    text-decoration: underline;
    font-weight: 600;
}

/* Actions Buttons */
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-cookie {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 20px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie-accept {
    background-color: var(--color-teal);
    color: var(--color-white);
    box-shadow: 0 2px 6px rgba(0, 138, 173, 0.15);
}

.btn-cookie-accept:hover {
    background-color: var(--color-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 138, 173, 0.25);
}

.btn-cookie-decline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-dark-muted);
}

.btn-cookie-decline:hover {
    border-color: var(--color-danger);
    color: var(--color-danger);
    background-color: rgba(231, 76, 60, 0.04);
}

.btn-cookie-customize {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-dark-muted);
}

.btn-cookie-customize:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background-color: var(--color-teal-light);
}

.btn-cookie-save {
    background-color: var(--color-gold);
    color: var(--color-dark);
    box-shadow: 0 2px 6px rgba(254, 208, 71, 0.15);
}

.btn-cookie-save:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(254, 208, 71, 0.25);
}

/* Preferences Panels */
.cookie-preferences {
    background-color: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.pref-info {
    flex: 1;
}

.pref-info strong {
    font-size: 0.82rem;
    display: block;
    color: var(--color-dark);
}

.pref-info p {
    font-size: 0.72rem;
    color: var(--color-dark-muted);
    line-height: 1.35;
}

/* Custom Premium Switches */
.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-teal);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--color-teal);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

input:disabled + .slider {
    background-color: #cbd5e0;
    opacity: 0.6;
    cursor: not-allowed;
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}


