/*
Theme Name: Lyon Paul'Air
Theme URI: https://lyonpaulair.fr
Author: NUMERIKME
Author URI: https://numerikme.fr
Description: Thème bloc sur mesure de Lyon Paul'Air : ciel animé, métiers en volets, cadran des solutions. Tous les textes et images se modifient dans l'éditeur de pages.
Version: 1.1.5
Requires at least: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: lyonpaulair
*/

@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(assets/polices/anton-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Anton';font-style:normal;font-weight:400;font-display:swap;src:url(assets/polices/anton-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(assets/polices/poppins-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(assets/polices/poppins-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(assets/polices/poppins-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(assets/polices/poppins-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(assets/polices/poppins-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(assets/polices/poppins-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url(assets/polices/roboto-400-i-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url(assets/polices/roboto-400-i-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(assets/polices/roboto-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-display:swap;src:url(assets/polices/roboto-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(assets/polices/roboto-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:500;font-display:swap;src:url(assets/polices/roboto-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(assets/polices/roboto-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-display:swap;src:url(assets/polices/roboto-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root :where(.is-layout-flow, .wp-block-post-content) > :where(p) { margin-block: 0 1em; }
/* ==========================================================================
   Lyon Paul'Air · maquette
   Couleurs et polices relevées sur lyonpaulair.fr
   ========================================================================== */

:root {
  --bleu: #185db9;
  --rouge: #e52554;
  --gris: #5c6a6d;
  --clair: #f4fafb;
  --blanc: #ffffff;
  --encre: #22303a;
  --degrade: linear-gradient(0deg, #185db9 19%, #e52554 100%);
  --degrade-h: linear-gradient(90deg, #e52554 0%, #185db9 100%);

  --f-titre: 'Anton', 'Impact', sans-serif;
  --f-sous: 'Poppins', system-ui, sans-serif;
  --f-texte: 'Roboto', system-ui, sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(20px, 4vw, 48px);
  --rayon: 8px;
  --sortie: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gris);
  background: var(--blanc);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; hyphens: none; text-wrap: balance; }
p { margin: 0 0 1em; }
figure { margin: 0; }
strong, .fort { color: var(--encre); font-weight: 700; }

.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--blanc); padding: 8px 14px; }

/* ---------- Titres ---------- */
.titre-section {
  font-family: var(--f-titre);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--rouge);
  letter-spacing: .005em;
}
.titre-degrade {
  font-family: var(--f-sous);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}
.trait {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--bleu);
  margin-bottom: 26px;
  transform-origin: left;
}

/* ---------- Boutons ---------- */
.bouton > .wp-block-button__link {
  --c: var(--bleu);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 2px solid var(--c);
  border-radius: var(--rayon);
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: var(--c);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s var(--sortie);
}
.bouton > .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--sortie);
}
.bouton > .wp-block-button__link::after {
  content: "";
  width: 14px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .45s var(--sortie);
}
.bouton > .wp-block-button__link:hover, .bouton > .wp-block-button__link:focus-visible { color: var(--blanc); }
.bouton > .wp-block-button__link:hover::before, .bouton > .wp-block-button__link:focus-visible::before { transform: scaleY(1); }
.bouton > .wp-block-button__link:hover::after { transform: translateX(4px); }
.bouton-clair > .wp-block-button__link { --c: var(--blanc); }
.bouton-clair > .wp-block-button__link:hover, .bouton-clair > .wp-block-button__link:focus-visible { color: var(--bleu); }

/* ---------- En-tête ---------- */
.entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--blanc);
  /* compactage au défilement : uniquement transform et opacity */
  --logo-compact: .667;
  --fond-compact: .72;
  --remonte: -18px;
  transition: transform .5s var(--sortie);
}
.entete::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bleu);
  box-shadow: 0 10px 30px rgba(12, 40, 90, .18);
  transform-origin: top;
  opacity: 0;
  transition: opacity .4s, transform .5s var(--sortie);
}
.entete-int {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px var(--gouttiere);
  display: flex;
  align-items: center;
  gap: 40px;
  transition: transform .5s var(--sortie);
}
.entete-logo img { width: 96px; height: 96px; object-fit: contain; transform-origin: left center; transition: transform .5s var(--sortie); }
.menu { display: flex; gap: 34px; margin-right: auto; }
.menu .wp-block-navigation-item__content {
  position: relative;
  font-family: var(--f-texte);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 0;
}
.menu .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--sortie);
}
.menu .wp-block-navigation-item__content:hover::after, .menu .wp-block-navigation-item__content[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.entete-devis > .wp-block-button__link { white-space: nowrap; padding: 11px 20px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-right: 8px; }
.social { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rayon); transition: transform .3s var(--sortie), background-color .3s; }
.social svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.social svg .plein { fill: currentColor; stroke: none; }
.social:hover { transform: translateY(-3px); }
.burger { display: none; }

.entete.colle::before { opacity: 1; transform: scaleY(var(--fond-compact)); }
.entete.colle .entete-int { transform: translateY(var(--remonte)); }
.entete.colle .entete-logo img { transform: scale(var(--logo-compact)); }
.entete.cache { transform: translateY(-100%); }

/* ---------- Ciel (hero) ---------- */
.ciel {
  position: relative;
  min-height: max(100svh, 760px);
  background: var(--bleu);
  color: var(--blanc);
  overflow: hidden;
  display: grid;
  isolation: isolate;
}
.ciel-nuages { position: absolute; inset: 0; z-index: -2; }
.nuages {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(100% + 1600px);
  background-repeat: repeat-x;
  will-change: transform;
  /* les PNG coupent leurs nuages sur les bords : fondu calé sur chaque tuile de 1600 px */
  --x: 0px;
  --y: 0px;
  --h: 513px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent), linear-gradient(180deg, transparent, #000 30%, #000 75%, transparent);
  -webkit-mask-size: 1600px 100%, 100% var(--h);
          mask-size: 1600px 100%, 100% var(--h);
  -webkit-mask-position: var(--x) 0, 0 var(--y);
          mask-position: var(--x) 0, 0 var(--y);
  -webkit-mask-repeat: repeat-x, no-repeat;
          mask-repeat: repeat-x, no-repeat;
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  background-position: var(--x) var(--y);
  background-size: 1600px var(--h);
}
.nuages-loin {
  --x: 0px;
  --y: 10px;
  --h: 513px;
  background-image: url(assets/img/nuages-2.png);
  opacity: .8;
  animation: derive 170s linear infinite;
}
.nuages-pres {
  --x: 800px;
  --y: calc(100% - 60px);
  --h: 687px;
  background-image: url(assets/img/nuages-1.png);
  opacity: .95;
  animation: derive 100s linear infinite;
}
@keyframes derive { to { transform: translateX(-1600px); } }

.souffle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  fill: none;
  stroke: rgba(255, 255, 255, .55);
  stroke-width: 1.6;
  stroke-linecap: round;
}
.souffle path {
  stroke-dasharray: 260 2400;
  stroke-dashoffset: 260;
  animation: vent 9s cubic-bezier(.45, .05, .35, 1) infinite;
}
.souffle path:nth-child(2) { animation-delay: 2.4s; animation-duration: 11s; stroke-width: 1.2; }
.souffle path:nth-child(3) { animation-delay: 4.8s; animation-duration: 10s; }
.souffle path:nth-child(4) { animation-delay: 6.5s; animation-duration: 12s; stroke-width: 1; }
@keyframes vent {
  0% { stroke-dashoffset: 260; opacity: 0; }
  8% { opacity: 1; }
  70% { opacity: 1; }
  100% { stroke-dashoffset: -2140; opacity: 0; }
}

.ciel-contenu {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  text-align: center;
  padding: 130px var(--gouttiere) clamp(170px, 24vw, 330px);
  will-change: transform;
}
.titre-geant {
  font-family: var(--f-titre);
  font-size: clamp(84px, 14.4vw, 230px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .005em;
  color: var(--rouge);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .95));
}
/* le dégradé est porté par chaque ligne : un enfant animé casse background-clip sur le parent */
.titre-geant em {
  display: inline-block;
  padding: .04em .03em 0;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accroche-degrade {
  margin: 18px 0 0;
  font-family: var(--f-sous);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 38px);
  line-height: 1.2;
  text-transform: uppercase;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95));
}
.skyline {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: max(1100px, 100vw);
  max-width: none;
  --descente: 0%;
  transform: translate(-50%, var(--descente));
  pointer-events: none;
  z-index: 1;
}

/* entrée du ciel (toutes les pages) */
.js .ciel .titre-geant em {
  clip-path: inset(0 0 100% 0);
  transform: translateY(40px);
  animation: monte 1.3s var(--sortie) forwards;
}
.js .ciel .titre-geant em + span { animation-delay: .18s; }
.js .ciel .accroche-degrade { opacity: 0; transform: translateY(16px); animation: apparait 1s var(--sortie) .7s forwards; }
.js .ciel .skyline { transform: translate(-50%, calc(var(--descente) + 40%)); animation: skyline 1.8s var(--sortie) .25s forwards; }
@keyframes monte { to { clip-path: inset(-20% -10% -20% -10%); transform: none; } }
@keyframes apparait { to { opacity: 1; transform: none; } }
@keyframes skyline { to { transform: translate(-50%, var(--descente)); } }

/* ---------- Ciel des pages intérieures ---------- */
.ciel { --sky-h: calc(max(1100px, 100vw) * .339); }
.ciel-page { min-height: max(86svh, 680px); }
.ciel-page .ciel-contenu { padding: 150px var(--gouttiere) calc(var(--sky-h) * .8); }
.ciel-page .titre-geant { font-size: clamp(60px, 10.5vw, 160px); }
.ciel-article .titre-geant { font-size: clamp(38px, 5.4vw, 80px); line-height: 1.04; max-width: 1100px; }
.ciel-article .titre-geant em { display: block; }
.ciel-date {
  margin: 22px 0 0;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .08em;
  color: var(--blanc);
}
.js .ciel .ciel-date { opacity: 0; animation: apparait 1s var(--sortie) .6s forwards; }

/* ---------- Photo révélée au défilement ---------- */
.revele { overflow: hidden; border-radius: var(--rayon); }
.revele img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--sortie); }
.revele.vu img { transform: scale(1); }
.js .revele { clip-path: inset(14% 10% 14% 10% round var(--rayon)); transition: clip-path 1.2s var(--sortie); }
.js .revele.vu { clip-path: inset(0 0 0 0 round var(--rayon)); }

/* ---------- Intro ---------- */

/* ---------- Défilé ---------- */
.defile {
  background: var(--bleu);
  color: var(--blanc);
  overflow: hidden;
  padding: 26px 0 30px;
  transform: rotate(-2deg);
  margin: -40px -20px 0;
  position: relative;
  z-index: 3;
}
.defile-piste {
  display: flex;
  width: max-content;
  animation: defile 38s linear infinite;
}
.defile li {
  font-family: var(--f-titre);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1;
  text-transform: uppercase;
  padding: 0 .45em;
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.defile li::after {
  content: "";
  width: .32em;
  height: .32em;
  border-radius: 50%;
  background: var(--rouge);
  margin-left: .9em;
}
.defile li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--blanc); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Métiers ---------- */

/* ---------- Bande bleue ---------- */

.coches { list-style: none; margin: 30px 0 38px; padding: 0; display: grid; gap: 14px; }
.coches li {
  position: relative;
  padding: 14px 18px 14px 58px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--rayon);
  font-family: var(--f-sous);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  color: var(--blanc);
  background: rgba(255, 255, 255, .06);
  transition: background-color .3s, transform .4s var(--sortie);
}
.coches li:hover { background: rgba(255, 255, 255, .12); transform: translateX(6px); }
.coches li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Atouts ---------- */

.entete-section { text-align: center; margin-bottom: clamp(50px, 6vw, 80px); }
.entete-section .trait { margin-inline: auto; }
.atout-num {
  font-family: var(--f-titre);
  font-size: 64px;
  line-height: 1;
  margin: 0 0 16px;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform .5s var(--sortie);
  transform-origin: left bottom;
}

/* ---------- Avis ---------- */
.avis {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(170deg, var(--clair) 60%, var(--blanc) 60%);
  padding: clamp(90px, 11vw, 150px) var(--gouttiere);
}
/* le vent qui apporte les avis */
.avis-vent {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  fill: none;
  stroke: var(--bleu);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: .35;
}
.avis-vent path { stroke-dasharray: 260 2400; stroke-dashoffset: 260; }
.avis-vent path:nth-child(2) { stroke: var(--rouge); stroke-width: 1.2; }
.avis:has(.avis-grille.vu) .avis-vent path { animation: vent 8s cubic-bezier(.45, .05, .35, 1) infinite; }
.avis:has(.avis-grille.vu) .avis-vent path:nth-child(2) { animation-delay: .35s; animation-duration: 9s; }
.avis:has(.avis-grille.vu) .avis-vent path:nth-child(3) { animation-delay: .7s; animation-duration: 10s; }
.avis-tete {
  max-width: var(--largeur);
  margin: 0 auto clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.avis-google a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 12px;
  border: 1px solid #e3ebf0;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 20px 40px -26px rgba(24, 60, 120, .5);
  text-decoration: none;
  transition: transform .5s var(--sortie), box-shadow .5s var(--sortie), border-color .3s;
}
.avis-google a:hover, .avis-google a:focus-visible { transform: translateY(-4px); border-color: #cfdde6; box-shadow: 0 30px 50px -26px rgba(24, 60, 120, .55); }
.avis-google-logo { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--clair); flex: none; }
.avis-google-logo svg { width: 28px; height: 28px; transition: transform .6s var(--sortie); }
.avis-google a:hover .avis-google-logo svg { transform: rotate(-12deg) scale(1.08); }
.avis-google-texte { display: grid; gap: 5px; }
.avis-google-etoiles { display: flex; gap: 3px; }
.avis-google-etoiles i {
  width: 17px; height: 17px;
  background: #f5b400;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.avis-google a:hover .avis-google-etoiles i { animation: etoile .6s var(--sortie) both; }
.avis-google a:hover .avis-google-etoiles i:nth-child(2) { animation-delay: .06s; }
.avis-google a:hover .avis-google-etoiles i:nth-child(3) { animation-delay: .12s; }
.avis-google a:hover .avis-google-etoiles i:nth-child(4) { animation-delay: .18s; }
.avis-google a:hover .avis-google-etoiles i:nth-child(5) { animation-delay: .24s; }
@keyframes etoile { 40% { transform: translateY(-5px) scale(1.2); } }
.avis-google-lien { font-family: var(--f-sous); font-weight: 600; font-size: 16px; line-height: 1.2; color: var(--bleu); }
.avis-google-fleche {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--bleu);
  color: var(--blanc);
  flex: none;
  transition: background-color .3s, transform .5s var(--sortie);
}
.avis-google-fleche svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.avis-google a:hover .avis-google-fleche { background: var(--rouge); transform: translateX(4px); }
.avis-grille {
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}
.temoignage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px 30px;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .45);
  --r: 0deg;
  --d: 0s;
  transition: translate .6s var(--sortie), rotate .6s var(--sortie), scale .6s var(--sortie), box-shadow .6s var(--sortie);
}
/* les cartes arrivent portées par le vent, se posent de travers puis flottent */
.temoignage:nth-child(1) { --r: -1.2deg; --d: 0s; }
.temoignage:nth-child(2) { --r: 1deg; --d: .2s; }
.temoignage:nth-child(3) { --r: -.7deg; --d: .4s; }
.js .avis-grille:not(.vu) .temoignage { opacity: 0; }
.js .avis-grille.vu .temoignage {
  animation: portee 1.5s var(--sortie) var(--d) both, flotte 7s ease-in-out calc(var(--d) + 1.5s) infinite;
}
.js .avis-grille.vu .temoignage:nth-child(2) { animation-duration: 1.5s, 8s; }
.js .avis-grille.vu .temoignage:nth-child(3) { animation-duration: 1.5s, 6.2s; }
@keyframes portee {
  0% { opacity: 0; transform: translate(200px, 60px) rotate(12deg); }
  55% { opacity: 1; transform: translate(-12px, -8px) rotate(calc(var(--r) - 3deg)); }
  100% { opacity: 1; transform: translate(0, 0) rotate(var(--r)); }
}
@keyframes flotte {
  0%, 100% { transform: translate(0, 0) rotate(var(--r)); }
  50% { transform: translate(0, -8px) rotate(calc(var(--r) * -.4)); }
}
.temoignage:hover { translate: 0 -10px; rotate: calc(var(--r) * -1); scale: 1.02; box-shadow: 0 40px 70px -34px rgba(24, 60, 120, .5); }
.temoignage::after {
  content: "“";
  position: absolute;
  right: 22px; top: -6px;
  font-family: var(--f-titre);
  font-size: 140px;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .2;
  transition: opacity .8s var(--sortie) calc(var(--d) + .7s), transform 1s var(--sortie) calc(var(--d) + .7s);
}
.js .avis-grille:not(.vu) .temoignage::after { opacity: 0; transform: translateY(24px) scale(.5) rotate(-20deg); }
.temoignage-grand { background: var(--bleu); }
.temoignage.temoignage-grand .temoignage-citation { color: var(--blanc); font-size: 21px; }
.temoignage.temoignage-grand .temoignage-nom { color: var(--blanc); }
.temoignage-grand::after { background: none; color: var(--blanc); opacity: .18; }
.temoignage .temoignage-citation { margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: var(--encre); flex: 1; }
.temoignage .temoignage-nom { display: flex; align-items: center; gap: 12px; font-family: var(--f-sous); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--bleu); }
.initiales { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--degrade-h); color: var(--blanc); font-size: 14px; }
.initiales::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--rouge); opacity: 0; }
.temoignage-grand .initiales::after { border-color: var(--blanc); }
.avis-grille.vu .initiales::after { animation: onde 1.6s ease-out calc(var(--d) + 1.4s) 2; }
@keyframes onde { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.etoiles { display: flex; gap: 4px; margin-bottom: 18px; }
.etoiles i {
  width: 20px; height: 20px;
  background: #f5b400;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
  --i: 0;
  transition: transform .7s var(--sortie), opacity .3s;
  transition-delay: calc(var(--d) + .9s + var(--i) * .09s);
}
.js .avis-grille:not(.vu) .etoiles i { transform: scale(0) rotate(-140deg); opacity: 0; }
.etoiles i:nth-child(2) { --i: 1; }
.etoiles i:nth-child(3) { --i: 2; }
.etoiles i:nth-child(4) { --i: 3; }
.etoiles i:nth-child(5) { --i: 4; }

/* ---------- FAQ ---------- */
.faq { max-width: 960px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gouttiere); }
.faq-liste { display: grid; gap: 12px; }
.faq details {
  border: 1px solid #dfe8ec;
  border-radius: var(--rayon);
  background: var(--blanc);
  transition: border-color .3s, box-shadow .4s;
  interpolate-size: allow-keywords;
}
.faq details[open] { border-color: var(--bleu); box-shadow: 0 20px 40px -30px rgba(24, 60, 120, .5); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--bleu);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--clair) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M11 17h12M17 11v12' stroke='%23185db9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .45s var(--sortie), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: #e3eefb; }
.faq summary:hover { color: var(--rouge); }
.faq details p { padding: 0 26px 24px; margin: 0; }
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size .5s var(--sortie), content-visibility .5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

/* ---------- Appel : devis gratuit ---------- */
.cta {
  background: linear-gradient(170deg, var(--clair) 58%, var(--blanc) 58%);
  padding: clamp(90px, 11vw, 160px) var(--gouttiere) clamp(40px, 5vw, 70px);
  overflow: hidden;
}
.cta-int {
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.cta-titre {
  font-family: var(--f-titre);
  font-size: clamp(76px, 10.5vw, 170px);
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cta-titre em {
  display: inline-block;
  padding: .04em .02em 0;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-texte p { font-family: var(--f-sous); font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--encre); max-width: 34ch; }
.cta-bouton > .wp-block-button__link { margin-top: 18px; padding: 17px 34px; font-size: 16px; transition: color .35s var(--sortie), translate .5s var(--sortie); }

/* le climatiseur : voyant, volet et souffle s'animent à l'entrée ; l'appareil suit la souris */
.cta-clim { perspective: 1200px; }
.clim {
  width: 100%;
  height: auto;
  overflow: visible;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--sortie);
}
.clim-corps { filter: drop-shadow(0 26px 30px rgba(24, 60, 120, .22)); stroke: #dfe8ec; stroke-width: 1.5; }
.clim-voyant { fill: #c9d6de; transition: fill .4s .6s; }
.clim-volet { transform-box: fill-box; transform-origin: 50% 0; transition: transform 1.2s var(--sortie) .5s; }
.clim-souffle path {
  fill: none;
  stroke: url(#flux);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 110 170;
  opacity: 0;
  transition: opacity 1s .8s, stroke-width .4s;
  animation: souffle 2.6s linear infinite paused;
}
.clim-souffle path:nth-child(even) { animation-duration: 3.1s; stroke-dasharray: 80 200; }
.clim-souffle path:nth-child(3n) { animation-duration: 2.2s; }
.clim-souffle path:nth-child(2) { animation-delay: -.7s; }
.clim-souffle path:nth-child(3) { animation-delay: -1.6s; }
.clim-souffle path:nth-child(4) { animation-delay: -.3s; }
.clim-souffle path:nth-child(5) { animation-delay: -2.1s; }
.clim-souffle path:nth-child(6) { animation-delay: -1.1s; }
.clim-souffle path:nth-child(7) { animation-delay: -2.4s; }
.clim-souffle path:nth-child(8) { animation-delay: -.9s; }
.clim-souffle path:nth-child(9) { animation-delay: -1.8s; }
.clim-souffle path:nth-child(10) { animation-delay: -.5s; }
@keyframes souffle { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -280; } }
.clim-cone { opacity: 0; transition: opacity 1.4s .7s; }
.cta-clim.vu .clim-cone { opacity: 1; animation: cone 3.2s ease-in-out 2s infinite; }
@keyframes cone { 50% { opacity: .55; } }
.cta-clim.vu .clim-souffle path { opacity: 1; }
.cta-clim.vu .clim-voyant { fill: var(--bleu); animation: voyant 2.4s ease-in-out 1.2s infinite; }
.cta-clim.vu .clim-volet { transform: translateY(7px) scaleY(1.9); }
.cta-clim.vu .clim-souffle path { animation-play-state: running; }
.cta:hover .clim-souffle path { stroke-width: 4.2; }
.cta:hover .clim-volet { transform: translateY(10px) scaleY(2.3); }
@keyframes voyant { 50% { fill: var(--rouge); } }
.js .cta-titre em { clip-path: inset(0 0 100% 0); transform: translateY(30px); transition: clip-path 1.1s var(--sortie), transform 1.1s var(--sortie); }
.js .cta-titre em + span { transition-delay: .12s; }
.js .cta.vu .cta-titre em { clip-path: inset(-20% -10% -20% -10%); transform: none; }
.js .cta-texte p, .js .cta-bouton > .wp-block-button__link { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--sortie) .35s, transform .9s var(--sortie) .35s, color .35s; }
.js .cta.vu .cta-texte p, .js .cta.vu .cta-bouton > .wp-block-button__link { opacity: 1; transform: none; }
/* ---------- Pied de page ---------- */
/* Lyon se dresse au-dessus du pied, au dégradé du logo ; sa base bleue se fond dans le pied */
:root { --ville-h: calc(max(900px, 100vw) * .339); }
main { padding-bottom: calc(var(--ville-h) * .92); }
.pied { position: relative; color: rgba(255, 255, 255, .88); }
.pied-ville {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 2px);
  width: max(900px, 100vw);
  height: var(--ville-h);
  transform: translateX(-50%);
  background: var(--degrade);
  -webkit-mask: url(assets/img/skyline.png) center bottom / 100% auto no-repeat;
          mask: url(assets/img/skyline.png) center bottom / 100% auto no-repeat;
  pointer-events: none;
  transition: clip-path 1.8s var(--sortie);
}
.js .pied-ville { clip-path: inset(100% 0 0 0); }
.js .pied-ville.vu { clip-path: inset(0 0 0 0); }
.pied-corps {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bleu);
  padding: clamp(50px, 6vw, 80px) var(--gouttiere) 0;
}
.pied-nuages {
  --y: 40px;
  z-index: -1;
  background-image: url(assets/img/nuages-2.png);
  opacity: .22;
  animation: derive 140s linear infinite;
}
.pied-int { max-width: var(--largeur); margin: 0 auto; }

.pied-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 30px 60px;
  padding-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.pied-contact { display: grid; gap: 8px; text-decoration: none; color: var(--blanc); }
.pied-etiquette { font-family: var(--f-sous); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.pied-tel, .pied-mail {
  position: relative;
  width: fit-content;
  line-height: 1;
  background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 4px no-repeat;
  padding-bottom: 10px;
  transition: background-size .6s var(--sortie);
}
.pied-tel { font-family: var(--f-titre); font-size: clamp(52px, 7.4vw, 112px); letter-spacing: .01em; }
.pied-mail { font-family: var(--f-sous); font-weight: 700; font-size: clamp(20px, 2.3vw, 32px); }
.pied-contact:hover .pied-tel, .pied-contact:hover .pied-mail,
.pied-contact:focus-visible .pied-tel, .pied-contact:focus-visible .pied-mail { background-size: 100% 4px; }

.pied-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding: clamp(40px, 5vw, 60px) 0 clamp(20px, 3vw, 30px);
  position: relative;
  z-index: 2;
}
.pied-marque { display: flex; gap: 28px; align-items: flex-start; }
.pied-marque img { width: 110px; height: 110px; object-fit: contain; flex: none; }
.pied-marque p:not(.pied-titre) { max-width: 34ch; font-size: 16px; line-height: 1.55; }
.pied-titre { font-family: var(--f-titre); font-size: 28px; line-height: 1; text-transform: uppercase; color: var(--blanc); margin-bottom: 12px; }
.pied-social { display: flex; gap: 10px; margin-top: 18px; color: var(--blanc); }
.pied-social .social { border: 1.5px solid rgba(255, 255, 255, .45); transition: transform .3s var(--sortie), background-color .3s, color .3s; }
.pied-social .social:hover { background: var(--blanc); color: var(--bleu); }
.pied-plan { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 8px 24px; }
.pied-plan .pied-titre { grid-column: 1 / -1; }
.pied-plan a {
  width: fit-content;
  font-family: var(--f-sous);
  font-weight: 500;
  font-size: 15px;
  color: var(--blanc);
  text-decoration: none;
  transition: transform .4s var(--sortie), color .3s;
}
/* la flèche glisse depuis la gauche et le lien se décale avec elle : uniquement transform et opacity */
.pied-plan a { position: relative; }
.pied-plan a::before { content: "→"; position: absolute; left: -1.3em; opacity: 0; transform: translateX(-8px); transition: transform .4s var(--sortie), opacity .3s; }
.pied-plan a:hover, .pied-plan a:focus-visible { transform: translateX(1.3em); }
.pied-plan a:hover::before, .pied-plan a:focus-visible::before { opacity: 1; transform: none; }

/* Le grand nom : lettres détourées qui ondulent, la souris les soulève et les remplit */
.pied-mot {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1500px;
  font-family: var(--f-titre);
  font-size: clamp(64px, 16.4vw, 260px);
  line-height: .86;
  text-transform: uppercase;
  user-select: none;
  padding-top: .12em;
  margin-top: clamp(24px, 4vw, 56px);
}
.js .pied-mot span:not(.espace) { opacity: 0; top: .45em; }
.js .pied-mot.vu span { opacity: 1; top: 0; }
.pied-mot span {
  --p: 0;
  display: inline-block;
  pointer-events: none; /* soulevées, les lettres ne doivent jamais bloquer les liens au-dessus */
  color: rgba(255, 255, 255, calc(.06 + var(--p) * .94));
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6);
  position: relative;
  top: 0;
  translate: 0 calc(var(--p) * -.14em);
  animation: vague 5s ease-in-out infinite;
  transition: translate .5s var(--sortie), color .4s, top 1.1s var(--sortie), opacity .8s;
}
.pied-mot .espace { width: .18em; -webkit-text-stroke: 0; }
.pied-mot span:nth-child(2) { animation-delay: -.3s; }
.pied-mot span:nth-child(3) { animation-delay: -.6s; }
.pied-mot span:nth-child(4) { animation-delay: -.9s; }
.pied-mot span:nth-child(6) { animation-delay: -1.5s; }
.pied-mot span:nth-child(7) { animation-delay: -1.8s; }
.pied-mot span:nth-child(8) { animation-delay: -2.1s; }
.pied-mot span:nth-child(9) { animation-delay: -2.4s; }
.pied-mot span:nth-child(10) { animation-delay: -2.7s; }
.pied-mot span:nth-child(11) { animation-delay: -3s; }
.pied-mot span:nth-child(12) { animation-delay: -3.3s; }
.pied-mot span:nth-child(13) { animation-delay: -3.6s; }
.pied-mot.vu span:nth-child(1) { transition-delay: 0s, 0s, 0.00s, 0.00s; }
.pied-mot.vu span:nth-child(2) { transition-delay: 0s, 0s, 0.05s, 0.05s; }
.pied-mot.vu span:nth-child(3) { transition-delay: 0s, 0s, 0.10s, 0.10s; }
.pied-mot.vu span:nth-child(4) { transition-delay: 0s, 0s, 0.15s, 0.15s; }
.pied-mot.vu span:nth-child(5) { transition-delay: 0s, 0s, 0.20s, 0.20s; }
.pied-mot.vu span:nth-child(6) { transition-delay: 0s, 0s, 0.25s, 0.25s; }
.pied-mot.vu span:nth-child(7) { transition-delay: 0s, 0s, 0.30s, 0.30s; }
.pied-mot.vu span:nth-child(8) { transition-delay: 0s, 0s, 0.35s, 0.35s; }
.pied-mot.vu span:nth-child(9) { transition-delay: 0s, 0s, 0.40s, 0.40s; }
.pied-mot.vu span:nth-child(10) { transition-delay: 0s, 0s, 0.45s, 0.45s; }
.pied-mot.vu span:nth-child(11) { transition-delay: 0s, 0s, 0.50s, 0.50s; }
.pied-mot.vu span:nth-child(12) { transition-delay: 0s, 0s, 0.55s, 0.55s; }
.pied-mot.vu span:nth-child(13) { transition-delay: 0s, 0s, 0.60s, 0.60s; }
@keyframes vague { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.035em); } }

.pied-fin {
  max-width: var(--largeur);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px;
}
.pied-fin p { margin: 0; }
.pied-remonter {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  transition: transform .5s var(--sortie);
}
.pied-remonter svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pied-remonter:hover { transform: translateY(-5px); }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */

.solution-num {
  font-family: var(--f-titre);
  font-size: clamp(80px, 9vw, 130px);
  line-height: .85;
  margin: 0 0 14px;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.avantages { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.avantages li {
  position: relative;
  padding: 13px 16px 13px 54px;
  border-radius: var(--rayon);
  background: var(--clair);
  font-family: var(--f-sous);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--encre);
  transition: transform .4s var(--sortie), background-color .3s;
}
.avantages li:hover { transform: translateX(6px); }
.avantages li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ---------- Nous connaitre : la phrase qui s’allume ---------- */
.manifeste-texte {
  margin: 0;
  font-family: var(--f-sous);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.22;
  color: var(--bleu);
  text-wrap: balance;
}
.mot { opacity: .16; transition: opacity .5s, color .5s; }
.mot.allume { opacity: 1; }
.mot.accent.allume { color: var(--rouge); }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 10vw, 140px) var(--gouttiere); background: linear-gradient(170deg, var(--blanc) 40%, var(--clair) 40%); }
.contact-int {
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.contact-infos { display: grid; gap: 18px; }
.coordonnee {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 24px 50px -32px rgba(24, 60, 120, .45);
  text-decoration: none;
  transition: transform .5s var(--sortie), box-shadow .5s var(--sortie);
}
.coordonnee:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(24, 60, 120, .5); }
.coordonnee[data-anim].vu:hover { transform: translateY(-5px); }
.coordonnee-icone {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--degrade-h);
  transition: transform .6s var(--sortie);
}
.coordonnee:hover .coordonnee-icone { transform: rotate(-12deg) scale(1.06); }
.coordonnee-icone svg { width: 26px; height: 26px; fill: none; stroke: var(--blanc); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.coordonnee-titre { font-family: var(--f-sous); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.coordonnee-valeur { font-family: var(--f-sous); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); color: var(--bleu); word-break: break-word; }
.coordonnee-tel { font-family: var(--f-titre); font-weight: 400; font-size: clamp(30px, 3vw, 40px); line-height: 1.1; letter-spacing: .02em; }
.zone {
  position: relative;
  overflow: hidden;
  padding: 34px 30px 190px;
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--blanc);
}
.zone-titre { font-family: var(--f-titre); font-size: 40px; line-height: 1; text-transform: uppercase; margin-bottom: 12px; }
.zone p:not(.zone-titre) { font-family: var(--f-sous); font-weight: 500; font-size: 17px; line-height: 1.5; }
.zone p { position: relative; z-index: 1; }
.zone img { position: absolute; left: 0; bottom: -2px; width: 135%; max-width: none; transition: transform 8s linear; }
.zone:hover img { transform: translateX(-30%); }

.formulaire {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 40px 80px -40px rgba(24, 60, 120, .45);
}
.formulaire-titre {
  grid-column: 1 / -1;
  font-family: var(--f-titre);
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 6px;
}
.champ { display: grid; gap: 7px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-family: var(--f-sous); font-weight: 600; font-size: 14px; color: var(--encre); }
.champ label span { color: var(--rouge); }
.champ input, .champ textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d9e4ea;
  border-radius: var(--rayon);
  background: var(--clair);
  font: inherit;
  font-size: 16px;
  color: var(--encre);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.champ textarea { resize: vertical; min-height: 150px; }
.champ input:hover, .champ textarea:hover { border-color: #b8cbd6; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); background: var(--blanc); box-shadow: 0 0 0 4px rgba(24, 93, 185, .14); }
.formulaire .bouton > .wp-block-button__link { justify-self: start; cursor: pointer; background: none; font-size: 16px; padding: 15px 34px; }
.bouton-plein > .wp-block-button__link { color: var(--blanc); }
.bouton-plein > .wp-block-button__link::before { transform: scaleY(1); }
.bouton-plein > .wp-block-button__link:hover, .bouton-plein > .wp-block-button__link:focus-visible { color: var(--bleu); }
.bouton-plein > .wp-block-button__link:hover::before, .bouton-plein > .wp-block-button__link:focus-visible::before { transform: scaleY(0); transform-origin: top; }

/* ---------- Blog ---------- */
.articles {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) var(--gouttiere);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.carte-lien {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .45);
  overflow: hidden;
  text-decoration: none;
  transition: transform .5s var(--sortie), box-shadow .5s var(--sortie);
}
.carte-lien:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -34px rgba(24, 60, 120, .5); }
.carte-photo { aspect-ratio: 16 / 11; overflow: hidden; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sortie); }
.carte-lien:hover .carte-photo img { transform: scale(1.07); }
.carte-texte { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 32px; }
.carte-date { font-family: var(--f-sous); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--rouge); margin-bottom: 12px; }
.carte-texte h2 { font-family: var(--f-sous); font-weight: 700; font-size: clamp(22px, 2vw, 27px); line-height: 1.25; color: var(--bleu); margin-bottom: 16px; transition: color .3s; }
.carte-lien:hover h2 { color: var(--rouge); }
.carte-texte p:not(.carte-date) { font-size: 16px; flex: 1; }
.carte-suite { font-family: var(--f-sous); font-weight: 600; color: var(--bleu); align-self: start; background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--sortie); }
.carte-lien:hover .carte-suite { background-size: 100% 2px; }
.js .articles [data-anim]:nth-child(2) { transition-delay: .12s; }

/* ---------- Article ---------- */
.article { padding: clamp(70px, 9vw, 120px) var(--gouttiere) clamp(80px, 10vw, 140px); }
.article-photos {
  max-width: 1100px;
  margin: 0 auto clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.article-photos figure { aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .5); }
.article-photos figure:nth-child(2) { transform: translateY(-34px); }
.js .article-photos .revele:nth-child(2) { transition-delay: .1s; }
.js .article-photos .revele:nth-child(3) { transition-delay: .2s; }
.article-corps { max-width: 760px; margin: 0 auto; font-size: 18px; }
.article-chapeau { font-family: var(--f-sous); font-weight: 500; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--encre); }
.article-corps h2 {
  font-family: var(--f-sous);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--bleu);
  margin: 2em 0 .7em;
}
.article-corps h2:first-child { margin-top: 0; }
.article-corps ul { padding-left: 1.2em; margin: 0 0 1em; }
.article-corps li { margin-bottom: .5em; }
.article-corps li::marker { color: var(--rouge); }
.article-corps .liste-emoji { list-style: none; padding: 0; }
.article-corps .bouton > .wp-block-button__link { margin-top: 20px; }
.astuce { padding: 22px 26px; border-radius: var(--rayon); background: var(--clair); color: var(--encre); margin: 1.6em 0; }
.article-nav { max-width: 760px; margin: clamp(60px, 8vw, 90px) auto 0; padding-top: 30px; border-top: 1px solid #e3eaee; }
.article-nav-lien { display: grid; gap: 6px; text-decoration: none; max-width: 480px; }
.article-nav-suivant { margin-left: auto; text-align: right; }
.article-nav-sens { font-family: var(--f-sous); font-weight: 600; font-size: 14px; color: var(--rouge); }
.article-nav-titre { font-family: var(--f-sous); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--bleu); transition: color .3s; }
.article-nav-lien:hover .article-nav-titre { color: var(--rouge); }

/* ---------- Politique de confidentialité ---------- */
.texte-legal { max-width: 820px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gouttiere) clamp(80px, 10vw, 140px); font-size: 16.5px; }
.texte-legal-maj { font-family: var(--f-sous); font-weight: 600; font-size: 14px; letter-spacing: .06em; color: var(--rouge); }
.texte-legal h2 { font-family: var(--f-sous); font-weight: 700; font-size: clamp(22px, 2.2vw, 27px); color: var(--bleu); margin: 2.2em 0 .7em; }
.texte-legal h3 { font-family: var(--f-sous); font-weight: 600; font-size: 18px; color: var(--encre); margin: 1.6em 0 .5em; }
.texte-legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.texte-legal li { margin-bottom: .35em; }
.texte-legal li::marker { color: var(--rouge); }
.texte-legal a { color: var(--bleu); }

@media (max-width: 900px) {  .contact-int { grid-template-columns: 1fr; }

  .articles { grid-template-columns: 1fr; }

  .formulaire { grid-template-columns: 1fr; }
  .coordonnee { padding: 20px; column-gap: 14px; }
  .coordonnee-icone { width: 48px; height: 48px; }
  .coordonnee-valeur { font-size: 16px; word-break: normal; }
  .coordonnee-tel { font-size: 30px; }
  .article-photos { grid-template-columns: 1fr 1fr; }
  .article-photos figure:nth-child(2) { transform: none; }
  .article-photos figure:nth-child(3) { display: none; }
  .article-corps { font-size: 17px; }
}

/* ==========================================================================
   Nous connaitre · proposition 2 (scènes au défilement)
   ========================================================================== */
@property --ouvre { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --bascule { syntax: '<number>'; inherits: true; initial-value: 0; }

/* ---------- 1. L'histoire ---------- */
.histoire { position: relative; height: 340vh; background: var(--blanc); }
.histoire-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: calc(var(--largeur) + 2 * var(--gouttiere));
  margin: 0 auto;
  padding: 100px var(--gouttiere) 60px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.histoire-visuel {
  position: relative;
  justify-self: center;
  height: min(74vh, 660px);
  aspect-ratio: 4 / 5;
}
/* la grille ronde d'une bouche d'aération, qui s'efface quand elle s'ouvre */
.histoire-grille {
  position: absolute;
  left: 50%; top: 30%;
  width: 96%;
  translate: -50% -50%;
  fill: none;
  stroke: var(--bleu);
  stroke-width: 1.5;
  opacity: calc(1 - var(--ouvre) * 1.4);
  transform: scale(calc(.62 + var(--ouvre) * .7)) rotate(calc(var(--ouvre) * 60deg));
}
.histoire-grille circle:nth-child(odd) { stroke: var(--rouge); stroke-dasharray: 4 10; }
.histoire-portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--rayon);
  clip-path: circle(calc(19% + var(--ouvre) * 70%) at 50% 30%);
  box-shadow: 0 40px 80px -30px rgba(24, 60, 120, calc(var(--ouvre) * .5));
}
.histoire-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(calc(1.3 - var(--ouvre) * .3));
}
.histoire-textes { position: relative; display: grid; align-items: center; min-height: 60vh; }
.histoire-temps { grid-area: 1 / 1; }
.histoire-manifeste {
  opacity: calc(1 - var(--bascule));
  transform: translateY(calc(var(--bascule) * -50px));
}
.histoire-fondateur {
  opacity: var(--bascule);
  transform: translateY(calc((1 - var(--bascule)) * 50px));
}
.histoire .manifeste-texte { text-align: left; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.2; }
.histoire-nom {
  font-family: var(--f-titre);
  font-size: clamp(58px, 6.6vw, 108px);
  line-height: .94;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.histoire-nom em {
  display: block;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: .04em;
}
.histoire-nom em + span { translate: calc((1 - var(--bascule)) * 60px) 0; }
.histoire-role {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 18px;
  color: var(--bleu);
  margin-bottom: 22px;
}
.histoire-role::before { width: 52px; height: 52px; object-fit: contain; }
.histoire-fondateur .fort { margin: 0 0 .3em; font-size: 18px; }
.histoire-progression {
  position: absolute;
  left: var(--gouttiere);
  right: var(--gouttiere);
  bottom: 30px;
  height: 3px;
  border-radius: 3px;
  background: #e3ebf0;
  overflow: hidden;
}
.histoire-progression span {
  display: block;
  height: 100%;
  background: var(--degrade-h);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* ---------- 2. Les autocollants ---------- */
@property --pli { syntax: '<number>'; inherits: true; initial-value: 0; }
.etiquettes {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--bleu);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
  padding: clamp(130px, 14vw, 190px) var(--gouttiere);
}
.etiquettes-nuages { --y: 30px; z-index: -1; background-image: url(assets/img/nuages-2.png); opacity: .3; animation: derive 150s linear infinite; }
.etiquettes-int {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.etiquette {
  display: grid;
  justify-items: center;
  gap: 30px;
  text-align: center;
  text-decoration: none;
  --r: -3deg;
}
.etiquette + .etiquette { --r: 2.5deg; }
.etiquette h3 { font-family: var(--f-sous); font-weight: 700; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.35; color: var(--blanc); max-width: 22ch; }

/* l'autocollant : coin inférieur droit légèrement décollé, qui se décolle au survol */
.autocollant {
  --pli: .18;
  position: relative;
  width: min(100%, 380px);
  rotate: var(--r);
  filter: drop-shadow(0 18px 22px rgba(10, 30, 70, .28));
  transition: --pli .7s var(--sortie), translate .6s var(--sortie), rotate .6s var(--sortie), filter .6s;
}
.autocollant-papier {
  display: grid;
  place-items: center;
  height: 210px;
  padding: 28px 34px;
  border-radius: var(--rayon);
  background: var(--blanc);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pli) * 64px), calc(100% - var(--pli) * 64px) 100%, 0 100%);
}
/* le revers du coin replié, hors de la découpe */
.autocollant::after {
  content: "";
  position: absolute;
  right: 0; bottom: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #f4f7f9 20%, #cfdbe2 70%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform-origin: 100% 100%;
  transform: scale(var(--pli));
}
.etiquette:hover .autocollant, .etiquette:focus-visible .autocollant {
  --pli: 1;
  translate: 0 -8px;
  rotate: calc(var(--r) * .4);
  filter: drop-shadow(0 30px 30px rgba(10, 30, 70, .35));
}
.autocollant img { width: 100%; height: auto; }
.autocollant-google { gap: 16px; align-content: center; }
.autocollant-g svg { width: 72px; height: 72px; display: block; }
.autocollant-etoiles { display: flex; gap: 6px; }
.autocollant-etoiles i {
  width: 28px; height: 28px;
  background: #f5b400;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.6 7.1.6-5.4 4.7 1.6 7L12 17.3 5.8 20.9l1.6-7L2 9.2l7.1-.6z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.etiquette:hover .autocollant-etoiles i { animation: scintille .7s var(--sortie) both; }
.etiquette:hover .autocollant-etoiles i:nth-child(2) { animation-delay: .07s; }
.etiquette:hover .autocollant-etoiles i:nth-child(3) { animation-delay: .14s; }
.etiquette:hover .autocollant-etoiles i:nth-child(4) { animation-delay: .21s; }
.etiquette:hover .autocollant-etoiles i:nth-child(5) { animation-delay: .28s; }
@keyframes scintille { 40% { transform: scale(1.3) rotate(18deg); filter: brightness(1.2); } }

/* à l'arrivée, chaque autocollant se colle */
.js .etiquette:not(.vu) .autocollant { opacity: 0; }
.js .etiquette:not(.vu) h3 { opacity: 0; transform: translateY(16px); }
.etiquette h3 { transition: opacity .8s var(--sortie) .5s, transform .8s var(--sortie) .5s; }
.etiquette.vu .autocollant { animation: colle .9s cubic-bezier(.2, .9, .3, 1) both; }
.etiquette.vu + .etiquette.vu .autocollant, .etiquette.vu + .etiquette.vu h3 { animation-delay: .25s; transition-delay: .75s; }
@keyframes colle {
  0% { opacity: 0; transform: scale(1.5) rotate(-10deg) translateY(-30px); filter: drop-shadow(0 60px 50px rgba(10, 30, 70, .2)); }
  55% { opacity: 1; transform: scale(.96) rotate(0deg); }
  75% { transform: scale(1.02); }
  100% { opacity: 1; transform: none; }
}

/* ---------- 3. Le travelling ---------- */
.travelling { position: relative; height: 280vh; background: var(--blanc); }
.travelling-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.travelling-piste {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 90px var(--gouttiere) 40px;
  transform: translateX(calc(var(--p, 0) * var(--dist, 0) * -1px));
  will-change: transform;
}
.travelling-photo {
  flex: none;
  overflow: hidden;
  border-radius: var(--rayon);
  box-shadow: 0 40px 70px -40px rgba(24, 60, 120, .5);
}
.travelling-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: translateX(calc((var(--p, .5) - .5) * -70px)) scale(1.18);
}
.tp-1 { width: 34vw; height: 64vh; }
.tp-2 { width: 25vw; height: 42vh; align-self: flex-start; margin-top: 14vh; }
.tp-3 { width: 46vw; height: 52vh; }
.tp-4 { width: 28vw; height: 68vh; }
.tp-5 { width: 36vw; height: 44vh; align-self: flex-end; margin-bottom: 10vh; }

/* ---------- Mobile et mouvements réduits : tout se lit à plat ---------- */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .histoire { height: auto; --bascule: 1; }
  .histoire-scene { position: relative; height: auto; grid-template-columns: 1fr; padding: 80px var(--gouttiere); }
  .histoire-visuel { height: auto; width: min(100%, 420px); }
  .histoire { transition: --ouvre 1.8s var(--sortie); }
  .histoire.vu { --ouvre: 1; }
  .histoire-textes { min-height: 0; gap: 60px; }
  .histoire-temps { grid-area: auto; }
  .histoire-manifeste, .histoire-fondateur { opacity: 1; transform: none; }
  .histoire-nom em + span { translate: none; }
  .histoire-progression { display: none; }
  .travelling { height: auto; }
  .travelling-scene { position: relative; height: auto; }
  .travelling-piste { transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 20px; padding-bottom: 80px; width: 100%; }
  .travelling-photo { scroll-snap-align: center; width: 78vw; height: 62vw; margin: 0; align-self: center; }
  .travelling-photo img { transform: none; }
}
@media (max-width: 900px) {
  .etiquettes { clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%); }
  .etiquettes-int { grid-template-columns: 1fr; gap: 70px; }
}

/* ==========================================================================
   Accueil · proposition 2 (scènes au défilement, comme Nous connaitre)
   ========================================================================== */
@property --e { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --o { syntax: '<number>'; inherits: true; initial-value: 0; }

/* ---------- 1. Les cartes de chantier ---------- */
.donne { position: relative; height: 230vh; }
.donne-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
  padding: 100px max(var(--gouttiere), calc((100vw - var(--largeur)) / 2)) 40px;
  background: linear-gradient(170deg, var(--blanc) 55%, var(--clair) 55%);
  overflow: hidden;
}
.donne-texte .titre-section { margin-bottom: 28px; font-size: clamp(36px, 4.2vw, 60px); }
.donne-texte .bouton > .wp-block-button__link { margin-top: 14px; }
.donne-photos { position: relative; height: min(72vh, 640px); }
.donne-photo {
  --x: 0%; --y: 0%; --r0: 0deg; --r1: 0deg;
  position: absolute;
  left: 50%; top: 50%;
  width: min(44%, 280px);
  aspect-ratio: 3 / 4;
  margin: calc(min(44%, 280px) * -2 / 3) 0 0 calc(min(44%, 280px) / -2);
  overflow: hidden;
  border-radius: var(--rayon);
  border: 6px solid var(--blanc);
  box-shadow: 0 30px 60px -24px rgba(24, 60, 120, .45);
  transform:
    translate(calc(var(--x) * var(--e)), calc(var(--y) * var(--e)))
    rotate(calc(var(--r0) + (var(--r1) - var(--r0)) * var(--e)))
    scale(calc(.9 + var(--e) * .1));
}
.donne-photo img { width: 100%; height: 100%; object-fit: cover; }
.dp-1 { --x: -92%; --y: 10%;  --r0: -9deg; --r1: -4deg; }
.dp-3 { --x: 92%;  --y: 16%;  --r0: 6deg;  --r1: 4deg; }
.dp-2 { --x: 0%;   --y: -14%; --r0: -2deg; --r1: 1.5deg; }

/* ---------- 2. Les métiers en volets ---------- */
.volets { position: relative; height: 400vh; }
.volets-scene {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px max(var(--gouttiere), calc((100vw - var(--largeur)) / 2)) 56px;
  background: linear-gradient(170deg, var(--blanc) 55%, var(--clair) 55%);
  overflow: hidden;
}
.volets-rangee {
  width: 100%;
  height: min(72vh, 640px);
  display: grid;
  gap: 12px;
  grid-template-columns: 5fr 1fr 1fr 1fr;
  transition: grid-template-columns .9s var(--sortie);
}
.volets-rangee.ouvert-1 { grid-template-columns: 1fr 5fr 1fr 1fr; }
.volets-rangee.ouvert-2 { grid-template-columns: 1fr 1fr 5fr 1fr; }
.volets-rangee.ouvert-3 { grid-template-columns: 1fr 1fr 1fr 5fr; }
.volet {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--rayon);
  color: var(--blanc);
  box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .55);
}
.volet-photo { position: absolute; inset: 0; z-index: -2; }
.volet-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--sortie); }
.volet.actif .volet-photo img { transform: scale(1); }
/* voile bleu : plein sur une lame fermée, dégradé vers le bas sur la lame ouverte pour lire le texte */
.volet-voile {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(24, 93, 185, .92) 0%, rgba(24, 93, 185, .82) 100%);
  transition: opacity .8s var(--sortie), background .8s;
}
.volet.actif .volet-voile { background: linear-gradient(0deg, rgba(14, 50, 105, .94) 0%, rgba(24, 93, 185, .72) 42%, rgba(24, 93, 185, 0) 75%); }
.volet:not(.actif):hover .volet-voile { opacity: .82; }
.volet-num {
  position: absolute;
  top: 22px;
  left: 22px;
  margin: 0;
  font-family: var(--f-titre);
  font-size: clamp(44px, 4vw, 64px);
  line-height: 1;
  color: var(--blanc);
  transition: font-size .8s var(--sortie), transform .8s var(--sortie);
  transform-origin: left top;
}
.volet.actif .volet-num { transform: scale(1.7); text-shadow: 0 8px 30px rgba(10, 30, 70, .35); }
/* titre vertical sur les lames fermées */
.volet-titre {
  position: absolute;
  left: 50%;
  bottom: 26px;
  font-family: var(--f-sous);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  transition: opacity .35s;
}
.volet.actif .volet-titre { opacity: 0; }
.volet-contenu {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(26px, 3vw, 44px);
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .3s, transform .3s, visibility 0s .3s;
}
.volet.actif .volet-contenu { opacity: 1; visibility: visible; transform: none; transition: opacity .6s .45s, transform .8s var(--sortie) .45s, visibility 0s; }
.volet-contenu h3 { font-family: var(--f-sous); font-weight: 700; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.15; color: var(--blanc); margin-bottom: 12px; }
.volet-contenu strong, .volet-contenu .fort { color: var(--blanc); }
.volet-contenu .bouton > .wp-block-button__link { margin-top: 6px; }
.volet-bouton {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: none;
  cursor: pointer;
}
.volet.actif .volet-bouton { display: none; }
.volet-bouton:focus-visible { outline: 3px solid var(--rouge); outline-offset: -6px; border-radius: var(--rayon); }
.volets .histoire-progression { bottom: 26px; }
/* écrans bas : chiffre moins agrandi, texte resserré */
@media (min-width: 901px) and (max-height: 760px) {
  .volets-scene { padding-top: 76px; padding-bottom: 44px; }
  .volets-rangee { height: calc(100vh - 130px); }
  .volet.actif .volet-num { transform: scale(1.25); }
  .volet-contenu { padding: 22px 28px; font-size: 14.5px; line-height: 1.5; }
  .volet-contenu p { margin-bottom: .6em; }
  .volet-contenu h3 { font-size: 26px; margin-bottom: 8px; }
}

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .volets { height: auto; }
  .volets-scene { position: relative; height: auto; display: block; padding: 70px var(--gouttiere); }
  .volets-rangee { height: auto; display: grid; grid-template-columns: 1fr !important; gap: 28px; }
  .volet { min-height: 0; color: var(--gris); background: var(--blanc); }
  .volet-photo { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; overflow: hidden; }
  .volet-photo img { transform: none; }
  .volet-voile, .volet-bouton, .volets .histoire-progression { display: none; }
  .volet-num { top: 16px; left: 18px; font-size: 64px; transform: none !important; text-shadow: 0 6px 24px rgba(10, 30, 70, .45); }
  .volet-titre { display: none; }
  .volet-contenu h3 { color: var(--bleu); font-size: 26px; }
  .volet-contenu { position: static; opacity: 1; visibility: visible; transform: none; color: var(--gris); padding: 22px 22px 26px; max-width: none; transition: none; }
  .volet-contenu strong, .volet-contenu .fort { color: var(--encre); }
  .volet-contenu .bouton-clair > .wp-block-button__link { --c: var(--bleu); }
  .volet-contenu .bouton-clair > .wp-block-button__link:hover { color: var(--blanc); }
  /* les cartes apparaissent au rythme du défilement (--q de 0 à 1, posé par le script ; 1 sans script) */
  .volet {
    --q: 1;
    opacity: calc(.15 + var(--q) * .85);
    transform: translateY(calc((1 - var(--q)) * 70px)) scale(calc(.93 + var(--q) * .07));
  }
  .volet-photo { clip-path: inset(calc((1 - var(--q)) * 16%) calc((1 - var(--q)) * 12%) round var(--rayon)); }
  .volet-photo img { transform: scale(calc(1.2 - var(--q) * .2)); }
  .volet-num { opacity: var(--q); translate: calc((1 - var(--q)) * -30px) 0; }
}

/* ---------- 3. Le service : volet qui s'ouvre, engagements qui se cochent ---------- */
.service { position: relative; height: 270vh; background: var(--bleu); clip-path: polygon(0 2.5%, 100% 0, 100% 97.5%, 0 100%); }
.service-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 100px max(var(--gouttiere), calc((100vw - var(--largeur)) / 2)) 50px;
  color: rgba(255, 255, 255, .9);
}
.service-nuages { --y: 60px; z-index: -1; background-image: url(assets/img/nuages-2.png); opacity: .22; animation: derive 130s linear infinite; }
/* la photo arrive portée par une rafale : dévoilée dans le sens du vent, d'abord floue et ondulante */
.service-visuel { position: relative; justify-self: center; height: min(72vh, 620px); aspect-ratio: 3 / 4; }
.service-portrait {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--rayon);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, calc(var(--o) * .5));
  -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--o) * 150% - 50%), transparent calc(var(--o) * 150%));
          mask-image: linear-gradient(100deg, #000 calc(var(--o) * 150% - 50%), transparent calc(var(--o) * 150%));
  translate: calc((1 - var(--o)) * -40px) 0;
}
.service-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: url(#air-flou) blur(calc((1 - var(--o)) * 12px));
  transform: scale(calc(1.12 - var(--o) * .12));
}
.service-vent {
  position: absolute;
  inset: -4% -28%;
  width: 156%;
  height: 108%;
  fill: none;
  stroke: var(--blanc);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
  opacity: calc(min(1, var(--o) * 5) * (1 - var(--o)) * 1.6);
}
.service-vent path { stroke-dasharray: 150 520; stroke-dashoffset: calc(150px - var(--o) * 670px); }
.service-vent path:nth-child(2) { stroke-dasharray: 190 520; stroke-width: 1.4; }
.service-vent path:nth-child(4) { stroke-width: 1.2; stroke-dashoffset: calc(120px - var(--o) * 640px); }
.filtre-air { position: absolute; width: 0; height: 0; }
.service .titre-section { color: var(--blanc); margin-bottom: 24px; }
.coches-scene li { opacity: .38; transition: opacity .5s, transform .5s var(--sortie), background-color .4s; }
.coches-scene li::before { background-color: rgba(255, 255, 255, .22); background-image: none; transition: background-color .4s; }
.coches-scene li.actif { opacity: 1; transform: translateX(8px); background: rgba(255, 255, 255, .12); }
.coches-scene li.actif::before {
  background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  animation: coche .5s var(--sortie);
}
@keyframes coche { 0% { transform: scale(.4); } 60% { transform: scale(1.25); } 100% { transform: none; } }

/* ---------- 4. Les atouts en autocollants ---------- */
.collants {
  padding: clamp(110px, 12vw, 170px) var(--gouttiere) clamp(90px, 11vw, 150px);
  background: linear-gradient(170deg, var(--clair) 62%, var(--blanc) 62%);
}
.etiquette-atout { gap: 22px; --r: -3deg; }
.etiquette-atout:nth-child(2) { --r: 2deg; }
.etiquette-atout:nth-child(3) { --r: -2deg; }
.etiquette-atout:nth-child(4) { --r: 3deg; }
.etiquette-atout .autocollant { width: 100%; filter: drop-shadow(0 16px 18px rgba(24, 60, 120, .2)); }
.etiquette-atout .autocollant-papier { height: 180px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.etiquette-atout .atout-num { margin: 0; font-size: 70px; }
.etiquette-atout h4 { font-family: var(--f-sous); font-weight: 700; font-size: 21px; color: var(--bleu); }

/* ---------- 4 bis. Les autocollants servent d'onglets ---------- */
.choix-onglets {
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 40px);
}
.choix-onglet {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.choix-onglet:focus-visible { outline: 3px solid var(--bleu); outline-offset: 8px; border-radius: var(--rayon); }
.choix-onglet .autocollant { opacity: .78; transition: --pli .7s var(--sortie), translate .6s var(--sortie), rotate .6s var(--sortie), filter .6s, opacity .4s; }
.choix-onglet .autocollant-papier { height: 160px; }
.choix-onglet:hover .autocollant { opacity: 1; --pli: .55; }
.choix-titre { font-family: var(--f-sous); font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); color: var(--bleu); }
.choix-onglet.actif .autocollant {
  --pli: .55;
  opacity: 1;
  translate: 0 -14px;
  rotate: 0deg;
  filter: drop-shadow(0 28px 26px rgba(24, 60, 120, .32));
}
/* la jauge du défilement automatique */
.choix-jauge { position: relative; width: 64%; height: 4px; border-radius: 4px; background: #dfe8ec; overflow: hidden; }
.choix-jauge::after { content: ""; position: absolute; inset: 0; background: var(--degrade-h); transform: scaleX(0); transform-origin: left; }
.choix.vu .choix-onglet.actif .choix-jauge::after { animation: jauge 6s linear forwards; }
.choix.pause .choix-onglet.actif .choix-jauge::after { animation-play-state: paused; }
.choix.manuel .choix-onglet.actif .choix-jauge::after { animation: none; transform: scaleX(1); }
@keyframes jauge { to { transform: scaleX(1); } }

/* le grand panneau */
.choix-panneaux {
  --i: 0;
  position: relative;
  max-width: var(--largeur);
  margin: 44px auto 0;
  display: grid;
}
/* petite flèche qui glisse vers l'autocollant choisi */
.choix-panneaux::before {
  content: "";
  position: absolute;
  top: -11px;
  left: calc((var(--i) + .5) * 25%);
  width: 22px; height: 22px;
  margin-left: -11px;
  background: var(--blanc);
  border-left: 2px solid #e3ebf0;
  border-top: 2px solid #e3ebf0;
  transform: rotate(45deg);
  transition: left .7s var(--sortie);
  z-index: 2;
}
.choix-panneau {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(30px, 4vw, 54px) clamp(28px, 5vw, 70px);
  border: 2px solid #e3ebf0;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 40px 70px -46px rgba(24, 60, 120, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s, transform .6s var(--sortie), visibility 0s .45s;
}
.choix-panneau.actif { opacity: 1; visibility: visible; transform: none; transition: opacity .5s .1s, transform .7s var(--sortie) .1s, visibility 0s; }
.choix-grand-num {
  margin: 0;
  font-family: var(--f-titre);
  font-size: clamp(110px, 13vw, 190px);
  line-height: .85;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: .05em;
}
.choix-panneau.actif .choix-grand-num { animation: grand-num .9s var(--sortie) both; }
@keyframes grand-num { from { opacity: 0; transform: translateX(-30px) rotate(-8deg) scale(.7); } }
.choix-detail h3 { font-family: var(--f-sous); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); color: var(--bleu); margin-bottom: 14px; }
.choix-detail .fort { font-size: 18px; line-height: 1.5; margin-bottom: 10px; }
.choix-detail p:last-child { margin: 0; }
.choix-detail > * { opacity: 0; transform: translateX(24px); transition: opacity .5s, transform .6s var(--sortie); }
.choix-panneau.actif .choix-detail > * { opacity: 1; transform: none; }
.choix-panneau.actif .choix-detail > :nth-child(1) { transition-delay: .15s; }
.choix-panneau.actif .choix-detail > :nth-child(2) { transition-delay: .25s; }
.choix-panneau.actif .choix-detail > :nth-child(3) { transition-delay: .35s; }
.choix-onglets .etiquette.vu:nth-child(2) .autocollant { animation-delay: .15s; }
.choix-onglets .etiquette.vu:nth-child(3) .autocollant { animation-delay: .3s; }
.choix-onglets .etiquette.vu:nth-child(4) .autocollant { animation-delay: .45s; }
/* sans JavaScript : tous les contenus s'affichent les uns sous les autres */
html:not(.js) .choix-panneau { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 16px; }
html:not(.js) .choix-panneaux::before { display: none; }

@media (max-width: 900px) {
  .choix-onglets { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .choix-onglet .autocollant-papier { height: 120px; padding: 14px 10px; }
  .choix-titre { font-size: 13px; }
  .choix-onglet .atout-num { font-size: 52px; }
  .choix-panneaux::before { display: none; }
  .choix-panneau { grid-template-columns: 1fr; gap: 10px; }
  .choix-grand-num { font-size: 96px; }
}

/* ---------- Mobile et mouvements réduits : lecture à plat ---------- */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .donne { height: auto; }
  .donne-scene { position: relative; height: auto; grid-template-columns: 1fr; padding: 80px var(--gouttiere); }
  .donne { transition: --e .25s linear; }
  .donne.vu { --e: 1; } /* sans animation (mouvements réduits) : photos déjà distribuées ; sinon le script suit le défilement */
  .donne-photos { height: 110vw; max-height: 620px; }
  .service { height: auto; clip-path: polygon(0 1.5%, 100% 0, 100% 98.5%, 0 100%); }
  .service-scene { position: relative; height: auto; grid-template-columns: 1fr; padding: 110px var(--gouttiere); }
  .service-visuel { height: auto; width: min(100%, 360px); }
  .service { transition: --o 1.6s var(--sortie); }
  .service.vu { --o: 1; }
  .coches-scene li { opacity: 1; transform: none; }
  .coches-scene li::before {
    background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  }
}
@media (max-width: 600px) {
  .donne-photo { width: 40%; margin: calc(40% * -2 / 3) 0 0 -20%; }
  .dp-1 { --x: -76%; }
  .dp-3 { --x: 76%; }
}

/* ==========================================================================
   Nos solutions · proposition 2 (le sélecteur de mode)
   ========================================================================== */
.modes { position: relative; height: 460vh; }
.modes-scene {
  --cadran: min(56vh, 440px);
  --L: max(var(--gouttiere), calc((100vw - var(--largeur)) / 2));
  --gauche: calc(var(--L) + 110px);
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: var(--cadran) minmax(0, 1fr);
  gap: 215px; /* place pour le nom affiché à droite du cadran */
  align-items: center;
  padding: 100px var(--L) 50px var(--gauche);
  background: linear-gradient(170deg, var(--blanc) 60%, var(--clair) 60%);
  overflow: hidden;
  z-index: 1; /* sans ce plan, la section passait « au-dessus » pour la souris : les noms du cadran n'étaient pas cliquables */
}
.cadran { position: relative; width: var(--cadran); aspect-ratio: 1; }
.cadran-svg { width: 100%; height: 100%; overflow: visible; }
.cadran-fond { fill: var(--blanc); stroke: #dfe8ec; stroke-width: 2; filter: drop-shadow(0 30px 40px rgba(24, 60, 120, .18)); }
.cadran-graduations line { stroke: #b9c8d2; stroke-width: 1.5; }
.cadran-graduations .majeure { stroke: var(--bleu); stroke-width: 3; }
.cadran-arc {
  fill: none;
  stroke: url(#arc-degrade);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--p, 0) * 100);
  transform: rotate(-90deg);
  transform-origin: 250px 250px;
}
/* anneau pointillé qui tourne comme un ventilateur */
.cadran-helice { fill: none; stroke: var(--bleu); stroke-width: 1.5; stroke-dasharray: 6 10; opacity: .5; transform-origin: 250px 250px; animation: helice 16s linear infinite; }
@keyframes helice { to { transform: rotate(360deg); } }
.cadran-aiguille { fill: var(--rouge); transform-origin: 250px 250px; transform: rotate(var(--angle, 0deg)); transition: transform 1s var(--sortie); }

/* les 4 modes autour du cadran */
.cadran-modes { position: absolute; inset: 0; z-index: 3; }
.cadran-mode {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1.5px solid #dfe8ec;
  border-radius: var(--rayon);
  background: var(--blanc);
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 14px;
  color: var(--gris);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .4s, color .4s, border-color .4s, scale .4s var(--sortie);
}
.cadran-mode span { font-family: var(--f-titre); font-weight: 400; font-size: 17px; color: var(--rouge); transition: color .4s; }
.cadran-mode:hover { border-color: var(--bleu); color: var(--bleu); scale: 1.05; }
.cadran-mode.actif { background: var(--bleu); border-color: var(--bleu); color: var(--blanc); }
.cadran-mode.actif span { color: var(--blanc); }
.cadran-mode:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
.cm-haut { left: 50%; top: -14px; translate: -50% -100%; }
.cm-droite { left: 100%; top: 50%; translate: 16px -50%; }
.cm-bas { left: 50%; top: 100%; translate: -50% 14px; }
.cm-gauche { right: 100%; top: 50%; translate: -16px -50%; }

/* la photo du mode actif, au centre du cadran */
.mode-photo {
  position: absolute;
  z-index: 1;
  left: calc(var(--gauche) + var(--cadran) / 2);
  top: calc(50% + 25px);
  width: calc(var(--cadran) * .66);
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transform: scale(.82) rotate(-12deg);
  transition: opacity .6s, transform .9s var(--sortie);
}
.mode-photo img { width: 100%; height: 100%; object-fit: cover; }
.mode-panneau.actif .mode-photo { opacity: 1; transform: none; }
/* la rafale qui traverse la photo à chaque changement de mode */
.modes-vent {
  position: absolute;
  z-index: 2;
  inset: 12% -8%;
  width: 116%;
  height: 76%;
  fill: none;
  stroke: var(--blanc);
  stroke-width: 2.5;
  stroke-linecap: round;
  pointer-events: none;
}
.modes-vent path { stroke-dasharray: 150 520; stroke-dashoffset: 150; opacity: 0; }
.modes-scene.souffle .modes-vent path { animation: rafale 1.1s var(--sortie) both; }
.modes-scene.souffle .modes-vent path:nth-child(2) { animation-delay: .08s; }
.modes-scene.souffle .modes-vent path:nth-child(3) { animation-delay: .16s; }
@keyframes rafale { 0% { opacity: 1; stroke-dashoffset: 150; } 80% { opacity: 1; } 100% { opacity: 0; stroke-dashoffset: -520; } }

/* le contenu du mode actif */
.modes-panneaux { display: grid; }
.mode-panneau {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility 0s .4s;
  font-size: 16.5px;
}
.mode-panneau.actif { opacity: 1; visibility: visible; transition: opacity .5s .1s, visibility 0s; }
.mode-panneau > :not(.mode-photo) { opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .6s var(--sortie); }
.mode-panneau.actif > :not(.mode-photo) { opacity: 1; transform: none; }
.mode-panneau.actif > :nth-child(3) { transition-delay: .1s; }
.mode-panneau.actif > :nth-child(4) { transition-delay: .18s; }
.mode-panneau.actif > :nth-child(5) { transition-delay: .26s; }
.mode-panneau.actif > :nth-child(6) { transition-delay: .34s; }
.mode-panneau.actif > :nth-child(7) { transition-delay: .42s; }
.mode-panneau .solution-num { font-size: clamp(64px, 7vw, 104px); margin-bottom: 8px; }
.mode-panneau .titre-degrade { margin-bottom: 18px; }
.mode-panneau .avantages { margin-top: 22px; }
/* les avantages se cochent un par un */
.avantages-scene li { opacity: .45; transition: opacity .5s, transform .5s var(--sortie); }
.avantages-scene li::before { background: #d3dee5; }
.avantages-scene li.actif { opacity: 1; transform: translateX(6px); }
.avantages-scene li.actif::before {
  background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  animation: coche .5s var(--sortie);
}

/* écrans bas (portables) : le texte se resserre pour tenir dans la scène */
@media (min-width: 901px) and (max-height: 820px) {
  .modes-scene { padding-top: 84px; padding-bottom: 30px; }
  .mode-panneau { font-size: 15px; line-height: 1.55; }
  .mode-panneau .solution-num { font-size: clamp(52px, 5vw, 76px); margin-bottom: 4px; }
  .mode-panneau .titre-degrade { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
  .mode-panneau p { margin-bottom: .7em; }
  .mode-panneau .avantages { margin-top: 14px; gap: 8px; }
  .mode-panneau .avantages li { padding-top: 9px; padding-bottom: 9px; font-size: 14.5px; }
}

/* écrans moyens : les 4 noms se rangent sous le cadran pour laisser de la place au texte */
@media (min-width: 901px) and (max-width: 1280px) {
  .modes-scene { --cadran: min(46vh, 380px); --gauche: var(--L); gap: 56px; }
  .cadran-modes { position: absolute; inset: calc(100% + 18px) 0 auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .cadran-mode { position: static; translate: none; justify-content: center; }
}

/* ---------- Mobile et mouvements réduits : les solutions s'empilent ---------- */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .modes { height: auto; }
  .modes-scene { position: relative; height: auto; display: block; padding: 80px var(--gouttiere) 40px; }
  .cadran { display: none; }
  .modes-panneaux { display: block; }
  .mode-panneau { grid-area: auto; opacity: 1; visibility: visible; margin-bottom: 80px; }
  .mode-photo { position: relative; left: auto; top: auto; translate: none; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--rayon); opacity: 1; transform: none; margin-bottom: 26px; }
  /* apparitions au défilement : la photo s'ouvre, les textes montent, les avantages se cochent en cascade */
  .mode-photo { clip-path: inset(0 round var(--rayon)); transition: clip-path 1.1s var(--sortie); }
  .mode-photo img { transition: transform 1.4s var(--sortie); }
  .js .mode-panneau:not(.vu) .mode-photo { clip-path: inset(14% 10% round var(--rayon)); }
  .js .mode-panneau:not(.vu) .mode-photo img { transform: scale(1.12); }
  .mode-panneau > :not(.mode-photo) { opacity: 1; transform: none; transition: opacity .7s var(--sortie), transform .8s var(--sortie); }
  .js .mode-panneau:not(.vu) > :not(.mode-photo) { opacity: 0; transform: translateY(24px); }
  .mode-panneau.vu > :nth-child(2) { transition-delay: .15s; }
  .mode-panneau.vu > :nth-child(3) { transition-delay: .25s; }
  .mode-panneau.vu > :nth-child(4) { transition-delay: .35s; }
  .mode-panneau.vu > :nth-child(5) { transition-delay: .45s; }
  .mode-panneau.vu > :nth-child(6) { transition-delay: .55s; }
  .avantages-scene li { opacity: 1; transform: none; }
  .mode-panneau.vu .avantages-scene li::before {
    background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.5l3.6 3.4 7.4-7.8' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
    animation: coche .5s var(--sortie) both;
  }
  .mode-panneau.vu .avantages-scene li:nth-child(1)::before { animation-delay: .9s; }
  .mode-panneau.vu .avantages-scene li:nth-child(2)::before { animation-delay: 1.1s; }
  .mode-panneau.vu .avantages-scene li:nth-child(3)::before { animation-delay: 1.3s; }
}

/* ---------- Apparitions ---------- */
.js [data-anim] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--sortie), transform 1.1s var(--sortie); }
.js [data-anim].vu { opacity: 1; transform: none; }
.js .avis-grille [data-anim]:nth-child(2) { transition-delay: .1s; }
.js .avis-grille [data-anim]:nth-child(3) { transition-delay: .2s; }
.js [data-anim] .trait { transform: scaleX(0); transition: transform 1s var(--sortie) .2s; }
.js [data-anim].vu .trait { transform: scaleX(1); }

/* Nos solutions : lien vers la page de chaque solution */
.mode-lien { margin-top: 24px; }
@media (max-height: 820px) { .mode-lien { margin-top: 14px; padding: 10px 20px; } }

/* ==========================================================================
   Menu : sous-menu « Nos solutions »
   ========================================================================== */
.menu-groupe { position: relative; display: flex; align-items: center; gap: 2px; }
.menu-deplier {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.menu-deplier svg { width: 10px; height: 7px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--sortie); }
.menu-deplier:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.sous-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -24px;
  min-width: 270px;
  padding: 10px;
  display: grid;
  gap: 2px;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 30px 60px -24px rgba(12, 40, 90, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transform-origin: 30px 0;
  transition: opacity .3s, transform .5s var(--sortie), visibility 0s .5s;
}
/* pont invisible : le pointeur passe du lien au panneau sans le refermer */
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.menu-groupe:hover .sous-menu, .menu-groupe:focus-within .sous-menu, .menu-groupe.ouvert .sous-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s, transform .5s var(--sortie), visibility 0s;
}
.menu-groupe:hover .menu-deplier svg, .menu-groupe.ouvert .menu-deplier svg { transform: rotate(180deg); }
.menu-groupe:has([aria-current]) > a::after { transform: scaleX(1); }
.menu .sous-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 6px;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--encre);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s, transform .5s var(--sortie), background-color .25s, color .25s;
}
.menu .sous-menu a::after { content: none; }
.sous-menu a span {
  min-width: 30px;
  font-family: var(--f-titre);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.menu-groupe:hover .sous-menu a, .menu-groupe:focus-within .sous-menu a, .menu-groupe.ouvert .sous-menu a { opacity: 1; transform: none; }
.sous-menu a:nth-child(2) { transition-delay: .04s; }
.sous-menu a:nth-child(3) { transition-delay: .08s; }
.sous-menu a:nth-child(4) { transition-delay: .12s; }
.menu .sous-menu a:hover, .menu .sous-menu a:focus-visible, .menu .sous-menu a[aria-current] { background: var(--clair); color: var(--bleu); transition-delay: 0s; }
.menu .sous-menu a:hover { transform: translateX(4px); }

/* ==========================================================================
   Pages services
   ========================================================================== */
.surtitre {
  margin: 0 0 14px;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bleu);
}

/* ---------- Intro : texte + photo qui s'ouvre comme les lames d'un climatiseur ---------- */
.intro-service { padding: clamp(80px, 10vw, 140px) var(--gouttiere); }
.intro-service-int {
  max-width: var(--largeur);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.intro-service-texte .titre-section { margin-bottom: 28px; }
.intro-service-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.intro-service-boutons .bouton > .wp-block-button__link { font-size: 16px; padding: 15px 28px; }
.intro-service-photo {
  position: sticky;
  top: 120px;
  aspect-ratio: 1;
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(24, 60, 120, .45);
}
.intro-service-photo img { width: 100%; height: 100%; object-fit: cover; }

@property --lame { syntax: '<number>'; inherits: false; initial-value: 1; }
.js .lamelles {
  --lame: 0;
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0, #000 calc(var(--lame) * 58px), transparent calc(var(--lame) * 58px), transparent 56px);
          mask-image: repeating-linear-gradient(to bottom, #000 0, #000 calc(var(--lame) * 58px), transparent calc(var(--lame) * 58px), transparent 56px);
  transition: --lame 1.5s var(--sortie) .15s;
}
.js .lamelles.vu { --lame: 1; }
.js .lamelles img { transform: scale(1.12) translateY(-3%); transition: transform 2.2s var(--sortie); }
.js .lamelles.vu img { transform: none; }

/* ---------- La jauge : bande bleue, scène figée au défilement ---------- */
.jauge { position: relative; height: 260vh; background: var(--bleu); color: var(--blanc); clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%); }
.jauge-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 110px var(--gouttiere) 50px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.jauge-cadran {
  position: relative;
  width: min(100%, 520px, 68vh);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  isolation: isolate;
  container-type: inline-size;
}
.jauge-svg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; }
.jauge-svg .fond { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.jauge-svg .graduations line { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-linecap: round; }
.jauge-svg .graduations line.majeure { stroke: rgba(255, 255, 255, .7); stroke-width: 3; }
.jauge-svg .arc { fill: none; stroke: url(#jauge-degrade); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 250px 250px; }
.jauge-svg .helice { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; stroke-dasharray: 3 12; transform-origin: 250px 250px; }
.jauge-svg .curseur { transform-origin: 250px 250px; }
.jauge-svg .curseur circle { fill: var(--blanc); stroke: var(--rouge); stroke-width: 5; }
.jauge-depart {
  max-width: 64%;
  margin: 0 0 10px;
  font-family: var(--f-sous);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .78);
}
.jauge-depart strong { color: var(--blanc); }
.jauge-valeur {
  margin: 0;
  font-family: var(--f-titre);
  font-size: clamp(56px, 18cqw, 120px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--blanc);
  white-space: nowrap;
}
.jauge-legende { max-width: 60%; margin: 10px 0 0; font-family: var(--f-sous); font-weight: 600; font-size: 16px; line-height: 1.35; }
.jauge .trait { background: var(--rouge); }
.jauge .titre-section { color: var(--blanc); font-size: clamp(36px, 4.2vw, 60px); }
.etapes { list-style: none; counter-reset: etape; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.etapes li {
  counter-increment: etape;
  position: relative;
  padding: 16px 20px 16px 76px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--rayon);
  background: rgba(255, 255, 255, .05);
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .85);
  transition: opacity .6s, background-color .6s, border-color .6s, transform .7s var(--sortie);
}
.etapes li strong { display: block; margin-bottom: 3px; font-family: var(--f-sous); font-size: 17px; color: var(--blanc); }
.etapes li::before {
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  left: 20px; top: 15px;
  font-family: var(--f-titre);
  font-size: 36px;
  line-height: 1;
  color: rgba(255, 255, 255, .4);
  transition: color .6s;
}
.js .jauge .etapes li { opacity: .4; }
.js .jauge .etapes li.actif { opacity: 1; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .5); transform: translateX(10px); }
.js .jauge .etapes li.actif::before { color: var(--blanc); }
.jauge-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ---------- Prestations ---------- */
.prestas { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--gouttiere) clamp(60px, 7vw, 100px); }
.prestas-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.presta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 34px 34px 32px;
  border: 1px solid #dfe8ec;
  border-radius: var(--rayon);
  background: var(--blanc);
  transition: transform .5s var(--sortie), box-shadow .5s, border-color .4s;
}
/* trois filets d'air qui glissent au survol */
.presta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 26px; right: -60px;
  width: 260px; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 80' fill='none' stroke='%23185db9' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M0 16c40-14 70 12 110 0s70-14 110 0 30 6 40 4'/%3E%3Cpath d='M20 40c40-14 70 12 110 0s70-14 110 0'/%3E%3Cpath d='M0 64c40-14 70 12 110 0s70-14 110 0 30 6 40 4'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .12;
  transition: transform 1.1s var(--sortie), opacity .5s;
}
.presta:hover { transform: translateY(-6px); border-color: var(--bleu); box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .55); }
.presta:hover::before { transform: translateX(-70px); opacity: .3; }
.presta-num {
  margin: 0 0 18px;
  font-family: var(--f-titre);
  font-size: 54px;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.presta-titre { margin: 0 0 10px; font-family: var(--f-sous); font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--encre); }
.presta p:last-child { margin: 0; }
.presta a { color: var(--bleu); font-weight: 600; }
.presta a:hover { color: var(--rouge); }
.js .presta.vu { animation: presta-monte 1s var(--sortie) backwards; }
.js .presta.vu:nth-child(2) { animation-delay: .1s; }
.js .presta.vu:nth-child(3) { animation-delay: .2s; }
.js .presta.vu:nth-child(4) { animation-delay: .3s; }
@keyframes presta-monte { from { opacity: 0; transform: translateY(50px); } }

/* ---------- Zone d'intervention ---------- */
.zone-service { padding: clamp(80px, 9vw, 120px) 0 clamp(100px, 11vw, 150px); background: var(--clair); overflow: hidden; }
.zone-service-texte { max-width: 900px; margin: 0 auto clamp(46px, 5vw, 70px); padding: 0 var(--gouttiere); text-align: center; }
.zone-service-texte .trait { margin-inline: auto; }
.zone-service-texte .titre-section { margin-bottom: 22px; font-size: clamp(36px, 4.4vw, 62px); }
.zone-service-texte p { margin: 0; font-size: 18px; }
.defile-communes { margin: 0 -20px; }
.defile-communes li { font-size: clamp(38px, 4.8vw, 68px); }

/* ---------- Autres solutions ---------- */
.autres { max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: clamp(90px, 10vw, 140px) var(--gouttiere) clamp(30px, 4vw, 60px); }
.autres-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.autre {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  align-content: space-between;
  padding: 20px 24px 22px;
  border-radius: var(--rayon);
  color: var(--blanc);
}
.autre::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(14, 44, 96, .6), rgba(14, 44, 96, 0) 38%),
    linear-gradient(to top, rgba(14, 44, 96, .9), rgba(14, 44, 96, .1) 62%);
  transition: opacity .5s;
}
.autre-photo { position: absolute; inset: 0; z-index: -2; }
.autre-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sortie); }
.autre:hover .autre-photo img { transform: scale(1.07); }
.autre-num { margin: 0; font-family: var(--f-titre); font-size: 46px; line-height: 1; }
.autre-nom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-family: var(--f-sous); font-weight: 700; font-size: 24px; line-height: 1.2; }
.autre-nom a { color: inherit; text-decoration: none; }
.autre-nom a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.autre-nom::after {
  content: "";
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cpath d='M15 22h13M23 17l5 5-5 5' fill='none' stroke='%23185db9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .5s var(--sortie);
}
.autre:hover .autre-nom::after { transform: translateX(6px); }
.autre:focus-within { outline: 3px solid var(--rouge); outline-offset: 3px; }

@media (max-width: 1080px) {
  .autres-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .jauge { height: auto; clip-path: polygon(0 1.2%, 100% 0, 100% 98.8%, 0 100%); }
  .jauge-scene { position: static; height: auto; padding: 100px var(--gouttiere) 90px; }
  .js .jauge .etapes li { opacity: 1; }
}
@media (max-width: 900px) {
  .intro-service-int, .jauge-scene { grid-template-columns: 1fr; }
  .intro-service-photo { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; }
  .jauge-cadran { width: min(100%, 380px); }
  .js .jauge .etapes li.actif { transform: none; }
  .prestas-grille, .autres-grille { grid-template-columns: 1fr; }
  .presta { padding: 28px 24px 26px; }
  .autre { aspect-ratio: 16 / 9; }

  /* menu plein écran : les 4 solutions s'affichent sous « Nos solutions » */
  .sous-menu {
    position: static;
    min-width: 0;
    width: 100%;
    padding: 0 0 10px 4px;
    gap: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .sous-menu::before { content: none; }
  .sous-menu a span { min-width: 34px; font-size: 20px; background: none; color: rgba(255, 255, 255, .55); }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .entete-int { gap: 24px; }
  .entete-actions .social { display: none; }
  .entete-devis > .wp-block-button__link { margin-right: 0; }
  .avis-grille { grid-template-columns: 1fr 1fr; }
  .temoignage-grand { grid-column: 1 / -1; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .entete-int { gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .entete-logo img { width: 70px; height: 70px; }
  .entete-devis > .wp-block-button__link, .entete-actions .social { display: none; }
  .entete-actions { margin-left: auto; }
  body.menu-ouvert { overflow: hidden; }
  /* un parent transformé décalerait le menu plein écran (position: fixed) */
  .entete { --logo-compact: .77; --fond-compact: .72; --remonte: -12.5px; }

  .ciel { min-height: 100svh; }
  .ciel-contenu { padding-bottom: 30vh; }
  .titre-geant em { display: block; }
  .skyline { width: 190vw; }
  .ciel { --sky-h: calc(190vw * .339); }
  .ciel-page { min-height: 0; }
  .cta-int { grid-template-columns: 1fr; }
  .cta-clim { max-width: 460px; }

  .avis-grille { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
  .pied-marque img { width: 80px; height: 80px; }
  .pied-contacts { align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .souffle { display: none; }
}


/* ==================================================================================
   ADAPTATIONS GUTENBERG
   Le CSS des blocs est imprimé APRÈS cette feuille : toute surcharge d'un style de
   bloc doit être plus spécifique, pas simplement placée plus bas.
   ================================================================================== */

img { height: auto; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
:where(figure.wp-block-image) { margin: 0; }
:where(.wp-block-post-content) > :where(*) { margin-block: 0; }
/* textes qui étaient des <span> dans la maquette : pas de marge de paragraphe */
.pied-etiquette, .pied-tel, .pied-mail, .choix-titre, .coordonnee-titre, .coordonnee-valeur { margin: 0; }
.lecteur-ecran { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
em { font-style: normal; }
.titre-geant em, .cta-titre em, .histoire-nom em { font-style: normal; }

/* Images en couverture : l'emporter sur « .wp-block-image img { height:auto } » du cœur */
figure.wp-block-image.donne-photo img,
figure.wp-block-image.volet-photo img,
figure.wp-block-image.mode-photo img,
figure.wp-block-image.histoire-portrait img,
figure.wp-block-image.service-portrait img,
figure.wp-block-image.travelling-photo img,
figure.wp-block-image.revele img { width: 100%; height: 100%; object-fit: cover; }
/* « figure.wp-block-image:not(.wp-block) { margin:0 } » du cœur écrase les marges voulues */
.donne-photos figure.wp-block-image.donne-photo:not(.wp-block) { margin: calc(min(44%, 280px) * -2 / 3) 0 0 calc(min(44%, 280px) / -2); }
@media (max-width: 600px) {
  .donne-photos figure.wp-block-image.donne-photo:not(.wp-block) { margin: calc(40% * -2 / 3) 0 0 -20%; }
}
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .mode-panneau figure.wp-block-image.mode-photo:not(.wp-block) { margin-bottom: 26px; }
}

/* ---------- En-tête ---------- */
.zone-entete { position: static; }
.entete-int > .wp-block-image.entete-logo { flex: none; }
.entete-logo a { display: block; }
.wp-block-navigation.menu { margin-right: auto; }
.menu .wp-block-navigation__container { gap: 34px; }
.menu .wp-block-navigation-item__content { color: var(--blanc); }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.wp-block-buttons.entete-devis-boutons { margin-right: 8px; }
@media (max-width: 900px) {
  .wp-block-buttons.entete-devis-boutons, .entete-reseaux { display: none; }
  .entete-actions { display: none; }
}

/* Réseaux sociaux : de simples liens, dessinés en pictogrammes */
.reseaux { display: flex; gap: 10px; }
.reseaux .reseau { margin: 0; }
.reseaux .reseau a {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--rayon);
  font-size: 0;
  color: inherit;
  text-decoration: none;
  transition: transform .3s var(--sortie), background-color .3s, color .3s;
}
.reseaux .reseau a::before {
  content: "";
  width: 26px; height: 26px;
  background: currentColor;
  -webkit-mask: var(--picto) center / contain no-repeat;
          mask: var(--picto) center / contain no-repeat;
}
.reseau-instagram { --picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='1.1' fill='black' stroke='none'/%3E%3C/svg%3E"); }
.reseau-linkedin { --picto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M8 10.5v6M8 7.6v.1M11.5 16.5v-3.4c0-1.6 1-2.6 2.3-2.6s2.2.9 2.2 2.6v3.4M11.5 10.5v6'/%3E%3C/svg%3E"); }
.reseaux .reseau a:hover { transform: translateY(-3px); }
.entete-reseaux { color: var(--blanc); }
.pied-social { margin-top: 18px; color: var(--blanc); }
.pied-social .reseau a { border: 1.5px solid rgba(255, 255, 255, .45); }
.pied-social .reseau a:hover { background: var(--blanc); color: var(--bleu); }

/* ---------- Boutons : la classe est sur le conteneur, le style sur le lien ---------- */
.wp-block-buttons { gap: 10px; }
.wp-block-button.bouton { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; }
.wp-block-button.bouton::before, .wp-block-button.bouton::after { content: none; }
.bouton > .wp-block-button__link { text-align: left; word-break: normal; }
.donne-texte .wp-block-buttons, .cta-texte .wp-block-buttons, .volet-contenu .wp-block-buttons { margin-top: 14px; }
.article-corps .wp-block-buttons { margin-top: 20px; }
.wp-block-buttons.ciel-actions { justify-content: center; margin-top: 30px; }

/* ---------- Liens du contenu ---------- */
.pied a, .coordonnee-valeur a, .avis-google a, .etiquette h3 a { color: inherit; text-decoration: none; }
.pied-contact { position: relative; }
.pied-contact a::after, .coordonnee-valeur a::after, .etiquette h3 a::after { content: ""; position: absolute; inset: 0; }
.coordonnee, .etiquette { position: relative; }
.pied-plan p { margin: 0; }
.pied-plan a { display: inline-block; }
.pied-logo img { width: 110px; height: 110px; object-fit: contain; }
.pied-marque > .wp-block-image { flex: none; }
.pied-fin > p { margin: 0; }
.pied-tel a, .pied-mail a { display: inline; }

/* ---------- Accueil ---------- */
.defile-piste.wp-block-list { list-style: none; margin: 0; padding: 0; }
.avis-google { margin: 0; }
.temoignage .temoignage-nom { margin: 0; }
.temoignage .temoignage-citation { margin: 0 0 26px; flex: 1; }
.choix-onglet { cursor: pointer; }
.choix-onglet:focus-visible { outline: 3px solid var(--bleu); outline-offset: 8px; border-radius: var(--rayon); }
.autocollant-papier > p { margin: 0; }
.choix-onglet .autocollant-papier { display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* ---------- Nous connaitre ---------- */
.histoire-role::before {
  content: "";
  flex: none;
  width: 52px; height: 52px;
  background: url(assets/img/logo-couleur.png) center / contain no-repeat;
}
/* Autocollant Google : le « G » et les cinq étoiles sont dessinés, la note reste lisible par les lecteurs d'écran */
.autocollant-google {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z'/%3E%3Cpath fill='%23FBBC05' d='M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z'/%3E%3C/svg%3E") center 34% / 72px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 28'%3E%3Cg fill='%23f5b400'%3E%3Cpath id='e' d='M14 2l3.4 7.7 8.3.7-6.3 5.5 1.9 8.2L14 20.2l-7.3 3.9 1.9-8.2L2.3 10.4l8.3-.7z'/%3E%3Cuse href='%23e' x='34'/%3E%3Cuse href='%23e' x='68'/%3E%3Cuse href='%23e' x='102'/%3E%3Cuse href='%23e' x='136'/%3E%3C/g%3E%3C/svg%3E") center 78% / 170px no-repeat,
    var(--blanc);
}

/* ---------- Contact : formulaire du thème [lpa_formulaire] ---------- */
/* la carte .formulaire garde sa grille : titre en haut, le formulaire reprend les deux colonnes de la maquette */
.formulaire > * { grid-column: 1 / -1; }
.lpa-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.lpa-form .champ { margin: 0; }
.lpa-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lpa-retour { grid-column: 1 / -1; margin: 0; font-family: var(--f-sous); font-weight: 600; font-size: 15px; }
.lpa-retour:empty { display: none; }
.lpa-retour-erreur { color: var(--rouge); }
.lpa-envoyer { grid-column: 1 / -1; justify-self: start; }
.lpa-envoyer > .wp-block-button__link { cursor: pointer; font-size: 16px; padding: 15px 34px; }
.lpa-envoyer > .wp-block-button__link:disabled { cursor: wait; opacity: .7; }
.lpa-merci {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 20px 22px;
  border: 1.5px solid #d9e4ea;
  border-radius: var(--rayon);
  background: var(--clair);
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.45;
  color: var(--encre);
  outline: none;
}
.lpa-merci::before {
  content: "";
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
@media (max-width: 900px) { .lpa-form { grid-template-columns: 1fr; } }

/* ---------- Blog : cartes d'articles (boucle de requête) ---------- */
/* « .articles » est aussi la grille de la maquette : la requête reste un simple bloc, la grille est sur la liste */
.wp-block-query.articles { display: block; }
.wp-block-query.articles { max-width: var(--largeur); margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--gouttiere); }
.articles-grille.wp-block-post-template { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; list-style: none; margin: 0; padding: 0; }
.articles-grille > li { margin: 0; }
.carte-article {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 30px 60px -36px rgba(24, 60, 120, .45);
  overflow: hidden;
  transition: transform .5s var(--sortie), box-shadow .5s var(--sortie);
}
.carte-article:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -34px rgba(24, 60, 120, .5); }
.carte-photo.wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 11; overflow: hidden; }
.carte-photo.wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--sortie); }
.carte-article:hover .carte-photo img { transform: scale(1.07); }
.carte-texte { display: flex; flex-direction: column; flex: 1; padding: 30px 32px 32px; }
.carte-date { font-family: var(--f-sous); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--rouge); margin-bottom: 12px; }
.carte-titre { font-family: var(--f-sous); font-weight: 700; font-size: clamp(22px, 2vw, 27px); line-height: 1.25; margin: 0 0 16px; }
.carte-titre a { color: var(--bleu); text-decoration: none; transition: color .3s; }
.carte-titre a::after { content: ""; position: absolute; inset: 0; }
.carte-article:hover .carte-titre a { color: var(--rouge); }
.carte-extrait { font-size: 16px; flex: 1; display: flex; flex-direction: column; }
.carte-extrait .wp-block-post-excerpt__excerpt { margin: 0 0 1em; }
.carte-extrait .wp-block-post-excerpt__more-text { margin: auto 0 0; }
.carte-extrait .wp-block-post-excerpt__more-link { font-family: var(--f-sous); font-weight: 600; color: var(--bleu); text-decoration: none; background: linear-gradient(var(--rouge), var(--rouge)) 0 100% / 0 2px no-repeat; transition: background-size .45s var(--sortie); }
.carte-article:hover .wp-block-post-excerpt__more-link { background-size: 100% 2px; }
.articles-pagination { margin-top: 40px; gap: 12px; font-family: var(--f-sous); font-weight: 600; }
.articles-pagination a { color: var(--bleu); }
@media (max-width: 900px) { .articles-grille.wp-block-post-template { grid-template-columns: 1fr; } }

/* ---------- Article : titre du ciel et navigation entre articles ---------- */
.ciel-article .titre-geant.wp-block-post-title,
.ciel-article .titre-geant.wp-block-query-title {
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(38px, 5.4vw, 80px);
  line-height: 1.04;
  max-width: 1100px;
  margin: 0 auto;
}
.ciel-date.wp-block-post-date { margin: 22px 0 0; font-family: var(--f-sous); font-weight: 600; font-size: 15px; letter-spacing: .08em; color: var(--blanc); }
.article-nav { display: flex; justify-content: space-between; gap: 30px; }
.article-nav-lien.wp-block-post-navigation-link { max-width: 480px; }
.article-nav-lien a { display: grid; gap: 6px; text-decoration: none; }
.article-nav-lien .post-navigation-link__label { font-family: var(--f-sous); font-weight: 600; font-size: 14px; color: var(--rouge); }
.article-nav-lien .post-navigation-link__title { font-family: var(--f-sous); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--bleu); transition: color .3s; }
.article-nav-lien a:hover .post-navigation-link__title { color: var(--rouge); }
.article-nav-suivant { margin-left: auto; text-align: right; }
.article-corps .wp-block-image { margin: 1.4em 0; }
/* « :root :where(.is-layout-flow) > :last-child » retire la marge du dernier paragraphe : la page légale la garde */
.texte-legal > p:last-child { margin-bottom: 1em; }

/* ---------- Menu : sous-menu « Nos solutions » (bloc Navigation natif) ---------- */
/* Ordinateur : panneau blanc, solutions numérotées 01 à 04, ouverture au survol, au clavier ou par la flèche */
.wp-block-navigation.menu .wp-block-navigation__container .has-child > .wp-block-navigation__submenu-container {
  top: calc(100% + 16px);
  left: -24px;
  width: auto;
  height: auto;
  min-width: 270px;
  padding: 10px;
  gap: 2px;
  overflow: visible;
  border: 0;
  border-radius: var(--rayon);
  background: var(--blanc);
  box-shadow: 0 30px 60px -24px rgba(12, 40, 90, .5);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .3s, transform .5s var(--sortie), visibility 0s .5s;
}
.wp-block-navigation.menu .wp-block-navigation__container .has-child > .wp-block-navigation__submenu-container::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px;
}
.wp-block-navigation.menu .wp-block-navigation__container .has-child:hover > .wp-block-navigation__submenu-container,
.wp-block-navigation.menu .wp-block-navigation__container .has-child:focus-within > .wp-block-navigation__submenu-container,
.wp-block-navigation.menu .wp-block-navigation__container .has-child > [aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .3s, transform .5s var(--sortie), visibility 0s;
}
.menu .wp-block-navigation__submenu-container { counter-reset: solution; }
.menu .wp-block-navigation__submenu-container .wp-block-navigation-item { counter-increment: solution; }
.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { content: none; }
.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::before {
  content: counter(solution, decimal-leading-zero);
  min-width: 30px;
  font-family: var(--f-titre);
  font-size: 22px;
  line-height: 1;
  background: var(--degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wp-block-navigation.menu .wp-block-navigation__container .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 6px;
  font-family: var(--f-sous);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--encre);
  transition: background-color .25s, color .25s, transform .4s var(--sortie);
}
.wp-block-navigation.menu .wp-block-navigation__container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation.menu .wp-block-navigation__container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
.wp-block-navigation.menu .wp-block-navigation__container .wp-block-navigation__submenu-container [aria-current] {
  background: var(--clair);
  color: var(--bleu);
}
.wp-block-navigation.menu .wp-block-navigation__container .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { transform: translateX(4px); }
.menu .has-child:has([aria-current]) > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.menu .wp-block-navigation-submenu__toggle { color: inherit; }

/* ---------- Pages services ---------- */
figure.wp-block-image.intro-service-photo img,
figure.wp-block-image.autre-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-service-boutons .wp-block-buttons { gap: 14px; }
.jauge-cadran > p { position: relative; }
.presta > :last-child, .zone-service-texte > :last-child { margin-bottom: 0; }

/* ---------- Menu mobile « rideau bleu » (construit par menu-mobile.js) ----------
   Placé hors de l'en-tête et animé en transform / opacity uniquement :
   rien ne le recouvre, rien ne le cache, la carte graphique fait le travail. */
.tiroir { display: none; }

@media (max-width: 900px) {
  .js .entete .menu { display: none; }
  .entete .burger {
    display: grid;
    place-content: center;
    gap: 7px;
    flex: none;
    width: 48px; height: 48px;
    margin-left: auto;
    padding: 0;
    border: 2px solid currentColor;
    border-radius: var(--rayon);
    background: none;
    color: var(--blanc);
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease;
  }
  .entete .burger span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .28s var(--sortie); }
  .entete .burger:active { transform: scale(.94); }
  .tiroir-ouvert .entete .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .tiroir-ouvert .entete .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  /* l'en-tête reste visible et au-dessus du rideau : le burger devient la croix */
  .tiroir-ouvert .entete { transform: none !important; }
  .tiroir-ouvert .entete .entete-int { transform: none; }
  /* la page derrière se met en pause */
  .tiroir-ouvert main *, .tiroir-ouvert main *::before, .tiroir-ouvert main *::after { animation-play-state: paused !important; }

  .tiroir { display: block; position: fixed; inset: 0; z-index: 45; pointer-events: none; }
  .tiroir-ouvert .tiroir { pointer-events: auto; }
  .tiroir-panneau {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 104px var(--gouttiere) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bleu);
    color: var(--blanc);
    transform: translateY(-101%);
    transition: transform .42s var(--sortie);
    will-change: transform;
  }
  .tiroir-ouvert .tiroir-panneau { transform: none; }
  .tiroir-panneau a { text-decoration: none; -webkit-tap-highlight-color: transparent; }

  .tiroir-item { opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .45s var(--sortie); }
  .tiroir-ouvert .tiroir-item { opacity: 1; transform: none; transition-delay: calc(90ms + var(--i, 0) * 35ms); }

  .tiroir-liens { list-style: none; margin: 0; padding: 0; }
  .tiroir-liens a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 0;
    font-family: var(--f-titre); font-weight: 400; font-size: clamp(34px, 10.5vw, 44px); line-height: 1.15;
    letter-spacing: .01em; text-transform: uppercase; color: var(--blanc);
  }
  .tiroir-liens a[aria-current]::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rouge); }
  .tiroir-liens a:active { opacity: .6; }

  .tiroir-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 6px 0 14px; }
  .tiroir-solution {
    display: flex; flex-direction: column; gap: 2px;
    padding: 12px 14px 13px;
    border-radius: var(--rayon);
    background: rgba(255, 255, 255, .1);
    color: var(--blanc);
    font-family: var(--f-sous); font-weight: 600; font-size: 15px; line-height: 1.25;
    transition: background-color .2s ease;
  }
  .tiroir-solution b { font-family: var(--f-titre); font-weight: 400; font-size: 20px; color: rgba(255, 255, 255, .5); }
  .tiroir-solution:active { background: rgba(255, 255, 255, .22); }
  .tiroir-solution[aria-current] { background: var(--blanc); color: var(--bleu); }
  .tiroir-solution[aria-current] b { color: var(--rouge); }

  .tiroir-bas { margin-top: auto; padding-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tiroir-bouton {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 12px;
    border-radius: var(--rayon);
    font-family: var(--f-sous); font-weight: 600; font-size: 15px; white-space: nowrap;
  }
  .tiroir-bouton svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .tiroir-appel { background: var(--blanc); color: var(--bleu); }
  .tiroir-devis { background: var(--rouge); color: var(--blanc); }
  .tiroir-bouton:active { transform: scale(.97); }

  @media (max-width: 360px) {
    .tiroir-bouton { font-size: 14px; padding: 0 8px; gap: 6px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tiroir-panneau, .tiroir-item { transition-duration: .01s !important; transition-delay: 0s !important; }
  }
}
