/* ==========================================================
   Portfolio — style inspiré d'un mix éditorial (gros titre condensé)
   + agence photo (hero sombre plein écran, boutons pilule).
   Modifier les couleurs / typos ici, dans :root.
   ========================================================== */

:root {
  /* Palette tirée de la photo du hero : bleu nuit du ciel, blanc des nuages, rose des cosmos */
  --bg: #0a0c11;
  --bg-rgb: 10, 12, 17;       /* --bg en composantes, pour les voiles rgba() */
  --bg-soft: #141821;
  --text: #eef1f7;
  --text-soft: rgba(238, 241, 247, .85);
  --text-faint: rgba(238, 241, 247, .6);
  --muted: #98a0ae;
  --accent: #e46fb8;          /* rose cosmos */
  --accent-2: #74a4d3;        /* bleu ciel */
  --line: rgba(238, 241, 247, .14);
  --glass: rgba(238, 241, 247, .07);  /* fond des éléments « verre dépoli » (nav) */

  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --pad: clamp(16px, 4vw, 48px);
  --radius: 999px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--pad) 18px; /* 24px : la pilule centrale reste à l'intérieur du panneau du hero */
}
.nav__logo { display: inline-flex; padding: 7px; margin: -7px; color: var(--text); transition: color .3s, rotate .6s var(--ease-spring); }
.nav__logo svg { width: 30px; height: 30px; }
.nav__logo:hover { color: var(--accent); rotate: 180deg; }
.nav__links {
  position: absolute; left: 50%; translate: -50% 0;
  display: flex; gap: 2px; padding: 5px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav__links a {
  padding: 8px 14px; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap; transition: background .3s, color .3s;
}
.nav__links sup { font-size: 9px; opacity: .6; margin-left: 2px; }
.nav__links a:hover { background: var(--glass); color: var(--accent); }
.nav__meta { display: flex; gap: 16px; color: var(--text); }
.nav__pill {
  display: none;
  background: var(--text); color: var(--bg);
  border: 0; border-radius: var(--radius);
  padding: 8px 16px; font: 500 13px var(--font-body); cursor: pointer;
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: var(--pad);
  transform: translateY(-100%); transition: transform .5s cubic-bezier(.7,0,.2,1), visibility .5s;
}
.mobile-menu { visibility: hidden; }
.mobile-menu.is-open { transform: none; visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 18vw; line-height: .95; text-transform: uppercase; }

/* ---------- HERO ---------- */
.hero { /* panneau arrondi détaché des bords de l'écran */
  position: relative; min-height: calc(100svh - 20px); margin: 10px;
  border: 1px solid var(--line); border-radius: clamp(20px, 2.4vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 110px var(--pad) var(--pad);
  overflow: hidden; isolation: isolate;
}
.hero__bg { /* photo floutée ; débord négatif pour que ni le flou ni la parallaxe ne laissent voir les bords */
  position: absolute; inset: -60px; z-index: -1;
  background: url(../assets/img/hero-bg-cosmos.jpg) center 45% / cover no-repeat;
  filter: blur(28px) saturate(1.1);
  opacity: .85;
}
.hero__bg::after { /* voile sombre */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), .45), rgba(var(--bg-rgb), .9));
}

.cross { position: absolute; color: var(--text-faint); font-family: var(--font-mono); }
.cross--tl { top: 20%; left: 22%; } .cross--tr { top: 20%; right: 22%; }
.cross--bl { bottom: 22%; left: 22%; } .cross--br { bottom: 22%; right: 22%; }

.hero__meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 4vh;
}
.hero__meta > :last-child { text-align: right; }
.hero__meta a:hover { color: var(--accent); }

/* Petits liens texte : zone tactile d'au moins 44 px de haut (le padding du pied de page est réduit d'autant) */
.hero__meta a, .contact__links a, .footer a { display: inline-block; padding-block: 13px; }
.hero__meta a { margin-block: -13px; } /* garde l'alignement des trois colonnes du hero */

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(60px, 21vw, 360px); /* 60px min : « FEGGOUS. » tient sur un écran de 320px */
  line-height: .82;
  letter-spacing: -.01em;
  text-transform: uppercase;
  display: flex; flex-direction: column;
  margin: 4vh 0;
}
.reveal { display: block; overflow: hidden; }
.reveal--indent { padding-left: 14vw; }

.hero__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.hero__lead { max-width: 420px; font-size: 17px; color: var(--text-soft); }

/* Bouton d'action : libellé en pilule + pastille flèche qui pivote au survol */
.cta { display: inline-flex; align-items: center; gap: 6px; }
.cta__label, .cta__icon { background: var(--text); color: var(--bg); border-radius: var(--radius); transition: background .3s; }
.cta__label { padding: 14px 26px; font-weight: 500; }
.cta__icon { display: grid; place-items: center; width: 50px; height: 50px; transition: background .3s, rotate .5s var(--ease-spring); }
.cta__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cta:hover .cta__label, .cta:hover .cta__icon { background: var(--accent); }
.cta:hover .cta__icon { rotate: 45deg; }

/* Règle graduée décorative */
.ruler {
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--text-faint) 0 1px, transparent 1px 10px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero .ruler { margin-bottom: 28px; }

/* Mot en italique serif glissé dans les titres en Anton */
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(80px, 14vh, 160px) var(--pad); border-top: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 48px; gap: 16px; }
.section__lead { max-width: 640px; margin: -16px 0 48px; font-size: clamp(18px, 1.6vw, 22px); color: var(--text-soft); }
.section__lead strong { color: var(--accent); font-weight: 500; }
.link { color: var(--accent); white-space: nowrap; }
.link:hover { text-decoration: underline; }
.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(56px, 10vw, 160px); line-height: .9; text-transform: uppercase;
}

/* ---------- MÉTHODE (étapes numérotées) ---------- */
.method { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method__intro { position: sticky; top: 120px; }
.method__intro p { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; margin-bottom: 32px; }
.steps { list-style: none; border-bottom: 1px solid var(--line); }
.step {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 24px; align-items: baseline;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.step__title { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.02em; transition: color .3s, translate .5s var(--ease-out); }
.step__text { color: var(--muted); }
.step__num { transition: color .3s; }
.step:hover .step__num, .step:hover .step__title { color: var(--accent); }
.step:hover .step__title { translate: 8px 0; }

/* ---------- PROJETS AXOME (grandes cartes photo) ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.work {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: 6 / 7; border-radius: clamp(20px, 2vw, 32px);
  background: var(--bg-soft);
}
.work__media { position: absolute; inset: 0; transition: transform .9s var(--ease-out); }
.work__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; } /* marge pour la parallaxe GSAP */
.work:hover .work__media { transform: scale(1.04); }
.work::after { /* dégradé qui garde le texte lisible sur la photo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(var(--bg-rgb), 0) 40%, rgba(var(--bg-rgb), .88) 100%);
}
.work .tag { z-index: 2; }
.work__info { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(24px, 3.4vw, 56px); }
.work__title { font-size: clamp(32px, 3.6vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; }
.work__text { color: var(--text-soft); font-size: clamp(15px, 1.2vw, 19px); }

/* Pastille flèche : .work__cursor est déplacé par GSAP pour suivre le curseur (js/main.js),
   .work__cursor-dot grossit au survol. Deux éléments car GSAP réécrit tout le transform. */
.work__cursor {
  --size: clamp(88px, 7vw, 112px);
  position: absolute; left: 50%; top: 50%; z-index: 3;
  width: var(--size); height: var(--size); margin: calc(var(--size) / -2);
  pointer-events: none;
}
.work__cursor-dot {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; background: var(--accent); color: var(--bg);
  transform: scale(0); transition: transform .45s var(--ease-spring);
}
.work__cursor svg { width: 40%; height: 40%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.work:hover .work__cursor-dot, .work:focus-visible .work__cursor-dot { transform: scale(1); }
@media (hover: none) { /* tactile : petite pastille fixe en haut à droite */
  .work__cursor { left: auto; right: 16px; top: 16px; margin: 0; }
  .work__cursor-dot { transform: scale(.5); transform-origin: top right; }
}

/* ---------- PROJETS (études et perso) ---------- */
.projects__label { margin: clamp(56px, 9vh, 96px) 0 20px; }
.section__lead + .projects__label { margin-top: 0; }
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
.projects--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
.project__img {
  position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background: var(--bg-soft);
  transition: transform .6s var(--ease-out);
}
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project--wide { grid-column: 1 / -1; }
.project--wide .project__img { aspect-ratio: 21 / 9; }
.project:hover .project__img { transform: scale(.985); }
.tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(var(--bg-rgb), .6); backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: var(--radius);
  font: 12px var(--font-mono); text-transform: uppercase;
}
.project__info { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; gap: 16px; }
.project__info h3 { font-size: 20px; font-weight: 500; }
.project__text { color: var(--muted); margin-top: 8px; }
.project__stack { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.project__stack li { border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 10px; font-size: 11px; color: var(--text); }
.project:hover h3 { color: var(--accent); }

/* ---------- ABOUT ---------- */
.about__text { font-size: clamp(26px, 3.6vw, 52px); line-height: 1.15; max-width: 1100px; font-weight: 500; }
.about__text em { font-style: normal; color: var(--accent); }

.timeline { list-style: none; margin-top: clamp(48px, 8vh, 96px); border-bottom: 1px solid var(--line); }
.timeline__item {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 32px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.timeline__item h3 { font-size: 18px; font-weight: 500; }
.timeline__item > p:last-child { color: var(--muted); }

/* ---------- EXPERTISE (cartes en défilement) ---------- */
/* Sans JS ou en mouvement réduit : rangées scrollables à la main.
   Avec GSAP : .is-animated, défilement infini (voir js/main.js). */
.marquee {
  margin-inline: calc(-1 * var(--pad));
  padding-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-animated { overflow: hidden; padding-inline: 0; }
.marquee + .marquee { margin-top: 8px; }
.marquee__track {
  --gap: 16px;
  list-style: none; display: flex; gap: var(--gap);
  width: max-content;
  padding-block: 28px; /* laisse la place à la carte inclinée au survol */
}
.marquee.is-animated .marquee__track { padding-right: var(--gap); } /* chaque copie = cartes + un gap */

.card {
  width: clamp(260px, 30vw, 420px); aspect-ratio: 1.1;
  display: flex; flex-direction: column;
  padding: clamp(22px, 2.4vw, 36px);
  background: var(--bg-soft); color: var(--text);
  border-radius: clamp(20px, 2vw, 32px);
  scroll-snap-align: start;
  transition: background .45s, color .45s, transform .6s var(--ease-spring);
}
.card__icon {
  width: clamp(40px, 4vw, 56px); height: clamp(40px, 4vw, 56px); align-self: flex-end; margin-bottom: auto;
  fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.card__title { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 12px; }
.card__text { color: var(--muted); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.45; transition: color .45s; }
@media (hover: hover) {
  .card:hover { background: var(--accent); color: var(--bg); transform: rotate(3deg) scale(1.02); }
  .marquee[data-direction="right"] .card:hover { transform: rotate(-3deg) scale(1.02); }
  .card:hover .card__text { color: rgba(var(--bg-rgb), .72); }
}

/* ---------- CONTACT ---------- */
.contact {
  padding: clamp(80px, 16vh, 180px) var(--pad);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 32px;
}
.contact__big {
  font-family: var(--font-display); font-size: clamp(64px, 15vw, 260px);
  line-height: .85; text-transform: uppercase; transition: color .3s;
}
.contact__big:hover { color: var(--accent); }
.contact h2 { font-weight: 400; }
.contact__links { display: flex; gap: 8px 32px; flex-wrap: wrap; }
.contact__links a { color: var(--text); }
.contact__links a:hover { color: var(--accent); }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px var(--pad); border-top: 1px solid var(--line); }

/* ---------- ANIMATIONS ----------
   Les éléments .reveal / .fade sont cachés au chargement (classe .js posée dans <head>),
   puis révélés par js/main.js : GSAP s'il est chargé, sinon transitions CSS ci-dessous. */
.char-word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(100%); transition: opacity 1s, transform 1s var(--ease-out); }
  .js .reveal--indent { transition-delay: .15s; }
  .js .fade { opacity: 0; transform: translateY(30px); transition: opacity .9s, transform .9s var(--ease-out); }
  .js .reveal.is-visible, .js .fade.is-visible { opacity: 1; transform: none; }

  /* GSAP pilote ces propriétés : on coupe les transitions CSS qui les ralentiraient */
  .has-gsap .reveal, .has-gsap .fade { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .marquee[data-direction="right"] .card:hover { transform: none; }
}

/* ---------- PAGE ÉTUDE DE CAS ---------- */
.case { padding: 140px var(--pad) 80px; max-width: 1100px; }
.case__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 11vw, 180px); line-height: .88; text-transform: uppercase; margin: 16px 0 48px; }
.case__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0; margin-bottom: 80px; }
.case__grid p:last-child { color: var(--text); text-transform: none; font-family: var(--font-body); font-size: 15px; margin-top: 6px; }
.case__block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 48px 0; border-top: 1px solid var(--line); }
.case__block h2 { font: 400 12px var(--font-mono); text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.case__block p, .case__block li { font-size: 18px; color: var(--text); }
.case__block ul { padding-left: 20px; display: grid; gap: 10px; }
.case__block > div > * + * { margin-top: 16px; }
.case__block .mono { font-size: 12px; color: var(--muted); } /* les libellés mono gardent leur taille dans les blocs en 18px */
.case__block em { font-style: italic; }
.case__lead { max-width: 760px; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--text-soft); margin-bottom: 48px; }
.case__subtitle { font-size: 20px; font-weight: 500; }
.case__subtitle:not(:first-child) { margin-top: 48px; }
.case__steps, .case__plan { padding-left: 20px; display: grid; gap: 8px; }
.note {
  margin-bottom: 32px; padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 8px;
  color: var(--text-soft); font-size: 15px;
}
.checks { list-style: none; padding-left: 0 !important; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Captures d'écran mobiles */
.shot img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-soft); }
.shot figcaption { margin-top: 10px; }
.shot--solo { max-width: 280px; }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 24px; }
.compare .shot:last-child img { border-color: var(--accent); }

/* Frictions et hypothèses */
.findings > * + * { margin-top: 28px; }
.finding__num { color: var(--accent) !important; margin-bottom: 4px; }
.finding h3 { font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.finding__kpi { margin-top: 8px; }
.finding__note { color: var(--text-soft) !important; padding-top: 20px; border-top: 1px solid var(--line); }

/* Tableau ICE */
.table-scroll { overflow-x: auto; }
.ice { width: 100%; border-collapse: collapse; font-size: 16px; }
.ice th, .ice td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.ice th[scope="row"], .ice thead th:first-child { text-align: left; font-weight: 400; }
.ice thead th { font: 400 11px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ice td strong { color: var(--accent); }
.back { position: fixed; top: 64px; left: var(--pad); z-index: 30; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .projects--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__meta { display: none; } /* laisse la place à la pilule de liens centrée */
  .cross { display: none; } /* elles chevauchent l'email et le titre sous cette largeur */
  .nav__links a { padding: 8px 10px; }
  .nav__links sup { display: none; }
  .step { grid-template-columns: 56px minmax(0, 1fr); }
  .step__text { grid-column: 2; }
  .timeline__item { grid-template-columns: 140px minmax(0, 1fr); }
  .timeline__item > p:last-child { grid-column: 2; }
}

@media (max-width: 900px) {
  .method { grid-template-columns: minmax(0, 1fr); }
  .method__intro { position: static; }
}

@media (max-width: 760px) {
  .nav { padding: 22px 24px 16px; } /* logo et bouton Menu à l'écart des coins arrondis du hero */

  /* Hero mobile : photo plus nette en haut, contenu ancré en bas, titre en pleine largeur */
  .hero { margin: 8px; min-height: calc(100svh - 16px); padding: 96px 20px 24px; justify-content: flex-end; gap: 22px; }
  .hero__bg { filter: blur(8px) saturate(1.15); }
  .hero__bg::after { background: linear-gradient(180deg, rgba(var(--bg-rgb), .1) 0%, rgba(var(--bg-rgb), .5) 40%, rgba(var(--bg-rgb), .95) 100%); }
  .hero__meta { display: contents; } /* ses trois infos deviennent des éléments du hero, réordonnés ci-dessous */
  .hero__meta > :first-child { order: 0; color: var(--text-soft); }
  .hero__title { order: 1; margin: 0; font-size: 24vw; line-height: .9; }
  .reveal--indent { padding-left: 0; }
  .hero__bottom { order: 2; flex-direction: column; align-items: stretch; gap: 20px; }
  .cta { width: 100%; }
  .cta__label { flex: 1; text-align: center; }
  .hero .ruler { order: 3; margin: 6px 0 0; }
  .hero__meta > :nth-child(2), .hero__meta > :nth-child(3) { order: 4; text-align: left; }
  .nav__links, .nav__meta { display: none; }
  .nav__pill { display: block; }
  .step { grid-template-columns: 40px minmax(0, 1fr); }
  .projects, .projects--grid, .works { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; }
  .section__title { font-size: 18vw; }
  .project__info { flex-direction: column; gap: 4px; }
  .case__grid { grid-template-columns: 1fr 1fr; }
  .case__block { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .shots { grid-template-columns: repeat(3, 70vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots .shot { scroll-snap-align: start; }
  .compare { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ice { font-size: 14px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
  .timeline__item > p:last-child { grid-column: auto; }
  .card { width: 78vw; }
}

/* Petits téléphones en hauteur (iPhone SE…) : le hero tient dans l'écran */
@media (max-width: 760px) and (max-height: 680px) {
  .hero { padding-top: 84px; gap: 14px; }
  .hero .ruler { display: none; }
  .hero__lead { font-size: 15px; }
}

