/* =============================================================
   mafamily.fr — Feuille de style unique partagée
   Charte graphique officielle V2 (mai 2026)
   Mobile-first (base 380 px), sans framework, sans build step.
   -------------------------------------------------------------
   Palette : bleu ciel + bleu marine, accents vert lime & corail.
   Typos   : Agrandir (titres) — substitut Poppins — + Inter (corps).
   -------------------------------------------------------------
   SOMMAIRE
   01. Tokens (:root)
   02. Reset & base
   03. Typographie
   04. Layout — container, sections, grilles
   05. Boutons (.btn)
   06. Badges & puces
   07. Cartes
   08. Formulaires & capture email (embed Kajabi)
   09. Header sticky + navigation + burger
   10. Footer
   11. Utilitaires
   12. Responsive
   13. Accessibilité
   ============================================================= */

/* =============================================================
   01. TOKENS
   ============================================================= */
:root {
  /* — Couleurs de marque (charte V2) — */
  --navy: #2E4B6B;          /* titres, texte fort, boutons, footer */
  --coral: #FF5757;         /* accent vif — CTA de conversion, moments forts */
  --sky: #92B9E4;           /* bleu ciel — le « ma » du logo, accents doux */
  --pink: #FAF5EF;          /* ivoire — fond doux prioritaire (V2 13/08/2026, remplace le rose) */
  --lime: #C7EF74;          /* vert lime — touche rare (premium) */
  --blue-pale: #F7FBFF;     /* fond bleu très clair */
  --ivory: #FAF6F0;         /* fond ivoire (lead magnet « guide des prénoms ») */
  --white: #FFFFFF;

  /* — Variantes dérivées (interactions, fonds doux) — */
  --navy-dark: #22384F;     /* hover boutons navy */
  --navy-soft: #EAF1F8;     /* fond bloc bleu doux */
  --sky-soft: #DCE9F6;      /* fond très clair bleu ciel */
  --coral-dark: #EC4A4A;    /* hover corail */
  --coral-soft: #FFE7E7;    /* fond doux corail */
  --pink-soft: #FAF5EF;     /* alias de --pink (ivoire) */
  --lime-dark: #B4E356;     /* hover lime */
  --lime-soft: #EEF9D6;     /* fond doux lime */
  --line: #E1EAF3;          /* filets, bordures discrètes */

  /* — Texte — */
  --text: #34495E;          /* corps de texte (bleu-gris foncé) */
  --text-strong: var(--navy);
  --text-muted: #5F7896;    /* texte secondaire */
  --text-on-dark: #EAF1F8;

  /* — Typographie — */
  /* Agrandir = police de marque (payante). "Poppins" = substitut Google Fonts
     en attendant les fichiers self-hostés. Remplacer la 1re valeur le cas échéant. */
  --font-title: "Agrandir", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Serif éditorial OPTIONNEL — passages « récit » (ex. Notre histoire), façon Instagram.
     À charger via Google Fonts sur les pages qui l'utilisent. */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Échelle typographique fluide (mobile → desktop) */
  --fs-display: clamp(2.25rem, 6vw + 1rem, 3.75rem);
  --fs-h1: clamp(1.95rem, 4vw + 1rem, 3rem);
  --fs-h2: clamp(1.55rem, 2.5vw + 1rem, 2.25rem);
  --fs-h3: clamp(1.25rem, 1.2vw + 1rem, 1.5rem);
  --fs-lead: clamp(1.05rem, 0.6vw + 1rem, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --lh-tight: 1.12;
  --lh-snug: 1.35;
  --lh-body: 1.65;

  /* — Espacements (beaucoup d'air) — */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --section-y: clamp(3rem, 8vw, 6rem);

  /* — Rayons (coins arrondis généreux, cf. app) — */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-btn: 14px;
  --radius-pill: 999px;

  /* — Ombres douces (teintées bleu marine) — */
  --shadow-xs: 0 1px 2px rgba(46, 75, 107, 0.06);
  --shadow-sm: 0 4px 14px rgba(46, 75, 107, 0.08);
  --shadow-md: 0 12px 32px rgba(46, 75, 107, 0.12);
  --shadow-lg: 0 22px 50px rgba(46, 75, 107, 0.16);

  /* — Largeurs — */
  --container: 1120px;
  --container-narrow: 760px;

  --ease: 0.22s ease;
  --header-h: 68px;
}

/* =============================================================
   02. RESET & BASE
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background-color: var(--blue-pale);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--sky);
  transition: color var(--ease), text-decoration-color var(--ease);
}
a:hover { color: var(--coral); text-decoration-color: var(--coral); }

ul, ol { padding-left: 1.25rem; }

button, input, select, textarea { font: inherit; color: inherit; }

:target { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* =============================================================
   03. TYPOGRAPHIE
   ============================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--navy);
  line-height: var(--lh-tight);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: 1.15rem; line-height: var(--lh-snug); }

p { max-width: 68ch; }

.lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--text-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: var(--space-xs);
}

.text-muted { color: var(--text-muted); }

.section-head {
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}
.section-head p { margin-inline: auto; }

/* — Récit éditorial (OPTIONNEL, façon Instagram) —
   À appliquer ponctuellement sur les blocs storytelling (ex. Notre histoire).
   Le reste du site garde Agrandir/Inter. Idéal sur fond rose ou blanc. */
.recit { font-family: var(--font-serif); color: var(--navy); }
.recit > * + * { margin-top: 1.1em; }
.recit p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.45rem);
  line-height: 1.7;
  color: var(--navy);
  max-width: 62ch;
}
.recit em, .recit i { font-style: italic; }
.recit strong, .recit b { font-weight: 600; }

/* Grande accroche / citation de récit (italique élégant) */
.recit-lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.25rem);
  line-height: 1.3;
  color: var(--navy);
  max-width: 24ch;
}
.recit-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.7rem);
  line-height: 1.4;
  color: var(--navy);
  border-left: 3px solid var(--sky);
  padding-left: var(--space-md);
  max-width: 46ch;
}

/* =============================================================
   04. LAYOUT
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

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

/* Sections alternées — priorité : blanc, ivoire, bleu doux.
   (Le lime en fond reste possible mais rare.) */
.section--white { background-color: var(--white); }
.section--pink  { background-color: var(--pink-soft); }
.section--sky   { background-color: var(--navy-soft); }
.section--coral { background-color: var(--coral-soft); }
.section--lime  { background-color: var(--lime-soft); }
.section--navy  { background-color: var(--navy); color: var(--text-on-dark); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--navy .lead { color: #BFD2E6; }
.section--navy a { color: #fff; text-decoration-color: var(--sky); }

/* Grilles */
.grid { display: grid; gap: var(--space-md); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

.stack > * + * { margin-top: var(--space-sm); }
.stack-lg > * + * { margin-top: var(--space-md); }
.flow > * + * { margin-top: 1em; }
.center { text-align: center; }

/* =============================================================
   05. BOUTONS
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease),
              box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Principal — bleu marine, texte blanc (cf. app) */
.btn--primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background-color: var(--navy-dark); color: var(--white); box-shadow: var(--shadow-md); }

/* Lime — accent frais, texte marine (highlights, premium) */
.btn--lime {
  background-color: var(--lime);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn--lime:hover { background-color: var(--lime-dark); color: var(--navy); box-shadow: var(--shadow-md); }

/* Corail — accent vif (app / Mily / moments forts) */
.btn--coral {
  background-color: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--coral:hover { background-color: var(--coral-dark); color: var(--white); box-shadow: var(--shadow-md); }

/* Secondaire — contour marine */
.btn--secondary {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--secondary:hover { background-color: var(--navy); color: var(--white); }

/* Ghost — discret */
.btn--ghost {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn--ghost:hover { background-color: var(--white); border-color: var(--sky); color: var(--navy); }

/* Sur fond foncé */
.btn--on-dark { background-color: var(--white); color: var(--navy); }
.btn--on-dark:hover { background-color: #fff; color: var(--navy); }

/* Tailles */
.btn--sm { padding: 0.6em 1.1em; font-size: var(--fs-small); }
.btn--lg { padding: 1.1em 2em; font-size: 1.15rem; }
.btn--block { display: flex; width: 100%; }

.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* =============================================================
   06. BADGES & PUCES
   ============================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35em 0.85em;
  border-radius: var(--radius-pill);
  background-color: var(--sky-soft);
  color: var(--navy);
  line-height: 1.2;
}
.badge--navy  { background-color: var(--navy); color: var(--white); }
.badge--lime  { background-color: var(--lime); color: var(--navy); }
.badge--coral { background-color: var(--coral); color: var(--white); }
.badge--outline {
  background-color: transparent;
  border: 1.5px solid var(--line);
  color: var(--text-muted);
}

/* Liste de bénéfices (coche lime) */
.benefits { list-style: none; padding-left: 0; }
.benefits li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: var(--space-xs);
  line-height: var(--lh-snug);
}
.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: var(--radius-pill);
  background-color: var(--coral);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-position: center;
  background-repeat: no-repeat;
}

/* =============================================================
   07. CARTES
   ============================================================= */
.card {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card > * + * { margin-top: var(--space-sm); }

.card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--sky-soft), var(--pink));
}
.card__title { margin-top: var(--space-sm); }

/* Carte « promesse » */
.promise { text-align: center; padding: var(--space-lg) var(--space-md); }
.promise__icon {
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto var(--space-sm);
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background-color: var(--sky-soft);
  color: var(--navy);
}
.promise__icon svg { width: 1.85rem; height: 1.85rem; }
.promise--pink .promise__icon  { background-color: var(--pink); color: var(--coral); }
.promise--coral .promise__icon { background-color: var(--coral-soft); color: var(--coral); }

/* Carte programme */
.program { display: flex; flex-direction: column; height: 100%; }
.program__price {
  font-family: var(--font-title);
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 700;
}
.program .benefits { flex: 1; }
.program .btn { margin-top: var(--space-sm); }

/* Carte bundle — mise en avant */
.program--featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.program--featured .program__ribbon {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

/* =============================================================
   08. FORMULAIRES & CAPTURE EMAIL
   ============================================================= */
.form-field { margin-bottom: var(--space-sm); }
.form-field label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--space-3xs);
}

.input, .textarea, .select {
  width: 100%;
  padding: 0.85em 1em;
  font-size: var(--fs-body);
  color: var(--text);
  background-color: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.input::placeholder, .textarea::placeholder { color: #9AAEC2; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px var(--sky-soft);
}
.textarea { min-height: 8rem; resize: vertical; }

.form-hint { font-size: var(--fs-xs); color: var(--text-muted); margin-top: var(--space-3xs); }

/* Bloc capture email */
.capture {
  background-color: var(--navy-soft);
  border: 1px solid var(--sky-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.capture__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 460px;
  margin: var(--space-md) auto 0;
}
.capture__form .input { text-align: left; }
.capture .form-hint { margin-top: var(--space-sm); }

/* Repère d'embed Kajabi */
.kajabi-embed {
  position: relative;
  border: 1.5px dashed var(--sky);
  border-radius: var(--radius);
  padding: var(--space-md);
  background-color: var(--sky-soft);
}
.kajabi-embed::before {
  content: "EMBED KAJABI";
  position: absolute;
  top: -0.7rem;
  left: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background-color: var(--sky-soft);
  padding: 0 0.5em;
}

/* =============================================================
   09. HEADER STICKY + NAVIGATION + BURGER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: color-mix(in srgb, var(--blue-pale) 90%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: var(--header-h);
}

/* Logo mafamily.fr */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}
.brand:hover { text-decoration: none; }
.brand img { height: 34px; width: auto; display: block; }
@media (max-width: 480px) { .brand img { height: 30px; } }
.footer-brand .brand img { height: 42px; }

/* Reconstitution CSS du logo (fallback, si pas d'image) */
.brand__ma { color: var(--sky); }
.brand__family { color: var(--navy); }
.brand__fr { color: var(--navy); font-size: 0.62em; font-weight: 700; align-self: center; }
.brand__spark { color: var(--sky); font-size: 0.7em; margin-right: 0.05em; align-self: flex-start; }

/* Navigation */
.nav { display: flex; align-items: center; }
.nav__list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}
.nav__link {
  color: var(--navy);
  font-size: var(--fs-small);
  font-weight: 500;
  padding: 0.4em 0;
  text-decoration: none;
  position: relative;
}
.nav__link:hover { color: var(--coral); }
.nav__link[aria-current="page"] { color: var(--coral); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background-color: var(--coral);
  border-radius: 2px;
}
.nav__cta { margin-left: var(--space-xs); }

/* Burger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--navy);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background-color: var(--blue-pale);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
  }
  .nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 0.9em 0; font-size: var(--fs-body); }
  .nav__link[aria-current="page"]::after { display: none; }
  .nav__cta { margin: var(--space-sm) 0 0; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 901px) { .nav-toggle { display: none; } }

/* =============================================================
   10. FOOTER
   ============================================================= */
.site-footer {
  background-color: var(--navy);
  color: #BFD2E6;
  padding-block: var(--space-xl) var(--space-lg);
  font-size: var(--fs-small);
}
.site-footer a { color: #DCE9F6; text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.footer-brand .brand__family, .footer-brand .brand__fr { color: var(--white); }
.footer-brand .brand__ma, .footer-brand .brand__spark { color: var(--sky); }
.footer-brand p { color: #A6BCD4; margin-top: var(--space-xs); max-width: 34ch; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li + li { margin-top: var(--space-2xs); }

.social-row { display: flex; gap: var(--space-xs); margin-top: var(--space-sm); }
.social-row a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-pill);
  background-color: rgba(255,255,255,0.08);
  color: var(--white);
}
.social-row a:hover { background-color: var(--coral); }
.social-row svg { width: 1.15rem; height: 1.15rem; }

.footer-bottom {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  justify-content: space-between;
  align-items: center;
  color: #8FA6BF;
  font-size: var(--fs-xs);
}

/* =============================================================
   11. UTILITAIRES
   ============================================================= */
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0 !important; }
.max-w-narrow { max-width: var(--container-narrow); margin-inline: auto; }
.text-center { text-align: center; }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-xs); align-items: center; }
.cluster--center { justify-content: center; }

/* Photos : arrondis et ombre cohérents avec la charte (la photo est centrale) */
.photo { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: block; width: 100%; }
.photo--cover { object-fit: cover; }
.photo--round { border-radius: var(--radius-pill); }
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.6em 1em;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

.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;
}

/* =============================================================
   12. RESPONSIVE — montée en colonnes
   ============================================================= */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .capture__form { flex-direction: row; }
  .capture__form .input { flex: 1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

/* =============================================================
   13. ACCESSIBILITÉ & PRÉFÉRENCES
   ============================================================= */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

@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;
  }
  .btn:hover, .card--hover:hover { transform: none; }
}
