/* ==========================================
   TARENTAISE VERTICALE - ULTRA MODERN CSS
   ========================================== */

/* === FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS VARIABLES === */
:root {
    /* Colors - Logo Inspired */
    --color-primary: #546E7A;
    /* Bleu-Gris (au lieu de #1E56A0) */
    --color-secondary: #F4F1EA;
    --color-accent: #D62828;
    /* Logo Red */
    --color-white: #FFFFFF;
    --color-text: #2C3E50;
    --color-text-light: #7F8C8D;
    --color-black: #1A1A1A;
    /* Logo Black */

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #546E7A 0%, #607D8B 100%);
    --gradient-section: linear-gradient(180deg, #F4F1EA 0%, rgba(244, 241, 234, 0.5) 100%);
    --gradient-title: linear-gradient(135deg, #546E7A 0%, #D62828 100%);
    /* Blue-Grey to Red */
    --texture-gradient: linear-gradient(135deg, rgba(52, 56, 68, 0.03) 0%, rgba(52, 56, 68, 0.06) 100%);

    /* Shadows */
    --shadow-base: rgba(0, 0, 0, 0.55);
    /* This was not in the instruction, keeping it as it's used below */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(217, 119, 42, 0.4);
    --shadow-red: 0 4px 16px rgba(222, 11, 25, 0.35);
    /* This was not in the instruction, keeping it as it's used below */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --spacing-xl: 8rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
    :root {
        --color-secondary: #1a1a1a;
        --color-white: #0B1B2B;
        --color-text: #E5E5E5;
        --color-text-light: #A0A0A0;
    }
}

body.dark-mode {
    --color-secondary: #1a1a1a;
    --color-white: #0B1B2B;
    --color-text: #E5E5E5;
    --color-text-light: #A0A0A0;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* === INTRO OVERLAY (NOUVEAU) === */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0B1B2B;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.intro-video-container video {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 50px rgba(217, 119, 42, 0.2);
}

.skip-intro {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    color: white;
    font-size: 1.1rem;
    opacity: 0.7;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    z-index: 10000;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
}

.skip-intro:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

/* === HEADER (STICKY + SCROLL EFFECTS) === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.3rem 0;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-md);
    padding: 0.2rem 0;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }
}

.logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    mix-blend-mode: multiply;
    background: transparent;
    margin-left: -20px;
    max-width: 100%;
}

.header.scrolled .logo {
    height: 90px;
    width: auto;
    margin-left: -15px;
}

.nav {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav a {
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #1A1A1A;
    /* NOIR au lieu de bleu-gris */
    transition: all var(--transition-normal);
    padding: 0.5rem 0;
}

.header.scrolled .nav a {
    color: #1A1A1A;
    /* NOIR */
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(217, 119, 42, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 35px;
    height: 4px;
    background: var(--color-primary);
    /* COULEUR FONCÉE PERMANENTE */
    border-radius: 4px;
    transition: all var(--transition-normal);
}

.header.scrolled .menu-toggle span {
    background: var(--color-primary);
}

/* === DARK MODE TOGGLE === */
.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    width: 56px;
    height: 30px;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dark-mode-toggle::before {
    content: '🌙';
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    font-size: 16px;
    transition: all var(--transition-normal);
}

body.dark-mode .dark-mode-toggle::before {
    content: '☀️';
    left: 28px;
}

.header.scrolled .dark-mode-toggle {
    background: rgba(11, 27, 43, 0.05);
    border: 2px solid rgba(11, 27, 43, 0.1);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 180px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/hero-pattern.svg') repeat;
    opacity: 0.03;
    animation: patternMove 60s linear infinite;
}

@keyframes redGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Plus de place pour le texte */
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--color-accent);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(-100px);
    /* DÉMARRE EN HAUT */
    animation: slideDownVertical 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.3s;
    /* Animation verticale avec bounce */
    text-shadow: none;
}

/* Animation de descente verticale (comme un rappel) */
@keyframes slideDownVertical {
    0% {
        opacity: 0;
        transform: translateY(-100px);
        /* Part du haut */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* Arrive à sa position */
    }
}

/* Slogan sous le titre */
.hero-content .slogan {
    font-size: clamp(2rem, 4vw, 2.5rem);
    /* PLUS GROS pour plus d'impact */
    font-weight: 700;
    /* GRAS pour importance */
    color: #1A1A1A;
    /* NOIR élégant au lieu de rouge */
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.8s;
    /* Apparaît après le titre */
    letter-spacing: 1px;
    /* Espacement pour lisibilité */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* Ombre très subtile */
    line-height: 1.3;
    /* Meilleur espacement des lignes */
}

.hero-content p {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.7s;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.9s;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* === LOGO VIDEO CONTAINER (HERO) === */
.hero-video {
    position: relative;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.1s;
    perspective: 1000px;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) rotateY(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotateY(0);
    }
}

.video-container {
    position: relative;
    width: 650px;
    /* ENCORE PLUS GRAND pour voir le nom complet */
    height: 650px;
    margin: 0 auto;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border: 4px solid rgba(217, 119, 42, 0.4);
    background: rgba(255, 255, 255, 1);
    /* FOND BLANC OPAQUE */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

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

.video-container video,
.video-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contient tout le logo sans coupure */
    transform: scale(0.9);
    /* Réduit légèrement pour voir le nom complet */
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    /* Boutons plus gros */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.5s;
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0) skewX(-15deg);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(214, 40, 40, 0.4);
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(214, 40, 40, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* === SECTION STYLES === */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: var(--gradient-section);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(217, 119, 42, 0.1);
    border-radius: var(--radius-full);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-description {
    font-size: 1.4rem;
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* === SERVICE CARDS === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Cartes plus adaptées au mobile */
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(217, 119, 42, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(217, 119, 42, 0.3);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-title);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 20px rgba(214, 40, 40, 0.3);
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(214, 40, 40, 0.4);
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 500;
}

.service-feature::before {
    content: '✓';
    color: var(--color-white);
    background: var(--color-accent);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 900;
}

/* === PROCESS SECTION (01 / 02 / 03) === */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.process-step {
    position: relative;
    padding: 3rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.process-number {
    font-size: 5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.process-step:hover .process-number {
    opacity: 1;
    color: rgba(217, 119, 42, 0.1);
}

.process-step h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* === CLIENTS / TRUST SECTION === */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.client-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 2rem 3rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    opacity: 0.7;
}

.client-name:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
    opacity: 1;
    color: var(--color-accent);
}

/* === REALIZATIONS GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.gallery-item {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-images {
    position: relative;
    height: 400px;
    /* Plus haut */
    overflow: hidden;
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: ew-resize;
}

.before-after-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.after-image {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease-out;
    /* Plus réactif */
}

.slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-accent);
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-handle::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-accent);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-info {
    padding: 2.5rem;
}

.gallery-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.gallery-info .meta {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-info p {
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1.1rem;
}

/* === CTA BANNER === */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary), #607D8B);
    color: var(--color-white);
    padding: 6rem 3rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(217, 119, 42, 0.2) 0%, transparent 70%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === FOOTER === */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0 3rem;
    border-top: 5px solid var(--color-accent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.info-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-title);
    border-radius: var(--radius-md);
    color: white;
    box-shadow: 0 8px 16px rgba(214, 40, 40, 0.25);
}

.info-icon svg {
    width: 35px;
    height: 35px;
    stroke: white;
}

.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: var(--gradient-title);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
}

.form-header {
    margin-bottom: 2rem;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.1) 0%, rgba(84, 110, 122, 0.1) 100%);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid rgba(214, 40, 40, 0.2);
    transition: all 0.3s ease;
}

.benefit-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(214, 40, 40, 0.2);
}

.benefit-badge svg {
    stroke: var(--color-accent);
}

.contact-form {
    padding: 3.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

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

    .video-container {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, #546E7A 0%, #607D8B 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 3rem 2rem;
        gap: 3.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav a {
        font-size: 2rem;
        /* TEXTE PLUS GROS */
        font-weight: 700;
        /* GRAS pour meilleure lecture */
        color: #FFFFFF;
        /* BLANC PUR pour contraste maximum */
        text-align: center;
        padding: 1.2rem 2.5rem;
        /* Zones de toucher plus grandes */
        min-height: 65px;
        /* Minimum 65px pour faciliter le tap */
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-md);
        transition: all 0.3s ease;
        position: relative;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        /* Ombre pour meilleure lisibilité */
        letter-spacing: 0.5px;
        /* Espacement des lettres */
    }

    .nav a:hover,
    .nav a:active {
        background: rgba(255, 255, 255, 0.2);
        color: #FFFFFF;
        transform: translateX(10px) scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
        text-shadow: none;
    }

    .nav a::after {
        display: none;
        /* Cache le soulignement sur mobile */
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .video-container {
        width: 280px;
        height: 280px;
        margin-top: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .hero {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section {
        padding: 3rem 0;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section a:hover {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .video-container {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-icon {
        margin: 0 auto;
    }

    .benefit-badge {
        flex: 1 1 100%;
        justify-content: center;
    }

    .process-step {
        padding: 2rem;
    }

    .gallery-images {
        height: 280px;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

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

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

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

/* === FORM SUCCESS MESSAGE === */
.form-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius-sm);

    /* Hidden state */
    height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success.show {
    height: auto;
    padding: 1rem;
    margin-top: 1rem;
    opacity: 1;
    visibility: visible;
}