/* ==========================================================================
   ESTELLE FORMATION IA — PREMIUM LIGHT DESIGN SYSTEM
   Vanilla CSS Styling (White/Slate Base, Blue & Orange Accents, Responsive)
   ========================================================================== */

/* --- DESIGN TOKENS --- */
:root {
    /* Color Palette */
    --bg-base: #f8fafc;        /* Slate 50 (light, soft background) */
    --bg-card: #ffffff;        /* Crisp white for panels */
    --surface-glass: rgba(255, 255, 255, 0.75);
    --border-glass: rgba(15, 23, 42, 0.08);
    --border-glass-hover: rgba(15, 23, 42, 0.15);

    --text-primary: #0f172a;    /* Slate 900 */
    --text-secondary: #475569;  /* Slate 600 */
    --text-muted: #64748b;      /* Slate 500 */

    --color-blue: #59af9e;      /* Soft Teal/Blue */
    --color-orange: #fc9352;    /* Soft Orange */
    --glow-blue: rgba(89, 175, 158, 0.15);
    --glow-orange: rgba(252, 147, 82, 0.15);
    --gradient-brand: linear-gradient(135deg, var(--color-blue), var(--color-orange));

    /* Typography */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Sizing & Radius */
    --radius-lg: 20px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-full: 9999px;
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- HTML & BODY RESET --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-base);
    overflow-x: hidden;
    /* Default system cursor restored */
    cursor: default;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

button {
    font: inherit;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* Slate 300 */
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue);
}

/* --- UTILITIES & LAYOUT --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    position: relative;
    z-index: 1;
}

.section {
    padding: clamp(60px, 10vh, 120px) 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(40px, 6vh, 60px);
}

.section-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-blue);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    width: 16px;
    height: 2px;
    background-color: var(--color-blue);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

h2 .gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-secondary);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-orange);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--glow-orange);
}

.btn--primary:hover {
    background: #fda76f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-orange), 0 0 30px rgba(252, 147, 82, 0.1);
}

.btn--secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-glass-hover);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.btn--secondary:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--glow-blue);
}

.btn--accent {
    background: var(--color-blue);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--glow-blue);
}

.btn--accent:hover {
    background: #71c2b1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-blue);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 15px;
}

.btn--full-width {
    width: 100%;
}

/* --- PERSISTENT BACKGROUNDS & GRAIN --- */
#ambient-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

#grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.015; /* Subtly textures the light theme */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* --- ROBOT CANVASES (ON TOP BUT TRANSPARENT) --- */
#robots {
    position: fixed;
    inset: 0;
    z-index: 10;
    /* Controlled dynamically in JS: pointer-events toggles between auto and none */
    pointer-events: none;
    width: 100%;
    height: 100%;
    opacity: 1; /* Fully visible, handled dynamically for text overlap in JS */
}
#robots.grabbing { 
    cursor: grabbing !important; 
}

#robots-ui {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    width: 100%;
    height: 100%;
    opacity: 0.9; /* Keeps text bubbles crisp and legible */
}

/* --- LOADER --- */
#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s var(--transition-smooth), visibility 0.4s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Generic hidden utility class to show/hide elements dynamically */
.hidden {
    display: none !important;
}

/* Disable interactive robots on mobile screens (max-width: 767px) */
@media (max-width: 767px) {
    #robots, #robots-ui {
        display: none !important;
    }
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: width 0.2s ease-out;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

.main-header.nav-scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.96); /* High opacity white to prevent text superposition */
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); /* Stronger shadow for premium depth and layer separation */
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-text-blue {
    color: var(--color-blue);
}

.logo-text-orange {
    color: var(--color-orange);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

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

.header-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-blue);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.phone-link:hover {
    color: var(--color-orange);
}

/* Shopping Cart Badge */
.cart-badge-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.cart-badge-link:hover {
    border-color: var(--color-blue);
    transform: scale(1.05);
}

.cart-icon {
    font-size: 16px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-orange);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px var(--glow-orange);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 22px;
    height: 18px;
    justify-content: center;
    z-index: 110;
}

.burger-line {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Open state */
.burger-btn.active .line-1 {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: var(--color-orange);
}
.burger-btn.active .line-2 {
    opacity: 0;
}
.burger-btn.active .line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: var(--color-orange);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-drawer.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.mobile-link:hover, .mobile-link.active {
    color: var(--color-blue);
    transform: scale(1.05);
}

.drawer-footer {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.phone-link-large {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-orange);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 130px;
    padding-bottom: 50px;
    position: relative;
    z-index: 3;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.hero-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-pulsing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-blue);
    box-shadow: 0 0 8px var(--color-blue);
    animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 5.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glassmorphic floating card visual */
.floating-glass-card {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(0.3deg); }
    50% { transform: translateY(-12px) rotate(-0.3deg); }
}

.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: var(--color-blue);
    filter: blur(50px);
    opacity: 0.1;
    pointer-events: none;
}

.card-inner {
    padding: clamp(20px, 3.5vw, 32px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-orange);
}

.card-status {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-blue);
}

.tech-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(89, 175, 158, 0.08), rgba(252, 147, 82, 0.08));
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-blue);
}

.tech-icon {
    width: 24px;
    height: 24px;
}

.floating-glass-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.floating-glass-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.micro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-orange);
}

.stat-lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ==========================================================================
   ACTUS / CANVA SECTION
   ========================================================================== */
.actus-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.actus-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-base);
    border-radius: var(--radius-lg);
    padding: 8px;
    border: 1px solid var(--border-glass);
}

/* ==========================================================================
   INTRODUCTION SECTION
   ========================================================================== */
.intro-section {
    background-color: var(--bg-base);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr auto 1.2fr;
    gap: clamp(20px, 4vw, 40px);
    align-items: center;
}

.intro-heading h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    line-height: 1.25;
    margin-bottom: 0;
}

.intro-divider {
    width: 1px;
    height: 80px;
    background: var(--gradient-brand);
}

.intro-content p {
    font-size: clamp(16px, 1.8vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   FORMATIONS SECTION
   ========================================================================== */
.formations-section {
    background-color: var(--bg-card);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: 28px;
}

.module-card {
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.module-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-blue);
    box-shadow: 0 10px 25px rgba(89, 175, 158, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.card-glow-layer {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    opacity: 0.03;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.module-card:hover .card-glow-layer {
    opacity: 0.08;
}

.cyan-glow {
    background: radial-gradient(circle at 100% 0%, var(--color-blue) 0%, transparent 60%);
}

.orange-glow {
    background: radial-gradient(circle at 100% 0%, var(--color-orange) 0%, transparent 60%);
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.module-num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.1);
}

.module-duration {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-blue);
    background-color: rgba(89, 175, 158, 0.06);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.module-card.orange-glow .module-duration {
    color: var(--color-orange);
    background-color: rgba(252, 147, 82, 0.06);
}

.module-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.module-summary-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    list-style: none;
}

.module-list li {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.module-list li::before {
    content: "➔";
    color: var(--color-blue);
    position: absolute;
    left: 0;
    font-size: 11px;
}

.module-card.orange-glow .module-list li::before {
    color: var(--color-orange);
}

.module-objective {
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
    line-height: 1.5;
}

/* ==========================================================================
   TARIFS & GRID SECTION
   ========================================================================== */
.tarifs-section {
    background-color: var(--bg-base);
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
}

.tarif-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.tarif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.03);
}

.tarif-card.featured {
    border-color: var(--color-orange);
    box-shadow: 0 10px 25px var(--glow-orange);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-orange);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: var(--radius-full);
}

.tarif-header {
    margin-bottom: 24px;
    text-align: center;
}

.tarif-header h3 {
    font-size: 22px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.tarif-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-prefix {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    color: var(--color-blue);
    line-height: 1;
}

.tarif-card.featured .price-amount {
    color: var(--color-orange);
}

.tarif-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
    list-style: none;
    flex-grow: 1;
}

.tarif-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
}

.feat-label {
    text-align: left;
}

.feat-val {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.feat-val small {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   SHOPPING CART (PANIER) LAYOUT
   ========================================================================== */
.cart-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-glass);
}

.cart-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
}

.cart-column-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cart-column-right {
    position: sticky;
    top: 100px;
}

.config-section {
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 32px);
}

.config-group-title {
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.config-group-title .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-blue);
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
}

.config-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.config-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.option-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.option-card:hover {
    border-color: var(--border-glass-hover);
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.option-card input[type="radio"] {
    accent-color: var(--color-orange);
    margin-top: 4px;
}

.option-content {
    display: flex;
    flex-direction: column;
}

.option-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.option-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Active Highlight option card */
.option-card.active {
    border-color: var(--color-orange);
    background-color: rgba(252, 147, 82, 0.01);
}

.option-card.active-blue {
    border-color: var(--color-blue);
    background-color: rgba(89, 175, 158, 0.01);
}

.discount-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: #22c55e; /* Green 500 */
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Number of participants selection */
.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.input-wrapper label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    width: fit-content;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--bg-card);
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: var(--bg-base);
    color: var(--color-blue);
}

.qty-input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    background: none;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input-note {
    font-size: 11px;
    color: var(--text-muted);
}

/* Cart Summary Card */
.cart-summary-card {
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 4vw, 32px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.cart-summary-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-secondary);
}

.summary-row-bold {
    font-weight: 600;
    color: var(--text-primary);
}

.summary-savings {
    color: #22c55e; /* Green */
    font-size: 13px;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background-color: var(--border-glass);
    margin: 16px 0;
}

.summary-total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.total-label {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.total-price {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-orange);
}

/* Form Styles inside Cart */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.form-input {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    width: 100%;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 8px var(--glow-blue);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--color-orange);
}

.security-label {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Warning message for Room sessions */
.reservation-warning-card {
    background-color: rgba(89, 175, 158, 0.04);
    border: 1px solid rgba(89, 175, 158, 0.15);
    border-radius: var(--radius-md);
    padding: 14px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 18px;
}

.warning-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: var(--bg-card);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-glass-hover);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-blue);
}

.faq-icon-cross {
    font-size: 20px;
    line-height: 1;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon-cross {
    transform: rotate(45deg);
    color: var(--color-orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--transition-smooth);
}

.faq-answer-inner {
    padding: 0 24px 20px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-base);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(89, 175, 158, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    flex-shrink: 0;
}

.contact-item:nth-child(2) .contact-icon {
    background-color: rgba(252, 147, 82, 0.08);
    color: var(--color-orange);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-val {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-val:hover {
    color: var(--color-blue);
}

.link-underline {
    border-bottom: 1px solid var(--color-blue);
}

/* Clean forms outside cart */
.clean-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 36px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.form-message {
    font-size: 13px;
    font-weight: 600;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d;
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #b91c1c;
}

/* Zone map inside contact */
.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.zone-info {
    display: flex;
    flex-direction: column;
}

.zone-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.zone-map-container {
    display: flex;
    justify-content: center;
}

.map-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.02);
}

.map-image {
    border-radius: var(--radius-md);
    width: 100%;
}

/* ==========================================================================
   LEGAL PAGES STRUCTURE
   ========================================================================== */
.legal-section {
    background-color: var(--bg-card);
    padding-top: 140px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
/* SumUp checkout Modal */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.payment-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.payment-modal {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: min(100%, 480px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.payment-modal-overlay.open .payment-modal {
    transform: translateY(0);
}

.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 18px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-modal-btn:hover {
    color: var(--color-orange);
    transform: scale(1.05);
}

.payment-modal-content {
    padding: clamp(24px, 4vw, 36px);
}

.payment-header {
    text-align: center;
    margin-bottom: 24px;
}

.payment-shield {
    font-size: 24px;
    display: inline-block;
    margin-bottom: 8px;
}

.payment-header h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.payment-summary-text {
    font-size: 13px;
    color: var(--text-muted);
}

.sumup-container-outer {
    background-color: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    min-height: 150px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sandbox-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 12px;
}

.sandbox-badge {
    background-color: #fef08a; /* Yellow 200 */
    color: #854d0e; /* Yellow 800 */
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 4px;
}

.sandbox-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.payment-footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* Success Ticket Modal Overlay */
.success-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.success-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.success-ticket {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    width: min(100%, 440px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    padding: clamp(24px, 4vw, 36px);
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.success-modal-overlay.open .success-ticket {
    transform: translateY(0);
}

.success-checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.success-ticket h3 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.success-ticket p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ticket-body {
    border-top: 1px dashed var(--border-glass);
    border-bottom: 1px dashed var(--border-glass);
    padding: 16px 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

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

.ticket-value {
    font-weight: 600;
    color: var(--text-primary);
}

.ticket-note {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    background-color: var(--bg-base);
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: left;
}

/* Spinner styling */
.spinner {
    animation: rotate 2s linear infinite;
}
.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}
@keyframes rotate {
    100% { transform: rotate(360deg); }
}
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ==========================================================================
   COOKIE CONSENT
   ========================================================================== */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    transform: translateY(120px);
    opacity: 0;
    transition: var(--transition-smooth);
}

#cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
}

#cookie-banner p {
    font-size: 13px;
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.site-footer {
    background-color: var(--bg-base);
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 30px;
    z-index: 2;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-blue);
    padding-left: 4px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-newsletter h4 {
    font-size: 14px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.newsletter-form input {
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    width: 100%;
}

.newsletter-form input:focus {
    border-color: var(--color-blue);
    outline: none;
    box-shadow: 0 0 0 3px var(--glow-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    .hero-info {
        align-items: center;
    }
    .hero-visual {
        order: -1; /* Display visual above on small screen */
    }
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .intro-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }
    .cart-container {
        grid-template-columns: 1fr;
    }
    .cart-column-right {
        position: static;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .zone-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .zone-info {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    .logo span {
        display: none;
    }
    .phone-link {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
        font-size: 14px;
    }
    .desktop-nav {
        display: none;
    }
    .burger-btn {
        display: flex;
    }
    .header-cta .btn {
        display: none; /* Hide primary header CTA on mobile, drawer has full links */
    }
    .modules-grid {
        grid-template-columns: 1fr;
    }
    .tarifs-grid {
        grid-template-columns: 1fr;
    }
    #cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .cookie-actions {
        justify-content: center;
    }
}
