/* ============================================================
   IMPRIMSERICA — Style global
   Palette : bleu logo (primaire) + magenta (accent)
   ============================================================ */

:root {
    /* Bleu du logo + dérivés */
    --blue:        #1e3a8a;
    --blue-2:      #2541b2;
    --blue-3:      #3b5bdb;
    --blue-light:  #e6ecff;
    --blue-dark:   #0f1d4d;

    /* Magenta du logo */
    --magenta:     #ec008c;
    --magenta-2:   #ff2ea6;
    --magenta-soft:#ffe4f1;

    /* Neutres */
    --ink:         #0e1230;
    --ink-2:       #4b5374;
    --ink-3:       #8b91ad;
    --paper:       #ffffff;
    --paper-2:     #f7f8fc;
    --paper-3:     #eef0f8;
    --line:        rgba(14,18,48,.10);
    --line-2:      rgba(14,18,48,.18);

    /* Effets */
    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   28px;
    --shadow:      0 14px 40px rgba(30,58,138,.10);
    --shadow-lg:   0 30px 80px rgba(30,58,138,.18);
    --shadow-pop:  0 24px 60px rgba(236,0,140,.20);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #1e3a8a 0%, #2541b2 50%, #3b5bdb 100%);
    --grad-hero:    linear-gradient(135deg, #1e3a8a 0%, #ec008c 100%);
    --grad-soft:    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
img { max-width: 100%; display: block; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

.mono { font-family: 'JetBrains Mono', monospace; letter-spacing: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 920px; }

.text-accent { color: var(--magenta); }
.text-blue { color: var(--blue); }
.text-gradient {
    background: var(--grad-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--magenta);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    text-decoration: none;
    line-height: 1;
    letter-spacing: .01em;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: var(--shadow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--accent {
    background: var(--magenta);
    color: #fff;
    box-shadow: var(--shadow-pop);
}
.btn--accent:hover { background: var(--magenta-2); transform: translateY(-2px); }

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

.btn--white {
    background: #fff;
    color: var(--blue);
}
.btn--white:hover { background: var(--blue-light); }

.btn--lg { padding: 18px 38px; font-size: 16px; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--grad-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity .7s ease, visibility .7s ease;
}
.loader.is-hidden { opacity: 0; visibility: hidden; }

.loader__inner {
    text-align: center;
    padding: 40px;
    max-width: 90vw;
}
.loader__logo {
    width: 240px;
    margin: 0 auto 30px;
    background: #fff;
    padding: 24px 30px;
    border-radius: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,.3);
    animation: loaderPulse 1.6s ease-in-out infinite;
}
.loader__logo img { width: 100%; height: auto; }
@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.loader__welcome {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: rgba(255,255,255,.95);
    font-style: italic;
    margin-bottom: 8px;
    letter-spacing: .02em;
}
.loader__welcome span {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    animation: loaderType .04s forwards;
}
.loader__welcome-spacer { animation-delay: .4s !important; }
.loader__welcome span:nth-child(1)  { animation-delay: .15s; }
.loader__welcome span:nth-child(2)  { animation-delay: .19s; }
.loader__welcome span:nth-child(3)  { animation-delay: .23s; }
.loader__welcome span:nth-child(4)  { animation-delay: .27s; }
.loader__welcome span:nth-child(5)  { animation-delay: .31s; }
.loader__welcome span:nth-child(6)  { animation-delay: .35s; }
.loader__welcome span:nth-child(7)  { animation-delay: .39s; }
.loader__welcome span:nth-child(8)  { animation-delay: .43s; }
.loader__welcome span:nth-child(9)  { animation-delay: .47s; }
.loader__welcome span:nth-child(11) { animation-delay: .55s; }
.loader__welcome span:nth-child(12) { animation-delay: .59s; }
.loader__welcome span:nth-child(13) { animation-delay: .63s; }
.loader__welcome span:nth-child(14) { animation-delay: .67s; }
@keyframes loaderType { to { opacity: 1; transform: translateY(0); } }

.loader__brand {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #fff;
    letter-spacing: .04em;
    margin-bottom: 30px;
    opacity: 0;
    animation: loaderFade .5s .7s forwards;
}
@keyframes loaderFade { to { opacity: 1; } }

.loader__bar {
    width: min(360px, 80vw);
    height: 3px;
    background: rgba(255,255,255,.2);
    border-radius: 999px;
    margin: 0 auto 18px;
    overflow: hidden;
}
.loader__progress {
    height: 100%;
    width: 0;
    background: var(--magenta);
    border-radius: 999px;
    animation: loaderBar 1.2s ease-out forwards;
}
@keyframes loaderBar { to { width: 100%; } }

.loader__hint {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    letter-spacing: .04em;
    font-family: 'JetBrains Mono', monospace;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 0;
    transition: all .3s ease;
}
.nav.is-scrolled {
    padding: 12px 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: 0 4px 20px rgba(30,58,138,.06);
}

body[data-page="home"] .nav:not(.is-scrolled) { background: rgba(255,255,255,.65); backdrop-filter: blur(8px); }
body:not([data-page="home"]) .nav:not(.is-scrolled) { background: rgba(255,255,255,.85); backdrop-filter: blur(14px); }

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nav__brand img {
    height: 50px;
    transition: height .3s ease;
}
.nav.is-scrolled .nav__brand img { height: 42px; }

.nav__links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav__link {
    position: relative;
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 999px;
    transition: all .2s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
}
.nav__link:hover { color: var(--blue); background: var(--blue-light); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }
.nav__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    transform: translateX(-50%);
    width: 5px; height: 5px;
    background: var(--magenta);
    border-radius: 50%;
}

.nav__cta {
    margin-left: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--grad-primary);
    border-radius: 999px;
    transition: all .25s ease;
    box-shadow: 0 6px 18px rgba(30,58,138,.25);
}
.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(30,58,138,.35);
    color: #fff;
}

/* Burger */
.nav__burger {
    display: none;
    width: 44px; height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav__burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ink);
    transition: all .3s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mega menu */
.nav__dropdown { position: relative; }
.nav__link--has-sub svg { transition: transform .25s ease; }
.nav__dropdown:hover .nav__link--has-sub svg,
.nav__link--has-sub[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__mega {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 720px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}
.nav__mega.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.nav__mega::before {
    content: '';
    position: absolute;
    top: -8px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 3px;
}

.nav__mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.nav__mega-card {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    transition: all .25s ease;
    background: var(--paper-2);
}
.nav__mega-card:hover {
    border-color: var(--blue);
    background: var(--blue-light);
    transform: translateY(-2px);
}
.nav__mega-img {
    flex-shrink: 0;
    width: 130px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.nav__mega-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.nav__mega-card:hover .nav__mega-img img { transform: scale(1.08); }
.nav__mega-body { display: flex; flex-direction: column; gap: 4px; }
.nav__mega-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--ink);
}
.nav__mega-body p {
    font-size: 13px;
    color: var(--ink-2);
    line-height: 1.45;
    margin-bottom: 4px;
}
.nav__mega-cta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--magenta);
    font-weight: 600;
    margin-top: auto;
}

/* ============================================================
   HERO + SLIDER
   ============================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    background: var(--ink);
}
.hero__slides {
    position: absolute;
    inset: 0;
}
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--ink);
}

/* Variante "fit" : la section adopte l'aspect-ratio de l'image (~3:1) pour qu'elle s'imbrique
   sans gros bandeaux noirs. Le texte vit dans une carte glass-morphism séparée
   pour ne pas se confondre avec les textes présents dans les slides. */
.hero--fit {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 1;
    max-height: 720px;
}
.hero--fit .hero__slide::after {
    background: linear-gradient(180deg, rgba(14,18,48,0) 0%, rgba(14,18,48,.18) 55%, rgba(14,18,48,.55) 100%);
}

/* Le contenu n'occupe plus tout le hero : il est ancré en bas, dans une carte vitrée. */
.hero--fit .hero__content {
    align-items: flex-end;
    padding: 0 0 26px;
}
.hero--fit .hero__inner {
    max-width: 560px;
    background: rgba(14, 18, 48, .58);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,.14);
    border-left: 3px solid var(--magenta);
    border-radius: 16px;
    padding: 22px 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.hero--fit .hero__eyebrow {
    margin-bottom: 12px;
    padding: 5px 14px;
    font-size: 11px;
    background: rgba(255,255,255,.08);
}
.hero--fit .hero__title {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 2px 14px rgba(0,0,0,.4);
}
.hero--fit .hero__subtitle {
    font-size: clamp(.85rem, 1vw, .95rem);
    margin-bottom: 16px;
    color: rgba(255,255,255,.85);
    max-width: none;
    line-height: 1.5;
}
.hero--fit .hero__actions { gap: 10px; }
.hero--fit .hero__actions .btn { padding: 10px 20px; font-size: 13.5px; }
.hero--fit .hero__actions .btn--lg { padding: 11px 22px; font-size: 14px; }

/* Le compteur et les contrôles restent sur l'image directement (badges discrets) */
.hero--fit .hero__counter {
    background: rgba(14,18,48,.55);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    top: 26px;
    right: 26px;
}

@media (max-width: 768px) {
    .hero--fit { aspect-ratio: auto; height: auto; min-height: 0; }
    .hero--fit .hero__slides { position: relative; height: 0; padding-bottom: 56%; }
    .hero--fit .hero__content { position: static; padding: 18px; background: var(--ink); }
    .hero--fit .hero__inner { max-width: 100%; background: transparent; backdrop-filter: none; border-left-width: 0; border-top: 3px solid var(--magenta); }
}

.hero__content {
    position: relative; z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
}
.hero__inner { max-width: 800px; }
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 22px;
}
.hero__eyebrow .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--magenta);
    box-shadow: 0 0 12px var(--magenta);
    animation: pulseDot 1.4s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .6; transform: scale(.8); }
}

.hero__title {
    font-size: clamp(2.6rem, 6.5vw, 5.6rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 22px;
    letter-spacing: -.025em;
}
.hero__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255,255,255,.85);
    max-width: 580px;
    margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero progress bar — emphasized */
.hero__progress {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    z-index: 10;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero__progress::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 60px, rgba(255,255,255,.06) 60px 61px);
    pointer-events: none;
}
.hero__progress-bar {
    position: relative;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--magenta) 0%, var(--magenta-2) 50%, #ffd54f 100%);
    box-shadow:
        0 0 18px var(--magenta),
        0 0 40px rgba(236,0,140,.45),
        0 2px 12px rgba(0,0,0,.35);
    transition: width .12s linear;
    border-radius: 0 4px 4px 0;
}
.hero__progress-bar::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 90px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55));
    filter: blur(2px);
    pointer-events: none;
}
.hero__progress-bar::before {
    content: '';
    position: absolute;
    top: -1px; right: -1px;
    width: 14px;
    height: calc(100% + 2px);
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 14px #fff, 0 0 28px var(--magenta);
    animation: progressHead 1.4s ease-in-out infinite;
}
@keyframes progressHead {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50%      { opacity: .65; transform: scaleY(.85); }
}

.hero__counter {
    position: absolute;
    top: 32px;
    right: 32px;
    z-index: 10;
    color: rgba(255,255,255,.85);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: .1em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero__counter strong { font-size: 18px; color: #fff; font-weight: 700; }

/* Hero nav dots */
.hero__dots {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}
.hero__dot {
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.25);
    border: none;
    cursor: pointer;
    transition: all .3s ease;
    padding: 0;
}
.hero__dot.is-active { background: var(--magenta); width: 60px; }

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}
.hero__arrow:hover { background: var(--magenta); border-color: var(--magenta); }
.hero__arrow--prev { left: 32px; }
.hero__arrow--next { right: 32px; }

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 32px;
    z-index: 10;
    color: rgba(255,255,255,.7);
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* ============================================================
   PRESENTATION (À propos)
   ============================================================ */
.about {
    position: relative;
    overflow: hidden;
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.about__visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
}
.about__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}
.about__visual:hover img { transform: scale(1.04); }
.about__visual-badge {
    position: absolute;
    bottom: 24px; left: 24px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    padding: 16px 22px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 14px;
}
.about__visual-badge strong {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}
.about__visual-badge span {
    font-size: 12px;
    color: var(--ink-2);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.about__text h2 { margin-bottom: 24px; }
.about__text h2 em {
    font-style: italic;
    color: var(--magenta);
}
.about__text p {
    color: var(--ink-2);
    margin-bottom: 18px;
    font-size: 17px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.about__stat strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--blue);
    line-height: 1;
    margin-bottom: 6px;
}
.about__stat span {
    font-size: 13px;
    color: var(--ink-2);
    letter-spacing: .03em;
    text-transform: uppercase;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__head {
    text-align: center;
    margin-bottom: 60px;
}
.services__head h2 { max-width: 700px; margin: 0 auto 16px; }
.services__head p {
    color: var(--ink-2);
    max-width: 580px;
    margin: 0 auto;
    font-size: 17px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: all .35s ease;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all .35s ease;
}
.service-card:hover .service-card__icon {
    background: var(--blue);
    color: #fff;
    transform: scale(1.1);
}
.service-card h3 { margin-bottom: 10px; font-size: 22px; }
.service-card p { color: var(--ink-2); font-size: 15px; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners__head {
    text-align: center;
    margin-bottom: 50px;
}
.partners__visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    background: #fff;
    padding: 30px 20px;
}
.partners__visual img {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: block;
}
.partners__marquee {
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
    margin-top: 40px;
}
.partners__track {
    display: flex;
    gap: 60px;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.partners__track:hover { animation-play-state: paused; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.partners__chip {
    flex-shrink: 0;
    padding: 14px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--ink-2);
    transition: all .3s ease;
    box-shadow: 0 4px 14px rgba(30,58,138,.04);
}
.partners__chip:hover {
    color: var(--blue);
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.partners__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 30px;
}
.partners__item {
    aspect-ratio: 16/10;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ink-2);
    transition: all .35s ease;
    cursor: pointer;
    text-align: center;
}
.partners__item:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: var(--shadow-pop);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.gallery__item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--paper-3);
}
.gallery__item--tall { aspect-ratio: 3/4; }
.gallery__item--wide { aspect-ratio: 16/9; grid-column: span 2; }
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(14,18,48,.7) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item-caption {
    position: absolute;
    bottom: 18px; left: 20px; right: 20px;
    color: #fff;
    z-index: 2;
    transform: translateY(10px);
    opacity: 0;
    transition: all .4s ease;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
}
.gallery__item:hover .gallery__item-caption { transform: translateY(0); opacity: 1; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(8,10,28,.94);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox__close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
}
.lightbox__nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 80px 60px;
    background: var(--grad-primary);
    color: #fff;
    text-align: center;
}
.cta-block::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--magenta) 0%, transparent 70%);
    opacity: .35;
}
.cta-block::after {
    content: '';
    position: absolute;
    bottom: -50%; left: -20%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blue-3) 0%, transparent 70%);
    opacity: .4;
}
.cta-block > * { position: relative; z-index: 2; }
.cta-block h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 700px; margin: 0 auto 18px; }
.cta-block p { max-width: 540px; margin: 0 auto 32px; color: rgba(255,255,255,.85); font-size: 17px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,.78);
    padding: 0 0 30px;
    margin-top: 80px;
}

.footer__top {
    background: var(--grad-primary);
    padding: 70px 0;
    margin-bottom: 70px;
    position: relative;
    overflow: hidden;
}
.footer__top::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236,0,140,.4) 0%, transparent 70%);
}
.footer__top-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}
.footer__19ans {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1;
    max-width: 380px;
}
.footer__19ans img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.footer__19ans:hover img { transform: scale(1.06); }
.footer__19ans-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shineMove 3s ease-in-out infinite;
}
@keyframes shineMove {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}
.footer__19ans-text { color: #fff; }
.footer__19ans-text .footer__eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .15em;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
}
.footer__19ans-text h2 {
    color: #fff;
    margin-bottom: 16px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.footer__19ans-text h2 .text-accent { color: var(--magenta-2); }
.footer__19ans-text p {
    margin-bottom: 24px;
    color: rgba(255,255,255,.85);
    max-width: 480px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer__brand img {
    height: 50px;
    margin-bottom: 18px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 10px;
}
.footer__pitch {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.65);
    margin-bottom: 22px;
}
.footer__visitors {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
}
.footer__visitors-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
}
.footer__visitors-count {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--magenta-2);
}

.footer__col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: .02em;
}
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    transition: color .2s ease;
}
.footer__col ul li a:hover { color: var(--magenta-2); }

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.55;
}
.footer__contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--magenta-2);
}

.footer__social {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}
.footer__social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .25s ease;
}
.footer__social a:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    transform: translateY(-3px);
}
.footer__newsletter-pitch {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-bottom: 14px;
    line-height: 1.5;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}
.footer__legal { font-style: italic; }

/* ============================================================
   FORMS
   ============================================================ */
.form { display: grid; gap: 18px; }
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: .02em;
}
.form__field label .req { color: var(--magenta); }
.form__field input,
.form__field textarea,
.form__field select {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    transition: all .2s ease;
    width: 100%;
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-light);
}
.form__field textarea { min-height: 140px; resize: vertical; }
.form__field-error {
    color: var(--magenta);
    font-size: 12.5px;
    font-weight: 500;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
    padding: 160px 0 80px;
    background: var(--grad-primary);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(236,0,140,.3) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 700px; }
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.85); }
.page-hero__breadcrumb {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: rgba(255,255,255,.6);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero__breadcrumb a:hover { color: var(--magenta-2); }

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}
.contact__cards { display: grid; gap: 16px; }
.contact-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    transition: all .3s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.contact-card__icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border-radius: 12px;
    background: var(--blue-light);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 6px;
}
.contact-card p {
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.4;
}
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--blue); }

.contact__form-card {
    padding: 40px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.contact__form-card h2 { font-size: 28px; margin-bottom: 8px; }
.contact__form-card p.sub { color: var(--ink-2); margin-bottom: 28px; }

.contact__map {
    margin-top: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 21/9;
    background: var(--paper-3);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   DEVIS — Multi-step
   ============================================================ */
.devis__wrapper {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}

.devis__header {
    padding: 36px 48px 0;
}
.devis__steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}
.devis__steps::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--paper-3);
    z-index: 1;
}
.devis__progress-line {
    position: absolute;
    top: 22px;
    left: 8%;
    height: 2px;
    background: var(--grad-primary);
    z-index: 1;
    transition: width .5s ease;
}
.devis__step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: default;
    flex: 1;
}
.devis__step-number {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--paper-3);
    color: var(--ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    transition: all .35s ease;
}
.devis__step.is-active .devis__step-number {
    background: var(--grad-primary);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow);
}
.devis__step.is-done .devis__step-number {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}
.devis__step-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-3);
    letter-spacing: .03em;
    text-align: center;
    transition: color .25s ease;
}
.devis__step.is-active .devis__step-label,
.devis__step.is-done .devis__step-label { color: var(--ink); }

.devis__panels { padding: 28px 48px 40px; }
.devis__panel { display: none; }
.devis__panel.is-active { display: block; animation: panelIn .4s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.devis__panel-head { margin-bottom: 28px; }
.devis__panel-head h3 { font-size: 24px; margin-bottom: 6px; }
.devis__panel-head p { color: var(--ink-2); font-size: 15px; }

.devis__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    margin-top: 28px;
}

/* Upload */
.dropzone {
    border: 2px dashed var(--line-2);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    transition: all .25s ease;
    cursor: pointer;
    background: var(--paper-2);
}
.dropzone:hover, .dropzone.is-drag {
    border-color: var(--blue);
    background: var(--blue-light);
}
.dropzone__icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropzone strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.dropzone span { font-size: 13.5px; color: var(--ink-2); }
.dropzone input { display: none; }

.dropzone-files {
    margin-top: 18px;
    display: grid;
    gap: 8px;
}
.dropzone-file {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--paper-2);
    border-radius: 10px;
    border: 1px solid var(--line);
    font-size: 14px;
}
.dropzone-file__icon { color: var(--blue); }
.dropzone-file__name { font-weight: 500; flex: 1; }
.dropzone-file__size { color: var(--ink-3); font-size: 12.5px; font-family: 'JetBrains Mono', monospace; }
.dropzone-file__remove {
    border: none;
    background: none;
    color: var(--magenta);
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
}

/* ============================================================
   TOAST / FEEDBACK
   ============================================================ */
.toast {
    position: fixed;
    bottom: 26px; right: 26px;
    z-index: 2000;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid #16a34a;
    padding: 16px 20px 16px 16px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: 420px;
}
.toast__icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.toast__body { font-size: 14px; line-height: 1.5; color: var(--ink); }
.toast__close {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--ink-3);
    line-height: 1;
}

.flash-error {
    padding: 14px 20px;
    background: var(--magenta-soft);
    border: 1px solid var(--magenta);
    border-radius: 12px;
    color: #b91c5c;
    font-size: 14px;
    margin-bottom: 18px;
}

/* WhatsApp floating */
.wa-float {
    position: fixed;
    bottom: 26px; left: 26px;
    z-index: 90;
    width: 58px; height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(37,211,102,.4);
    transition: transform .25s ease, bottom .25s ease;
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 1.6s ease-out infinite;
}
@keyframes waPulse {
    0%   { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mnav {
    display: none;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 95;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 8px 4px;
    box-shadow: 0 18px 40px rgba(14,18,48,.18), 0 4px 12px rgba(14,18,48,.08);
    justify-content: space-around;
    align-items: center;
    gap: 2px;
}
.mnav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .01em;
    border-radius: 14px;
    transition: color .2s ease, background .2s ease, transform .15s ease;
    position: relative;
    min-width: 0;
}
.mnav__item svg {
    width: 22px; height: 22px;
    transition: transform .2s ease;
}
.mnav__item:active { transform: scale(.92); }
.mnav__item.is-active {
    color: var(--blue);
    background: var(--blue-light);
}
.mnav__item.is-active svg { transform: translateY(-1px); }
.mnav__item.is-active::before {
    content: '';
    position: absolute;
    top: 4px; left: 50%;
    transform: translateX(-50%);
    width: 22px; height: 3px;
    background: var(--magenta);
    border-radius: 999px;
}
.mnav__item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* CTA central — bulle saillante au-dessus de la barre */
.mnav__item--cta {
    color: var(--blue);
}
.mnav__item--cta .mnav__cta-bubble {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -28px;
    margin-bottom: 2px;
    box-shadow: 0 10px 22px rgba(30,58,138,.35), 0 0 0 4px #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mnav__item--cta .mnav__cta-bubble svg { width: 22px; height: 22px; }
.mnav__item--cta:hover .mnav__cta-bubble,
.mnav__item--cta:active .mnav__cta-bubble {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(30,58,138,.45), 0 0 0 4px #fff;
}
.mnav__item--cta.is-active::before { display: none; }
.mnav__item--cta.is-active { background: transparent; }

/* Affichage uniquement sur mobile + ajustements pour ne pas masquer le contenu */
@media (max-width: 768px) {
    .mnav { display: flex; }

    /* Espace en bas pour ne pas que la barre cache le footer */
    body { padding-bottom: 90px; }

    /* WhatsApp remonte pour ne pas être sous la barre */
    .wa-float { bottom: 100px; left: 18px; width: 50px; height: 50px; }

    /* Toast remonte aussi */
    .toast { bottom: 100px; }
}

/* iOS safe area (encoche / barre home) */
@supports (padding: max(0px)) {
    @media (max-width: 768px) {
        .mnav { bottom: max(12px, env(safe-area-inset-bottom)); }
        body  { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
    }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .nav__mega { min-width: 560px; }
    .nav__mega-grid { grid-template-columns: 1fr; }
    .about__grid, .footer__top-grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .section { padding: 80px 0; }
    .cta-block { padding: 60px 30px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav__burger { display: flex; }
    .nav__links {
        position: fixed;
        top: 0; right: 0;
        width: min(360px, 90vw);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 28px 28px;
        gap: 8px;
        transform: translateX(100%);
        transition: transform .35s ease;
        box-shadow: -20px 0 60px rgba(0,0,0,.1);
        overflow-y: auto;
    }
    .nav__links.is-open { transform: translateX(0); }
    .nav__link, .nav__cta { width: 100%; }
    .nav__mega {
        position: static;
        transform: none;
        min-width: 0;
        box-shadow: none;
        padding: 8px 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
    }
    .nav__mega.is-open { display: block; }
    .nav__mega::before { display: none; }
    .nav__mega-card { flex-direction: column; }
    .nav__mega-img { width: 100%; height: 140px; }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__top { padding: 50px 0; margin-bottom: 50px; }
    .form__row { grid-template-columns: 1fr; }
    .devis__header, .devis__panels { padding-left: 24px; padding-right: 24px; }
    .devis__step-label { display: none; }
    .gallery__item--wide { grid-column: span 1; }

    .hero__arrow { display: none; }
    .hero__counter { top: 20px; right: 20px; font-size: 11px; }
    .hero__counter strong { font-size: 14px; }
    .hero__scroll { display: none; }

    .contact__form-card { padding: 28px 22px; }
    .toast { left: 16px; right: 16px; bottom: 100px; max-width: none; }
    .wa-float { bottom: 100px; left: 18px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
    .about__stats { grid-template-columns: 1fr; gap: 14px; }
    .footer__top-grid { gap: 32px; }
    .cta-block h2 { font-size: 1.8rem; }
}
