/*
Theme Name: Raphaëlle Rotkopf-Sirjean
Theme URI: https://www.doctolib.fr/psychologue/maxeville/raphaelle-rotkopf-sirjean
Author: Raphaëlle Rotkopf-Sirjean
Description: Thème bloc sur mesure du cabinet de Raphaëlle Rotkopf-Sirjean, psychologue clinicienne et psychothérapeute EMDR à Nancy. Converti depuis la maquette validée : chaque section est composée de blocs natifs, modifiables dans l'éditeur.
Version: 1.0.6
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rrs-psychologue
Tags: block-theme, full-site-editing, one-column
*/

/* Registre relevé sur la référence : serif de titrage + sans géométrique, un seul bleu,
   fond gris-bleu froid, photos fondues dans le fond, formes en pilule.
   Les sélecteurs visent le balisage des blocs : la classe d'un bloc image est sur la
   figure (figure.x img), celle d'un bouton sur son conteneur (.wp-block-button.x a). */

:root {
  --fond: #EAEEF2;
  --fond-clair: #F4F6F9;
  --surface: #FFFFFF;
  --encre: #16263A;
  --texte: #5A6472;
  --accent: #3B6E96;
  --accent-fonce: #17304A;
  --accent-pale: #DEE8F1;
  --brume: #7FA0BE;
  --ligne: #D3DAE2;
  --serif: Newsreader, Georgia, serif;
  --sans: Poppins, system-ui, sans-serif;
  --largeur: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto : sinon l'attribut height des blocs l'emporte */
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--encre);
  letter-spacing: -0.025em;
  line-height: 1.04;
}
h2 { font-size: clamp(38px, 4.3vw, 62px); }
/* Même poids que la règle de flux de WordPress (:root :where(.is-layout-flow) > *),
   imprimée avant cette feuille : elle l'emporte, sans dépasser les composants. */
:root :where(p) { margin: 0 0 1em; }
code {
  font: inherit; color: var(--accent-fonce);
  background: var(--accent-pale); border-bottom: 1.5px dashed var(--accent);
  border-radius: 4px; padding: 0 5px;
}

/* Espacement automatique de Gutenberg : coupé à la source (theme.json, blockGap 0px),
   puis filet de sécurité À SPÉCIFICITÉ NULLE — jamais .wp-block-group > *, qui
   écraserait toutes les marges des composants. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-block-buttons { gap: 12px; }

.conteneur { width: min(var(--largeur), 100% - 80px); margin-inline: auto; }

/* ICONES — généré par scripts/icones-css.rb, ne pas modifier à la main */
:root {
  --i-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-gauche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
  --i-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  --i-tel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.4v2.9a1.9 1.9 0 0 1-2.1 1.9 18.9 18.9 0 0 1-8.2-2.9 18.6 18.6 0 0 1-5.7-5.7A18.9 18.9 0 0 1 2.1 4.3 1.9 1.9 0 0 1 4 2.2h2.9a1.9 1.9 0 0 1 1.9 1.6c.1.9.4 1.8.7 2.6a1.9 1.9 0 0 1-.4 2L7.8 9.6a15.2 15.2 0 0 0 5.7 5.7l1.2-1.2a1.9 1.9 0 0 1 2-.4c.8.3 1.7.6 2.6.7a1.9 1.9 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  --i-pousse-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8.5M12 12.5c0-4.2 2.8-6.6 8-6.6 0 4.3-2.9 6.6-8 6.6zM12 14.5c0-3.3-2.5-5.4-7-5.4 0 3.3 2.5 5.4 7 5.4z'/%3E%3C/svg%3E");
  --i-mail-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7.5l8.5 6 8.5-6'/%3E%3C/svg%3E");
  --i-agenda-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
}
.ico-tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.4v2.9a1.9 1.9 0 0 1-2.1 1.9 18.9 18.9 0 0 1-8.2-2.9 18.6 18.6 0 0 1-5.7-5.7A18.9 18.9 0 0 1 2.1 4.3 1.9 1.9 0 0 1 4 2.2h2.9a1.9 1.9 0 0 1 1.9 1.6c.1.9.4 1.8.7 2.6a1.9 1.9 0 0 1-.4 2L7.8 9.6a15.2 15.2 0 0 0 5.7 5.7l1.2-1.2a1.9 1.9 0 0 1 2-.4c.8.3 1.7.6 2.6.7a1.9 1.9 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2.5'/%3E%3Cpath d='M3.5 7.5l8.5 6 8.5-6'/%3E%3C/svg%3E"); }
.ico-lieu { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.2a7 7 0 0 1 14 0C19 14.9 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.8' r='2.6'/%3E%3C/svg%3E"); }
.ico-agenda { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ico-parole { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.6a8.1 8.1 0 0 1-11.8 7.2L4 20l1.3-4.4a8.1 8.1 0 1 1 15.2-4z'/%3E%3C/svg%3E"); }
.ico-cadre { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6.5h9M18 6.5h2M4 12h3M11 12h9M4 17.5h11M19 17.5h1'/%3E%3Ccircle cx='15.5' cy='6.5' r='2.2'/%3E%3Ccircle cx='9' cy='12' r='2.2'/%3E%3Ccircle cx='17' cy='17.5' r='2.2'/%3E%3C/svg%3E"); }
.ico-pousse { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8.5M12 12.5c0-4.2 2.8-6.6 8-6.6 0 4.3-2.9 6.6-8 6.6zM12 14.5c0-3.3-2.5-5.4-7-5.4 0 3.3 2.5 5.4 7 5.4z'/%3E%3C/svg%3E"); }
.ico-cadenas { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V8a4 4 0 0 1 8 0v2.5M12 14.5v2'/%3E%3C/svg%3E"); }
.ico-coeur { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.4a4.3 4.3 0 0 1 7.5 2.4C19.5 15.4 12 20 12 20z'/%3E%3C/svg%3E"); }
.ico-maison { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5L12 4l8 6.5V20a1 1 0 0 1-1 1h-4.5v-6h-5v6H5a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ico-ecran { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='12' rx='2'/%3E%3Cpath d='M8.5 20h7M12 16.5V20'/%3E%3C/svg%3E"); }
.ico-horloge { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E"); }
.ico-euro { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.5 6.6A7 7 0 1 0 17.5 17.4M4.5 10.2h8.5M4.5 13.8h8.5'/%3E%3C/svg%3E"); }
.ico-alerte { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l9 16H3z'/%3E%3Cpath d='M12 10v4.5M12 17.3v.1'/%3E%3C/svg%3E"); }
.ico-oeil { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6E96' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.coord--plein.ico-mail { --ico: var(--i-mail-blanc); }
.carte--sombre.ico-agenda { --ico: var(--i-agenda-blanc); }
/* /ICONES */

/* ---------- Pastilles d'icône (cartes, coordonnées, étapes, alerte) ---------- */
.a-icone::before {
  content: ""; display: block; flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--accent-pale) var(--ico) center / 22px no-repeat;
}

/* ---------- Boutons et liens ---------- */
.wp-block-button.bouton { display: inline-block; }
.wp-block-button.bouton .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font: 500 16px/1 var(--sans); letter-spacing: -0.01em;
  padding: 18px 28px; border: 0; border-radius: 999px;
  transition: background .25s;
}
.wp-block-button.bouton .wp-block-button__link::after {
  content: ""; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat;
  transition: transform .25s;
}
.wp-block-button.bouton .wp-block-button__link:hover { background: var(--accent-fonce); }
.wp-block-button.bouton .wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.bouton--petit .wp-block-button__link { padding: 12px 20px; font-size: 13.5px; gap: 8px; }
.wp-block-button.bouton--petit .wp-block-button__link::after { width: 16px; height: 16px; }

.lien { margin: 0; }
.lien a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 14px; }
.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;
  transition: transform .25s;
}
.lien a:hover::after { transform: translateX(3px); }

.fleche {
  width: 58px; height: 58px; margin: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  font-size: 0; color: var(--accent);
  border: 1.5px solid var(--accent);
  transition: background .25s, color .25s;
}
.fleche::before {
  content: ""; width: 22px; height: 22px; background: currentColor;
  -webkit-mask: var(--i-gauche) center / contain no-repeat; mask: var(--i-gauche) center / contain no-repeat;
}
.etapes-suivant::before { -webkit-mask-image: var(--i-droite); mask-image: var(--i-droite); }
.fleche--pleine { background: var(--accent); color: #fff; }
.fleche:hover { background: var(--accent-fonce); border-color: var(--accent-fonce); color: #fff; }
.fleche--claire { background: rgba(255,255,255,.18); border-color: #fff; color: #fff; }

/* ---------- En-tête ---------- */
.entete { position: absolute; top: 28px; left: 0; right: 0; z-index: 30; }
.nav {
  position: relative;
  width: min(1240px, 100% - 48px); margin-inline: auto;
  display: flex; align-items: center; gap: 20px;
  padding: 9px 10px 9px 12px;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(22,38,58,.08);
}
/* Un backdrop-filter fait du conteneur la référence des position:fixed : le panneau
   du menu mobile resterait enfermé dans la pilule. Coupé tant que le menu est ouvert. */
.nav:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo {
  display: grid; grid-template-columns: 46px auto; column-gap: 11px; align-items: center;
  margin-right: auto; line-height: 1.15;
}
.logo::before {
  content: ""; grid-row: 1 / span 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent) var(--i-pousse-blanc) center / 26px no-repeat;
}
.logo .wp-block-site-title { margin: 0; font: 500 18px var(--serif); color: var(--encre); letter-spacing: -0.015em; align-self: end; }
.logo .wp-block-site-title a { color: inherit; }
.logo .wp-block-site-tagline { margin: 0; font-size: 11.5px; color: var(--texte); align-self: start; }

.wp-block-navigation.nav-liens .wp-block-navigation__container { gap: 2px; }
.wp-block-navigation.nav-liens .wp-block-navigation-item__content {
  display: block; padding: 9px 15px; border-radius: 999px;
  font-size: 15px; color: var(--encre); letter-spacing: -0.01em;
  transition: background .2s;
}
.wp-block-navigation.nav-liens .wp-block-navigation-item__content:hover { background: rgba(23,48,74,.08); }
.wp-block-navigation.nav-liens .current-menu-item > .wp-block-navigation-item__content { background: var(--accent-fonce); color: #fff; }

.wp-block-buttons.nav-actions { margin-left: auto; flex-wrap: nowrap; }
.wp-block-button.nav-tel .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; background: transparent;
  border: 1.5px solid var(--encre); border-radius: 999px;
  font: 500 15.5px/1 var(--sans); color: var(--encre);
  transition: background .2s, color .2s;
}
.wp-block-button.nav-tel .wp-block-button__link::before {
  content: ""; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i-tel) center / contain no-repeat; mask: var(--i-tel) center / contain no-repeat;
}
.wp-block-button.nav-tel .wp-block-button__link:hover { background: var(--encre); color: #fff; }

/* Bouton et panneau du menu mobile (bloc Navigation). Le CSS du bloc est imprimé
   APRÈS cette feuille : les sélecteurs sont qualifiés pour l'emporter, et le fond du
   panneau ouvert est forcé — le seul !important justifié du thème. */
.wp-block-navigation.nav-liens .wp-block-navigation__responsive-container-open {
  width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--accent-fonce); color: #fff;
}
.wp-block-navigation.nav-liens .wp-block-navigation__responsive-container-open svg { width: 22px; height: 22px; fill: currentColor; }
.wp-block-navigation.nav-liens .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--accent-fonce) !important;
  color: #fff !important;
  padding: 28px 24px;
}
.wp-block-navigation.nav-liens .is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; }
.wp-block-navigation.nav-liens .is-menu-open .wp-block-navigation__container { gap: 6px; }
.wp-block-navigation.nav-liens .is-menu-open .wp-block-navigation-item__content {
  color: #fff; font: 500 26px/1.2 var(--serif); padding: 8px 0;
}
.wp-block-navigation.nav-liens .is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav-liens .is-menu-open .current-menu-item > .wp-block-navigation-item__content { background: none; color: #CFE0EE; }

/* ---------- 1 · Ouverture ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: 900px;
  padding: 250px 0 260px;
}
figure.hero-img {
  position: absolute; inset: 0 0 auto; z-index: -2;
  width: 100%; height: calc(100% - 3px);
}
figure.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(234,238,242,.30) 0%, rgba(234,238,242,0) 22%, rgba(234,238,242,0) 58%, rgba(234,238,242,.75) 82%, var(--fond) 97%),
    linear-gradient(90deg, rgba(234,238,242,.9) 0%, rgba(234,238,242,.62) 34%, rgba(234,238,242,0) 62%);
}
/* Le décalage des lignes du titre (une ligne = un <br>) : la première revient au bord. */
.hero-titre { font-size: clamp(54px, 6.6vw, 96px); line-height: .98; letter-spacing: -0.03em; padding-left: .3em; text-indent: -.3em; }
/* Accueil : le H1 est le surtitre (« Psychologue à Nancy »), le slogan un paragraphe à l'allure de titre. */
p.hero-titre { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--encre); }
.hero-intro {
  font: 400 23px/1.45 var(--serif); letter-spacing: -0.01em; color: #34404E;
  max-width: 540px; margin: 32px 0 38px 1.1em;
}
.hero-boutons { margin-left: 1.1em; }

/* ---------- 2 · Le cabinet ---------- */
.cabinet { position: relative; z-index: 1; padding: 40px 0 150px; }
.cabinet-grille { display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.collage { position: relative; height: 600px; }
.collage::after {
  content: ""; position: absolute; top: 300px; left: 150px; width: 250px; aspect-ratio: 220 / 100; z-index: 1;
  background: url(assets/img/ondes.svg) center / contain no-repeat;
}
figure.collage-a, figure.collage-b, figure.collage-c {
  position: absolute; z-index: 2; overflow: hidden; border-radius: 50%;
  box-shadow: 0 22px 50px rgba(22,38,58,.16);
}
figure.collage-a img, figure.collage-b img, figure.collage-c img { width: 100%; height: 100%; object-fit: cover; }
figure.collage-a { top: 0; left: 0; width: 520px; height: 285px; }
figure.collage-b { top: 300px; left: -150px; width: 310px; height: 128px; }
figure.collage-c { top: 448px; left: 50px; width: 330px; height: 130px; }
.cabinet-texte p { max-width: 590px; }
.cabinet-texte h2 { margin-bottom: 28px; }
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 46px; }
.chiffre { padding: 0 22px; text-align: center; border-left: 1px solid var(--ligne); }
.chiffre:first-child { border-left: 0; padding-left: 0; }
.chiffre .chiffre-valeur { font: 400 62px/1 var(--serif); color: var(--encre); letter-spacing: -0.03em; margin: 0 0 14px; }
.chiffre-valeur em, .carte-chiffre em, .tarif-prix em { font-style: normal; color: var(--accent); }
.chiffre .chiffre-libelle { font-size: 14.5px; line-height: 1.45; color: var(--encre); margin: 0; }

/* ---------- 3 · Domaines ---------- */
.domaines {
  position: relative; overflow: hidden;
  padding: 110px 0 130px;
  background:
    radial-gradient(55% 45% at 10% 38%, rgba(127,160,190,.24), transparent 72%),
    linear-gradient(180deg, var(--fond) 0%, #E1E7EE 48%, var(--fond-clair) 100%);
}
.domaines-tete { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
/* Mosaïque : tuiles de même taille, 3 par rangée ; une dernière rangée incomplète est centrée.
   Grille de 6 colonnes, chaque tuile en occupe 2. Zoom de la photo au survol. */
.mosaique {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 380px; gap: 22px;
}
.mosaique > .tuile { grid-column: span 2; }
.mosaique > .tuile:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
.mosaique > .tuile:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
.tuile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  border-radius: 14px; color: #fff;
  box-shadow: 0 14px 40px rgba(22,38,58,.10);
  transition: box-shadow .4s, transform .4s;
}
figure.tuile-img { position: absolute; inset: 0; z-index: -2; }
figure.tuile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.tuile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(22,38,58,0) 25%, rgba(22,38,58,.5) 58%, rgba(22,38,58,.88) 100%);
}
.tuile-texte { padding: 26px 28px 24px; }
.tuile h3 { color: #fff; font-size: 28px; margin-bottom: 10px; }
.tuile p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.86); margin: 0 0 14px; max-width: 46ch; }
.tuile .lien { margin: 0; }
.tuile .lien a { color: #CFE0EE; }
.tuile .lien a::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la tuile est cliquable */
.tuile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22,38,58,.18); }
.tuile:hover figure.tuile-img img { transform: scale(1.08); }
.tuile:hover .lien a::after { transform: translateX(4px); }
.tuile:focus-within { outline: 3px solid var(--accent); outline-offset: 4px; }

/* ---------- 4 · Parcours ---------- */
.parcours { position: relative; z-index: 1; background: var(--fond-clair); padding: 120px 0 150px; }
.parcours-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: center; }
.parcours-texte h2 { margin-bottom: 30px; }
.parcours-texte p { font-size: 15px; line-height: 1.75; max-width: 640px; }
.parcours-texte .wp-block-buttons { margin-top: 10px; }
.parcours-visuel { position: relative; }
figure.parcours-img img { width: 100%; height: 540px; object-fit: cover; border-radius: 4px; }
.parcours-visuel::after {
  content: ""; position: absolute; pointer-events: none;
  right: -96px; bottom: -40px; height: 118%; aspect-ratio: 220 / 660;
  background: url(assets/img/fougere.svg) center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(22,38,58,.18));
}

/* ---------- 5 · Déroulé ---------- */
.etapes { position: relative; isolation: isolate; overflow: hidden; padding: 150px 0 110px; }
figure.etapes-img { position: absolute; inset: 0; z-index: -2; }
figure.etapes-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.etapes::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--fond-clair) 0%, rgba(244,246,249,.82) 18%, rgba(244,246,249,.15) 45%, rgba(22,38,58,.12) 100%);
}
.etapes h2 { text-align: center; margin-bottom: 60px; }
.etapes-cadre { position: relative; padding: 0 44px; }
.piste {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 26px) / 3); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.piste::-webkit-scrollbar { display: none; }
.piste > * { scroll-snap-align: start; }
.carte-etape {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 10px; padding: 24px 24px 22px;
}
.etape-num { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 12px; }
.etape-texte { font-size: 14.5px; line-height: 1.6; color: var(--encre); flex: 1; }
.etape-pied { display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; align-items: center; padding-top: 6px; }
.etape-pied::before { grid-row: 1 / span 2; width: 42px; height: 42px; background-size: 21px; }
.etape-pied h3 { grid-column: 2; font-size: 19px; letter-spacing: -0.01em; align-self: end; }
.etape-pied .etape-sous { grid-column: 2; font-size: 12px; color: var(--texte); margin: 0; align-self: start;
  line-height: 27.2px; /* la maquette pose ce texte dans une ligne de 16 px × 1,7 : même hauteur de carte */ }
.etapes-precedent, .etapes-suivant { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; }
.etapes-precedent { left: -10px; }
.etapes-suivant { right: -10px; }

/* ---------- 6 · Contact ---------- */
.contact { background: var(--fond-clair); padding: 120px 0 120px; }
.contact-tete { text-align: center; max-width: 900px; margin: 0 auto 60px; }
.contact-tete h2 { margin-bottom: 20px; }
.contact-tete p { font-size: 15.5px; }
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1040px; margin-inline: auto; }
.formulaire {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: 12px; padding: 30px;
  box-shadow: 0 14px 40px rgba(22,38,58,.06);
}
.formulaire h3 { font: 600 19px var(--sans); letter-spacing: -0.01em; margin-bottom: 8px; }
.formulaire-note { font-size: 12.5px; line-height: 1.55; margin-bottom: 20px; }
/* Contact Form 7 : champs en bloc (sinon l'enrobage garde l'espace sous la ligne de base). */
.formulaire .wpcf7-form p { margin: 0; }
/* En colonne flexible comme la maquette : la marge du dernier champ ne se confond pas avec celle du bouton. */
.formulaire .wpcf7-form { display: flex; flex-direction: column; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .champ {
  display: block; width: 100%; margin-bottom: 12px;
  background: #EFF2F6; border: 1px solid transparent; border-radius: 7px;
  padding: 13px 15px; font: 400 13.5px var(--sans); color: var(--encre);
  transition: border-color .2s, background .2s;
}
.formulaire .champ::placeholder { color: #7C8592; }
.formulaire .champ:focus { outline: 0; border-color: var(--accent); background: #fff; }
.formulaire textarea.champ { height: 130px; resize: vertical; }
/* Un <input> ne peut pas contenir l'icône : la flèche de la maquette passe en image de fond. */
.formulaire .wpcf7-submit {
  display: block; margin: 8px 0 0 auto; cursor: pointer;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat right 20px center / 16px 16px;
  color: #fff; border: 0; border-radius: 999px;
  padding: 12px 44px 12px 20px; font: 500 13.5px/16px var(--sans); letter-spacing: -0.01em;
  transition: background-color .25s;
}
.formulaire .wpcf7-submit:hover { background-color: var(--accent-fonce); }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7-not-valid-tip { font-size: 12.5px; color: #A33A3A; margin: -6px 0 10px; }
.formulaire .wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0; padding: 10px 14px; border: 1.5px solid var(--accent); border-radius: 8px;
  font-size: 13.5px; color: var(--encre);
}
.plan {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: 12px;
  box-shadow: 0 14px 40px rgba(22,38,58,.06);
}
figure.plan-img { flex: 1; }
figure.plan-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; filter: grayscale(.45) contrast(.96); }
.plan-legende { margin: 0; padding: 10px 16px; font-size: 12px; }
.plan-legende a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.coordonnees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1040px; margin: 40px auto 0; }
.coord {
  position: relative;
  background: var(--surface); border-radius: 12px; padding: 34px 20px 30px; text-align: center;
  box-shadow: 0 14px 40px rgba(22,38,58,.05);
  transition: transform .25s;
}
.coord:hover { transform: translateY(-3px); }
.coord::before { margin: 0 auto 20px; }
.coord--plein::before { background-color: var(--accent); }
.coord h3 { font-size: 22px; letter-spacing: -0.015em; margin-bottom: 8px; }
.coord p { font-size: 13.5px; margin: 0; }
.coord p a::before { content: ""; position: absolute; inset: 0; } /* toute la carte est cliquable */

/* ---------- 7 · Appel final ---------- */
.appel { position: relative; isolation: isolate; overflow: hidden; padding: 130px 0 260px; text-align: center; }
figure.appel-img { position: absolute; inset: 3px 0 auto; z-index: -2; height: calc(100% - 6px); }
figure.appel-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; filter: saturate(.85) brightness(1.03); }
.appel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--fond-clair) 0%, rgba(244,246,249,.92) 30%, rgba(244,246,249,.55) 50%, rgba(234,238,242,0) 72%, rgba(234,238,242,0) 86%, var(--fond) 100%);
}
.appel h2 { margin-bottom: 18px; }
.appel p { font: 400 21px/1.45 var(--serif); color: #34404E; margin-bottom: 34px; }
.appel .wp-block-buttons { justify-content: center; }

/* ---------- Pied de page ---------- */
.pied { padding: 40px 0 34px; font-size: 14px; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.1fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--ligne); }
.pied-marque > p { margin-top: 20px; max-width: 320px; }
.pied h4 { font: 600 13px var(--sans); color: var(--encre); letter-spacing: .02em; margin-bottom: 16px; }
.pied .wp-block-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a:hover { color: var(--accent); }
.pied-bas { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; }
.pied-bas p { margin: 0; }

/* ---------- Pages intérieures ---------- */
.hero.hero--page { min-height: 0; padding: 220px 0 170px; }
.hero--page .hero-titre { font-size: clamp(46px, 5.6vw, 82px); }
.hero--page .hero-intro { margin: 30px 0 0 .2em; max-width: 600px; }
.hero--article .hero-titre { font-size: clamp(38px, 4.2vw, 60px); max-width: 900px; text-wrap: balance; padding-left: 0; text-indent: 0; }
.hero--article::before {
  background:
    linear-gradient(180deg, rgba(234,238,242,0) 55%, rgba(234,238,242,.75) 82%, var(--fond) 97%),
    linear-gradient(90deg, rgba(234,238,242,.94) 0%, rgba(234,238,242,.84) 50%, rgba(234,238,242,.3) 80%);
}
.surtitre {
  display: inline-block; margin: 0 0 26px;
  padding: 9px 17px; border-radius: 999px;
  background: rgba(255,255,255,.72); color: var(--accent);
  font: 600 13px/1 var(--sans); letter-spacing: .02em;
}

.section { position: relative; padding: 110px 0; }
.section--claire { background: var(--fond-clair); }
.section-tete { max-width: 760px; margin-bottom: 56px; }
.section-tete--centre { text-align: center; margin-inline: auto; }
.section-tete h2 { margin-bottom: 20px; }
.section-tete p { font-size: 16.5px; margin: 0; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.deux-colonnes--haut { align-items: start; }
.texte h2 { margin-bottom: 26px; }
.texte p { font-size: 16px; line-height: 1.75; }
.texte .wp-block-buttons { margin-top: 14px; }

.visuel { position: relative; }
figure.visuel-ellipse { overflow: hidden; border-radius: 50%; aspect-ratio: 16 / 10; box-shadow: 0 22px 50px rgba(22,38,58,.16); }
figure.visuel-ellipse img { width: 100%; height: 100%; object-fit: cover; }
.visuel::after {
  content: ""; position: absolute; bottom: -46px; left: -40px; width: 230px; aspect-ratio: 220 / 100;
  background: url(assets/img/ondes.svg) center / contain no-repeat;
}

.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cartes--2 { grid-template-columns: repeat(2, 1fr); }
.cartes--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carte {
  background: var(--surface); border-radius: 14px; padding: 34px 30px 30px;
  box-shadow: 0 14px 40px rgba(22,38,58,.06);
}
.carte.a-icone::before { margin-bottom: 22px; }
.carte h3 { font-size: 25px; letter-spacing: -0.015em; margin-bottom: 12px; }
.carte p { font-size: 15px; line-height: 1.65; margin: 0 0 .8em; }
.carte p:last-child { margin-bottom: 0; }
.carte .wp-block-buttons, .carte .lien { margin-top: 12px; }
.carte--sombre { background: var(--accent-fonce); color: rgba(255,255,255,.8); }
.carte--sombre h3 { color: #fff; }
.carte--sombre.a-icone::before { background-color: rgba(255,255,255,.12); }
.carte--sombre .wp-block-button.bouton .wp-block-button__link { background: #fff; color: var(--accent-fonce); }
.carte--sombre .wp-block-button.bouton .wp-block-button__link:hover { background: var(--accent-pale); }
.carte .carte-chiffre { font: 400 54px/1 var(--serif); color: var(--encre); letter-spacing: -0.03em; margin-bottom: 18px; }
.carte .carte-num { font: 600 12.5px/1 var(--sans); color: var(--accent); letter-spacing: .02em; margin-bottom: 14px; }
.cartes--4 .carte { padding: 28px 24px 26px; }
.cartes--4 .carte h3 { font-size: 22px; }

.wp-block-list.etiquettes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.wp-block-list.etiquettes li {
  padding: 11px 19px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--ligne);
  font-size: 14.5px; color: var(--encre);
}
.carte h3 + .etiquettes { margin-top: 18px; }

.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 14px; }
.faq .wp-block-details { background: var(--surface); border-radius: 12px; box-shadow: 0 10px 30px rgba(22,38,58,.05); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 24px 70px 24px 28px;
  font: 500 21px/1.3 var(--serif); color: var(--encre); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-pale); color: var(--accent);
  font: 400 22px/1 var(--sans); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary) { padding-inline: 28px; font-size: 15.5px; line-height: 1.7; }
.faq details > :not(summary):last-child { margin-bottom: 0; padding-bottom: 26px; }
.faq details a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.tarif {
  background: var(--surface); border-radius: 18px; padding: 52px 44px 46px; text-align: center;
  box-shadow: 0 22px 50px rgba(22,38,58,.08);
}
.tarif .tarif-prix { font: 400 104px/1 var(--serif); color: var(--encre); letter-spacing: -0.04em; margin: 0; }
.tarif .tarif-unite { font: 400 24px var(--serif); color: var(--encre); margin: 10px 0 22px; }
.tarif .wp-block-list.etiquettes { justify-content: center; margin-bottom: 34px; }
.tarif .wp-block-buttons { justify-content: center; }

.alerte {
  display: flex; gap: 20px; align-items: flex-start;
  max-width: 860px; margin-inline: auto;
  background: var(--surface); border-radius: 14px; padding: 28px 30px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(22,38,58,.05);
}
.alerte h3 { font-size: 23px; margin-bottom: 8px; }
.alerte p { font-size: 15px; margin: 0; }
.alerte strong { color: var(--encre); }

.wp-block-post-template.articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; margin: 0; padding: 0; }
.wp-block-post-template.articles > li { margin: 0; }
.carte-article {
  position: relative; height: 100%;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: 14px;
  box-shadow: 0 14px 40px rgba(22,38,58,.07);
  transition: transform .4s, box-shadow .4s;
}
figure.carte-article-image { margin: 0; overflow: hidden; }
figure.carte-article-image img { width: 100%; height: 240px; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.carte-article-corps { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.carte-article .article-meta { font-size: 12.5px; font-weight: 600; color: var(--accent); letter-spacing: .02em; margin-bottom: 12px; }
.carte-article .wp-block-post-title { font-size: 25px; margin: 0 0 12px; }
.carte-article .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; } /* toute la carte est cliquable */
.carte-article .wp-block-post-excerpt { flex: 1; display: flex; flex-direction: column; margin: 0; }
.carte-article .wp-block-post-excerpt__excerpt { font-size: 15px; flex: 1; }
.carte-article .wp-block-post-excerpt__more-text { margin: 0; }
.carte-article .wp-block-post-excerpt__more-text a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; font-size: 14px; }
.carte-article .wp-block-post-excerpt__more-text 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;
}
.carte-article:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(22,38,58,.14); }
.carte-article:hover figure.carte-article-image img { transform: scale(1.06); }
.wp-block-query-pagination { margin-top: 40px; gap: 20px; }

.prose { max-width: 740px; margin-inline: auto; }
.prose > p:first-child { font: 400 22px/1.55 var(--serif); color: var(--encre); }
.prose h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 56px 0 20px; }
.prose h3 { font-size: 25px; margin: 34px 0 12px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.8; }
.prose .wp-block-list { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose a:not(.wp-block-button__link) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .carte { margin: 40px 0; }
.prose .carte h3 { margin-top: 0; }
.prose .signature { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--ligne); font-size: 15px; }
.prose .signature strong { display: block; font: 500 20px var(--serif); color: var(--encre); }

.entete-simple { padding: 200px 0 40px; }
.entete-simple h1 { font-size: clamp(44px, 5vw, 72px); }

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

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

/* ---------- Responsive ---------- */
/* Menu repliable dès 1180 px : le bloc Navigation ne replie qu'en dessous de 600 px. */
@media (min-width: 600px) and (max-width: 1180px) {
  .wp-block-navigation.nav-liens .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .wp-block-navigation.nav-liens .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 1180px) {
  .nav-liens { order: 2; }
  .wp-block-buttons.nav-actions { order: 1; }
  figure.collage-b { left: -60px; }
}

@media (max-width: 960px) {
  .conteneur { width: calc(100% - 40px); }
  .hero { min-height: 0; padding: 190px 0 200px; }
  .cabinet-grille, .parcours-grille, .contact-grille { grid-template-columns: 1fr; gap: 50px; }
  .collage { height: 420px; max-width: 520px; }
  figure.collage-a { width: 88%; height: 220px; }
  figure.collage-b { top: 236px; left: -20px; width: 55%; height: 100px; }
  figure.collage-c { top: 344px; left: 22%; width: 58%; height: 100px; }
  .collage::after { top: 215px; left: 38%; width: 190px; }
  .piste { grid-auto-columns: 78%; }
  .mosaique { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 330px; gap: 18px; }
  .mosaique > .tuile:last-child:nth-child(3n+1), .mosaique > .tuile:nth-last-child(2):nth-child(3n+1) { grid-column: span 2; }
  .mosaique > .tuile:last-child:nth-child(odd) { grid-column: 2 / span 2; }
  .parcours-visuel { margin-right: 60px; }
  .parcours-visuel::after { right: -70px; }
  .coordonnees { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }

  .hero.hero--page { padding: 170px 0 120px; }
  .section { padding: 80px 0; }
  .deux-colonnes, .cartes, .cartes--2, .wp-block-post-template.articles { grid-template-columns: 1fr; gap: 40px; }
  .cartes--4 { grid-template-columns: 1fr 1fr; }
  .visuel { margin: 0 20px 30px; }
}

@media (max-width: 600px) {
  .nav { padding: 7px 8px; gap: 10px; }
  .logo { grid-template-columns: 40px auto; column-gap: 8px; }
  .logo::before { width: 40px; height: 40px; }
  .logo .wp-block-site-title { font-size: 14.5px; white-space: nowrap; }
  .logo .wp-block-site-tagline { font-size: 10.5px; white-space: nowrap; }
  .wp-block-button.nav-tel .wp-block-button__link { padding: 0; width: 44px; height: 44px; justify-content: center; font-size: 0; gap: 0; }
  .wp-block-navigation.nav-liens .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; }
  .hero { padding: 160px 0 170px; }
  figure.hero-img img { object-position: 80% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(234,238,242,.5) 0%, rgba(234,238,242,.72) 55%, rgba(234,238,242,.4) 75%, var(--fond) 97%); }
  .hero-titre { font-size: 44px; padding-left: 0; text-indent: 0; }
  h1.surtitre { line-height: 1.4; text-wrap: balance; }
  .hero-intro { font-size: 19px; margin-left: 0; }
  .hero-boutons { margin-left: 0; }
  .cabinet { padding: 30px 0 90px; }
  .domaines, .parcours, .contact { padding: 80px 0; }
  .etapes { padding: 110px 0 80px; }
  .appel { padding: 100px 0 200px; }
  .chiffre { padding: 0 10px; }
  .chiffre .chiffre-valeur { font-size: 42px; }
  .chiffre .chiffre-libelle { font-size: 12.5px; }
  .domaines-tete { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .mosaique { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .mosaique > .tuile, .mosaique > .tuile:last-child:nth-child(odd), .mosaique > .tuile:last-child:nth-child(3n+1), .mosaique > .tuile:nth-last-child(2):nth-child(3n+1) { grid-column: 1 / -1; }
  .tuile { min-height: 300px; }
  .tuile-texte { padding: 22px 22px 20px; }
  .tuile h3 { font-size: 25px; }
  .etapes-cadre { padding: 0; }
  .etapes-precedent, .etapes-suivant { display: none; }
  .formulaire { padding: 22px; }
  .pied-grille { grid-template-columns: 1fr; gap: 30px; }
  .pied-bas { flex-direction: column; gap: 8px; }

  .hero.hero--page { padding: 150px 0 100px; }
  .hero--page .hero-titre { font-size: 42px; }
  .hero--article .hero-titre { font-size: 34px; }
  .hero--page .hero-intro { margin-left: 0; }
  .cartes--4 { grid-template-columns: 1fr; }
  .tarif { padding: 40px 22px 34px; }
  .tarif .tarif-prix { font-size: 78px; }
  .faq summary { font-size: 19px; padding: 20px 62px 20px 22px; }
  .faq details > :not(summary) { padding-inline: 22px; }
  .faq details > :not(summary):last-child { padding-bottom: 22px; }
  .alerte { flex-direction: column; padding: 24px 22px; }
  .entete-simple { padding: 150px 0 30px; }
}
