/*
Theme Name: Boop éducation
Theme URI: https://boop-educationcanine.com
Author: Boop éducation
Description: Thème bloc sur mesure pour Boop éducation — éducation canine positive à Lille et dans sa métropole. Version 3 (Sansation, pages À propos, Services et Contact), d'après la maquette validée ; tout le contenu reste éditable dans Gutenberg.
Version: 3.0.1
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: boop-education
Tags: block-theme, full-site-editing, one-column
*/

/* =========================================================
   1. JETONS & RESET
   ========================================================= */
:root {
  --rouge: #bf395c;
  --rouge-fonce: #a52f4f;
  --creme: #ffebe2;          /* le « blanc » de Boop */
  --carte: #fbdfd3;          /* teinte des cartes, dérivée du crème */
  --rose: #ecb5b9;           /* rose clair du logo */
  --encre: #222222;
  --texte: #2b2b2b;
  --doux: #6f6865;
  --trait: rgba(34, 34, 34, .14);
  --titre: 'Sansation', system-ui, sans-serif;
  --corps: 'Sansation', system-ui, sans-serif;
  --rayon: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Icônes : masques (couleur = background) ou images colorées */
  --m-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='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  --m-patte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='14' cy='26' rx='6.5' ry='9' transform='rotate(-18 14 26)'/%3E%3Cellipse cx='27' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='41' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='53' cy='27' rx='6.5' ry='9' transform='rotate(18 53 27)'/%3E%3Cpath d='M32 29c-9 0-18 9-18 17 0 6 5 9 10 8 3-.6 5-1.6 8-1.6s5 1 8 1.6c5 1 10-2 10-8 0-8-9-17-18-17z'/%3E%3C/svg%3E");
  --m-pin: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6.5-5.4 6.5-11A6.5 6.5 0 0 0 5.5 10c0 5.6 6.5 11 6.5 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  --m-mail: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3.5 6.5 8.5 7 8.5-7M3.5 18l6-6M20.5 18l-6-6'/%3E%3C/svg%3E");
  --m-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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.7 4.3-2.2 1.4a11 11 0 0 0 5.3 5.3l1.4-2.2L19 14.5V18a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
  --m-chevron: 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='m9 6 6 6-6 6'/%3E%3C/svg%3E");
  --m-menu: 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.5' stroke-linecap='round'%3E%3Cpath d='M5 8h14M5 12h14M5 16h14'/%3E%3C/svg%3E");
  --i-fleche-blanche: 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='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  --i-fleche-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf395c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E");
  --i-bas: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  --i-cible: 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.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='4.5'/%3E%3Cpath d='m12 12 7-7M16 5h3v3'/%3E%3C/svg%3E");
  --i-coeur: 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.5' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20Z'/%3E%3C/svg%3E");
  --i-diplome: 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='M2.5 9 12 4.5 21.5 9 12 13.5 2.5 9Z'/%3E%3Cpath d='M6.5 11v4.5c0 1.4 2.5 3 5.5 3s5.5-1.6 5.5-3V11M21.5 9v5'/%3E%3C/svg%3E");
  --i-bulle: 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='M4 12a8 8 0 1 1 3.3 6.5L4 19.5l1-3.2A8 8 0 0 1 4 12Z'/%3E%3Cpath d='M8.5 11h.01M12 11h.01M15.5 11h.01'/%3E%3C/svg%3E");
  --i-maison: 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='M3.5 11 12 4l8.5 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
  --i-laisse: 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%3Ccircle cx='6' cy='6' r='2.5'/%3E%3Cpath d='M8 7.5c4 2 7 5.5 9 10'/%3E%3Cpath d='M15 18.5h4.5V14'/%3E%3C/svg%3E");
  --i-oreille: 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='M7 9a5 5 0 0 1 10 0c0 3-3 4-3 7a3 3 0 0 1-5.5 1.6'/%3E%3Cpath d='M10 9a2 2 0 0 1 4 0'/%3E%3C/svg%3E");
  --i-patte-blanche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23fff'%3E%3Cellipse cx='14' cy='26' rx='6.5' ry='9' transform='rotate(-18 14 26)'/%3E%3Cellipse cx='27' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='41' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='53' cy='27' rx='6.5' ry='9' transform='rotate(18 53 27)'/%3E%3Cpath d='M32 29c-9 0-18 9-18 17 0 6 5 9 10 8 3-.6 5-1.6 8-1.6s5 1 8 1.6c5 1 10-2 10-8 0-8-9-17-18-17z'/%3E%3C/svg%3E");
  --i-patte-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23bf395c'%3E%3Cellipse cx='14' cy='26' rx='6.5' ry='9' transform='rotate(-18 14 26)'/%3E%3Cellipse cx='27' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='41' cy='15' rx='6.5' ry='9.5'/%3E%3Cellipse cx='53' cy='27' rx='6.5' ry='9' transform='rotate(18 53 27)'/%3E%3Cpath d='M32 29c-9 0-18 9-18 17 0 6 5 9 10 8 3-.6 5-1.6 8-1.6s5 1 8 1.6c5 1 10-2 10-8 0-8-9-17-18-17z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--corps); font-weight: 400; color: var(--texte); background: var(--creme); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
figure.wp-block-image { margin: 0; }
.wp-element-caption { margin: 0; }

.conteneur { width: min(1312px, calc(100% - 128px)); margin-inline: auto; }
.etroit { width: min(720px, calc(100% - 128px)); margin-inline: auto; }
.wp-site-blocks > main { position: relative; }

/* Icône générique : masque coloré par background */
.ico::before { content: ""; flex: none; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; background: currentColor; }

/* Libellé avec point */
.surtitre { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--rouge); line-height: 1.3; }
.surtitre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.surtitre.centre { justify-content: center; }
.titre { font-family: var(--titre); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.15; letter-spacing: -.01em; color: var(--rouge); }
.titre.centre { text-align: center; }
.texte-doux { color: var(--doux); font-size: 16px; line-height: 1.55; }

/* =========================================================
   2. BOUTONS — la classe d'un core/button atterrit sur le
   conteneur : il est neutralisé, le style vise le lien.
   ========================================================= */
.wp-block-buttons.bloc-btn { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-buttons.bloc-btn.centre { justify-content: center; }
.wp-block-button.btn-pilule, .wp-block-button.btn-contour, .wp-block-button.btn-ligne { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; margin: 0; }
.wp-block-button.btn-pilule .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 16px; height: 52px; padding: 0 6px 0 24px;
  border: 0; border-radius: 999px; font-family: var(--corps); font-size: 16px; font-weight: 500; line-height: 1;
  letter-spacing: 0; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s;
}
.wp-block-button.btn-pilule .wp-block-button__link::after {
  content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--rouge) var(--i-fleche-blanche) center / 18px no-repeat; transition: transform .35s var(--ease);
}
.wp-block-button.btn-pilule .wp-block-button__link:hover::after { transform: rotate(45deg); }
.wp-block-button.btn-clair .wp-block-button__link { background: var(--creme); color: var(--rouge); }
.wp-block-button.btn-plein .wp-block-button__link { background: var(--rouge); color: #fff; }
.wp-block-button.btn-plein .wp-block-button__link::after { background-color: #fff; background-image: var(--i-fleche-rouge); }
.wp-block-button.btn-plein .wp-block-button__link:hover { background: var(--rouge-fonce); }
.wp-block-button.btn-ligne .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 24px 0 20px; border: 1px solid var(--rouge); border-radius: 999px; background: transparent; color: var(--rouge); font-family: var(--corps); font-size: 16px; font-weight: 500; line-height: 1; letter-spacing: .02em; text-transform: none; white-space: nowrap; transition: background .3s, color .3s; }
.wp-block-button.btn-ligne .wp-block-button__link::before { content: ""; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--m-tel) center / contain no-repeat; mask: var(--m-tel) center / contain no-repeat; }
.wp-block-button.btn-ligne .wp-block-button__link:hover { background: var(--rouge); color: #fff; }
.wp-block-button.btn-contour .wp-block-button__link {
  height: 40px; padding: 0 24px; display: grid; place-items: center; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .85); border-radius: 999px; font-family: var(--corps); font-size: 16px; font-weight: 400; line-height: 1;
  letter-spacing: 0; text-transform: none; transition: background .3s, color .3s;
}
.wp-block-button.btn-contour .wp-block-button__link:hover { background: var(--creme); color: var(--rouge); }

.lien-fleche a { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 500; text-transform: uppercase; color: var(--rouge); }
.lien-fleche a::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--m-fleche) center / contain no-repeat; mask: var(--m-fleche) center / contain no-repeat; transition: transform .3s var(--ease); }
.lien-fleche a:hover::after { transform: translate(2px, -2px); }

/* =========================================================
   3. EN-TÊTE (flotte au-dessus du héro de chaque page)
   ========================================================= */
header.wp-block-template-part { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.entete-zone { position: relative; }
.nav { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-radius: 999px; color: #fff; background: rgba(30, 14, 18, .32); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.marque { display: flex; align-items: center; gap: 14px; }
.marque-logo { width: 48px; height: 48px; border-radius: 50%; background: var(--creme); padding: 2px; flex: none; }
.marque-logo a, .marque-logo img { display: block; width: 44px !important; height: 44px !important; border-radius: 50%; }
.marque-nom { font-family: var(--titre); font-weight: 700; font-size: 28px; line-height: 1; }
.marque-nom em { font-style: normal; font-family: var(--corps); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-left: 4px; }
.nav .wp-block-navigation.nav-liens .wp-block-navigation__container { display: flex; gap: 8px; }
.nav .wp-block-navigation.nav-liens .wp-block-navigation-item__content { display: block; padding: 10px 24px; border-radius: 999px; font-size: 16px; font-weight: 400; line-height: 1.5; color: #fff; transition: background .3s, color .3s; }
.nav .wp-block-navigation.nav-liens .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .14); }
.nav .wp-block-navigation.nav-liens .wp-block-navigation-item__content.actif { background: var(--creme); color: var(--encre); font-weight: 500; }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.btn-rond { width: 40px; height: 40px; border-radius: 50%; background: var(--creme); color: var(--encre); display: grid; place-items: center; cursor: pointer; font-size: 0; line-height: 0; }
.btn-rond::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--m-menu) center / contain no-repeat; mask: var(--m-menu) center / contain no-repeat; }
.nav-panneau { position: absolute; top: 84px; left: 0; right: 0; border-radius: var(--rayon); background: rgba(30, 14, 18, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.nav-panneau.ouvert { max-height: 340px; }
.nav-panneau .wp-block-navigation__container { display: block; }
.nav-panneau .wp-block-navigation-item { display: block; border-top: 1px solid rgba(255, 255, 255, .1); }
.nav-panneau .wp-block-navigation-item:first-child { border-top: 0; }
.nav-panneau .wp-block-navigation-item__content { display: block; padding: 16px 24px; font-size: 16px; color: #fff; }

/* =========================================================
   4. HÉRO
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; height: 900px; color: #fff; background: #3b1a23; display: flex; align-items: flex-end; padding-bottom: 64px; }
.hero .hero-photo { position: absolute; inset: 0; z-index: -2; }
.hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(24, 8, 13, .5) 0%, rgba(24, 8, 13, .28) 38%, rgba(24, 8, 13, .6) 72%, rgba(24, 8, 13, .78) 100%); }
.hero h1 { font-family: var(--titre); font-weight: 500; font-size: clamp(44px, 6.1vw, 88px); line-height: 1.18; letter-spacing: -.015em; color: #fff; max-width: 1000px; }
.hero-pied { display: flex; align-items: center; gap: 64px; margin-top: 36px; }
.hero-pied > p:first-child { max-width: 520px; font-size: 16px; line-height: 1.5; opacity: .9; }
.defiler { margin-left: auto; }
.defiler a { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; font-weight: 400; text-transform: uppercase; opacity: .9; }
.defiler a::before { content: ""; width: 34px; height: 48px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; background: var(--i-bas) center / 16px no-repeat; }
/* Héro des pages intérieures */
.hero.hero-page { height: 640px; }
.hero.hero-page h1 { font-size: clamp(40px, 5.2vw, 76px); }
.hero.hero-page .surtitre { color: #fff; margin-bottom: 20px; }
.hero.hero-page .hero-intro { max-width: 560px; margin-top: 24px; font-size: 18px; line-height: 1.5; opacity: .92; }

/* =========================================================
   5. APPROCHE
   ========================================================= */
.approche { padding: 132px 0 120px; }
.declaration { max-width: 960px; margin: 48px auto 72px; text-align: center; font-size: clamp(22px, 2.3vw, 32px); font-weight: 400; line-height: 1.5; color: var(--encre); text-wrap: balance; }
.declaration em { font-style: normal; color: #9a8f8b; }
.declaration img { display: inline-block; width: 60px !important; height: 34px; border-radius: 999px; object-fit: cover; vertical-align: -5px; margin: 0 4px; }
.trio { display: grid; grid-template-columns: repeat(3, 300px); justify-content: center; gap: 24px; }
.trio > .wp-block-group { position: relative; isolation: isolate; height: 350px; border-radius: var(--rayon); padding: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.trio h3 { font-family: var(--corps); font-size: 24px; font-weight: 500; line-height: 1.4; text-transform: uppercase; }
.trio p { font-size: 15px; line-height: 1.45; }
.carte-chiffre { background: var(--carte); }
.carte-chiffre h3 { color: var(--rouge); }
.carte-chiffre .chiffre { font-size: 56px; font-weight: 400; line-height: 1.1; color: var(--encre); margin-bottom: 18px; }
.carte-chiffre .chiffre-texte { color: #4a4442; }
.trio > .carte-photo { color: #fff; justify-content: flex-end; }
.carte-photo .carte-fond { position: absolute; inset: 0; z-index: -2; }
.carte-photo .carte-fond img { width: 100%; height: 100%; object-fit: cover; }
.carte-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .72)); }
.carte-photo h3 { color: #fff; margin-bottom: 10px; }
.carte-photo::after, .carte-haut::after { content: ""; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: var(--i-cible) center / 24px no-repeat; }
.carte-photo::after { position: absolute; top: 24px; left: 24px; }
.carte-couleur { background: var(--rouge); color: #fff; }
.carte-couleur h3 { color: #fff; }
.carte-haut { display: flex; justify-content: space-between; align-items: flex-start; }
.carte-haut::after { background-image: var(--i-coeur); flex: none; }
.carte-haut p { font-size: 15px; opacity: .92; padding-top: 6px; }
.carte-bas { display: flex; align-items: center; gap: 24px; }
.carte-bas .avatar { display: flex; flex: none; }
.carte-bas .avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.carte-bas .avatar::after { content: ""; width: 56px; height: 56px; margin-left: -16px; border-radius: 50%; background: var(--creme) var(--i-patte-rouge) center / 26px no-repeat; }

/* =========================================================
   6. À PROPOS (accueil)
   ========================================================= */
.apropos { padding-bottom: 120px; }
.apropos-page, .phares-page { padding-top: 120px; }
.apropos-tete { display: grid; grid-template-columns: 1fr 600px; gap: 48px; margin-bottom: 40px; }
.apropos-tete .titre { margin-bottom: 72px; }
.apropos-tete .surtitre { margin-top: 16px; }
.puces { display: flex; flex-wrap: wrap; gap: 16px; max-width: 540px; margin-top: 72px; }
.puces li { padding: 10px 16px; border: 1px solid var(--rouge); border-radius: 999px; font-size: 16px; color: var(--doux); }
.apropos-tete .texte-doux + .texte-doux { margin-top: 14px; }
.bandeau-photo { position: relative; height: 500px; border-radius: var(--rayon); overflow: hidden; }
.bandeau-photo > .wp-block-image, .bandeau-photo > .wp-block-image img { width: 100%; height: 100%; }
.bandeau-photo > .wp-block-image img { object-fit: cover; object-position: 50% 45%; }
.encart { position: absolute; left: 40px; top: 176px; width: 405px; background: var(--creme); border-radius: var(--rayon); padding: 32px; }
.encart-sur { color: var(--rouge); font-size: 16px; font-weight: 400; }
.encart h3 { margin: 36px 0 18px; font-family: var(--corps); font-size: 24px; font-weight: 500; text-transform: uppercase; color: var(--encre); }
.encart .encart-texte { font-size: 14px; color: var(--doux); line-height: 1.55; margin-bottom: 36px; }

/* =========================================================
   7. SERVICES
   ========================================================= */
.services { padding: 0 0 120px; }
.tete-section { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 64px; }
.tete-section .surtitre { margin-bottom: 14px; }
.tete-section > .texte-doux { max-width: 400px; padding-bottom: 8px; }
.services-grille { display: grid; grid-template-columns: 636px minmax(0, 1fr); gap: 40px; }
.services-photo, .services-photo img { width: 100%; height: 600px; }
.services-photo img { object-fit: cover; border-radius: var(--rayon); }
.services-cartes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.valeurs-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.valeurs-grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.carte-service { background: var(--carte); border-radius: var(--rayon); padding: 32px; display: flex; flex-direction: column; min-height: 280px; transition: transform .4s var(--ease); }
.carte-service:hover { transform: translateY(-4px); }
.carte-service::before { content: ""; width: 48px; height: 48px; border-radius: 50%; background: var(--rouge) var(--i-patte-blanche) center / 24px no-repeat; flex: none; }
.carte-service.ic-diplome::before { background-image: var(--i-diplome); }
.carte-service.ic-bulle::before { background-image: var(--i-bulle); }
.carte-service.ic-maison::before { background-image: var(--i-maison); }
.carte-service.ic-laisse::before { background-image: var(--i-laisse); }
.carte-service.ic-coeur::before { background-image: var(--i-coeur); }
.carte-service.ic-oreille::before { background-image: var(--i-oreille); }
.carte-service.ic-cible::before { background-image: var(--i-cible); }
.carte-service h3 { font-family: var(--corps); font-size: 24px; font-weight: 500; color: var(--encre); margin: auto 0 14px; padding-top: 48px; }
.carte-service p { color: var(--doux); font-size: 16px; line-height: 1.5; min-height: 3em; }

.bande-chiffres { position: relative; margin-top: 120px; min-height: 208px; border-radius: var(--rayon); background: var(--rouge) url(assets/img/lignes.svg) center / cover no-repeat; color: #fff; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding: 40px; }
.bande-chiffres.seule { margin-top: 0; }
.bande-intro::before { content: ""; display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--creme) var(--i-patte-rouge) center / 22px no-repeat; margin-bottom: 32px; }
.bande-intro p { max-width: 320px; font-size: 16px; line-height: 1.5; }
.chiffres { display: flex; gap: 64px; }
.chiffres .nombre { font-size: 56px; font-weight: 400; line-height: 1; margin-bottom: 18px; }
.chiffres .legende { font-size: 16px; opacity: .92; }

/* =========================================================
   8. ACCOMPAGNEMENTS PHARES (lignes détaillées)
   ========================================================= */
.phares { padding-bottom: 96px; }
.phares-boite { background: var(--carte); border-radius: var(--rayon); padding: 48px 40px 40px; box-shadow: 0 2px 30px rgba(120, 40, 60, .06); }
.phares .tete-section { margin-bottom: 48px; }
.ligne { display: grid; grid-template-columns: 1fr 400px 400px; gap: 36px; padding: 40px 0; border-top: 1px solid var(--trait); }
.ligne:last-child { padding-bottom: 8px; }
.ligne-gauche { display: flex; flex-direction: column; }
.lieu { display: flex; align-items: center; gap: 16px; color: var(--doux); font-size: 16px; font-weight: 400; }
.lieu::before { content: ""; width: 24px; height: 24px; flex: none; background: var(--encre); -webkit-mask: var(--m-pin) center / contain no-repeat; mask: var(--m-pin) center / contain no-repeat; }
.ligne h3 { font-family: var(--corps); font-size: 26px; font-weight: 500; color: var(--encre); margin-top: 18px; }
.ligne-gauche .lien-fleche { margin-top: auto; padding-top: 24px; }
.ligne > .wp-block-image, .ligne > .wp-block-image img { width: 400px; height: 250px; }
.ligne > .wp-block-image img { object-fit: cover; border-radius: 12px; }
.ligne-droite .ligne-texte { font-size: 16px; line-height: 1.5; color: #3f3a39; margin-bottom: 48px; }
.dl-ligne { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.dl-ligne:first-child { padding-top: 0; }
.dl-ligne:last-child { border-bottom: 0; padding-bottom: 0; }
.dl-ligne .dt { font-size: 15px; text-transform: uppercase; color: #514b49; }
.dl-ligne .dd { font-size: 16px; font-weight: 500; color: var(--encre); text-align: right; }

/* =========================================================
   9. SECTEUR
   ========================================================= */
.secteur { padding: 64px 0 120px; }
.secteur-rangee { display: grid; grid-template-columns: 440px 1fr; align-items: center; }
.secteur-texte { padding-right: 56px; border-right: 1px solid var(--trait); padding-block: 8px; }
.secteur-texte .surtitre { margin-bottom: 22px; }
.villes { display: flex; justify-content: space-between; align-items: center; padding-left: 40px; }
.villes li { display: flex; align-items: center; gap: 10px; font-family: var(--titre); font-weight: 700; font-size: 26px; color: #8a7f7c; letter-spacing: -.01em; }
.villes li::before { content: ""; width: 30px; height: 30px; flex: none; background: #8a7f7c; -webkit-mask: var(--m-patte) center / contain no-repeat; mask: var(--m-patte) center / contain no-repeat; }

/* =========================================================
   10. AU QUOTIDIEN
   ========================================================= */
.quotidien { padding-bottom: 120px; }
.cartes-quotidien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carte-q { border-radius: var(--rayon); transition: background .4s, padding .4s, margin .4s; }
.carte-q.active { background: var(--carte); padding: 16px; margin: -16px 0; }
.carte-q-photo { position: relative; height: 250px; border-radius: 12px; overflow: hidden; }
.carte-q-photo .wp-block-image, .carte-q-photo img { width: 100%; height: 100%; }
.carte-q-photo img { object-fit: cover; transition: transform .8s var(--ease); }
.carte-q:hover .carte-q-photo img { transform: scale(1.04); }
.etiquette { position: absolute; top: 16px; left: 16px; padding: 8px 16px; border-radius: 12px; font-size: 16px; font-weight: 400; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.carte-q-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 24px 0 14px; }
.carte-q-titre h3 { font-family: var(--corps); font-size: 20px; font-weight: 500; color: var(--rouge); }
.carte-q-titre p { font-size: 14px; color: var(--doux); white-space: nowrap; }
.carte-q-texte { font-size: 14px; line-height: 1.55; color: var(--doux); padding-bottom: 18px; border-bottom: 1px solid var(--trait); }
.carte-q-pied { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 22px; }
.carte-q-pied .fmt { font-size: 13px; text-transform: uppercase; color: var(--doux); margin-bottom: 6px; }
.carte-q-pied .fmt-valeur { font-size: 16px; font-weight: 500; color: var(--encre); }
.carte-q-pied .lien-fleche a { font-size: 14px; }

.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 56px; }
.pagination.fin { justify-content: flex-end; margin-top: 40px; }
.pager { display: flex; align-items: center; gap: 16px; }
.pager-prec, .pager-suiv { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 0; line-height: 0; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.pager-prec::before, .pager-suiv::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--m-chevron) center / contain no-repeat; mask: var(--m-chevron) center / contain no-repeat; }
.pager-prec { border: 1px solid #b9aeab; color: var(--doux); }
.pager-prec::before { transform: scaleX(-1); }
.pager-suiv { background: var(--rouge); color: #fff; }
.pager-prec:hover { border-color: var(--rouge); color: var(--rouge); }
.pager-compte { font-size: 16px; color: var(--doux); }
.pager-compte strong { font-weight: 600; color: var(--encre); }

/* =========================================================
   11. APPEL
   ========================================================= */
.appel-section { padding-bottom: 120px; }
.appel { min-height: 500px; border-radius: var(--rayon); background: var(--rouge) url(assets/img/lignes.svg) center / cover no-repeat; color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 40px; }
.appel h2 { font-family: var(--titre); font-weight: 500; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.15; letter-spacing: -.01em; color: #fff; }
.appel .appel-texte { max-width: 560px; margin: 24px 0 56px; font-size: 16px; line-height: 1.5; opacity: .95; }

/* =========================================================
   12. LES CHIENS
   ========================================================= */
.chiens { padding-bottom: 120px; overflow: hidden; }
.chiens-tete { position: relative; height: 230px; }
.chiens-tete .texte-doux { max-width: 380px; margin-top: 44px; }
.filigrane { position: absolute; right: 0; top: 0; font-family: var(--corps); font-weight: 600; font-size: clamp(120px, 21vw, 300px); line-height: .8; letter-spacing: .02em; color: rgba(191, 57, 92, .06); pointer-events: none; user-select: none; }
.portraits { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: -60px; }
.portrait { position: relative; height: 380px; border-radius: var(--rayon); overflow: hidden; transition: transform .5s var(--ease); }
.portrait.bas { margin-top: 80px; }
.portrait:hover { transform: translateY(-6px); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 64px 12px 16px; border-radius: 12px; color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.5; text-align: left; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.portrait figcaption strong { display: block; font-size: 18px; font-weight: 500; color: #fff; }
.portrait figcaption::after { content: ""; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: var(--i-patte-blanche) center / 18px no-repeat; }
.portrait.active figcaption { background: rgba(191, 57, 92, .55); border-color: rgba(255, 255, 255, .55); }

/* =========================================================
   13. FAQ
   ========================================================= */
.faq { padding: 0 0 120px; }
.faq .titre { margin: 18px 0 56px; }
.questions .wp-block-details { border-bottom: 1px solid var(--trait); }
.questions summary { list-style: none; display: flex; align-items: center; gap: 24px; padding: 34px 0; font-size: 18px; font-weight: 500; color: var(--encre); cursor: pointer; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::before { content: "+"; width: 16px; font-size: 26px; font-weight: 300; line-height: 1; color: var(--doux); flex: none; text-align: center; }
.questions details[open] summary { color: var(--rouge); padding-bottom: 16px; }
.questions details[open] summary::before { content: "–"; color: var(--rouge); }
.questions .wp-block-details p { padding: 0 40px 34px; font-size: 16px; line-height: 1.55; color: var(--doux); max-width: 640px; }
.question-boite { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--carte); border-radius: var(--rayon); padding: 32px 24px; }
.question-boite h3 { font-family: var(--corps); font-size: 18px; font-weight: 500; text-transform: uppercase; color: var(--encre); margin-bottom: 8px; }
.question-boite p { font-size: 14px; color: var(--rouge); max-width: 380px; }

/* =========================================================
   14. CONTACT (page)
   ========================================================= */
.contact-bloc { padding: 120px 0; text-align: center; }
.contact-bloc .declaration { margin-bottom: 40px; }
.contact-bloc .valeurs-grille { margin-top: 80px; text-align: left; }

/* =========================================================
   15. PIED
   ========================================================= */
footer.wp-block-template-part { background: var(--encre); color: #fff; padding: 64px 0 56px; }
.pied-grille { display: grid; grid-template-columns: 1fr 216px 240px 260px; padding-bottom: 46px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.pied-grille > * { min-width: 0; }
.marque-badge img { width: 112px; height: 112px; transition: transform .6s var(--ease); }
.marque-badge:hover img { transform: rotate(-8deg); }
.pied-marque .pied-texte { max-width: 400px; font-size: 16px; line-height: 1.5; margin: 28px 0 18px; opacity: .92; }
.champ-mail a { width: 100%; max-width: 400px; height: 48px; display: flex; align-items: center; gap: 14px; padding: 0 6px 0 24px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .7); transition: border-color .3s, color .3s; }
.champ-mail a::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: var(--m-mail) center / contain no-repeat; mask: var(--m-mail) center / contain no-repeat; }
.champ-mail a::after { content: ""; margin-left: auto; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--rouge) var(--i-fleche-blanche) center / 14px no-repeat; }
.champ-mail a:hover { border-color: #fff; color: #fff; }
footer.wp-block-template-part h4 { font-family: var(--corps); font-size: 18px; font-weight: 500; color: #fff; margin: 6px 0 30px; }
footer.wp-block-template-part li { margin-bottom: 18px; font-size: 16px; opacity: .88; }
footer.wp-block-template-part li a:hover { color: var(--rose); }
.contacts li { display: flex; align-items: center; gap: 16px; }
.contacts li::before { content: ""; width: 22px; height: 22px; flex: none; background: currentColor; -webkit-mask: var(--m-mail) center / contain no-repeat; mask: var(--m-mail) center / contain no-repeat; }
.contacts li.ic-tel::before { -webkit-mask-image: var(--m-tel); mask-image: var(--m-tel); }
.contacts li.ic-pin::before { -webkit-mask-image: var(--m-pin); mask-image: var(--m-pin); }
.copyright { text-align: center; padding-top: 44px; font-size: 16px; font-weight: 500; }

/* Pages génériques */
.contenu-simple { padding: 200px 0 100px; }
.contenu-simple .wp-block-post-title { font-family: var(--titre); font-weight: 500; font-size: clamp(32px, 4vw, 52px); color: var(--rouge); margin: 32px 0 12px; }
.page-simple-tete { background: var(--encre); padding: 180px 0 64px; color: #fff; }

/* =========================================================
   16. APPARITIONS
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
:where(a, [tabindex]):focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

/* =========================================================
   17. RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .services-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ligne { grid-template-columns: 1fr 1fr; }
  .ligne > .wp-block-image, .ligne > .wp-block-image img { width: 100%; }
  .ligne > .wp-block-image { grid-column: 2; grid-row: 1 / span 2; }
  .ligne-droite { grid-column: 1; }
  .valeurs-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-grille { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .conteneur, .etroit { width: calc(100% - 48px); }
  .nav .nav-liens, .nav .bloc-btn { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { height: 760px; }
  .hero.hero-page { height: 560px; }
  .hero-pied { flex-wrap: wrap; gap: 24px; }
  .defiler { display: none; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio > .wp-block-group:last-child { grid-column: 1 / -1; }
  .apropos-tete, .services-grille { grid-template-columns: 1fr; }
  .apropos-tete .titre { margin-bottom: 24px; }
  .puces { margin-top: 32px; }
  .tete-section, .phares .tete-section { flex-direction: column; align-items: flex-start; }
  .bande-chiffres { grid-template-columns: 1fr; }
  .secteur-rangee { grid-template-columns: 1fr; gap: 32px; }
  .secteur-texte { border-right: 0; padding-right: 0; }
  .villes { padding-left: 0; flex-wrap: wrap; gap: 24px 40px; justify-content: flex-start; }
  .cartes-quotidien { grid-template-columns: 1fr 1fr; }
  .portraits { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .chiens-tete { height: auto; padding-bottom: 40px; }
  .portrait.bas { margin-top: 0; }
}
@media (min-width: 1001px) { .nav-panneau { display: none; } }
@media (max-width: 640px) {
  .hero { height: 720px; padding-bottom: 40px; }
  .hero.hero-page { height: 520px; }
  .marque-nom { font-size: 24px; }
  .marque-nom em { display: none; }
  .approche { padding: 88px 0 80px; }
  .trio { grid-template-columns: 1fr; }
  .trio > .wp-block-group { height: 320px; }
  .apropos, .services, .quotidien, .appel-section, .chiens, .faq { padding-bottom: 80px; }
  .bandeau-photo { height: auto; display: flex; flex-direction: column; background: var(--carte); }
  .bandeau-photo > .wp-block-image, .bandeau-photo > .wp-block-image img { height: 260px; }
  .encart { position: static; width: auto; background: none; padding: 24px; }
  .encart h3 { margin-top: 16px; }
  .services-photo, .services-photo img { height: 320px; }
  .services-cartes, .valeurs-grille, .valeurs-grille.trois { grid-template-columns: 1fr; gap: 16px; }
  .carte-service { min-height: 0; }
  .carte-service h3 { padding-top: 32px; }
  .bande-chiffres { margin-top: 80px; padding: 32px 24px; }
  .chiffres { flex-direction: column; gap: 28px; }
  .phares-boite { padding: 32px 20px 24px; }
  .ligne { grid-template-columns: 1fr; gap: 20px; }
  .ligne > .wp-block-image { grid-column: auto; grid-row: auto; }
  .ligne > .wp-block-image, .ligne > .wp-block-image img { height: 220px; }
  .ligne-gauche .lien-fleche { padding-top: 16px; }
  .ligne-droite .ligne-texte { margin-bottom: 24px; }
  .cartes-quotidien { grid-template-columns: 1fr; gap: 40px; }
  .carte-q.active { margin: -16px -16px; }
  .pagination { flex-direction: column-reverse; align-items: flex-start; gap: 24px; }
  .appel { min-height: 420px; padding: 48px 24px; }
  .portraits { grid-template-columns: 1fr; }
  .portrait { height: 400px; }
  .questions summary { padding: 24px 0; font-size: 17px; }
  .questions .wp-block-details p { padding: 0 0 24px 40px; }
  .question-boite { flex-direction: column; align-items: flex-start; }
  .pied-grille { grid-template-columns: 1fr; }
  .villes li { font-size: 22px; }
  .contact-bloc { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   V3 — d'après la maquette validée (Sansation, Tondu)
   Les polices sont déclarées dans theme.json (fontFace).
   ========================================================= */
:root {
  --espace-section: 120px;
  --m-coeur: 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.5' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10.2A4.3 4.3 0 0 1 12 7.3a4.3 4.3 0 0 1 7.5 2.5C19.5 15.4 12 20 12 20Z'/%3E%3C/svg%3E");
  --m-menu-v3: 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'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E");
  --i-suivi: 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' rx='2'/%3E%3Cpath d='M3.5 9.5h17M8 3v4M16 3v4'/%3E%3Cpath d='m8.5 14.5 2.3 2.3 4.7-4.6'/%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='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h3.5l1.7 4.3-2.2 1.4a11 11 0 0 0 5.3 5.3l1.4-2.2L19 14.5V18a2 2 0 0 1-2 2A15 15 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E");
  --i-mail-rouge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf395c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1.5'/%3E%3Cpath d='m3.5 6.5 8.5 7 8.5-7M3.5 18l6-6M20.5 18l-6-6'/%3E%3C/svg%3E");
  --i-pin: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s6.5-5.4 6.5-11A6.5 6.5 0 0 0 5.5 10c0 5.6 6.5 11 6.5 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}
.titre, .appel h2 { font-weight: 700; }
.ligne h3, .question-boite h3, footer.wp-block-template-part h4 { font-family: var(--titre); }

/* ---------- En-tête v3 (template part) ---------- */
.entete { padding-top: 28px; color: var(--creme); }
.entete-rangee { display: flex; align-items: center; gap: 32px; height: 64px; }
.marque-v3 { display: flex; align-items: center; gap: 14px; }
.marque-v3 .wp-block-site-logo { flex: none; }
.marque-v3 .wp-block-site-logo a, .marque-v3 .wp-block-site-logo img { display: block; }
.marque-v3 .wp-block-site-logo img { width: 56px !important; height: 56px !important; border-radius: 50%; background: var(--creme); padding: 2px; }
.marque-boop { font-family: 'Tondu', var(--titre); font-weight: 400; font-size: 34px; letter-spacing: .08em; line-height: 1; color: var(--creme); }
.marque-sous { font-size: 14px; line-height: 1.25; opacity: .92; color: var(--creme); }
.wp-block-navigation.nav-v3 { margin-left: auto; }
.nav-v3.wp-block-navigation .wp-block-navigation__container { display: flex; gap: 32px; }
.nav-v3.wp-block-navigation .wp-block-navigation-item__content { font-size: 16px; padding: 6px 0; color: var(--creme); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: opacity .3s; }
.nav-v3.wp-block-navigation .wp-block-navigation-item__content:hover,
.nav-v3.wp-block-navigation .wp-block-navigation-item__content.actif { text-decoration: underline; }
.burger-v3 { width: 36px; height: 36px; display: grid; place-items: center; color: var(--creme); font-size: 0; line-height: 0; cursor: pointer; flex: none; }
.burger-v3::before { content: ""; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--m-menu-v3) center / contain no-repeat; mask: var(--m-menu-v3) center / contain no-repeat; }
hr.wp-block-separator.entete-trait { height: 1px; margin: 26px 44px 0; border: 0; background: rgba(255, 235, 226, .7); opacity: 1; width: auto; max-width: none; }
.entete-panneau-zone { position: relative; }
.nav-panneau-v3 { position: absolute; right: 0; top: 12px; width: 260px; border-radius: var(--rayon); background: rgba(34, 20, 24, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.nav-panneau-v3.ouvert { max-height: 320px; }
.nav-panneau-v3 .wp-block-navigation__container { display: block; }
.nav-panneau-v3 .wp-block-navigation-item { display: block; border-top: 1px solid rgba(255, 255, 255, .1); }
.nav-panneau-v3 .wp-block-navigation-item:first-child { border-top: 0; }
.nav-panneau-v3 .wp-block-navigation-item__content { display: block; padding: 16px 24px; font-size: 16px; color: var(--creme); }

/* ---------- Héro v3 ---------- */
.hero.hero-v3 { display: block; padding-bottom: 0; background: #3b1a23; }
.hero-v3::before { background: linear-gradient(90deg, rgba(28, 14, 10, .6) 0%, rgba(28, 14, 10, .32) 55%, rgba(28, 14, 10, .12) 100%), linear-gradient(180deg, rgba(28, 14, 10, .45) 0%, rgba(28, 14, 10, 0) 30%, rgba(28, 14, 10, .35) 100%); }
.hero-v3 .hero-photo { position: absolute; inset: 0; z-index: -2; object-position: 50% 55%; }
.hero-v3 .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: inherit; }
.hero.hero-v3 > .hero-contenu { position: absolute; top: 200px; bottom: 110px; left: 0; right: 0; height: auto; display: flex; flex-direction: column; align-items: flex-start; }
.hero-v3 h1 { font-family: var(--titre); font-weight: 700; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.25; letter-spacing: 0; max-width: none; color: #fff; }
.hero-v3 .hero-intro { max-width: 640px; margin-top: 14px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; opacity: .94; color: #fff; }
.hero-contenu > .wp-block-buttons { margin-top: auto; }
.wp-block-button.btn-sombre { display: inline-block; margin: 0; }
.wp-block-button.btn-sombre .wp-block-button__link { display: inline-flex; align-items: center; height: 50px; padding: 0 30px; border-radius: 999px; background: rgba(40, 28, 28, .55); border: 1px solid rgba(255, 255, 255, .6); color: #fff; font-family: var(--corps); font-size: 18px; font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .3s, border-color .3s; }
.wp-block-button.btn-sombre .wp-block-button__link:hover { background: var(--rouge); border-color: var(--rouge); }

/* Héros des pages intérieures */
.hero.hero-v3.hero-page-v3 { height: 620px; }
.hero.hero-v3.hero-page-v3 > .hero-contenu { top: auto; bottom: 72px; justify-content: flex-end; }
.surtitre.clair { color: #fff; margin-bottom: 18px; }
.hero-page-v3 h1 { font-size: clamp(32px, 3.6vw, 52px); }
.page-a-propos .hero-v3 .hero-photo { object-position: 50% 22%; }
.page-services .hero-v3 .hero-photo { object-position: 50% 8%; }
.page-contact .hero-v3 .hero-photo { object-position: 60% 30%; }

/* Contact : photo au naturel, voile derrière le menu seulement, titre rose */
.page-contact .hero-v3::before { background: linear-gradient(180deg, rgba(28, 14, 10, .55) 0, rgba(28, 14, 10, .3) 110px, rgba(28, 14, 10, 0) 190px); }
.page-contact .hero.hero-v3.hero-page-v3 > .hero-contenu { bottom: 20px; }
.hero-titre-boite { display: inline-block; }
.page-contact .hero-v3 .surtitre.clair, .page-contact .hero-v3 h1 { color: var(--rouge); }
.page-contact .hero-v3 .hero-titre-boite .surtitre.clair { margin-bottom: 14px; }

/* ---------- Rythme vertical : 120 px entre sections (80 px mobile) ---------- */
.wp-block-post-content > section { padding-top: 0; padding-bottom: var(--espace-section); }
.wp-block-post-content > section:first-of-type { padding-top: var(--espace-section); }
.page-contact .wp-block-post-content > section.contact-v3 { padding-top: 40px; }

/* ---------- Approche ---------- */
.declaration-v3 { max-width: 780px; margin: 0 auto 56px; text-align: center; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--encre); }
.trio > .carte-v3 { justify-content: flex-start; gap: 14px; }
.trio .carte-v3 h3 { font-size: 26px; font-weight: 700; line-height: 1.2; text-transform: none; color: var(--rouge); }
.liste-tirets li { font-size: 15px; line-height: 1.45; }
.liste-tirets li::before { content: "- "; }
.carte-v3 .liste-tirets { color: var(--rouge); }
.trio > .carte-photo-v3 { justify-content: flex-end; text-align: center; }
.carte-photo-v3 p { font-size: 15px; line-height: 1.45; color: #fff; }
.carte-photo.carte-photo-v3::after { content: none; }
.carte-couleur .carte-titre-v3 { font-size: 16px; font-weight: 700; opacity: 1; padding-top: 0; }
.carte-couleur .carte-haut::after { width: 22px; height: 22px; border: 0; border-radius: 0; background: #fff; -webkit-mask: var(--m-coeur) center / contain no-repeat; mask: var(--m-coeur) center / contain no-repeat; }
.trio > .carte-couleur { justify-content: flex-start; gap: 12px; }
.carte-couleur .carte-bas { margin-top: auto; }
.carte-couleur .logo-rond, .carte-couleur .logo-rond img { width: 56px; height: 56px; border-radius: 50%; flex: none; }
.carte-couleur .logo-rond img { background: var(--creme); padding: 2px; }

/* ---------- Pourquoi ---------- */
.pourquoi-grille { display: grid; grid-template-columns: minmax(0, 1fr) 441px; gap: 31px; align-items: stretch; }
.pourquoi-photo { position: relative; min-height: 409px; border-radius: var(--rayon); overflow: hidden; isolation: isolate; }
.pourquoi-photo > .wp-block-image { position: absolute; inset: 0; z-index: -2; }
.pourquoi-photo > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.pourquoi-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 40%); }
.pourquoi-photo h2 { position: absolute; top: 22px; left: 24px; right: 24px; font-family: var(--titre); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; color: #fff; }
.pourquoi-cartes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 31px; }
.carte-mini { background: var(--carte); border-radius: 12px; padding: 20px; min-height: 189px; display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.carte-mini:hover { transform: translateY(-4px); }
.carte-mini::before { content: ""; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--rouge) var(--i-patte-blanche) center / 16px no-repeat; }
.ic-diplome::before { background-image: var(--i-diplome); }
.ic-coeur::before { background-image: var(--i-coeur); }
.ic-bulle::before { background-image: var(--i-bulle); }
.ic-maison::before { background-image: var(--i-maison); }
.ic-suivi::before { background-image: var(--i-suivi); }
.carte-mini h3 { font-family: var(--titre); font-size: 17px; font-weight: 700; color: var(--encre); margin: auto 0 8px; padding-top: 28px; }
.carte-mini p { font-size: 13px; line-height: 1.45; color: var(--doux); }

/* ---------- Prestations ---------- */
.bandeau-titre { display: flex; align-items: center; gap: 18px; height: 88px; padding: 0 28px; margin-bottom: 28px; border-radius: 12px; background: var(--rouge); color: #fff; }
.bandeau-titre .wp-block-image, .bandeau-titre .wp-block-image img { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.bandeau-titre .wp-block-image img { background: var(--creme); padding: 2px; }
.bandeau-titre h2 { font-family: var(--titre); font-weight: 700; font-size: 30px; line-height: 1; color: #fff; }
.prestations .tete-section { align-items: center; margin-bottom: 40px; }
.wp-block-button.btn-pilule.btn-petit .wp-block-button__link { height: 44px; padding: 0 5px 0 20px; gap: 12px; font-size: 15px; text-transform: none; }
.wp-block-button.btn-pilule.btn-petit .wp-block-button__link::after { width: 34px; height: 34px; }
.prestations .ligne h3 { font-family: var(--titre); font-weight: 700; }
.prix-grand { margin-top: auto; padding-top: 24px; font-family: var(--titre); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--rouge); }
.prix-grand em { display: block; margin-top: 4px; font-style: normal; font-size: 15px; font-weight: 400; color: var(--doux); }
.dl-ligne .dd.prix { color: var(--rouge); font-weight: 700; }
.note-tarifs { margin-top: 20px; text-align: center; font-size: 14px; color: var(--doux); }

/* ---------- Secteur ---------- */
.secteur-v3 .secteur-texte .wp-block-buttons { margin-top: 26px; }
.villes-toutes { display: flex; flex-wrap: wrap; align-content: center; gap: 12px 30px; padding-left: 40px; }
.villes-toutes li { font-family: var(--titre); font-size: 20px; font-weight: 700; color: #8a7f7c; }

/* ---------- Présentation (À propos) ---------- */
.presentation-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.presentation-photo { position: relative; margin: 0; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3.4; }
.presentation-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 40%; }
.presentation-photo figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: 12px; color: #fff; font-weight: 700; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.presentation-texte .titre { margin: 14px 0 24px; }
.presentation-texte .texte-doux + .texte-doux { margin-top: 14px; }
.formation { display: flex; gap: 16px; align-items: center; margin: 28px 0; padding: 20px 22px; background: var(--carte); border-radius: 12px; border-left: 4px solid var(--rouge); }
.formation::before { content: ""; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--rouge) var(--i-diplome) center / 22px no-repeat; }
.formation-titre { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--rouge); margin-bottom: 4px; }
.valeurs-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

/* ---------- Bandeau d'appel ---------- */
.bandeau-appel { display: flex; align-items: center; gap: 28px; padding: 36px 40px; border-radius: var(--rayon); background: var(--rouge) url(assets/img/lignes.svg) center / cover no-repeat; color: #fff; }
.bandeau-appel > .wp-block-image, .bandeau-appel > .wp-block-image img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.bandeau-appel > .wp-block-image img { background: var(--creme); padding: 3px; }
.bandeau-appel h2 { font-family: var(--titre); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; color: #fff; }
.bandeau-appel p { margin-top: 6px; max-width: 620px; opacity: .94; }
.bandeau-appel > .wp-block-buttons { margin-left: auto; flex: none; }

/* ---------- Galerie ---------- */
.galerie-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.galerie-grille figure { margin: 0; aspect-ratio: 1; border-radius: var(--rayon); overflow: hidden; background: #efebe4; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.galerie-grille figure:hover img { transform: scale(1.04); }

/* ---------- Contact ---------- */
.contact-intro-v3 { margin-bottom: 56px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--rouge); }
.contact-intro-v3 strong { font-weight: 700; }
.contact-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.carte-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: var(--rayon); background: var(--carte); }
.carte-contact::before { content: ""; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--rouge) var(--i-tel) center / 24px no-repeat; }
.carte-contact.ic-mail::before { background-color: var(--creme); background-image: var(--i-mail-rouge); }
.carte-contact.ic-pin::before { background-image: var(--i-pin); }
.carte-contact h2 { margin-top: 12px; font-family: var(--titre); font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rouge); }
.carte-contact .contact-valeur { font-family: var(--titre); font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.25; color: var(--encre); overflow-wrap: anywhere; }
.carte-contact p:not(.contact-valeur) { font-size: 15px; line-height: 1.5; color: var(--doux); }
.carte-contact > .wp-block-buttons { margin-top: auto; padding-top: 12px; }
.carte-contact-rouge { background: var(--rouge); color: #fff; }
.carte-contact-rouge h2, .carte-contact-rouge .contact-valeur { color: #fff; }
.carte-contact-rouge p:not(.contact-valeur) { color: rgba(255, 255, 255, .9); }

/* ---------- Responsive v3 ---------- */
@media (max-width: 1240px) {
  .pourquoi-grille { grid-template-columns: 1fr; }
  .pourquoi-cartes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .valeurs-cartes, .galerie-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .wp-block-navigation.nav-v3 { display: none; }
  .burger-v3 { margin-left: auto; }
  hr.wp-block-separator.entete-trait { margin-inline: 24px; }
  .hero.hero-v3 > .hero-contenu { top: 170px; bottom: 80px; }
  .pourquoi-cartes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .prestations .tete-section { align-items: flex-start; }
  .presentation-grille { grid-template-columns: 1fr; gap: 40px; }
  .contact-cartes { grid-template-columns: 1fr; }
  .villes-toutes { padding-left: 0; }
  .bandeau-appel { flex-wrap: wrap; }
  .bandeau-appel > .wp-block-buttons { margin-left: 0; }
}
@media (max-width: 640px) {
  :root { --espace-section: 80px; }
  .page-contact .wp-block-post-content > section.contact-v3 { padding-top: 32px; }
  .marque-sous { display: none; }
  .marque-boop { font-size: 28px; }
  .marque-v3 .wp-block-site-logo img { width: 48px !important; height: 48px !important; }
  .hero.hero-v3 > .hero-contenu { top: 150px; bottom: 48px; }
  .hero-v3 h1 br { display: none; }
  .trio .carte-v3 h3 { font-size: 24px; }
  .trio > .carte-v3 { height: auto; min-height: 0; }
  .pourquoi-photo { min-height: 300px; }
  .pourquoi-cartes { grid-template-columns: 1fr; }
  .carte-mini { min-height: 0; }
  .carte-mini h3 { padding-top: 20px; }
  .bandeau-titre { height: 72px; padding: 0 18px; }
  .bandeau-titre h2 { font-size: 24px; }
  .bandeau-titre .wp-block-image, .bandeau-titre .wp-block-image img { width: 44px; height: 44px; }
  .hero.hero-v3.hero-page-v3 { height: 540px; }
  .hero.hero-v3.hero-page-v3 > .hero-contenu { bottom: 40px; }
  .valeurs-cartes { grid-template-columns: 1fr; }
  .galerie-grille { gap: 12px; }
  .bandeau-appel { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .carte-contact { padding: 24px; }
  .villes-toutes { gap: 8px 20px; }
  .villes-toutes li { font-size: 18px; }
  .contact-intro-v3 { margin-bottom: 36px; }
  /* Contact : titre sous la photo */
  .page-contact .hero.hero-v3.hero-page-v3 { height: auto; background: var(--creme); }
  .page-contact .hero-v3 .hero-photo { position: relative; display: block; height: 440px; z-index: -2; object-position: 58% 0%; }
  .page-contact .hero-v3::before { bottom: auto; height: 440px; }
  .page-contact .hero.hero-v3.hero-page-v3 > .hero-contenu { position: static; height: auto; padding-top: 28px; }
}