/*
Theme Name: NeutraRisk
Theme URI: https://neutrarisk.fr
Author: NeutraRisk
Description: Thème bloc sur mesure de NeutraRisk : prévention incendie, formations, audit et conformité. Construit avec la méthode « la maquette d'abord » : tout le contenu est en blocs natifs, éditable dans Gutenberg.
Version: 1.0.3
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neutrarisk
*/

/* ==========================================================================
   Jetons — identiques à la maquette (rouge et bleu nuit validés par le client)
   ========================================================================== */
:root {
  --rouge: #E63929;
  --rouge-fonce: #C92C1E;
  --nuit: #0F1F2A;
  --nuit-carte: #0B1822;
  --nuit-pied: #172937;
  --gris: #F8F8F8;
  --blanc: #FFFFFF;
  --texte: #6B6B6B;
  --trait: #E6E6E6;
  --titre: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --corps: 'Work Sans', system-ui, -apple-system, sans-serif;
}

body *, body *::before, body *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font: 400 16px/1.7 var(--corps);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body img { max-width: 100%; height: auto; display: block; } /* height:auto obligatoire : l'attribut height des blocs image l'emporterait sur aspect-ratio */
body a { color: inherit; text-decoration: none; }
body h1, body h2, body h3, body h4, body p, body ul, body figure { margin: 0; }
body ul { padding: 0; list-style: none; }

/* Gutenberg : l'espacement automatique est coupé à la source (blockGap "0px" dans
   theme.json) ; ce filet de sécurité est À SPÉCIFICITÉ NULLE pour ne jamais écraser
   les marges des composants (voir blocs-gutenberg.md).
   À la construction, chaque sélecteur de cette feuille reçoit le préfixe « body » :
   WordPress imprime le CSS des blocs et ses styles globaux APRÈS la feuille du thème,
   et l'emporterait sinon à spécificité égale (blocs-gutenberg.md, fait n° 2). */
body :where(.wp-block-group) > :where(*), body :where(.wp-block-buttons) { margin-block: 0; }
body :where(figure.wp-block-image) { margin: 0; }
body .wp-block-image img { vertical-align: top; }

body .wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
body .wrap-large { width: min(1730px, 100% - 96px); margin-inline: auto; }

body :where(a, button, input, textarea, select, [tabindex]):focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 6px; }

/* ==========================================================================
   Typographie
   ========================================================================== */
body .titre-heros, body .titre-section, body .titre-bloc, body .titre-mini, body .surtitre, body .heros-sous-titre, body .heros-slogan, body .chiffre, body .numero, body .titre-page {
  font-family: var(--titre);
  font-weight: 400;
  text-transform: uppercase;
  hyphens: none;
}
body .titre-section { font-size: clamp(36px, 2.4vw + 20px, 54px); line-height: 1.02; letter-spacing: .01em; color: var(--nuit); text-wrap: balance; }
body .titre-bloc { font-size: 26px; line-height: 1.08; letter-spacing: .02em; color: var(--nuit); text-wrap: balance; }
body .titre-mini { font-size: 20px; line-height: 1.15; letter-spacing: .03em; color: var(--nuit); text-wrap: balance; }
body .surtitre { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 18px; line-height: 1; letter-spacing: .07em; color: var(--rouge); }
body .surtitre[class*="ico-"]::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body .texte { font-size: 16px; line-height: 1.7; color: var(--texte); }

/* ==========================================================================
   Composants
   ========================================================================== */
/* Boutons : la classe du bloc arrive sur le conteneur, le style vise le lien */
body .wp-block-button .wp-block-button__link, body .formulaire .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border: 0;
  border-radius: 999px;
  background: var(--rouge);
  color: #fff;
  font: 400 18px/1 var(--titre);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
body .wp-block-button .wp-block-button__link:hover, body .formulaire .wpcf7-submit:hover { background: var(--rouge-fonce); color: #fff; }

/* Pastille : un cercle à gauche du texte, l'icône peinte dans le cercle */
body .entete-contact, body .contact-ligne, body .objectif-tete, body .coordonnee, body .info {
  display: grid;
  grid-template-columns: var(--pastille) auto;
  column-gap: 12px;
  align-items: center;
  align-content: center;
}
body .entete-contact::before, body .contact-ligne::before, body .objectif-tete::before, body .coordonnee::before, body .info::before {
  content: "";
  grid-row: 1 / span 2;
  width: var(--pastille);
  height: var(--pastille);
  border-radius: 50%;
  background: var(--pastille-fond, var(--rouge)) var(--pastille-icone, var(--ico-blanc)) center / 42% no-repeat;
}
body .entete-contact, body .contact-ligne { --pastille: 48px; }
body .objectif-tete { --pastille: 40px; }
body .coordonnee { --pastille: 54px; }
body .info { --pastille: 46px; --pastille-fond: var(--gris); --pastille-icone: var(--ico-rouge); }
body .fond-gris .info { --pastille-fond: #fff; }

/* Grappe d'avatars : la pastille « + » est un pseudo-élément */
body .avatars { display: inline-flex; flex: none; }
body .avatars .wp-block-image + .wp-block-image { margin-left: -10px; }
body .avatars img { width: 36px; height: 36px; border: 2px solid var(--nuit); border-radius: 50%; object-fit: cover; }
body .avatars::after { content: ""; width: 36px; height: 36px; margin-left: -10px; border: 2px solid var(--nuit); border-radius: 50%; background: var(--rouge) var(--i-plus-blanc) center / 16px no-repeat; }

body .entete-section.centre { max-width: 760px; margin: 0 auto 64px; text-align: center; }
body .entete-section.centre .titre-section { max-width: 580px; margin-inline: auto; }
body .entete-section.deux-colonnes { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
body .entete-section.deux-colonnes .titre-section { max-width: 540px; }
body .entete-section.deux-colonnes > .texte { max-width: 430px; padding-bottom: 6px; }

body .ligne-note { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 46px; font-size: 15px; text-align: center; }
body .ligne-note a { color: var(--nuit); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body .ligne-note .avatars::after { content: none; }
body .ligne-note .avatars img { width: 30px; height: 30px; border-color: var(--gris); }
body .etiquette { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--rouge); color: #fff; font: 400 15px/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; }

/* ==========================================================================
   En-tête (template part « header »)
   ========================================================================== */
body .entete { position: relative; z-index: 30; background: var(--nuit); color: #fff; }
body .entete-rangee { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-block: 26px; }
body .wp-block-site-logo.logo { justify-self: center; }
body .wp-block-site-logo.logo img { width: auto; height: 40px; }
body .entete-actions { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
body .entete-contact-label { font: 400 13px/1.4 var(--corps); color: rgba(255, 255, 255, .6); }
body .entete-contact-email { font: 400 19px/1.1 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #fff; }

/* core/navigation : le menu reste éditable, son style vit ici */
body .wp-block-navigation.menu { font: 400 17px/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; }
body .wp-block-navigation.menu .wp-block-navigation__container { gap: 38px; }
body .wp-block-navigation.menu .wp-block-navigation-item__content { padding: 0; color: #fff; opacity: .92; transition: color .2s; }
body .wp-block-navigation.menu .wp-block-navigation-item__content:hover, body .wp-block-navigation.menu .est-courant > .wp-block-navigation-item__content { color: var(--rouge); opacity: 1; }
body .wp-block-navigation.menu .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; padding: 0; justify-content: center; align-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; color: #fff; }
/* le panneau mobile s'ouvrirait blanc sur blanc : le CSS du bloc est imprimé APRÈS cette feuille */
body .wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--nuit) !important; color: #fff !important; }
body .wp-block-navigation.menu .is-menu-open .wp-block-navigation__responsive-container-content { align-items: center; justify-content: center; }
body .wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { align-items: center; gap: 26px; }
body .wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { font-size: 34px; }

/* ==========================================================================
   Héros
   ========================================================================== */
body .heros { background: var(--nuit); color: #fff; }
body .heros-grille { display: grid; grid-template-columns: minmax(0, 1fr) 290px; grid-template-areas: "texte vignette" "bas bas"; column-gap: 60px; padding-top: clamp(44px, 5.8vw, 112px); }
body .heros-texte { grid-area: texte; position: relative; }
body .heros-surtitre { display: flex; align-items: center; gap: 14px; font: 400 16px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; }
body .titre-heros { margin-top: 22px; font-size: clamp(42px, 6.9vw, 132px); line-height: .98; letter-spacing: .005em; color: #fff; }
body .heros-chapeau { position: absolute; left: 51%; bottom: .55em; width: min(420px, 44%); font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
body .heros-vignette { grid-area: vignette; width: 290px; margin-top: 4px; }
body .heros-vignette img { width: 100%; aspect-ratio: 290 / 300; border-radius: 10px; object-fit: cover; }
body .heros-bas { grid-area: bas; display: flex; align-items: center; gap: 56px; margin-top: clamp(40px, 3.4vw, 64px); padding-bottom: 64px; }
body .heros-sous-titre { flex: none; font-size: 24px; line-height: 1.15; letter-spacing: .03em; color: #fff; }
body .heros-slogan { margin-left: auto; margin-right: clamp(0px, 6vw, 150px); font-size: clamp(46px, 6.3vw, 122px); line-height: .9; letter-spacing: .005em; color: #fff; white-space: nowrap; }
body .heros-slogan em { font-style: normal; color: var(--rouge); }

body .heros-photo-zone { background: linear-gradient(var(--nuit) 0 170px, var(--blanc) 170px); }
body .cadre-photo { position: relative; padding: 10px; border: 1.5px solid var(--rouge); border-radius: 26px; }
body .heros-photo img { width: 100%; aspect-ratio: 1710 / 780; border-radius: 17px; object-fit: cover; object-position: 50% 45%; }
/* Badge tournant : deux couches décoratives, aucun bloc vide dans l'éditeur */
body .avec-badge::before, body .avec-badge::after { content: ""; position: absolute; left: clamp(40px, 12%, 260px); bottom: -92px; width: 184px; height: 184px; border-radius: 50%; }
body .avec-badge::before { background: #fff var(--i-badge-centre) center / 66px no-repeat; box-shadow: 0 10px 30px rgba(15, 31, 42, .12); }
body .avec-badge::after { background: url("assets/img/badge-anneau.svg") center / 168px no-repeat; animation: tourne 24s linear infinite; }
@keyframes tourne { to { transform: rotate(1turn); } }

/* ==========================================================================
   Qui sommes-nous
   ========================================================================== */
body .apropos { position: relative; padding: 190px 0 130px; overflow: hidden; }
body .apropos-grille { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
body .apropos-visuel { position: relative; aspect-ratio: 1; }
/* Le portrait n'a presque pas de marge au-dessus de la tête : il descend de 7 %
   dans le cercle, et le fond reprend le jaune du volet du camion derrière lui. */
body .apropos-photo { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 100%); background: #FBC200; }
body .apropos-photo img { position: absolute; left: 0; top: 7%; width: 100%; height: 100%; object-fit: cover; object-position: 65% 0; }
body .apropos-etiquette { position: absolute; left: 24%; top: calc(3.84% - 48px); display: flex; align-items: center; gap: 12px; transform: rotate(9.09deg); transform-origin: 0 100%; font: 400 19px/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; color: var(--nuit); white-space: nowrap; }
body .apropos-etiquette .avatars img, body .apropos-etiquette .avatars::after { border-color: #fff; }
body .badge-flamme {
  position: absolute;
  left: -1%;
  bottom: 1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 170px;
  height: 264px;
  padding-bottom: 46px;
  background: var(--i-flamme-rouge) center / contain no-repeat;
  font: 400 21px/1.02 var(--titre);
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
body .badge-flamme::before { content: ""; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: #fff var(--i-epingle-rouge) center / 21px no-repeat; }
body .apropos-texte .titre-section { margin-bottom: 22px; }
body .apropos-liste-ligne { display: grid; grid-template-columns: minmax(0, 1fr) 220px; align-items: center; gap: 32px; margin-top: 30px; }
body .liste-puces li { position: relative; padding-left: 22px; font: 500 15px/1.5 var(--corps); color: var(--nuit); }
body .liste-puces li + li { margin-top: 12px; }
body .liste-puces li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
body .apropos-mini img { width: 220px; height: 132px; border-radius: 8px; object-fit: cover; }
body .apropos-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--trait); }
body .contact-ligne-label { font: 400 13px/1.4 var(--corps); color: var(--texte); }
body .contact-ligne-valeur { font: 400 20px/1.1 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); }

/* ==========================================================================
   Méthode — onglets (paragraphes éditables, le script bascule une classe)
   ========================================================================== */
body .methode { padding-top: 120px; background: var(--gris); overflow: hidden; }
body .methode-grille { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(40px, 9vw, 140px); }
body .methode-gauche .titre-bloc { margin-bottom: 16px; }
body .onglets { margin-top: 34px; }
body .onglet {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-top: 1px solid #DCDCDC;
  font: 400 19px/1.1 var(--titre);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #8E8E8E;
  cursor: pointer;
  transition: color .2s;
}
body .onglet::before { content: ""; flex: none; width: 22px; height: 22px; background: #A3A3A3; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body .onglet:hover, body .onglet.est-actif { color: var(--nuit); }
body .onglet.est-actif { border-top-color: var(--nuit); }
body .onglet.est-actif::before { background: var(--rouge); }
body .methode-cartes { display: grid; }
body .methode-carte {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 470px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}
body .methode-carte.est-actif { opacity: 1; visibility: visible; }
body .methode-carte > .wp-block-image { height: 100%; }
body .methode-carte img { width: 100%; height: 100%; object-fit: cover; }
body .methode-carte-texte { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: 34px; }
body .numero { font-size: 64px; line-height: 1; color: #E8E8E8; text-align: right; }

body .secteurs { margin-top: 90px; padding-bottom: 110px; overflow: hidden; }
body .secteurs-piste { display: flex; gap: 30px; width: max-content; animation: defile 50s linear infinite; }
body .secteur {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 270px;
  height: 110px;
  border-radius: 8px;
  background: #fff;
  font: 400 24px/1 var(--titre);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--nuit);
}
body .secteur::before { content: ""; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@keyframes defile { to { transform: translateX(calc(-50% - 15px)); } }

/* ==========================================================================
   Prestations — pile de six fiches
   ========================================================================== */
body .prestations { padding: 120px 0 150px; }
body .pile { position: relative; isolation: isolate; height: clamp(440px, 36vw, 540px); }
body .pile::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -18px; z-index: -1; height: 40px; border-radius: 0 0 14px 14px; background: var(--nuit); }
body .pile-diapo { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
body .pile-diapo.est-actif { opacity: 1; visibility: visible; }
body .pile-fond { width: 100%; height: 100%; }
body .pile-fond img { width: 100%; height: 100%; object-fit: cover; }
body .pile-carte { position: absolute; left: 28px; top: 28px; bottom: 28px; display: flex; flex-direction: column; width: 380px; padding: 30px; border-radius: 10px; background: #fff; }
body .pile-carte-haut { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
body .pile-carte-haut::before { content: ""; width: 46px; height: 46px; background: var(--nuit); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body .pile-carte-haut img { width: 150px; height: 86px; border-radius: 6px; object-fit: cover; }
body .pile-carte .titre-bloc { margin: 24px 0 10px; font-size: 25px; }
body .pile-carte .texte { font-size: 14.5px; line-height: 1.65; }
body .pile-lien, body .fiche-lien, body .carte-chiffre-lien { font: 400 16px/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; }
body .pile-lien { margin-top: 14px; }
body .pile-lien a, body .carte-chiffre-lien a { display: inline-flex; align-items: center; gap: 8px; }
body .pile-lien a { color: var(--rouge); }
body .pile-lien a:hover { color: var(--nuit); }
body .pile-lien a::after, body .carte-chiffre-lien a::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; }
body .pile-onglets { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 54px; }
body .pile-onglet { display: inline-flex; align-items: center; height: 46px; padding: 0 24px; border-radius: 999px; background: var(--gris); color: var(--nuit); font: 400 18px/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
body .pile-onglet:hover { background: #EEEEEE; }
body .pile-onglet.est-actif { background: var(--rouge); color: #fff; }

/* ==========================================================================
   Bandeau photo
   ========================================================================== */
body .bandeau { position: relative; isolation: isolate; display: flex; min-height: clamp(600px, 46vw, 800px); padding-top: clamp(90px, 8vw, 150px); color: #fff; }
body .bandeau-fond { position: absolute; inset: 0; z-index: -2; }
body .bandeau-fond img { width: 100%; height: 100%; object-fit: cover; }
body .bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 31, 42, .5), rgba(15, 31, 42, .4)); }
body .bandeau-grille { display: grid; grid-template-columns: minmax(0, 418px) minmax(0, 1fr); gap: 40px; }
body .carte-chiffre { align-self: end; display: flex; flex-direction: column; padding: 34px 34px 0; border-radius: 10px; background: #fff; color: var(--texte); overflow: hidden; }
/* premier enfant de son groupe : WordPress lui retire sa marge haute avec
   « :root :where(.is-layout-flow) > :first-child » (spécificité 0,2,0) — on vise plus précis */
body .bandeau-grille > .carte-chiffre { margin: clamp(60px, 8vw, 150px) 0 -50px; }
body .chiffre { line-height: 1; letter-spacing: .01em; color: var(--nuit); }
body .carte-chiffre .chiffre { order: 1; font-size: 76px; }
/* filigrane : la flamme de la marque, un pseudo-élément placé entre le chiffre et le titre */
body .carte-chiffre::before { content: ""; order: 2; align-self: center; width: 116px; height: 180px; margin: 18px 0 24px; background: var(--rouge); opacity: .1; -webkit-mask: var(--i-flamme) center / contain no-repeat; mask: var(--i-flamme) center / contain no-repeat; }
body .carte-chiffre > .titre-mini { order: 3; }
body .carte-chiffre > .texte { order: 4; margin: 8px 0 30px; font-size: 14.5px; line-height: 1.65; }
body .carte-chiffre-lien { order: 5; display: flex; align-items: center; height: 52px; margin: auto -34px 0; padding: 0 34px; background: var(--rouge); font-size: 17px; letter-spacing: .06em; }
body .carte-chiffre-lien a { color: #fff; }
body .bandeau-texte { justify-self: end; align-self: start; max-width: 470px; }
body .bandeau-texte::before { content: ""; display: block; width: 58px; height: 58px; margin-bottom: 26px; border-radius: 50%; background: var(--rouge) var(--ico-blanc) center / 24px no-repeat; }
body .bandeau-phrase { font: 400 clamp(24px, 1.2vw + 14px, 32px)/1.15 var(--titre); letter-spacing: .03em; text-transform: uppercase; }
body .puces-photo { display: flex; flex-wrap: wrap; gap: 14px; max-width: 380px; margin-top: 30px; }
body .puce { display: flex; align-items: center; gap: 10px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font: 400 18px/1 var(--titre); letter-spacing: .06em; text-transform: uppercase; }
body .puce img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   Chiffres
   ========================================================================== */
body .chiffres { padding: 150px 0 110px; }
body .chiffres-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(250px, 21vw, 305px); gap: 30px; }
body .chiffres-grille > .wp-block-image { height: 100%; }
body .chiffres-grille > .wp-block-image img { width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
body .chiffre-carte { display: flex; flex-direction: column; padding: 34px 34px 30px; border-radius: 10px; background: var(--gris); }
body .chiffre-carte .chiffre { margin-bottom: auto; font-size: clamp(46px, 3.6vw, 62px); }
body .chiffre-carte .titre-mini { margin-top: 22px; }
body .chiffre-carte .texte { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }

/* ==========================================================================
   Rubans (le script recopie les éléments pour une boucle continue)
   ========================================================================== */
body .rubans { position: relative; padding: 40px 0 50px; overflow: hidden; }
body .ruban { overflow: hidden; white-space: nowrap; }
body .ruban-piste { display: flex; width: max-content; animation: defile 40s linear infinite; }
body .ruban-piste > p { display: flex; align-items: center; padding: 0 36px; font: 400 clamp(34px, 3.3vw, 62px)/1 var(--titre); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
body .ruban-rouge { padding: 24px 0; background: var(--rouge); color: #fff; }
body .ruban-blanc { position: relative; z-index: 2; margin: 30px -60px 0; padding: 22px 0; background: #fff; color: var(--nuit); transform: rotate(-3deg); }
body .ruban-blanc .ruban-piste { animation-direction: reverse; }
body .ruban-blanc .ruban-piste > p { padding: 0 0 0 36px; }
body .ruban-blanc .ruban-piste > p::after { content: ""; width: 24px; height: 24px; margin-left: 72px; background: currentColor; -webkit-mask: var(--i-asterisque) center / contain no-repeat; mask: var(--i-asterisque) center / contain no-repeat; }

/* ==========================================================================
   Mises en situation (image à légende native)
   ========================================================================== */
body .situations { padding: 90px 0 130px; overflow: hidden; }
body .situations-piste { display: flex; justify-content: center; gap: 30px; }
body .situation { position: relative; flex: none; width: clamp(260px, 23vw, 420px); aspect-ratio: 417 / 526; border-radius: 10px; overflow: hidden; }
body .situation img { width: 100%; height: 100%; object-fit: cover; }
body .situation figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .84);
  backdrop-filter: blur(4px);
  font: 400 22px/1.1 var(--titre);
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: left;
  color: var(--nuit);
}
body .situation figcaption em { display: block; margin-bottom: 5px; font: 500 12px/1.4 var(--corps); font-style: normal; letter-spacing: .08em; color: var(--texte); }

/* ==========================================================================
   Objectifs
   ========================================================================== */
body .objectifs { position: relative; padding: 20px 0 120px; overflow: hidden; }
body .objectifs-grille { display: grid; grid-template-columns: 1.12fr 1fr 1fr 1fr; gap: 22px; }
body .objectifs-photo { position: relative; min-height: 410px; border-radius: 10px; overflow: hidden; }
body .objectifs-photo > .wp-block-image { position: absolute; inset: 0; }
body .objectifs-photo img { width: 100%; height: 100%; object-fit: cover; }
body .objectifs-photo > .wp-block-buttons { position: absolute; left: 22px; bottom: 22px; }
body .objectifs-photo .wp-block-button__link { height: 46px; padding: 0 24px; font-size: 16px; }
body .objectifs-col { display: flex; flex-direction: column; gap: 16px; }
body .objectif { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 8px; background: var(--gris); }
body .objectif-long { flex: 1; }
body .objectif-court { padding: 18px 22px; }
body .objectif-tete-titre { font: 400 19px/1.1 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); }
body .objectif-tete-sous { font: 400 12.5px/1.4 var(--corps); color: var(--texte); }
body .objectif .numero { font-size: 46px; color: #E1E1E1; }
body .objectif .texte { font-size: 14.5px; line-height: 1.7; }

/* ==========================================================================
   Publics
   ========================================================================== */
body .publics { padding: 0 0 130px; }
body .publics-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
body .public { position: relative; aspect-ratio: 306 / 366; border-radius: 10px; overflow: hidden; }
body .public img { width: 100%; height: 100%; object-fit: cover; }
body .public-accueil img { object-position: 72% 50%; }
body .public::before { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 55%; background: linear-gradient(transparent, rgba(15, 31, 42, .78)); }
body .public::after { content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: var(--rouge) var(--i-plus-blanc) center / 18px no-repeat; }
body .public figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; margin: 0; font: 400 24px/1.05 var(--titre); letter-spacing: .03em; text-transform: uppercase; text-align: left; color: #fff; }
body .public figcaption em { display: block; margin-top: 5px; font: 400 13px/1.4 var(--corps); font-style: normal; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   FAQ et formulaire (Contact Form 7)
   ========================================================================== */
body .faq { position: relative; padding: 120px 0 110px; background: var(--gris); overflow: hidden; }
body .faq-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 40px; }
body .accordeon { padding: 8px 32px; border-radius: 10px; background: #fff; }
body .question + .question { border-top: 1px solid var(--trait); }
body .question-titre { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 400 19px/1.2 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); cursor: pointer; }
body .question-titre::after { content: ""; flex: none; width: 20px; height: 20px; background: #9A9A9A; -webkit-mask: var(--i-chevron) center / contain no-repeat; mask: var(--i-chevron) center / contain no-repeat; transition: transform .25s; }
body .question.est-ouvert .question-titre::after { background: var(--rouge); transform: rotate(180deg); }
body .question-reponse { display: none; padding-bottom: 22px; font-size: 15px; line-height: 1.7; }
body .question.est-ouvert .question-reponse { display: block; }
body .faq-simple .accordeon { max-width: 900px; margin-inline: auto; }

body .formulaire { display: flex; flex-direction: column; padding: 46px 42px; border-radius: 10px; background: var(--nuit-carte); color: #fff; }
body .formulaire .titre-bloc { color: #fff; }
body .formulaire .texte { margin: 10px 0 16px; font-size: 15px; color: rgba(255, 255, 255, .6); }
body .formulaire .wpcf7 form { display: flex; flex-direction: column; }
body .formulaire .wpcf7-form-control-wrap { display: block; }
body .formulaire input:not([type="submit"]):not([type="checkbox"]), body .formulaire textarea, body .formulaire select {
  display: block;
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: 400 15px/1.5 var(--corps);
  resize: none;
}
body .formulaire ::placeholder { color: rgba(255, 255, 255, .55); }
body .formulaire select { padding-right: 28px; background: transparent var(--i-chevron-blanc) right center / 18px no-repeat; color: rgba(255, 255, 255, .8); -webkit-appearance: none; appearance: none; }
body .formulaire select option { color: var(--nuit); }
body .formulaire .champs-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
body .formulaire .champs-duo > * { min-width: 0; }
body .formulaire .wpcf7-submit { align-self: flex-start; margin-top: 32px; }
body .formulaire .wpcf7-spinner { display: none; }
body .formulaire .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
body .formulaire .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .6); }
body .formulaire .wpcf7-acceptance input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--rouge); }
body .formulaire .wpcf7-acceptance a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body .formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #FF9B91; }
body .formulaire .wpcf7 form .wpcf7-response-output { margin: 22px 0 0; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; font-size: 14px; color: #fff; }
body .formulaire .wpcf7 form.sent .wpcf7-response-output { border-color: #46B450; }
body .formulaire .wpcf7 form.invalid .wpcf7-response-output, body .formulaire .wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--rouge); }

/* ==========================================================================
   Fiches réflexes
   ========================================================================== */
body .fiches { padding: 120px 0 130px; }
body .fiches-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
body .fiche-image { position: relative; aspect-ratio: 417 / 276; border-radius: 10px; overflow: hidden; }
body .fiche-image > .wp-block-image { height: 100%; }
body .fiche-image img { width: 100%; height: 100%; object-fit: cover; }
body .fiche-badge { position: absolute; top: 14px; right: 14px; padding: 8px 14px; border-radius: 6px; background: var(--nuit); color: #fff; font: 400 15px/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; }
body .fiche-meta { display: flex; align-items: center; gap: 14px; margin: 20px 0 10px; font-size: 13px; }
body .fiche-meta p { display: flex; align-items: center; gap: 7px; }
body .fiche-meta p::before { content: ""; width: 15px; height: 15px; background: var(--rouge); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
body .fiche .titre-mini { padding-bottom: 20px; border-bottom: 1px solid var(--trait); font-size: 23px; }
/* dans la maquette, le lien était un inline-block posé sur la ligne de base : 5 px de jambage en plus */
body .fiche-lien { margin-top: 18px; padding-bottom: 5px; color: var(--nuit); }
body .fiche-lien a:hover { color: var(--rouge); }

/* ==========================================================================
   Pied de page (template part « footer »)
   ========================================================================== */
body .pied { background: var(--nuit-pied); color: #fff; overflow: hidden; }
body .pied-haut { display: grid; grid-template-columns: minmax(0, 605px) minmax(0, 1fr); gap: clamp(40px, 6vw, 118px); }
body .pied-photo { height: 100%; }
body .pied-photo img { width: 100%; height: 100%; min-height: 600px; object-fit: cover; object-position: 50% 30%; }
body .pied-contenu { display: flex; flex-direction: column; padding: 84px max(24px, (100vw - 1320px) / 2) 0 0; }
body .pied-appel { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
body .pied-phrase { max-width: 520px; font: 400 clamp(24px, 1vw + 16px, 30px)/1.15 var(--titre); letter-spacing: .03em; text-transform: uppercase; }
body .pied-infos { display: flex; justify-content: space-between; gap: 40px; padding-top: 52px; }
body .pied-gros { font: 400 clamp(24px, 1.1vw + 14px, 32px)/1.3 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: #fff; }
body .pied-petit { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .6); }
body .pied-liens { display: grid; gap: 9px; }
body .pied-liens a { font-size: 15px; color: rgba(255, 255, 255, .75); transition: color .2s; }
body .pied-liens a:hover { color: #fff; }
body .pied-mention { margin-top: auto; padding: 50px 0 40px; font-size: 13px; color: rgba(255, 255, 255, .5); }
/* dernier enfant de son groupe : même remise à zéro par WordPress (« > :last-child ») */
body .pied > .pied-geant { margin: clamp(30px, 5vw, 100px) 0 -.27em; }
body .pied-geant { font: 400 24.6vw/.8 var(--titre); letter-spacing: .005em; text-transform: uppercase; text-align: center; white-space: nowrap; color: #fff; }

/* ==========================================================================
   Pages internes
   ========================================================================== */
body .bandeau-page { padding: clamp(50px, 5vw, 96px) 0 clamp(64px, 6vw, 110px); background: var(--nuit); color: #fff; }
body .bandeau-page-grille { display: grid; grid-template-columns: minmax(0, 1fr) 290px; align-items: end; column-gap: 60px; }
body .fil-ariane { margin-bottom: 26px; font: 400 16px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
body .fil-ariane a:hover { color: #fff; }
body .fil-ariane em { font-style: normal; color: var(--rouge); }
body .titre-page { font-size: clamp(44px, 5.8vw, 112px); line-height: .98; letter-spacing: .005em; color: #fff; text-wrap: balance; }
body .chapeau-page { max-width: 600px; margin-top: 26px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .66); }
body .bandeau-page .wp-block-buttons { margin-top: 32px; }
body .bandeau-page-vignette img { width: 290px; aspect-ratio: 290 / 330; border-radius: 10px; object-fit: cover; }

body .bloc-presta { padding: 120px 0; }
body .bloc-presta.fond-gris { background: var(--gris); }
body .bloc-presta-grille { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); align-items: start; gap: clamp(40px, 7vw, 110px); }
body .bloc-presta.inverse .bloc-presta-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); }
body .bloc-presta.inverse .bloc-presta-visuel { order: 2; }
body .bloc-presta-visuel { position: sticky; top: 40px; }
body .bloc-presta-visuel img { width: 100%; aspect-ratio: 500 / 600; border-radius: 10px; object-fit: cover; }
body .bloc-presta-numero { position: absolute; right: -22px; bottom: -22px; display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: var(--rouge); color: #fff; font: 400 48px/1 var(--titre); box-shadow: 0 0 0 10px var(--blanc); }
body .fond-gris .bloc-presta-numero { box-shadow: 0 0 0 10px var(--gris); }
body .bloc-presta.inverse .bloc-presta-numero { right: auto; left: -22px; }
body .bloc-presta-texte .titre-section { margin-bottom: 20px; }
body .bloc-presta-listes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 34px 0; padding: 32px 0; border-block: 1px solid var(--trait); }
body .bloc-presta-listes .titre-mini { margin-bottom: 16px; }
body .bloc-presta-infos { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-bottom: 36px; }
body .info-label { font: 400 12px/1.4 var(--corps); letter-spacing: .06em; text-transform: uppercase; color: var(--texte); }
body .info-valeur { font: 500 15px/1.35 var(--corps); color: var(--nuit); }

body .appel { padding: clamp(64px, 6vw, 100px) 0; background: var(--rouge); color: #fff; }
body .appel-grille { display: flex; justify-content: space-between; align-items: center; gap: 30px 60px; }
body .appel .surtitre { color: rgba(255, 255, 255, .85); }
body .appel .titre-section { max-width: 760px; color: #fff; }
body .appel .wp-block-buttons { flex: none; }
body .appel .wp-block-button__link { background: var(--nuit); }
body .appel .wp-block-button__link:hover { background: var(--nuit-carte); }

body .etapes { padding: 120px 0; }
body .etapes-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
body .etapes-grille .objectif { padding: 30px 28px; }
body .etapes-grille .numero { font-size: 52px; color: var(--rouge); text-align: left; }
body .trois-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
body .trois-cartes .chiffre-carte { min-height: 300px; }
body .section-cartes { padding: 120px 0; }
body .section-cartes.fond-gris { background: var(--gris); }
body .fond-gris .chiffre-carte { background: #fff; }

body .fondateur { padding: 120px 0; }
body .fondateur-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
body .fondateur .cadre-photo img { width: 100%; aspect-ratio: 4 / 3.4; border-radius: 17px; object-fit: cover; object-position: 62% 30%; }
body .fondateur-citation { margin: 30px 0 34px; padding: 22px 0 22px 28px; border-left: 4px solid var(--rouge); font: 400 clamp(24px, 1.3vw + 12px, 32px)/1.15 var(--titre); letter-spacing: .03em; text-transform: uppercase; color: var(--nuit); }

body .contact { padding: 110px 0 120px; }
body .contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: start; gap: 40px; }
body .contact .entete-section { margin-bottom: 34px; }
body .coordonnees { display: grid; gap: 16px; }
body .coordonnee { padding: 26px 28px; border-radius: 10px; background: var(--gris); }
body .coordonnee-label { margin-bottom: 4px; font: 400 13px/1.4 var(--corps); color: var(--texte); }
body .coordonnee-valeur { font: 400 22px/1.2 var(--titre); letter-spacing: .04em; text-transform: uppercase; color: var(--nuit); }

body .wrap-etroit { width: min(860px, 100% - 48px); margin-inline: auto; }
body .texte-legal { padding: 100px 0 120px; }
body .texte-legal .titre-bloc { margin: 52px 0 14px; }
body .texte-legal .titre-bloc:first-child { margin-top: 0; }
body .texte-legal p { font-size: 16px; line-height: 1.75; }
body .texte-legal p + p { margin-top: 12px; }
body .texte-legal a { color: var(--nuit); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body .texte-legal strong { padding: 1px 7px; border-radius: 4px; background: rgba(230, 57, 41, .12); color: var(--rouge-fonce); font-weight: 600; }

/* ==========================================================================
   Tracés décoratifs : seulement dans les grandes marges (1800 px et plus)
   ========================================================================== */
@media (min-width: 1800px) {
  body .apropos::before { content: ""; position: absolute; left: calc(50% - 950px); top: 200px; width: 380px; height: 446px; background: var(--i-trace-bouclier) center / contain no-repeat; opacity: .08; pointer-events: none; }
  body .objectifs::before { content: ""; position: absolute; right: calc(50% - 900px); top: 47%; width: 120px; height: 160px; background: var(--i-trace-tuyau) center / contain no-repeat; pointer-events: none; }
  body .faq::before { content: ""; position: absolute; left: calc(50% - 920px); top: 50%; width: 170px; height: 170px; background: var(--i-trace-extincteur) center / contain no-repeat; pointer-events: none; }
}

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 1280px) {
  body .wp-block-navigation.menu .wp-block-navigation__container { gap: 26px; }
  body .entete-contact { display: none; }
  body .heros-grille { grid-template-columns: minmax(0, 1fr) 240px; column-gap: 40px; }
  body .heros-vignette { width: 240px; }
  body .apropos-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .badge-flamme { width: 150px; height: 233px; padding-bottom: 38px; font-size: 19px; }
}

@media (max-width: 992px) {
  body .entete-rangee { grid-template-columns: auto 1fr auto; }
  /* le menu passe en panneau dès 992 px (le bloc le fait à 600 px par défaut) */
  body .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  body .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  body .entete-actions .wp-block-button__link { height: 44px; padding: 0 20px; font-size: 16px; }

  body .heros-grille { grid-template-columns: 1fr; grid-template-areas: "texte" "bas"; }
  body .heros-vignette { display: none; }
  body .heros-chapeau { position: static; width: auto; max-width: 560px; margin-top: 22px; }
  body .heros-bas { flex-wrap: wrap; gap: 26px 32px; margin-top: 34px; padding-bottom: 54px; }
  body .heros-sous-titre { flex: 1 1 100%; }
  body .heros-slogan { margin: 0; flex-basis: 100%; }
  body .heros-photo-zone { background: linear-gradient(var(--nuit) 0 90px, var(--blanc) 90px); }
  body .heros-photo img { aspect-ratio: 16 / 10; }
  body .avec-badge::before, body .avec-badge::after { width: 140px; height: 140px; bottom: -70px; }
  body .avec-badge::before { background-size: 52px; }
  body .avec-badge::after { background-size: 128px; }

  body .apropos { padding: 140px 0 100px; }
  body .apropos-grille { grid-template-columns: 1fr; }
  body .apropos-visuel { width: min(100%, 540px); margin: 40px auto 0; }

  body .methode { padding-top: 90px; }
  body .methode-grille { grid-template-columns: 1fr; }
  body .methode-carte { grid-template-columns: 1fr; min-height: 0; }
  body .methode-carte img { height: 300px; }

  body .entete-section.deux-colonnes { flex-direction: column; align-items: flex-start; gap: 20px; }

  body .prestations { padding: 90px 0 120px; }
  body .pile { height: 600px; }
  body .pile-carte { left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; padding: 26px; }
  body .pile-onglets { justify-content: flex-start; gap: 10px; margin-top: 44px; }
  body .pile-onglet { height: 40px; padding: 0 18px; font-size: 16px; }

  body .bandeau { min-height: 0; padding: 90px 0 0; }
  body .bandeau-grille { grid-template-columns: 1fr; }
  body .bandeau-texte { order: -1; justify-self: start; }
  body .bandeau-grille > .carte-chiffre { margin: 50px 0 -50px; }
  body .carte-chiffre { max-width: 418px; }

  body .chiffres-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .objectifs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .publics-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .faq-grille { grid-template-columns: 1fr; }
  body .fiches-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body .pied-haut { grid-template-columns: 1fr; }
  body .pied-photo img { min-height: 0; height: 340px; }
  body .pied-contenu { padding: 60px 24px 0; }

  body .bandeau-page-grille { grid-template-columns: 1fr; }
  body .bandeau-page-vignette { display: none; }
  body .bloc-presta, body .etapes, body .fondateur, body .section-cartes { padding: 90px 0; }
  body .bloc-presta-grille, body .bloc-presta.inverse .bloc-presta-grille { grid-template-columns: 1fr; }
  body .bloc-presta.inverse .bloc-presta-visuel { order: 0; }
  body .bloc-presta-visuel { position: relative; top: 0; max-width: 560px; }
  body .bloc-presta-visuel img { aspect-ratio: 4 / 3; }
  body .etapes-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .fondateur-grille { grid-template-columns: 1fr; }
  body .contact-grille { grid-template-columns: 1fr; }
  body .appel-grille { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body .wrap { width: calc(100% - 32px); }
  body .wrap-large { width: calc(100% - 32px); }
  body .entete-actions .wp-block-buttons { display: none; }
  body .wp-block-site-logo.logo img { height: 32px; }
  body .heros-sous-titre { font-size: 21px; }
  body .heros-sous-titre br { display: none; }
  body .cadre-photo { padding: 6px; border-radius: 18px; }
  body .heros-photo img { border-radius: 12px; aspect-ratio: 4 / 5; }
  body .avec-badge::before, body .avec-badge::after { left: 24px; }
  body .badge-flamme { width: 120px; height: 186px; padding-bottom: 28px; font-size: 15px; }
  body .badge-flamme::before { width: 34px; height: 34px; margin-bottom: 6px; background-size: 16px; }
  body .apropos-etiquette { font-size: 14px; gap: 8px; top: calc(3.84% - 40px); }
  body .apropos-etiquette .avatars img, body .apropos-etiquette .avatars::after { width: 28px; height: 28px; }
  body .apropos-liste-ligne { grid-template-columns: 1fr; }
  body .apropos-mini img { width: 100%; height: 180px; }
  body .secteur { width: 210px; height: 90px; font-size: 20px; }
  body .pile { height: 640px; }
  body .carte-chiffre .chiffre { font-size: 62px; }
  body .chiffres-grille, body .objectifs-grille, body .fiches-grille { grid-template-columns: 1fr; }
  body .chiffres-grille { grid-auto-rows: auto; }
  body .chiffres-grille > .wp-block-image img { height: 220px; }
  body .chiffre-carte .chiffre { margin-bottom: 18px; }
  body .ruban-piste > p { padding: 0 22px; }
  body .ruban-blanc .ruban-piste > p::after { margin-left: 44px; width: 18px; height: 18px; }
  body .situations-piste { justify-content: flex-start; overflow-x: auto; padding: 0 16px 10px; scroll-snap-type: x mandatory; }
  body .situation { width: 78vw; scroll-snap-align: center; }
  body .publics-grille { gap: 14px; }
  body .public figcaption { left: 14px; right: 14px; bottom: 14px; font-size: 19px; }
  body .accordeon { padding: 4px 20px; }
  body .formulaire { padding: 34px 24px; }
  body .formulaire .champs-duo { grid-template-columns: 1fr; }
  body .pied-appel, body .pied-infos { flex-direction: column; }
  body .bloc-presta-listes { grid-template-columns: 1fr; }
  body .bloc-presta-numero, body .bloc-presta.inverse .bloc-presta-numero { left: auto; right: -6px; bottom: -14px; width: 84px; height: 84px; font-size: 36px; box-shadow: 0 0 0 7px var(--blanc); }
  body .fond-gris .bloc-presta-numero { box-shadow: 0 0 0 7px var(--gris); }
  body .etapes-grille, body .trois-cartes { grid-template-columns: 1fr; }
  body .trois-cartes .chiffre-carte { min-height: 0; }
  body .coordonnee { padding: 20px; }
  body .coordonnee-valeur { font-size: 19px; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  body *, body *::before, body *::after { animation: none !important; transition: none !important; }
}
