/* ============================================================
   mariagenormandie.fr — feuille de style unique
   ------------------------------------------------------------
   Direction : « éditorial chaud ».
   - Crème chaud dominant, un seul accent (terre de Sienne).
   - Typo display à très grande échelle, contraste fort avec un
     sans-serif étroit et espacé pour les repères.
   - Grilles asymétriques : l'image ne fait presque jamais la
     largeur de la colonne de texte, et deux images voisines
     n'ont jamais la même taille.
   - Mouvement : révélations au scroll, parallaxe légère, survols
     lents. Tout est optionnel — sans JavaScript, la page reste
     complète et lisible (voir la règle `.js` plus bas).
   Aucune police externe, aucune bibliothèque : tout est local.
   ============================================================ */

/* ---------- 0. POLICES ----------
   Hébergées par le site (public/assets/fonts/), comme sur jamesledolley.com.
   Rien n'est chargé depuis Google Fonts ni depuis un CDN : pas de requête
   vers l'extérieur, pas de dépendance, pas de bandeau cookies à cause d'une
   police. Quatre fichiers, 92 ko au total.
   Instrument Serif porte les titres (son italique fait tout le travail),
   Instrument Sans les repères et le texte courant. */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-italic.woff2") format("woff2");
}

/* ---------- 1. JETONS ---------- */

:root {
  /* Palette — inchangée dans l'esprit : crème chaud + terre de Sienne */
  --ink:        #1c1a16;
  --ink-soft:   #3f3b33;
  --paper:      #faf6ef;
  --paper-warm: #f3ece0;
  --paper-deep: #efe7d9;
  --muted:      #8a8275;
  --line:       #e4dccd;
  --line-soft:  #efe8dc;
  --accent:     #9c7458;
  --accent-deep:#7d5842;
  --ph:         #ece4d6;

  /* Typographie
     display : Instrument Serif, pour les titres à très grande taille. Son
               italique sert d'accent — c'est le seul « effet » typographique
               du site.
     sans    : Instrument Sans, pour les repères en petites capitales et le
               texte courant.
     Les listes de repli servent uniquement le temps du chargement. */
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:    "Instrument Sans", "Helvetica Neue", Helvetica, sans-serif;

  /* Rythme vertical */
  --gap:     clamp(16px, 2.2vw, 28px);
  --pad-x:   clamp(20px, 5vw, 72px);
  --sec:     clamp(76px, 11vw, 168px);
  --wrap:    1360px;

  /* Courbe unique pour tout le site : lente au départ, douce à l'arrivée */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--paper); }

/* ---------- 2. PRIMITIVES TYPOGRAPHIQUES ---------- */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.015em;
  text-transform: none;
}

/* Le repère en petites capitales : sert d'ancre de lecture partout
   (numéro de section, nom de rubrique, légende d'image). */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.on-dark { color: rgba(255,255,255,.88); }
.eyebrow.plain   { color: var(--muted); }

.lede {
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-family: var(--display);
  letter-spacing: -.005em;
}

.prose-p { color: var(--ink-soft); }
.prose-p + .prose-p { margin-top: 1.1em; }

.hair { height: 1px; background: var(--line); border: 0; }

/* ---------- 3. GABARIT ---------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--pad-x); }
/* Réservé aux grilles d'images : la photo respire plus large que le texte. */
.wrap-wide { max-width: 1660px; margin: 0 auto; padding: 0 var(--pad-x); }

section { padding: var(--sec) 0; }
section.tight { padding-top: clamp(40px, 6vw, 82px); }
section.flush-top { padding-top: 0; }

.band-warm { background: var(--paper-warm); }
.band-ink  { background: var(--ink); color: var(--paper); }
.band-ink .prose-p { color: rgba(250,246,239,.76); }
.band-ink .eyebrow { color: var(--accent); }

/* En-tête de section : numéro + titre, alignés à gauche sur une hairline.
   C'est le motif qui donne son rythme au site — on le retrouve partout. */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
.band-ink .sec-head { border-color: rgba(250,246,239,.18); }
.sec-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.sec-head .sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 200px minmax(0, 1fr); gap: 0 48px; align-items: start; }
  .sec-head .eyebrow { padding-top: 10px; }
  .sec-head .sub { margin-top: 20px; }
}

/* ---------- 4. EN-TÊTE DE PAGE / NAVIGATION ---------- */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 20px var(--pad-x);
  color: #fff;
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), padding .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(16,14,11,.55), rgba(16,14,11,0));
  opacity: 1; transition: opacity .45s var(--ease);
  pointer-events: none;
}
/* Fond plein, pas de flou : sur une grille d'images, un en-tête translucide
   donne une bouillie de couleurs au lieu d'une barre nette. */
.site-head.on-light {
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.site-head.on-light::before { opacity: 0; }

.head-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
}

.brand {
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 500; text-decoration: none; white-space: nowrap;
}
/* Le second mot est en terre de Sienne sur fond crème ; sur une photo,
   l'accent devient illisible, on le passe en blanc atténué. */
.brand span { color: rgba(255, 255, 255, .74); }
.site-head.on-light .brand span { color: var(--accent); }

.nav-list {
  list-style: none; display: flex; gap: clamp(16px, 2.2vw, 34px);
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.nav-list a {
  text-decoration: none; position: relative;
  padding-bottom: 4px; opacity: .82;
  transition: opacity .3s var(--ease);
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav-list a:hover { opacity: 1; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-list a[aria-current="page"] { opacity: 1; }

/* Le bouton « Menu » n'existe que sur petit écran, et seulement si le
   JavaScript a pu l'activer (il porte l'attribut `hidden` dans le HTML,
   c'est le script qui le retire). Sans JavaScript, la liste reste
   simplement affichée sous la marque : rien n'est inaccessible. */
.nav-btn {
  display: none;
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  color: inherit; font-family: var(--sans);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
}
.nav-btn::after { content: " +"; }
.nav.open .nav-btn::after { content: " ×"; }

/* ---------- 5. HERO IMAGE (accueil, galerie) ---------- */

.mast {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.mast-media { position: absolute; inset: -8% 0; }
.mast-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.9s var(--ease);
}
.js .mast.ready .mast-media img { transform: scale(1.02); }
.mast::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(14,12,9,.74), rgba(14,12,9,.16) 46%, rgba(14,12,9,.34) 100%);
}
.mast-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad-x) clamp(48px, 8vw, 104px);
  color: #fff;
}
.mast h1 {
  font-size: clamp(42px, 10.5vw, 148px);
  margin-top: 20px;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.mast h1 em { font-style: italic; }

/* Révélation ligne à ligne : chaque ligne glisse depuis le bas d'un masque.
   L'état décalé est conditionné à `.js` — sans JavaScript, aucune ligne n'est
   poussée hors de son masque et le titre s'affiche normalement.
   La classe `ready` est posée par le JS sur `.mast` comme sur `.page-mast`,
   donc la mécanique vaut pour l'accueil et pour les pages intérieures. */
/* padding/margin : réserve pour les jambages (g, p, q…) que le masque couperait. */
.ln { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.ln > i { display: block; font-style: inherit; }
.js .ln > i {
  transform: translateY(130%);
  transition: transform 1.05s var(--ease);
  transition-delay: calc(var(--l, 0) * 110ms + 180ms);
}
.js .ready .ln > i { transform: translateY(0); }

.mast-meta {
  margin-top: clamp(26px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.3);
  display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: baseline;
  font-family: var(--sans); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(255,255,255,.86);
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease) .9s, transform .9s var(--ease) .9s;
}
.mast-meta a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; transition: border-color .4s var(--ease); }
.mast-meta a:hover { border-color: #fff; }
.js .mast-meta { opacity: 0; }
.js .mast.ready .mast-meta { opacity: 1; transform: none; }
html:not(.js) .mast-meta { opacity: 1; transform: none; }

/* Placé à droite, à la hauteur de la ligne de repères : au centre il
   tombait pile sur celle-ci. */
.scroll-cue {
  position: absolute; z-index: 2; right: var(--pad-x);
  bottom: clamp(48px, 8vw, 104px);
  font-family: var(--sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), rgba(255,255,255,0));
  animation: cue 2.6s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 6. HERO TYPOGRAPHIQUE (pages intérieures) ---------- */

.page-mast {
  padding: clamp(132px, 17vw, 232px) 0 clamp(34px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
}
.page-mast h1 {
  font-size: clamp(38px, 8.6vw, 118px);
  margin-top: 16px;
}
.page-mast h1 em { font-style: italic; }
.page-mast .lede { margin-top: clamp(22px, 3vw, 38px); max-width: 34ch; }
@media (min-width: 900px) {
  .page-mast .mast-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0 60px; align-items: end; }
  .page-mast .lede { margin-top: 0; padding-bottom: 10px; }
}

/* ---------- 7. BLOC ÉDITORIAL ASYMÉTRIQUE ---------- */

/* Colonne de texte flanquée d'un repère collant dans la marge.
   C'est le gabarit des longues sections rédigées. */
.marg { display: grid; gap: 26px; }
.marg .marg-label { align-self: start; }
.marg h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(27px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.018em;
  margin-bottom: 22px;
}
.marg h3 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(21px, 2.3vw, 28px); line-height: 1.25;
  margin: 40px 0 12px;
}
.marg p { color: var(--ink-soft); }
.marg p + p { margin-top: 1.05em; }
.marg ul { margin: 16px 0 0 0; padding: 0; list-style: none; }
.marg ul li {
  padding: 13px 0 13px 26px; border-top: 1px solid var(--line-soft);
  color: var(--ink-soft); font-size: 16px; line-height: 1.65; position: relative;
}
.marg ul li::before {
  content: ""; position: absolute; left: 0; top: 25px;
  width: 12px; height: 1px; background: var(--accent);
}
@media (min-width: 900px) {
  .marg { grid-template-columns: 200px minmax(0, 1fr); gap: 0 48px; }
  .marg .marg-label { position: sticky; top: 120px; }
  .marg .marg-body { max-width: 66ch; }
}

/* ---------- 8. IMAGES : JEUX D'ÉCHELLES ---------- */

.frame { position: relative; overflow: hidden; background: var(--ph); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption,
.cap {
  margin-top: 12px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}

.r-32 { aspect-ratio: 3 / 2; }
.r-43 { aspect-ratio: 4 / 3; }
.r-34 { aspect-ratio: 3 / 4; }
.r-45 { aspect-ratio: 4 / 5; }
.r-169 { aspect-ratio: 16 / 9; }
.r-219 { aspect-ratio: 21 / 9; }

/* Duo décalé : une grande image, une petite qui descend sous la ligne.
   Deux images voisines n'ont jamais ni la même taille ni le même axe. */
.duo { display: grid; gap: var(--gap); }
@media (min-width: 820px) {
  .duo { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 64px); }
  .duo > :last-child { margin-top: clamp(60px, 11vw, 148px); }
}

/* Trio : une colonne haute au centre, deux basses autour. */
.trio { display: grid; gap: var(--gap); }
@media (min-width: 820px) {
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
  .trio > :nth-child(2) { margin-top: clamp(-64px, -6vw, -20px); }
}

/* Bande pleine largeur */
.bleed { width: 100%; overflow: hidden; background: var(--ph); }
.bleed .frame { border-radius: 0; }

/* Parallaxe : la variable --py est écrite par le JavaScript.
   Sans JS elle vaut 0 et l'image ne bouge pas. */
/* Seules les vraies images dérivent : un emplacement vide qu'on agrandit
   et qu'on décale, ça se voit — son libellé sortirait du cadre. */
.parallax { overflow: hidden; }
.parallax > img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.16);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .parallax > img { transform: none; }
  .mast-media img { transform: scale(1.02); transition: none; }
}

/* Survol : zoom très lent, désaturation qui se lève. */
.zoom img { transition: transform 1.5s var(--ease), filter .8s var(--ease); filter: saturate(.92); }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.05); filter: saturate(1.02); }

/* ---------- 9. EMPLACEMENTS PHOTO ---------- */

.ph-fill,
.ph {
  width: 100%; height: 100%;
  background: var(--ph);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--muted);
  position: relative;
}
.ph::after,
.ph-fill::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line);
  pointer-events: none;
}

/* ---------- 10. GRILLE DE REPORTAGES (index de galeries) ---------- */

.covers {
  display: grid; gap: clamp(22px, 3vw, 44px) var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 860px) { .covers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cover { display: block; text-decoration: none; }
.cover .frame { aspect-ratio: 3 / 4; }
.cover .cover-title {
  margin-top: 14px;
  font-family: var(--display); font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.3; letter-spacing: -.01em;
}
.cover .cover-meta {
  margin-top: 5px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
}
a.cover .cover-title { transition: color .3s var(--ease); }
a.cover:hover .cover-title { color: var(--accent-deep); }
.cover.pending .cover-title { color: var(--muted); font-style: italic; }

/* ---------- 11. GRILLE DE SÉLECTION (photos en vrac) ---------- */

.mosaic {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
}
@media (min-width: 860px) { .mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.mosaic > * { grid-column: span 1; }
@media (min-width: 860px) {
  .m-2 { grid-column: span 2; }
  .m-3 { grid-column: span 3; }
  .m-4 { grid-column: span 4; }
}

/* ---------- 12. INDEX NUMÉROTÉ (étapes, formules) ---------- */

.index-list { list-style: none; }
.index-item {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px) 0;
  display: grid; gap: 14px;
}
.index-list > .index-item:last-child { border-bottom: 1px solid var(--line); }
.index-item .n {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1; color: var(--accent); letter-spacing: -.01em;
}
.index-item .n.word {
  font-family: var(--sans); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; line-height: 1.6;
}
.index-item h3 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(23px, 2.7vw, 34px); line-height: 1.14; letter-spacing: -.015em;
}
.index-item h3 em { font-style: italic; }
.index-item p { margin-top: 14px; color: var(--ink-soft); }
.index-item p + p { margin-top: .95em; }
.index-item .tags {
  margin-top: 20px; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.index-item .tags li {
  font-family: var(--sans); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 7px 12px;
}
@media (min-width: 780px) {
  .index-item { grid-template-columns: 130px minmax(0, 1fr); gap: 0 40px; align-items: start; }
  .index-item .body { max-width: 62ch; }
}
@media (min-width: 1120px) {
  .index-item.split { grid-template-columns: 130px minmax(0, 1fr) minmax(0, .72fr); gap: 0 48px; }
  .index-item.split .aside { padding-top: 6px; }
}

/* ---------- 13. LISTE À DEUX COLONNES ---------- */

.checklist { list-style: none; display: grid; gap: 0 clamp(28px, 5vw, 72px); }
@media (min-width: 780px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li {
  padding: 18px 0 18px 28px; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 16px; line-height: 1.6; position: relative;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 30px;
  width: 14px; height: 1px; background: var(--accent);
}
/* Sur bande sombre : sans ça le texte reste en encre sur encre. */
.band-ink .checklist li { color: rgba(250,246,239,.78); border-top-color: rgba(250,246,239,.16); }

/* ---------- 14. CITATION ---------- */

.quiet { padding: clamp(60px, 9vw, 130px) 0; }
.quiet blockquote {
  max-width: 22ch; margin: 0 auto; text-align: center;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 5.2vw, 64px); line-height: 1.14; letter-spacing: -.02em;
}
.quiet.wide blockquote { max-width: 30ch; font-size: clamp(23px, 3.6vw, 46px); line-height: 1.24; }
.quiet cite {
  display: block; margin-top: 26px; font-style: normal;
  font-family: var(--sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted); text-align: center;
}

/* ---------- 14b. AVIS DES MARIÉS ---------- */
.avis { padding: clamp(60px, 9vw, 120px) 0; background: var(--paper); }
.avis-grid { display: grid; gap: clamp(28px, 4vw, 56px); margin-top: clamp(30px, 4vw, 56px); }
@media (min-width: 860px) { .avis-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.avis-grid blockquote { font-family: var(--display); font-style: italic; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.4; }
.avis-grid.one { grid-template-columns: 1fr; }
@media (min-width: 860px) { .avis-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.avis-grid.one blockquote { max-width: 60ch; margin: 0 auto; text-align: center; font-size: clamp(20px, 2vw, 28px); }
.avis-grid cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--sans); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }

/* ---------- 15. LIENS ET BOUTONS ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; text-decoration: none;
  padding: 17px 30px; border: 1px solid currentColor;
  color: var(--ink); background: transparent;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn::after { content: "→"; letter-spacing: 0; transition: transform .4s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn:hover::after { transform: translateX(5px); }
.band-ink .btn { color: var(--paper); }
.band-ink .btn:hover { background: var(--paper); color: var(--ink); }
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* Lien texte : la ligne se dessine de gauche à droite */
.tlink {
  text-decoration: none; position: relative; white-space: nowrap;
  font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: currentColor; transform: scaleX(1); transform-origin: left;
  transition: transform .5s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); transform-origin: right; }

.inline-link {
  color: inherit; text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.inline-link:hover { color: var(--accent-deep); }

/* ---------- 16. APPEL FINAL ---------- */

.cta { padding: clamp(70px, 11vw, 156px) 0; }
.cta h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 7vw, 92px); line-height: 1.02; letter-spacing: -.022em;
}
.cta h2 em { font-style: italic; }
.cta .cta-side { margin-top: 34px; }
.cta .cta-side p { color: var(--muted); font-size: 16px; }
.band-ink.cta .cta-side p { color: rgba(250,246,239,.72); }
.cta .cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 960px) {
  .cta .cta-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 60px; align-items: end; }
  .cta .cta-side { margin-top: 0; padding-bottom: 8px; }
}

/* ---------- 17. FICHE DE CONTACT ---------- */

.contact-rows { list-style: none; }
.contact-rows li {
  border-top: 1px solid var(--line);
  padding: clamp(20px, 3vw, 30px) 0;
  display: grid; gap: 8px;
}
.contact-rows li:last-child { border-bottom: 1px solid var(--line); }
.contact-rows .k {
  font-family: var(--sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--muted);
}
.contact-rows .v { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.35; }
.contact-rows a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.contact-rows a:hover { border-color: var(--accent); }
@media (min-width: 780px) {
  .contact-rows li { grid-template-columns: 220px minmax(0, 1fr); gap: 0 40px; align-items: baseline; }
}

/* ---------- 18. PROSE (mentions légales) ---------- */

.prose { max-width: 68ch; }
.prose h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; margin: 46px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.prose ul { padding-left: 20px; margin-top: 10px; }
.prose p + p { margin-top: 14px; }
.prose a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s var(--ease); }
.prose a:hover { border-color: var(--accent); }

/* ---------- 19. PIED DE PAGE ---------- */

.site-foot { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 104px) 0 34px; }
.foot-top { display: grid; gap: 40px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; } }
.foot-top h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(26px, 3.4vw, 42px); line-height: 1.14; letter-spacing: -.015em;
  max-width: 16ch;
}
.foot-col h3 {
  font-family: var(--sans); font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 18px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 11px; }
.foot-col a, .foot-col span {
  text-decoration: none; color: rgba(250,246,239,.76); font-size: 15px;
  transition: color .3s var(--ease);
}
.foot-col a:hover { color: var(--paper); }
.foot-bottom {
  margin-top: clamp(46px, 6vw, 76px); padding-top: 24px;
  border-top: 1px solid rgba(250,246,239,.16);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px;
  font-family: var(--sans); font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(250,246,239,.5);
}
.foot-bottom a { text-decoration: none; transition: color .3s var(--ease); }
.foot-bottom a:hover { color: var(--paper); }

/* ---------- 20. RÉVÉLATIONS AU SCROLL ---------- */

/* Règle centrale du « progressive enhancement » : l'état masqué n'existe
   que si la classe `js` a été posée sur <html>. JavaScript coupé = tout
   est visible immédiatement, sans une seule ligne de mise en page perdue. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="rise"] { transform: translateY(46px); }
.js [data-reveal="wipe"] { clip-path: inset(0 0 100% 0); opacity: 1; transform: none; transition: clip-path 1.15s var(--ease); }
.js [data-reveal="wipe"].in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="wipe"] {
    opacity: 1; transform: none; clip-path: none; transition: none;
  }
  .ln > i { transform: none !important; transition: none; }
  .scroll-cue::after { animation: none; }
  .zoom img { transition: none; }
}

/* Focus visible : indispensable, et discret. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Sans JavaScript, personne ne pose la classe `on-light` sur l'en-tête : il
   resterait en blanc sur fond crème, donc illisible. On le force en version
   claire, et on laisse assez d'air sous lui pour la liste de liens dépliée. */
html:not(.js) .site-head {
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: var(--line);
}
html:not(.js) .site-head::before { opacity: 0; }
html:not(.js) .site-head .brand span { color: var(--accent); }
@media (max-width: 899px) {
  html:not(.js) .page-mast { padding-top: 240px; }
}

/* ---------- 21. RESPONSIVE ---------- */

@media (max-width: 899px) {
  body { font-size: 16.5px; }

  .site-head { padding: 12px var(--pad-x); }
  .head-inner { align-items: center; }

  /* Sans JavaScript : la liste reste visible, repliée sur deux lignes
     sous la marque. C'est moins élégant, mais rien n'est perdu. */
  .nav-list { flex-wrap: wrap; gap: 6px 14px; justify-content: flex-end; max-width: 62%; }
  .nav-list a { font-size: 10px; letter-spacing: .12em; }

  /* Avec JavaScript : bouton « Menu » + tiroir. */
  .js .nav-btn { display: block; }
  .js .nav-list {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    max-width: none; flex-direction: column; gap: 0;
    background: var(--paper); color: var(--ink);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 6px var(--pad-x) 14px;
  }
  .js .nav.open .nav-list { display: flex; }
  .js .nav-list li { border-bottom: 1px solid var(--line-soft); }
  .js .nav-list li:last-child { border-bottom: 0; }
  .js .nav-list a { display: block; padding: 15px 0; opacity: 1; font-size: 12px; letter-spacing: .2em; }
  .js .nav-list a::after { display: none; }
  .js .nav-list a[aria-current="page"] { color: var(--accent-deep); }

  /* Le sous-titre d'une section a besoin d'air quand tout s'empile. */
  .sec-head .sub { margin-top: 16px; }

  .mast { min-height: 92svh; }
  .mast h1 { font-size: clamp(38px, 12vw, 60px); }
  .mast-meta { gap: 8px 20px; font-size: 10px; letter-spacing: .18em; }
  .scroll-cue { display: none; }

  .quiet blockquote { max-width: 16ch; }
  .checklist li::before, .marg ul li::before { top: 28px; }
}

@media (max-width: 560px) {
  .covers { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: space-between; padding: 16px 22px; }
  .cta .cta-actions { flex-direction: column; }
}

/* ============================================================
   AJOUTS 2e PASSE — moins de texte, plus d'images
   ============================================================ */

/* ---------- 22. EN-TÊTE DE SECTION MINIMAL ----------
   Une ligne de repère, un titre, rien d'autre. Sert au-dessus des
   grilles : le regard doit tomber sur les photos, pas sur un chapô. */

.sec-line {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 14px 30px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: clamp(26px, 3.4vw, 46px);
}
.band-ink .sec-line { border-color: rgba(250,246,239,.18); }
.sec-line h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(29px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.02em;
  max-width: 18ch;
}
.sec-line h2 em { font-style: italic; }
.sec-line .sec-line-side {
  display: flex; align-items: baseline; gap: 22px;
  padding-bottom: 6px;
}

/* ---------- 23. GRILLE DE REPORTAGES DENSE ----------
   Variante de `.covers` pour l'accueil et la galerie : gouttière serrée,
   pas de titre sous chaque case tant qu'il n'y a pas de vrai reportage. */

.covers.dense { gap: clamp(10px, 1.2vw, 18px); }
@media (min-width: 1100px) { .covers.dense { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.covers.dense .cover-meta { margin-top: 9px; }
/* Sur téléphone, la grille reste à deux colonnes : six vignettes empilées en
   pleine largeur, c'est six écrans de défilement avant le reste de la page. */
@media (max-width: 560px) {
  .covers.dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ---------- 24. BANDE DUO ----------
   Deux images verticales + trois lignes de texte. Le texte occupe la
   plus petite colonne : c'est l'image qui porte le bloc. */

.strip { display: grid; gap: clamp(26px, 4vw, 48px); }
.strip-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.strip-media .frame { aspect-ratio: 3 / 4; }
.strip-body h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(28px, 4vw, 52px); line-height: 1.03; letter-spacing: -.02em;
  margin-top: 16px;
}
.strip-body h2 em { font-style: italic; }
.strip-body p { color: var(--ink-soft); margin-top: 20px; max-width: 40ch; }
.band-ink .strip-body p { color: rgba(250,246,239,.76); }
.strip-body .tlink { display: inline-block; margin-top: 30px; }
@media (min-width: 940px) {
  .strip { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 0 clamp(40px, 5vw, 80px); align-items: center; }
  .strip-media > :last-child { margin-top: clamp(30px, 5vw, 70px); }
}

/* ---------- 24 bis. LÉGENDE DÉVELOPPÉE SOUS UNE IMAGE ----------
   Quatre ou cinq lignes sous un portrait, pas davantage. Sert aux
   présentations de James et d'Alexandra. */

/* Variante à colonnes égales : deux personnes présentées côte à côte ne
   peuvent pas avoir deux tailles de portrait différentes. Le décalage
   vertical suffit à casser la symétrie. */
@media (min-width: 820px) {
  .duo.even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo.even > :last-child { margin-top: clamp(36px, 5vw, 76px); }
}

.who { margin-top: 18px; }
.who .role {
  font-family: var(--sans); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}
.who h2 {
  margin-top: 8px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(24px, 2.6vw, 33px); line-height: 1.1; letter-spacing: -.015em;
}
.who h2 em { font-style: italic; }
.who p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; max-width: 44ch; }
.who .tlink { display: inline-block; margin-top: 22px; }

/* ---------- 25. TROIS COLONNES COURTES (formules) ----------
   Chaque item tient sur une ligne. Aucun paragraphe : si une formule
   demande une explication, elle a sa place dans le devis, pas ici. */

.cols3 { display: grid; gap: clamp(34px, 4vw, 54px); }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 56px); } }

.col-card { border-top: 2px solid currentColor; padding-top: 20px; }
.col-card h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(25px, 2.6vw, 33px); line-height: 1.1; letter-spacing: -.015em;
  margin-top: 12px;
}
.col-card h2 em { font-style: italic; }
.col-card .col-who {
  margin-top: 8px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--muted);
}
.band-ink .col-card .col-who { color: rgba(250,246,239,.55); }
.col-card ul { list-style: none; margin-top: 22px; }
.col-card li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px; line-height: 1.5; color: var(--ink-soft);
}
.band-ink .col-card li { border-color: rgba(250,246,239,.14); color: rgba(250,246,239,.76); }
.col-card li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 11px; height: 1px; background: var(--accent);
}
.col-card .tlink { display: inline-block; margin-top: 24px; }

/* ---------- 26. BLOCS REPLIÉS ----------
   Utilisé sur la page « Se marier en Normandie » et sur les infos
   pratiques : le texte reste dans la page (donc lu par Google et par
   les lecteurs d'écran) sans se déverser à l'écran.
   `<details>` est natif : ça fonctionne sans une ligne de JavaScript. */

.folds { border-top: 1px solid var(--line); }
.band-ink .folds { border-color: rgba(250,246,239,.18); }

.fold { border-bottom: 1px solid var(--line); }
.band-ink .fold { border-color: rgba(250,246,239,.18); }

.fold > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: clamp(19px, 2.4vw, 27px) 52px clamp(19px, 2.4vw, 27px) 0;
  transition: color .3s var(--ease);
}
.fold > summary h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(21px, 2.3vw, 30px); line-height: 1.18; letter-spacing: -.015em;
  display: inline;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::marker { content: ""; }
.fold > summary h2 em { font-style: italic; }
.fold > summary:hover { color: var(--accent-deep); }
.band-ink .fold > summary:hover { color: var(--accent); }

/* Le repère + / − : dessiné en CSS, pas une icône, pas un emoji. */
.fold > summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 13px; height: 1px; background: currentColor;
  opacity: .55;
}
.fold > summary::before {
  content: ""; position: absolute; right: 10px; top: 50%;
  width: 1px; height: 13px; margin-top: -6px; background: currentColor;
  opacity: .55;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.fold[open] > summary::before { transform: scaleY(0); opacity: 0; }

.fold-body { padding: 0 52px clamp(24px, 3vw, 34px) 0; max-width: 68ch; }
.fold-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.band-ink .fold-body p { color: rgba(250,246,239,.76); }
.fold-body p + p { margin-top: 14px; }
.fold-body h3 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.25;
  margin: 26px 0 8px;
}
.fold-body ul { list-style: none; margin-top: 14px; }
.fold-body li {
  position: relative; padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
}
.fold-body li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 11px; height: 1px; background: var(--accent);
}
.fold[open] .fold-body { animation: fold-in .55s var(--ease) both; }
@keyframes fold-in { from { opacity: 0; transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) {
  .fold[open] .fold-body { animation: none; }
  .fold > summary::before { transition: none; }
}
