/* ── Fil d'Ariane ──────────────────────────────────────────── */
.breadcrumb-nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}
.breadcrumb-nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb-nav a { color: var(--gray); text-decoration: none; transition: color .25s; }
.breadcrumb-nav a:hover { color: var(--red); }
.breadcrumb-nav li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--border); }
.breadcrumb-nav li:last-child { color: var(--black); font-weight: 600; }
.breadcrumb-nav.on-dark { background: transparent; border-bottom: 1px solid rgba(255,255,255,.1); }
.breadcrumb-nav.on-dark a { color: rgba(255,255,255,.55); }
.breadcrumb-nav.on-dark a:hover { color: var(--white); }
.breadcrumb-nav.on-dark li:last-child { color: var(--white); }
.breadcrumb-nav.on-dark li:not(:last-child)::after { color: rgba(255,255,255,.25); }

/* Variante intégrée directement dans une section hero (pas de fond/bordure propre) */
.page-hero .breadcrumb-nav {
  background: transparent;
  border-bottom: none;
  padding: 0;
  margin-bottom: 24px;
}

/* ============================================================
   DIRECTION ARTISTIQUE — Refonte "agence internationale"
   Curseur personnalisé + parallax discret + transition d'entrée
   ============================================================ */

/* Curseur personnalisé (desktop uniquement, jamais sur tactile) */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button { cursor: none; }

  .cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  .cursor-dot {
    width: 6px; height: 6px;
    background: var(--red);
    transition: opacity .3s;
  }
  .cursor-ring {
    width: 36px; height: 36px;
    border: 1.5px solid rgba(165,0,21,.5);
    transition: width .3s, height .3s, border-color .3s, opacity .3s, background .3s;
  }
  /* État "survol interactif" : le curseur s'agrandit sur portfolio/boutons/liens */
  .cursor-ring.is-active {
    width: 64px; height: 64px;
    background: rgba(165,0,21,.08);
    border-color: var(--red);
  }
}

/* Parallax discret sur les visuels de portfolio (déplacement piloté en JS via --py) */
.pc-img img, .pd-cover, .gallery-item img {
  transform: translateY(var(--py, 0px));
  will-change: transform;
}

/* Transition d'entrée de page, légère et rapide — jamais un rechargement brutal.
   Pure CSS (aucune dépendance JS) : robuste même si un script tarde à charger. */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn .35s ease; }

/* Apparition au scroll : cohérente avec les timings du cahier des charges (250-400ms) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .4s ease, transform .4s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Comparateur avant/après (CDC Design §13) ────────────────── */
.ba-slider {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
  --pos: 50%;
  box-shadow: var(--shadow-md);
  user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-img-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none;
}
.ba-handle::after {
  content: '⇔';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-md);
}
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none;
}
.ba-slider-label {
  position: absolute; top: 12px; z-index: 2;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
  background: rgba(0,0,0,.55); color: #fff; padding: 4px 10px; border-radius: 100px;
  pointer-events: none;
}
.ba-slider-label--before { left: 12px; }
.ba-slider-label--after  { right: 12px; }

/* ── FAQ Accordéon premium (CDC Design §17) ──────────────────── */
.faq-item {
  background: rgba(0,0,0,.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color .3s, background .3s;
}
.faq-item:hover { border-color: rgba(165,0,0,.3); background: rgba(165,0,0,.03); }
.faq-item[open] { background: var(--white); border-color: rgba(165,0,0,.35); box-shadow: var(--shadow-sm); }
.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  transition: transform .25s ease, background .3s;
}
.faq-item[open] summary::after { transform: rotate(135deg); background: rgba(165,0,0,.1); }
.faq-item p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
  animation: faq-fade .25s ease;
}
.faq-item.faq-item--compact { padding: 16px 0; border: none; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.faq-item.faq-item--compact:hover { background: transparent; }
.faq-item.faq-item--compact summary { font-weight: 600; }
@keyframes faq-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════════════════════
   CDC V36 §11 — GRILLE FORMELLE (12 col desktop / 8 tablette / 4 mobile)
   Classes utilitaires additives, disponibles pour toute nouvelle section
   ou refonte de page à venir (Phase 2). N'affecte AUCUNE grille ad hoc
   existante (poles-grid, portfolio-grid, etc.) : celles-ci continuent de
   fonctionner telles quelles pour ne rien casser sur les pages déjà en
   production. Gouttière : 24px (--grid-gutter), cf. échelle d'espacements
   §11 (4→128px).
   ══════════════════════════════════════════════════════════ */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols-desktop), 1fr);
  gap: var(--grid-gutter);
}
@media (max-width: 1100px) {
  .grid-12 { grid-template-columns: repeat(var(--grid-cols-tablet), 1fr); }
}
@media (max-width: 700px) {
  .grid-12 { grid-template-columns: repeat(var(--grid-cols-mobile), 1fr); gap: 16px; }
}
/* Empans desktop (1 à 12) — dégradent automatiquement en pleine largeur
   sous 700px pour rester lisibles sur mobile (grille 4 colonnes) */
.col-span-1  { grid-column: span 1; }
.col-span-2  { grid-column: span 2; }
.col-span-3  { grid-column: span 3; }
.col-span-4  { grid-column: span 4; }
.col-span-5  { grid-column: span 5; }
.col-span-6  { grid-column: span 6; }
.col-span-7  { grid-column: span 7; }
.col-span-8  { grid-column: span 8; }
.col-span-9  { grid-column: span 9; }
.col-span-10 { grid-column: span 10; }
.col-span-11 { grid-column: span 11; }
.col-span-12 { grid-column: span 12; }
@media (max-width: 700px) {
  /* Sous 700px, la grille passe à 4 colonnes : tout empan > 4 devient pleine largeur */
  .col-span-1, .col-span-2, .col-span-3, .col-span-4,
  .col-span-5, .col-span-6, .col-span-7, .col-span-8,
  .col-span-9, .col-span-10, .col-span-11, .col-span-12 { grid-column: span 4; }
}


/* ═══════════════════════════════════════════════════════════
   COPIE CONFORME — Navigation et Footer Le Nid de Cocody
   Sélecteurs et structure identiques à l'original ; valeurs de couleur
   uniquement adaptées à la charte ComEvents (--black/--gold/--white/
   --border/--gray/--muted/--bg au lieu de --navy/--blue/--w/--bd/--mid/
   --muted/--bg). Nettoyage V71 : les anciennes règles .navbar/
   .nav-container mortes ont été supprimées (elles ne correspondaient
   plus à aucun élément du DOM depuis le passage à .nw/.nlogo/.nb).
   ═══════════════════════════════════════════════════════════ */

/* ── NAVIGATION ─────────────────────────────────────────── */
nav{position:fixed;top:var(--announce-h,0px);left:0;right:0;z-index:3000;padding:0 24px;transition:top .35s;}
nav.scrolled{top:0;}
.nw{position:relative;max-width:1400px;margin:0 auto;height:64px;background:rgba(255,255,255,.12);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1.5px solid rgba(255,255,255,.18);border-radius:20px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;gap:6px;transition:all .35s;margin-top:14px;}
nav.scrolled .nw{background:rgba(255,255,255,.97);border-color:transparent;border-radius:0;box-shadow:0 2px 22px rgba(0,0,0,.07);margin-top:0;}
/* V49 — Fil chromatique, élément signature : liseré de 2px qui prend la
   teinte de l'univers survolé pendant le défilement (--live-pole-c posé
   en JS via IntersectionObserver, cf. main.js). Invisible tant qu'on n'a
   pas scrollé une section colorée ; jamais de mouvement si
   prefers-reduced-motion (transition de couleur seule, pas de transform). */
.nw::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--live-pole-c, var(--champagne));opacity:0;transition:background .6s ease, opacity .6s ease;}
nav.scrolled .nw::after{opacity:1;}
@media (prefers-reduced-motion: reduce){.nw::after{transition:opacity .6s ease;}}
.nlogo{display:flex;align-items:center;gap:11px;flex-shrink:0;}
.nlogo-img{width:46px;height:46px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.18));transition:width .3s,height .3s;}
nav.scrolled .nlogo-img{width:42px;height:42px;}
.nname{font-family:var(--font-display, 'Fraunces', serif);font-size:14.5px;font-weight:700;color:#fff;line-height:1.1;transition:color .3s;}
nav.scrolled .nname{color:var(--black);}
.nsub{font-size:9px;font-weight:500;color:rgba(255,255,255,.52);letter-spacing:.6px;text-transform:uppercase;transition:color .3s;}
nav.scrolled .nsub{color:var(--gray);}
.nlinks{display:flex;gap:2px;align-items:center;}
.nb{background:none;border:none;font-weight:600;font-size:12.5px;padding:7px 11px;border-radius:9px;color:rgba(255,255,255,.88);transition:all .2s;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;}
nav.scrolled .nb{color:var(--gray);}
.nb:hover,.nb.active{background:rgba(255,255,255,.14);}
nav.scrolled .nb:hover,nav.scrolled .nb.active{background:rgba(201,162,39,.12);color:var(--gold);}
.nb-cta{background:var(--gold)!important;color:var(--black)!important;font-weight:700!important;border-radius:10px!important;box-shadow:3px 3px 0 color-mix(in srgb, var(--gold) 65%, black)!important;padding:8px 16px!important;gap:6px;}
.nb-cta:hover{transform:translate(-2px,-2px)!important;box-shadow:5px 5px 0 color-mix(in srgb, var(--gold) 65%, black)!important;}
.lang-switch{font-size:12.5px!important;font-weight:700!important;border:1.5px solid rgba(255,255,255,.25)!important;border-radius:100px!important;padding:6px 13px!important;white-space:nowrap;}
nav.scrolled .lang-switch{border-color:var(--border)!important;}
.lang-switch:hover{background:var(--gold)!important;color:var(--black)!important;border-color:var(--gold)!important;}
.nd{position:relative;}
/* CDC 2026 §8 : à 11 univers, une liste verticale simple devient trop longue
   (11 lignes) — mega-menu en grille 2 colonnes obligatoire, jamais une liste. */
.ndm{position:absolute;top:calc(100% + 8px);left:0;background:var(--white);border-radius:16px;box-shadow:0 16px 48px rgba(15,15,15,.12);border:1.5px solid var(--border);width:min(560px, 90vw);max-height:70vh;overflow-y:auto;opacity:0;pointer-events:none;transform:translateY(-8px);transition:all .22s;z-index:100;display:grid;grid-template-columns:repeat(2, 1fr);gap:0;padding:8px;}
.nd:hover .ndm{opacity:1;pointer-events:all;transform:translateY(0);}
.ndi{display:flex;align-items:center;gap:10px;padding:10px 15px;font-size:13px;font-weight:600;color:var(--black);background:none;border:none;width:100%;text-align:left;transition:background .15s;text-decoration:none;border-radius:10px;}
.ndi:hover{background:var(--light);color:var(--champagne);}
@media (max-width: 480px) { .ndm { grid-template-columns: 1fr; width: min(320px, 90vw); } }
.ndi-ico{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:14px;flex-shrink:0;background:rgba(201,162,39,.14);color:var(--gold);}
.ndi-ico svg{width:16px;height:16px;}
.hbg{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:8px;cursor:pointer;}
.hbg span{display:block;width:22px;height:2px;background:#fff;border-radius:2px;transition:.3s;}
nav.scrolled .hbg span{background:var(--black);}
.hbg.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.hbg.open span:nth-child(2){opacity:0;}
.hbg.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}
.mob{position:fixed;inset:0;top:calc(var(--nav-h, 78px) + var(--announce-h, 0px));z-index:2900;background:var(--white);padding:16px;display:flex;flex-direction:column;gap:3px;overflow-y:auto;
  /* CDC 2026 §7 — Menu mobile plein écran : clic hamburger, 450ms,
     cubic-bezier(.4,0,.2,1), révélation en cercle depuis le coin (hamburger). */
  clip-path: circle(0% at calc(100% - 30px) 0%);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path .45s cubic-bezier(.4,0,.2,1), visibility 0s linear .45s;
}
.mob.open{
  clip-path: circle(150% at calc(100% - 30px) 0%);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path .45s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}
@media (prefers-reduced-motion: reduce) {
  .mob { transition: none; }
  .mob.open { transition: none; }
}
.mob .nb{color:var(--black);font-size:15px;padding:12px 14px;text-align:left;border-radius:12px;display:block;}
.mob .nb:hover{background:var(--bg);}
.mob .nb-cta{background:var(--gold)!important;text-align:center;margin-top:10px;justify-content:center;}
.mob-sep{height:1px;background:var(--border);margin:5px 0;}
.mob-lbl{font-size:10px;font-weight:700;color:#bbb;text-transform:uppercase;letter-spacing:1.5px;padding:8px 14px 2px;}

.nutils{display:flex;gap:2px;align-items:center;}

/* CDC 2026 §7 — Transition de page : clic lien interne, 400ms, ease-in-out,
   fondu opacité. Classe posée en JS juste avant la navigation. */
body { transition: opacity .4s ease-in-out; }
body.is-page-leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body { transition: none; }
  body.is-page-leaving { opacity: 1; }
}

@media(max-width:768px){
  nav{padding:0 14px;}
  .nlinks{display:none;}
  .nutils{display:none;}
  .hbg{display:flex;}
  /* V52 : le sous-titre long ("Communication, événementiel & créations…")
     n'avait aucune troncature et le logo (.nlogo) ne pouvait pas rétrécir
     (flex-shrink:0) → sur petit écran le bloc logo débordait par-dessus
     le bouton burger, rendant le menu invisible/inaccessible. */
  .nw{gap:8px;}
  .nlogo{max-width:calc(100% - 56px);}
  .nname,.nsub{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;display:block;}
}
@media(max-width:480px){
  .nsub{display:none;}
  .nlogo-img{width:38px;height:38px;}
}

/* ── FOOTER — copie conforme Le Nid de Cocody ──────────────── */
footer{background:var(--black);color:#fff;}
.ft-main{padding:56px 40px;max-width:1280px;margin:0 auto;}
.ft-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px;}
.ft-brand p{font-size:13px;color:rgba(255,255,255,.4);font-weight:400;line-height:1.75;margin:13px 0;max-width:260px;}
.ft-logo-row{display:flex;align-items:center;gap:10px;}
.ft-lic{width:44px;height:44px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:8px;padding:4px;}
.ft-lt h3{font-family:var(--font-display, 'Fraunces', serif);font-size:16px;font-weight:700;}
.ft-lt span{font-size:9px;color:rgba(255,255,255,.38);font-weight:500;letter-spacing:.7px;text-transform:uppercase;}
.ft-soc{display:flex;gap:9px;margin-top:14px;}
.ft-si{width:34px;height:34px;border-radius:9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);display:flex;align-items:center;justify-content:center;font-size:16px;color:#fff;transition:all .2s;}
.ft-si:hover{background:rgba(255,255,255,.12);transform:translateY(-2px);}
.ft-col h4{font-family:var(--font-display, 'Fraunces', serif);font-size:13.5px;font-weight:800;margin-bottom:13px;color:rgba(255,255,255,.75);}
.ftl{display:flex;align-items:center;gap:7px;font-size:12.5px;font-weight:400;color:rgba(255,255,255,.4);padding:4px 0;transition:color .2s;}
.ftl:hover{color:var(--gold);}
.ft-ci{font-size:12.5px;font-weight:400;color:rgba(255,255,255,.4);padding:4px 0;line-height:1.6;}
.ft-ci a{color:rgba(255,255,255,.4);transition:color .2s;}
.ft-ci a:hover{color:var(--gold);}
.ft-bot{border-top:1px solid rgba(255,255,255,.06);padding:20px 40px;max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:11px;}
.ft-bot p{font-size:11.5px;color:rgba(255,255,255,.24);font-weight:400;}
.ft-botl{display:flex;gap:16px;}
.ft-botl a{font-size:11.5px;color:rgba(255,255,255,.24);font-weight:400;transition:color .2s;}
.ft-botl a:hover{color:rgba(255,255,255,.48);}

@media(max-width:1100px){
  .ft-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:768px){
  .ft-grid{grid-template-columns:1fr;}
  .ft-bot{flex-direction:column;gap:10px;text-align:center;}
}

/* ── Page Studio — magazine visuel, blocs répétables (CDC §10.2) ──
   Sans sidebar, alternance image/texte, gap généreux. */
.bg-off { background: var(--off-white, #F8F6F2); }
.studio-block-inner {
  display: grid;
  gap: 64px;
  align-items: center;
}
.studio-block--image-left .studio-block-inner,
.studio-block--image-right .studio-block-inner {
  grid-template-columns: 1fr 1fr;
}
.studio-block--image-right .studio-block-inner { direction: rtl; }
.studio-block--image-right .studio-block-inner > * { direction: ltr; }
.studio-block--full .studio-block-inner { grid-template-columns: 1fr; max-width: 900px; margin-inline: auto; text-align: center; }
@media (max-width: 900px) {
  .studio-block-inner { grid-template-columns: 1fr !important; direction: ltr !important; gap: 32px; }
}
.studio-block-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.studio-block-media--full img { aspect-ratio: 16 / 9; }
.studio-block-text h2 { font-family: var(--font-display); margin-bottom: 16px; }
.studio-block-content { color: var(--gray); line-height: 1.6; max-width: 640px; }

/* ══════════════════════════════════════════════════════════════════
   V49 — PHASE 6 : LE RESTE DE LA MAISON
   Même diagnostic que la section équipe, étendu aux autres pièces :
   partout le même hover générique (bordure rouge translucide ou
   ombre neutre), aucune personnalité d'une section à l'autre. Ce bloc
   réactive la rotation des 11 teintes sur les familles de cartes les
   plus visibles du site (services, "pourquoi nous", témoignages,
   blog, offres, valeurs). Rien ne change côté PHP/DB : cascade CSS
   pure, ajoutée en fin de feuille de style pour gagner la priorité
   sur les règles historiques à spécificité égale.
   Cartes "featured" (fond noir/rouge, mise en avant d'une offre)
   volontairement épargnées : leur rouge signale "meilleur choix",
   un langage déjà en place avant cette refonte, qu'on ne dilue pas.
   ══════════════════════════════════════════════════════════════════ */

/* -- Rotation de teinte, générique, réutilisée sur chaque grille -- */
.services-grid .service-card:not(.service-card--featured):nth-child(11n+1),
.why-grid .why-card:nth-child(11n+1),
.testi-grid .testi-card:nth-child(11n+1),
.blog-grid .blog-card:nth-child(11n+1),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+1),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+1) { --tc: #1D3557; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+2),
.why-grid .why-card:nth-child(11n+2),
.testi-grid .testi-card:nth-child(11n+2),
.blog-grid .blog-card:nth-child(11n+2),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+2),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+2) { --tc: #0F766E; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+3),
.why-grid .why-card:nth-child(11n+3),
.testi-grid .testi-card:nth-child(11n+3),
.blog-grid .blog-card:nth-child(11n+3),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+3),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+3) { --tc: #6D28D9; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+4),
.why-grid .why-card:nth-child(11n+4),
.testi-grid .testi-card:nth-child(11n+4),
.blog-grid .blog-card:nth-child(11n+4),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+4),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+4) { --tc: #0369A1; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+5),
.why-grid .why-card:nth-child(11n+5),
.testi-grid .testi-card:nth-child(11n+5),
.blog-grid .blog-card:nth-child(11n+5),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+5),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+5) { --tc: #B8232F; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+6),
.why-grid .why-card:nth-child(11n+6),
.testi-grid .testi-card:nth-child(11n+6),
.blog-grid .blog-card:nth-child(11n+6),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+6),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+6) { --tc: #B45309; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+7),
.why-grid .why-card:nth-child(11n+7),
.testi-grid .testi-card:nth-child(11n+7),
.blog-grid .blog-card:nth-child(11n+7),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+7),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+7) { --tc: #0891B2; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+8),
.why-grid .why-card:nth-child(11n+8),
.testi-grid .testi-card:nth-child(11n+8),
.blog-grid .blog-card:nth-child(11n+8),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+8),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+8) { --tc: #374151; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+9),
.why-grid .why-card:nth-child(11n+9),
.testi-grid .testi-card:nth-child(11n+9),
.blog-grid .blog-card:nth-child(11n+9),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+9),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+9) { --tc: #15803D; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+10),
.why-grid .why-card:nth-child(11n+10),
.testi-grid .testi-card:nth-child(11n+10),
.blog-grid .blog-card:nth-child(11n+10),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+10),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+10) { --tc: #4338CA; }
.services-grid .service-card:not(.service-card--featured):nth-child(11n+11),
.why-grid .why-card:nth-child(11n+11),
.testi-grid .testi-card:nth-child(11n+11),
.blog-grid .blog-card:nth-child(11n+11),
.offers-grid .offer-card:not(.offer-card--featured):nth-child(11n+11),
.vmv-grid .vmv-card:not(.vmv-card--featured):nth-child(11n+11) { --tc: #A2145E; }

/* -- Services (page Studio / accueil) -- */
.services-grid .service-card:not(.service-card--featured) { border-top: 3px solid var(--tc, var(--champagne)); }
.services-grid .service-card:not(.service-card--featured):hover {
  border-color: color-mix(in srgb, var(--tc, var(--red)) 55%, var(--border));
  box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--tc, var(--red)) 45%, transparent);
}
.services-grid .service-card:not(.service-card--featured) .sc-icon,
.services-grid .service-card:not(.service-card--featured) .sc-arrow { color: var(--tc, var(--gold)); transition: color .3s ease; }

/* -- "Pourquoi nous choisir" (fond sombre) : liseré haut coloré, halo icône -- */
.why-card::before { background: linear-gradient(90deg, var(--tc, var(--champagne)), color-mix(in srgb, var(--tc, var(--champagne)) 60%, white)); }
.why-card:hover { border-color: color-mix(in srgb, var(--tc, var(--champagne)) 45%, transparent); }
.why-icon { background: color-mix(in srgb, var(--tc, var(--champagne)) 20%, rgba(255,255,255,.06)); color: var(--tc, var(--champagne)); transition: background .3s ease; }

/* -- Témoignages : accent latéral coloré au lieu du rouge générique -- */
.testi-card { border-left: 3px solid var(--tc, var(--champagne)); transition: box-shadow .3s, transform .3s, border-color .3s; }
.testi-card:hover { box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--tc, var(--red)) 35%, transparent); border-color: color-mix(in srgb, var(--tc, var(--red)) 55%, var(--border)); border-left-color: var(--tc, var(--champagne)); }

/* -- Blog : liseré haut coloré, cohérent avec le reste -- */
.blog-card { border-top: 3px solid var(--tc, var(--champagne)); }
.blog-card:hover { box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--tc, var(--champagne)) 40%, transparent); }

/* -- Offres (page Studio) : liseré haut coloré, les cartes "featured" gardent leur rouge intact -- */
.offers-grid .offer-card:not(.offer-card--featured) { border-top: 3px solid var(--tc, var(--champagne)); }
.offers-grid .offer-card:not(.offer-card--featured):hover { border-color: color-mix(in srgb, var(--tc, var(--champagne)) 45%, transparent); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--tc, var(--champagne)) 35%, transparent); }

/* -- Valeurs (page Agence) : icône teintée, la carte "featured" garde son rouge plein -- */
.vmv-grid .vmv-card:not(.vmv-card--featured) { border-top: 3px solid var(--tc, var(--champagne)); }
.vmv-grid .vmv-card:not(.vmv-card--featured):hover { border-color: color-mix(in srgb, var(--tc, var(--champagne)) 45%, transparent); }
.vmv-grid .vmv-card:not(.vmv-card--featured) .vmv-icon { color: var(--tc, var(--champagne)); transition: color .3s ease; }

@media (prefers-reduced-motion: reduce) {
  .service-card, .why-card, .why-card::before, .why-icon,
  .testi-card, .blog-card, .offer-card, .vmv-card, .vmv-icon {
    transition: none !important;
  }
}

/* ============================================================
   CDC 20/07/2026 — Déclinaison du langage visuel interactif
   sur tout le site (curseur, formes organiques, tilt 3D, trait
   dessiné à la main). Le grain papier (body::before, L.146) et
   le curseur de base (L.3538) existaient déjà en V70 ; ce bloc
   les complète et ajoute les 2 composants manquants.
   ============================================================ */

/* -- 1. Curseur : jamais sur les champs de saisie (CDC §4) --
   Le curseur système reprend la main sur input/textarea/select,
   même quand body.has-custom-cursor est actif. */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select,
  body.has-custom-cursor button[type="submit"] {
    cursor: auto;
  }
  body.has-custom-cursor input,
  body.has-custom-cursor textarea,
  body.has-custom-cursor select {
    cursor: text;
  }
}

/* -- 2. Cartes tilt 3D génériques (.tilt-card) + reflet -----
   Applicable à n'importe quelle grille (services, portfolio déjà
   couvert séparément, culture agence). --mx/--my posés en JS
   (0 à 1) pilotent la position du reflet qui suit le curseur. */
.tilt-card,
.portfolio-card,
.pole-card {
  transform-style: preserve-3d;
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .tilt-card::after,
  .portfolio-card::after,
  .pole-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity .3s ease;
    background: radial-gradient(
      circle at calc(var(--mx, .5) * 100%) calc(var(--my, .5) * 100%),
      rgba(255,255,255,.35) 0%,
      rgba(255,255,255,0) 45%
    );
    mix-blend-mode: overlay;
    z-index: 2;
  }
  .tilt-card:hover::after,
  .portfolio-card:hover::after,
  .pole-card:hover::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce), (max-width: 767px) {
  .tilt-card, .portfolio-card, .pole-card { transform: none !important; }
  .tilt-card::after, .portfolio-card::after, .pole-card::after { display: none; }
}

/* -- 3. Formes organiques en parallax léger (zones héros) ---
   Conteneur décoratif placé entre le voile (.hero::after, z-index:0)
   et le contenu (.hero-content / .page-hero .container, z-index:1). */
.hero-organic-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.organic-shape {
  position: absolute;
  filter: blur(46px);
  opacity: .4;
  mix-blend-mode: screen;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.organic-shape--1 { top: -8%;  right: 6%;  width: 340px; height: 340px; background: radial-gradient(circle, var(--champagne) 0%, transparent 70%); }
.organic-shape--2 { bottom: -12%; left: 4%; width: 300px; height: 300px; background: radial-gradient(circle, var(--red) 0%, transparent 70%); }
.organic-shape--3 { top: 30%; left: 42%;  width: 220px; height: 220px; background: radial-gradient(circle, var(--champagne-light,var(--champagne)) 0%, transparent 70%); }
@media (max-width: 767px) {
  .hero-organic-shapes { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .organic-shape { transform: none !important; }
}

/* -- 4. Trait dessiné à la main (SVG) sous les mots clés -----
   Le SVG (largeur auto via viewBox) se dessine au scroll/arrivée
   grâce à stroke-dasharray/-dashoffset, piloté par JS (.is-drawn). */
.draw-underline {
  position: relative;
  display: inline-block;
}
.draw-underline .draw-underline-svg {
  position: absolute;
  left: -2%;
  bottom: -.18em;
  width: 104%;
  height: .5em;
  overflow: visible;
  pointer-events: none;
}
.draw-underline .draw-underline-svg path {
  fill: none;
  stroke: var(--champagne);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset .7s cubic-bezier(.16,1,.3,1);
}
.draw-underline.is-drawn .draw-underline-svg path { stroke-dashoffset: 0; }
.page-hero .draw-underline .draw-underline-svg path,
.hero .draw-underline .draw-underline-svg path { stroke: var(--champagne); }
@media (prefers-reduced-motion: reduce) {
  .draw-underline .draw-underline-svg path { transition: none; stroke-dashoffset: 0; }
}
