/* ================================================================================================== */
/* BÈU STUDIO - STYLESHEET ORGANISÉ                                                                  */
/* ================================================================================================== */

/* ============================== */
/* 1. FONTS (@font-face)          */
/* ============================== */

@font-face {
    font-family: 'Gliker';
    src: url('../assets/fonts/fonts-title/Gliker-RegularCondensed.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gliker';
    src: url('../assets/fonts/fonts-title/Gliker-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gliker';
    src: url('../assets/fonts/fonts-title/Gliker-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gliker';
    src: url('../assets/fonts/fonts-title/Gliker-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Les polices Google Fonts sont maintenant importées dans le HTML (Inter et Outfit) */

/* ============================== */
/* 2. VARIABLES CSS (:root)       */
/* ============================== */

:root {
    /* Couleurs principales */
    --color-brand: #D97757; /* Terracotta - Couleur principale de la marque */
    --color-surface-light: #F5F3ED; /* Gris beige chaleureux - Fond alternatif */
    --color-text-muted: #666666; /* Gris - Texte secondaire */
    --color-surface: #FAF9F5; /* Blanc cassé - Fond principal */
    --color-text: #1f1235; /* Violet foncé - Texte principal */
    
    /* Variables pour les gradients */
    --gradient-brand: 217, 119, 87; /* Terracotta en RGB pour les gradients */
    
    /* Typographie */
    --font-title: 'Outfit', sans-serif;
    --font-text: 'Inter', sans-serif;
    --font-lovelace: 'Inter', sans-serif;
    --font-logo: 'Gliker', sans-serif; /* Uniquement pour Bèu Studio */
    
    /* Espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    
    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

/* 
=== HIÉRARCHIE Z-INDEX ===
Niveau 1 (z-index: 1-9)    : Éléments de base, arrière-plan
Niveau 2 (z-index: 10-99)  : Contenu principal, sections
Niveau 3 (z-index: 100-199): Éléments interactifs, sliders
Niveau 4 (z-index: 200-299): Navigation, boutons, indicateurs
Niveau 5 (z-index: 300+)   : Modales, overlays, éléments critiques
*/

/* ============================== */
/* 3. RESET ET BASE              */
/* ============================== */

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

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--color-text-muted);
    background-color: #FAF9F5;
    position: relative;
    z-index: 0;
}

h2, p {
    font-family: var(--font-lovelace);
}

/* h2 uniquement en Lovelace */
h2 {
    font-family: var(--font-lovelace);
}

/* p en hérite la police du body */
p {
    font-family: inherit;
}

/* ============================== */
/* 4. COMPOSANTS GLOBAUX          */
/* ============================== */

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

/* Sections génériques */
section {
    padding: 4rem 2rem;
}

/* Animation des mots */
.animated-word {
    position: relative;
    display: inline-block;
    height: 1.4em;
    vertical-align: bottom;
    overflow: hidden;
}

.word-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.word-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transform: translateY(100%);
    opacity: 0;
    line-height: 1.2;
}

.word-item.active {
    transform: translateY(0);
    opacity: 1;
}

/* Couleurs spécifiques pour les mots animés */
#action-word .word-item,
#quality-word .word-item {
    color: var(--color-brand);
}

/* Effet de surlignement brand */
.highlight-brand {
    position: relative;
    display: inline-block;
}

.highlight-brand::after {
    border-radius: 9%;
    content: '';
    position: absolute;
    top: 0.2em;
    left: 0;
    right: 0;
    height: 1em;
    background-color: #E3DACC;
    opacity: 1;
    z-index: -1;
}

/* Variante spécifique pour la section why-choose */
.why-choose-section .highlight-brand::after {
    background-color: #FAF9F5;
    opacity: 0.5;
}

.highlight-accent {
    background: var(--color-text);
    padding: 0.1em 0.3em;
    border-radius: 0.3em;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* ============================== */
/* 5. HEADER/NAVIGATION           */
/* ============================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--color-surface);
    border-radius: 2.5rem;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
    padding: 0.5rem 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: min(1300px, calc(100vw - 4rem));
    min-height: 56px;
    gap: 1rem;
    position: fixed;
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar__logo {
    color: var(--color-text);
    font-family: var(--font-logo);
    font-size: 0rem;
    font-weight: 700;
    border-radius: 2rem;
    letter-spacing: 0.05em;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__links a {
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.navbar__links a:hover {
    color: var(--color-brand);
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--color-brand);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--color-surface);
    color: var(--color-brand);
}

/* Navbar CTA utilise maintenant le style btn-3 */
.navbar__cta {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #141413;
    color: #FFFFFF;
    border-radius: 10rem;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px 12px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s;
}

.navbar__cta .button__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: #141413;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.navbar__cta:hover {
    background-color: var(--color-brand);
}

.navbar__cta:hover .button__icon-wrapper {
    color: var(--color-brand);
}

.navbar__cta .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.navbar__cta:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.navbar__cta:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* ============================== */
/* 6. HERO SECTION               */
/* ============================== */

.hero {
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    padding: 4rem 0 2rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 7rem 2rem 0rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-image {
    width: 100%;
    max-width: 478px;
    height: auto;
    aspect-ratio: 478/472;
    object-fit: cover;
    border-radius: 20px;
}

.hero-scroll-btn {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 112px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--color-brand);
    border: 16px solid #FAF9F5;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-scroll-btn:hover {
    opacity: 0.9;
}

.hero-scroll-btn svg {
    width: 28px;
    height: 28px;
}

.hero-title {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 62px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-align: left;
    margin: 0;
}

.hero-title .hero-beu {
    display: inline;
}

.hero h1, .hero h2, .cta-reserver {
    position: relative;
    z-index: 2;
}

.hero-beu {
    color: var(--color-brand);
    font-family: var(--font-logo) !important;
    font-weight: 700;
}

.hero h2 {
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 0;
    text-align: left;
    line-height: 1.7;
    max-width: 500px;
}

/* Hero CTA Container */
.hero-cta {
    margin: 3.5rem 0 0 0;
    display: flex;
    justify-content: flex-start;
}

/* Nouvel encadré avec animation */
.hero-animated-box {
    background: #E3DACC;
    border-radius: 20px;
    padding: 2.5rem;
    margin: 11rem auto 3rem auto;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-text {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.3em;
}

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


/* ============================== */
/* 7. SECTIONS PRINCIPALES        */
/* ============================== */

/* ---- Section Timeline Horizontale avec scroll ---- */

.timeline-section {
    overflow-x: hidden;
    position: relative;
    width: 100%;
    background: #F5F3ED;
    padding: 8rem 0 0 0;
}

.timeline-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
}

.timeline-section .section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    margin: 0 0 3rem 0;
    line-height: 1;
}

.timeline-wrapper {
    overflow-x: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
}

.timeline-wrapper:active {
    cursor: grabbing;
}

.timeline-container {
    display: flex;
    width: 500vw; /* 5 sections × 100vw */
}

/* Barre de progression SVG */
.timeline-progress-svg {
    position: absolute;
    top: 20vh; /* Plus bas, au niveau du contenu */
    left: 19vw; /* Plus à gauche, aligné avec le texte */
    width: 75vw; /* Légèrement plus large pour compenser */
    z-index: 10;
}

/* Points de timeline */
.timeline-point {
    opacity: 0;
    transition: opacity 0.15s ease-out; /* Transition plus rapide et moins smooth */
}

.timeline-point.active {
    opacity: 1;
}

/* Ligne de progression */
.timeline-line-progress {
    transition: all 0.5s ease;
}

/* Sections de timeline */
.timeline-step {
    width: 100%;
    padding: 15vh 10vw 15vh 15vw; /* Garde le padding mais plus spécifique */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.timeline-step:nth-child(1) {
    background: var(--color-surface);
}

.timeline-step:nth-child(2) {
    background: var(--color-surface-light);
}

.timeline-step:nth-child(3) {
    background: var(--color-surface);
}

.timeline-step:nth-child(4) {
    background: var(--color-surface-light);
}

.timeline-step:nth-child(5) {
    background: var(--color-surface);
}

.step-number {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-brand);
    margin: 0 0 1rem 0;
    display: block;
    opacity: 1;
}

.timeline-step h3 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    opacity: 1;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 60vw;
}

.step-content p {
    font-family: var(--font-text);
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.9;
    margin: 0;
}

/* Bouton CTA Timeline - positionné comme dans l'ancienne approach section */
.timeline-cta-wrapper {
    position: absolute;
    bottom: 12rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
}

.timeline-cta-wrapper.visible {
    opacity: 1;
}

.timeline-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--color-brand);
    color: white;
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.timeline-cta-btn:hover {
    background: #141413;
    color: white;
    transform: translateX(5px);
}

.timeline-cta-btn .cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.timeline-cta-btn:hover .cta-arrow {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-step {
        padding: 15vw 5vw;
    }

    .timeline-progress-svg {
        top: 15vh; /* Adapté pour mobile */
        left: 5vw; /* Plus à gauche sur mobile */
        width: 85vw; /* Plus large sur mobile */
    }

    .step-content {
        max-width: 90vw;
        gap: 1rem;
    }

    .step-content p {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }

    .timeline-step h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }

    .step-number {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
}

/* ---- Section Nos projets ---- */

.projects-section {
    width: 100%;
    min-height: 100vh;
    background: #FAF9F5;
    position: relative;
    overflow: visible;
    z-index: 10;
    padding: 3rem 0 12rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex-shrink: 0;
}

.section-subtitle {
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    margin: 0 0 1rem 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    margin: 0 0 1.5rem 0;
    line-height: 1;
}

/* Nouveau slider moderne et contenu */
.modern-projects-slider {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto;
    background: var(--color-surface);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.slider-viewport {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Project cards */
.project-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(100%);
}

.project-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.project-card.prev {
    transform: translateX(-100%);
}

.project-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay avec détails du projet */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
        rgba(20, 20, 19, 0.95) 0%,
        rgba(20, 20, 19, 0.8) 40%,
        rgba(20, 20, 19, 0.4) 70%,
        transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay,
.project-card.active .project-overlay {
    opacity: 1;
}

.project-details {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-details,
.project-card.active .project-details {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    font-family: var(--font-text);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.project-name {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.project-name a:hover {
    text-decoration: underline;
}

.project-description {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.project-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(217, 119, 87, 0.2);
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    border-radius: 2rem;
    font-family: var(--font-text);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 2px solid var(--color-brand);
    color: var(--color-brand);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: var(--color-brand);
    color: white;
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: rgba(31, 18, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-brand);
    transform: scale(1.3);
}

.dot:hover {
    background: rgba(217, 119, 87, 0.7);
}


/* Projects CTA */
.projects-cta {
    position: absolute;
    margin-top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
}


/* ---- Section Nos Services ---- */

.our-services {
    background: var(--color-surface);
    width: 100%;
    padding: 8rem 0 4rem 0;
}

.our-services .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 5rem;
}

.services-left {
    flex: 1;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: sticky;
    top: 200px;
    height: fit-content;
}

.services-tagline {
    font-family: var(--font-title);
    font-size: 80px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0 0 1rem 0;
}

.services-tagline span {
    transition: color 0.5s ease;
    color: var(--color-text);
}

.services-tagline span.active {
    color: var(--color-brand); /* Couleur corail */
}

.services-subtitle {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 3rem 0;
}

.services-cta {
    margin: 0;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #141413;
    padding: 0.8rem 2rem;
    border: 2px solid #141413;
    border-radius: 2rem;
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-cta-btn:hover {
    background: #141413;
    color: var(--color-surface);
}

.services-cards {
    flex: 1;
    position: relative;
    max-width: 565px;
    height: 160vh; /* Hauteur réduite pour optimiser l'espace */
    perspective: 1000px; /* Ajouter de la perspective pour l'effet 3D */
}

.service-card {
    background: var(--color-surface);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(31, 18, 53, 0.08);
    border: 1px solid rgba(31, 18, 53, 0.05);
    text-align: left;
    width: 565px;
    height: 525px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 150px; /* Position plus centrée */
    transform-origin: center center;
}

.service-card:nth-child(1) {
    z-index: 10;
}

.service-card:nth-child(2) {
    z-index: 20;
}

.service-card:nth-child(3) {
    z-index: 30;
}

.service-card-icon {
    width: 128px;
    height: 128px;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-card-icon img {
    width: 128px;
    height: 128px;
    object-fit: contain;
}

.service-card h3 {
    font-family: var(--font-text);
    font-size: 42px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-card p {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: auto;
    text-wrap: pretty;
}

.service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #141413;
    color: white;
    padding: 1rem 2rem;
    border-radius: 1rem;
    font-family: var(--font-text);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 206, 55, 0.3);
    align-self: stretch;
    margin-top: 1.5rem;
}

.service-btn:hover {
    background-color: var(--color-brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4);
}

.service-btn .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-btn:hover .arrow {
    transform: translateX(4px);
}

/* ---- Section Notre équipe ---- */

.team-section {
    background: var(--color-surface);
    width: 100%;
    padding: 6rem 0;
    position: relative;
}

.team-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.team-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

/* Surlignement spécifique pour "dynamique" dans le titre */
.team-title .highlight-brand::after {
    z-index: -1;
    opacity: 0.4;
}

.team-intro {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    text-align: left;
    max-width: 800px;
    margin: 0 0 4rem 0;
    opacity: 0.9;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.team-card-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--color-surface);
    margin-bottom: 2rem;
    position: relative;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-card-info {
    width: 100%;
    max-width: 250px;
    background: var(--color-surface);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: absolute;
    bottom: 20px;
    z-index: 2;
}

/* Positionnement spécifique pour chaque carte */
.team-card:first-child .team-card-info {
    left: 0;
}

.team-card:last-child .team-card-info {
    right: 0;
}

.team-member-details h3 {
    font-family: var(--font-text);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.3rem 0;
    line-height: 1.2;
}

.team-member-details p {
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text);
    opacity: 0.8;
    margin: 0;
    line-height: 1.3;
}

.certified-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}



/* Supprimer margin-bottom de l'image de Margaux car elle est en fin */
.team-card:last-child .team-card-image {
    margin-bottom: 0;
}



/* ---- Section CTA Devis ---- */

.cta-devis-section {
    background: var(--color-surface);
    width: 100%;
    padding: 4rem 0;
    position: relative;
}

.cta-devis-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-devis-content {
    display: flex;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-devis-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 1rem;
}

.cta-devis-link:hover {
    transform: translateY(-2px);
}

.cta-devis-link:hover .highlight-accent {
    background: var(--color-brand);
    color: var(--color-surface);
}

.cta-arrow {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.cta-devis-link:hover .cta-arrow {
    opacity: 1;
}

.cta-arrow .button__icon-wrapper {
    width: 24px;
    height: 24px;
    position: relative;
    color: var(--color-text);
    background-color: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.cta-arrow .button__icon-svg {
    width: 18px;
    height: 18px;
}

.cta-arrow .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.cta-devis-link:hover .cta-arrow .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.cta-devis-link:hover .cta-arrow .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

.cta-devis-text {
    font-family: var(--font-text);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0;
    transition: color 0.3s ease;
}

/* ---- Section Pourquoi choisir BÈU Studio ---- */

.why-choose-section {
    background: #E3DACC;
    width: 100%;
    padding: 2rem 0 6rem 0;
    position: relative;
    z-index: 10;
}

.why-choose-section .container {
    border-radius: 2rem;
    background: #E3DACC;
    max-width: 1200px;
    width: 95vw;
    margin: 0 auto;
    padding: 4rem 3rem 4rem 2rem;
    text-align: center;
}

/* Styles spécifiques pour les titres de la section why-choose */
.why-choose-section .section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-choose-section .section-subtitle {
    max-width: 80%;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.why-choose-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.why-card {
    position: relative;
    flex: 1 1 0;
    max-width: 420px;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.why-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(217, 119, 87, 0.2), 0 8px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(217, 119, 87, 0.2);
}

.why-card:hover .why-card-icon img {
    filter: brightness(0) saturate(100%) invert(47%) sepia(63%) saturate(456%) hue-rotate(336deg) brightness(95%) contrast(93%);
}

.why-card-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    width: 50px;
    height: 50px;
}

.why-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%); */
}

.why-card h3 {
    font-family: var(--font-title);
    font-size: 1.625rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--color-text);
    line-height: 1.3;
    text-align: left;
}

.why-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 1.5rem;
    color: black;
    opacity: 0.7;
    line-height: 1.5;
    text-align: left;
}

.why-card p {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    font-size: 1rem;
    text-align: left;
    font-weight: 400;
    color: black;
    opacity: 0.7;
}

/* ============================== */
/* 8. FOOTER & CONTACT            */
/* ============================== */

/* ---- Footer ---- */

.footer {
    background: #141413; /* Fond noir */
    width: 100%;
    padding: 4rem 0 2rem 0;
    color: var(--color-surface);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 4rem;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-surface);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-brand);
}

.footer-info {
    text-align: right;
}

.footer-contact p {
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-surface);
    margin: 0.3rem 0;
    text-align: right;
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid rgba(250, 249, 245, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p,
.footer-credits p {
    font-family: var(--font-text);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-surface);
    margin: 0;
    opacity: 0.7;
}

/* ---- Page Contact ---- */

.contact-section {
    width: 100%;
    background: #FFFFFF;
    padding: 8rem 0 6rem 0;
    min-height: 100vh; /* occupe toute la hauteur d'écran */
    min-height: 100svh; /* meilleur support mobile */
    display: flex;
    align-items: center; /* centre verticalement le contenu */
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: stretch; /* permet aux colonnes d'avoir la même hauteur */
    height: 100%;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    height: 100%;
    justify-content: center;
}

.contact-title {
    font-family: var(--font-title);
    color: var(--color-text);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.contact-title .highlight-brand {
    color: var(--color-brand);
}

.contact-image-container {
    position: relative;
    width: 100%;
    max-width: 478px;
}

.contact-image {
    width: 478px;
    height: 162px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.contact-scroll-btn {
    position: absolute;
    bottom: 15px;
    right: -60px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background-color: var(--color-brand);
    border: 8px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.contact-scroll-btn svg {
    width: 28px;
    height: 28px;
}

.contact-right {
    width: 100%;
}

.contact-form-wrapper {
    background: #F0EEE6;
    border-radius: 1rem;
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    width: 100%;
    display: flex;
    gap: 1rem;
}

.form-row.two-cols > .form-field {
    flex: 1;
}

.form-field {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: none;
    border-radius: 12px;
    background: #FFFFFF;
    color: var(--color-text);
    padding: 0.9rem 1rem;
    font-family: var(--font-text);
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.2s ease, transform 0.05s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border: 2px solid var(--color-brand);
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem; /* espace pour la flèche */
    cursor: pointer;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.btn-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    border-radius: 12px;
    background: var(--color-brand);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    width: 100%;
}

.btn-send img {
    width: 18px;
    height: 18px;
}

.btn-send:hover {
    transform: translateY(-1px);
}

/* Flèche custom pour le select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 70%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-image: url('../assets/icons/fleche-bas.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none; /* clics passent au select */
    opacity: 0.9;
}

/* ============================== */
/* 9. COMPOSANTS UI (BOUTONS)     */
/* ============================== */

/* Bouton CTA - btn-3 style */
.btn-3 {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #141413;
    color: #FFFFFF;
    border-radius: 10rem;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px 12px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.3s;
}

.btn-3 .button__icon-wrapper {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    position: relative;
    color: #141413;
    background-color: #FFFFFF;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.btn-3:hover {
    background-color: var(--color-brand);
}

.btn-3:hover .button__icon-wrapper {
    color: var(--color-brand);
}

.btn-3 .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.btn-3:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.btn-3:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* Bouton CTA Hero - Style jaune-vert fluo */
.btn-hero-cta {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-brand);
    color: white;
    border-radius: 10rem;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px 14px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}

.btn-hero-cta .button__icon-wrapper {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    position: relative;
    color: var(--color-brand);
    background-color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.btn-hero-cta:hover {
    background-color: #141413;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4);
}

.btn-hero-cta:hover .button__icon-wrapper {
    background-color: white;
    color: #141413;
}

.btn-hero-cta .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.btn-hero-cta:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.btn-hero-cta:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* Bouton Projects CTA */
.btn-projects-cta {
    margin-top: 3rem;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #141413;
    color: white;
    border-radius: 10rem;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px 14px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(217, 119, 87, 0.3);
}

.btn-projects-cta .button__icon-wrapper {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    position: relative;
    color: #141413;
    background-color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.btn-projects-cta:hover {
    background-color: var(--color-brand);
    color: white;
    transform: translateX(0%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 87, 0.4);
}

.btn-projects-cta:hover .button__icon-wrapper {
    background-color: white;
    color: var(--color-brand);
}

.btn-projects-cta .button__icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.btn-projects-cta:hover .button__icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.btn-projects-cta:hover .button__icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* ============================== */
/* 10. UTILITIES                  */
/* ============================== */

.cta-icon {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

/* ============================== */
/* 10. PAGES SERVICES             */
/* ============================== */

/* ---- Hero Section Service ---- */
.service-hero {
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-hero-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 11rem 4rem 2rem 4rem;
    position: relative;
    z-index: 2;
}

.service-breadcrumb {
    margin-bottom: 2rem;
    font-family: var(--font-text);
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.7;
}

.breadcrumb-item {
    color: var(--color-text);
}

.breadcrumb-separator {
    margin: 0 0.5rem;
}

.breadcrumb-current {
    font-weight: 600;
}

.service-hero-content {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1200px;
    margin: 5rem auto 3rem auto;
    min-height: 200px;
}

.service-hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.service-hero-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 2rem;
}

.service-hero-title {
    color: var(--color-text);
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 700;
    line-height: 130%;
    letter-spacing: -0.02em;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.service-hero-divider {
    width: 1px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0 2rem;
    align-self: stretch;
}

.service-hero-tagline {
    max-width: 400px;
}

.service-hero-tagline p {
    color: var(--color-text);
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.service-hero-image-container {
    position: relative;
    width: 100%;
    max-width: 478px;
}

.service-hero-image {
    width: 478px;
    height: 162px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.service-hero-scroll-btn {
    position: absolute;
    bottom: 15px;
    right: -60px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background-color: var(--color-brand);
    border: 8px solid #FAF9F5;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.service-hero-scroll-btn svg {
    width: 20px;
    height: 20px;
}

/* ---- Section Service Details ---- */
.service-details {
    z-index: -2;
    background: var(--color-surface);
    width: 100%;
    padding: 6rem 0;
    position: relative;
}

.service-details-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    text-align: left;
}

.service-details-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.2;
    width: 100%;
    max-width: none;
}

.service-details-intro {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 2rem;
    width: 100%;
    max-width: none;
}

.service-details-subtitle {
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 4rem;
    width: 100%;
    max-width: none;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-detail-card {
    background: white;
    border-radius: 15px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    transition: all 0.3s ease;
    border: 1px solid #E8E8E8;
    position: relative;
    min-height: 220px;
    aspect-ratio: 1.1;
    opacity: 1;
}

.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.service-detail-icon {
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 197, 102, 0.15);
    border-radius: 50%;
}

.service-detail-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-detail-content {
    width: 100%;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
}

.service-detail-card h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.service-detail-card p {
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    opacity: 0.7;
    margin: 0 0 1rem 0;
    position: relative;
}

.service-detail-card p::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: var(--color-text);
    border-radius: 50%;
}

.service-detail-card p:last-child {
    margin-bottom: 0;
}

.service-detail-arrow {
    position: absolute;
    top: 3rem;
    right: 3rem;
    flex-shrink: 0;
}

.arrow-icon-wrapper {
    width: 25px;
    height: 25px;
    position: relative;
    color: var(--color-text);
    background-color: transparent;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.arrow-icon-svg--copy {
    position: absolute;
    transform: translate(-150%, 150%);
}

.service-detail-card:hover .arrow-icon-svg:first-child {
    transition: transform 0.3s ease-in-out;
    transform: translate(150%, -150%);
}

.service-detail-card:hover .arrow-icon-svg--copy {
    transition: transform 0.3s ease-in-out 0.1s;
    transform: translate(0);
}

/* ============================== */
/* 11. MEDIA QUERIES              */
/* ============================== */

/* ---- Breakpoint 1200px+ ---- */
@media (max-width: 1200px) {
    /* Navbar responsive - garde les paramètres desktop mais limite la largeur */
    .navbar {
        max-width: min(1100px, calc(100vw - 4rem));
        top: 0.8rem;
    }

    .dropdown-toggle{
        font-size: 0.8rem;
    }

    .navbar__links a {
        font-size: 0.8rem;
    }

    .navbar__cta {
        font-size: 0.8rem;
        padding: 12px 20px 12px 16px;
    }

    .hero-content {
        padding: 7rem 2rem 0rem 3rem;
    }

    .why-choose-section .container {
        width: 90vw;
        padding: 2.5rem 3rem;
    }

    .why-choose-cards {
        flex-direction: column;
        align-items: center;
        max-width: 600px;
        gap: 2rem;
        padding: 0 1rem;
    }

    .why-card {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
        min-height: fit-content;
        height: auto;
    }

    /* Nouveau slider responsive */
    .modern-projects-slider {
        max-width: 900px;
    }

    .slider-viewport {
        height: 500px;
    }

    .project-name {
        font-size: 2rem;
    }

    .projects-section {
        min-height: 95vh;
        padding: 2.5rem 0 3.5rem 0;
    }
    
    .projects-slider {
        height: 65vh;
        margin: 1rem auto;
        perspective: 1600px;
        z-index: 100;
    }
    
    .project-slide {
        width: 76.5vw;
        height: 51vh;
    }
    
    .project-slide.active {
        transform: translateX(0) translateZ(0) scale(1.1) rotateY(0deg);
    }
    
    .project-slide.prev {
        transform: translateX(-35vw) translateZ(-150px) scale(0.7) rotateY(30deg);
    }
    
    .project-slide.next {
        transform: translateX(35vw) translateZ(-150px) scale(0.7) rotateY(-30deg);
    }
    
    .project-slide.hidden:nth-child(odd) {
        transform: translateX(-80vw) translateZ(-300px) scale(0.5) rotateY(50deg);
    }
    
    .project-slide.hidden:nth-child(even) {
        transform: translateX(80vw) translateZ(-300px) scale(0.5) rotateY(-50deg);
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
    }
    
    .nav-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .projects-section .container {
        padding: 0 1.5rem;
    }
    
    .projects-cta {
        bottom: -2.2rem;
    }
    
    .btn-projects-cta {
        font-size: 15px;
        padding: 13px 26px 13px 18px;
    }
    
    .btn-projects-cta .button__icon-wrapper {
        width: 26px;
        height: 26px;
    }
    
    .btn-projects-cta:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* ---- Breakpoint 1024px ---- */
@media (max-width: 1024px) and (min-width: 769px) {

    .navbar__links {
        gap: 1.2rem;
    }

    .hero-content {
        padding: 7rem 2rem 0rem 2rem;
    }


    .why-choose-section .container {
        width: 92vw;
        padding: 2.5rem 2.5rem;
    }

    .our-services {
        padding: 6rem 0 3rem 0;
    }
    
    .services-content {
        gap: 3rem;
        margin-top: 4rem;
    }
    
    .services-left {
        padding-right: 1rem;
        top: 150px;
    }
    
    .services-tagline,
    .services-subtitle {
        font-size: 32px;
    }
    
    .services-cards {
        height: 150vh;
    }
    
    .service-card {
        top: 120px;
    }

}

/* ---- Breakpoint 992px ---- */
@media (max-width: var(--breakpoint-lg)) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    section {
        padding: 2rem 1rem;
    }

}

/* ---- Breakpoint 768px ---- */
@media (max-width: 768px) {
    .navbar {
        max-width: calc(100vw - 0.5rem);
        padding: 0.4rem 1.5rem;
        top: 0.5rem;
    }

    .hero {
        padding: 4rem 2rem 3rem 2rem;
    }

    .hero-content {
        flex-direction: column;
    }

    /* Nouveau slider responsive 768px */
    .modern-projects-slider {
        max-width: 100%;
        margin: 3rem 0;
    }

    .slider-viewport {
        height: 400px;
    }

    .project-overlay {
        padding: 2rem;
    }

    .project-name {
        font-size: 1.75rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .slider-controls {
        margin-top: 1.5rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-right {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-illustration {
        max-width: 300px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero h2 {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        margin: 2rem 0;
    }

    .btn-hero-cta {
        font-size: 14px;
        padding: 12px 24px 12px 16px;
    }

    .btn-hero-cta .button__icon-wrapper {
        width: 25px;
        height: 25px;
    }

    .hero-animated-box {
        padding: 2rem;
        margin: 0 auto;
    }

    .animated-text {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5em;
    }

    .projects-section {
        min-height: 85vh;
        padding: 2rem 0 3rem 0;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin: 0 0 0.8rem 0;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin: 0 0 1.2rem 0;
    }
    
    .projects-slider {
        height: 60vh;
        margin: 0.8rem auto;
        perspective: 1200px;
        z-index: 100;
    }
    
    .project-slide {
        width: 83vw;
        height: 57vh;
    }
    
    .project-slide.active {
        transform: translateX(0) translateZ(0) scale(1.05) rotateY(0deg);
    }
    
    .project-slide.prev {
        transform: translateX(-40vw) translateZ(-120px) scale(0.65) rotateY(25deg);
    }
    
    .project-slide.next {
        transform: translateX(40vw) translateZ(-120px) scale(0.65) rotateY(-25deg);
    }
    
    .project-slide.hidden:nth-child(odd) {
        transform: translateX(-85vw) translateZ(-250px) scale(0.45) rotateY(45deg);
    }
    
    .project-slide.hidden:nth-child(even) {
        transform: translateX(85vw) translateZ(-250px) scale(0.45) rotateY(-45deg);
    }
    
    .project-info {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.4rem;
    }
    
    .project-info p {
        font-size: 0.9rem;
    }
    
    .nav-arrow {
        width: 45px;
        height: 45px;
    }
    
    .slider-navigation {
        width: calc(100% + 12rem);
        left: -6rem;
    }
    
    .projects-section .container {
        padding: 0;
    }
    
    .projects-cta {
        bottom: -2rem;
    }
    
    .btn-projects-cta {
        font-size: 14px;
        padding: 12px 24px 12px 16px;
    }
    
    .btn-projects-cta .button__icon-wrapper {
        width: 24px;
        height: 24px;
    }
    
    .btn-projects-cta:hover {
        transform: translateX(-50%) translateY(-2px);
    }


    .our-services {
        padding: 4rem 0 2rem 0;
    }
    
    .our-services .container {
        padding: 0;
    }

    .services-content {
        flex-direction: column;
        gap: 2rem;
        margin-top: 4rem;
        align-items: center;
    }

    .services-left {
        padding-right: 0;
        position: static;
        order: 2;
        width: 100%;
        max-width: 600px;
    }
    
    .services-tagline,
    .services-subtitle {
        font-size: 28px;
    }

    /* Mettre le texte sur une seule ligne à partir de 768px et centrer */
    .services-left {
        text-align: center;
    }

    .services-tagline {
        display: inline;
    }

    .services-tagline br {
        display: none;
    }

    .services-subtitle {
        display: inline;
        margin: 0 0 2rem 0;
    }

    .services-cta {
        margin-top: 0rem;
        display: flex;
        justify-content: center;
    }

    .services-cards {
        max-width: 100%;
        height: 120vh; /* Hauteur réduite pour mobile */
        order: 1;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
        width: 100%;
        height: auto;
        min-height: 400px;
        position: sticky;
        top: 80px; /* Position ajustée pour mobile */
    }
    
    .service-card-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .service-card-icon img {
        width: 100px;
        height: 100px;
    }
    
    .service-card h3 {
        font-size: 28px;
        margin-bottom: 1.2rem;
    }
    
    .service-card p {
        font-size: 14px;
        margin-bottom: auto;
    }
    
    .service-btn {
        padding: 0.9rem 1.8rem;
        font-size: 18px;
        margin-top: 1.2rem;
    }

    .team-section {
        padding: 4rem 0;
    }
    
    .team-section .container {
        padding: 0 1.5rem;
    }

    .team-title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    .team-intro {
        font-size: 1rem;
        margin-bottom: 3rem;
        padding: 0;
    }

    .team-cards {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 500px;
    }

    .team-card-image {
        width: 100%;
        max-width: 450px;
        height: auto;
        aspect-ratio: 1;
    }

    .team-card-info {
        max-width: 220px;
        padding: 1.2rem;
        bottom: 15px;
    }



    .cta-devis-section {
        padding: 3rem 0;
    }
    
    .cta-devis-link {
        gap: 0.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    .cta-arrow {
        display: none;
    }
    
    .cta-devis-text {
        font-size: 20px;
        text-align: center;
    }

    .why-choose-section {
        padding: 2rem 0 4rem 0;
    }
    
    .why-choose-section .container {
        width: 94vw;
        padding: 2rem 2rem;
        border-radius: 1.5rem;
    }
    
    .why-choose-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .why-card {
        width: 95%;
        max-width: 95%;
    }

    .timeline-section .section-title {
        margin: 0 0 1rem 0;
    }

    .footer {
        padding: 2rem 0;
    }
    
    .footer-nav {
        display: none;
    }

    .footer-container {
        display: flex;
        grid-template-columns: none;
        padding: 0 1.5rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3rem;
    }
    
    .footer-info {
        align-items: center;
        text-align: left;
        position: static;
    }
    
    .footer-contact h3,
    .footer-contact p {
        text-align: left;
    }
    
    .footer-copyright {
        position: static;
        text-align: left;
    }

    .footer-social {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

/* ---- Breakpoint 480px ---- */
@media (max-width: 480px) {
    .navbar {
        max-width: calc(100vw - 0.5rem);
        padding: 0.3rem 1rem;
        top: 0.5rem;
        gap: 0.6rem;
    }
    
    .hero {
        padding: 3rem 1rem 2rem 1rem;
    }

    /* Nouveau slider responsive 480px */
    .modern-projects-slider {
        border-radius: 1rem;
    }

    .slider-viewport {
        height: 350px;
    }

    .project-overlay {
        padding: 1.5rem;
    }

    .project-category {
        font-size: 0.75rem;
    }

    .project-name {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .project-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .project-tags {
        display: none; /* Cacher les tags sur mobile pour économiser de l'espace */
    }

    .slider-controls {
        gap: 1rem;
        margin-top: -1rem;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .hero-illustration {
        max-width: 250px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 1rem;
    }

    .hero-animated-box {
        padding: 1.5rem;
        margin: 0 auto;
    }

    .animated-text {
        font-size: 1.2rem;
    }

    .projects-section {
        min-height: 65vh;
        padding: 1.5rem 0 2.5rem 0;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        margin: 0 0 0.6rem 0;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin: 0 0 1rem 0;
    }
    
    .our-services .section-title {
        margin-top: 4rem;
    }

    .projects-slider {
        height: 55vh;
        margin: 0.6rem auto;
        perspective: 1000px;
        z-index: 100;
    }
    
    .project-slide {
        width: 81vw;
        height: 64vh;
    }
    
    .project-slide.active {
        transform: translateX(0) translateZ(0) scale(1) rotateY(0deg);
    }
    
    .project-slide.prev {
        transform: translateX(-40vw) translateZ(-80px) scale(0.6) rotateY(20deg) rotateZ(2deg);
    }
    
    .project-slide.next {
        transform: translateX(40vw) translateZ(-80px) scale(0.6) rotateY(-20deg) rotateZ(-2deg);
    }
    
    .project-slide.hidden:nth-child(odd) {
        transform: translateX(-90vw) translateZ(-160px) scale(0.4) rotateY(35deg) rotateZ(3deg);
    }
    
    .project-slide.hidden:nth-child(even) {
        transform: translateX(90vw) translateZ(-160px) scale(0.4) rotateY(-35deg) rotateZ(-3deg);
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.2rem;
    }
    
    .project-info p {
        font-size: 0.85rem;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .slider-navigation {
        width: calc(100% + 8rem);
        left: -4rem;
    }
    
    .projects-section .container {
        padding: 0;
    }
    
    .projects-cta {
        bottom: -2rem;
    }
    
    .btn-projects-cta {
        font-size: 13px;
        padding: 11px 22px 11px 15px;
    }
    
    .btn-projects-cta .button__icon-wrapper {
        width: 22px;
        height: 22px;
    }
    
    .btn-projects-cta:hover {
        transform: translateY(-2px);
    }

    .services-tagline {
        margin: 0;
    }

    .team-section {
        padding: 3rem 0;
    }
    
    .team-section .container {
        padding: 0 1rem;
    }

    .team-cards {
        max-width: 400px;
    }

    .team-card-image {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 1;
    }

    .team-card-info {
        max-width: 200px;
        padding: 1rem;
        bottom: 12px;
    }

    .team-member-details h3 {
        font-size: 1rem;
    }

    .team-member-details p {
        font-size: 0.85rem;
    }

    .certified-icon {
        width: 20px;
        height: 20px;
    }

    /* Ajustement responsive du card-info pour éviter le crop */
    .team-card-info {
        max-width: min(200px, 45vw);
        padding: 0.8rem;
        bottom: 10px;
    }

    .team-member-details {
        flex: 1;
        min-width: 0; /* Permet au texte de se réduire */
    }


    .cta-devis-section {
        padding: 2.5rem 0;
    }
    
    .cta-devis-section .container {
        padding: 0 1rem;
    }
    
    .cta-devis-link {
        gap: 0.5rem;
        padding: 0.5rem 0rem;
    }
    
    .cta-devis-text {
        font-size: 18px;
    }

    .why-choose-section {
        padding: 1rem 0 3rem 0;
    }
    
    .why-choose-section .container {
        width: 96vw;
        padding: 1.5rem 1.5rem;
        border-radius: 1rem;
    }
    
    .why-choose-cards {
        margin: 0 auto;
        padding: 0rem;
    }
    
    .why-card {
        width: 95%;
        padding: 2rem;
    }
    
    .why-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }
    
    .why-card h4 {
        font-size: 0.9rem;
        font-weight: 500;
        margin-bottom: 1.2rem;
    }
    
    .why-card p {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .footer-container {
        gap: 2rem;
    }

    /* Contact page responsive mobile */
    .contact-section {
        padding: 6rem 0 4rem 0;
        min-height: auto;
    }

    .contact-container {
        padding: 0 1rem;
    }

    .contact-grid {
        gap: 2rem;
    }

    .contact-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-row.two-cols {
        flex-direction: column;
    }
}

/* ============================== */
/* NAVIGATION MOBILE RESPONSIVE  */
/* ============================== */

/* Bouton hamburger - caché par défaut, visible sur mobile */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* Animation du menu hamburger */
.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Overlay mobile - caché par défaut */
.navbar__mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 249, 245, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.navbar__mobile-overlay.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.navbar__mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.mobile-link {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: block;
}

.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
    margin-top: 0.5rem;
}

.mobile-sublink {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.7;
    padding-left: 2rem;
}

.mobile-link:hover {
    color: var(--color-brand);
    background: rgba(217, 119, 87, 0.1);
}

/* ============================== */
/* NAVBAR MOBILE - 1064px         */
/* ============================== */

/* Activation du menu hamburger à partir de 1064px */
@media (max-width: 1064px) {

    .navbar {
        max-width: min(1000px, calc(100vw - 1rem));
        top: 0.5rem;
        gap: 0.8rem;
    }

    .navbar__links {
        display: none;
    }

    .navbar__hamburger {
        display: flex;
        order: 3;
    }

    .navbar__cta {
        display: none;
    }

    .navbar__logo {
        order: 1;
    }

    .navbar {
        justify-content: space-between;
    }
}

/* ============================== */
/* RESPONSIVE IMPROVEMENTS        */
/* ============================== */

/* Large tablets - 1200px et moins */
@media (max-width: 1200px) and (min-width: 1025px) {

    /* Images responsives */
    .hero-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 478/472;
    }

    /* Projects slider responsive */
    .projects-slider {
        max-width: 90vw;
        margin: 0 auto;
    }

    .project-slide {
        width: min(680px, 75vw);
        height: min(476px, 50vh);
    }

    /* Masquer les flèches de navigation */
    .nav-arrow {
        display: none;
    }

    /* Espacer le bouton CTA des indicateurs */
    .projects-cta {
        margin-top: 3rem;
    }

    .service-card {
        width: min(465px, 85vw);
        height: auto;
        min-height: 425px;
    }

    .team-card-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1;
    }
}

/* Tablets - 1024px et moins */
@media (max-width: 1024px) {
    .hero-image {
        width: 100%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 478/472;
    }

    .service-card {
        width: min(400px, 80vw);
        height: auto;
        min-height: 400px;
    }

    .team-card-image {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 1;
    }

    /* Contact page - 1 colonne dès 1024px */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-left {
        order: 1;
        gap: 1.5rem;
    }

    .contact-right {
        order: 2;
    }

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

    /* Cacher l'image et le bouton scroll en dessous de 1024px */
    .contact-image-container {
        display: none;
    }

    /* Service pages responsive - garde 2 colonnes jusqu'à 768px */
}

/* Service pages - 1200px et moins */
@media (max-width: 1200px) {
    /* Hero section en colonne */
    .service-hero-content {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .service-hero-left {
        width: 100%;
        order: 2;
    }

    .service-hero-right {
        width: 100%;
        order: 1;
        padding-left: 0;
    }

    .service-hero-tagline {
        max-width: 100%;
    }

    /* Cacher le divider */
    .service-hero-divider {
        display: none;
    }

    .service-cards-grid {
        gap: 0.5rem;
    }

    .service-detail-card {
        padding: 2rem 2rem 2rem 4rem;
        max-width: 100%;
    }

    .service-detail-icon {
        width: 40px;
        height: 40px;
        top: 1.5rem;
        left: 1.5rem;
    }

    .service-detail-arrow {
        top: 1.5rem;
        right: 1.5rem;
    }

    .service-detail-card h3 {
        font-size: 1rem;
    }

    .service-detail-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 1120px) {
    
    .hero-right {
        display: none;
    }
}

/* Mobile layout - 768px et moins */
@media (max-width: 768px) {
    /* Hero section responsive */
    .hero {
        padding: 3rem 1rem 2rem 1rem;
        min-height: 90vh;
    }

    .hero-content {
        flex-direction: column;
        padding: 6rem 1rem 0rem 1rem;
        gap: 2rem;
    }

    .hero-left {
        max-width: 100%;
        text-align: left;
        order: 2;
    }

    .hero-image-container {
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: min(400px, 90vw);
        height: auto;
        aspect-ratio: 478/472;
    }

    .hero-scroll-btn {
        width: 80px;
        height: 80px;
        bottom: -20px;
        right: 10px;
        border: 8px solid #FAF9F5;
    }

    .hero-scroll-btn svg {
        width: 20px;
        height: 20px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        text-align: left;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero h2 {
        text-align: left;
        max-width: 100%;
        font-size: clamp(0.9rem, 4vw, 1rem);
    }

    .hero-cta {
        justify-content: center;
        margin: 3rem 0;
    }

    .hero-animated-box {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 95%;
    }

    .animated-text {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        flex-direction: column;
        gap: 0.5em;
        text-align: center;
    }

    /* Projects slider responsive */
    .projects-slider {
        height: 50vh;
        margin: 0.8rem auto;
        perspective: 1000px;
        max-width: 95vw;
    }

    .project-slide {
        width: min(80vw, 400px);
        height: auto;
        aspect-ratio: 4/3;
        min-height: 300px;
    }

    .project-slide.active {
        transform: translateX(0) translateZ(0) scale(1) rotateY(0deg);
    }

    .project-slide.prev {
        transform: translateX(-35vw) translateZ(-100px) scale(0.8) rotateY(15deg);
        opacity: 0.7;
    }

    .project-slide.next {
        transform: translateX(35vw) translateZ(-100px) scale(0.8) rotateY(-15deg);
        opacity: 0.7;
    }

    /* Services cards mobile */
    .services-content {
        flex-direction: column;
        gap: 3rem;
        margin-top: 4rem;
    }

    .services-left {
        position: static;
        order: 1;
        text-align: center;
    }

    .services-cards {
        height: auto !important;
        order: 2;
        position: static !important;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        width: 100%;
        height: auto;
        min-height: auto;
        position: static !important;
        transform: none !important;
        padding: 2rem 1.5rem;
    }

    /* Timeline mobile - version verticale */
    .timeline-section {
        padding: 4rem 0;
        background: var(--color-surface-light);
    }

    .timeline-container {
        display: block !important;
        width: 100% !important;
        transform: none !important;
    }

    .timeline-step {
        width: 95% !important;
        min-height: auto !important;
        padding: 2rem 1rem !important;
        background: var(--color-surface) !important;
        margin: 1.5rem auto;
        border-radius: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        position: relative !important;
        transform: none !important;
    }

    .timeline-progress-svg {
        display: none; /* Cacher la barre de progression sur mobile */
    }

    .step-number {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        background: var(--color-brand);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
    }

    .timeline-step h3 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .step-content {
        max-width: 100%;
        gap: 0.8rem;
    }

    .step-content p {
        font-size: 0.95rem !important;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .timeline-cta-wrapper {
        position: static;
        transform: none;
        opacity: 1;
        text-align: center;
        margin-top: 2rem;
    }

    .timeline-cta-btn {
        display: inline-flex;
        margin: 0 auto;
    }

    /* Team cards mobile */
    .team-card-image {
        width: 100%;
        max-width: min(350px, 90vw);
        height: auto;
        aspect-ratio: 1;
    }

    /* Service pages - Image et scroll button responsive */
    .service-hero-image-container {
        max-width: 100%;
    }

    .service-hero-image {
        width: 100%;
        max-width: 478px;
        height: auto;
    }

    .service-hero-scroll-btn {
        width: 100px;
        height: 100px;
        right: -30px;
        bottom: -20px;
        border: 6px solid #FAF9F5;
    }

    .service-hero-scroll-btn svg {
        width: 18px;
        height: 18px;
    }

    /* Service cards grid passe en 1 colonne à partir de 768px */
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Service pages - 600px et moins */
@media (max-width: 600px) {

    .service-hero-container {
        padding: 8rem 0.75rem;
    }

    .service-hero-left {
        display: none;
    }

    .service-hero-content {
        margin: 0 auto;
    }

    .service-hero {
        padding: 0;
        min-height: 55vh;
    }

    .service-hero-image-container {
        max-width: 100%;
    }

    .service-hero-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .service-hero-scroll-btn {
        width: 80px;
        height: 80px;
        right: 10px;
        bottom: 10px;
        border: 4px solid #FAF9F5;
    }

    .service-hero-scroll-btn svg {
        width: 16px;
        height: 16px;
    }

    .service-hero-tagline p {
        font-size: clamp(1.25rem, 5vw, 1.625rem);
    }

    /* Service details container padding réduit */
    .service-details-container {
        padding: 0 1rem;
    }

    .service-cards-grid {
        gap: 1.5rem;
        width: 100%;
    }

    .service-details {
        padding: 0 0 6rem 0;
    }

    /* Service detail cards responsive pour petits écrans */
    .service-detail-card {
        padding: 2rem 1.5rem;
        min-height: auto;
        width: 100%;
        box-sizing: border-box;
    }

    .service-detail-content {
        padding-right: 2.5rem;
    }

    .service-detail-icon {
        top: 1rem;
        left: 1rem;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
    }

    .service-detail-icon img {
        width: 50px;
        height: 50px;
    }

    .service-detail-card h3 {
        font-size: 1.25rem;
        margin: 0 0 1rem 0;
    }

    .service-detail-card p {
        font-size: 0.95rem;
        padding-left: 16px;
    }

    .service-detail-arrow {
        top: 1rem;
        right: 1rem;
    }

    .arrow-icon-wrapper {
        width: 24px;
        height: 24px;
    }

    .arrow-icon-svg {
        width: 7px;
    }
}

/* Service pages - Très petits écrans 420px et moins */
@media (max-width: 440px) {

    .service-hero-container {
        padding: 2rem 0.75rem 2rem 0.75rem;
    }

    .service-hero {
        padding-top: 8rem;
    }

    .service-details-container {
        padding: 0 0.75rem;
    }

    .service-cards-grid {
        gap: 1rem;
    }

    .service-detail-card {
        padding: 4rem 0.75rem 1rem 2.5rem;
    }

    .service-detail-card h3 {
        font-size: 1.1rem;
    }

    .service-detail-card p {
        font-size: 0.9rem;
    }

    /* Bullet points plus proches du texte */
    .service-detail-card p::before {
        left: -5px;
    }

}

@media (max-width: 380px) {

    .service-details-container {
        padding: 0 0.5rem;
    }

    .service-hero-container {
        padding: 0 0.5rem;
    }

    .service-cards-grid {
        gap: 0.75rem;
    }

    .service-detail-card {
        padding: 2rem 0.75rem 1rem 2.5rem;
    }

    .service-detail-card h3 {
        font-size: 1rem;
        margin: 0 0 0.75rem 0;
    }

    .service-detail-card p {
        font-size: 0.85rem;
        padding-left: 10px;
    }

    .service-detail-card p::before {
        left: -3px;
        width: 5px;
        height: 5px;
    }

    .service-detail-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .service-detail-icon img {
        width: 40px;
        height: 40px;
    }
}

/* ============================================ */
/* HEIGHT-BASED MEDIA QUERIES FOR OUR-SERVICES */
/* ============================================ */

@media (max-width: 849px) and (max-height: 1000px) {
    .services-cards {
        height: 175vh;
    }
}

/* Pour max-height: 950px - services-cards height: 170vh */
@media screen and (max-height: 950px) {
    .services-cards {
        height: 180vh;
    }
}

/* Pour max-height: 900px - services-cards height: 180vh */
@media screen and (max-height: 900px) {
    .services-cards {
        height: 190vh;
    }
}

/* Pour max-height: 850px - services-cards height: 190vh */
@media screen and (max-height: 850px) {
    .services-cards {
        height: 200vh;
    }
}

/* Pour max-height: 800px - services-cards height: 200vh */
@media screen and (max-height: 800px) {
    .services-cards {
        height: 210vh;
    }
}

/* Pour max-height: 750px - services-cards height: 210vh */
@media screen and (max-height: 750px) {
    .services-cards {
        height: 230vh;
    }
}

/* Pour max-height: 700px - services-cards height: 228vh */
@media screen and (max-height: 700px) {
    .services-cards {
        height: 250vh;
    }
    
    .services-tagline {
        font-size: 60px;
    }
}

/* Pour max-height: 650px - services-cards height: 240vh */
@media screen and (max-height: 650px) {
    .services-cards {
        height: 270vh;
    }
}

@media screen and (max-height: 600px) {
        .services-cards {
            height: 280vh;
        }
}

@media screen and (max-height: 550px) {
        .services-cards {
            height: 300vh;
        }
}

@media screen and (max-height: 500px) {
        .services-cards {
            height: 320vh;
        }
}


@media screen and (max-height: 450px) {
        .services-cards {
            height: 320vh;
        }
}

@media screen and (max-height: 400px) {
        .services-cards {
            height: 340vh;
        }
}

/* ============================================ */
/* RESPONSIVE BREAKPOINT 1440px */
/* ============================================ */

@media screen and (max-width: 1440px) and (min-width: 1201px) {
    /* Ajustement de la navigation slider */
    .slider-navigation {
        width: calc(100% + 17rem);
    }

    /* Hero animated box */
    .hero-animated-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Team section */
    .team-section {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }

    /* Footer */
    .footer {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
}