/* Maquette adnagence.com — 14/11/2026. Fond anthracite du logo, couleurs des vagues ADN. */
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --fond: #161719; --fond-2: #1d1e21; --fond-3: #25272b;
  --texte: #f2f2f0; --doux: #a3a5aa; --trait: rgba(255,255,255,.09);
  --orange: #ff6a2b; --jaune: #ffc94a; --turquoise: #3fe0d0; --bleu: #3aa8ff; --violet: #8a4bff; --rose: #ff4fa0;
  --arc: linear-gradient(90deg, var(--orange), var(--jaune) 25%, var(--turquoise) 50%, var(--bleu) 75%, var(--violet));
  --obr: var(--arc);
  --ease: cubic-bezier(.2,.75,.15,1);
  --marge: clamp(20px, 5vw, 72px);
  --large: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--fond); color: var(--texte); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: "Manrope", system-ui, sans-serif; font-weight: 400; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #111; }
:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Grain très léger + lueur qui suit la souris */
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lueur { position: fixed; width: 620px; height: 620px; left: 0; top: 0; pointer-events: none; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,224,208,.07), rgba(138,75,255,.04) 40%, transparent 70%);
  transform: translate(-50%, -50%); transition: opacity .6s; }

/* Barre de progression du défilement */
.progression { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: var(--arc); }

/* ---------- En-tête ---------- */
.entete { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--marge); transition: transform .5s var(--ease), background .4s, backdrop-filter .4s;
  background: linear-gradient(180deg, rgba(14,15,17,.78), rgba(14,15,17,.35) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.entete.verre { background: rgba(22,23,25,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--trait); }
.entete.cache { transform: translateY(-100%); }
.marque { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 54px; }
.marque svg { height: 36px; width: auto; fill: #fff; }
.marque canvas { width: 100%; height: 9px; transform: scaleX(1.5); display: block; }
.menu { display: flex; gap: clamp(14px, 2.4vw, 34px); align-items: center; }
.menu a { font-size: 14px; letter-spacing: .04em; color: var(--doux); position: relative; padding: 6px 0; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--arc); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu a:hover, .menu a[aria-current="page"] { color: var(--texte); }
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu .bouton { padding: 9px 18px; }
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 3; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .45s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 26px; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Boutons ---------- */
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid rgba(255,255,255,.18); position: relative; overflow: hidden; isolation: isolate; transition: border-color .4s, color .4s, transform .3s var(--ease); }
.bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--arc); transform: translateY(101%); transition: transform .55s var(--ease); }
.bouton:hover { color: #111; border-color: transparent; }
.bouton:hover::before { transform: translateY(0); }
.bouton.plein { background: #fff; color: #111; border-color: #fff; }
.bouton .fleche { transition: transform .45s var(--ease); }
.bouton:hover .fleche { transform: translateX(4px); }

/* ---------- Héros : le logo ADN en grand ---------- */
.heros { min-height: 100svh; display: grid; place-items: center; position: relative; overflow: hidden; padding: 110px var(--marge) 70px;
  background: radial-gradient(120% 90% at 50% 38%, #2a2c30 0%, #1b1c1f 55%, #141517 100%); }
.heros-logo { width: min(88vw, 940px, calc((100svh - 330px) * 1.36)); position: relative; z-index: 2; will-change: transform, opacity; }
.heros-logo .lettres { width: 100%; overflow: visible; }
.heros-logo .lettres .face { fill: #ededeb; }
.heros-logo .lettres .face path { stroke: #ededeb; stroke-width: 2; }
.heros-logo .ombre use { fill: #000; }
.heros-logo .devise { width: 100%; margin-top: clamp(14px, 2.4vw, 30px); fill: #e8e8e6; }
.heros-logo .torsade { width: 100%; height: clamp(54px, 7.5vw, 100px); margin-top: clamp(14px, 2.4vw, 30px); display: block; }
.palettes { position: absolute; z-index: 3; right: var(--marge); bottom: 26px; display: flex; gap: 8px; }
.palettes button { white-space: nowrap; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--trait); transition: all .35s; display: inline-flex; align-items: center; gap: 8px; }
.palettes button i { width: 26px; height: 3px; border-radius: 3px; display: inline-block; }
.palettes button[aria-pressed="true"] { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.05); }
.defiler { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--doux); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; }
.defiler::after { content: ""; width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: goutte 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes goutte { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Apparition du logo à l'arrivée */
.intro .lettres .face path { stroke-dasharray: 3200; stroke-dashoffset: 3200; fill-opacity: 0; animation: trace 1.9s var(--ease) forwards, remplit 1s .9s ease forwards; }
.intro .lettres .face path:nth-child(2) { animation-delay: .15s, 1.05s; }
.intro .lettres .face path:nth-child(3) { animation-delay: .3s, 1.2s; }
.intro .ombre { opacity: 0; animation: fondu 1.4s 1.3s ease forwards; }
.intro .devise path, .intro .devise circle { opacity: 0; animation: fondu .9s ease forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes remplit { to { fill-opacity: 1; } }
@keyframes fondu { to { opacity: 1; } }

/* ---------- Sections ---------- */
section { position: relative; z-index: 2; }
.bloc { padding: clamp(80px, 13vw, 180px) var(--marge); max-width: calc(var(--large) + 2 * var(--marge)); margin: 0 auto; }
.surtitre { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--doux); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.surtitre::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--arc); }
h1, h2, h3 { font-weight: 300; letter-spacing: -.035em; line-height: 1.02; }
.titre-geant { font-size: clamp(44px, 8.4vw, 138px); font-weight: 200; }
.titre { font-size: clamp(36px, 5.6vw, 84px); }
.titre b, .titre-geant b { font-weight: 700; }
.degrade { background: var(--arc); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: glisse 8s linear infinite; }
.degrade.obr { background-image: var(--arc); }
@keyframes glisse { to { background-position: 200% 0; } }
.chapo { font-size: clamp(18px, 1.7vw, 23px); color: #cfd0d2; max-width: 46ch; line-height: 1.6; font-weight: 300; }
p + p { margin-top: 1em; }
.doux { color: var(--doux); }

/* Lignes qui montent mot par mot */
.mots .m { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mots .m > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.mots.vu .m > span { transform: none; }

/* Apparitions douces */
.monte { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.monte.vu { opacity: 1; transform: none; }
.devoile { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.devoile.vu { clip-path: inset(0 0 0 0); }
.devoile img { transform: scale(1.18); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
.devoile.vu img { transform: scale(1); }

/* ---------- Bandeau défilant ---------- */
.ruban { overflow: hidden; border-block: 1px solid var(--trait); padding: 26px 0; position: relative; z-index: 2; background: var(--fond); }
.ruban-piste { display: flex; width: max-content; will-change: transform; }
.ruban span { font-size: clamp(30px, 4.6vw, 64px); font-weight: 200; letter-spacing: -.02em; white-space: nowrap; padding-right: .6em; }
.ruban span:nth-child(odd) { font-weight: 700; }
.ruban i { display: inline-block; width: .5em; height: .5em; margin: 0 .6em .12em 0; border-radius: 50%; background: var(--arc); vertical-align: middle; }

/* ---------- Deux piliers ---------- */
.piliers { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 6vw, 80px); }
.pilier { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(420px, 46vw, 640px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(26px, 3vw, 46px);
  isolation: isolate; border: 1px solid var(--trait); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.pilier > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.9) brightness(.8); }
.pilier::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10,10,12,.92)); }
.pilier:hover > img { transform: scale(1.12); filter: saturate(1.1) brightness(.9); }
.pilier .numero { position: absolute; top: clamp(22px, 3vw, 40px); left: clamp(26px, 3vw, 46px); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.7); }
.pilier h3 { font-size: clamp(34px, 4vw, 60px); }
.pilier p { color: #d7d8da; margin-top: 12px; max-width: 38ch; }
.pilier .liste { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pastille { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.pilier .aller { position: absolute; top: clamp(18px, 2.6vw, 34px); right: clamp(18px, 2.6vw, 34px); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); transition: transform .6s var(--ease), background .4s; }
.pilier:hover .aller { transform: rotate(-45deg); background: #fff; color: #111; }

/* ---------- Défilement horizontal épinglé (Renaissance) ---------- */
.horizontal { position: relative; z-index: 2; }
.horizontal .collant { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.horizontal .tete { padding: 0 var(--marge); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(20px, 3.5vh, 44px); }
.horizontal .piste { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 var(--marge); will-change: transform; }
.carte { flex: 0 0 auto; width: min(30vw, 440px, calc((100svh - 360px) * .75)); min-width: 240px; position: relative; }
.carte .cadre { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; position: relative; background: var(--fond-2); }
.carte .cadre img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.carte:hover .cadre img { transform: scale(1.07); }
.carte .etat { position: absolute; top: 14px; left: 14px; font-size: 11.5px; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; background: rgba(15,15,17,.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.14); }
.carte .etat::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); }
.carte .etat.bientot::before { background: var(--jaune); box-shadow: 0 0 10px var(--jaune); }
.carte h3 { font-size: clamp(21px, 1.8vw, 27px); font-weight: 500; letter-spacing: -.02em; margin-top: 18px; }
.carte p { color: var(--doux); font-size: 15px; margin-top: 6px; }
.carte.texte { width: clamp(280px, 26vw, 380px); display: flex; flex-direction: column; justify-content: center; }
.compteur-h { font-variant-numeric: tabular-nums; color: var(--doux); font-size: 14px; letter-spacing: .1em; }
.compteur-h .barre { display: inline-block; width: 120px; height: 2px; background: var(--trait); vertical-align: middle; margin: 0 12px; position: relative; overflow: hidden; }
.compteur-h .barre i { position: absolute; inset: 0; background: var(--arc); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Haline ---------- */
.haline { position: relative; overflow: hidden; z-index: 2; background: radial-gradient(80% 70% at 70% 50%, rgba(255,79,160,.10), transparent 60%), radial-gradient(70% 70% at 20% 60%, rgba(58,168,255,.10), transparent 60%), #121315; border-block: 1px solid var(--trait); }
.haline .bloc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
/* 16/11/2026 : vagues du widget Haline du Mac, dans ses proportions (368 x 30) */
.voix { width: 100%; aspect-ratio: 368 / 30; height: auto; display: block; }
.haline .voix { margin: 26px 0 8px; }
.fiche .voix { max-width: 520px; margin: 14px 0 18px; }
.haline .telephone { position: relative; justify-self: center; width: min(360px, 78vw); }
.haline .telephone img { border-radius: 44px; box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.haline .telephone .flotte { position: absolute; width: 38%; right: -16%; bottom: 8%; border-radius: 22.5%; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.haline .points { display: grid; gap: 14px; margin-top: 30px; }
.haline .points div { display: flex; gap: 14px; align-items: baseline; color: #d5d6d8; }
.haline .points b { font-weight: 600; color: #fff; }
.haline .points i { flex: 0 0 9px; height: 9px; border-radius: 50%; transform: translateY(-1px); }
.etiquette { display: inline-flex; gap: 8px; align-items: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); }
.etiquette::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 12px var(--rose); animation: pouls 2s ease-in-out infinite; }
@keyframes pouls { 50% { transform: scale(.6); opacity: .5; } }

/* ---------- Grille d'apps ---------- */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(40px, 5vw, 70px); }
.app { position: relative; border-radius: 24px; padding: 26px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--trait); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), border-color .4s; min-height: 300px; display: flex; flex-direction: column; }
.app::before { content: ""; position: absolute; inset: -1px; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.10), transparent 45%); }
.app:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.2); }
.app:hover::before { opacity: 1; }
.app img.icone { width: 72px; height: 72px; border-radius: 22.5%; box-shadow: 0 12px 30px rgba(0,0,0,.45); transition: transform .7s var(--ease); }
.app:hover img.icone { transform: rotate(-6deg) scale(1.08); }
.app h3 { font-size: 26px; font-weight: 500; margin-top: 24px; letter-spacing: -.02em; }
.app p { color: var(--doux); font-size: 15px; margin-top: 8px; flex: 1; }
.app .plateformes { font-size: 12px; letter-spacing: .08em; color: #c7c8cb; margin-top: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.app .plateformes span { padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.06); }

/* ---------- Réalisations de l'agence ---------- */
.realisations { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(40px, 5vw, 70px); }
.real { grid-column: span 4; position: relative; display: block; }
.real.l { grid-column: span 7; } .real.m { grid-column: span 5; } .real.xl { grid-column: span 12; }
.real .cadre { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.real.xl .cadre { aspect-ratio: 21 / 9; }
.real .cadre img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.real figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; align-items: baseline; }
.real figcaption b { font-weight: 500; font-size: 19px; letter-spacing: -.01em; }
.real figcaption span { color: var(--doux); font-size: 14px; text-align: right; }
.real .cadre::after { content: attr(data-voir); position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600; background: #fff; color: #111; transform: scale(0); transition: transform .5s var(--ease); }
.real:hover .cadre::after { transform: scale(1); }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--trait); padding-top: 40px; margin-top: clamp(50px, 7vw, 100px); }
.chiffre b { display: block; font-size: clamp(44px, 5.6vw, 84px); font-weight: 200; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.chiffre span { color: var(--doux); font-size: 14.5px; display: block; margin-top: 10px; max-width: 24ch; }

/* ---------- Page intérieure : héros d'image ---------- */
.heros-page { min-height: 92svh; display: flex; align-items: flex-end; position: relative; overflow: hidden; padding: 140px var(--marge) clamp(50px, 8vw, 100px); }
.heros-page > img, .heros-page > .fond { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; z-index: -2; will-change: transform; }
.heros-page::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22,23,25,.35) 0%, rgba(22,23,25,.2) 40%, var(--fond) 100%); }
.heros-page .contenu { position: relative; max-width: var(--large); width: 100%; margin: 0 auto; }
.heros-page .chapo { margin-top: 26px; }

/* Récit en deux colonnes avec image collante */
.recit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.recit .colle { position: sticky; top: 100px; border-radius: 26px; overflow: hidden; aspect-ratio: 3/4; }
.recit .colle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.recit .colle img.actif { opacity: 1; transform: none; }
.recit .etapes { display: grid; gap: clamp(60px, 18vh, 200px); padding: 10vh 0 20vh; }
/* 16/11/2026 (audit) : les étapes en attente restaient à 25 % (contraste 1,6:1, illisible) ; chaque texte
   est maintenant atténué juste au-dessus du seuil WCAG AA (date 4,5:1, titre 3:1, texte 4,5:1). */
.recit .etape > * { transition: opacity .6s; }
.recit .etape:not(.actif) .date { opacity: .78; }
.recit .etape:not(.actif) h3 { opacity: .4; }
.recit .etape:not(.actif) p { opacity: .6; }
.recit .etape .date { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); }
.recit .etape h3 { font-size: clamp(30px, 3.4vw, 50px); margin: 10px 0 14px; }
.recit .etape p { color: #cfd0d2; max-width: 44ch; }
.recit .etape .mini { display: none; }

/* Galerie mosaïque */
.mosaique { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(140px, 16vw, 230px); gap: 14px; margin-top: 50px; }
.mosaique figure { border-radius: 18px; overflow: hidden; position: relative; }
.mosaique figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaique figure:hover img { transform: scale(1.06); }
.mosaique figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: rgba(15,15,17,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mosaique .a { grid-column: span 3; grid-row: span 2; } .mosaique .b { grid-column: span 3; } .mosaique .c { grid-column: span 2; grid-row: span 2; } .mosaique .d { grid-column: span 2; grid-row: span 2; } .mosaique .e { grid-column: span 2; grid-row: span 2; }

/* Produits : grandes fiches alternées */
.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(60px, 9vw, 130px) 0; border-top: 1px solid var(--trait); }
.fiche:nth-child(even) .visuel { order: -1; }
.fiche .visuel { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2b2d31, #18191b); aspect-ratio: 4/3.4; display: grid; place-items: center; border: 1px solid var(--trait); }
.fiche .visuel img { max-height: 88%; width: auto; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.55); transition: transform 1.2s var(--ease); }
.fiche .visuel img.large { width: 92%; max-height: none; border-radius: 12px; }
.fiche .visuel:hover img { transform: translateY(-8px) scale(1.02); }
.fiche .entete-fiche { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.fiche .entete-fiche img { width: 60px; height: 60px; border-radius: 22.5%; }   /* gabarit des icônes ADN */
.fiche h2 { font-size: clamp(40px, 5vw, 76px); }
.fiche ul { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.fiche li { padding-left: 22px; position: relative; color: #d3d4d6; }
.fiche li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--arc); }

/* Contact */
.contact-geant { font-size: clamp(26px, 7.2vw, 118px); overflow-wrap: anywhere; font-weight: 200; letter-spacing: -.04em; line-height: 1.02; display: inline-block; position: relative; }
.contact-geant::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: 3px; background: var(--arc); transform: scaleX(.15); transform-origin: left; transition: transform 1s var(--ease); }
.contact-geant:hover::after { transform: scaleX(1); }
.coordonnees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: clamp(50px, 7vw, 100px); border-top: 1px solid var(--trait); padding-top: 34px; }
.coordonnees h4, .coordonnees h2 { line-height: 1.55; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--doux); font-weight: 500; margin-bottom: 10px; }

/* ---------- Appel final + pied de page ---------- */
.appel { text-align: center; }
.appel .titre-geant { margin-bottom: 40px; }
.pied { position: relative; z-index: 2; border-top: 1px solid var(--trait); padding: clamp(50px, 7vw, 90px) var(--marge) 34px; background: #121315; }
.pied-grille { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.logo-pied { display: inline-flex; flex-direction: column; align-items: stretch; width: 220px; }
.logo-pied .l { width: 100%; fill: #fff; }
.logo-pied .t { width: 100%; fill: #ddd; margin-top: 8px; }
.logo-pied canvas { width: 100%; height: 34px; display: block; margin-top: 6px; }
.pied h4, .pied h2 { line-height: 1.55; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--doux); font-weight: 500; margin-bottom: 14px; }
.pied a, .pied li { display: block; color: #d3d4d6; font-size: 15px; padding: 3px 0; list-style: none; transition: color .3s, transform .3s var(--ease); }
.pied a:hover { color: #fff; transform: translateX(4px); }
.pied-bas { max-width: var(--large); margin: 50px auto 0; display: flex; justify-content: space-between; gap: 20px; color: var(--doux); font-size: 13px; border-top: 1px solid var(--trait); padding-top: 22px; flex-wrap: wrap; }
.maquette { color: var(--jaune); }

/* ---------- Rideau de transition entre pages ---------- */
.rideau { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: grid; place-items: center; background: #141517; transform: translateY(100%); }
.rideau::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--arc); }
.rideau canvas { width: min(60vw, 520px); height: 90px; opacity: 0; transition: opacity .3s; }
.rideau.entre { transition: transform .6s var(--ease); transform: translateY(0); }
.rideau.entre canvas { opacity: 1; }
.rideau.sort { transform: translateY(0); animation: rideau-sort .9s .05s var(--ease) forwards; }
@keyframes rideau-sort { to { transform: translateY(-100%); } }

/* ---------- Téléphone ---------- */
@media (max-width: 900px) {
  .palettes { left: 50%; right: auto; transform: translateX(-50%); }
  .palettes button { font-size: 10px; padding: 6px 10px; letter-spacing: .08em; }
  /* 16/11/2026 (audit) : « Défiler » revient sur téléphone (les palettes sont masquées) : sans lui, aucun texte visible à l'ouverture → Performance 0. */
  .defiler { bottom: 18px; }
  .palettes { bottom: 40px; }
  .menu { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; background: rgba(18,19,21,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); z-index: 2; }
  .menu a { font-size: 30px; font-weight: 300; color: #fff; transform: translateY(20px); transition: transform .6s var(--ease); }
  .menu-ouvert .menu { opacity: 1; pointer-events: auto; }
  .menu-ouvert .menu a { transform: none; }
  .burger { display: block; }
  .piliers, .haline .bloc, .recit, .fiche, .pied-grille, .coordonnees { grid-template-columns: 1fr; }
  .fiche:nth-child(even) .visuel { order: 0; }
  .apps { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .real, .real.l, .real.m { grid-column: span 12; }
  .real.xl .cadre { aspect-ratio: 4/3; }
  .recit .colle { display: none; }
  .recit .etapes { gap: 70px; padding: 0; }
  .recit .etape, .recit .etape:not(.actif) > * { opacity: 1; }
  .recit .etape .mini { display: block; border-radius: 18px; margin-top: 20px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
  .mosaique { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .mosaique .a, .mosaique .b, .mosaique .c, .mosaique .d, .mosaique .e { grid-column: span 1; grid-row: span 1; }
  .mosaique .a { grid-column: span 2; grid-row: span 2; }
  .haline .telephone .flotte { right: -6%; }
  .horizontal .tete { flex-direction: column; align-items: flex-start; }
  .carte { width: 74vw; }
  .carte.texte { width: 74vw; }
  .pilier { min-height: 440px; }
}
@media (max-width: 520px) { .apps { grid-template-columns: 1fr; } .app { min-height: 0; } }

/* ---------- Réduire les animations ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .monte, .mots .m > span, .devoile, .devoile img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .intro .lettres .face path { stroke-dashoffset: 0; fill-opacity: 1; }
  .intro .ombre, .intro .devise path, .intro .devise circle { opacity: 1; }
  .lueur, .defiler::after { display: none; }
  .horizontal .collant { position: static; height: auto; padding: 80px 0; }
  .horizontal .piste { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 20px; }
  .carte { scroll-snap-align: start; }
  .rideau { display: none; }
}
.palettes { display: none !important; }
/* 16/11/2026 : badges officiels des magasins (fiches Produits). 40 px visibles, marge libre ≥ 1/4 de la hauteur. */
.fiche .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.fiche .badges a { display: block; line-height: 0; }
.fiche .badges img { display: block; border-radius: 0; box-shadow: none; }
.fiche .badges .badge-apple { height: 40px; width: auto; }
.fiche .badges .badge-google { height: 52px; width: auto; margin: -6px 0; }  /* le PNG Google a 6 px de vide en haut et en bas */
.fiche .marques { margin-top: 12px; font-size: 11px; color: #8e9095; }

/* lumiere interieure qui traverse les lettres de gauche a droite (16/11) */
.heros-logo .lettres .eclat { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .heros-logo .lettres .eclat { display: none; } }

/* 16/11/2026 (audit) : page Confidentialité et lien du pied de page */
.pied-bas a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.pied-bas a:hover { color: var(--texte); }
.texte-legal > h2, .texte-legal > p, .texte-legal > ul { max-width: 68ch; }
.texte-legal > h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 56px 0 16px; }
.texte-legal > p:not(.chapo), .texte-legal > ul { color: #cfd0d2; margin-bottom: 14px; }
.texte-legal > ul { padding-left: 1.2em; }
.texte-legal > ul li { margin-bottom: 6px; }
.texte-legal a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.texte-legal a:hover { color: var(--turquoise); }
.texte-legal b { font-weight: 600; color: var(--texte); }

/* Visionneuse des réalisations (16/11/2026) */
.visionneuse { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 4vh 4vw; background: rgba(8,8,10,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.visionneuse.ouverte { opacity: 1; pointer-events: auto; }
.visionneuse figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 100%; max-height: 100%; }
.visionneuse img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.96); transition: transform .5s var(--ease); }
.visionneuse.ouverte img { transform: none; }
.visionneuse figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #fff; text-align: center; }
.visionneuse figcaption span { opacity: .6; font-size: 14px; }
.visionneuse .fermer { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.visionneuse .fermer:hover { background: rgba(255,255,255,.16); }
