/* ==================================================================
   CmaChanX — Feuille de style principale
   Inspiration : clarté éditoriale, titres serif, bleu nuit, accent vert.
   Sommaire : 1 Variables · 2 Base · 3 Boutons · 4 En-tête · 5 Accueil
   6 Sections · 7 À propos · 8 Services · 9 Réalisations · 10 Fenêtre projet
   11 Avis · 12 Contact · 13 Pied de page · 14 Outil miniatures
   15 Animations · 16 Responsive
   ================================================================== */

/* 1. VARIABLES ---------------------------------------------------- */
:root {
  --ink: #001d2f;
  --ink-soft: #2b4253;
  --muted: #5d6f7d;
  --line: #e2e8ed;
  --line-strong: #cfd9e0;
  --bg: #ffffff;
  --tint: #f6f8f9;
  --sky: #e9f4fb;
  --accent: #0f866c;
  --accent-ink: #0b6d58;
  --accent-soft: #e5f3ee;
  --navy: #0c3956;
  --navy-deep: #001827;
  --star: #f2b01e;
  --danger: #c2413a;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 28px;
  --pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(80px, 11vw, 140px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(0, 29, 47, .06), 0 2px 8px rgba(0, 29, 47, .04);
  --shadow: 0 2px 6px rgba(0, 29, 47, .05), 0 18px 40px -12px rgba(0, 29, 47, .16);
  --shadow-lg: 0 30px 80px -20px rgba(0, 29, 47, .35);
}

/* 2. BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 18px; border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.accent { color: var(--accent); font-style: normal; }
em.accent { font-style: italic; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.stars { display: inline-flex; gap: 2px; color: var(--star); font-size: .8rem; }
.stars .is-off { color: var(--line-strong); }
.stars--light .is-off { color: rgba(255, 255, 255, .22); }

.status-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ddc97; flex: none; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 2s var(--ease-out) infinite; }

/* 3. BOUTONS ------------------------------------------------------ */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font-size: .9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn i { font-size: .85em; transition: transform .3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:hover i.fa-arrow-up-right-from-square { transform: translate(2px, -2px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 40px; padding: 0 20px; font-size: .875rem; }
.btn--lg { --h: 56px; padding: 0 32px; font-size: 1rem; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(15, 134, 108, .7); }
.btn--outline { border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--text { padding-inline: 6px; color: var(--ink); background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 6px calc(50% + 14px); background-repeat: no-repeat; }
.btn--text.btn--lg { background-position: 6px calc(50% + 15px); }
.btn--text:hover { background-size: calc(100% - 12px) 1.5px; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.round-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: inline-grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .28); color: #fff;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.round-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* 4. EN-TÊTE ------------------------------------------------------ */
.announce { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: .875rem; }
.announce__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.announce__text { display: flex; align-items: center; gap: 10px; }
.announce__text strong { color: #fff; font-weight: 600; }
.announce__sep { opacity: .4; }
.announce__link { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: var(--pill); background: #fff; color: var(--ink); font-weight: 600; font-size: .8125rem; transition: background-color .25s; }
.announce__link:hover { background: var(--accent-soft); }
.announce__link i { font-size: .75em; transition: transform .3s var(--ease); }
.announce__link:hover i { transform: translateX(3px); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-color: var(--line); }
.site-header { transition: transform .4s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__logo { width: auto; height: 26px; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; }
.brand--light { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: var(--pill);
  font-size: .9375rem; font-weight: 500; color: var(--ink);
  transition: background-color .2s var(--ease), color .2s;
}
.nav__link:hover, .nav__group.is-open .nav__trigger { background: rgba(0, 29, 47, .05); }
.nav__link.is-active { color: var(--accent); }
.nav__trigger i { font-size: .65rem; transition: transform .3s var(--ease); }
.nav__group { position: relative; }
.nav__group.is-open .nav__trigger i { transform: rotate(180deg); }
.nav__cta-mobile { display: none; }

.dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 280px;
  padding: 8px; border-radius: var(--r); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav__group.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__item { display: block; padding: 12px 14px; border-radius: var(--r-sm); transition: background-color .2s; }
.dropdown__item:hover { background: var(--tint); }
.dropdown__title { display: block; font-weight: 600; color: var(--ink); font-size: .9375rem; }
.dropdown__desc { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.5; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* 5. ACCUEIL (HERO) ----------------------------------------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(15, 134, 108, .10), transparent 70%),
    radial-gradient(70% 80% at 10% 0%, #dcefff, transparent 70%),
    linear-gradient(180deg, var(--sky) 0%, #f5fafd 55%, #fff 100%);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em;
  margin-bottom: 26px; text-wrap: balance;
}
.hero__lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.7; color: var(--ink-soft); max-width: 36em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Plein écran, sans image */
.hero--full { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + clamp(32px, 6vh, 72px)); padding-bottom: clamp(100px, 12vh, 140px); }
.hero__inner { position: relative; }

/* Fond animé : halos lumineux qui dérivent, grille fine, halo qui suit la souris */
.hero__orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero__orb--1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: -12vw; top: -18vw; background: radial-gradient(circle, #bfe3ff 0%, transparent 70%); animation: drift1 22s ease-in-out infinite alternate; }
.hero__orb--2 { width: 40vw; height: 40vw; max-width: 620px; max-height: 620px; right: -10vw; top: 6vh; background: radial-gradient(circle, rgba(15, 134, 108, .28) 0%, transparent 70%); animation: drift2 26s ease-in-out infinite alternate; }
.hero__orb--3 { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 30vw; bottom: -20vw; background: radial-gradient(circle, rgba(12, 57, 86, .16) 0%, transparent 70%); animation: drift3 30s ease-in-out infinite alternate; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0, 29, 47, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 29, 47, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  animation: gridMove 40s linear infinite;
}
.hero__spot { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(255, 255, 255, .75), transparent 60%); opacity: 0; transition: opacity .6s var(--ease); }
.hero:hover .hero__spot { opacity: 1; }

.hero__hello { display: inline-flex; align-items: center; gap: 12px; font-size: 1.0625rem; color: var(--ink-soft); margin-bottom: clamp(20px, 3vw, 32px); }
.hero__hello strong { color: var(--ink); font-weight: 600; }
.hero__hello-line { width: 40px; height: 1.5px; background: var(--accent); }

.hero__title--xl {
  font-size: clamp(3rem, 9.6vw, 9.25rem); line-height: .96; letter-spacing: -.04em;
  max-width: none; margin-bottom: clamp(20px, 3vw, 36px); text-wrap: pretty;
}
.hero__title--xl .accent { font-weight: 400; }

/* Métiers en collision : le suivant arrive, percute et pousse le précédent */
.hero__title--roles { font-size: clamp(3rem, 10.5vw, 10.5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: clamp(20px, 3vw, 36px); }
.roles { position: relative; display: block; height: 1.18em; font-size: calc(100% * var(--roles-scale, 1)); }
.roles__item { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform-origin: 0% 85%; will-change: transform, opacity, filter; }
.roles__item.is-visible { opacity: 1; }
.roles__item em { font-style: italic; font-weight: 400; color: var(--accent); }
.roles__spark { position: absolute; top: .12em; left: 0; width: .05em; min-width: 3px; height: .86em; border-radius: 4px; background: var(--accent); opacity: 0; transform: scaleY(0); pointer-events: none; }
.no-js .roles__item:first-child { opacity: 1; }

/* Mots révélés un par un */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.word__inner { display: inline-block; }
.js [data-split] .word__inner { transform: translateY(108%); }
.js.is-ready [data-split] .word__inner { animation: wordUp 1.1s var(--ease-out) both; animation-delay: calc(var(--w, 0) * 70ms + 250ms); }

/* Spécialités qui défilent */
.hero__rotator { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: clamp(1.25rem, 2.2vw, 1.75rem); color: var(--muted); margin-bottom: clamp(32px, 4.5vw, 56px); }
.hero__rotator-label { font-family: var(--serif); font-style: italic; }
.rotator { position: relative; display: inline-grid; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.rotator::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform-origin: left; animation: underline 2.8s var(--ease) infinite; }
.rotator__item { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.rotator__item.is-active { opacity: 1; transform: none; }
.rotator__item.is-leaving { opacity: 0; transform: translateY(-60%); }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; padding-bottom: clamp(36px, 5vw, 56px); }
.hero__bottom .hero__lead { margin-bottom: 0; max-width: 34em; }

.hero__stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid rgba(0, 29, 47, .12); }
.hero__stats > div { padding: 22px 20px 0 0; }
.hero__stats > div + div { padding-left: 24px; border-left: 1px solid rgba(0, 29, 47, .12); }
.hero__stats dt { font-size: .8125rem; color: var(--muted); margin-bottom: 4px; }
.hero__stats dd { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: 1; color: var(--ink); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero__stats dd small { font-size: .45em; color: var(--muted); margin-left: 2px; letter-spacing: 0; }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.hero__scroll:hover { color: var(--ink); }
.hero__scroll-line { position: relative; width: 1.5px; height: 44px; background: rgba(0, 29, 47, .14); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent); animation: scrollLine 2s var(--ease) infinite; }

@keyframes drift1 { to { transform: translate(14vw, 10vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 14vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -12vh) scale(1.2); } }
@keyframes gridMove { to { background-position: 72px 72px; } }
@keyframes wordUp { from { transform: translateY(108%); } to { transform: none; } }
@keyframes underline { 0% { transform: scaleX(0); } 45%, 80% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Bandeau défilant des compétences */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: #fff; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.625rem); color: var(--ink); white-space: nowrap; }
.marquee__item::after { content: ""; width: 6px; height: 6px; margin: 0 clamp(28px, 4vw, 48px); border-radius: 50%; background: var(--accent); opacity: .7; }

/* 6. SECTIONS ----------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--tint { background: var(--tint); }
.section--flush { padding-top: clamp(48px, 6vw, 72px); padding-bottom: 0; }
.section--dark { background: linear-gradient(183deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 3.8vw, 3.125rem); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.section-title--sm { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.section-lead { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); }
.section-head--dark .eyebrow { color: #7fd8bd; }
.section-head--dark .section-lead { color: rgba(255, 255, 255, .7); }
.section-head--dark .accent { color: #7fd8bd; }

/* 7. À PROPOS (QUI SUIS-JE) --------------------------------------- */
.about--portrait { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.about__text .section-head { margin-bottom: 36px; }

.portrait { position: relative; width: min(100%, 480px); justify-self: start; }
.portrait__frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #dfe9ef; box-shadow: var(--shadow-lg); }
.portrait__frame img { width: 100%; height: 118%; object-fit: cover; object-position: center 25%; transform: translateY(var(--py, -6%)); will-change: transform; }
.portrait__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); pointer-events: none; }
.portrait__caption {
  position: absolute; right: -32px; bottom: 36px; max-width: 280px;
  display: grid; gap: 2px; padding: 16px 20px 16px 22px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r); box-shadow: var(--shadow); border-left: 3px solid var(--accent);
}
.portrait__caption-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.portrait__caption-text { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.portrait__badge { position: absolute; left: 20px; top: 20px; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pill); background: rgba(0, 29, 47, .78); color: #fff; font-size: .8125rem; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Dévoilement du portrait */
.js .reveal-clip .portrait__frame { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.4s var(--ease-out); }
.js .reveal-clip.is-visible .portrait__frame { clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js .reveal-clip .portrait__caption, .js .reveal-clip .portrait__badge { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .9s, transform .9s var(--ease-out) .9s; }
.js .reveal-clip.is-visible .portrait__caption, .js .reveal-clip.is-visible .portrait__badge { opacity: 1; transform: none; }

.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-bottom: 36px; }
.facts__item { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.facts__item:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts__label { display: block; font-size: .8125rem; color: var(--muted); margin-bottom: 2px; }
.facts__value { display: block; font-weight: 500; color: var(--ink); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* COMPÉTENCES ----------------------------------------------------- */
.skills-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.skills-layout__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.skills-layout .section-head { margin-bottom: 40px; }
.skills-average { display: flex; align-items: center; gap: 20px; }
.skills-average__value { font-family: var(--serif); font-size: clamp(3.5rem, 6vw, 5rem); line-height: .9; color: #fff; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.skills-average__value small { font-size: .45em; color: #7fd8bd; margin-left: 2px; }
.skills-average__label { max-width: 12em; font-size: .9375rem; color: rgba(255, 255, 255, .65); }

.skill-list { border-top: 1px solid rgba(255, 255, 255, .14); }
.skill-row {
  position: relative; display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 4px 16px;
  padding: 26px 0 24px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.skill-row__index { font-size: .8125rem; color: rgba(255, 255, 255, .45); font-variant-numeric: tabular-nums; }
.skill-row__name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.15; color: #fff; letter-spacing: -.015em; transition: color .3s var(--ease), transform .5s var(--ease-out); }
.skill-row__value { font-size: 1rem; font-weight: 600; color: #7fd8bd; font-variant-numeric: tabular-nums; }
.skill-row__bar { grid-column: 2 / -1; height: 2px; margin-top: 14px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; }
.skill-row__bar span { display: block; height: 100%; width: calc(var(--value) * 1%); background: linear-gradient(90deg, #0f866c, #7fd8bd); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-out) .2s; }
.skill-row.is-visible .skill-row__bar span, .no-js .skill-row__bar span { transform: scaleX(1); }
.skill-row:hover .skill-row__name { color: #7fd8bd; transform: translateX(8px); }

/* 8. SERVICES ----------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.service { position: relative; padding: 36px 32px 40px 0; border-bottom: 1px solid var(--line-strong); }
.service:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line-strong); }
.service::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.service:hover::before { transform: scaleX(1); }
.service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--accent); font-size: 1.15rem; box-shadow: var(--shadow-sm); transition: background-color .3s var(--ease), color .3s var(--ease); }
.service:hover .service__icon { background: var(--accent); color: #fff; }
.service__num { font-family: var(--serif); font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.service__title { font-family: var(--serif); font-size: 1.625rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 12px; }
.service__text { color: var(--muted); font-size: .9688rem; }
.service { display: flex; flex-direction: column; }
.service__text { margin-bottom: 22px; }
.service__order {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto;
  height: 42px; padding: 0 18px; border-radius: var(--pill);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: .875rem; font-weight: 600;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.service__order i { font-size: .75em; transition: transform .3s var(--ease); }
.service__order:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.service__order:hover i { transform: translateX(4px); }

/* 9. RÉALISATIONS ------------------------------------------------- */
#projets { background: linear-gradient(180deg, #fff 0%, #f3f8fb 45%, #fff 100%); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 5vw, 60px); }
.work-head .section-head { margin-bottom: 0; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); flex: none; }
.tabs__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--pill); font-size: .875rem; font-weight: 500; color: var(--ink-soft); transition: background-color .25s var(--ease), color .25s var(--ease); }
.tabs__btn span { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-active { background: var(--ink); color: #fff; }
.tabs__btn.is-active span { color: rgba(255, 255, 255, .7); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.work { display: flex; }
.work.is-hidden, .work.is-extra { display: none; }
.work.is-entering { animation: workIn .55s var(--ease-out) both; animation-delay: calc(var(--n, 0) * 45ms); }
.work-more { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 72px); }
.work-more[hidden] { display: none; }

/* Carte de projet : douce, aérée, réagit au survol */
.wcard {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  padding: 10px; border-radius: 24px; background: #fff;
  border: 1px solid rgba(0, 29, 47, .06);
  box-shadow: 0 1px 2px rgba(0, 29, 47, .04), 0 10px 30px -14px rgba(0, 29, 47, .14);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
}
.wcard:hover, .wcard:focus-visible { transform: translateY(-6px); border-color: rgba(15, 134, 108, .18); box-shadow: 0 2px 4px rgba(0, 29, 47, .04), 0 28px 50px -20px rgba(0, 29, 47, .28); }
.wcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #e7f1f7, #f4f8fa); }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.wcard:hover .wcard__media img { transform: scale(1.06); }
.wcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 24, 39, .35)); opacity: 0; transition: opacity .5s var(--ease); }
.wcard:hover .wcard__media::after { opacity: 1; }
.wcard__chip { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); font-size: .75rem; font-weight: 600; }
.wcard__play {
  position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%; padding-left: 3px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .95rem;
  box-shadow: 0 10px 30px -8px rgba(0, 24, 39, .5);
  transform: translate(-50%, -50%); transition: transform .45s var(--ease-out), background-color .3s, color .3s;
}
.wcard__play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); animation: pulseRing 2.4s var(--ease-out) infinite; }
.wcard:hover .wcard__play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); color: #fff; }
.wcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 12px 8px; }
.wcard__meta { display: flex; align-items: center; gap: 10px; min-height: 18px; font-size: .78rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.wcard__type { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; }
.wcard__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; color: var(--ink); letter-spacing: -.01em; margin-bottom: 8px; transition: color .25s; }
.wcard:hover .wcard__title { color: var(--accent-ink); }
.wcard__text { font-size: .9375rem; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 18px; }
.wcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.wcard__tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.wcard__tags span { padding: 4px 10px; border-radius: var(--pill); background: var(--tint); color: var(--ink-soft); font-size: .75rem; white-space: nowrap; }
.wcard__arrow { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: .8rem; transition: background-color .3s, color .3s, transform .4s var(--ease-out); }
.wcard:hover .wcard__arrow { background: var(--accent); color: #fff; transform: rotate(-45deg); }

/* 10. FENÊTRE PROJET --------------------------------------------- */
.modal {
  width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: var(--r-lg);
  background: #fff; color: var(--ink-soft); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(0, 24, 39, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .45s var(--ease-out); }
.modal[open]::backdrop { animation: fadeIn .35s var(--ease); }
.modal.is-closing { animation: modalOut .25s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fadeOut .25s var(--ease) forwards; }
.modal__content { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), background-color .2s; }
.modal__close:hover { transform: rotate(90deg); background: #fff; }

.project { display: grid; grid-template-columns: 1.15fr 1fr; }
.project__media { background: var(--ink); display: grid; align-items: center; min-height: 100%; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__video { position: relative; aspect-ratio: 16 / 9; width: 100%; }
.project__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project__body { padding: clamp(32px, 4vw, 52px); }
.project__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 3vw, 2.375rem); letter-spacing: -.02em; margin-bottom: 18px; padding-right: 40px; }
.project__text { margin-bottom: 28px; }
.project__label { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.chips li { padding: 5px 12px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); font-size: .8125rem; font-weight: 500; }
.chips--quiet li { background: var(--tint); color: var(--ink-soft); border: 1px solid var(--line); }

/* 11. AVIS ------------------------------------------------------- */
.reviews-section { overflow: hidden; }
.reviews-section::before { content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(127, 216, 189, .14), transparent 65%); pointer-events: none; }
.reviews { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.reviews .section-head { margin-bottom: 32px; }

.score-card { padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.score-card__top { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.score-card__value { font-family: var(--serif); font-size: 4.25rem; line-height: .9; color: #fff; font-weight: 500; letter-spacing: -.03em; }
.score-card .stars { font-size: 1rem; margin-bottom: 4px; }
.score-card__label { display: block; font-size: .875rem; color: rgba(255, 255, 255, .65); }
.score-bars { display: grid; gap: 8px; margin-bottom: 22px; }
.score-bars li { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: 12px; font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.score-bars__label i { font-size: .65rem; color: var(--star); }
.score-bars__track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.score-bars__track span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--star); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .3s; }
.score-card.is-visible .score-bars__track span, .no-js .score-bars__track span { transform: scaleX(1); }
.score-bars__count { text-align: right; font-variant-numeric: tabular-nums; }
.score-card__link { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: #7fd8bd; }
.score-card__link:hover { color: #fff; }
.score-card__link i { font-size: .75em; }

.quote-card {
  position: relative; padding: clamp(32px, 4.5vw, 56px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden;
}
.quote-card__mark { position: absolute; right: 28px; top: -28px; font-family: var(--serif); font-size: 15rem; line-height: 1; color: rgba(127, 216, 189, .16); pointer-events: none; user-select: none; }
.quotes__viewport { position: relative; display: grid; min-height: 260px; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .6s var(--ease), transform .8s var(--ease-out), visibility .6s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote .stars { font-size: .9rem; margin-bottom: 22px; }
.quote__text p { font-family: var(--serif); font-size: clamp(1.375rem, 2.3vw, 1.875rem); line-height: 1.4; color: #fff; font-weight: 400; letter-spacing: -.01em; }
.quote__author { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: .95rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--ring { box-shadow: 0 0 0 2px rgba(15, 31, 47, 1), 0 0 0 4px #7fd8bd; }
.quote__name { display: block; font-weight: 600; color: #fff; }
.quote__date { display: block; font-size: .8125rem; color: rgba(255, 255, 255, .55); }

.quotes__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.quotes__people { display: flex; align-items: center; }
.person { position: relative; width: 42px; height: 42px; margin-left: -8px; border-radius: 50%; overflow: hidden; border: 2px solid #0b2b42; background: #1d4560; color: #fff; font-size: .75rem; font-weight: 600; opacity: .55; transition: opacity .3s, transform .35s var(--ease-out), border-color .3s; }
.person:first-child { margin-left: 0; }
.person img { width: 100%; height: 100%; object-fit: cover; }
.person span { display: grid; place-items: center; width: 100%; height: 100%; }
.person:hover { opacity: .9; transform: translateY(-3px); z-index: 2; }
.person.is-active { opacity: 1; border-color: #7fd8bd; transform: translateY(-3px) scale(1.08); z-index: 3; }
.quotes__arrows { display: flex; gap: 10px; }
.quotes__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .06); }
.quotes__progress span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #0f866c, #7fd8bd); transform-origin: left; transform: scaleX(0); }

/* TÉMOIGNAGES VIDÉO ----------------------------------------------- */
.videos-section { background: linear-gradient(180deg, #f6f9fb, #fff); overflow: hidden; }
.videos-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); }
.videos-head .section-head { margin-bottom: 0; }
.videos-head__arrows { display: flex; gap: 10px; flex: none; }
.round-btn--ink { border-color: var(--line-strong); color: var(--ink); }
.round-btn--ink:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

.vcarousel { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2)); --h: clamp(260px, 24vw, 330px); }
.vcarousel__track {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 8px var(--edge) 24px; scrollbar-width: none; cursor: grab;
}
.vcarousel__track::-webkit-scrollbar { display: none; }
.vcarousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.vcarousel__track.is-dragging .vcard__btn { pointer-events: none; }
.vcard { flex: none; scroll-snap-align: start; height: var(--h); aspect-ratio: 16 / 9; }
.vcard--portrait { aspect-ratio: 9 / 16; }
.vcard__btn { position: relative; display: block; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #0c2233; text-align: left; box-shadow: 0 24px 50px -28px rgba(0, 29, 47, .55); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.vcard__btn:hover, .vcard__btn:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(0, 29, 47, .65); }
.vcard__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.vcard__btn:hover img { transform: scale(1.05); }
.vcard__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 24, 39, 0) 35%, rgba(0, 24, 39, .85) 100%); }
.vcard__play { position: absolute; left: 50%; top: 45%; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; padding-left: 3px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 1rem; transform: translate(-50%, -50%); transition: transform .45s var(--ease-out), background-color .3s, color .3s; }
.vcard__play::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .55); animation: pulseRing 2.4s var(--ease-out) infinite; }
.vcard__btn:hover .vcard__play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent); color: #fff; }
.vcard__info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 22px 24px; color: #fff; }
.vcard__quote { font-family: var(--serif); font-size: 1.125rem; line-height: 1.35; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard--portrait .vcard__quote { font-size: 1rem; -webkit-line-clamp: 3; }
.vcard__name { font-weight: 600; }
.vcard__role { font-size: .8125rem; color: rgba(255, 255, 255, .7); }
.vcarousel__progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.vcarousel__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s linear; }

/* Fenêtre de commande d'un service */
.modal--order { width: min(620px, calc(100% - 32px)); }
.order { padding: clamp(24px, 3.4vw, 36px); }
.order__head { display: flex; align-items: center; gap: 14px; padding-right: 48px; margin-bottom: 10px; }
.order__head .eyebrow { margin-bottom: 2px; }
.order__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 1.1rem; }
.order__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 1.875rem); letter-spacing: -.02em; line-height: 1.15; }
.order__intro { color: var(--muted); font-size: .9375rem; margin-bottom: 20px; }
.order__form { display: grid; gap: 18px; }
.order__form .form__row { gap: 14px; }
.order__form textarea.field__input { min-height: 96px; }
.order__form .choice__item span { height: 34px; padding: 0 14px; }
.order__form .field__label { font-size: .875rem; }
.order__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 2px; }
.order__done { text-align: center; padding: 20px 0 8px; }
.order__done .order__title { margin-bottom: 10px; }
.order__check { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; margin-bottom: 18px; animation: pop .6s var(--ease-out); }
.req { color: var(--danger); }
.opt { color: var(--muted); font-weight: 400; font-size: .8125rem; }
.field.is-invalid .choice__item span { border-color: var(--danger); }
.field.is-invalid .field__input, .field__input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(194, 65, 58, .1); }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }

/* Fenêtre vidéo */
.modal--video { width: min(1100px, calc(100% - 32px)); background: #000; }
.modal--video.modal--portrait { width: min(420px, calc(100% - 32px)); }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.modal--portrait .video-modal__frame { aspect-ratio: 9 / 16; max-height: calc(100dvh - 120px); margin-inline: auto; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__caption { padding: 14px 20px; color: rgba(255, 255, 255, .85); font-size: .9375rem; background: #0b1621; }

@keyframes pulseRing { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* 12. CONTACT ----------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.contact .section-head { margin-bottom: 40px; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list__item { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
.contact-list__label { display: block; font-size: .8125rem; color: var(--muted); }
.contact-list__value { display: block; font-weight: 500; color: var(--ink); font-size: 1.0625rem; overflow-wrap: anywhere; }
a.contact-list__value { transition: color .2s; }
a.contact-list__value:hover { color: var(--accent); }

.form { padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: 8px; }
.field__label { font-size: .875rem; font-weight: 500; color: var(--ink); }
.field__input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field__input::placeholder { color: #9aa8b3; }
.field__input:hover { border-color: #b6c4ce; }
.field__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 134, 108, .12); }
.field__input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(194, 65, 58, .1); }
textarea.field__input { resize: vertical; min-height: 140px; line-height: 1.6; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice__item { position: relative; }
.choice__item input { position: absolute; opacity: 0; pointer-events: none; }
.choice__item span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1.5px solid var(--line-strong); font-size: .875rem; color: var(--ink-soft); cursor: pointer; transition: all .2s var(--ease); }
.choice__item span:hover { border-color: var(--ink); color: var(--ink); }
.choice__item input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice__item input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form__note { font-size: .875rem; color: var(--muted); }
.form__status { font-size: .9375rem; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-success { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.form__status.is-error { padding: 14px 16px; border-radius: 12px; background: #fbeceb; color: var(--danger); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading i { animation: spin 1s linear infinite; }

/* 13. PIED DE PAGE ------------------------------------------------ */
.site-footer { background: linear-gradient(183deg, var(--navy) 0%, var(--navy-deep) 100%); color: rgba(255, 255, 255, .7); padding-top: clamp(72px, 9vw, 110px); }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-cta__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.025em; color: #fff; max-width: 12em; }
.footer-cta__title .accent { color: #7fd8bd; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-col__text { margin-top: 18px; font-size: .9375rem; max-width: 32em; }
.footer-col__title { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; font-size: .9375rem; }
.footer-links a { color: rgba(255, 255, 255, .82); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links--plain { overflow-wrap: anywhere; }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background-color .25s, color .25s, border-color .25s; }
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .82); transition: color .2s; }
.to-top:hover { color: #fff; }
.to-top i { font-size: .75em; transition: transform .3s var(--ease); }
.to-top:hover i { transform: translateY(-3px); }

.float-chat {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px;
  border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 14px 30px -10px rgba(0, 24, 39, .55);
  transform: translateY(calc(100% + 40px)); transition: transform .5s var(--ease-out), background-color .25s;
}
.float-chat.is-visible { transform: none; }
.float-chat:hover { background: var(--accent); }
.float-chat i { font-size: 1.25rem; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; max-width: calc(100% - 40px); padding: 14px 22px; border-radius: var(--pill); background: var(--ink); color: #fff; font-size: .9375rem; box-shadow: var(--shadow-lg); transform: translate(-50%, 160%); transition: transform .45s var(--ease-out); }
.toast.is-visible { transform: translate(-50%, 0); }

/* 14. OUTIL MINIATURES ------------------------------------------- */
.hero--tool { text-align: center; padding-bottom: clamp(64px, 8vw, 100px); }
.tool { max-width: 860px; }
.tool .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.tool .hero__lead { margin-inline: auto; }
.search { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px; margin: 8px auto 0; max-width: 720px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(15, 134, 108, .12), var(--shadow); }
.search__icon { position: absolute; left: 24px; color: #e62117; font-size: 1.15rem; }
.search__input { flex: 1; min-width: 0; height: 52px; padding: 0 12px 0 48px; border: 0; background: transparent; font-size: 1rem; }
.search__input:focus { outline: none; }
.search .btn { --h: 52px; }
.search__hint { margin-top: 16px; font-size: .875rem; color: var(--muted); }
.search__hint.is-error { color: var(--danger); }

.thumb-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; padding-bottom: clamp(64px, 8vw, 100px); }
.thumb { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: #fff; animation: workIn .6s var(--ease-out) both; animation-delay: calc(var(--i) * 70ms); }
.thumb:first-child { grid-column: span 4; grid-row: span 2; }
.thumb__media { display: block; background: var(--tint); aspect-ratio: 16 / 9; overflow: hidden; flex: 1; }
.thumb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.thumb__media:hover img { transform: scale(1.04); }
.thumb__body { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--line); }
.thumb__title { font-weight: 600; color: var(--ink); font-size: .9375rem; line-height: 1.3; }
.thumb__size { font-size: .8125rem; color: var(--muted); }
.thumb.is-missing { opacity: .45; }
.thumb.is-missing .btn { pointer-events: none; }
.thumb.is-missing .thumb__size::after { content: " · non publiée"; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 32px 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-strong); }
.step__num { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--accent); }
.step__title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 18px 0 8px; }
.step__text { color: var(--muted); }

/* 15. ANIMATIONS -------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js [data-hero-item] { opacity: 0; transform: translateY(22px); }
.js .is-ready [data-hero-item], .js.is-ready [data-hero-item] { animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 1ms); }


@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round var(--r-lg)); } to { opacity: 1; clip-path: inset(0 0 0 0 round var(--r-lg)); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes workIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-split] .word__inner, .js.is-ready [data-split] .word__inner, .js [data-hero-item], .js.is-ready [data-hero-item] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .js .reveal, .js [data-hero-item], .js [data-split] .word__inner, .js .reveal-clip .portrait__frame, .js .reveal-clip .portrait__caption, .js .reveal-clip .portrait__badge { opacity: 1; transform: none; clip-path: none; }
  .marquee__track, .hero__orb, .hero__grid, .rotator::after, .hero__scroll-line::after, .wcard__play::before, .vcard__play::before { animation: none; }
  .score-bars__track span { transform: scaleX(1); }
  .skill-row__bar span { transform: scaleX(1); }
}

/* 16. RESPONSIVE -------------------------------------------------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 32px; border-left: 1px solid var(--line-strong); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-head, .videos-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; margin-right: -10px; }
  .site-header__inner { gap: 16px; }
  .site-header__actions { margin-left: auto; }
  .site-header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 auto 0; z-index: 99;
    max-height: calc(100dvh - var(--nav-top, var(--header-h))); overflow-y: auto;
    display: flex; flex-direction: column; gap: 24px;
    padding: 16px var(--gutter) 32px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(0, 29, 47, .2);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .site-header { background: #fff; border-color: var(--line); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; height: 56px; padding: 0 4px; border-radius: 0; font-size: 1.0625rem; justify-content: space-between; }
  .nav__link:hover, .nav__group.is-open .nav__trigger { background: none; }
  .dropdown { position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__group.is-open .dropdown { display: block; }
  .dropdown__item { padding: 10px 4px; }
  .nav__cta-mobile { display: inline-flex; --h: 52px; }
  body.menu-open { overflow: hidden; }

  .about--portrait, .reviews, .contact, .skills-layout { grid-template-columns: 1fr; }
  .skills-layout__aside { position: static; }
  .portrait { width: min(100%, 420px); }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__stats > div:nth-child(n+3) { margin-top: 20px; border-top: 1px solid rgba(0, 29, 47, .12); }
  .footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .announce__text span:not(.status-dot), .announce__sep { display: none; }
  .announce__inner { min-height: 40px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--text { justify-content: flex-start; width: auto; }
  .hero--full { min-height: auto; padding-bottom: 96px; }
  .hero__scroll { display: none; }
  .portrait__caption { right: 12px; left: 12px; bottom: 12px; max-width: none; }
  .facts { grid-template-columns: 1fr; }
  .facts__item:nth-child(2n) { padding-left: 0; border-left: 0; }
  .skill-row { grid-template-columns: 32px 1fr auto; }
  .hero__orb { filter: blur(50px); }
  .services, .work-grid, .steps { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n), .step + .step { padding-left: 0; border-left: 0; }
  .step { padding-right: 0; padding-bottom: 32px; }
  .step + .step { border-top: 1px solid var(--line-strong); }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs__btn { flex: none; }
  .form__row { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-cta__actions, .footer-cta__actions .btn { width: 100%; }
  .float-chat span { display: none; }
  .float-chat { width: 56px; height: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .score-card__value { font-size: 3.5rem; }
  .quote-card__mark { font-size: 10rem; }
  .quotes__nav { flex-wrap: wrap; }
  .vcarousel { --h: 300px; }
  .vcard:not(.vcard--portrait) { height: auto; width: calc(100vw - 2 * var(--gutter)); }
  .search { flex-direction: column; border-radius: var(--r); align-items: stretch; }
  .search__icon { top: 26px; }
  .search .btn { width: 100%; }
  .thumbs { grid-template-columns: 1fr; }
  .thumb, .thumb:first-child { grid-column: auto; grid-row: auto; }
  .modal { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .modal__content { max-height: 100dvh; }
}

/* 17. AUTHENTIFICATION ET ERREURS -------------------------------- */
.auth, .error-page { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 20px; padding: 48px 20px; overflow: hidden; }
.auth__panel { width: min(100%, 440px); padding: clamp(28px, 5vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); animation: rise .8s var(--ease-out) both; }
.auth__brand { margin-bottom: 28px; }
.auth__title { font-family: var(--serif); font-weight: 500; font-size: 2.125rem; letter-spacing: -.02em; margin-bottom: 8px; }
.auth__lead { color: var(--muted); margin-bottom: 24px; }
.auth__form { display: grid; gap: 20px; margin-top: 8px; }
.auth__submit { width: 100%; }
.auth__form .btn--text { justify-self: center; }
.auth__back { font-size: .875rem; }
.auth__back a { color: var(--muted); transition: color .2s; }
.auth__back a:hover { color: var(--ink); }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__link { font-size: .8125rem; color: var(--accent); font-weight: 500; }
.field__link:hover { text-decoration: underline; }
.field__hint { font-size: .8125rem; color: var(--muted); line-height: 1.5; }
.password { position: relative; }
.password .field__input { padding-right: 92px; }
.password__toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 34px; padding: 0 12px; border-radius: var(--pill); font-size: .8125rem; font-weight: 600; color: var(--ink-soft); }
.password__toggle:hover { background: var(--tint); color: var(--ink); }
.strength { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.strength span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--danger); transition: width .35s var(--ease), background-color .35s; }
.strength span[data-level="mid"] { background: var(--star); }
.strength span[data-level="high"] { background: var(--accent); }
.notice { padding: 14px 16px; border-radius: 12px; font-size: .9375rem; line-height: 1.5; margin-bottom: 16px; }
.notice--success { background: var(--accent-soft); color: var(--accent-ink); }
.notice--danger, .notice--error { background: #fbeceb; color: var(--danger); }
.notice--info { background: var(--sky); color: var(--navy); }
.error-page__inner { max-width: 560px; text-align: center; animation: rise .8s var(--ease-out) both; }
.error-page .eyebrow::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.error-page__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -.02em; margin-bottom: 16px; }
.error-page__text { color: var(--muted); font-size: 1.0625rem; margin-bottom: 32px; }


/* 18. OFFRE DU MOMENT --------------------------------------------- */
.nav__link--hot { color: var(--accent); }
.nav__link--hot::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(15, 134, 108, .5); animation: hotPulse 2.2s infinite; vertical-align: middle; }
@keyframes hotPulse { 0% { box-shadow: 0 0 0 0 rgba(15, 134, 108, .45); } 70% { box-shadow: 0 0 0 8px rgba(15, 134, 108, 0); } 100% { box-shadow: 0 0 0 0 rgba(15, 134, 108, 0); } }

.offer { position: relative; overflow: hidden; background: var(--navy-deep); color: rgba(255, 255, 255, .78); padding: var(--section) 0; isolation: isolate; }
.offer__glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 380px at 85% 20%, rgba(15, 134, 108, .35), transparent 70%),
  radial-gradient(520px 420px at 10% 100%, rgba(12, 57, 86, .9), transparent 70%); }
.offer__glow::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.offer__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.eyebrow--light { color: #5fd3b4; }
.offer__title { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 22px; }
.offer__title em { font-style: italic; color: #5fd3b4; }
.offer__text { font-size: 1.0625rem; max-width: 560px; margin-bottom: 26px; }
.offer__points { list-style: none; padding: 0; margin: 0 0 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.offer__points li { display: flex; gap: 10px; align-items: baseline; font-size: .9375rem; color: #fff; }
.offer__points i { color: #5fd3b4; font-size: .8rem; }
.offer__options { display: grid; border-top: 1px solid rgba(255, 255, 255, .14); }
.offer__option { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.offer__option-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #5fd3b4; }
.offer__option-body { display: grid; gap: 2px; }
.offer__option-title { color: #fff; font-weight: 600; }
.offer__option-text { font-size: .875rem; color: rgba(255, 255, 255, .6); line-height: 1.5; }
.btn--accent { background: #5fd3b4; color: var(--navy-deep); }
.btn--accent:hover { background: #fff; color: var(--navy-deep); }
.offer .btn { white-space: nowrap; }

.offer__visual { position: relative; display: grid; justify-items: center; gap: 20px; }
.offer__reel { position: relative; width: 100%; height: clamp(380px, 40vw, 520px); }
.offer__clip { position: absolute; top: 50%; left: 50%; width: 58%; aspect-ratio: 9 / 16; max-height: 100%; border-radius: 22px; overflow: hidden; background: #0b2638; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(255, 255, 255, .12);
  transform: translate(-50%, -50%) translateX(calc((var(--k) - 1) * 46%)) rotate(calc((var(--k) - 1) * 6deg)) scale(calc(1 - (var(--k) - 1) * (var(--k) - 1) * .1)); z-index: calc(3 - (var(--k) - 1) * (var(--k) - 1)); transition: transform .6s var(--ease-out); }
.offer__reel--1 .offer__clip { --k: 1 !important; }
.offer__reel--2 .offer__clip:nth-child(1) { --k: .55 !important; }
.offer__reel--2 .offer__clip:nth-child(2) { --k: 1.45 !important; }
.offer__clip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.offer__clip:hover img { transform: scale(1.05); }
.offer__clip-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-deep); }
.offer__clip-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; text-align: left; color: #fff; font-size: .875rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.offer__more { color: #fff; font-weight: 600; font-size: .9375rem; display: inline-flex; gap: 8px; align-items: center; }
.offer__more:hover { color: #5fd3b4; }

/* Téléphone : image ou vidéo choisie dans l'admin */
.offer__screen--media { display: block; padding: 0; cursor: pointer; }
.offer__screen--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.offer__screen--media:hover img { transform: scale(1.04); }
.offer__screen--media .offer__screen-rec { z-index: 2; }

/* Écran animé quand aucune publicité n'est encore publiée */
.offer__screen { position: relative; width: min(330px, 80%); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; background: linear-gradient(160deg, #0d3550, #04182a); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .75); }
.offer__screen-orb { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .85; }
.offer__screen-orb--a { width: 70%; height: 40%; left: -10%; top: 12%; background: #0f866c; animation: orbA 9s var(--ease) infinite alternate; }
.offer__screen-orb--b { width: 60%; height: 36%; right: -15%; top: 42%; background: #2c6fa3; animation: orbB 11s var(--ease) infinite alternate; }
@keyframes orbA { to { transform: translate(30%, 40%) scale(1.2); } }
@keyframes orbB { to { transform: translate(-40%, -30%) scale(.9); } }
.offer__screen-tag { position: absolute; top: 18px; left: 18px; padding: 4px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.offer__screen-rec { position: absolute; top: 20px; right: 18px; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.offer__screen-rec span { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.offer__screen-wave { position: absolute; left: 18px; right: 18px; bottom: 54px; height: 44px; display: flex; align-items: center; gap: 4px; }
.offer__screen-wave i { flex: 1; height: 30%; border-radius: 2px; background: rgba(255, 255, 255, .55); animation: wave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--w) * -0.13s); }
@keyframes wave { to { height: 100%; } }
.offer__screen-bar { position: absolute; left: 18px; right: 18px; bottom: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.offer__screen-bar span { display: block; height: 100%; width: 100%; background: #5fd3b4; transform-origin: left; animation: progress 6s linear infinite; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Services mis en avant */
.service__tag { align-self: flex-start; margin: 18px 0 -8px; padding: 3px 10px; border-radius: var(--pill); background: var(--accent-soft); color: var(--accent-ink); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

/* Carte d'appel dans l'onglet des publicités */
.work-grid { position: relative; }
.work--cta { grid-column: 1 / -1; }
.wcta { width: 100%; display: grid; justify-items: start; gap: 10px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong); background: var(--tint); }
.wcta__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }
.wcta__title { font-family: var(--serif); font-size: clamp(1.375rem, 2.4vw, 1.75rem); color: var(--ink); }
.wcta__text { max-width: 560px; margin-bottom: 8px; }

@media (max-width: 960px) {
  .offer__inner { grid-template-columns: 1fr; }
  .offer__visual { order: -1; }
  .offer__reel { height: 420px; }
  .offer__screen { width: min(230px, 60%); }
  .nav__link--hot::after { margin-left: auto; }
}
@media (max-width: 640px) {
  .offer__points { grid-template-columns: 1fr; }
  .offer__option { grid-template-columns: auto 1fr; }
  .offer__option .btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .offer__reel { height: 360px; }
  .offer__clip { width: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  .offer__screen-orb, .offer__screen-wave i, .offer__screen-bar span, .offer__screen-rec span, .nav__link--hot::after { animation: none; }
}


/* 19. MAINTENANCE -------------------------------------------------- */
.mnt-banner { position: relative; z-index: 120; padding: 8px var(--gutter); background: #f2b01e; color: var(--navy-deep); font-size: .875rem; font-weight: 600; text-align: center; }
.mnt-banner a { text-decoration: underline; }
.page-maintenance { background: var(--navy-deep); }
.mnt { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 48px var(--gutter); overflow: hidden; color: rgba(255, 255, 255, .75); isolation: isolate; }
.mnt__bg { position: absolute; inset: 0; z-index: -1; }
.mnt__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.mnt__orb--a { width: 520px; height: 520px; left: -140px; top: -120px; background: #0f866c; animation: orbA 14s var(--ease) infinite alternate; }
.mnt__orb--b { width: 460px; height: 460px; right: -160px; bottom: -160px; background: #1f5f8f; animation: orbB 16s var(--ease) infinite alternate; }
.mnt__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.mnt__inner { width: min(720px, 100%); text-align: center; display: grid; justify-items: center; }
.mnt__brand { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 40px; }
.mnt .eyebrow { margin-bottom: 18px; }
.mnt .eyebrow::before { display: none; }
.mnt__title { font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 20px; }
.mnt__title em { color: #5fd3b4; }
.mnt__text { font-size: 1.0625rem; max-width: 560px; margin-bottom: 36px; }
.mnt__count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; width: min(520px, 100%); margin-bottom: 14px; }
.mnt__unit { display: grid; gap: 4px; padding: 18px 8px 14px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.mnt__unit span { font-family: var(--serif); font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.mnt__unit small { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); }
.mnt__when { font-size: .875rem; color: rgba(255, 255, 255, .55); margin-bottom: 40px; }
.mnt__form { width: 100%; padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.mnt__form-title { color: #fff; font-weight: 600; margin-bottom: 14px; }
.mnt__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnt__fields[hidden] { display: none; }
.mnt__input { height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .2); color: #fff; font: inherit; }
.mnt__input::placeholder { color: rgba(255, 255, 255, .45); }
.mnt__input:focus { outline: none; border-color: #5fd3b4; box-shadow: 0 0 0 4px rgba(95, 211, 180, .15); }
.mnt__input--wide, .mnt__fields .btn { grid-column: 1 / -1; }
.mnt__fields .btn { justify-content: center; height: 50px; }
.mnt__status { margin-top: 10px; font-size: .9375rem; }
.mnt__status:empty { display: none; }
.mnt__status.is-success { color: #5fd3b4; }
.mnt__status.is-error { color: #ff9b94; }
.mnt__alt { margin-top: 26px; font-size: .9375rem; }
.mnt__alt a { color: #fff; text-decoration: underline; }
@media (max-width: 560px) { .mnt__fields { grid-template-columns: 1fr; } .mnt__count { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .mnt__orb { animation: none; } }


/* 20. BARRE DE NAVIGATION MOBILE (en bas de l'écran) --------------- */
.tabbar { display: none; }
@media (max-width: 768px) {
  :root { --tabbar-h: 64px; }
  /* La page garde une marge en bas : la barre ne cache jamais le texte, même tout en bas */
  body { padding-bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 95;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: var(--tabbar-h); padding: 6px;
    border-radius: 22px; background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 18px 40px -18px rgba(0, 24, 39, .45);
  }
  .tabbar__item { display: grid; place-items: center; align-content: center; gap: 3px; border-radius: 16px; color: var(--muted); font-size: .6875rem; font-weight: 600; line-height: 1.1; text-align: center; transition: color .2s, background-color .2s; }
  .tabbar__item i { font-size: 1.125rem; }
  .tabbar__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
  .tabbar__item.is-active, .tabbar__item:active { color: var(--ink); background: var(--tint); }
  .tabbar__item--hot { color: var(--accent); }
  .tabbar__item--wa { color: #1f9d55; }
  /* Le bouton WhatsApp flottant est remplacé par la barre */
  .float-chat { display: none; }
  .modal { margin-bottom: calc(var(--tabbar-h) + 10px); }
}

.anchor-top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.auth__alt { margin-top: 14px; text-align: center; font-size: .875rem; }
.auth__alt button.field__link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; cursor: pointer; text-decoration: underline; }
.field__input--code { font-size: 1.75rem; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
