/* ==========================================================================
   STYLE DU SITE — Héloïse Guérin
   --------------------------------------------------------------------------
   Les COULEURS, POLICES, ARRONDIS et ESPACEMENTS se règlent dans le bloc
   « 1. RÉGLAGES » juste en dessous. Le reste n'a pas besoin d'être modifié.
   ========================================================================== */

/* ---------- 1. RÉGLAGES ---------- */
:root {
  /* Couleurs principales */
  --fond: #f0f0ed;           /* fond du site (couleur principale) */
  --accent: #b36672;         /* accent : mots en rose, formes, détails */
  --accent-fonce: #94505b;   /* accent foncé : boutons et petits textes (plus lisible) */
  --accent-survol: #7f414b;  /* boutons au survol */
  --encre: #2b2627;          /* texte principal */
  --encre-douce: #665d5f;    /* texte secondaire */

  /* Nuances des cartes (dérivées des deux couleurs principales) */
  --carte: #f8f7f4;
  --blanc: #fdfcfa;
  --rose: #ecdcdb;
  --rose-pale: #f4eae8;
  --poudre: #efe3e1;
  --sable: #e7e3db;
  --pierre: #e3e2dc;

  /* Police (Montserrat) et ses épaisseurs */
  --police: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --normal: 400;
  --moyen: 500;
  --gras: 700;
  --black: 900;

  /* Arrondis */
  --rayon-xl: 26px;
  --rayon-l: 20px;
  --rayon-m: 16px;
  --rayon-s: 12px;

  /* Mise en page */
  --largeur-max: 1240px;
  --gouttiere: clamp(16px, 3vw, 36px);
  --espace: clamp(10px, 1.1vw, 14px);
  --section: clamp(48px, 6vw, 88px);
  --hauteur-entete: 64px;

  /* Ombres et mouvements */
  --ombre: 0 1px 2px rgba(60, 40, 42, 0.04), 0 8px 24px -14px rgba(60, 40, 42, 0.12);
  --ombre-forte: 0 2px 4px rgba(60, 40, 42, 0.05), 0 20px 40px -20px rgba(60, 40, 42, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hauteur-entete) + 12px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-weight: var(--normal);
  font-size: clamp(14px, 0.95vw, 15px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-fonce); outline-offset: 3px; border-radius: 8px; }

.lien-evitement {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--accent-fonce); color: #fff;
  transform: translateY(-160%); transition: transform 0.3s;
}
.lien-evitement:focus { transform: none; }
.sans-js { padding: 40px; text-align: center; }

.conteneur {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* ---------- 3. ÉLÉMENTS RÉUTILISÉS ---------- */

/* Titres : très gras, avec les _mots_ en fin et rose */
.titre-section {
  font-weight: var(--black);
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
  line-height: 1.05; letter-spacing: -0.035em;
}
em { font-style: normal; font-weight: var(--normal); color: var(--accent); }

.sous-titre {
  display: flex; align-items: center; gap: 10px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: var(--gras); letter-spacing: -0.01em;
}
.sous-titre .etoile { width: 12px; height: 12px; }

/* Petites étiquettes en capitales */
.etiquette {
  font-size: 0.66rem; font-weight: var(--gras);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-fonce);
}

/* Étoile graphique (rappel de l'image de référence) */
.etoile {
  display: inline-block; flex: none;
  width: 0.5em; height: 0.5em;
  color: var(--accent);
  transition: transform 0.8s var(--ease-out);
}
.etoile svg { width: 100%; height: 100%; fill: currentColor; display: block; }

.carte {
  position: relative;
  background: var(--carte);
  border-radius: var(--rayon-xl);
  box-shadow: var(--ombre);
}

.pastille {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--blanc); box-shadow: var(--ombre);
  font-size: 0.76rem; font-weight: var(--moyen);
}
.point-vivant { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.point-vivant::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); animation: pulsation 2.4s var(--ease) infinite;
}
@keyframes pulsation { from { transform: scale(1); opacity: 0.6; } to { transform: scale(3.2); opacity: 0; } }

.badge-exemple {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  padding: 4px 9px; border-radius: 999px;
  background: var(--blanc); color: var(--accent-fonce);
  font-size: 0.6rem; font-weight: var(--gras); letter-spacing: 0.12em; text-transform: uppercase;
}
.badge-exemple--statique { position: static; display: inline-block; background: var(--rose); }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  height: 44px; padding: 0 1.3em; border-radius: 999px;
  background: var(--accent-fonce); color: #fff;
  font-size: 0.86rem; font-weight: var(--gras); white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease-out);
}
.bouton svg { width: 16px; height: 16px; flex: none; transition: transform 0.4s var(--ease-out); }
.bouton:hover { background: var(--accent-survol); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(148, 80, 91, 0.7); }
.bouton:hover svg { transform: translateX(4px); }
.bouton:active { transform: translateY(0) scale(0.98); }
.bouton--contour { background: transparent; color: var(--accent-fonce); box-shadow: inset 0 0 0 1.5px currentColor; }
.bouton--contour:hover { background: var(--accent-fonce); color: #fff; box-shadow: 0 12px 24px -12px rgba(148, 80, 91, 0.7); }
.bouton--petit { height: 38px; padding: 0 1.1em; font-size: 0.8rem; }

/* Cadres d'images */
.cadre { position: relative; overflow: hidden; isolation: isolate; }
.cadre > img, .cadre > video, .cadre > iframe,
.parallax > img, .parallax > video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border: 0;
}
.parallax { position: absolute; inset: 0; transform: scale(1.08); will-change: transform; }
.js img { opacity: 0; transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); }
.js img.est-charge { opacity: 1; }

/* Visuel « à venir » (quand une image n'est pas encore renseignée) */
.ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: var(--ph-fond, var(--rose-pale));
  overflow: hidden;
}
.ph--rose { --ph-fond: var(--rose-pale); }
.ph--sable { --ph-fond: var(--sable); }
.ph--poudre { --ph-fond: var(--poudre); }
.ph--pierre { --ph-fond: var(--pierre); }
.ph__forme { display: block; width: 28%; max-width: 160px; transition: transform 1s var(--ease-out); }
.ph__forme--arche { aspect-ratio: 3 / 4; border: 2px solid var(--accent); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: 0.45; }
.ph__forme--cercle { aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, transparent); }
.ph__forme--demi { aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; background: color-mix(in srgb, var(--accent) 24%, transparent); }
.ph__forme--etoile { width: 16%; max-width: 80px; aspect-ratio: 1; color: var(--accent); opacity: 0.4; }
.ph__forme--etoile svg { width: 100%; height: 100%; fill: currentColor; }
.ph__label {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  display: flex; align-items: center; gap: 0.5em;
  font-size: 0.6rem; font-weight: var(--gras); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--encre-douce);
}
.ph__label svg { width: 8px; height: 8px; flex: none; fill: var(--accent); }

/* ---------- 4. EN-TÊTE / NAVIGATION ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  padding-top: 10px;
  pointer-events: none;
}
.entete__barre {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 54px; padding: 0 8px 0 10px;
  border-radius: 999px;
  pointer-events: auto;
  transition: background-color 0.4s, box-shadow 0.4s;
}
.entete.est-defile .entete__barre {
  background: rgba(248, 247, 244, 0.88);
  box-shadow: var(--ombre);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.menu-ouvert .entete .entete__barre { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__monogramme {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent-fonce); color: var(--fond);
  font-size: 0.8rem; font-weight: var(--black); letter-spacing: -0.02em;
  transition: transform 0.6s var(--ease-out);
}
.logo:hover .logo__monogramme { transform: rotate(-12deg) scale(1.05); }
.logo__nom { display: flex; flex-direction: column; font-size: 0.92rem; font-weight: var(--black); line-height: 1.1; letter-spacing: -0.02em; }
.logo__nom small {
  margin-top: 2px;
  font-size: 0.56rem; font-weight: var(--moyen);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--encre-douce);
}

/* Menu du haut : liens bien lisibles, rubrique active en pastille rose, « Contact » en bouton */
.menu ul { display: flex; align-items: center; gap: 4px; }
.menu a {
  position: relative; display: block;
  padding: 9px 16px; border-radius: 999px;
  font-size: 0.92rem; font-weight: var(--gras); color: var(--encre);
  transition: color 0.3s, background-color 0.3s;
}
.menu a:hover { background: var(--rose-pale); }
.menu a.est-actif { background: var(--rose); color: var(--accent-fonce); }
.menu a[data-lien-nav="contact"] { margin-left: 6px; background: var(--accent-fonce); color: #fff; }
.menu a[data-lien-nav="contact"]:hover, .menu a[data-lien-nav="contact"].est-actif { background: var(--accent-survol); color: #fff; }

.burger {
  position: relative; display: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--carte); box-shadow: var(--ombre);
}
.burger span {
  position: absolute; left: 13px; right: 13px; top: 50%; height: 1.8px;
  background: var(--encre); border-radius: 2px;
  transition: transform 0.45s var(--ease-out);
}
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hauteur-entete) + 40px) var(--gouttiere) 28px;
  background: var(--fond);
  pointer-events: auto;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.menu-mobile.est-ouvert { opacity: 1; }
.menu-mobile li { overflow: hidden; }
.menu-mobile nav a {
  display: block; padding: 4px 0;
  font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: var(--black); letter-spacing: -0.035em; line-height: 1.15;
  transform: translateY(105%);
  transition: transform 0.7s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--i) * 60ms + 60ms);
}
.menu-mobile nav li:nth-child(even) a { font-weight: var(--normal); color: var(--accent-fonce); }
.menu-mobile.est-ouvert nav a { transform: none; }
.menu-mobile__pied { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-mobile__pied a { padding: 9px 15px; border-radius: 999px; background: var(--carte); font-size: 0.82rem; font-weight: var(--moyen); }
html.menu-ouvert, html.fiche-ouverte { overflow: hidden; }

/* ---------- 5. ACCUEIL ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--espace);
  padding-top: 8px;
}
.hero__texte {
  grid-column: 1 / span 5;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 28px;
  min-height: clamp(260px, 23vw, 320px);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--rayon-xl);
  background: var(--rose);
}
.hero__nom {
  font-weight: var(--black);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.95; letter-spacing: -0.05em;
  color: var(--encre);
}
.hero__nom .ligne { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__nom .ligne > * { display: inline-block; transform: translateY(105%); animation: monter 1.1s var(--ease-out) 0.1s forwards; }
.hero__nom .ligne:nth-child(2) > * { animation-delay: 0.22s; }
.hero__nom em { color: var(--accent-fonce); }
@keyframes monter { to { transform: none; } }

.hero__domaines {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4em 0.8em;
  margin-top: 18px;
  font-size: 0.68rem; font-weight: var(--gras); letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__domaines .sep { width: 7px; height: 7px; }
.hero__domaines .sep svg { width: 100%; height: 100%; fill: var(--accent); display: block; }
.hero__phrase { max-width: 36ch; font-size: clamp(0.95rem, 1.15vw, 1.05rem); font-weight: var(--moyen); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero__etoile {
  position: absolute; top: clamp(22px, 2.6vw, 34px); right: clamp(22px, 2.6vw, 34px);
  width: 22px; height: 22px; color: var(--accent);
  transition: transform 1.2s var(--ease-out);
}
.hero__etoile svg { width: 100%; height: 100%; fill: currentColor; }
.hero__texte:hover .hero__etoile { transform: rotate(180deg) scale(1.25); }

.hero__media {
  grid-column: 6 / span 7;
  min-height: clamp(260px, 23vw, 320px);
  border-radius: var(--rayon-xl);
  background: var(--sable);
}
.hero__pastille { position: absolute; left: 16px; bottom: 16px; z-index: 2; }
/* Bannière animée (réglages dans textes-et-projets.js → accueil.motion) */
.motion { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; background: var(--rose-pale); transition: background-color 0.7s var(--ease); }
.motion[data-sequence="1"] { background: var(--sable); }
.motion[data-sequence="2"] { background: var(--pierre); }
.motion[data-sequence="fin"] { background: var(--rose); }
.motion__forme { position: absolute; top: -20%; right: -14%; width: 62cqw; height: 62cqw; border-radius: 50%; background: var(--accent); opacity: 0.16; filter: blur(7cqw); animation: motion-forme 14s ease-in-out infinite alternate; }
.motion__textes { position: absolute; inset: 0; display: grid; align-content: center; justify-items: start; gap: 2.4cqw; padding: 8cqw 9cqw; color: var(--encre); }
.motion__mot { font-size: 8cqw; font-weight: var(--black); line-height: 1.02; letter-spacing: -0.03em; text-transform: uppercase; }
.motion__rotation { position: relative; width: 100%; height: 1.3em; overflow: hidden; font-size: 6cqw; font-weight: var(--gras); line-height: 1.3; letter-spacing: -0.02em; color: var(--accent-fonce); }
.motion__rotation span { position: absolute; left: 0; top: 0; white-space: nowrap; animation: motion-entre 0.25s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.motion__rotation span.sort { animation: motion-sort 0.25s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.motion__barre { width: 34cqw; height: 3px; margin-top: 0.6cqw; overflow: hidden; border-radius: 3px; background: rgba(43, 38, 39, 0.12); }
.motion__barre i { display: block; height: 100%; background: var(--accent-fonce); transform: scaleX(0); transform-origin: left; }
.motion[data-etat="fin"] .motion__textes { justify-items: center; text-align: center; align-content: center; }
.motion[data-etat="fin"] .motion__mot { font-size: 9.5cqw; text-transform: none; letter-spacing: -0.04em; color: var(--accent-fonce); animation: motion-entre 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.motion[data-etat="fin"] .motion__rotation, .motion[data-etat="fin"] .motion__barre,
.motion[data-etat="fixe"] .motion__rotation, .motion[data-etat="fixe"] .motion__barre { display: none; }
.motion[data-etat="fixe"] .motion__mot { display: grid; gap: 1.6cqw; font-size: 7cqw; }
@keyframes motion-entre { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
@keyframes motion-sort { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-70%); } }
@keyframes motion-forme { from { transform: translate(0, 0) scale(1); } to { transform: translate(-16cqw, 14cqw) scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .motion__forme { animation: none; } }
.hero__media .ph__label { display: none; }
.hero__media .ph::after {
  content: attr(aria-label);
  position: absolute; top: 16px; right: 16px; max-width: calc(100% - 32px);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(253, 252, 250, 0.8);
  font-size: 0.62rem; font-weight: var(--gras); letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce);
}

/* ---------- 6. SECTIONS (espacements) ---------- */
main > section { padding-top: var(--section); }
main > #accueil { padding-top: 0; }

.tete-section {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 10px 40px;
  margin-bottom: clamp(20px, 2.6vw, 32px);
}
.tete-section__texte { max-width: 46ch; color: var(--encre-douce); }

/* ---------- 7. À PROPOS ---------- */
.apropos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--espace);
}
.apropos__gauche {
  grid-column: 1 / span 4; grid-row: 1;
  display: flex; flex-direction: column; gap: var(--espace);
}
.apropos__photo {
  flex: 1 1 auto;
  min-height: 380px;
  border-radius: var(--rayon-xl);
  background: var(--sable);
}
/* léger filtre rosé pour fondre le portrait dans les couleurs du site */
.apropos__photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--accent); mix-blend-mode: soft-light; opacity: 0.18; pointer-events: none; } /* opacité = intensité du filtre */
/* « Ce que je recherche » : encadré sous les expériences, dans la colonne de droite */
.apropos__recherche {
  display: grid; gap: 4px; margin-top: auto;
  padding: 14px 16px; border-radius: var(--rayon-m);
  background: var(--blanc); box-shadow: var(--ombre);
}
.apropos__recherche p { font-size: 0.88rem; font-weight: var(--gras); line-height: 1.35; }
.apropos__photo .ph { align-items: start; padding-top: 16%; }
.apropos__photo .ph__label { top: 14px; bottom: auto; }

.apropos__texte {
  grid-column: 5 / span 8;
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(8px, 1.5vw, 20px) 0 clamp(8px, 1.5vw, 20px) clamp(8px, 1.5vw, 20px);
}
.apropos__paragraphes { display: grid; gap: 10px; max-width: 66ch; color: var(--encre-douce); }
.apropos__parcours { display: grid; gap: 8px; }
.apropos__parcours ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace); margin: 2px 0 0; padding: 0; list-style: none; }
.apropos__parcours li { display: grid; align-content: start; gap: 3px; padding: 14px 16px; border-radius: var(--rayon-m); background: var(--rose-pale); font-size: 0.78rem; line-height: 1.3; }
.apropos__parcours strong { font-size: 0.92rem; font-weight: var(--black); letter-spacing: -0.01em; }
.apropos__parcours span { color: var(--encre-douce); }
.apropos__methode {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3em 0.6em;
  margin-top: 4px;
  font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: var(--black); letter-spacing: -0.02em;
}
.apropos__methode span:nth-child(3) { font-weight: var(--normal); color: var(--accent-fonce); }
.apropos__methode .etoile { width: 10px; height: 10px; }

.apropos__piliers {
  grid-column: 5 / span 8;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-left: clamp(8px, 1.5vw, 20px); /* aligné sur le texte et la frise */
}
.pilier a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding-right: 16px; }
.pilier h3 {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: var(--black); line-height: 1.2; letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease-out);
}
.pilier .etoile { width: 10px; height: 10px; }
.pilier p { font-size: 0.76rem; line-height: 1.45; color: var(--encre-douce); }
.pilier a:hover .etoile { transform: rotate(90deg) scale(1.3); }
.pilier a:hover h3 { transform: translateX(3px); }

/* ---------- 8. PROJETS — projets phares ---------- */
.sous-titre { margin-bottom: 14px; }
.grille-phares {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--espace);
}
.phare {
  display: flex; flex-direction: column;
  overflow: hidden;
  border-radius: var(--rayon-xl);
  background: var(--carte);
  box-shadow: var(--ombre);
}
.phare__visuel { position: relative; display: block; overflow: hidden; background: var(--rose); }
.phare:nth-child(even) .phare__visuel { background: var(--sable); }
.phare--ecran .phare__visuel { padding: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 36px) 0; }
.phare__image { aspect-ratio: 16 / 9; }
.phare__image > img { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); }
.phare:hover .phare__image > img { transform: scale(1.05); }

.navigateur {
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--blanc);
  box-shadow: 0 20px 40px -24px rgba(60, 40, 42, 0.4);
  transform: translateY(14px);
  transition: transform 0.8s var(--ease-out);
}
.navigateur__barre { display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 12px; }
.navigateur__barre i { width: 7px; height: 7px; border-radius: 50%; background: var(--pierre); }
.navigateur__barre i:first-child { background: var(--accent); opacity: 0.6; }
.navigateur__barre span {
  display: flex; align-items: center; flex: 1; height: 17px; margin-left: 10px; padding: 0 10px;
  border-radius: 999px; background: var(--fond);
  font-size: 0.6rem; color: var(--encre-douce); overflow: hidden; white-space: nowrap;
}
.navigateur__ecran { aspect-ratio: 16 / 9; }
.navigateur__ecran > img { object-position: top; transition: opacity 0.9s var(--ease), transform 2.2s var(--ease); }

.squelette {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 5%;
  padding: 5% 7%;
  transition: transform 2.2s var(--ease);
}
.squelette span, .squelette__cartes span { display: block; border-radius: 6px; background: var(--pierre); }
.squelette__nav { height: 6%; width: 100%; opacity: 0.6; }
.squelette__hero { height: 34%; background: var(--rose) !important; }
.squelette__titre { height: 6%; width: 55%; }
.squelette__ligne { height: 4%; width: 75%; opacity: 0.6; }
.squelette__cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; height: 30%; }
.phare:nth-child(even) .squelette__hero { background: var(--sable) !important; }

.phare:hover .navigateur { transform: translateY(0); }
.phare:hover .navigateur__ecran > img { transform: translateY(-8%); }
.phare:hover .squelette { transform: translateY(-6%); }

.phare__corps { display: grid; justify-items: start; gap: 8px; padding: clamp(18px, 2.2vw, 26px); }
.phare__meta { font-size: 0.7rem; font-weight: var(--gras); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-fonce); }
.phare__titre {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: var(--black); line-height: 1.15; letter-spacing: -0.025em;
  transition: transform 0.55s var(--ease-out);
}
.phare:hover .phare__titre { transform: translateX(5px); }
.phare__desc { max-width: 52ch; font-size: 0.88rem; color: var(--encre-douce); }
.phare__corps .bouton { margin-top: 6px; }

/* ---------- 9. PROJETS — galerie avec filtres ---------- */
.galerie-tete {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 12px 24px;
  margin-top: clamp(14px, 2vw, 22px); margin-bottom: clamp(16px, 2vw, 22px);
}
.galerie-tete .sous-titre { margin-bottom: 0; }
.tete-section--projets .titre-section { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.filtres {
  position: relative;
  display: inline-flex; gap: 4px; max-width: 100%;
  padding: 5px; border-radius: 999px;
  background: var(--carte); box-shadow: var(--ombre);
  overflow-x: auto; scrollbar-width: none;
}
.filtres::-webkit-scrollbar { display: none; }
.filtres button {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.9rem; font-weight: var(--gras); color: var(--encre-douce); white-space: nowrap;
  transition: color 0.35s;
}
.filtres button:hover { color: var(--encre); }
.filtres button[aria-pressed="true"] { color: #fff; }
.filtres__nombre { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 0.4em; border-radius: 999px; background: var(--rose-pale); color: var(--accent-fonce); font-size: 0.72rem; }
.filtres button[aria-pressed="true"] .filtres__nombre { background: rgba(255, 255, 255, 0.22); color: #fff; }
.filtres__indicateur {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: var(--accent-fonce);
}
.filtres.est-pret .filtres__indicateur { transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out); }

.galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(140px, 14vw, 196px);
  grid-auto-flow: dense;
  gap: var(--espace);
}
.galerie__vide { padding: 32px 0; color: var(--encre-douce); }
.creation {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--rayon-l);
  background: var(--carte);
}
.creation--paysage { grid-column: span 2; }
/* Les vignettes ont toutes la même hauteur ; la largeur est ajustée par interactions.js pour ne laisser aucun trou */
.creation__cadre { position: absolute; inset: 0; }
.creation .cadre > img, .creation .cadre > video, .creation .ph__forme { transition: opacity 0.9s var(--ease), transform 1.1s var(--ease-out); }
.creation:hover .cadre > img, .creation:hover .cadre > video, .creation:focus-visible .cadre > img { transform: scale(1.05); }
.creation:hover .ph__forme { transform: scale(1.1); }
.creation .ph__label { top: 12px; bottom: auto; left: auto; right: 12px; width: auto; justify-content: flex-end; }
/* Grandes cartes avec texte, pour les filtres listés dans projets.filtresDetailles */
.creation__details { display: none; }
.galerie.galerie--detaillee { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
.galerie--detaillee .creation { display: flex; flex-direction: column; }
.galerie--detaillee .creation__cadre { position: relative; inset: auto; aspect-ratio: 16 / 9; flex: none; }
.galerie--detaillee .creation__etiquette { display: none; }
.galerie--detaillee .creation--logo .cadre > img { padding: 28px; }
.galerie--detaillee .creation__details { display: grid; gap: 6px; padding: clamp(16px, 2vw, 22px); }
.creation__details strong { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: var(--black); letter-spacing: -0.02em; line-height: 1.15; }
.creation__details .creation__role { font-size: 0.85rem; font-weight: var(--gras); color: var(--accent-fonce); }
.creation__details p { font-size: 0.92rem; line-height: 1.5; color: var(--encre-douce); }
.creation__etiquette {
  position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 10px 9px 12px; border-radius: var(--rayon-s);
  background: var(--blanc); box-shadow: var(--ombre);
  transform: translateY(calc(100% + 12px));
  transition: transform 0.55s var(--ease-out);
}
.creation__etiquette > div { min-width: 0; }
.creation__etiquette small {
  display: block; margin-bottom: 1px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 0.58rem; font-weight: var(--gras); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-fonce);
}
.creation__etiquette strong { display: block; font-size: 0.86rem; font-weight: var(--black); line-height: 1.2; letter-spacing: -0.015em; }
.creation__fleche {
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-fonce); color: #fff;
  transform: rotate(-45deg); transition: transform 0.55s var(--ease-out) 0.05s;
}
.creation__fleche svg { width: 14px; height: 14px; }
.creation:hover .creation__etiquette, .creation:focus-visible .creation__etiquette { transform: none; }
.creation:hover .creation__fleche, .creation:focus-visible .creation__fleche { transform: none; }

::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- 10. CONTACT + BAS DE PAGE ---------- */
.contact {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end; gap: 28px;
  padding: clamp(24px, 3.6vw, 48px);
  border-radius: var(--rayon-xl);
  background: var(--rose);
}
.contact__gauche { position: relative; z-index: 1; }
.contact__titre {
  max-width: 20ch; margin-bottom: 10px;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: var(--black); line-height: 1.1; letter-spacing: -0.035em;
}
.contact__texte { margin-bottom: 20px; color: var(--encre-douce); }
.contact__liens { position: relative; z-index: 1; display: grid; gap: 6px; }
.contact__liens a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 16px; border-radius: var(--rayon-m);
  background: rgba(253, 252, 250, 0.65);
  transition: background-color 0.3s, transform 0.5s var(--ease-out);
}
.contact__liens a > span { display: grid; gap: 1px; min-width: 0; }
.contact__liens strong { font-size: 0.88rem; font-weight: var(--gras); overflow-wrap: anywhere; }
.contact__liens svg { width: 18px; height: 18px; flex: none; color: var(--accent-fonce); transition: transform 0.5s var(--ease-out); }
.contact__liens a:hover { background: var(--blanc); transform: translateX(4px); }
.contact__liens a:hover svg { transform: translate(2px, -2px); }
.contact__arche {
  position: absolute; top: -50px; right: 6%;
  width: clamp(110px, 12vw, 160px); aspect-ratio: 3 / 4;
  border: 2px solid var(--accent); border-bottom: 0; border-radius: 999px 999px 0 0;
  opacity: 0.25; pointer-events: none;
}

.pied {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px;
  padding: 20px 4px 24px;
  font-size: 0.76rem; color: var(--encre-douce);
}
.pied__nom strong { margin-right: 8px; font-weight: var(--black); color: var(--encre); letter-spacing: -0.01em; }
.retour-haut { display: inline-flex; align-items: center; gap: 10px; font-size: 0.76rem; font-weight: var(--moyen); }
.retour-haut span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--carte); box-shadow: var(--ombre); color: var(--accent-fonce);
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s;
}
.retour-haut svg { width: 15px; height: 15px; }
.retour-haut:hover span { transform: translateY(-3px); background: var(--accent-fonce); color: #fff; }

/* ---------- 11. FICHE PROJET ---------- */
.fiche {
  position: fixed; inset: 0; z-index: 100;
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(10px, 2.4vw, 32px) clamp(0px, 3vw, 40px) 0;
}
.fiche__fond {
  position: fixed; inset: 0;
  background: rgba(43, 38, 39, 0.34);
  opacity: 0; transition: opacity 0.4s;
}
.fiche.est-ouverte .fiche__fond { opacity: 1; }
.fiche__panneau {
  position: relative;
  max-width: 1040px; min-height: 100%; margin: 0 auto;
  padding: 0 clamp(16px, 3.4vw, 44px) 48px;
  border-radius: var(--rayon-xl) var(--rayon-xl) 0 0;
  background: var(--fond);
  outline: none;
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.4s, transform 0.7s var(--ease-out);
}
.fiche.est-ouverte .fiche__panneau { opacity: 1; transform: none; }
.fiche__barre {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; background: var(--fond);
}
.fiche__retour { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: var(--moyen); }
.fiche__retour svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.fiche__retour:hover svg { transform: translateX(-4px); }
.fiche__fermer {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--carte); box-shadow: var(--ombre);
  transition: transform 0.5s var(--ease-out), background-color 0.3s, color 0.3s;
}
.fiche__fermer svg { width: 16px; height: 16px; }
.fiche__fermer:hover { transform: rotate(90deg); background: var(--accent-fonce); color: #fff; }
/* Fiche projet : niveaux de texte bien distincts — titre / rôle / étiquettes / texte / chiffres */
.fiche__tete { display: grid; justify-items: start; gap: 14px; padding-top: 8px; }
.fiche__tete h2 {
  font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: var(--black); line-height: 0.98; letter-spacing: -0.045em;
}
.fiche__role { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: var(--gras); line-height: 1.3; color: var(--accent-fonce); }
.fiche__role span { margin-right: 8px; padding: 4px 10px; border-radius: 99px; background: var(--rose); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; vertical-align: 0.25em; }
.fiche__etiquettes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fiche__etiquettes li { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--pierre); background: var(--carte); font-size: 0.74rem; font-weight: var(--moyen); color: var(--encre-douce); }
.fiche__etiquettes .fiche__etiquette--type { border-color: transparent; background: var(--encre); color: var(--fond); font-weight: var(--gras); }
.fiche__texte { display: grid; gap: 0.8em; max-width: 62ch; margin-top: clamp(22px, 2.8vw, 34px); font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.65; color: var(--encre-douce); }
.fiche__texte .fiche__accroche { font-weight: var(--moyen); color: var(--encre); }
.fiche__visuels { margin-top: clamp(26px, 3.2vw, 40px); }
/* Lien de secours vers YouTube quand le site est ouvert en local (fichier) */
.cadre > .video-lien { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center; background: #1d1a1b center / cover no-repeat; color: #fff; }
.video-lien span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent-fonce); }
.video-lien span svg { width: 20px; height: 20px; margin-left: 3px; fill: currentColor; }
.video-lien strong { font-size: 1rem; }
.video-lien small { font-size: 0.75rem; opacity: 0.7; }
.video-lien:hover span { background: var(--accent); }
.fiche__distinction { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: var(--accent-fonce); color: #fff; font-size: 0.78rem; font-weight: var(--gras); }
.fiche__distinction .etoile { width: 10px; height: 10px; color: inherit; fill: currentColor; }
.fiche__visuel { aspect-ratio: 16 / 9; border-radius: var(--rayon-l); background: var(--sable); }
.fiche__visuel--video > video { object-fit: contain; background: #1d1a1b; }
.fiche__visuel--verticale { aspect-ratio: 9 / 16; height: min(78vh, 640px); margin-inline: auto; }
.fiche__visuel--entier > img { object-fit: contain; }
.fiche__chiffres { margin-top: clamp(22px, 2.8vw, 32px); }
.fiche__chiffres-note { margin-top: 6px; font-size: 0.76rem; font-style: italic; color: var(--encre-douce); }
.fiche__chiffres ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fiche__chiffres li { display: grid; align-content: start; gap: 2px; padding: 14px; border-radius: var(--rayon-m); background: var(--rose-pale); }
.fiche__chiffres strong { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: var(--black); line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; color: var(--accent-fonce); }
.fiche__chiffres span { font-size: 0.78rem; line-height: 1.3; color: var(--encre-douce); }
.fiche__galerie {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace);
  margin-top: clamp(20px, 2.4vw, 32px);
}
.fiche__image { aspect-ratio: 4 / 3; border-radius: var(--rayon-l); }
.fiche__image:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.fiche__image > img { object-position: var(--cadrage, 50% 25%); } /* par défaut, cadré vers le haut pour garder les visages */
.fiche__image.fiche__image--verticale { grid-column: auto; aspect-ratio: 9 / 16; }
.fiche__site { position: relative; left: auto; right: auto; bottom: auto; transform: none; display: block; width: 100%; height: min(72vh, 640px); margin-top: clamp(14px, 1.8vw, 20px); overflow: hidden; border-radius: var(--rayon-l); border: 1px solid var(--pierre); background: var(--blanc); box-shadow: none; }
.fiche__site > iframe { display: block; width: 100%; height: calc(100% - 28px); border: 0; background: var(--blanc); }
.fiche__reseaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--espace); margin: clamp(14px, 1.8vw, 20px) 0 0; padding: 0; list-style: none; }
.fiche__reseaux a { display: grid; justify-items: center; gap: 8px; padding: clamp(16px, 2.4vw, 26px) 8px; border-radius: var(--rayon-m); background: var(--rose-pale); color: var(--accent-fonce); font-size: 0.85rem; font-weight: var(--gras); transition: background-color 0.3s, color 0.3s; }
.fiche__reseaux a:hover { background: var(--accent-fonce); color: #fff; }
.fiche__reseaux svg { width: clamp(34px, 5vw, 52px); height: clamp(34px, 5vw, 52px); }
.creation--logo .cadre { background: #fff; }
.creation--logo .cadre > img { object-fit: contain; padding: 10px; }
@media (hover: none), (max-width: 639px) { /* le titre reste affiché : le logo se place au-dessus */
  .creation--logo .cadre > img { padding: 6px 8px 54px; }
}
.fiche__ligne { margin-top: clamp(20px, 2.6vw, 32px); }
.fiche__ligne h3 { font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: var(--black); letter-spacing: -0.015em; }
.fiche__ligne p { margin-top: 4px; font-size: 0.85rem; color: var(--encre-douce); }
.fiche__ligne-medias { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--espace); margin-top: 10px; }
.fiche__ligne-medias > .fiche__image.fiche__image { grid-column: auto; aspect-ratio: 16 / 9; }
.fiche__ligne-medias > .fiche__image.fiche__image--large { grid-column: 1 / -1; }
.fiche__image--entier { background: var(--sable); }
.fiche__image--entier > img { object-fit: contain; }
.fiche__image > video { object-fit: contain; background: #1d1a1b; }
.fiche__lien { margin-top: 24px; }
.fiche__suite {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(43, 38, 39, 0.08);
}
.fiche__suite a { display: inline-flex; align-items: center; gap: 12px; max-width: 48%; }
.fiche__suite a > span { display: grid; font-size: 0.95rem; font-weight: var(--black); line-height: 1.2; letter-spacing: -0.015em; }
.fiche__suite small { font-size: 0.6rem; font-weight: var(--gras); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-fonce); }
.fiche__suite svg { width: 18px; height: 18px; flex: none; color: var(--accent-fonce); transition: transform 0.45s var(--ease-out); }
.fiche__suivant { text-align: right; margin-left: auto; }
.fiche__suite a:first-child:hover svg { transform: translateX(-4px); }
.fiche__suivant:hover svg { transform: translateX(4px); }

/* ---------- 12. ANIMATIONS D'APPARITION ---------- */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delai, 0s);
}
.js .reveal.est-visible { opacity: 1; transform: none; }
.js .reveal-image {
  clip-path: inset(5% 5% 5% 5% round var(--rayon-xl));
  transition: clip-path 1.2s var(--ease-out);
}
.js .reveal-image.est-visible { clip-path: inset(0 0 0 0 round var(--rayon-xl)); }
.js .phare.reveal.est-visible, .js .creation.reveal.est-visible {
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), box-shadow 0.4s;
}
.phare:hover { box-shadow: var(--ombre-forte); }

/* ---------- 13. RESPONSIVE ---------- */

/* Grands écrans moyens */
@media (max-width: 1100px) {
  .apropos__piliers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablette */
@media (max-width: 899px) {
  :root { --hauteur-entete: 60px; }
  .menu { display: none; }
  .burger { display: block; }
  .entete__barre { height: 52px; }

  .hero__texte, .hero__media { grid-column: 1 / -1; }
  .hero__texte { min-height: 0; }
  .hero__media { min-height: 0; aspect-ratio: 21 / 9; }

  .apropos__gauche { grid-column: 1 / span 5; grid-row: 1; }
  .apropos__photo { min-height: 0; }
  .apropos__texte { grid-column: 6 / -1; grid-row: 1; }
  .apropos__piliers { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 22vw, 180px); }

  .contact { grid-template-columns: 1fr; gap: 20px; }
}

/* Mobile */
@media (max-width: 639px) {
  body { font-size: 14px; }
  .logo__nom { font-size: 0.86rem; }

  .hero { gap: 8px; }
  .hero__texte { gap: 22px; padding: 22px 20px; border-radius: var(--rayon-l); }
  .hero__nom { font-size: clamp(2.2rem, 11vw, 2.8rem); }
  .hero__domaines { margin-top: 12px; font-size: 0.6rem; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .bouton { flex: 1 1 auto; height: 42px; }
  .hero__media { aspect-ratio: 2 / 1; border-radius: var(--rayon-l); }
  .hero__pastille { left: 10px; bottom: 10px; font-size: 0.68rem; padding: 6px 12px; }
  .hero__media .ph::after { top: 10px; right: 10px; max-width: calc(100% - 20px); font-size: 0.54rem; }

  .apropos { gap: 8px; }
  .apropos__gauche, .apropos__texte { grid-column: 1 / -1; grid-row: auto; }
  .apropos__gauche { gap: 8px; }
  .apropos__photo { flex: none; aspect-ratio: 16 / 11; border-radius: var(--rayon-l); }
  .apropos__photo .ph { padding-top: 8%; }
  .apropos__photo .ph__forme { width: 22%; }
  .apropos__recherche { padding: 10px 12px; }
  .apropos__recherche p { font-size: 0.8rem; }
  .apropos__texte { padding: 14px 4px 6px; gap: 14px; }
  .apropos__piliers { grid-template-columns: 1fr; gap: 12px; padding: 0 4px; }
  .apropos__parcours ul { grid-template-columns: 1fr; gap: 6px; }
  .apropos__parcours li { padding: 10px 14px; }
  .pilier a { gap: 4px; }
  .pilier h3 { font-size: 0.82rem; }
  .pilier p { font-size: 0.7rem; }

  .grille-phares { grid-template-columns: 1fr; gap: 8px; }
  .phare { border-radius: var(--rayon-l); }
  .phare--ecran .phare__visuel { padding: 16px 16px 0; }
  .navigateur__ecran { aspect-ratio: 16 / 8; }
  .phare__corps { padding: 14px 16px 16px; gap: 6px; }
  .phare__desc { font-size: 0.8rem; }

  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 34vw; gap: 8px; }
  .galerie.galerie--detaillee { grid-template-columns: 1fr; gap: 12px; }
  .creation { border-radius: var(--rayon-m); }
  .creation__etiquette { left: 6px; right: 6px; bottom: 6px; padding: 6px 8px; border-radius: 10px; }
  .creation__etiquette small { font-size: 0.5rem; }
  .creation__etiquette strong { font-size: 0.72rem; }
  .creation__fleche { display: none; }
  .creation .ph__label { display: none; }
  .creation .ph__forme { width: 24%; }
  .badge-exemple { top: 6px; left: 6px; font-size: 0.5rem; padding: 3px 7px; }

  .contact { padding: 22px 20px; border-radius: var(--rayon-l); }
  .contact .bouton { width: 100%; }
  .contact__liens a { padding: 10px 14px; }
  .pied { padding: 16px 2px 20px; }

  .fiche { padding: 8px 0 0; }
  .fiche__panneau { border-radius: var(--rayon-l) var(--rayon-l) 0 0; }
  .fiche__retour span { display: none; }
  .fiche__galerie { grid-template-columns: 1fr 1fr; gap: 6px; }
  .fiche__suite a > span { font-size: 0.82rem; }
}

/* Écrans tactiles : les infos au survol sont visibles directement */
@media (hover: none) {
  .creation__etiquette { transform: none; }
  .creation__fleche { transform: none; }
  .navigateur { transform: none; }
}

/* Animations réduites si la personne l'a demandé dans son système */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-image { clip-path: none; }
}
