/* hozanne.ovh : noir, bleu, violet. Archivo (titres) + Figtree (texte). */
:root {
  --noir: #0c0c10;
  --noir-2: #121218;
  --surface: #15151c;
  --trait: #23232c;
  --trait-2: #2a2a35;
  --trait-3: #3a3a46;
  --texte: #f2f1ee;
  --texte-2: #c9c8d1;
  --doux: #a3a2ad;
  --bleu: #4d8bff;
  --bleu-lien: #7aa8ff;
  --violet: #9b6bff;
  --vert: #3ddc84;
  --titre: "Archivo", system-ui, sans-serif;
  --corps: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noir); color: var(--texte); font-family: var(--corps); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--bleu-lien); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--titre); margin: 0; }
p { margin: 0; }
::selection { background: var(--bleu); color: var(--noir); }

.conteneur { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bleu); color: var(--noir); padding: 10px 14px; font-weight: 600; }
.evitement:focus { left: 8px; }
.bleu { color: var(--bleu); }

/* Typo */
.geant { font-weight: 900; font-size: clamp(38px, 10.5vw, 104px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; }
.geant-moyen { font-family: var(--titre); font-weight: 900; font-size: clamp(40px, 5.5vw, 64px); line-height: .95; letter-spacing: -.03em; text-transform: uppercase; }
.titre-section { font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.chapeau { font-size: 19px; color: var(--texte-2); max-width: 580px; }

/* Boutons */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 24px; border-radius: 6px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-bleu { background: var(--bleu); color: var(--noir); }
.btn-bleu:hover { background: #fff; color: var(--noir); }
.btn-contour { border-color: var(--trait-3); color: var(--texte); }
.btn-contour:hover { border-color: var(--texte); color: #fff; }
.btn-noir { background: var(--noir); color: var(--texte); }
.btn-noir:hover { background: #26262f; color: #fff; }
.lien-fleche { font-weight: 600; text-decoration: none; }
.lien-fleche span { display: inline-block; transition: transform .2s; }
.lien-fleche:hover span { transform: translateX(4px); }

/* En-tête */
.entete { border-bottom: 1px solid var(--trait); background: var(--noir); position: sticky; top: 0; z-index: 50; }
.entete-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.marque { display: flex; align-items: center; gap: 12px; color: var(--texte); text-decoration: none; }
.marque-nom { font-family: var(--titre); font-weight: 700; font-size: 17px; }
.logo-th { width: 52px; height: auto; fill: var(--texte); overflow: visible; }
.logo-th path { transition: transform .35s cubic-bezier(.2,.8,.2,1), fill .35s; }
.marque:hover .lh, .marque:focus-visible .lh { fill: var(--bleu); }
.marque:hover .lt, .marque:focus-visible .lt { transform: translate(-60px, -50px); }
.marque:hover .lh, .marque:focus-visible .lh { transform: translate(60px, 50px); }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; font-weight: 500; font-size: 15px; }
.menu a { color: var(--doux); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.menu a:hover { color: #fff; }
.menu a[aria-current="page"] { color: #fff; border-bottom-color: var(--bleu); }
.menu .menu-cta { padding: 10px 18px; border-radius: 6px; background: var(--texte); color: var(--noir); font-weight: 600; border: 0; }
.menu .menu-cta:hover { background: var(--bleu); color: var(--noir); }
.menu .menu-cta[aria-current="page"] { background: var(--bleu); color: var(--noir); }

/* ===== Animations du logo TH ===== */

/* Intro, 1re page de la visite : assemblage diagonal, flash bleu, zoom départ, volet diagonal */
.intro { display: none; }
.avec-intro .intro {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 300; background: var(--noir); cursor: pointer;
  animation: introSort .55s 1.55s cubic-bezier(.7,0,.3,1) forwards;
}
.intro-logo { width: min(46vw, 340px); height: auto; overflow: visible; fill: var(--texte); }
.intro-logo .lt { animation: arriveT .65s cubic-bezier(.2,.9,.2,1) both; }
.intro-logo .lh { animation: arriveH .65s .1s cubic-bezier(.2,.9,.2,1) both, flashBleu .6s .8s ease both; }
.avec-intro .intro-logo { animation: zoomDepart .55s 1.5s cubic-bezier(.6,0,.4,1) forwards; }
.intro.fini { display: none; }
@keyframes arriveT { from { transform: translate(-900px, -700px); } to { transform: none; } }
@keyframes arriveH { from { transform: translate(900px, 700px); } to { transform: none; } }
@keyframes flashBleu { 0% { fill: var(--texte); } 40% { fill: var(--bleu); } 100% { fill: var(--bleu); } }
@keyframes zoomDepart { to { transform: scale(2.4); opacity: 0; } }
@keyframes introSort { to { clip-path: polygon(130% 0, 130% 0, 100% 100%, 100% 100%); visibility: hidden; } }
.avec-intro .intro { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); }

/* Volet diagonal entre les pages */
.volet { position: fixed; inset: 0; z-index: 250; pointer-events: none; overflow: hidden; visibility: hidden; }
.volet-in {
  position: absolute; top: 0; bottom: 0; left: -40vw; width: 180vw;
  background: var(--bleu); transform: translateX(-120%) skewX(-18deg);
  display: flex; align-items: center; justify-content: center;
  padding-left: 54vw; box-sizing: border-box; /* recentre le logo dans l'écran quand le volet couvre */
}
.volet-logo { width: min(26vw, 160px); height: auto; fill: var(--noir); transform: skewX(18deg); }
.volet-entree .volet, .volet-sortie .volet { visibility: visible; }
.volet-entree .volet-in { animation: voletPart .5s .05s cubic-bezier(.7,0,.3,1) both; }
.volet-sortie .volet-in { animation: voletArrive .38s cubic-bezier(.7,0,.3,1) both; }
@keyframes voletArrive { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(-15%) skewX(-18deg); } }
@keyframes voletPart { from { transform: translateX(-15%) skewX(-18deg); } to { transform: translateX(90%) skewX(-18deg); } }

/* Titres de page : révélation par la gauche */
.js .geant { animation: revelGauche .8s .1s cubic-bezier(.2,.8,.2,1) both; }
.avec-intro .geant { animation-delay: 1.9s; }
.volet-entree .geant { animation-delay: .4s; }
@keyframes revelGauche { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -5% -10% 0); } }

/* Titres de section : révélation par le bas, au défilement */
.js .titre-section { clip-path: inset(0 0 100% 0); transform: translateY(24px); transition: clip-path .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js .titre-section.vu { clip-path: inset(-10% -5% -10% 0); transform: none; }

/* « je code. » : balayage lumineux toutes les quelques secondes */
.balayage {
  background: linear-gradient(100deg, var(--bleu) 42%, #dbe7ff 50%, var(--bleu) 58%) 100% 0 / 300% 100% no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: balaye 6s 1.2s ease-in-out infinite;
}
.avec-intro .balayage { animation-delay: 2.8s; }
@keyframes balaye { 0% { background-position: 100% 0; } 22%, 100% { background-position: 0% 0; } }

/* Logo du pied : rotation complète au survol */
.logo-pied { transform-box: fill-box; transform-origin: center; }
.pied-marque:hover .logo-pied { animation: tour .8s cubic-bezier(.5,0,.3,1); }
@keyframes tour { to { transform: rotate(360deg); } }

/* Bloc bleu : écho au survol */
.appel h2 { transition: text-shadow .4s; }
.appel h2:hover { text-shadow: 6px 6px 0 rgba(12,12,16,.25), 12px 12px 0 rgba(12,12,16,.12); }

/* Succès du formulaire : TH en zoom d'arrivée + flash bleu */
.th-succes { width: 56px; height: auto; fill: var(--texte); overflow: visible; display: block; margin-bottom: 8px; }
.th-succes { animation: zoomArrivee .5s cubic-bezier(.2,1.4,.4,1) both; }
.th-succes .lh { animation: flashBleu .6s .45s ease both; }
@keyframes zoomArrivee { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }

/* Page 404 : glitch + flottement */
.erreur-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; padding-top: 64px; padding-bottom: 96px; }
.th-404 { width: min(70vw, 420px); height: auto; fill: var(--texte); overflow: visible; animation: flotte 4s ease-in-out infinite; }
.th-404 .lt { animation: glitchT 3s steps(1) infinite; }
.th-404 .lh { fill: var(--bleu); animation: glitchH 3s steps(1) infinite; }
@keyframes flotte { 50% { transform: translateY(-14px); } }
@keyframes glitchT { 0%, 8%, 100% { transform: none; clip-path: none; } 2% { transform: translate(-40px, 0); clip-path: inset(10% 0 55% 0); } 4% { transform: translate(30px, 0); clip-path: inset(50% 0 20% 0); } 6% { transform: translate(-12px, 0); } 52% { transform: translate(24px, 0); clip-path: inset(30% 0 40% 0); } 54% { transform: none; clip-path: none; } }
@keyframes glitchH { 0%, 8%, 100% { transform: none; clip-path: none; } 3% { transform: translate(44px, 0); clip-path: inset(60% 0 5% 0); } 5% { transform: translate(-26px, 0); clip-path: inset(5% 0 70% 0); } 53% { transform: translate(-30px, 0); clip-path: inset(45% 0 30% 0); } 55% { transform: none; clip-path: none; } }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 72px; padding-bottom: 56px; }
.hero-texte { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.dispo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--texte-2); }
.point { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); flex-shrink: 0; }
.hero-photo { flex: 2 1 340px; min-width: 0; margin: 0; position: relative; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: 10px; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 14px; border-radius: 6px; background: rgba(12,12,16,.85); font-size: 13px; }

.faits { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.faits-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.faits-grille div { padding: 26px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--trait); }
.faits-grille div:first-child { border-left: 0; padding-left: 0; }
.faits-grille strong { font-family: var(--titre); font-weight: 800; font-size: 22px; }
.faits-grille span { font-size: 14px; color: var(--doux); }

.bloc-deux { display: flex; flex-wrap: wrap; gap: 48px; }
.bloc-deux > .titre-section { flex: 0 1 320px; }
.bloc-deux > :not(.titre-section) { flex: 3 1 560px; min-width: 0; }
.liste-num { margin: 0; padding: 0; list-style: none; }
.liste-num li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 28px 0; border-top: 1px solid var(--trait-2); }
.liste-num li:last-child { border-bottom: 1px solid var(--trait-2); }
.liste-num .num { font-family: var(--titre); font-weight: 700; color: var(--bleu); }
.liste-num h3 { font-weight: 800; font-size: 26px; margin-bottom: 6px; }
.liste-num p { color: var(--doux); }

.sombre { background: var(--noir-2); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.tete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.une { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
@media (max-width: 700px) { .une { grid-template-columns: 1fr; } }
.carte-une { display: flex; flex-direction: column; gap: 14px; }
.carte-une img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 10px; background: var(--surface); }
.carte-une.grande { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; }
.carte-une.grande img { flex: 3 1 480px; min-width: 0; width: auto; aspect-ratio: 16 / 9; }
.carte-une.grande .carte-texte { flex: 2 1 280px; }
.carte-une.grande h3 { font-size: 34px; }
.carte-texte { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.carte-texte h3 { font-weight: 800; font-size: 24px; line-height: 1.15; }
.carte-texte p { color: var(--doux); }
.cat { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--bleu); }
.cat-product { color: var(--violet); }

.citation { margin: 0; max-width: 900px; display: flex; flex-direction: column; gap: 22px; }
.citation blockquote { margin: 0; font-family: var(--titre); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.citation blockquote::before { content: ""; display: block; width: 56px; height: 6px; background: var(--bleu); margin-bottom: 26px; }
.citation figcaption { color: var(--doux); }
.citation strong { color: var(--texte); }

.appel { background: var(--bleu); color: var(--noir); }
.appel-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 80px; padding-bottom: 80px; }
.appel-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.appel-courriel { font-family: var(--titre); font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); color: var(--noir); overflow-wrap: anywhere; }
.appel-courriel:hover { color: #fff; }

/* Réalisations */
.intro-page { padding-top: 72px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 26px; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.filtre { min-height: 44px; padding: 10px 20px; border-radius: 6px; border: 1px solid var(--trait-3); background: transparent; color: var(--texte); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.filtre:hover { border-color: var(--texte); }
.filtre[aria-pressed="true"] { background: var(--texte); color: var(--noir); border-color: var(--texte); font-weight: 600; }
.filtre .compte { font-size: 13px; opacity: .6; margin-left: 4px; }
.liste-projets { padding-top: 16px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
.projet { display: flex; flex-direction: column; gap: 20px; }
.projet[hidden] { display: none; }
.projet-img img, .tuile { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 10px; background: var(--surface); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.projet:hover .projet-img img, .projet:hover .tuile { transform: translateY(-4px); }
.tuile { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 24px; border: 1px solid var(--trait); background: linear-gradient(var(--surface), var(--surface)); }
.tuile span { position: relative; font-family: var(--titre); font-weight: 900; font-size: clamp(30px, 4vw, 52px); line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.tuile-th { position: absolute; right: -6%; top: -12%; width: 62%; fill: var(--trait-2); transform: rotate(-8deg); }
.projet-texte { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.projet-texte h2 { font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.projet-texte p { font-size: 17px; color: var(--texte-2); }
.pile { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pile li { font-size: 13px; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--trait-3); color: var(--texte-2); }
.acces { font-size: 14px; color: var(--doux); }
.cat-diffusion { color: var(--bleu); }

/* Bande Chevaliers (couleurs de l'équipe, seulement ici) */
.chevaliers { background: #121008; border-top: 1px solid #3a3110; border-bottom: 1px solid #3a3110; overflow: hidden; }
.chev-in { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-top: 56px; padding-bottom: 56px; }
.chev-logo { flex: 0 0 auto; display: block; }
.chev-logo img { width: 150px; height: auto; animation: flotte 4s ease-in-out infinite; transition: transform .3s; }
.chev-logo:hover img { animation: rebond .6s cubic-bezier(.3,1.6,.5,1); }
.chev-texte { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.chev-sur { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #f5c518; }
.chev-texte h2 { font-weight: 900; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; }
.chev-texte h2 span { color: #f5c518; }
.chev-texte p { color: var(--texte-2); max-width: 560px; }
.chev-texte .lien-fleche { color: #f5c518; }
.chev-texte .lien-fleche:hover { color: #fff; }
.chev-match { flex: 0 1 300px; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border-radius: 10px; background: #f5c518; color: #0c0c10; }
.chev-etiq { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.chev-match strong { font-family: var(--titre); font-weight: 900; font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.chev-match strong span { font-weight: 600; font-size: 16px; text-transform: lowercase; }
@keyframes rebond { 0% { transform: scale(1); } 40% { transform: scale(1.12) rotate(-4deg); } 100% { transform: scale(1); } }

/* SannaStudio */
.ss { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ss-gauche { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.ss-rundown { flex: 1 1 380px; min-width: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--trait-2); }
.ss-rundown li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--trait-2); font-family: var(--titre); font-weight: 700; font-size: 20px; }
.ss-rundown span { font-size: 14px; color: var(--bleu); }
.ss-rundown em { font-family: var(--corps); font-style: normal; font-weight: 500; font-size: 13px; color: var(--doux); border: 1px solid var(--trait-3); border-radius: 4px; padding: 2px 8px; }

/* Parcours */
.intro-parcours { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.intro-parcours > img { flex: 1 1 280px; max-width: 380px; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.intro-parcours > div { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.signature { font-family: var(--titre); font-weight: 700; font-size: 20px; color: var(--violet); max-width: 580px; }
.filet { border-top: 1px solid var(--trait); }
.filet .section { padding-top: 80px; padding-bottom: 80px; }
.ligne { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 32px; padding: 26px 0; border-top: 1px solid var(--trait-2); }
.ligne:last-child { border-bottom: 1px solid var(--trait-2); }
.ligne .date { font-size: 15px; color: var(--doux); }
.ligne h3 { font-weight: 800; font-size: 22px; line-height: 1.25; }
.ligne .lieu { color: var(--bleu); font-weight: 500; margin: 2px 0 8px; }
.ligne p:not(.lieu) { color: var(--texte-2); }
.outils { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-top: 40px; }
.outils h3 { font-family: var(--corps); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--violet); margin-bottom: 12px; }
.outils ul { margin: 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.9; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 72px; padding-bottom: 96px; }
.contact-infos { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.coord { margin: 0; border-top: 1px solid var(--trait-2); }
.coord div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--trait-2); }
.coord dt { color: var(--doux); }
.coord dd { margin: 0; font-weight: 600; }
.coord a { color: var(--texte); text-decoration: none; }
.coord a:hover { color: var(--bleu-lien); }
.formulaire { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; padding: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--trait); }
.champ { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.large { grid-column: 1 / -1; }
.champ label { font-size: 14px; font-weight: 500; }
.champ input, .champ select, .champ textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--trait-3); border-radius: 6px; background: var(--noir); color: var(--texte); font: inherit; font-size: 16px; }
.champ textarea { resize: vertical; min-height: 150px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 2px solid var(--bleu); outline-offset: 0; border-color: var(--bleu); }
.champ [aria-invalid="true"] { border-color: #ff7a8a; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut { min-height: 1.6em; font-size: 15px; color: var(--texte-2); }
.statut.ok { color: var(--vert); }
.statut.erreur { color: #ff9aa6; }

/* Pied */
.pied { border-top: 1px solid var(--trait); }
.pied-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; color: var(--doux); }
.logo-pied { width: 40px; height: auto; fill: var(--doux); display: block; }
.pied-marque:hover .logo-pied { fill: var(--texte); }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied-liens a { color: var(--texte-2); text-decoration: none; }
.pied-liens a:hover { color: #fff; }

/* Mobile */
@media (max-width: 700px) {
  .conteneur { padding-left: 16px; padding-right: 16px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero, .intro-page, .intro-parcours, .contact { padding-top: 40px; }
  .hero { gap: 32px; }
  .marque-nom { display: none; }
  .entete-in { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .logo-th { width: 44px; }
  .menu { flex-wrap: nowrap; gap: 14px; font-size: 14px; }
  .menu a.menu-accueil { display: none; }
  .menu .menu-cta { padding: 9px 12px; white-space: nowrap; }
  .hero-photo img { aspect-ratio: 1 / 1; }
  .intro-parcours > img { max-width: 260px; }
  .faits-grille div { border-left: 0; padding-left: 0; border-top: 1px solid var(--trait); }
  .faits-grille div:first-child { border-top: 0; }
  .liste-num li { grid-template-columns: 44px minmax(0, 1fr); }
  .liste-num h3 { font-size: 22px; }
  .ligne { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; padding: 22px; }
  .carte-une.grande img, .projet-img, .projet-texte, .hero-texte, .hero-photo, .bloc-deux > * { flex-basis: 100%; }
  .contact { gap: 40px; }
  .liste-projets { grid-template-columns: 1fr; gap: 48px; }
  .chev-in { gap: 24px; padding-top: 44px; padding-bottom: 44px; }
  .chev-logo img { width: 110px; }
  .chev-match { flex-basis: 100%; }
  .ss-rundown li { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Logos des technos */
.ic { width: 14px; height: 14px; flex-shrink: 0; }
.pile li { display: inline-flex; align-items: center; gap: 6px; }
.outils li { display: flex; align-items: center; gap: 10px; }
.outils .ic { width: 18px; height: 18px; }
.ic-fait { width: 20px; height: 20px; margin-right: 8px; vertical-align: -3px; }
.faits-grille strong { display: flex; align-items: center; flex-wrap: wrap; }

/* Logos des employeurs */
.logos { border-bottom: 1px solid var(--trait); }
.logos-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding-top: 36px; padding-bottom: 36px; }
.logos-titre { font-family: var(--corps); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--doux); }
.logos-liste { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 44px; margin: 0; padding: 0; list-style: none; flex: 1 1 500px; }
.logo-ent { display: block; height: 52px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: .75; transition: filter .3s, opacity .3s, transform .3s; }
.logos-liste li:hover .logo-ent { filter: none; opacity: 1; transform: translateY(-2px); }
.logo-texte { height: auto; display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--trait-3); border-radius: 6px; font-family: var(--titre); font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--texte-2); white-space: nowrap; filter: none; }
.logo-ligne { display: block; margin-top: 14px; height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.logo-ligne.logo-texte { height: auto; padding: 6px 10px; font-size: 13px; width: auto; max-width: 160px; white-space: normal; line-height: 1.2; }
@media (max-width: 700px) {
  .logos-liste { gap: 16px 28px; }
  .logo-ent { height: 40px; }
  .ligne .date { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
  .logo-ligne { margin-top: 0; height: 32px; }
}

/* Carte courriel du bloc bleu */
.appel-actions { gap: 14px; }
.carte-mail { display: flex; align-items: stretch; background: var(--noir); border-radius: 10px; overflow: hidden; box-shadow: 8px 8px 0 rgba(12,12,16,.22); transition: transform .25s, box-shadow .25s; max-width: 100%; }
.carte-mail:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 rgba(12,12,16,.28); }
.carte-mail-lien { display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: var(--texte); text-decoration: none; min-width: 0; }
.carte-mail-lien:hover { color: #fff; }
.carte-mail-ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 8px; background: var(--bleu); display: grid; place-items: center; }
.carte-mail-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--noir); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carte-mail-lien:hover .carte-mail-ic svg { animation: enveloppe .5s ease; }
@keyframes enveloppe { 30% { transform: translateY(-3px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(4deg); } }
.carte-mail-txt { display: flex; flex-direction: column; min-width: 0; }
.carte-mail-etiq { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--doux); }
.carte-mail-adr { font-family: var(--titre); font-weight: 800; font-size: clamp(16px, 1.9vw, 21px); overflow-wrap: anywhere; }
.carte-mail-adr span { color: var(--bleu); }
.carte-mail-copier { flex-shrink: 0; min-width: 92px; padding: 0 18px; border: 0; border-left: 1px solid var(--trait-2); background: transparent; color: var(--texte-2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.carte-mail-copier:hover { background: #1c1c25; color: #fff; }
.carte-mail-copier.copie { color: var(--vert); }
.copier-statut { min-height: 1em; font-size: 14px; font-weight: 600; }
@media (max-width: 700px) {
  .appel-actions { width: 100%; }
  .carte-mail { width: 100%; }
  .carte-mail-lien { padding: 14px; gap: 12px; flex: 1 1 auto; }
  .carte-mail-ic { width: 40px; height: 40px; }
  .carte-mail-copier { min-width: 74px; padding: 0 12px; }
}
.btn > span[aria-hidden] { margin-left: 8px; }
.carte-mail-adr { overflow-wrap: normal; }
@media (max-width: 700px) { .carte-mail-adr { font-size: 16px; } }

/* Tuile avec le logo du projet */
.tuile-logo { align-items: center; justify-content: center; padding: 10% 14%; }
.tuile-logo img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; background: none; border-radius: 0; }
.projet:hover .tuile-logo img { transform: none; }
.tuile-logo .tuile-th { opacity: .5; }

/* Bande des logos sur téléphone : grille aérée au lieu d'une rangée tassée */
@media (max-width: 700px) {
  .logos-in { flex-direction: column; align-items: stretch; gap: 22px; padding-top: 40px; padding-bottom: 44px; }
  .logos-titre { text-align: center; }
  .logos-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; flex: none; }
  .logos-liste li { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px; border: 1px solid var(--trait); border-radius: 8px; }
  .logos-liste li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .logo-ent { height: 40px; max-width: 100%; }
}
/* Écrans tactiles : pas de survol, donc logos en couleur directement */
@media (hover: none) { .logo-ent { filter: none; opacity: 1; } }

/* Logos d'outils en image */
.ic-img { object-fit: contain; }
.outils .ic-img { width: 26px; height: 22px; }
.pile .ic-img { width: 16px; height: 14px; }
