/* Design system « Guide des producteurs — destination Saint-Lô » — préfixe gp-
   Origine de chaque jeton : RAPPORT.md (section Jetons). Aucune couleur ni taille hors jetons. */

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Montserrat:wght@400;600;700&family=Source+Sans+3:ital,wght@0,400;0,700;0,900;1,400&family=Ubuntu:wght@500;700&display=swap');

:root {
  /* Couleurs du PDF (source/analyse.json) */
  --gp-noir: #000000;            /* texte des pages éditoriales */
  --gp-blanc: #ffffff;
  --gp-framboise: #db0a4d;       /* ruban « Mangez sain… » (aplat de la couverture) */
  /* Config Mongo de la brochure (theme.themeColor « default-dark ») : bandeaux, cellules */
  --gp-nuit: #172b49;
  /* Échantillonnées sur les images du PDF */
  --gp-framboise-dos: #d00f44;   /* bande du dos (image) */
  --gp-vert-pale: #edf1e9;       /* aplats arrondis des marchés et de « Destination Saint-Lô » */
  --gp-beige: #f1e9dc;           /* fiche « note » */
  --gp-ombre-note: #c8c8c8;      /* ombre portée de la fiche « note » */
  --gp-ligne-note: #b9ab8f;      /* pointillés de la fiche « note » */
  --gp-or: #8a6408;              /* ligne néerlandaise des polaroïds (or, assombri pour le contraste) */
  --gp-gris: #555555;            /* ligne anglaise des polaroïds */
  --gp-voile: rgba(0, 0, 0, 0.38);      /* --gp-noir, voile sous le titre de couverture */
  --gp-ombre: rgba(0, 0, 0, 0.22);      /* --gp-noir, ombre des polaroïds (présente sur la carte) */

  /* Polices : Kaushan Script, Source Sans 3 et Ubuntu sont celles du PDF (Google Fonts) ;
     Montserrat est la police des cellules de l'admin (DEFAULT_TEXT / BIG_TITLE). */
  --gp-police-script: 'Kaushan Script', cursive;
  --gp-police-texte: 'Source Sans 3', system-ui, sans-serif;
  --gp-police-cellule: 'Montserrat', system-ui, sans-serif;
  --gp-police-ruban: 'Ubuntu', system-ui, sans-serif;

  /* Échelle de texte : 9 tailles, 13 px au minimum, texte courant 17 px */
  --gp-t-xs: 13px;
  --gp-t-s: 15px;
  --gp-t-m: 17px;
  --gp-t-l: 20px;
  --gp-t-xl: 26px;
  --gp-t-2xl: clamp(30px, 3.4vw, 40px);
  --gp-t-3xl: clamp(46px, 6vw, 80px);
  --gp-t-titre: clamp(58px, 8.4vw, 118px);
  --gp-t-moyen: clamp(30px, 3.6vw, 50px);

  /* Espaces */
  --gp-e-1: 4px;
  --gp-e-2: 8px;
  --gp-e-3: 12px;
  --gp-e-4: 16px;
  --gp-e-5: 24px;
  --gp-e-6: 40px;
  --gp-e-7: 64px;
  --gp-e-8: 96px;

  --gp-largeur: 1160px;
  --gp-marge: clamp(16px, 4vw, 48px);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gp-police-texte);
  font-size: var(--gp-t-m);
  line-height: 1.5;
  color: var(--gp-noir);
  background: var(--gp-blanc);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
sup { line-height: 0; font-size: 0.7em; }
h1, h2, h3, h4, p, figure, ul, ol, address { margin: 0; }
address { font-style: normal; }
ul, ol { padding: 0; list-style: none; }
[id] { scroll-margin-top: 76px; }
.gp-sr { font-size: var(--gp-t-m); position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gp-dedans { width: 100%; max-width: var(--gp-largeur); margin: 0 auto; padding: 0 var(--gp-marge); }
.gp-section { padding: var(--gp-e-8) 0 0; }
.gp-script { font-family: var(--gp-police-script); font-weight: 400; line-height: 1.05; }

/* ---------------------------------------------------------------- barre du haut (ajout web) */
.gp-outils {
  /* Barre blanche au-dessus de la couverture : le choix de langue ne recouvre rien. */
  position: sticky; top: 0; z-index: 20; height: 60px; padding: 0 var(--gp-e-4);
  display: flex; align-items: center; justify-content: flex-end; gap: var(--gp-e-2);
  background: var(--gp-blanc); border-bottom: 1px solid var(--gp-vert-pale);
}
.gp-pdf {
  display: inline-flex; align-items: center; gap: var(--gp-e-2); min-height: 44px; padding: 0 var(--gp-e-4);
  border-radius: 999px; background: var(--gp-nuit); color: var(--gp-blanc); text-decoration: none;
  font-family: var(--gp-police-cellule); font-weight: 600; font-size: var(--gp-t-s);
}
.gp-pdf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 699px) { .gp-pdf span { display: none; } }
.gp-langues { display: flex; border: 2px solid var(--gp-nuit); border-radius: 999px; overflow: hidden; }
.gp-langues a {
  display: inline-block; min-width: 44px; padding: var(--gp-e-2) var(--gp-e-3); text-align: center; text-decoration: none;
  font-family: var(--gp-police-cellule); font-weight: 600; font-size: var(--gp-t-s); color: var(--gp-nuit);
}
.gp-langues a[aria-current] { background: var(--gp-nuit); color: var(--gp-blanc); }
.gp-langues a:not([aria-current]):hover, .gp-langues a:not([aria-current]):focus-visible { color: var(--gp-framboise); }

/* ---------------------------------------------------------------- couverture */
.gp-couv {
  position: relative; overflow: hidden; color: var(--gp-blanc);
  height: min(calc(100svh - 60px), 900px); min-height: 560px;
}
.gp-couv__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.gp-couv::before {
  /* Voile en haut à gauche, sous le titre (le PDF pose une ombre portée sous chaque ligne) */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 70% 62% at 26% 26%, var(--gp-voile), transparent 72%);
}
.gp-couv__points { position: absolute; z-index: 1; width: clamp(140px, 22vw, 320px); opacity: 0.95; }
.gp-couv__points--haut { top: -2%; right: -2%; transform: rotate(180deg); }
.gp-couv__points--bas { bottom: -2%; left: -2%; }
.gp-couv__dedans {
  position: relative; z-index: 2; height: 100%; max-width: var(--gp-largeur); margin: 0 auto;
  padding: var(--gp-e-6) var(--gp-marge) var(--gp-e-5);
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; gap: var(--gp-e-4) var(--gp-e-6);
}
.gp-couv__ruban {
  grid-column: 1 / -1; justify-self: end;
  background: var(--gp-framboise); color: var(--gp-blanc); font-family: var(--gp-police-ruban); font-weight: 700;
  font-size: var(--gp-t-l); padding: var(--gp-e-2) var(--gp-e-5);
}
.gp-couv h1 {
  grid-column: 1; align-self: start; font-weight: 400; transform: rotate(-4deg); transform-origin: left top;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}
.gp-couv h1 span { display: block; font-family: var(--gp-police-script); line-height: 0.95; }
.gp-couv__l1 { font-size: var(--gp-t-moyen); }
.gp-couv__l2 { font-size: var(--gp-t-titre); margin-left: 0.5em; }
.gp-couv__l3 { font-size: var(--gp-t-moyen); margin-left: 2.2em; }
.gp-couv__l4 { font-size: var(--gp-t-titre); margin-left: 1.6em; }
.gp-couv__office {
  grid-column: 2; align-self: start; justify-self: start; margin-top: clamp(40px, 7vw, 110px);
  display: flex; flex-direction: column; align-items: flex-end; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.gp-couv__office img { width: clamp(110px, 13vw, 190px); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); }
.gp-couv__office p { font-family: var(--gp-police-script); font-size: var(--gp-t-l); line-height: 1.15; text-align: right; transform: rotate(-4deg); }
.gp-couv__bas { grid-column: 1 / -1; align-self: end; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gp-e-5); }
.gp-couv__pat { width: clamp(180px, 22vw, 300px); }
.gp-couv__agglo { width: clamp(110px, 12vw, 170px); }
.gp-couv__credit {
  position: absolute; z-index: 2; right: var(--gp-e-2); top: 62%; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--gp-t-xs); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* ---------------------------------------------------------------- sommaire (ajout web) */
.gp-nav { background: var(--gp-blanc); border-bottom: 2px solid var(--gp-vert-pale); }
.gp-nav ul {
  max-width: var(--gp-largeur); margin: 0 auto; padding: var(--gp-e-3) var(--gp-marge);
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gp-e-1) var(--gp-e-5);
}
.gp-nav a {
  display: inline-block; padding: var(--gp-e-2) 0; text-decoration: none;
  font-family: var(--gp-police-cellule); font-weight: 600; font-size: var(--gp-t-s); color: var(--gp-nuit);
}
.gp-nav a:hover, .gp-nav a:focus-visible { color: var(--gp-framboise); text-decoration: underline; }

/* ---------------------------------------------------------------- carte */
.gp-carte__grille { display: flex; flex-direction: column; align-items: center; gap: var(--gp-e-6); }
.gp-carte__image { margin: 0; width: min(860px, 100%); }
.gp-carte__image a { display: block; }
.gp-carte__image img { width: 100%; height: auto; }
.gp-carte__credit { font-size: var(--gp-t-xs); margin-top: var(--gp-e-2); }
.gp-polaroids { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gp-e-5) var(--gp-e-4); width: 100%; }
.gp-polaroid__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; margin-bottom: var(--gp-e-3); }
.gp-polaroid {
  background: var(--gp-blanc); padding: var(--gp-e-3) var(--gp-e-3) var(--gp-e-4); text-align: center;
  box-shadow: 0 3px 12px var(--gp-ombre); font-size: var(--gp-t-s); line-height: 1.35;
}
.gp-polaroid:nth-child(4n + 1) { transform: rotate(-1.6deg); }
.gp-polaroid:nth-child(4n + 2) { transform: rotate(1.2deg); }
.gp-polaroid:nth-child(4n + 3) { transform: rotate(1.4deg); }
.gp-polaroid:nth-child(4n) { transform: rotate(-1.1deg); }
.gp-polaroid__s { display: block; font-family: var(--gp-police-script); font-size: var(--gp-t-m); line-height: 1.2; }
.gp-polaroid__en { display: block; margin-top: var(--gp-e-2); font-style: italic; color: var(--gp-gris); }
.gp-polaroid__nl { display: block; color: var(--gp-or); font-weight: 700; }

/* ---------------------------------------------------------------- marchés */
.gp-marches__tete { display: flex; align-items: flex-end; justify-content: center; gap: var(--gp-e-4); margin-bottom: var(--gp-e-6); }
.gp-marches__tete h2 { font-family: var(--gp-police-script); font-weight: 400; font-size: var(--gp-t-3xl); line-height: 0.95; transform: rotate(-4deg); }
.gp-marches__tete h2 span { display: block; }
.gp-marches__tete h2 span + span { margin-left: 1.1em; }
.gp-marches__panier { width: clamp(140px, 18vw, 230px); margin-bottom: calc(-1 * var(--gp-e-4)); }
.gp-marches__colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gp-e-6) var(--gp-e-7); }
.gp-marches__sous-titre { font-family: var(--gp-police-script); font-weight: 400; font-size: var(--gp-t-xl); margin-bottom: var(--gp-e-4); }
.gp-jour + .gp-jour { margin-top: var(--gp-e-5); }
.gp-jour h4 { font-weight: 700; font-size: var(--gp-t-m); letter-spacing: 0.01em; margin-bottom: var(--gp-e-2); }
.gp-puces li { position: relative; padding-left: 1.1em; }
.gp-puces li::before { content: "‣"; position: absolute; left: 0.1em; }
.gp-puces li + li { margin-top: 2px; }
.gp-puces .gp-i { font-style: italic; margin-top: var(--gp-e-2); }
.gp-blob {
  margin-top: var(--gp-e-6); padding: var(--gp-e-6) var(--gp-e-6) var(--gp-e-6);
  background: var(--gp-vert-pale); border-radius: 46% 54% 50% 50% / 14% 16% 18% 22%;
}
.gp-blob h3 { font-family: var(--gp-police-script); font-weight: 400; font-size: var(--gp-t-l); margin-bottom: var(--gp-e-4); }
.gp-blob p + p { margin-top: 2px; }
.gp-blob .gp-marche + .gp-marche { margin-top: var(--gp-e-4); }
.gp-marches__bas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gp-e-6) var(--gp-e-7); align-items: end; margin-top: var(--gp-e-7); }
.gp-marches__photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  clip-path: polygon(0 7%, 100% 0, 96% 22%, 94% 100%, 0 100%);
}
.gp-intro { position: relative; padding: var(--gp-e-5) var(--gp-e-5); font-size: var(--gp-t-s); text-align: justify; hyphens: auto; }
.gp-intro p + p { margin-top: var(--gp-e-3); }
/* Coins en équerre (filets du PDF autour du texte) */
.gp-intro::before, .gp-intro::after {
  content: ""; position: absolute; width: 44px; height: 32px; border: 1.5px solid var(--gp-noir);
}
.gp-intro::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.gp-intro::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.gp-intro__coins::before, .gp-intro__coins::after {
  content: ""; position: absolute; width: 44px; height: 32px; border: 1.5px solid var(--gp-noir);
}
.gp-intro__coins::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.gp-intro__coins::after { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.gp-marches__ampoule { width: 72px; margin: 0 auto var(--gp-e-3); }

/* ---------------------------------------------------------------- familles de produits (sections « activities ») */
.gp-fiches { padding: var(--gp-e-8) 0 0; }
.gp-bandeau { display: flex; align-items: center; gap: var(--gp-e-4); margin-bottom: var(--gp-e-6); }
.gp-bandeau img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.gp-bandeau h2 {
  flex: 1; background: var(--gp-nuit); color: var(--gp-blanc); border-radius: 999px; text-align: center;
  font-family: var(--gp-police-cellule); font-weight: 600; font-size: var(--gp-t-l); line-height: 1.3;
  padding: var(--gp-e-3) var(--gp-e-5);
}
.gp-grille {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense;
  gap: var(--gp-e-6) var(--gp-e-5);
}
/* Avec des cellules de groupe : pas de remplissage en arrière (chaque groupe ouvre sa rangée) */
.gp-grille--groupes { grid-auto-flow: row; }
/* Cellule de groupe (tri « cellule » de l'admin) et encart « famille » : bloc bleu nuit */
.gp-groupe {
  position: relative; margin: 0; min-height: 420px; background: var(--gp-nuit); overflow: hidden; grid-column-start: 1;
  display: flex; align-items: center; justify-content: center;
}
.gp-groupe img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gp-groupe h3 {
  position: relative; background: var(--gp-blanc); color: var(--gp-nuit); border-radius: 999px;
  font-family: var(--gp-police-cellule); font-weight: 600; font-size: var(--gp-t-xl); line-height: 1.2;
  padding: var(--gp-e-3) var(--gp-e-5); margin: var(--gp-e-4); text-align: center;
}
.gp-encart { margin: 0; min-height: 420px; background: var(--gp-nuit); overflow: hidden; }
.gp-encart img { width: 100%; height: 100%; object-fit: cover; }
.gp-encart--2 { grid-column: 1 / -1; min-height: 0; aspect-ratio: 21 / 9; }
/* Grille à groupes (pas de remplissage en arrière) : l'encart large complète la rangée en cours */
.gp-grille--groupes .gp-encart--2 { grid-column: span 2; aspect-ratio: auto; min-height: 380px; }

/* Cellule d'activité — style des cellules de l'admin (gabarit grid-2-2, couleur #172B49) */
.gp-cellule {
  display: flex; flex-direction: column; gap: var(--gp-e-2);
  font-family: var(--gp-police-cellule); color: var(--gp-nuit);
  padding-bottom: var(--gp-e-5); border-bottom: 2px solid var(--gp-nuit);
}
.gp-cellule__photo { aspect-ratio: 16 / 8.5; overflow: hidden; margin-bottom: var(--gp-e-2); }
.gp-cellule__photo img { width: 100%; height: 100%; object-fit: cover; }
.gp-cellule__pastilles { display: flex; flex-wrap: wrap; gap: var(--gp-e-2); }
.gp-pastille {
  display: inline-block; border: 1.5px solid var(--gp-nuit); border-radius: 999px;
  font-size: var(--gp-t-xs); line-height: 1.3; padding: 3px var(--gp-e-3);
}
.gp-cellule__titre { font-size: var(--gp-t-l); line-height: 1.25; font-weight: 700; }
.gp-cellule__desc, .gp-cellule__suite p { font-size: var(--gp-t-s); line-height: 1.5; white-space: pre-line; }
.gp-cellule__suite summary {
  cursor: pointer; font-size: var(--gp-t-s); font-weight: 700; list-style: none; display: inline-block; padding: 2px 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.gp-cellule__suite summary::-webkit-details-marker { display: none; }
.gp-cellule__suite summary::after { content: " +"; }
.gp-cellule__suite[open] summary { display: none; }
.gp-cellule__desc:has(+ .gp-cellule__suite[open]) { display: none; }
.gp-cellule__info { display: flex; gap: var(--gp-e-2); align-items: flex-start; font-size: var(--gp-t-s); line-height: 1.45; }
.gp-cellule__info svg { flex: none; width: 18px; height: 18px; margin-top: 1px; stroke: var(--gp-nuit); }
.gp-cellule__info span { white-space: pre-line; }
.gp-cellule__info--adresse span { font-weight: 700; }
.gp-cellule__contact { font-size: var(--gp-t-s); font-weight: 700; line-height: 1.45; overflow: hidden; }
.gp-cellule__contact > p { display: flex; flex-wrap: wrap; margin-left: -1em; }
.gp-cellule__contact a { text-decoration: none; display: inline-block; padding: 3px 0; }
.gp-cellule__contact a:hover, .gp-cellule__contact a:focus-visible { text-decoration: underline; }
.gp-cellule__lien { position: relative; padding-left: 1em; overflow-wrap: anywhere; }
.gp-cellule__lien + .gp-cellule__lien::before { content: "|"; position: absolute; left: 0.3em; font-weight: 400; }
.gp-cellule__rubrique { font-size: var(--gp-t-s); line-height: 1.45; }
.gp-cellule__rubrique strong { font-weight: 700; }
.gp-cellule__icones { display: flex; flex-wrap: wrap; gap: var(--gp-e-2); }
.gp-cellule__icones img { height: 44px; width: auto; }
/* La cellule passe par-dessus les blocs de même rangée : les encarts suivent sa hauteur */
.gp-grille > * { min-width: 0; }

/* ---------------------------------------------------------------- Destination Saint-Lô */
.gp-dest { position: relative; overflow: hidden; padding-bottom: var(--gp-e-7); }
.gp-dest::before {
  /* Grand aplat vert pâle arrondi, en biais (comme sur la page) */
  content: ""; position: absolute; z-index: -1; left: -8%; right: -12%; top: 140px; bottom: -40px;
  background: var(--gp-vert-pale); border-radius: 18% 12% 0 0 / 22% 16% 0 0; transform: rotate(-6deg);
}
.gp-dest { isolation: isolate; text-align: center; }
.gp-dest h2 { font-family: var(--gp-police-script); font-weight: 400; font-size: var(--gp-t-3xl); line-height: 1.05; }
.gp-dest__sous-titre { font-size: var(--gp-t-xl); margin-top: var(--gp-e-2); }
.gp-dest__question { font-weight: 700; font-size: var(--gp-t-l); margin-top: var(--gp-e-7); }
.gp-dest__promesse { font-size: var(--gp-t-xl); line-height: 1.2; margin-top: var(--gp-e-5); }
.gp-dest__promesse span { display: block; }
.gp-dest__promesse span + span { font-size: var(--gp-t-2xl); }
.gp-dest__bas {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 0.5fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
  gap: 0 var(--gp-e-4); max-width: 860px; margin: var(--gp-e-7) auto 0; align-items: start; text-align: left;
}
.gp-dest__scannez { grid-column: 1 / span 2; grid-row: 1; transform: rotate(-6deg); transform-origin: left center; margin: var(--gp-e-4) 0 0; }
.gp-dest__scannez span { display: block; }
.gp-dest__scannez span:first-child { font-weight: 900; font-size: var(--gp-t-2xl); line-height: 1.1; }
.gp-dest__scannez span:last-child { font-family: var(--gp-police-script); font-size: var(--gp-t-xl); }
.gp-dest__voyageuse { grid-column: 1; grid-row: 2; width: min(240px, 100%); margin-top: var(--gp-e-3); }
.gp-dest__fleche { grid-column: 2; grid-row: 2; width: min(150px, 100%); justify-self: end; margin-top: var(--gp-e-2); }
.gp-dest__qr { grid-column: 3; grid-row: 1 / span 2; align-self: start; background: var(--gp-blanc); border-radius: 36px; padding: var(--gp-e-5); }
.gp-dest__qr img { width: 100%; max-width: 330px; margin: 0 auto; }

/* ---------------------------------------------------------------- note */
.gp-note { padding-top: var(--gp-e-7); }
.gp-note__fiche {
  position: relative; max-width: 520px; margin: 0 auto; background: var(--gp-beige); border-radius: 22px;
  padding: var(--gp-e-4) var(--gp-e-5) var(--gp-e-6); box-shadow: 12px 12px 0 var(--gp-ombre-note);
}
.gp-note__titre { width: min(260px, 70%); margin: 0 auto; }
.gp-note__lignes {
  background: var(--gp-blanc); border-radius: 26px 26px 34px 34px / 18px 18px 26px 26px;
  margin: var(--gp-e-3) 0 0; padding: var(--gp-e-5) var(--gp-e-6);
}
.gp-note__lignes span { display: block; height: 30px; border-bottom: 1.5px dashed var(--gp-ligne-note); }
.gp-note__bas { background: var(--gp-blanc); border-radius: 30px 30px 26px 26px / 18px 18px 16px 16px; height: 96px; margin-top: var(--gp-e-4); }
.gp-note__plantes { position: absolute; right: -36px; bottom: -28px; width: 120px; }

/* ---------------------------------------------------------------- dos */
.gp-dos { margin-top: var(--gp-e-8); position: relative; }
.gp-dos__photo { position: relative; }
.gp-dos__fond { width: 100%; height: clamp(440px, 52vw, 780px); object-fit: cover; object-position: 50% 42%; }
.gp-dos__lettrage { position: absolute; left: 50%; top: 9%; width: min(560px, 76%); transform: translateX(-50%); }
.gp-dos__credit {
  position: absolute; right: var(--gp-e-2); top: 48%; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: var(--gp-t-xs); color: var(--gp-blanc); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.gp-dos__bande {
  position: relative; margin-top: -64px; background: var(--gp-framboise-dos); color: var(--gp-blanc);
  border-radius: 60% 40% 0 0 / 64px 30px 0 0; padding: var(--gp-e-7) 0 var(--gp-e-6);
}
.gp-dos__bande .gp-dedans { display: flex; align-items: center; gap: var(--gp-e-6); flex-wrap: wrap; }
.gp-dos__office { font-family: var(--gp-police-script); font-size: var(--gp-t-l); line-height: 1.2; padding-right: var(--gp-e-6); border-right: 1px solid var(--gp-blanc); }
.gp-dos__infos { flex: 1; font-size: var(--gp-t-m); line-height: 1.45; }
.gp-dos__reseaux { display: flex; align-items: center; gap: var(--gp-e-2); font-family: var(--gp-police-ruban); font-weight: 500; letter-spacing: 0.04em; }
.gp-dos__reseaux img { height: 22px; width: auto; }
.gp-dos__infos a { text-decoration: none; display: inline-block; padding: 2px 0; }
.gp-dos__infos a:hover, .gp-dos__infos a:focus-visible { text-decoration: underline; }
.gp-dos__site { font-weight: 700; }
.gp-dos__logo { width: 150px; }

/* ---------------------------------------------------------------- tablette */
@media (max-width: 1000px) {
  .gp-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- téléphone */
@media (max-width: 640px) {
  .gp-section, .gp-fiches { padding-top: var(--gp-e-7); }
  .gp-couv { min-height: 0; height: calc(100svh - 60px); max-height: 784px; }
  .gp-couv__photo { object-position: 70% 50%; }
  .gp-couv__dedans { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr auto; padding-top: var(--gp-e-5); }
  .gp-couv__ruban { justify-self: stretch; text-align: center; font-size: var(--gp-t-m); }
  .gp-couv h1 { grid-column: 1; margin-top: var(--gp-e-3); }
  .gp-couv__l2, .gp-couv__l4 { font-size: 64px; }
  .gp-couv__l1, .gp-couv__l3 { font-size: var(--gp-t-2xl); }
  .gp-couv__l3 { margin-left: 1.2em; }
  .gp-couv__l4 { margin-left: 0.9em; }
  .gp-couv__office { grid-column: 1; grid-row: 3; margin-top: var(--gp-e-4); justify-self: end; }
  .gp-couv__office img { width: 104px; }
  .gp-couv__office p { font-size: var(--gp-t-m); }
  .gp-couv__pat { width: 168px; }
  .gp-couv__agglo { width: 104px; }
  .gp-polaroids { gap: var(--gp-e-4) var(--gp-e-3); }
  .gp-polaroid { padding: var(--gp-e-2) var(--gp-e-2) var(--gp-e-3); font-size: var(--gp-t-xs); }
  .gp-polaroid__s { font-size: var(--gp-t-s); }
  .gp-marches__tete { flex-direction: column; align-items: center; }
  .gp-marches__tete h2 { font-size: 54px; }
  .gp-marches__colonnes, .gp-marches__bas { grid-template-columns: 1fr; }
  .gp-blob { padding: var(--gp-e-6) var(--gp-e-5); border-radius: 36px 48px 40px 52px; }
  .gp-bandeau { gap: var(--gp-e-3); }
  .gp-bandeau img { width: 44px; height: 44px; }
  .gp-bandeau h2 { font-size: var(--gp-t-m); border-radius: 28px; }
  .gp-grille { grid-template-columns: 1fr; gap: var(--gp-e-6); }
  .gp-groupe, .gp-encart { min-height: 0; aspect-ratio: 1 / 1; }
  .gp-grille--groupes .gp-encart--2 { grid-column: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .gp-encart--2 { aspect-ratio: 4 / 3; }
  .gp-cellule__photo { aspect-ratio: 16 / 9; }
  .gp-dest h2 { font-size: 54px; }
  .gp-dest__promesse span + span { font-size: var(--gp-t-xl); }
  .gp-dest__bas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .gp-dest__scannez { grid-column: 1 / -1; }
  .gp-dest__fleche { grid-column: 2; grid-row: 2; width: 84px; justify-self: center; align-self: end; }
  .gp-dest__voyageuse { grid-column: 1; grid-row: 2 / span 2; }
  .gp-dest__qr { grid-column: 2; grid-row: 3; padding: var(--gp-e-3); border-radius: 22px; }
  .gp-note__fiche { margin-right: var(--gp-e-6); }
  .gp-note__plantes { width: 92px; right: -48px; }
  .gp-dos__bande { margin-top: -36px; border-radius: 60% 40% 0 0 / 36px 18px 0 0; }
  .gp-dos__office { border-right: 0; padding-right: 0; }
  .gp-dos__lettrage { width: 86%; }
}
