/* =====================================================================
   Vault Prod — Design System
   ---------------------------------------------------------------------
   Mise en page héritée de synima.com, habillée selon la
   « Charte graphique Vault Prod 2026 » (dossier IDENTITE VISUELLE).

   Couleurs (charte, p. 22) :
     violet      #6045F4  →  --violet    (boutons & accents sur fond clair)
     turquoise   #53E6D5  →  --turquoise (accents sur fond sombre)
     glacier     #CDEAEC  →  --glacier   (texte & logo sur fond sombre)
     vert-noir   #0F1C16  →  --ink       (titres, sections sombres)
     gris texte  #666666  →  --muted     (texte courant, p. 20)
     rouge       #FF0000  →  réservé à la signature : jamais sur le site.

   Typographies (charte, p. 19) :
     Titres & sous-titres : Franklin Gothic Demi Italic
     Texte                : Aloevera Display
   ===================================================================== */

@font-face {
  font-family: "Franklin Gothic Demi";
  src: url("../fonts/franklin-gothic-demi-italic.woff2") format("woff2");
  font-style: italic; font-weight: 100 900; font-display: swap;
}
@font-face { font-family: "Aloevera Display"; src: url("../fonts/aloevera-display-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aloevera Display"; src: url("../fonts/aloevera-display-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Aloevera Display"; src: url("../fonts/aloevera-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Aloevera Display"; src: url("../fonts/aloevera-display-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  /* Charte */
  --violet:    #6045F4;
  --turquoise: #53E6D5;
  --glacier:   #CDEAEC;

  /* Fonds */
  --sand:      #FFFFFF;   /* fond de page : blanc, comme les pages de la charte */
  --sand-2:    #F2F2F2;   /* surface claire des gabarits (A4, carte, Instagram) */
  --white:     #FFFFFF;
  --ink:       #0F1C16;   /* vert-noir de la charte — sections sombres */
  --ink-2:     #17271F;   /* surface sombre élevée (même teinte, éclaircie) */

  /* Rôles d'accent */
  --accent:    var(--turquoise);  /* sur fonds sombres */
  --accent-2:  var(--glacier);
  --deep:      var(--violet);     /* sur fonds clairs */
  --deep-2:    var(--ink);        /* survol des boutons violets */

  /* Textes */
  --text:      #0F1C16;
  --muted:     #666666;
  --text-dark: #CDEAEC;
  --muted-dark:rgba(205,234,236,.72);
  --line:      rgba(15,28,22,.14);
  --line-dark: rgba(205,234,236,.18);

  --maxw:      1320px;
  --gutter:    clamp(20px, 4vw, 60px);
  --font:       "Aloevera Display", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-title: "Franklin Gothic Demi", "Franklin Gothic Medium", "Franklin Gothic", "Arial Narrow", Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--sand);
  color: var(--text);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }
::selection { background: var(--turquoise); color: var(--ink); }

/* --- Layout --- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 8vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(46px, 5.5vw, 80px) 0; }
.section--dark { background: var(--ink); color: var(--text-dark); }
.section--alt { background: var(--sand-2); }
.section--dark p { color: var(--muted-dark); }
.center { text-align: center; }
.grid { display: grid; gap: 30px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Typographie --- */
/* Titres : Franklin Gothic Demi Italic, vert-noir (charte p. 20) */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title); font-style: italic; font-weight: 400; font-synthesis: none;
  line-height: 1.02; letter-spacing: -0.012em; color: var(--text);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--text-dark); }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); }
h2 { font-size: clamp(2.15rem, 4.4vw, 3.7rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.1; letter-spacing: -0.005em; }
p  { color: var(--muted); }
.lead { font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--muted); line-height: 1.6; }
.section--dark .lead { color: var(--text-dark); }

/* Les titres « légers » de l'ancienne charte suivent désormais la règle commune */
.title-light { font-weight: 400; }

/* Bandeau surligné (« LA RÉFÉRENCE N1 » des mises en situation) */
.accent {
  color: var(--ink); background: var(--turquoise);
  padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.accent-dark {
  color: var(--glacier); background: var(--violet);
  padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
/* Sur-titre : écriture de la signature (capitales, approche serrée) */
.eyebrow {
  display: block; font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: 1rem; letter-spacing: -0.015em; text-transform: uppercase; color: var(--violet); margin-bottom: 16px;
}
.section--dark .eyebrow { color: var(--turquoise); }
/* Sous-titre : Franklin Gothic Demi Italic (charte p. 19-20) */
.section-intro {
  font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.25; color: var(--text);
  max-width: 62ch; margin: 18px auto 0;
}
.section--dark .section-intro { color: var(--turquoise); }

/* --- Boutons (rectangulaires, pleins) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: 1.08rem; letter-spacing: -0.005em; line-height: 1.1;
  border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; text-align: center;
}
.btn--primary { background: var(--violet); color: #fff; border-color: var(--violet); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--glacier); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--glacier); }
/* Bouton turquoise (couleur du symbole) et fonds sombres */
.section--dark .btn--primary, .btn--accent {
  background: var(--turquoise); border-color: var(--turquoise); color: var(--ink); }
.section--dark .btn--primary:hover, .btn--accent:hover {
  background: var(--ink); border-color: var(--ink); color: var(--turquoise); }
.section--dark .btn--outline, .chevron--filled .btn--outline {
  border-color: var(--glacier); color: var(--glacier); }
.section--dark .btn--outline:hover, .chevron--filled .btn--outline:hover {
  background: var(--glacier); color: var(--ink); }
/* Sur le bandeau turquoise du bloc contact : vert-noir, comme le texte du logo */
.contact-block .btn--accent, .contact-block .btn--primary { background: var(--ink); border-color: var(--ink); color: var(--turquoise); }
.contact-block .btn--accent:hover, .contact-block .btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); }
.contact-block .btn--outline { border-color: var(--ink); color: var(--ink); }
.contact-block .btn--outline:hover { background: var(--ink); color: var(--turquoise); }
/* Sur le violet plein : bouton vert-noir */
.chevron--filled .btn--primary { background: var(--ink); border-color: var(--ink); color: var(--glacier); }
.chevron--filled .btn--primary:hover { background: var(--glacier); border-color: var(--glacier); color: var(--ink); }
.btn--sm { padding: 11px 22px; font-size: 1rem; }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .3s ease, box-shadow .3s ease;
}
/* Bandeau blanc : le logo original (symbole turquoise + texte vert-noir)
   n'est utilisé que sur fond blanc */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header.scrolled { box-shadow: 0 2px 20px rgba(15,28,22,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
/* Logo : jamais sous 100 px de large avec le symbole (charte p. 13) */
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; min-width: 100px; }
.brand span { display: none; }
.nav-info {
  flex: 1 1 auto; text-align: center; font-size: .86rem; font-weight: 500;
  color: var(--ink); letter-spacing: .01em;
}
.nav-info a { transition: color .2s; }
.nav-info a:hover { color: var(--violet); }
.nav-info .sep { opacity: .45; margin: 0 10px; }
.nav-right { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }

/* Bouton menu */
.burger {
  width: 44px; height: 44px; display: grid; place-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 28px; height: 2.5px; background: var(--ink); transition: transform .3s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Panneau de navigation plein écran */
.nav-panel {
  position: fixed; inset: 0; z-index: 190; background: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  overflow-y: auto; padding: 110px var(--gutter) 50px;
}
.nav-panel.open { opacity: 1; visibility: visible; }
.nav-panel-inner { width: 100%; max-width: var(--maxw); display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; }
.nav-panel a { color: var(--ink); display: block; }
.nav-main a {
  font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.22; letter-spacing: -0.015em; transition: color .2s;
}
.nav-main a:hover { color: var(--violet); }
.nav-col h4 { color: var(--ink); font-size: 1rem; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 3px solid var(--turquoise); display: inline-block; }
.nav-col a { font-size: 1rem; padding: 7px 0; color: var(--muted); }
.nav-col a:hover { color: var(--violet); }

/* --- Hero sur fond blanc (logique du logo : blanc, vert-noir, turquoise) --- */
.hero { position: relative; background: #fff; text-align: center; overflow: hidden; }
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1100px; margin: 0 auto;
  padding: clamp(150px, 15vw, 210px) var(--gutter) clamp(60px, 7vw, 100px);
}
.hero-title {
  font-family: var(--font-title); font-style: italic; font-weight: 400; font-synthesis: none;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--ink);
}
/* Segment d'accroche surligné en turquoise, comme sur l'affiche « LA RÉFÉRENCE N1 » */
.hero-title em {
  font-style: italic; color: var(--ink); background: var(--turquoise);
  padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { margin-top: 30px; font-size: clamp(1rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
/* Vidéo / image de bannière, sous le texte, pleine largeur du conteneur */
.hero-media {
  position: relative; width: calc(100% - 2 * var(--gutter)); max-width: var(--maxw);
  margin: 0 auto clamp(50px, 6vw, 90px); aspect-ratio: 21 / 9; overflow: hidden; background: var(--ink);
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media.is-missing { display: none; }
/* Bannière vidéo DERRIÈRE le titre : plein cadre, voile vert-noir, texte clair */
.hero--media {
  display: flex; align-items: center; background: var(--ink); --echo: transparent;
  min-height: clamp(600px, 92vh, 1000px); min-height: clamp(600px, 92svh, 1000px);
}
.hero--media .hero-media {
  position: absolute; inset: 0; z-index: 0; width: 100%; max-width: none; margin: 0; aspect-ratio: auto;
}
.hero--media .hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 65% at 50% 55%, rgba(15,28,22,.60) 0%, rgba(15,28,22,.40) 60%, rgba(15,28,22,.25) 100%),
    linear-gradient(180deg, rgba(15,28,22,.50) 0%, rgba(15,28,22,0) 26%, rgba(15,28,22,0) 72%, rgba(15,28,22,.55) 100%);
}
.hero--media .hero-inner { padding-top: calc(84px + clamp(56px, 7vw, 110px)); padding-bottom: clamp(56px, 7vw, 100px); }
.hero--media .hero-title { color: #fff; text-shadow: 0 2px 28px rgba(0,0,0,.35); }
.hero--media .hero-title em { color: var(--ink); text-shadow: none; }
.hero--media .hero-sub { color: rgba(240,248,248,.94); text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero--media .btn--outline { border-color: #fff; color: #fff; }
.hero--media .btn--outline:hover { background: #fff; color: var(--ink); }

/* --- Section d'introduction : gros titre + colonne de texte --- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.intro-grid h1, .intro-grid h2 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
/* Image sous le titre d'introduction.
   Par défaut (mobile, une seule colonne) : hauteur naturelle.
   Sur grand écran : la colonne de gauche s'étire sur la hauteur de la
   colonne de texte, et l'image occupe l'espace restant sous le titre.
   Elle ne peut donc jamais dépasser le bas des boutons de droite,
   quel que soit le format du fichier (celui-ci est en portrait 3:4). */
.intro-head .intro-media { display: block; width: 100%; height: auto; margin-top: clamp(24px, 3vw, 38px); }

@media (min-width: 1081px) {
  .intro-head { display: flex; flex-direction: column; align-self: stretch; }
  .intro-head .intro-media { flex: 1 1 0; min-height: 0; object-fit: cover; object-position: center; }
}
.intro-text p { color: var(--muted); font-size: 1.04rem; line-height: 1.62; }
.intro-text p b, .intro-text p strong { color: var(--text); }
.intro-text p + p { margin-top: 16px; }
.intro-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.intro-actions .btn { flex: 1 1 190px; }

/* --- Bandeau de logos clients --- */
.logos { padding: clamp(30px, 4vw, 54px) 0 clamp(40px, 5vw, 70px); overflow: hidden; }
.logos-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 86px); width: max-content; animation: slide 46s linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logo-item { flex: 0 0 auto; height: 42px; display: flex; align-items: center; }
.logo-item img { max-height: 42px; width: auto; filter: grayscale(1); opacity: .55; transition: .3s; }
.logo-item img:hover { filter: none; opacity: 1; }
.logo-item--text {
  font-family: var(--font-title); font-style: italic; font-size: 1.35rem; letter-spacing: -0.01em;
  color: #8C8C8C; white-space: nowrap; transition: color .25s;
}
.logo-item--text:hover { color: var(--violet); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

/* --- Grille de prestations (cases avec image de fond) --- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.tiles--2 { grid-template-columns: repeat(2, 1fr); }
.tiles--4 { grid-template-columns: repeat(4, 1fr); }
.tiles--5 { grid-template-columns: repeat(5, 1fr); }
.tile {
  position: relative; display: block; aspect-ratio: 1 / 1.05; overflow: hidden;
  background: var(--ink-2) center/cover no-repeat; color: var(--glacier);
}
/* Dégradés de remplacement tant qu'aucune photo n'est déposée (couleurs charte) */
.tile--ph:nth-child(6n+1) { background-image: linear-gradient(155deg, #6045F4 0%, #0F1C16 80%); }
.tile--ph:nth-child(6n+2) { background-image: linear-gradient(155deg, #53E6D5 -25%, #0F1C16 72%); }
.tile--ph:nth-child(6n+3) { background-image: linear-gradient(155deg, #0F1C16 30%, #6045F4 150%); }
.tile--ph:nth-child(6n+4) { background-image: linear-gradient(155deg, #6045F4 -20%, #0F1C16 68%); }
.tile--ph:nth-child(6n+5) { background-image: linear-gradient(155deg, #53E6D5 -45%, #0F1C16 64%); }
.tile--ph:nth-child(6n)   { background-image: linear-gradient(155deg, #6045F4 10%, #0F1C16 90%); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(15,28,22,.8) 8%, rgba(15,28,22,.25) 55%, rgba(15,28,22,.55));
  transition: background .3s;
}
.tile:hover::after { background: linear-gradient(165deg, rgba(15,28,22,.88) 8%, rgba(15,28,22,.45) 55%, rgba(15,28,22,.7)); }
.tile-body { position: relative; z-index: 2; padding: clamp(20px, 2.2vw, 30px); max-width: 88%; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); margin-bottom: 12px; color: var(--glacier); }
.tile p { color: rgba(205,234,236,.88); font-size: .93rem; line-height: 1.5; }
.tile-go {
  position: absolute; left: clamp(20px, 2.2vw, 30px); bottom: clamp(20px, 2.2vw, 30px); z-index: 2;
  font-family: var(--font-title); font-style: italic; font-size: 1.02rem;
  color: var(--turquoise); opacity: 0; transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}
.tile:hover .tile-go { opacity: 1; transform: none; }

/* --- Portfolio (grille 2 colonnes, image + libellé en incrustation) --- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.work { position: relative; aspect-ratio: 16/10.5; overflow: hidden; background: var(--ink-2); display: block; }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work:hover img { transform: scale(1.04); }
.work-ph { position: absolute; inset: 0; background: linear-gradient(140deg, var(--violet) -30%, var(--ink) 70%); }
.work-ph::after { content: "▶"; position: absolute; inset: 0; display: grid; place-content: center; color: rgba(205,234,236,.2); font-size: 3.4rem; }
.work::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(15,28,22,.88) 2%, rgba(15,28,22,.05) 45%);
}
.work-body { position: absolute; left: clamp(18px, 2.4vw, 34px); bottom: clamp(18px, 2.4vw, 30px); z-index: 2; right: 20px; }
.work-title { font-family: var(--font-title); font-style: italic; font-size: clamp(1.15rem, 1.7vw, 1.5rem); color: var(--turquoise); line-height: 1.15; }
.work-title span { font-family: var(--font); font-style: normal; color: var(--glacier); font-weight: 500; font-size: .82em; margin-left: 10px; }
.work-go { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--glacier); font-weight: 600; font-size: .95rem; }
.work-go::after { content: ""; width: 42px; height: 2px; background: var(--turquoise); position: relative; transition: width .25s; }
.work:hover .work-go::after { width: 58px; }

/* --- Bloc secteurs / colonnes de contenu --- */
.colcard h3 { font-size: 1.5rem; margin-bottom: 8px; }
.colcard .role { font-family: var(--font-title); font-style: italic; color: var(--violet); font-size: 1.1rem; margin-bottom: 12px; }
.section--dark .colcard .role { color: var(--turquoise); }
.colcard p { font-size: 1rem; line-height: 1.55; }
.colcard-top {
  aspect-ratio: 4/3; margin-bottom: 20px; display: grid; place-content: center;
  color: var(--glacier); font-size: 3.6rem; background: linear-gradient(150deg, #6045F4, #0F1C16 82%);
}
.colcard:nth-child(3n+2) .colcard-top { background: linear-gradient(150deg, #53E6D5 -20%, #0F1C16 78%); }
.colcard:nth-child(3n) .colcard-top   { background: linear-gradient(150deg, #0F1C16 35%, #6045F4 150%); }
.colcard-top img { width: 100%; height: 100%; object-fit: cover; }
.colcard-top--img { display: block; overflow: hidden; background: var(--ink); }
.colcard-top--img img { display: block; }
.colcard-refs { display: block; margin-top: 14px; font-size: .84rem; color: var(--violet); font-weight: 600; }

/* --- Bloc en chevron : média découpé + texte --- */
.chevron { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0; background: var(--sand); }
.chevron-media { position: relative; min-height: clamp(340px, 46vw, 620px); background: var(--ink-2) center/cover no-repeat; }
.chevron-media--ph { background: linear-gradient(135deg, var(--violet) 25%, var(--ink) 125%); }
/* la pointe qui mord sur la colonne de texte */
.chevron--left .chevron-media { clip-path: polygon(0 0, 74% 0, 100% 50%, 74% 100%, 0 100%); }
.chevron--right .chevron-media { clip-path: polygon(26% 0, 100% 0, 100% 100%, 26% 100%, 0 50%); }
.chevron-body { padding: clamp(34px, 5vw, 76px) clamp(24px, 5vw, 80px); }
.chevron-body h2 { color: var(--ink); margin-bottom: 30px; }
.chevron-body p { color: var(--muted); font-size: 1.02rem; line-height: 1.62; }
.chevron-body p + p { margin-top: 14px; }
.chevron-body b { color: var(--ink); font-weight: 700; }
/* Variante pleine couleur : le violet des pages intercalaires de la charte,
   titre et grands chiffres en noir, texte courant en blanc pour la lisibilité */
.chevron--filled { background: var(--violet); }
.chevron--filled .chevron-body h2 { color: #000; }
.chevron--filled .chevron-body p, .chevron--filled .chevron-body { color: #fff; }
.chevron--filled .chevron-body b { color: #fff; }
.chevron--filled .chevron-media--ph { background: linear-gradient(135deg, var(--ink) 30%, var(--turquoise) 190%); }

/* --- Témoignages --- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(26px, 3vw, 44px); }
.quote-name { font-family: var(--font-title); font-style: italic; font-size: 1.25rem; color: var(--glacier); margin-bottom: 8px; }
.quote-text { color: rgba(205,234,236,.9); line-height: 1.6; }
.quote-src { display: block; margin-top: 10px; color: var(--turquoise); font-weight: 600; font-size: .92rem; }

/* --- Chiffres clés --- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.5vw, 40px); }
.figure-num {
  font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: clamp(2.6rem, 4.4vw, 4rem); letter-spacing: -0.02em; color: var(--violet); line-height: 1;
}
.section--dark .figure-num { color: var(--turquoise); }
.figure-lbl { margin-top: 12px; font-size: .98rem; color: var(--text); line-height: 1.4; font-weight: 500; }
.section--dark .figure-lbl { color: var(--text-dark); }
.figure-sub { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.section--dark .figure-sub { color: var(--muted-dark); }

/* --- FAQ --- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(1rem, 1.35vw, 1.14rem); font-weight: 500; color: var(--text);
  transition: color .2s;
}
.faq-q:hover { color: var(--violet); }
.faq-item.open .faq-q { color: var(--violet); font-weight: 600; }
.faq-ic { flex: 0 0 auto; width: 26px; height: 26px; position: relative; color: var(--violet); }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; top: 11px; width: 15px; height: 2.5px; background: currentColor; border-radius: 2px;
  transition: transform .3s;
}
.faq-ic::before { left: 0;  transform: rotate(38deg); }
.faq-ic::after  { right: 0; transform: rotate(-38deg); }
.faq-item.open .faq-ic::before { transform: rotate(-38deg); }
.faq-item.open .faq-ic::after  { transform: rotate(38deg); }
.faq-a { padding: 0 0 30px; max-width: 96ch; }
.faq-a p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.section--dark .faq { border-color: var(--line-dark); }
.section--dark .faq-item { border-color: var(--line-dark); }
.section--dark .faq-q { color: var(--text-dark); }
.section--dark .faq-q:hover, .section--dark .faq-item.open .faq-q, .section--dark .faq-ic { color: var(--turquoise); }
.section--dark .faq-a p { color: var(--muted-dark); }

/* --- Bloc contact (ruban en pointe) --- */
/* Bandeau turquoise (fond du gabarit Instagram de la charte), texte vert-noir */
.contact-block { background: var(--turquoise); color: var(--ink); position: relative; padding: clamp(70px, 8vw, 120px) 0 clamp(50px, 6vw, 80px); }
.contact-block p { color: var(--ink); }
.contact-block::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: clamp(40px, 5vw, 82px);
  background: var(--sand);
  clip-path: polygon(0 0, 100% 0, 100% 0, 92% 100%, 8% 100%, 0 0);
}
.contact-block h2 { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); margin-top: 44px; align-items: start; }
.contact-card { border-left: 3px solid var(--ink); padding-left: 24px; }
.contact-card h3 { color: var(--ink); font-size: 1.9rem; margin-bottom: 18px; }
.contact-card a, .contact-card p { display: block; color: var(--ink); font-size: 1.04rem; padding: 3px 0; }
.contact-card a:hover { color: var(--violet); }
.contact-block .contact-note { color: rgba(15,28,22,.75); margin-top: 22px; font-size: .95rem; }

/* --- Bandeau d'appel à l'action --- */
.cta { text-align: center; }
.cta h2 { margin-bottom: 20px; }
.cta p { max-width: 62ch; margin: 0 auto 30px; font-size: 1.04rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 24px !important; font-size: .87rem !important; }

/* --- Formulaire --- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field input, .field textarea, .field select {
  background: #fff; border: 1px solid var(--line); border-radius: 0;
  padding: 15px 16px; color: var(--text); font-family: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(96,69,244,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: var(--violet); font-weight: 600; }
.form-status.err { color: #c0392b; font-weight: 600; }

/* --- Carte simple (contenus secondaires) --- */
.card { background: var(--sand-2); border: 0; padding: 30px; }
.card h3 { margin-bottom: 14px; }
.card p { font-size: 1rem; }
.section--dark .card { background: var(--ink-2); }
.section--dark .card h3 { color: var(--glacier); }

/* --- Listes à puces cochées --- */
.checks { display: grid; gap: 13px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); line-height: 1.55; }
.checks li::before { content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: 8px; background: var(--violet); }
.section--dark .checks li { color: var(--text-dark); }
.section--dark .checks li::before { background: var(--turquoise); }

/* --- Fil d'ariane & en-tête de page interne (fond glacier de la charte) --- */
.page-hero { padding: clamp(130px, 15vw, 190px) 0 clamp(40px, 5vw, 66px); background: var(--glacier); }
.page-hero p { color: rgba(15,28,22,.78); }
.breadcrumb { font-size: .86rem; color: rgba(15,28,22,.68); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--violet); }
.page-hero h1 { margin-bottom: 20px; }
.promise {
  font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem); color: var(--ink); max-width: 56ch; margin-bottom: 18px; line-height: 1.25;
}
.page-hero .promise { color: var(--ink); }
.forwho { margin-top: 26px; padding: 18px 20px; border-left: 3px solid var(--violet); background: #fff; font-size: .98rem; color: var(--muted); }
.forwho b { color: var(--ink); }

/* --- Étapes numérotées : grands chiffres « 1. » des intercalaires --- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.step { display: flex; gap: 20px; }
.step::before {
  counter-increment: step; content: counter(step) ".";
  font-family: var(--font-title); font-style: italic; font-synthesis: none;
  font-size: 2.6rem; letter-spacing: -0.02em; color: var(--violet); flex: 0 0 auto; line-height: .9; min-width: 1.4em;
}
.section--dark .step::before { color: var(--turquoise); }
.chevron--filled .step::before { color: #000; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.chevron--filled .step h3 { color: #000; }

/* --- Pastilles de villes : l'ellipse cerclée de la charte (« BRIGNOLES ») --- */
.ville-link-pill {
  display: inline-block; margin: 5px 7px 5px 0; padding: 9px 20px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: .92rem; line-height: 1.1; color: var(--ink); transition: .2s;
}
.ville-link-pill:hover { background: var(--ink); color: var(--glacier); }
.section--dark .ville-link-pill { border-color: var(--glacier); color: var(--glacier); }
.section--dark .ville-link-pill:hover { background: var(--glacier); color: var(--ink); }

/* --- Texte rédactionnel --- */
.prose p { margin-bottom: 18px; color: var(--muted); font-size: 1.04rem; line-height: 1.68; }
.prose h2 { margin: 44px 0 18px; }
.prose h3 { margin: 32px 0 12px; font-size: 1.5rem; }
.prose a { color: var(--violet); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose li { color: var(--muted); }

/* --- Filtres du portfolio --- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-btn {
  background: transparent; border: 1.5px solid var(--ink); color: var(--ink);
  padding: 10px 22px; border-radius: 50%; cursor: pointer; transition: .2s;
  font-family: var(--font-title); font-style: italic; text-transform: uppercase; letter-spacing: -0.02em; font-size: .92rem;
}
.filter-btn:hover { background: var(--ink); color: var(--glacier); }
.filter-btn.active { background: var(--violet); color: #fff; border-color: var(--violet); }
.section--dark .filter-btn { border-color: var(--glacier); color: var(--glacier); }
.section--dark .filter-btn:hover { background: var(--glacier); color: var(--ink); }
.section--dark .filter-btn.active { background: var(--violet); border-color: var(--violet); color: #fff; }

/* --- Bandeau villes masqué (SEO) --- */
.marquee--seo { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- Feeds clients façon Instagram --- */
.igf-wrap { position: relative; }
.igf-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 10px; scrollbar-width: none; }
.igf-track::-webkit-scrollbar { display: none; }
.igf { scroll-snap-align: center; flex: 0 0 auto; width: min(420px, 86vw); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.section--dark .igf { background: var(--ink-2); border-color: var(--line-dark); }
.igf-head { display: flex; gap: 15px; align-items: center; padding: 20px; }
.igf-avatar {
  width: 62px; height: 62px; border-radius: 50%; padding: 3px; flex: 0 0 auto;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); display: grid; place-items: center;
}
.igf-avatar span, .igf-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; }
.section--dark .igf-avatar span, .section--dark .igf-avatar img { border-color: var(--ink-2); }
.igf-avatar span { background: var(--ink); display: grid; place-items: center; color: var(--glacier); font-weight: 700; font-size: 1.1rem; }
.igf-avatar img { object-fit: cover; }
.igf-handle { font-weight: 700; display: flex; align-items: center; gap: 6px; font-size: 1rem; }
.section--dark .igf-handle { color: var(--glacier); }
.igf-badge { color: #3897f0; font-size: .85rem; }
.igf-stats { display: flex; gap: 18px; margin-top: 6px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.section--dark .igf-stats { color: var(--muted-dark); }
.igf-stats b { color: var(--text); }
.section--dark .igf-stats b { color: var(--glacier); }
.igf-bio { padding: 0 20px 16px; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.section--dark .igf-bio { color: var(--text-dark); }
.igf-bio b { font-weight: 700; color: var(--text); }
.section--dark .igf-bio b { color: var(--glacier); }
.igf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.igp { position: relative; aspect-ratio: 1; border: 0; padding: 0; cursor: pointer; background: var(--sand-2) center/cover no-repeat; overflow: hidden; }
.igp--ph { background: linear-gradient(135deg, var(--violet), var(--ink)); }
.igp--ph:nth-child(3n+2) { background: linear-gradient(135deg, var(--turquoise) -30%, var(--ink) 75%); }
.igp--ph:nth-child(3n) { background: linear-gradient(135deg, var(--ink) 30%, var(--violet)); }
.igp--ph span { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(205,234,236,.3); font-weight: 700; font-size: 1.4rem; }
.igp::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; }
.igp:hover::after { background: rgba(15,28,22,.25); }
.igp-play { position: absolute; top: 7px; right: 8px; z-index: 2; color: #fff; font-size: .7rem; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }
.igp:focus-visible { outline: 3px solid var(--turquoise); outline-offset: -3px; }
.igf-foot { padding: 14px 20px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.section--dark .igf-foot { border-color: var(--line-dark); color: var(--muted-dark); }
.igf-hint { margin-top: 18px; font-size: .88rem; color: var(--muted); }
.section--dark .igf-hint { color: var(--muted-dark); }
.igf-arw {
  position: absolute; top: 88px; z-index: 4; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer;
  display: grid; place-items: center; font-size: 1.5rem; transition: .2s;
}
.igf-arw:hover { border-color: var(--violet); color: var(--violet); }
.igf-arw--prev { left: -12px; }
.igf-arw--next { right: -12px; }
.igf-dots { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }
.igf-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: .25s; padding: 0; }
.igf-dots button.on { background: var(--violet); width: 24px; border-radius: 6px; }
.section--dark .igf-dots button { background: var(--line-dark); }
.section--dark .igf-dots button.on { background: var(--turquoise); }
@media (max-width: 760px) { .igf-arw { display: none; } }

/* --- Visionneuse plein écran --- */
.iglb { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; }
.iglb.open { display: flex; }
.iglb-backdrop { position: absolute; inset: 0; background: rgba(15,28,22,.96); }
.iglb-post { position: relative; z-index: 2; width: min(440px, 94vw); max-height: 94vh; background: #000; overflow: hidden; display: flex; flex-direction: column; }
.iglb-bar { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border-bottom: 1px solid #1c1c1c; }
.iglb-ava { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff; font-size: .78rem; font-weight: 700; }
.iglb-handle { color: #fff; font-size: .92rem; }
.iglb-img { background: #000; aspect-ratio: 1; display: grid; place-items: center; }
.iglb-img img, .iglb-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.iglb-img.ph { background: linear-gradient(135deg, var(--violet), var(--ink)); }
.iglb-img.ph span { color: rgba(205,234,236,.3); font-size: 2.2rem; font-weight: 700; }
.iglb-cap { padding: 13px 15px 6px; font-size: .9rem; color: #ddd; line-height: 1.5; }
.iglb-count { padding: 0 15px 14px; font-size: .75rem; color: #888; }
.iglb-x { position: absolute; top: 18px; right: 18px; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(205,234,236,.14); color: var(--glacier); font-size: 1.1rem; cursor: pointer; }
.iglb-nav { position: absolute; z-index: 5; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(205,234,236,.14); color: var(--glacier); font-size: 1.6rem; cursor: pointer; }
.iglb-prev { left: max(14px, calc(50% - min(440px,94vw)/2 - 64px)); }
.iglb-next { right: max(14px, calc(50% - min(440px,94vw)/2 - 64px)); }
@media (max-width: 760px) { .iglb-prev { left: 8px; } .iglb-next { right: 8px; } }

/* --- Flux Instagram --- */
.ig-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.ig-handle { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-title); font-style: italic; font-size: 1.7rem; }
.ig-handle .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--turquoise); }
.ig-embed { min-height: 300px; overflow: hidden; }
.ig-fallback { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.ig-fallback a { aspect-ratio: 1; background: linear-gradient(135deg, var(--violet), var(--ink)); display: grid; place-items: center; color: rgba(205,234,236,.55); transition: .3s; }
.ig-fallback a:hover { color: var(--glacier); }

/* --- Pied de page --- */
.footer { background: #fff; color: var(--muted); padding: clamp(50px, 6vw, 80px) 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer h4 {
  color: var(--ink); font-size: 1.02rem; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 16px;
  padding-bottom: 6px; border-bottom: 3px solid var(--turquoise); display: inline-block;
}
.footer a { color: var(--muted); font-size: .93rem; display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--violet); }
.footer .brand { margin-bottom: 22px; }
.footer .brand img { height: 52px; }
.footer .desc { font-size: .95rem; max-width: 40ch; color: var(--muted); }
.footer h4 a { color: inherit; display: inline; padding: 0; font-size: inherit; }
.footer h4 a:hover { color: var(--violet); }
/* Filet fin, comme sur la signature de la charte */
.footer-bottom {
  border-top: 1px solid var(--ink); margin-top: 46px; padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}
.footer-bottom a { display: inline; padding: 0; font-size: inherit; }

/* --- Apparition au défilement --- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* --- Responsive --- */
@media (max-width: 1080px) {
  .tiles, .tiles--4, .tiles--5 { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .nav-info { display: none; }
  .nav-panel-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .intro-grid, .contact-grid, .cols-2 { grid-template-columns: 1fr; }
  .quotes, .cols-3 { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  /* Le chevron passe en pile : le média au-dessus, découpe vers le bas */
  .chevron { grid-template-columns: 1fr; }
  .chevron--right { direction: ltr; }
  .chevron-media { min-height: 260px; }
  .chevron--left .chevron-media,
  .chevron--right .chevron-media { clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); }
}
@media (max-width: 760px) {
  .btn--sm { padding: 10px 16px; font-size: .95rem; }
  .nav { gap: 10px; height: 72px; }
  .brand img { height: 36px; }
  .nav-right { gap: 6px; }
  .btn { padding: 15px 24px; font-size: 1.02rem; }
}
@media (max-width: 620px) {
  .works, .tiles, .tiles--2, .tiles--4, .tiles--5 { grid-template-columns: 1fr; }
  .row-2, .cols-4 { grid-template-columns: 1fr; }
  .figures { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .intro-actions .btn { flex: 1 1 100%; }
  .hero-inner { padding-top: 120px; }
  .contact-card { padding-left: 18px; }
}

/* --- Accessibilité --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.section--dark :focus-visible, .tile:focus-visible, .work:focus-visible { outline-color: var(--turquoise); }
.chevron--filled :focus-visible, .contact-block :focus-visible { outline-color: var(--ink); }
