/* =========================================================
   NEST BAT — Feuille de style principale
   Charte: Orange #F28C00 / Anthracite #2F343A / Blanc
   Typographies: Poppins (titres), Inter (texte)
   ========================================================= */

:root {
    /* Couleurs */
    --color-orange: #F28C00;
    --color-orange-dark: #D87C00;
    --color-orange-light: #FFB547;
    --color-anthracite: #2F343A;
    --color-anthracite-light: #3D434A;
    --color-anthracite-dark: #1F2328;
    --color-white: #FFFFFF;
    --color-gray-50: #FAFAFA;
    --color-gray-100: #F5F5F7;
    --color-gray-200: #E8E8EC;
    --color-gray-300: #D0D0D5;
    --color-gray-400: #9CA0A8;
    --color-gray-500: #6C717A;
    --color-gray-600: #4A4F57;

    /* Espacements */
    --section-py: clamp(4rem, 8vw, 7rem);
    --container-max: 1240px;
    --container-pad: clamp(1.25rem, 3vw, 2rem);

    /* Typographies */
    --font-heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Animations */
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.2s var(--ease);
    --transition-base: 0.35s var(--ease);
    --transition-slow: 0.6s var(--ease-out-expo);

    /* Rayons */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Ombres */
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 50px rgba(15, 23, 42, 0.12);
    --shadow-orange: 0 10px 30px rgba(242, 140, 0, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-anthracite);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

input, textarea, select {
    font: inherit;
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-anthracite);
    letter-spacing: -0.015em;
}

::selection {
    background: var(--color-orange);
    color: var(--color-white);
}

/* ---------- Utilitaires ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

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

.section {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
}

.section--dark {
    background: var(--color-anthracite);
    color: var(--color-gray-100);
}

.section__head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 4rem;
}

.section__head--light .section__title,
.section--dark h2, .section--dark h3 {
    color: var(--color-white);
}

.section__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2.2rem;
}

.section__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.8rem;
    height: 2px;
    background: var(--color-orange);
    transform: translateY(-50%);
}

.section__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1.25rem;
}

.section__lead {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    max-width: 640px;
    margin: 0 auto;
}

.section--dark .section__lead {
    color: var(--color-gray-300);
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn svg {
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn--primary {
    background: var(--color-orange);
    color: var(--color-white);
    box-shadow: var(--shadow-orange);
}

.btn--primary:hover {
    background: var(--color-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(242, 140, 0, 0.38);
}

.btn--ghost {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.05);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-white);
}

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

.btn--dark:hover {
    background: var(--color-anthracite-light);
    transform: translateY(-2px);
}

.btn--light {
    background: var(--color-white);
    color: var(--color-anthracite);
}

.btn--light:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
}

.btn--outline-light {
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--outline-light:hover {
    background: var(--color-white);
    color: var(--color-anthracite);
}

/* Bouton WhatsApp */
.btn--whatsapp {
    background: #25D366;
    color: var(--color-white);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
    position: relative;
}

.btn--whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #25D366;
    opacity: 0;
    transform: scale(1);
    animation: waPulse 2.2s ease-out infinite;
    z-index: -1;
}

.btn--whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {
    0%   { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.15); }
}

.btn--lg {
    padding: 1.1rem 2.2rem;
    font-size: 1rem;
}

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

/* ---------- Preloader ---------- */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-anthracite);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.preloader__spinner {
    width: 60px;
    height: 60px;
    animation: rotate 1s linear infinite;
}

.preloader__spinner circle {
    fill: none;
    stroke: var(--color-orange);
    stroke-width: 3;
    stroke-dasharray: 150;
    stroke-dashoffset: 50;
    stroke-linecap: round;
}

.preloader__text {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.4em;
    color: var(--color-white);
    font-size: 0.85rem;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--color-orange);
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--color-anthracite-dark);
    color: var(--color-gray-300);
    font-size: 0.82rem;
    padding: 0.6rem 0;
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.topbar__left {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: color var(--transition-fast);
}

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

.topbar__cta {
    color: var(--color-orange);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.topbar__cta:hover {
    color: var(--color-orange-light);
}

@media (max-width: 640px) {
    .topbar__item--hide-mobile {
        display: none;
    }
    .topbar__inner {
        font-size: 0.75rem;
    }
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.header.is-scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--color-gray-200);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: padding var(--transition-base);
}

.header.is-scrolled .header__inner {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform var(--transition-fast);
}

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

.brand__logo {
    width: 230px;
    height: auto;
    max-height: 78px;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

/* Le header réduit légèrement le logo au scroll pour garder une nav compacte */
.header.is-scrolled .brand__logo {
    max-height: 64px;
    width: 200px;
}

@media (max-width: 600px) {
    .brand__logo {
        width: 170px;
        max-height: 58px;
    }
    .header.is-scrolled .brand__logo {
        max-height: 50px;
        width: 150px;
    }
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    display: inline-block;
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-anthracite);
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.is-active {
    color: var(--color-orange);
}

.nav__link:hover::after,
.nav__link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__link--cta {
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    margin-left: 0.5rem;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--color-orange-dark);
    color: var(--color-white);
}

.nav__close {
    display: none;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header__phone {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    background: var(--color-anthracite);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    transition: all var(--transition-fast);
}

.header__phone:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: background var(--transition-fast);
}

.nav__toggle:hover {
    background: var(--color-gray-100);
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--color-anthracite);
    border-radius: 2px;
    transition: all var(--transition-base);
}

@media (max-width: 980px) {
    .nav {
        position: fixed;
        inset: 0;
        background: var(--color-white);
        padding: 5rem 2rem 2rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out-expo);
        z-index: 100;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav__link {
        padding: 1rem 0;
        font-size: 1.25rem;
        border-bottom: 1px solid var(--color-gray-200);
        text-align: left;
    }

    .nav__link::after { display: none; }

    .nav__link--cta {
        margin-top: 1rem;
        text-align: center;
        border-bottom: none;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.25rem;
        right: 1.5rem;
        font-size: 2.5rem;
        line-height: 1;
        color: var(--color-anthracite);
        background: none;
        border: none;
    }

    .nav__toggle {
        display: flex;
    }
}

@media (min-width: 600px) {
    .header__phone {
        display: inline-flex;
    }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    padding: 7rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(135deg, #1a1d22 0%, #2F343A 45%, #3D434A 100%),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1200&auto=format&q=70&fit=crop") center/cover no-repeat;
    background-blend-mode: multiply;
    will-change: transform;
}

/* Version mobile plus légère */
@media (max-width: 768px) {
    .hero__bg {
        background:
            linear-gradient(135deg, #1a1d22 0%, #2F343A 45%, #3D434A 100%),
            url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&auto=format&q=65&fit=crop") center/cover no-repeat;
        background-blend-mode: multiply;
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(242, 140, 0, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(242, 140, 0, 0.22) 0%, transparent 50%),
        linear-gradient(180deg, rgba(47, 52, 58, 0.55) 0%, rgba(47, 52, 58, 0.85) 100%);
    z-index: -1;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { background-position: 0% 0%, 100% 100%, 0 0; }
    100% { background-position: 20% 10%, 80% 90%, 0 0; }
}

.hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}

.hero__content {
    color: var(--color-white);
    text-align: left;
    max-width: 900px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-white);
    margin-bottom: 1.75rem;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(242, 140, 0, 0.25);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px rgba(242, 140, 0, 0.25); }
    50%      { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(242, 140, 0, 0); }
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(2.4rem, 6vw, 4.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero__stat {
    color: var(--color-white);
}

.hero__stat strong {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-orange);
    line-height: 1;
}

.hero__stat-unit {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-orange);
    vertical-align: super;
}

.hero__stat p {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.02em;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

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

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--color-orange);
    animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
    0%   { top: -30px; }
    100% { top: 60px; }
}

@media (max-width: 640px) {
    .hero__stats { gap: 1.5rem 2rem; }
    .hero__stat strong { font-size: 2rem; }
    .hero__scroll { display: none; }
}

/* ---------- Trust band ---------- */
.trust {
    padding: 2.25rem 0;
    background: var(--color-gray-100);
    border-bottom: 1px solid var(--color-gray-200);
}

.trust__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust__label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    white-space: nowrap;
}

.trust__logos {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.trust__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.trust__logo:hover { color: var(--color-anthracite); }

/* ---------- Services ---------- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 2.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--featured {
    background: linear-gradient(135deg, var(--color-anthracite) 0%, var(--color-anthracite-light) 100%);
    color: var(--color-white);
    border-color: transparent;
}

.service-card--featured::before {
    background: var(--color-orange);
    transform: scaleX(1);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__text { color: var(--color-white); }
.service-card--featured .service-card__list li { color: rgba(255, 255, 255, 0.8); }

.service-card--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2.5rem;
    background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    color: var(--color-white);
    border: none;
}

.service-card--wide::before { display: none; }

.service-card--wide .service-card__title,
.service-card--wide .service-card__text { color: var(--color-white); }
.service-card--wide .service-card__list li { color: rgba(255, 255, 255, 0.9); }
.service-card--wide .service-card__icon {
    width: 120px;
    height: 120px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
}

.service-card--wide .service-card__link {
    color: var(--color-white);
}

@media (max-width: 980px) {
    .service-card--wide {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }
}

.service-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.3rem 0.8rem;
    background: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
}

.service-card__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(242, 140, 0, 0.12);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--color-orange);
    color: var(--color-white);
    transform: scale(1.08) rotate(-3deg);
}

.service-card--featured .service-card__icon {
    background: rgba(242, 140, 0, 0.2);
    color: var(--color-orange);
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card__text {
    color: var(--color-gray-500);
    margin-bottom: 1.25rem;
    flex: 1;
}

.service-card__list {
    margin-bottom: 1.5rem;
}

.service-card__list li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-gray-600);
}

.service-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-orange);
}

.service-card__list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-orange);
    margin-top: auto;
    transition: gap var(--transition-fast);
}

.service-card__link:hover {
    gap: 0.7rem;
}

.service-card--featured .service-card__link { color: var(--color-orange-light); }

/* ---------- Process ---------- */
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
}

.process__step {
    position: relative;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(6px);
    transition: all var(--transition-base);
}

.process__step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-orange);
    transform: translateY(-4px);
}

.process__num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    color: var(--color-orange);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.process__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.process__text {
    font-size: 0.95rem;
    color: var(--color-gray-300);
    line-height: 1.6;
}

/* ---------- Portfolio ---------- */
.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.filter {
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1.5px solid var(--color-gray-200);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-gray-500);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.filter:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.filter--active {
    background: var(--color-anthracite);
    border-color: var(--color-anthracite);
    color: var(--color-white);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
    isolation: isolate;
}

.project.is-hidden {
    display: none;
}

.project__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--ease-out-expo);
}

.project:hover .project__image {
    transform: scale(1.08);
}

.project__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    color: var(--color-white);
    background: linear-gradient(to top, rgba(47, 52, 58, 0.95) 0%, rgba(47, 52, 58, 0.3) 55%, transparent 100%);
    transition: background var(--transition-base);
}

.project:hover .project__overlay {
    background: linear-gradient(to top, rgba(242, 140, 0, 0.92) 0%, rgba(242, 140, 0, 0.2) 60%, transparent 100%);
}

.project__cat {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 0.5rem;
    transition: color var(--transition-base);
}

.project:hover .project__cat {
    color: var(--color-white);
}

.project__title {
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 0.3rem;
}

.project__loc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio__cta {
    text-align: center;
    margin-top: 3rem;
}

/* ---------- About ---------- */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

@media (max-width: 900px) {
    .about__inner { grid-template-columns: 1fr; }
}

.about__media {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 520px;
}

.about__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.about__badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-lg);
}

.about__badge strong {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.about__badge span {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    max-width: 120px;
}

@media (max-width: 600px) {
    .about__badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem 1.25rem;
    }
    .about__badge strong { font-size: 2rem; }
}

.about__lead {
    font-size: 1.1rem;
    color: var(--color-gray-500);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.about__pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.pillar {
    padding-top: 1rem;
    border-top: 2px solid var(--color-gray-200);
    transition: border-color var(--transition-fast);
}

.pillar:hover {
    border-top-color: var(--color-orange);
}

.pillar__icon {
    width: 42px;
    height: 42px;
    color: var(--color-orange);
    margin-bottom: 0.85rem;
}

.pillar h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.pillar p {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--color-gray-100);
}

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

.testimonial {
    background: var(--color-white);
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: 0.25rem;
    right: 1.5rem;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--color-orange);
    opacity: 0.2;
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial__stars {
    color: var(--color-orange);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.testimonial p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial footer {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-200);
}

.testimonial footer strong {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-anthracite);
    font-size: 0.95rem;
}

.testimonial footer span {
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: 4rem 0;
    background:
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.1), transparent 60%),
        linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
    color: var(--color-white);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-band__text h2 {
    color: var(--color-white);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 0.35rem;
}

.cta-band__text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.cta-band__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------- Contact ---------- */
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}

@media (max-width: 900px) {
    .contact__inner { grid-template-columns: 1fr; }
}

.contact__lead {
    font-size: 1.05rem;
    color: var(--color-gray-500);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.contact__items {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

a.contact-item:hover {
    border-color: var(--color-orange);
    background: rgba(242, 140, 0, 0.04);
}

.contact-item__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: rgba(242, 140, 0, 0.12);
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-anthracite);
}

.contact-item span {
    font-size: 0.9rem;
    color: var(--color-gray-500);
}

/* Form */
.contact__form {
    background: var(--color-white);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-orange);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
}

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

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-field {
    position: relative;
    margin-bottom: 1.1rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 1.15rem 1rem 0.6rem;
    font-size: 0.95rem;
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
    font-family: var(--font-body);
    color: var(--color-anthracite);
    outline: none;
}

.form-field textarea {
    padding-top: 1.5rem;
    resize: vertical;
    min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 4px rgba(242, 140, 0, 0.12);
}

.form-field label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.95rem;
    color: var(--color-gray-500);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: transparent;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: 0.35rem;
    font-size: 0.7rem;
    color: var(--color-orange);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236C717A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.form-field__label--static {
    position: absolute;
    top: -0.55rem;
    left: 0.85rem;
    font-size: 0.7rem;
    padding: 0 0.35rem;
    background: var(--color-white);
    color: var(--color-orange);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-field--checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.form-field--checkbox input {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--color-orange);
}

.form-field--checkbox label {
    position: static;
    font-size: 0.85rem;
    color: var(--color-gray-500);
    line-height: 1.5;
}

.form__notice {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-gray-400);
    text-align: center;
}

.form__feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: none;
}

.form__feedback.is-success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form__feedback.is-error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-anthracite-dark);
    color: var(--color-gray-300);
    padding-top: 5rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 900px) {
    .footer__inner { grid-template-columns: 1fr 1fr; }
}

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

.footer__logo {
    width: 180px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1) contrast(0.9);
    opacity: 0.95;
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    filter: none;
}

.footer__col h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.footer__col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer__col ul li {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.footer__col ul li a {
    color: var(--color-gray-400);
    transition: color var(--transition-fast);
}

.footer__col ul li a:hover {
    color: var(--color-orange);
}

.footer__contact li {
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.footer__social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-300);
    transition: all var(--transition-fast);
}

.footer__social a svg { width: 16px; height: 16px; }

.footer__social a:hover {
    background: var(--color-orange);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

.footer__legal {
    display: flex;
    gap: 1.5rem;
}

.footer__legal a { transition: color var(--transition-fast); }
.footer__legal a:hover { color: var(--color-orange); }

/* ---------- Widget de contact flottant ---------- */
.contact-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

/* Bulle d'accroche */
.contact-widget__bubble {
    position: relative;
    max-width: 280px;
    background: var(--color-white);
    color: var(--color-anthracite);
    padding: 0.95rem 1.1rem 0.95rem 1.15rem;
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    font-size: 0.9rem;
    line-height: 1.45;
    animation: bubbleIn 0.5s var(--ease-out-expo) 1.2s both;
    transition: all var(--transition-base);
    transform-origin: bottom right;
}

.contact-widget__bubble.is-hidden {
    opacity: 0;
    transform: scale(0.7) translateY(10px);
    pointer-events: none;
}

.contact-widget__bubble::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 18px;
    width: 0;
    height: 0;
    border-top: 10px solid var(--color-white);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

.contact-widget__bubble strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    color: var(--color-anthracite);
}

.contact-widget__bubble span {
    display: block;
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

.contact-widget__bubble-close {
    position: absolute;
    top: 4px;
    right: 8px;
    width: 22px;
    height: 22px;
    line-height: 1;
    font-size: 1.2rem;
    color: var(--color-gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    transition: all var(--transition-fast);
}

.contact-widget__bubble-close:hover {
    background: var(--color-gray-100);
    color: var(--color-anthracite);
}

@keyframes bubbleIn {
    from { opacity: 0; transform: scale(0.6) translateY(20px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Panneau des options (caché par défaut) */
.contact-widget__panel {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    transform-origin: bottom right;
    pointer-events: none;
    transition: all 0.35s var(--ease-out-expo);
}

.contact-widget.is-open .contact-widget__panel {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.contact-widget__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem 0.75rem 0.9rem;
    background: var(--color-white);
    color: var(--color-anthracite);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    text-decoration: none;
    transition: all var(--transition-fast);
    min-width: 220px;
}

.contact-widget__option:hover {
    transform: translateX(-4px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.22);
}

.contact-widget__option svg {
    flex-shrink: 0;
    padding: 0.45rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
}

.contact-widget__option--whatsapp svg {
    background: #25D366;
    color: var(--color-white);
}

.contact-widget__option--phone svg {
    background: var(--color-orange);
    color: var(--color-white);
}

.contact-widget__option-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-widget__option-label strong {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-widget__option-label em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--color-gray-500);
    margin-top: 2px;
}

/* Bouton toggle principal */
.contact-widget__toggle {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25D366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
}

.contact-widget__toggle:hover {
    transform: scale(1.08);
    background: #1ebc59;
}

.contact-widget.is-open .contact-widget__toggle {
    background: var(--color-anthracite);
    box-shadow: 0 14px 34px rgba(47, 52, 58, 0.35);
    transform: rotate(90deg);
}

.contact-widget__icon-closed,
.contact-widget__icon-open {
    transition: opacity 0.25s ease, transform 0.35s var(--ease);
    position: absolute;
}

.contact-widget__icon-open {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.contact-widget.is-open .contact-widget__icon-closed {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.contact-widget.is-open .contact-widget__icon-open {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.contact-widget__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.5;
    animation: floatPulse 2.2s ease-out infinite;
    z-index: -1;
}

.contact-widget.is-open .contact-widget__pulse {
    display: none;
}

@keyframes floatPulse {
    0%   { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (max-width: 640px) {
    .contact-widget {
        bottom: 1rem;
        right: 1rem;
    }
    .contact-widget__bubble { max-width: 240px; font-size: 0.85rem; }
    .contact-widget__option { min-width: 200px; }
}

/* ---------- Contact item WhatsApp ---------- */
.contact-item--whatsapp:hover {
    border-color: #25D366 !important;
    background: rgba(37, 211, 102, 0.05) !important;
}

.contact-item__icon--whatsapp {
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25D366 !important;
}

/* ---------- Animations reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero__badge-dot, .floating-cta__pulse, .hero__scroll-line::before {
        animation: none;
    }
}

/* =========================================================
   FAQ SECTION (SEO-friendly rich snippets)
   ========================================================= */
.faq {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.faq__list {
    max-width: 860px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq__item {
    background: #fff;
    border: 1px solid rgba(47, 52, 58, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(47, 52, 58, 0.03);
}

.faq__item:hover {
    border-color: rgba(242, 140, 0, 0.35);
    box-shadow: 0 6px 24px rgba(47, 52, 58, 0.08);
    transform: translateY(-2px);
}

.faq__item[open] {
    border-color: rgba(242, 140, 0, 0.5);
    box-shadow: 0 8px 28px rgba(242, 140, 0, 0.1);
}

.faq__question {
    cursor: pointer;
    padding: 1.5rem 1.75rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-anthracite);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

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

.faq__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(242, 140, 0, 0.1);
    color: var(--color-orange);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.35s ease, background 0.2s ease;
}

.faq__item[open] .faq__icon {
    transform: rotate(45deg);
    background: var(--color-orange);
    color: #fff;
}

.faq__answer {
    padding: 0 1.75rem 1.5rem;
    color: #555;
    font-size: 0.98rem;
    line-height: 1.7;
    animation: faqFadeIn 0.4s ease;
}

.faq__answer p {
    margin: 0;
}

.faq__answer strong {
    color: var(--color-anthracite);
    font-weight: 600;
}

.faq__answer a {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted rgba(242, 140, 0, 0.5);
    transition: border-color 0.2s;
}

.faq__answer a:hover {
    border-bottom-color: var(--color-orange);
}

.link-accent {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(242, 140, 0, 0.4);
    transition: border-color 0.2s;
}

.link-accent:hover {
    border-bottom-color: var(--color-orange);
}

@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .faq__question {
        padding: 1.2rem 1.25rem;
        font-size: 0.98rem;
    }
    .faq__answer {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.94rem;
    }
}

/* =========================================================
   v3 — RESPONSIVE OVERHAUL COMPLET (mobile / tablette / desktop)
   Breakpoints : 360 / 480 / 640 / 768 / 1024 / 1280
   Principes : zéro overflow horizontal, touch targets ≥ 44 px,
   typographie fluide, grilles qui s'empilent, images optimisées.
   ========================================================= */

/* ---------- Base : éviter tout overflow & typographie fluide ---------- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, svg {
    max-width: 100%;
    height: auto;
}

/* Empêche les éléments qui dépassent sur mobile */
.container,
section,
header,
footer,
main {
    max-width: 100vw;
}

/* Touch targets — minimum Apple/Google = 44 x 44 px */
a, button, .btn, .nav__link, .nav__toggle, .nav__close {
    min-height: 44px;
}

/* Fluid typography ajustée pour petits écrans */
@media (max-width: 768px) {
    :root {
        --section-py: clamp(3rem, 10vw, 5rem);
        --container-pad: clamp(1rem, 4vw, 1.5rem);
    }
    body { font-size: 15.5px; line-height: 1.6; }
    h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
    h3 { font-size: clamp(1.15rem, 4vw, 1.5rem); }
    .section__head { margin-bottom: 2.5rem; }
    .section__title { font-size: clamp(1.6rem, 6vw, 2.25rem); }
    .section__lead { font-size: 0.98rem; }
}

/* ========== NAVIGATION ========== */
@media (max-width: 980px) {
    .header { padding: 0.75rem 0; }
    .nav__toggle { display: inline-flex !important; }
    .nav__list { gap: 1rem; }
    .nav__link { padding: 0.9rem 0; font-size: 1.05rem; }
    .nav__link--cta {
        margin-top: 1rem;
        padding: 0.95rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header .logo img,
    .logo img { max-height: 40px; }
    .nav__list { padding: 2rem 1.25rem; }
}

/* ========== HERO ========== */
@media (max-width: 900px) {
    .hero { min-height: 100svh; padding: 6rem 0 4rem; }
    .hero__title { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.1; }
    .hero__subtitle { font-size: 1rem; max-width: 100%; }
    .hero__cta { flex-wrap: wrap; gap: 0.75rem; }
    .hero__cta .btn { flex: 1 1 auto; min-width: 160px; }
    .hero__stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2.5rem;
    }
    .hero__stat strong { font-size: clamp(1.5rem, 6vw, 2rem); }
    .hero__stat p { font-size: 0.8rem; }
    .hero__badge { font-size: 0.75rem; padding: 0.5rem 0.9rem; }
}

@media (max-width: 480px) {
    .hero { padding: 5rem 0 3rem; }
    .hero__title { font-size: clamp(1.85rem, 9vw, 2.5rem); }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: left;
    }
    .hero__stat {
        display: flex;
        align-items: baseline;
        gap: 0.6rem;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    .hero__stat strong { font-size: 1.75rem; }
    .hero__scroll { display: none !important; }
}

/* ========== GRILLES : services / projets / about / valeurs ========== */
@media (max-width: 1024px) {
    .services__grid,
    .projects__grid,
    .values__grid,
    .team__grid,
    .features__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 640px) {
    .services__grid,
    .projects__grid,
    .values__grid,
    .team__grid,
    .features__grid,
    .stats__grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .service,
    .project,
    .value-card,
    .team-card {
        padding: 1.5rem !important;
    }
    .project__image {
        height: 240px !important;
    }
    .about__image {
        height: 280px !important;
        margin-bottom: 2rem;
    }
}

/* ========== ABOUT / Section image + texte ========== */
@media (max-width: 980px) {
    .about__grid,
    .about__inner,
    .split-section,
    .process__grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* ========== CONTACT ========== */
@media (max-width: 900px) {
    .contact__grid,
    .contact__inner {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .contact__info { order: 2; }
    .contact__form-wrapper { order: 1; }
}

@media (max-width: 640px) {
    .contact__form input,
    .contact__form textarea,
    .contact__form select,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Évite le zoom auto iOS */
        padding: 0.85rem 1rem !important;
    }
    .contact__form-row,
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .contact__form button[type="submit"],
    .form-group button {
        width: 100%;
    }
    .contact__info-item {
        padding: 1rem 0 !important;
    }
}

/* ========== FOOTER ========== */
@media (max-width: 900px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1.5rem !important;
    }
    .footer__col--brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    .footer__grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .footer__social,
    .footer__links {
        justify-content: center;
        align-items: center;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1.5rem 0;
    }
}

/* ========== FAQ sur mobile ========== */
@media (max-width: 480px) {
    .faq__question {
        padding: 1rem 1rem !important;
        font-size: 0.95rem !important;
        gap: 0.75rem;
    }
    .faq__question-text {
        flex: 1;
        min-width: 0;
    }
    .faq__answer {
        padding: 0 1rem 1rem !important;
        font-size: 0.9rem !important;
    }
    .faq__icon {
        flex-shrink: 0;
    }
}

/* ========== CTA flottant WhatsApp (visible sur mobile) ========== */
@media (max-width: 640px) {
    .floating-cta,
    .whatsapp-floating {
        bottom: 1rem !important;
        right: 1rem !important;
        width: 56px !important;
        height: 56px !important;
    }
}

/* ========== Boutons : full width sur très petits écrans ========== */
@media (max-width: 400px) {
    .btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.9rem;
    }
    .section__eyebrow {
        font-size: 0.7rem;
        padding-left: 1.8rem;
    }
    .section__eyebrow::before {
        width: 1.4rem;
    }
}

/* ========== Tablet landscape optimization ========== */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero__stats {
        gap: 2rem;
    }
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Protections générales ========== */
/* Évite les tableaux qui dépassent */
table { width: 100%; display: block; overflow-x: auto; }

/* Évite les blocs de code qui dépassent */
pre, code { max-width: 100%; overflow-x: auto; word-wrap: break-word; }

/* Texte qui ne doit jamais déborder */
h1, h2, h3, h4, h5, h6, p, a, span, li {
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

/* URL et mots longs dans le contenu */
.break-word { word-break: break-word; }

/* Corrige les backdrops mobiles iOS */
@supports (-webkit-touch-callout: none) {
    .hero { min-height: -webkit-fill-available; }
}

/* Prefers reduced motion : respecte les préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Impression */
@media print {
    .header, .footer, .floating-cta, .whatsapp-floating, .preloader { display: none !important; }
    body { color: #000; background: #fff; }
}
