/* =============================================================
   studio yh — feuille de style principale
   Design : reproduction du prototype Framer (turquoise-future-029943)
   Polices : Playfair Display (serif), Inter (sans), DM Mono (mono)
   Palette : noir sur blanc, minimal
   ============================================================= */

/* --------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------- */
:root {
  /* Couleurs */
  --black: #000000;
  --ink: #0b0b0b;
  --white: #ffffff;
  --grey-50: #fafafa;
  --grey-100: #f5f5f5;
  --grey-200: #ececec;
  --grey-300: #e0e0e0;
  --grey-500: #9a9a9a;
  --grey-600: #6b6b6b;
  --grey-700: #3d3d3d;

  /* Typographies */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Mise en page */
  --page-pad: clamp(20px, 5vw, 72px);
  --container: 1440px;
  --space-section: clamp(72px, 11vw, 168px);
  --radius: 4px;

  /* Divers */
  --line: rgba(0, 0, 0, 0.12);
  --nav-h: 76px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

ul { list-style: none; }

::selection {
  background: var(--black);
  color: var(--white);
}

/* --------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.section { padding-block: var(--space-section); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Titre de section : Playfair minuscule + point final */
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

/* Lien "Voir plus" style flèche */
.link-more {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--black);
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
  white-space: nowrap;
}
.link-more:hover { gap: 14px; }
.link-more::after { content: "\2192"; }

/* --------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 18px 32px;
  border-radius: 100px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { background: var(--white); color: var(--black); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }

/* --------------------------------------------------------------
   5. En-tête / navigation
   -------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.brand img {
  height: clamp(24px, 3.2vw, 32px);
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
}
.nav-links a {
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* Bouton menu (mobile) — icône 4 points */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle .dots {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  grid-template-rows: repeat(2, 5px);
  gap: 5px;
}
.nav-toggle .dots span {
  width: 5px; height: 5px;
  background: var(--black);
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}

/* Overlay menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--page-pad);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.5s var(--ease);
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu a {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 5vw, 1.6rem);
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

/* --------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(24px, 6vw, 72px));
  padding-bottom: var(--space-section);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.6rem, 17vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
  /* Remplissage demi-teinte (halftone) : dégradé noir -> gris + trame de points */
  color: transparent;
  background-color: #8a8a8a;
  background-image:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.85) 0.8px, transparent 1.4px),
    linear-gradient(90deg, #000 0%, #000 22%, rgba(0, 0, 0, 0) 96%);
  background-size: 6px 6px, 100% 100%;
  background-repeat: repeat, no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  will-change: transform;
}
/* Variante : gros logo image (au lieu du texte demi-teinte) */
.hero__title--logo {
  background: none;
  -webkit-text-fill-color: currentColor;
  line-height: 0;
  white-space: normal;
}
.hero__logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}
.hero__lower {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-top: clamp(40px, 7vw, 96px);
}
.hero__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.28;
  text-indent: 2.5em;
  max-width: 22ch;
}
.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.hero__place {
  font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
}

/* Bloc email + copie */
.email-copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.copy-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.copy-btn.is-copied { background: var(--black); color: var(--white); border-color: var(--black); }

/* --------------------------------------------------------------
   7. Section projets (cartes empilées)
   -------------------------------------------------------------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--grey-100);
}
.project-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease);
}
.project-card:hover .project-card__media { transform: scale(1.04); }
.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 55%);
}
.project-card__body {
  position: absolute;
  left: clamp(20px, 3vw, 48px);
  bottom: clamp(20px, 3vw, 40px);
  color: var(--white);
}
.project-card__cat {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 8px;
}
.project-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}
/* Motif "placeholder" (hachures) tant qu'il n'y a pas de vraie image */
.media-placeholder {
  background-color: var(--grey-200);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.04) 0,
    rgba(0, 0, 0, 0.04) 1px,
    transparent 1px,
    transparent 11px
  );
}

/* --------------------------------------------------------------
   8. Collaborations (marquee)
   -------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  /* Hauteur minimale garantie : évite que le marquee s'effondre à 0 tant que les
     logos ne sont pas chargés (sinon l'apparition au scroll ne se déclenche jamais). */
  min-height: clamp(88px, 10.5vw, 132px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  will-change: transform;
}
/* Défilement + pause au survol : pilotés en JS (requestAnimationFrame, main.js §4).
   On met à jour le translateX nous-mêmes à chaque frame → la pause fige exactement
   sur place, sans saut. (Une animation CSS composited se désync du fil principal
   au 1er survol → elle « rembobine » d'un logo.) */
.marquee__item {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 500;
  color: var(--grey-600);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.marquee__item::after {
  content: "\2022";
  color: var(--grey-300);
}
/* Logos clients — normalisés en noir & blanc */
/* Chaque logo est borné dans une même « boîte » (hauteur ET largeur) et
   centré via object-fit:contain → jamais déformé, poids visuel homogène. */
.marquee__logo {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-height: clamp(66px, 8.5vw, 108px);
  max-width: clamp(160px, 17vw, 228px);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity 0.35s var(--ease);
  /* Espacement via margin-right (et non `gap` sur le track) : la marge de fin
     est incluse dans chaque copie → translateX(-50%) retombe pile sur le 2e jeu
     de logos → boucle parfaitement continue, sans micro-saut. */
  margin-right: clamp(48px, 6.5vw, 108px);
}
.marquee__logo:hover { opacity: 1; }
/* Logos très détaillés (multi-lignes) agrandis pour rester lisibles */
.marquee__logo--xl {
  max-height: clamp(88px, 10.5vw, 132px);
  max-width: clamp(210px, 24vw, 320px);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------
   9. À propos (aperçu) + page à propos
   -------------------------------------------------------------- */
.about-preview {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-preview__text p + p { margin-top: 1.4em; }
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  line-height: 1.32;
}
.about-body { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--grey-700); }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------
   10. Avis (carrousel)
   -------------------------------------------------------------- */
/* Marquee « avis » : même mécanique que les logos qui défilent (CSS keyframes)
   → défilement continu, pause au survol, aucun bouton nécessaire. */
.reviews {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews__track {
  display: flex;
  width: max-content;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
  will-change: transform;
}
/* Défilement + pause au survol : pilotés en JS (requestAnimationFrame, main.js §4). */
.review {
  flex: 0 0 min(88vw, 520px);
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  min-height: 340px;
}
@keyframes reviews-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review__quote {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  color: var(--grey-700);
}
.review__author { font-weight: 700; font-size: 1.05rem; }
.review__org {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-top: 4px;
}
.reviews__nav { display: none; }
.reviews__nav--hidden { display: flex; gap: 12px; margin-top: 32px; }
.reviews__nav button {
  width: 52px; height: 52px;
  border: 1px solid var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.reviews__nav button:hover { background: var(--black); color: var(--white); }
.reviews__nav button:disabled { opacity: 0.3; cursor: default; }
.reviews__nav button:disabled:hover { background: none; color: inherit; }

/* --------------------------------------------------------------
   11. Pied de page
   -------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-block: var(--space-section) 40px;
  margin-top: var(--space-section);
}
.footer-cta {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1.06;
  max-width: 16ch;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.footer-cta .btn { background: var(--white); color: var(--black); border-color: var(--white); margin-top: clamp(24px, 4vw, 40px); }
.footer-cta .btn:hover { background: transparent; color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: clamp(48px, 7vw, 80px);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-500);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col p { color: rgba(255, 255, 255, 0.92); font-size: 1.02rem; line-height: 1.7; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-col .copy-btn { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.footer-col .copy-btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.status .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  color: var(--grey-500);
}
.footer-bottom a:hover { color: var(--white); }

/* --------------------------------------------------------------
   12. Page "Projets" & en-têtes de page
   -------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 120px));
  padding-bottom: clamp(32px, 5vw, 64px);
}
.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-600);
  margin-bottom: 18px;
}
.page-hero__title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3rem, 12vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------
   13. Fiche projet
   -------------------------------------------------------------- */
.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  padding-block: clamp(28px, 4vw, 40px);
  border-block: 1px solid var(--line);
}
.project-meta dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey-600);
  margin-bottom: 8px;
}
.project-meta dd {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
}
.project-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 8rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px);
}
.project-block { max-width: 62ch; margin-bottom: clamp(40px, 6vw, 72px); }
.project-block h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  margin-bottom: 20px;
}
.project-block p {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--grey-700);
}
.project-review {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  max-width: 62ch;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.project-review blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: 20px;
}
/* Galerie projet : masonry via column-count, respecte le ratio natif
   de chaque image (portrait, paysage, carré) sans jamais couper. */
.project-gallery {
  column-count: 2;
  column-gap: clamp(16px, 2vw, 24px);
  margin-block: clamp(32px, 5vw, 56px);
}
.project-gallery > * {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.project-gallery .gallery-img {
  border-radius: var(--radius);
  background: var(--grey-100);
  height: auto;
}
.project-gallery .gallery-full {
  column-span: all;
}
.project-gallery .media-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--grey-500);
  text-align: center;
  padding: 16px;
}
@media (max-width: 640px) {
  .project-gallery { column-count: 1; }
}
/* Cover hero d'une fiche projet : image à ratio naturel,
   centrée, avec des dimensions maximales pour rester harmonieuse
   quel que soit le format (carré, portrait, paysage). */
.project-cover {
  display: block;
  width: 76%;
  max-width: 100%;
  height: auto;
  margin: 0 auto clamp(48px, 7vw, 88px) 0;
  border-radius: var(--radius);
  background: var(--grey-100);
}
@media (max-width: 700px) {
  .project-cover { width: 100%; }
}
.project-nav-more { margin-top: var(--space-section); }

/* Encart placeholder (contenu à fournir) */
.todo-note {
  border: 1px dashed var(--grey-500);
  border-radius: var(--radius);
  padding: 20px 24px;
  background: var(--grey-50);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--grey-600);
  max-width: 62ch;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------
   14. Page "À propos" — services & clients
   -------------------------------------------------------------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.about-intro h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.3;
  margin-bottom: 24px;
}
.about-intro p { color: var(--grey-700); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.75; }
.about-intro p + p { margin-top: 1.2em; }
.about-intro strong { color: var(--ink); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.service {
  border-top: 1px solid var(--black);
  padding-top: 24px;
}
.service h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin-bottom: 16px;
}
.service p { color: var(--grey-700); line-height: 1.65; }

.supports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(28px, 4vw, 48px);
}
.supports-col h4 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-600);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.supports-col ul li {
  padding: 7px 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--grey-100);
}

.seo-block {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.seo-block h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 24px;
  max-width: 24ch;
}
.seo-block ul li {
  position: relative;
  padding-left: 28px;
  padding-block: 10px;
  line-height: 1.5;
  color: var(--grey-700);
}
.seo-block ul li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--black);
}

.clients-text {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.9;
  color: var(--grey-700);
}
.clients-text strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------
   15. Page Contact
   -------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-600);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 15px 16px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--black); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-info dl { display: grid; gap: 28px; }
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-600);
  margin-bottom: 8px;
}
.contact-info dd { font-size: 1.1rem; line-height: 1.6; }
.form-status { font-size: 0.95rem; min-height: 1.4em; }
.form-status.ok { color: #1a8a4f; }
.form-status.err { color: #c0392b; }

/* --------------------------------------------------------------
   16. Animations d'apparition
   -------------------------------------------------------------- */
/* Sans JS, le contenu reste visible (dégradation propre). L'effet ne s'active
   que si <html class="js"> est présent (ajouté par un script en tête de page). */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero__lower,
  .about-preview,
  .about-intro,
  .contact-grid { grid-template-columns: 1fr; }
  .hero__aside { margin-top: 8px; }
  .projects { grid-template-columns: 1fr; }
  .project-card { aspect-ratio: 4 / 5; }
  .hero__lead { text-indent: 1.6em; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { white-space: normal; }
  .btn { width: 100%; }
  .footer-cta .btn { width: auto; }
  .reviews__nav button { width: 46px; height: 46px; }
}

/* Préférence : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* --------------------------------------------------------------
   18. FAQ (accordéon natif <details>)
   -------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: clamp(18px, 2.4vw, 26px) 48px clamp(18px, 2.4vw, 26px) 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--grey-600); }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: clamp(16px, 2.4vw, 24px);
  font-size: 1.6em;
  line-height: 1;
  font-weight: 400;
  color: var(--grey-500);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p {
  margin: 0;
  padding: 0 48px clamp(22px, 3vw, 30px) 0;
  max-width: 70ch;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  color: var(--grey-700);
}
.faq details > p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------
   19. Fil d'Ariane (breadcrumb)
   -------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  margin-bottom: clamp(18px, 2.5vw, 30px);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey-500);
}
.breadcrumb a { color: var(--grey-600); text-decoration: none; transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current="page"] { color: var(--ink); }
.breadcrumb span[aria-hidden] { color: var(--grey-300); }
