/* ==========================================================================
   ECXEO — feuille de style principale
   1.  Variables et base
   2.  Utilitaires et titres de section
   3.  Boutons et liens
   4.  En-tête, navigation, menu mobile
   5.  Hero et bandeau défilant
   6.  Sections de contenu (expertises, projets, méthode, chiffres, avis)
   7.  Pages internes (services, réalisations, contact, pages légales)
   8.  Formulaire et carte
   9.  Pied de page
   10. Animations au défilement
   11. Responsive
   ========================================================================== */

/* 1. Variables et base ---------------------------------------------------- */

:root {
    --brand: #5B4BFF;
    --brand-alt: #00D7A3;
    --ink: #0B0D1A;

    --ink-soft: #1A1E33;
    --muted: #6A7088;
    --line: #E6E8F0;
    --paper: #FFFFFF;
    --paper-alt: #F5F6FA;

    --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;

    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 18px rgba(11, 13, 26, .06);
    --shadow: 0 18px 48px rgba(11, 13, 26, .10);
    --shadow-lg: 0 32px 80px rgba(11, 13, 26, .16);

    --header-h: 88px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: color .25s var(--ease);
}

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

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

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    max-width: 1240px;
    padding-inline: 20px;
}

.skip-link {
    position: absolute;
    top: -80px;
    left: 20px;
    z-index: 2000;
    padding: 12px 20px;
    background: var(--ink);
    color: #fff;
    border-radius: 0 0 12px 12px;
    transition: top .25s var(--ease);
}

.skip-link:focus {
    top: 0;
    color: #fff;
}

.scroll-progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 3px;
    width: 0;
    z-index: 1200;
    background: linear-gradient(90deg, var(--brand), var(--brand-alt));
    transition: width .1s linear;
}

/* 2. Utilitaires et titres de section ------------------------------------- */

.section {
    padding: clamp(64px, 9vw, 130px) 0;
    position: relative;
}

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

.section--dark {
    background: var(--ink);
    color: #fff;
}

.section--dark .section-text,
.section--dark .section-title {
    color: #fff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.eyebrow--light {
    color: var(--brand-alt);
}

.section-head {
    max-width: 720px;
    margin: 0 auto clamp(40px, 5vw, 70px);
    text-align: center;
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    margin-bottom: 18px;
}

.section-title em {
    font-style: normal;
    background: linear-gradient(120deg, var(--brand), var(--brand-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-text {
    color: var(--muted);
    font-size: 1.06rem;
    margin-bottom: 0;
}

.section--dark .section-text {
    color: rgba(255, 255, 255, .72);
}

/* 3. Boutons et liens ----------------------------------------------------- */

.btn {
    --bs-btn-border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: 100px;
    padding: 12px 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1.02rem;
}

.btn-brand {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-brand::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, var(--brand), var(--brand-alt));
    transform: translateY(101%);
    transition: transform .4s var(--ease);
}

.btn-brand:hover,
.btn-brand:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-brand:hover::before,
.btn-brand:focus-visible::before {
    transform: translateY(0);
}

.btn-ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    background: transparent;
}

.btn-ghost:hover {
    color: var(--ink);
    background: #fff;
    border-color: #fff;
}

.btn-ghost-dark {
    color: var(--ink);
    border: 1px solid var(--line);
    background: #fff;
}

.btn-ghost-dark:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
}

.link-arrow i {
    transition: transform .3s var(--ease);
    color: var(--brand);
}

.link-arrow:hover i {
    transform: translateX(6px);
}

.section--dark .link-arrow {
    color: #fff;
}

/* 4. En-tête, navigation, menu mobile ------------------------------------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: height .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}

.site-header.is-stuck {
    height: 72px;
    border-bottom-color: var(--line);
    box-shadow: 0 8px 30px rgba(11, 13, 26, .06);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.brand img {
    height: 40px;
    width: auto;
    display: block;
    transition: height .3s var(--ease);
}

.site-header.is-stuck .brand img {
    height: 34px;
}

.site-nav {
    margin-inline: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .96rem;
    color: var(--ink);
    border-radius: 100px;
}

.nav-link span {
    position: relative;
}

.nav-link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-alt));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

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

.nav-link__caret {
    font-size: .7rem;
    transition: transform .3s var(--ease);
}

.nav-item.has-panel:hover .nav-link__caret {
    transform: rotate(180deg);
}

.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(940px, 92vw);
    transform: translate(-50%, 12px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}

.nav-item.has-panel:hover .mega,
.nav-item.has-panel:focus-within .mega {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.mega__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.mega__col {
    display: block;
    padding: 20px 18px;
    border-radius: var(--radius);
    color: var(--ink);
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.mega__col:hover {
    background: var(--paper-alt);
    transform: translateY(-3px);
    color: var(--ink);
}

.mega__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 14px;
    font-size: 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
}

.mega__title {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.mega__text {
    display: block;
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

.mega__offers {
    display: grid;
    gap: 4px;
    font-size: .82rem;
    color: var(--muted);
}

.mega__offers span::before {
    content: "— ";
    color: var(--brand);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    color: var(--ink);
    white-space: nowrap;
}

.header-phone i {
    color: var(--brand);
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    place-items: center;
}

.burger__bars {
    display: grid;
    gap: 5px;
    width: 20px;
}

.burger__bars span {
    display: block;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.burger[aria-expanded="true"] .burger__bars span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__bars span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-panel {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 1090;
    background: #fff;
    overflow-y: auto;
    padding: 26px 0 40px;
    animation: panelIn .35s var(--ease);
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: none; }
}

.mobile-panel__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding-inline: 20px;
}

.nav-list--mobile {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.nav-list--mobile .nav-link {
    padding: 18px 4px;
    font-size: 1.35rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: space-between;
}

.nav-list--mobile .mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    width: auto;
    border: 0;
    box-shadow: none;
    padding: 6px 0 14px;
}

.nav-list--mobile .mega__inner {
    grid-template-columns: 1fr;
    gap: 4px;
}

.nav-list--mobile .mega__col {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 10px;
}

.nav-list--mobile .mega__icon {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.nav-list--mobile .mega__text,
.nav-list--mobile .mega__offers {
    display: none;
}

.mobile-panel__foot {
    margin-top: 28px;
    display: grid;
    gap: 14px;
    justify-items: start;
}

.mobile-panel__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 500;
}

/* 5. Hero et bandeau défilant --------------------------------------------- */

.hero {
    position: relative;
    padding: calc(var(--header-h) + 90px) 0 110px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    opacity: .38;
    animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60% 60% at 15% 20%, rgba(91, 75, 255, .55), transparent 70%),
        radial-gradient(50% 50% at 85% 10%, rgba(0, 215, 163, .35), transparent 70%),
        linear-gradient(180deg, rgba(11, 13, 26, .75), rgba(11, 13, 26, .96));
}

.hero__inner {
    max-width: 920px;
}

.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    margin-bottom: 26px;
}

.hero__rotator {
    display: inline-grid;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.34em;
    line-height: 1.3;
}

.hero__rotator span {
    grid-area: 1 / 1;
    background: linear-gradient(120deg, var(--brand-alt), #9d92ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.hero__rotator span.is-current {
    opacity: 1;
    transform: none;
}

.hero__rotator span.is-out {
    opacity: 0;
    transform: translateY(-100%);
}

.hero__lead {
    font-size: clamp(1.02rem, 1.5vw, 1.22rem);
    color: rgba(255, 255, 255, .78);
    max-width: 680px;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 56px;
}

.hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero__fact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, .75);
    font-size: .94rem;
}

.hero__fact i {
    color: var(--brand-alt);
    font-size: 1.15rem;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .6);
    font-size: .76rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    display: grid;
    justify-items: center;
    gap: 8px;
}

.hero__scroll i {
    animation: bob 1.8s infinite var(--ease);
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(7px); }
}

.marquee {
    background: var(--ink);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
    overflow: hidden;
    display: flex;
    gap: 0;
}

.marquee__track {
    display: flex;
    align-items: center;
    gap: 46px;
    flex: 0 0 auto;
    padding-right: 46px;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
    animation-play-state: paused;
}

@keyframes marquee {
    to { transform: translateX(-100%); }
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    white-space: nowrap;
}

.marquee__item i {
    color: var(--brand-alt);
}

/* 6. Sections de contenu -------------------------------------------------- */

.intro-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.intro-media img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.intro-media:hover img {
    transform: scale(1.04);
}

.intro-badge {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 2px;
}

.intro-badge strong {
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
    background: linear-gradient(120deg, var(--brand), var(--brand-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro-badge span {
    font-size: .82rem;
    color: var(--muted);
}

.pill-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 14px;
}

.pill-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pill-list i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(91, 75, 255, .1);
    color: var(--brand);
    font-size: .9rem;
    margin-top: 2px;
}

.expertise-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.expertise-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.expertise-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.expertise-card:hover .expertise-card__media img {
    transform: scale(1.07);
}

.expertise-card__icon {
    position: absolute;
    left: 20px;
    bottom: -22px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    font-size: 1.3rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    box-shadow: var(--shadow-sm);
}

.expertise-card__body {
    padding: 42px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.expertise-card__title {
    font-size: 1.28rem;
    margin-bottom: 8px;
}

.expertise-card__baseline {
    font-size: .84rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 14px;
}

.expertise-card__text {
    color: var(--muted);
    font-size: .96rem;
    margin-bottom: 20px;
}

.expertise-card__link {
    margin-top: auto;
}

.project-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    color: #fff;
    height: 100%;
    min-height: 340px;
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .55;
    transition: transform .8s var(--ease), opacity .5s var(--ease);
}

.project-card:hover img {
    transform: scale(1.06);
    opacity: .38;
}

.project-card__body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(180deg, rgba(11, 13, 26, .1) 30%, rgba(11, 13, 26, .92));
}

.project-card__sector {
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand-alt);
    margin-bottom: 10px;
    font-weight: 600;
}

.project-card__title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 8px;
}

.project-card__subtitle {
    color: rgba(255, 255, 255, .78);
    font-size: .95rem;
    margin-bottom: 16px;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.project-card__tags li {
    font-size: .74rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, .28);
    color: rgba(255, 255, 255, .85);
}

.project-card__arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    color: #fff;
    transform: translateY(-6px);
    opacity: 0;
    transition: transform .4s var(--ease), opacity .4s var(--ease), background .3s var(--ease);
}

.project-card:hover .project-card__arrow {
    transform: none;
    opacity: 1;
    background: var(--brand);
}

.process-step {
    position: relative;
    height: 100%;
    padding: 34px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .4s var(--ease), background .4s var(--ease);
}

.process-step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, .08);
}

.process-step__number {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 255, 255, .12);
    margin-bottom: 18px;
    display: block;
}

.process-step__icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--brand-alt), #7de3c4);
}

.process-step__title {
    font-size: 1.24rem;
    color: #fff;
    margin-bottom: 10px;
}

.process-step__text {
    color: rgba(255, 255, 255, .7);
    font-size: .95rem;
    margin: 0;
}

.stats-band {
    position: relative;
    padding: clamp(60px, 8vw, 110px) 0;
    background-image: var(--band-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    isolation: isolate;
}

.stats-band::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(11, 13, 26, .94), rgba(31, 22, 92, .86));
}

.stat {
    text-align: center;
}

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1;
    font-weight: 700;
    background: linear-gradient(120deg, #fff, var(--brand-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat__label {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
    font-size: .94rem;
}

.testimonial {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

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

.testimonial__mark {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: .6;
    color: var(--brand);
    opacity: .25;
    margin-bottom: 20px;
}

.testimonial__quote {
    font-size: 1.02rem;
    margin-bottom: 24px;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
}

.testimonial__avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
}

.testimonial__name {
    font-family: var(--font-display);
    font-weight: 600;
    display: block;
    line-height: 1.3;
}

.testimonial__role {
    font-size: .86rem;
    color: var(--muted);
}

.cta-band {
    position: relative;
    padding: clamp(60px, 8vw, 120px) 0;
    background-image: var(--cta-image);
    background-size: cover;
    background-position: center;
    color: #fff;
    isolation: isolate;
}

.cta-band__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(11, 13, 26, .93), rgba(91, 75, 255, .75));
}

.cta-band__inner {
    max-width: 720px;
}

.cta-band__title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.cta-band__text {
    color: rgba(255, 255, 255, .82);
    margin-bottom: 30px;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* 7. Pages internes ------------------------------------------------------- */

.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 70px) 0 70px;
    background: var(--ink);
    color: #fff;
    isolation: isolate;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(45% 80% at 12% 0%, rgba(91, 75, 255, .5), transparent 70%),
        radial-gradient(40% 70% at 90% 20%, rgba(0, 215, 163, .28), transparent 70%);
}

.page-hero__inner {
    max-width: 780px;
}

.page-hero__title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    margin-bottom: 18px;
}

.page-hero__text {
    color: rgba(255, 255, 255, .76);
    font-size: 1.08rem;
    margin: 0;
}

.breadcrumb-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: .86rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 22px;
}

.breadcrumb-bar a {
    color: rgba(255, 255, 255, .78);
}

.breadcrumb-bar a:hover {
    color: #fff;
}

.service-block {
    padding: clamp(50px, 7vw, 90px) 0;
    border-bottom: 1px solid var(--line);
}

.service-block:last-of-type {
    border-bottom: 0;
}

.service-block__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    margin-bottom: 22px;
}

.service-block__title {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 12px;
}

.service-block__baseline {
    color: var(--brand);
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 18px;
}

.service-block__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-block__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease);
}

.service-block__media:hover img {
    transform: scale(1.05);
}

.offer-grid {
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.offer-grid li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 16px;
    background: var(--paper-alt);
    border-radius: 12px;
    font-size: .93rem;
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.offer-grid li:hover {
    background: rgba(91, 75, 255, .08);
    transform: translateX(4px);
}

.offer-grid i {
    color: var(--brand);
    margin-top: 4px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 44px;
}

.filter-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    border-radius: 100px;
    padding: 10px 22px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .92rem;
    transition: all .3s var(--ease);
}

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

.filter-btn.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.project-item {
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}

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

.result-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.result-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .88rem;
    color: var(--muted);
}

.result-list i {
    color: var(--brand-alt);
}

.legal-page {
    padding: clamp(50px, 7vw, 90px) 0;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 46px 0 14px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.legal-page h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.legal-page h3 {
    font-size: 1.12rem;
    margin: 26px 0 10px;
}

.legal-page p,
.legal-page li {
    color: #3B4059;
}

.legal-page ul {
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--paper-alt);
    border-radius: var(--radius);
    padding: 24px;
}

.legal-toc p {
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 14px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 18px;
    font-size: .92rem;
}

.legal-toc li {
    margin-bottom: 8px;
}

.legal-toc a {
    color: var(--ink);
}

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

.info-table {
    width: 100%;
    margin: 0 0 12px;
}

.info-table th,
.info-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-size: .96rem;
}

.info-table th {
    width: 42%;
    font-weight: 600;
    color: var(--muted);
    font-family: var(--font-body);
}

.contact-tile {
    display: flex;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    height: 100%;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.contact-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.contact-tile i {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
}

.contact-tile strong {
    display: block;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.contact-tile a,
.contact-tile span {
    color: var(--muted);
    font-size: .95rem;
}

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

/* 8. Formulaire et carte -------------------------------------------------- */

.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(26px, 4vw, 44px);
    box-shadow: var(--shadow-sm);
}

.form-card__title {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 10px;
}

.form-card__text {
    color: var(--muted);
    margin-bottom: 28px;
}

.form-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: 6px;
}

.form-label span {
    color: var(--brand);
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 13px 16px;
    font-size: .97rem;
    background: var(--paper-alt);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 75, 255, .12);
}

.form-check-input:checked {
    background-color: var(--brand);
    border-color: var(--brand);
}

.form-check-label {
    font-size: .92rem;
    color: var(--muted);
}

.form-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 8px;
}

.form-hint,
.form-count {
    font-size: .84rem;
    color: var(--muted);
}

.form-legal {
    font-size: .84rem;
    color: var(--muted);
    margin: 14px 0 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-success {
    text-align: center;
    padding: 20px 0;
}

.form-success__icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    animation: pop .5s var(--ease);
}

@keyframes pop {
    from { transform: scale(.4); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.form-success__title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.form-success__text {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 24px;
}

.map-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--paper-alt);
}

.map-block__frame {
    width: 100%;
    height: 460px;
    border: 0;
    display: block;
    filter: grayscale(.25);
}

.map-block__card {
    position: absolute;
    left: 24px;
    bottom: 24px;
    right: 24px;
    max-width: 380px;
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow);
}

.map-block__pin {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
}

.map-block__name {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0 0 4px;
}

.map-block__address {
    font-style: normal;
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 8px;
}

.map-block__card .link-arrow {
    font-size: .88rem;
}

/* 9. Pied de page --------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .68);
    padding: clamp(54px, 7vw, 90px) 0 30px;
}

.site-footer__top {
    padding-bottom: 44px;
}

.site-footer__logo {
    height: 42px;
    width: auto;
    margin-bottom: 20px;
}

.site-footer__baseline {
    max-width: 320px;
    font-size: .96rem;
}

.site-footer__title {
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.site-footer__list a,
.site-footer address a {
    color: rgba(255, 255, 255, .68);
    font-size: .94rem;
}

.site-footer__list a:hover {
    color: var(--brand-alt);
}

.site-footer__address {
    font-style: normal;
    font-size: .94rem;
    margin-bottom: 14px;
}

.site-footer__address strong {
    color: #fff;
}

.site-footer__hours {
    font-size: .88rem;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .5);
}

.socials {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.socials a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: all .3s var(--ease);
}

.socials a:hover {
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
    border-color: transparent;
    transform: translateY(-3px);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    justify-content: space-between;
    align-items: center;
    font-size: .88rem;
}

.site-footer__legal {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, .68);
}

.site-footer__legal a:hover {
    color: var(--brand-alt);
}

.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1050;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .35s var(--ease);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: linear-gradient(135deg, var(--brand), var(--brand-alt));
}

/* Accordéon FAQ */

.faq .accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq .accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 22px 24px;
    background: #fff;
    color: var(--ink);
    box-shadow: none;
}

.faq .accordion-button:not(.collapsed) {
    color: var(--brand);
    background: #fff;
}

.faq .accordion-button::after {
    background-image: none;
    content: "\F4FE";
    font-family: "bootstrap-icons";
    font-size: 1rem;
    width: auto;
    height: auto;
    color: var(--brand);
    transition: transform .3s var(--ease);
}

.faq .accordion-body {
    padding: 0 24px 24px;
    color: var(--muted);
}

/* 10. Animations au défilement -------------------------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal="left"]  { transform: translateX(-38px); }
[data-reveal="right"] { transform: translateX(38px); }
[data-reveal="zoom"]  { transform: scale(.94); }

[data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* 11. Responsive ---------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .header-phone {
        display: none;
    }

    .mega__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-h: 74px;
    }

    .site-nav {
        display: none;
    }

    .burger {
        display: grid;
    }

    .site-header__actions .btn-brand {
        display: none;
    }

    .stats-band {
        background-attachment: scroll;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: .97rem;
    }

    .hero {
        padding: calc(var(--header-h) + 60px) 0 80px;
    }

    .hero__facts {
        gap: 12px 24px;
    }

    .hero__scroll {
        display: none;
    }

    .map-block__frame {
        height: 340px;
    }

    .map-block__card {
        position: static;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .to-top {
        right: 14px;
        bottom: 14px;
    }
}
