/* ==========================================================================
   Solaire France Eco — proposition de refonte
   Direction artistique : « le soleil comme objet »
   ========================================================================== */

:root {
  /* Fonds */
  --craie: #F6F1E6;
  --papier: #FBF8F1;
  --blanc: #FFFFFF;

  /* Encre */
  --encre: #13241B;
  --encre-2: #3C4A40;
  --gris: #6E7268;
  --trait: rgba(19, 36, 27, .14);

  /* Marque (logo : vert feuille + soleil abricot) */
  --vert: #2E8B3E;
  --vert-pale: #DCEBD0;
  --foret: #0F3B2A;
  --soleil: #FFC53A;
  --soleil-pale: #FFEDB0;
  --abricot: #F2992A;
  --abricot-fonce: #B85F06;

  /* Provence */
  --tuile: #D8613A;
  --tuile-pale: #F8D9C8;
  --tuile-fonce: #9E3C1C;
  --ciel: #D3EAF3;
  --ciel-fonce: #1F5F80;
  --panneau: #182A4C;

  /* Type */
  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Mise en page */
  --max: 1360px;
  --gouttiere: clamp(16px, 4vw, 48px);
  --r-s: 6px;
  --r-m: 12px;
  --r-l: 20px;
  --nav-h: 72px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-ressort: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--craie);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--soleil); color: var(--encre); }

/* Grain papier, façon impression — appliqué aux fonds clairs */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.1  0 0 0 0 0.08  0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--encre); color: var(--craie); padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--vert); outline-offset: 3px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 100;
  letter-spacing: -.035em;
  line-height: .95;
  margin: 0;
}
h2.titre-xl { font-size: clamp(44px, 7.2vw, 112px); }
h2.titre-l { font-size: clamp(38px, 5.4vw, 80px); }
h3 { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -.025em; }
.accent { color: var(--abricot-fonce); }
.accent-vert { color: var(--vert); }
.accent-tuile { color: var(--tuile); }
.accent-ciel { color: var(--ciel-fonce); }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--encre-2); letter-spacing: -.005em; }
.texte-intro { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.22; letter-spacing: -.02em; font-variation-settings: "opsz" 40; }
.petit { font-size: 14px; color: var(--gris); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Labels de section : pastille + cellules */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-texte);
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.label .pastille {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  background: var(--encre); color: var(--craie);
  border-radius: 999px;
}
.label .pastille::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--soleil);
  box-shadow: 0 0 0 3px rgba(255, 197, 58, .25);
}
.label .cellules { display: inline-flex; gap: 3px; }
.label .cellules i { width: 14px; height: 22px; border-radius: 3px; background: currentColor; opacity: .14; }
.label .cellules i:nth-child(2) { opacity: .09; }
.label .cellules i:nth-child(3) { opacity: .05; }
.label--clair .pastille { background: var(--craie); color: var(--encre); }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--encre); --fg: var(--craie); --ombre: #000;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px;
  font-family: var(--f-texte); font-size: 16px; font-weight: 600; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  border: 0; border-radius: 10px; cursor: pointer;
  box-shadow: 0 3px 0 var(--ombre);
  transform: translateY(0);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ombre); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ombre); }
.btn .fleche {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 7px;
  background: var(--soleil); color: var(--encre);
  transition: transform .35s var(--ease-ressort);
}
.btn:hover .fleche { transform: translateX(3px) rotate(-8deg); }
.btn--soleil { --bg: var(--soleil); --fg: var(--encre); --ombre: var(--abricot-fonce); }
.btn--soleil .fleche { background: var(--encre); color: var(--soleil); }
.btn--clair { --bg: var(--craie); --fg: var(--encre); --ombre: rgba(0,0,0,.35); }
.btn--contour { --bg: transparent; --fg: var(--encre); --ombre: transparent; box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn--contour:hover { box-shadow: inset 0 0 0 1.5px var(--encre); background: rgba(19,36,27,.05); }
.btn--petit { min-height: 42px; padding: 0 16px; font-size: 15px; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.lien-fleche span { transition: transform .3s var(--ease); }
.lien-fleche:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 100;
  padding-inline: var(--gouttiere);
  pointer-events: none;
}
.nav__barre {
  pointer-events: auto;
  width: fit-content;
  min-width: min(100%, var(--max));
  max-width: 100%;
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 14px 0 18px;
  background: rgba(251, 248, 241, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--trait);
  border-radius: 16px;
  transition: box-shadow .3s, background-color .3s;
}
.nav.est-scrolle .nav__barre { box-shadow: 0 10px 30px -18px rgba(19,36,27,.35); background: rgba(251,248,241,.94); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo img { width: 40px; height: auto; }
.logo__nom { font-family: var(--f-display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.logo__nom small { display: block; font-family: var(--f-texte); font-weight: 500; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-top: 4px; }

.nav__liens { display: flex; align-items: center; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
.nav__liens > li { position: relative; }
.nav__liens > li > a, .nav__liens > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px; border-radius: 9px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  transition: background-color .2s;
}
.nav__liens > li > a:hover, .nav__liens > li > button:hover, .nav__liens > li.ouvert > button { background: rgba(19,36,27,.06); }
.nav__liens .chevron { transition: transform .25s var(--ease); }
.nav__liens li.ouvert .chevron { transform: rotate(180deg); }
.sous-menu {
  position: absolute; top: calc(100% + 10px); left: -8px;
  min-width: 300px;
  padding: 10px;
  background: var(--papier);
  border: 1px solid var(--trait); border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(19,36,27,.35);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.nav__liens li.ouvert .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; text-decoration: none; line-height: 1.3; }
.sous-menu a:hover { background: var(--soleil-pale); }
.sous-menu__titre { padding: 6px 12px 8px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__tel { font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px; border-radius: 9px; white-space: nowrap; }
.nav__tel:hover { background: rgba(19,36,27,.06); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 0; background: var(--encre); cursor: pointer; place-items: center; }
.nav__burger span { display: block; width: 18px; height: 2px; background: var(--craie); border-radius: 2px; position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--craie); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__burger span::before { top: -6px; }
.nav__burger span::after { top: 6px; }
body.menu-ouvert .nav__burger span { background: transparent; }
body.menu-ouvert .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-ouvert .nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.menu-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--soleil);
  padding: calc(var(--nav-h) + 40px) var(--gouttiere) 120px;
  overflow-y: auto;
  clip-path: circle(0% at calc(100% - 50px) 50px);
  transition: clip-path .6s var(--ease);
  visibility: hidden;
}
body.menu-ouvert .menu-mobile { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
body.menu-ouvert { overflow: hidden; }
.menu-mobile ul { list-style: none; margin: 0; padding: 0; }
.menu-mobile > nav > ul > li { border-bottom: 1.5px solid rgba(19,36,27,.18); }
.menu-mobile > nav > ul > li > a, .menu-mobile summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-family: var(--f-display); font-weight: 600; font-size: 30px; letter-spacing: -.03em;
  text-decoration: none; cursor: pointer; list-style: none;
}
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary::after { content: "+"; font-weight: 400; transition: transform .3s; }
.menu-mobile details[open] summary::after { transform: rotate(45deg); }
.menu-mobile details ul { padding: 0 0 16px; }
.menu-mobile details a { display: block; padding: 8px 0; font-size: 17px; text-decoration: none; }
.menu-mobile__bas { margin-top: 32px; display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { padding-top: calc(var(--nav-h) + 12px + clamp(20px, 2.6vw, 40px)); overflow: hidden; }
.hero__haut {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
  padding-bottom: clamp(28px, 3.4vw, 48px);
  z-index: 2;
}
.hero__titre { grid-column: 1 / span 8; position: relative; z-index: 2; }
.hero__marque {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-texte); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__marque .etoiles { color: var(--abricot); letter-spacing: .1em; font-size: 15px; }
.hero__marque a { color: var(--gris); text-decoration: none; letter-spacing: .04em; text-transform: none; font-weight: 500; border-bottom: 1px solid var(--trait); }
.hero__marque a:hover { color: var(--encre); border-color: var(--encre); }
.hero h1 {
  font-size: clamp(46px, 6.5vw, 100px);
  line-height: .9;
  letter-spacing: -.045em;
}
.hero h1 .l { display: block; }
.hero h1 .l2 { padding-left: .9em; }
.hero h1 .surligne {
  position: relative; white-space: nowrap;
  color: var(--encre);
}
.hero h1 .cellule-paca {
  display: inline-block;
  padding: 0 .14em .04em;
  margin-left: .04em;
  background: var(--encre); color: var(--soleil);
  border-radius: .12em;
  transform: rotate(-2.5deg) translateY(-.03em);
}
.hero__cote { grid-column: 9 / span 4; position: relative; z-index: 3; }
.hero__cote .lead { margin-bottom: 26px; color: var(--encre); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--encre-2); }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); display: inline-block; }

/* Le soleil levant — reprend le soleil du logo (disque + rayons) */
.soleil {
  position: absolute;
  width: clamp(300px, 40vw, 600px);
  aspect-ratio: 1;
  left: 66%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.soleil__disque { transform-origin: 50% 50%; animation: lever 1.6s var(--ease) both .1s; }
.soleil__rayons { transform-origin: 300px 300px; animation: rayons-in 1.4s var(--ease) both .5s; }
.soleil__rayons line { stroke: var(--abricot); stroke-width: 22; stroke-linecap: round; }
.soleil__rayons .r { animation: respire 4.5s ease-in-out infinite; transform-origin: 300px 300px; }
@keyframes lever { from { transform: translateY(28%); } to { transform: none; } }
@keyframes rayons-in { from { opacity: 0; transform: scale(.85) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes respire { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }

/* Bandeau photo = horizon */
.hero__scene { position: relative; z-index: 1; }
.hero__photo {
  position: relative; z-index: 1;
  height: clamp(380px, 56vh, 620px);
  border-radius: var(--r-l) var(--r-l) 0 0;
  overflow: hidden;
  background: var(--foret);
}
.hero__photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 62%; will-change: transform; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,59,42,0) 55%, rgba(15,59,42,.35)); pointer-events: none; }

/* Annotations façon « interface » posées sur la photo */
.annot {
  position: absolute; z-index: 3;
  background: var(--papier);
  border-radius: 14px;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.5);
  font-size: 14px; line-height: 1.35;
}
.annot--fiche { left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); padding: 16px 18px 14px; width: min(320px, calc(100% - 32px)); }
.annot--fiche .annot__lieu { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 10px; }
.annot--fiche .annot__lieu::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px var(--vert-pale); }
.annot__specs { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; }
.annot__specs dt { color: var(--gris); }
.annot__specs dd { margin: 0; font-weight: 600; }
.annot__pied { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--trait); display: flex; justify-content: space-between; color: var(--gris); font-size: 12.5px; }
.annot--avis { right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px); max-width: 300px; padding: 16px 18px; background: var(--soleil); }
.annot--avis .etoiles { letter-spacing: .12em; margin-bottom: 6px; display: block; }
.annot--avis q { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; line-height: 1.15; display: block; }
.annot--avis cite { display: block; margin-top: 8px; font-style: normal; font-size: 13px; }
.sticker-rge {
  position: absolute; z-index: 3;
  right: clamp(24px, 6vw, 110px); top: clamp(20px, 4vw, 48px);
  width: clamp(110px, 11vw, 160px);
  padding: 10px 10px 8px;
  background: var(--blanc);
  border-radius: 12px;
  transform: rotate(7deg);
  box-shadow: 0 14px 30px -16px rgba(0,0,0,.6);
  text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.sticker-rge img { width: 100%; margin-bottom: 4px; }

/* --------------------------------------------------------------------------
   Bandeau zones d'intervention
   -------------------------------------------------------------------------- */
.zones {
  background: var(--foret); color: var(--craie);
  padding: 22px 0;
  overflow: hidden;
  display: flex; align-items: center;
}
.zones__titre { flex-shrink: 0; padding: 0 28px 0 var(--gouttiere); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soleil); max-width: 220px; line-height: 1.3; }
.zones__piste { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.zones__liste { display: flex; flex-shrink: 0; align-items: center; gap: 28px; padding-right: 28px; animation: defile 48s linear infinite; list-style: none; margin: 0; padding-left: 0; }
.zones__liste li { font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.025em; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.zones__liste li::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--soleil); }
@keyframes defile { to { transform: translateX(-100%); } }

/* --------------------------------------------------------------------------
   Sections — rythme
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.section--papier { background: var(--papier); }

/* ---------- L'entreprise : composition éditoriale ---------- */
.entreprise__titre { font-size: clamp(44px, 7.4vw, 116px); line-height: .9; letter-spacing: -.045em; }
.entreprise__titre .l { display: block; }
.entreprise__titre .l2 { padding-left: 2.2em; }
.entreprise__titre .l3 { padding-left: .6em; }
.entreprise__titre .tag-paca {
  display: inline-block; vertical-align: .08em;
  font-size: .62em; padding: .02em .22em .08em;
  background: var(--soleil); border-radius: .18em;
  transform: rotate(3deg);
}
.entreprise__grille {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  margin-top: clamp(48px, 6vw, 96px);
  align-items: start;
}
.entreprise__photo { grid-column: 1 / span 5; position: relative; }
.entreprise__photo figure { margin: 0; position: relative; }
.entreprise__photo .ph-flotte { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.entreprise__photo .ph-flotte img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.entreprise__photo .ph-camion {
  position: absolute; width: 56%; right: -18%; bottom: -12%;
  aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  border: 8px solid var(--craie);
}
.entreprise__photo .ph-camion img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.legende { font-size: 13px; color: var(--gris); margin-top: 12px; display: flex; gap: 8px; }
.legende::before { content: "↳"; }
.entreprise__texte { grid-column: 7 / span 6; padding-top: 8px; }
.entreprise__texte .texte-intro { margin-bottom: 28px; }
.entreprise__texte .texte-intro strong { font-weight: 600; background: linear-gradient(transparent 62%, var(--soleil-pale) 62%); }
.entreprise__rge { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-block: 1.5px solid var(--encre); margin: 36px 0 32px; }
.entreprise__rge img { width: 96px; }
.entreprise__rge p { font-size: 16px; color: var(--encre-2); }

.reperes { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(80px, 9vw, 140px); border-top: 1.5px solid var(--encre); }
.repere { padding: 22px 20px 0 0; }
.repere + .repere { padding-left: 20px; border-left: 1px solid var(--trait); }
.repere__grand { font-family: var(--f-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; }
.repere p { font-size: 14.5px; color: var(--gris); }

/* Mission */
.mission { margin-top: clamp(96px, 11vw, 170px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.mission__photos { grid-column: 1 / span 5; position: relative; height: clamp(420px, 42vw, 600px); }
.mission__photos figure { margin: 0; position: absolute; overflow: hidden; border-radius: 4px; }
.mission__photos .m1 { width: 62%; height: 82%; left: 0; top: 0; }
.mission__photos .m2 { width: 50%; height: 64%; right: 0; bottom: 0; border: 8px solid var(--craie); }
.mission__photos img { width: 100%; height: 100%; object-fit: cover; }
.mission__photos .badge-form {
  position: absolute; z-index: 2; left: 38%; top: 66%;
  width: 116px; height: 116px; border-radius: 50%;
  background: var(--vert); color: var(--craie);
  display: grid; place-items: center; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.25;
  animation: tourne 22s linear infinite;
}
.mission__photos .badge-form svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mission__photos .badge-form b { font-family: var(--f-display); font-size: 30px; letter-spacing: -.03em; text-transform: none; animation: tourne 22s linear infinite reverse; }
@keyframes tourne { to { transform: rotate(360deg); } }
.mission__texte { grid-column: 7 / span 6; }
.mission__citation { font-size: clamp(34px, 4.2vw, 64px); line-height: .98; letter-spacing: -.04em; margin-bottom: 36px; }
.mission__citation .guillemet { color: var(--soleil); font-size: 1.4em; line-height: 0; vertical-align: -.32em; margin-right: .04em; }
.mission__texte h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 14px; letter-spacing: -.02em; }
.mission__texte p { color: var(--encre-2); }

/* --------------------------------------------------------------------------
   Services — cartes empilées
   -------------------------------------------------------------------------- */
.services__entete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.services__entete > div:first-child { grid-column: 1 / span 6; }
.services__entete > div:last-child { grid-column: 8 / span 5; color: var(--encre-2); }
.services__pile { display: grid; gap: 28px; }
.service {
  position: sticky;
  top: calc(var(--nav-h) + 32px + var(--i, 0) * 18px);
  display: grid; grid-template-columns: 5fr 7fr;
  min-height: min(640px, calc(100vh - var(--nav-h) - 80px));
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--fond);
  box-shadow: 0 -1px 0 rgba(19,36,27,.08);
}
.service--etude { --fond: var(--soleil-pale); --ton: var(--abricot-fonce); --i: 0; }
.service--pose { --fond: var(--tuile-pale); --ton: var(--tuile-fonce); --i: 1; }
.service--suivi { --fond: var(--ciel); --ton: var(--ciel-fonce); --i: 2; }
.service__texte { padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; }
.service__num { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .02em; color: var(--ton); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.service__num::before { content: ""; width: 22px; height: 22px; border-radius: 5px; background: var(--ton); opacity: .9; }
.service h3 { font-size: clamp(34px, 3.8vw, 58px); line-height: .95; letter-spacing: -.04em; margin-bottom: 24px; }
.service h3 em { font-style: normal; color: var(--ton); display: block; }
.service__texte p { font-size: 18px; color: var(--encre-2); max-width: 30em; }
.service__texte .btn { margin-top: auto; align-self: flex-start; }
.service__texte .service__bas { margin-top: auto; padding-top: 28px; }
.service__visuel { position: relative; overflow: hidden; margin: 14px 14px 14px 0; border-radius: 12px; background: var(--encre); }
.service__visuel > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* Étude : arc solaire dessiné sur la photo */
.arc-solaire { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc-solaire .trajet { fill: none; stroke: var(--soleil); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.arc-solaire .pos { fill: var(--soleil); }
.arc-solaire .pos-midi { fill: var(--soleil); stroke: var(--encre); stroke-width: 3; }
.arc-solaire text { font-family: var(--f-texte); font-size: 15px; font-weight: 600; fill: var(--craie); letter-spacing: .08em; }
.arc-solaire .soleil-mobile { offset-path: path("M 90 360 Q 400 -40 710 360"); offset-rotate: 0deg; animation: course 9s ease-in-out infinite alternate; }
@keyframes course { from { offset-distance: 8%; } to { offset-distance: 92%; } }
.chip { position: absolute; z-index: 2; background: var(--papier); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.3; box-shadow: 0 16px 34px -18px rgba(0,0,0,.6); }
.chip b { display: block; font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; margin-bottom: 2px; }
.chip--bas-gauche { left: 20px; bottom: 20px; max-width: 270px; }
.chip--haut-droite { right: 20px; top: 20px; max-width: 250px; }

/* Pose : panneau éclaté en volume */
.service--pose .service__visuel { background: var(--tuile); }
.service--pose .service__visuel > img { width: 46%; left: auto; right: 0; height: 100%; }
.iso { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 76%; z-index: 1; overflow: visible; }
.iso .fr-top { fill: #E9E6E0; } .iso .fr-s1 { fill: #A9A49B; } .iso .fr-s2 { fill: #C7C2B8; }
.iso .ce-top { fill: #22355C; } .iso .ce-s1 { fill: #0D1830; } .iso .ce-s2 { fill: #15244A; }
.iso .c { fill: #2E4A80; }
.iso .gl-top { fill: rgba(220, 238, 250, .38); stroke: rgba(255,255,255,.75); stroke-width: 1.5; } .iso .gl-s1 { fill: rgba(255,255,255,.55); } .iso .gl-s2 { fill: rgba(255,255,255,.4); }
.iso .reflet { fill: rgba(255,255,255,.5); }
.iso .ombre { fill: rgba(60, 18, 6, .28); }
.iso-layer { transition: transform 1s var(--ease); }
.iso .iso-frame { transform: translateY(var(--ef, 70px)); }
.iso .iso-cells { transform: translateY(var(--ec, 35px)); }
.iso .iso-glass { transform: translateY(0); }
.iso .lbl text { font-family: var(--f-texte); font-size: 13px; font-weight: 600; fill: var(--craie); }
.iso .lbl line { stroke: var(--craie); stroke-width: 1.5; }
.iso .lbl circle { fill: var(--craie); }

/* Suivi : courbe de production */
.courbe { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; background: var(--papier); border-radius: 14px; padding: 18px 18px 14px; box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); max-width: 420px; }
.courbe__haut { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.courbe__haut span { font-size: 12.5px; color: var(--gris); }
.courbe__valeur { font-family: var(--f-display); font-weight: 600; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.courbe__valeur small { font-size: 18px; }
.courbe svg { width: 100%; height: auto; }
.courbe .aire { fill: var(--soleil-pale); }
.courbe .ligne { fill: none; stroke: var(--abricot); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.courbe.visible .ligne { stroke-dashoffset: 0; }
.courbe .orage { fill: var(--ciel); }
.courbe__note { font-size: 12.5px; color: var(--gris); margin-top: 6px; }

.equipements { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; padding-top: 28px; border-top: 1.5px solid var(--encre); }
.equipements__titre { grid-column: 1 / span 3; font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -.02em; }
.equipements ul { grid-column: 4 / span 9; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.equipements a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--encre); text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .2s, color .2s; }
.equipements a:hover { background: var(--encre); color: var(--craie); }
.equipements a.tel { background: var(--soleil); border-color: var(--soleil); }
.equipements a.tel:hover { background: var(--encre); border-color: var(--encre); }

/* --------------------------------------------------------------------------
   Par où commencer ? — 4 critères, une illustration
   -------------------------------------------------------------------------- */
.commencer__entete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); align-items: end; }
.commencer__entete h2 { grid-column: 1 / span 7; }
.commencer__entete p { grid-column: 8 / span 5; color: var(--encre-2); }
.criteres { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.criteres__liste { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--encre); }
.critere { border-bottom: 1px solid var(--trait); }
.critere button {
  width: 100%; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 8px;
  padding: 20px 0; background: none; border: 0; text-align: left; cursor: pointer;
}
.critere__num { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--gris); }
.critere__titre { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.05; transition: color .3s; }
.critere__plus { width: 24px; height: 24px; position: relative; }
.critere__plus::before, .critere__plus::after { content: ""; position: absolute; left: 4px; right: 4px; top: 11px; height: 2px; background: var(--encre); transition: transform .35s var(--ease); }
.critere__plus::after { transform: rotate(90deg); }
.critere.actif .critere__plus::after { transform: rotate(0); }
.critere:not(.actif) .critere__titre { color: var(--gris); }
.critere button:hover .critere__titre { color: var(--encre); }
.critere__corps { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.critere.actif .critere__corps { grid-template-rows: 1fr; }
.critere__corps > div { overflow: hidden; }
.critere__corps p { padding: 0 0 24px 64px; color: var(--encre-2); font-size: 16.5px; }
.critere .barre { height: 3px; background: var(--trait); margin: 0 0 0 64px; position: relative; overflow: hidden; display: none; }
.critere.actif .barre { display: block; }
.critere .barre i { position: absolute; inset: 0; background: var(--encre); transform-origin: 0 50%; transform: scaleX(0); }
.criteres.auto .critere.actif .barre i { animation: progression var(--duree, 7s) linear forwards; }
@keyframes progression { to { transform: scaleX(1); } }

.scene-critere {
  position: relative;
  border-radius: var(--r-l);
  background: var(--fond-scene, var(--soleil-pale));
  transition: background-color .6s var(--ease);
  min-height: 520px;
  overflow: hidden;
}
.scene-critere[data-etat="0"] { --fond-scene: var(--soleil-pale); }
.scene-critere[data-etat="1"] { --fond-scene: var(--ciel); }
.scene-critere[data-etat="2"] { --fond-scene: var(--vert-pale); }
.scene-critere[data-etat="3"] { --fond-scene: var(--tuile-pale); }
.scene-critere svg.etat { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.scene-critere svg.etat.visible { opacity: 1; transform: none; }
.scene-critere__legende { position: absolute; left: 24px; bottom: 20px; z-index: 2; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.scene-critere__legende i { width: 30px; height: 2px; background: var(--encre); }
.etat text { font-family: var(--f-texte); font-weight: 600; fill: var(--encre); }
.etat .t-grand { font-family: var(--f-display); font-size: 34px; letter-spacing: -1px; }
.etat .t-petit { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; }

.etude-pro { margin-top: clamp(80px, 9vw, 130px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.etude-pro__intro { grid-column: 1 / span 5; }
.etude-pro__intro p { color: var(--encre-2); }
.etude-pro__intro .texte-intro { color: var(--encre); margin-bottom: 20px; }
.etude-pro__liste { grid-column: 7 / span 6; }
.etude-pro__liste > p { font-weight: 600; margin-bottom: 20px; }
.livrables { list-style: none; margin: 0 0 36px; padding: 0; counter-reset: l; }
.livrables li { counter-increment: l; display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: baseline; padding: 20px 0; border-top: 1.5px solid var(--encre); font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.9vw, 27px); letter-spacing: -.02em; line-height: 1.15; }
.livrables li:last-child { border-bottom: 1.5px solid var(--encre); }
.livrables li::before { content: counter(l, decimal-leading-zero); font-size: 15px; font-weight: 600; color: var(--abricot-fonce); }
.etude-pro__pret { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin-bottom: 22px; }
.etude-pro__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   Simulateur
   -------------------------------------------------------------------------- */
.simulateur { background: var(--ciel); }
.simu__entete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); align-items: end; }
.simu__entete > div:first-child { grid-column: 1 / span 7; }
.simu__entete h2 { font-size: clamp(42px, 6vw, 92px); }
.simu__entete h2 em { font-style: normal; display: block; font-size: .4em; letter-spacing: -.025em; line-height: 1.1; margin-top: .4em; color: var(--ciel-fonce); }
.simu__entete > div:last-child { grid-column: 8 / span 5; color: var(--encre-2); }
.simu__entete .rassure { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: rgba(255,255,255,.55); border-radius: 12px; font-size: 15px; color: var(--encre); }
.simu__entete .rassure::before { content: ""; flex-shrink: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--vert); margin-top: 5px; box-shadow: 0 0 0 4px rgba(46,139,62,.2); }

.simu { display: grid; grid-template-columns: 6fr 5fr; background: var(--papier); border-radius: var(--r-l); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(15,59,42,.6); }
.simu__form { padding: clamp(22px, 3vw, 44px); }
.simu__bloc { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--trait); }
.simu__bloc:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.simu__bloc-titre { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.simu__bloc-titre span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: var(--encre); color: var(--soleil); font-size: 12px; letter-spacing: 0; }
.champ { margin-bottom: 20px; }
.champ:last-child { margin-bottom: 0; }
.champ > label, .champ > .champ__label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.champ__aide { font-size: 13px; color: var(--gris); margin-top: 6px; }
.saisie { display: flex; align-items: center; border: 1.5px solid var(--encre); border-radius: 10px; background: var(--blanc); overflow: hidden; max-width: 320px; }
.saisie input { flex: 1; min-width: 0; border: 0; padding: 14px 14px; font: inherit; font-size: 20px; font-weight: 600; background: none; color: var(--encre); }
.saisie input:focus { outline: none; }
.saisie:focus-within { box-shadow: 0 0 0 3px var(--soleil); }
.saisie span { padding: 0 14px; font-size: 14px; color: var(--gris); font-weight: 600; }
.segments { display: flex; flex-wrap: wrap; gap: 8px; }
.segments label { position: relative; cursor: pointer; }
.segments input { position: absolute; opacity: 0; pointer-events: none; }
.segments label span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border-radius: 9px; border: 1.5px solid var(--trait); background: var(--blanc); font-size: 15px; font-weight: 500; transition: border-color .2s, background-color .2s, transform .2s var(--ease-ressort); }
.segments label:hover span { border-color: var(--encre); }
.segments input:checked + span { background: var(--encre); color: var(--craie); border-color: var(--encre); }
.segments input:focus-visible + span { outline: 3px solid var(--vert); outline-offset: 2px; }
.segments input[type="checkbox"]:checked + span::before { content: "✓"; color: var(--soleil); font-weight: 700; }

/* Boussole d'orientation */
.boussole { display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; }
.boussole svg { width: 170px; height: 170px; }
.boussole .secteur { fill: var(--craie); stroke: var(--trait); stroke-width: 1; cursor: pointer; transition: fill .25s; }
.boussole .secteur:hover { fill: var(--soleil-pale); }
.boussole .secteur.on { fill: var(--soleil); }
.boussole .secteur.off { fill: #ECE8DF; cursor: not-allowed; }
.boussole text { font-family: var(--f-texte); font-size: 12px; font-weight: 700; fill: var(--encre); pointer-events: none; }
.boussole text.off { fill: #A7A79F; }

.simu__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.simu__reset { background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--gris); font-size: 15px; }
.simu__erreur { color: var(--tuile-fonce); font-weight: 600; font-size: 15px; margin-top: 12px; min-height: 1.2em; }
details.affiner > summary { cursor: pointer; font-weight: 600; list-style: none; display: inline-flex; gap: 8px; align-items: center; }
details.affiner > summary::-webkit-details-marker { display: none; }
details.affiner > summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--encre); font-size: 14px; transition: transform .3s; }
details.affiner[open] > summary::before { transform: rotate(45deg); }
details.affiner > div { padding-top: 18px; }

.simu__resultat { background: var(--foret); color: var(--craie); padding: clamp(22px, 3vw, 44px); position: relative; display: flex; flex-direction: column; }
.simu__resultat h3 { font-size: 28px; margin-bottom: 18px; }
.simu__vide { margin: auto 0; }
.simu__vide p { color: rgba(246,241,230,.75); }
.toit { width: 100%; margin: 6px 0 22px; }
.toit .cellule { fill: rgba(246,241,230,.08); stroke: rgba(246,241,230,.18); stroke-width: 1; transition: fill .4s var(--ease); }
.toit .cellule.on { fill: var(--panneau); stroke: #4C6AA8; }
.toit .cellule.on.reflet { fill: #233C70; }
.toit .tuiles { fill: var(--tuile); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(246,241,230,.14); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.kpi { background: var(--foret); padding: 14px 14px 12px; }
.kpi span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(246,241,230,.65); margin-bottom: 4px; }
.kpi b { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; line-height: 1.1; display: block; }
.kpi small { display: block; font-size: 12px; color: rgba(246,241,230,.6); margin-top: 4px; line-height: 1.3; }
.kpi--soleil { background: var(--soleil); color: var(--encre); grid-column: span 2; }
.kpi--soleil span, .kpi--soleil small { color: rgba(19,36,27,.7); }
.kpi--soleil b { font-size: 34px; }
.barres { margin-bottom: 18px; }
.barres div { margin-bottom: 10px; }
.barres label { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 4px; color: rgba(246,241,230,.8); }
.barres .piste { height: 12px; border-radius: 6px; background: rgba(246,241,230,.1); overflow: hidden; }
.barres .piste i { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1s var(--ease); }
.barres .b-conso i { background: var(--ciel); }
.barres .b-prod i { background: var(--soleil); }
.prix { padding: 16px; border-radius: 12px; border: 1.5px dashed rgba(246,241,230,.35); margin-bottom: 14px; }
.prix b { font-family: var(--f-display); font-size: 20px; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.prix p { font-size: 13px; color: rgba(246,241,230,.7); margin: 0 0 4px; }
.prix a { color: var(--soleil); }
.message { font-size: 14.5px; line-height: 1.5; background: rgba(246,241,230,.08); border-radius: 12px; padding: 14px 16px; }
.message a { color: var(--soleil); }
.simu__note { font-size: 13.5px; color: var(--encre-2); margin-top: 22px; display: grid; grid-template-columns: auto 1fr; gap: 12px; max-width: 70ch; }
.simu__note::before { content: "☀"; font-size: 18px; line-height: 1.2; color: var(--abricot-fonce); }
.tag-maquette { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--encre); color: var(--soleil); }
.tag-maquette--clair { background: rgba(255,255,255,.6); color: var(--encre); }
.cache { display: none !important; }

/* --------------------------------------------------------------------------
   Accompagnement — parcours, flux d'énergie
   -------------------------------------------------------------------------- */
.parcours { background: var(--foret); color: var(--craie); overflow: clip; }
.parcours__grille { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); }
.parcours__fixe { position: sticky; top: calc(var(--nav-h) + 48px); align-self: start; }
.parcours__fixe h2 { font-size: clamp(44px, 6vw, 92px); line-height: .92; margin-bottom: 28px; }
.parcours__fixe h2 em { font-style: normal; color: var(--soleil); }
.parcours__fixe p { color: rgba(246,241,230,.78); max-width: 34em; }
.compteur-etape { display: flex; align-items: baseline; gap: 10px; margin-top: 36px; font-family: var(--f-display); }
.compteur-etape b { font-size: clamp(80px, 9vw, 140px); font-weight: 600; letter-spacing: -.06em; line-height: .8; color: var(--soleil); font-variant-numeric: tabular-nums; min-width: 1.15em; }
.compteur-etape span { font-size: 22px; color: rgba(246,241,230,.5); }
.etapes { list-style: none; margin: 0; padding: 0 0 0 64px; position: relative; }
.flux { position: absolute; left: 24px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: rgba(246,241,230,.16); list-style: none; }
.flux .courant { position: absolute; inset: 0; border-radius: 2px; background: var(--soleil); transform-origin: 50% 0; transform: scaleY(0); box-shadow: 0 0 18px rgba(255,197,58,.45); }
.etape { position: relative; padding: 0 0 clamp(64px, 8vw, 120px); }
.etape:last-child { padding-bottom: 0; }
.etape__noeud { position: absolute; left: -64px; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--foret); border: 2px solid rgba(246,241,230,.22); transition: background-color .4s, border-color .4s, transform .5s var(--ease-ressort); }
.etape__noeud svg { width: 26px; height: 26px; stroke: rgba(246,241,230,.6); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.etape.active .etape__noeud { background: var(--soleil); border-color: var(--soleil); transform: rotate(-6deg) scale(1.06); }
.etape.active .etape__noeud svg { stroke: var(--encre); }
.etape__tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soleil); margin: 12px 0 10px; }
.etape h3 { font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 14px; color: var(--craie); opacity: .45; transition: opacity .5s; }
.etape.active h3 { opacity: 1; }
.etape p { color: rgba(246,241,230,.78); max-width: 34em; font-size: 17.5px; }
.etape .legende { font-size: 13px; }
.etape figure { margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.etape figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.etape .jalons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.etape .jalons li { padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(246,241,230,.3); font-size: 14px; }
.parcours__resume { margin-top: clamp(64px, 8vw, 110px); padding-top: 36px; border-top: 1.5px solid rgba(246,241,230,.25); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.parcours__resume p:first-child { grid-column: 1 / span 7; font-family: var(--f-display); font-weight: 500; font-size: clamp(21px, 2vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.parcours__resume p:last-child { grid-column: 9 / span 4; color: rgba(246,241,230,.75); }

/* --------------------------------------------------------------------------
   Réalisations — mosaïque éditoriale
   -------------------------------------------------------------------------- */
.real__entete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.real__entete h2 { grid-column: 1 / span 8; font-size: clamp(44px, 7vw, 112px); line-height: .9; }
.real__entete h2 .num04 { display: inline-block; color: var(--craie); background: var(--tuile); padding: 0 .12em .02em; border-radius: .1em; transform: rotate(-3deg); margin-left: .05em; }
.real__entete > div { grid-column: 9 / span 4; }
.mosaique { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 24px); grid-auto-flow: dense; }
.projet { margin: 0; position: relative; text-decoration: none; display: block; }
.projet__img { overflow: hidden; position: relative; background: var(--encre); }
.projet__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.projet:hover .projet__img img { transform: scale(1.045); }
.projet figcaption { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 14px; align-items: baseline; }
.projet__lieu { font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.025em; line-height: 1.1; }
.projet__fleche { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--encre); display: grid; place-items: center; transition: background-color .25s, transform .35s var(--ease-ressort); grid-row: span 2; }
.projet:hover .projet__fleche { background: var(--soleil); border-color: var(--soleil); transform: rotate(-45deg); }
.projet__desc { font-size: 14.5px; color: var(--gris); line-height: 1.4; }
.projet__stat {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: var(--soleil); color: var(--encre);
  padding: 10px 14px 8px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.25; max-width: 230px;
}
.projet__stat b { display: block; font-family: var(--f-display); font-size: 30px; letter-spacing: -.04em; line-height: 1; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.projet__stat--clair { background: var(--papier); }
.p-forcalquier { grid-column: span 7; } .p-forcalquier .projet__img { aspect-ratio: 16 / 10.4; }
.p-courbons { grid-column: span 5; } .p-courbons .projet__img { aspect-ratio: 4 / 5.05; }
.p-pierrevert { grid-column: span 4; } .p-pierrevert .projet__img { aspect-ratio: 4 / 4.6; }
.p-volx { grid-column: span 5; margin-top: clamp(0px, 5vw, 80px); } .p-volx .projet__img { aspect-ratio: 4 / 3.6; }
.p-mezel { grid-column: span 3; } .p-mezel .projet__img { aspect-ratio: 3 / 4; }
.p-villeneuve { grid-column: 2 / span 5; } .p-villeneuve .projet__img { aspect-ratio: 4 / 3; }
.p-mees { grid-column: span 5; } .p-mees .projet__img { aspect-ratio: 16 / 10; }
.real__bas { margin-top: clamp(40px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1.5px solid var(--encre); }
.real__bas p { font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; margin: 0; max-width: 28em; }

/* --------------------------------------------------------------------------
   Confiance : RGE + avis + sources
   -------------------------------------------------------------------------- */
.confiance { background: var(--papier); }
.confiance__grille { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.rge-bloc { grid-column: 1 / span 4; background: var(--soleil); border-radius: var(--r-l); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; position: relative; overflow: hidden; min-height: 540px; }
.rge-bloc__logo { background: var(--blanc); border-radius: 14px; padding: 14px; width: 74%; transform: rotate(-5deg); box-shadow: 0 16px 30px -18px rgba(120,60,0,.6); margin: 10px 0 34px; }
.rge-bloc h3 { font-size: clamp(30px, 2.8vw, 42px); margin-bottom: 14px; }
.rge-bloc p { font-size: 16px; }
.rge-bloc .lien-fleche { margin-top: auto; align-self: flex-start; }
.rge-bloc::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: var(--abricot); opacity: .45; }

.avis { grid-column: 5 / span 8; background: var(--encre); color: var(--craie); border-radius: var(--r-l); padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; min-height: 540px; position: relative; overflow: hidden; }
.avis__haut { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.avis__note { display: flex; align-items: center; gap: 12px; }
.avis__note b { font-family: var(--f-display); font-size: 44px; letter-spacing: -.04em; line-height: 1; }
.avis__note .etoiles { color: var(--soleil); letter-spacing: .12em; font-size: 18px; }
.avis__note small { display: block; font-size: 13px; color: rgba(246,241,230,.6); }
.avis__piste { position: relative; flex: 1; display: grid; }
.avis__item { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; display: flex; flex-direction: column; }
.avis__item.actif { opacity: 1; transform: none; pointer-events: auto; }
.avis__item blockquote { margin: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(22px, 2.3vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
.avis__item blockquote::before { content: "“"; display: block; font-size: 2.6em; line-height: .6; color: var(--soleil); margin-bottom: .1em; }
.avis__item footer { margin-top: auto; padding-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.avis__item footer .ville { padding: 6px 12px; border-radius: 999px; background: rgba(246,241,230,.1); font-size: 13px; }
.avis__bas { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 16px; flex-wrap: wrap; }
.avis__points { display: flex; gap: 6px; }
.avis__points button { width: 28px; height: 8px; border-radius: 4px; border: 0; background: rgba(246,241,230,.22); cursor: pointer; padding: 0; transition: background-color .3s, width .4s var(--ease); }
.avis__points button[aria-current="true"] { background: var(--soleil); width: 48px; }
.avis__fleches { display: flex; gap: 8px; }
.avis__fleches button { width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid rgba(246,241,230,.35); background: none; color: var(--craie); cursor: pointer; transition: background-color .2s, color .2s; }
.avis__fleches button:hover { background: var(--soleil); color: var(--encre); border-color: var(--soleil); }
.avis a { color: var(--soleil); }

.sources { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(28px, 3.4vw, 48px) 0 0; margin-top: clamp(24px, 3vw, 40px); border-top: 1.5px solid var(--encre); }
.sources__titre { grid-column: 1 / span 4; }
.sources__titre h3 { font-size: clamp(30px, 3vw, 44px); }
.sources__titre .ines { display: inline-flex; margin-top: 18px; font-family: var(--f-display); font-weight: 700; font-size: 44px; letter-spacing: -.04em; color: var(--abricot-fonce); }
.sources__col { grid-column: span 4; }
.sources__col h4 { font-family: var(--f-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 0 0 10px; }
.sources__col p { color: var(--encre-2); font-size: 16px; }

/* --------------------------------------------------------------------------
   Contact — final
   -------------------------------------------------------------------------- */
.contact { background: var(--soleil); overflow: hidden; padding-bottom: 0; }
.contact__titre { font-size: clamp(42px, 7.2vw, 118px); line-height: .9; letter-spacing: -.045em; max-width: 14ch; }
.contact__titre .l { display: block; }
.contact__titre .l2 { padding-left: 1.4em; }
.contact__titre .o4 { display: inline-block; background: var(--encre); color: var(--soleil); padding: 0 .1em .02em; border-radius: .1em; transform: rotate(4deg); }
.contact__grille { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-top: clamp(40px, 5vw, 72px); position: relative; z-index: 2; }
.contact__infos { grid-column: 1 / span 5; }
.contact__infos .lead { color: var(--encre); margin-bottom: 32px; }
.contact__tel { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: clamp(36px, 4.4vw, 64px); letter-spacing: -.045em; line-height: 1; text-decoration: none; border-bottom: 4px solid var(--encre); margin-bottom: 18px; }
.contact__tel:hover { color: var(--tuile-fonce); border-color: var(--tuile-fonce); }
.contact__mail { display: block; font-size: 20px; font-weight: 600; text-decoration: none; }
.contact__mail:hover { text-decoration: underline; }
.agences { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--encre); }
.agences > div { padding: 18px 16px 0 0; }
.agences > div + div { padding-left: 16px; border-left: 1.5px solid var(--encre); }
.agences span { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.agences b { display: block; font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; margin-top: 6px; }
.agences p { font-size: 14px; margin-top: 4px; }

.formulaire { grid-column: 7 / span 6; background: var(--papier); border-radius: var(--r-l); padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 50px -36px rgba(120,60,0,.7); }
.formulaire__haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.formulaire__haut h3 { font-size: 28px; }
.formulaire .ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-champ { margin-bottom: 14px; }
.f-champ label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.f-champ input, .f-champ textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px; border-radius: 10px; border: 1.5px solid var(--trait); background: var(--blanc); color: var(--encre); transition: border-color .2s, box-shadow .2s; }
.f-champ input:focus, .f-champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px var(--soleil); }
.f-champ textarea { min-height: 120px; resize: vertical; }
.f-champ input:user-invalid { border-color: var(--tuile); }
.formulaire__bas { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.formulaire__bas p { font-size: 13px; color: var(--gris); margin: 0; max-width: 26em; }
.formulaire__ok { display: none; padding: 16px; border-radius: 12px; background: var(--vert-pale); margin-top: 14px; font-weight: 600; }
.formulaire.envoye .formulaire__ok { display: block; }

/* Soleil couchant — bouclage du hero */
.couchant { position: relative; height: clamp(220px, 26vw, 380px); margin-top: clamp(60px, 7vw, 110px); }
.couchant svg { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(1200px, 140vw); height: auto; }
.couchant .disque { fill: var(--abricot); }
.couchant .rayon { stroke: var(--abricot); stroke-width: 24; stroke-linecap: round; }
.couchant .maison { fill: none; stroke: var(--encre); stroke-width: 14; stroke-linejoin: round; stroke-linecap: round; }
.couchant .feuille { fill: var(--vert); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--encre); color: var(--craie); padding: clamp(44px, 5vw, 72px) 0 24px; }
.footer__grille { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--soleil); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { text-decoration: none; color: rgba(246,241,230,.82); font-size: 15px; }
.footer a:hover { color: var(--soleil); }
.footer__contact p { font-size: 15px; color: rgba(246,241,230,.82); }
.footer__contact .gros { font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; color: var(--craie); display: block; margin-bottom: 6px; }
.footer__reseaux { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.footer__reseaux a { padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(246,241,230,.25); font-size: 13px; }
.footer__mot { margin-top: clamp(48px, 6vw, 88px); font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 8.4vw, 126px); letter-spacing: -.055em; line-height: .8; color: var(--craie); white-space: nowrap; display: flex; align-items: flex-end; gap: .12em; }
.footer__mot .rond { width: .62em; height: .62em; border-radius: 50%; background: var(--soleil); flex-shrink: 0; margin-bottom: .04em; }
.footer__legal { margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(246,241,230,.16); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: rgba(246,241,230,.6); }
.footer__legal .demo { margin-left: auto; color: var(--soleil); }

/* Barre CTA mobile */
.cta-mobile { display: none; }

/* --------------------------------------------------------------------------
   Apparitions au scroll
   -------------------------------------------------------------------------- */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.vu { opacity: 1; transform: none; }
.js .rv-ligne .l { display: block; overflow: hidden; }
.js .rv-ligne .l > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--n, 0) * .08s); }
.js .rv-ligne.vu .l > span { transform: none; }
/* Hero : animation au chargement, indépendante du JS */
.js .hero .rv-ligne .l > span { transform: none; transition: none; animation: monte 1s var(--ease) both; animation-delay: calc(.05s + var(--n, 0) * .08s); }
.js .hero .rv { opacity: 1; transform: none; transition: none; animation: apparait .9s var(--ease) both .35s; }
@keyframes monte { from { transform: translateY(105%); } to { transform: none; } }
@keyframes apparait { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav__liens > li > a, .nav__liens > li > button { padding: 10px 7px; font-size: 14px; }
  .logo__nom small { display: none; }
}
@media (max-width: 1024px) {
  .nav__liens, .nav__actions .btn { display: none; }
  .nav__burger { display: grid; }
  .nav__actions { margin-left: auto; }

  .hero__titre { grid-column: 1 / -1; }
  .hero__cote { grid-column: 1 / span 9; margin-top: 28px; }
  .soleil { left: auto; right: -12%; transform: translate(0, -50%); width: clamp(280px, 56vw, 480px); }

  .service { grid-template-columns: 1fr; min-height: 0; position: relative; top: 0; }
  .service__visuel { min-height: 420px; margin: 0 14px 14px; }
  .criteres { grid-template-columns: 1fr; }
  .scene-critere { min-height: 440px; order: -1; }
  .simu { grid-template-columns: 1fr; }
  .parcours__grille { grid-template-columns: 1fr; }
  .parcours__fixe { position: static; }
  .compteur-etape { display: none; }
  .rge-bloc { grid-column: 1 / -1; min-height: 0; }
  .avis { grid-column: 1 / -1; }
  .footer__grille { grid-template-columns: 1fr 1fr; }
  .footer__grille > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .entreprise__grille, .mission, .services__entete, .commencer__entete, .etude-pro, .simu__entete, .real__entete, .contact__grille, .parcours__resume { grid-template-columns: 1fr; }
  .entreprise__grille > *, .mission > *, .services__entete > *, .commencer__entete > *, .etude-pro > *, .simu__entete > *, .real__entete > *, .contact__grille > *, .parcours__resume > * { grid-column: 1 / -1 !important; }
  .entreprise__photo { margin-bottom: 96px; width: 82%; }
  .entreprise__titre .l2 { padding-left: .8em; }
  .entreprise__titre .l3 { padding-left: 0; }
  .reperes { grid-template-columns: 1fr 1fr; }
  .repere:nth-child(3) { padding-left: 0; border-left: 0; }
  .repere { padding-bottom: 22px; }
  .repere:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .mission__photos { height: 440px; margin-bottom: 40px; }
  .services__entete > div + div, .commencer__entete p, .simu__entete > div + div, .real__entete > div { margin-top: 20px; }
  .etude-pro__liste { margin-top: 40px; }
  .mosaique { grid-template-columns: 1fr 1fr; }
  .mosaique .projet { grid-column: span 2; margin-top: 0; }
  .mosaique .p-pierrevert, .mosaique .p-mezel { grid-column: span 1; }
  .p-pierrevert .projet__img, .p-mezel .projet__img { aspect-ratio: 3 / 4; }
  .p-courbons .projet__img { aspect-ratio: 4 / 3; }
  .sources { grid-template-columns: 1fr; }
  .sources > * { grid-column: 1 / -1 !important; margin-bottom: 20px; }
  .formulaire { margin-top: 40px; }
  .parcours__resume p:last-child { margin-top: 16px; }
  .equipements { grid-template-columns: 1fr; }
  .equipements > * { grid-column: 1 / -1 !important; }
  .equipements__titre { margin-bottom: 16px; }
}
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .nav { top: 8px; }
  .nav__barre { padding: 0 8px 0 12px; border-radius: 14px; }
  .logo img { width: 34px; }
  .logo__nom { font-size: 17px; }
  .logo__nom small { font-size: 9.5px; }
  .hero h1 { font-size: clamp(42px, 12.4vw, 64px); }
  .hero h1 .l2 { padding-left: .5em; }
  .hero__cote { grid-column: 1 / -1; }
  .hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; }
  .soleil { width: 250px; right: -36px; }
  .hero__haut { padding-bottom: 104px; }
  .hero__photo { height: 520px; border-radius: 16px 16px 0 0; }
  .hero__photo img { object-position: 64% 60%; }
  .annot--avis { display: none; }
  .annot--fiche { width: calc(100% - 32px); }
  .sticker-rge { right: 14px; top: 14px; width: 96px; font-size: 8.5px; padding: 8px 8px 6px; letter-spacing: .03em; }
  .zones__titre { display: none; }
  .service { border-radius: 16px; }
  .service__texte .btn { width: 100%; justify-content: space-between; }
  .service__visuel { min-height: 340px; }
  .chip--haut-droite { display: none; }
  .scene-critere { min-height: 340px; }
  .critere__corps p { padding-left: 0; }
  .critere .barre { margin-left: 0; }
  .critere button { grid-template-columns: 40px 1fr 24px; }
  .boussole { grid-template-columns: 1fr; }
  .boussole svg { margin: 0 auto; }
  .kpis { grid-template-columns: 1fr; }
  .kpi--soleil { grid-column: auto; }
  .etapes { padding-left: 56px; }
  .etape__noeud { left: -56px; width: 44px; height: 44px; }
  .flux { left: 20px; }
  .formulaire .ligne { grid-template-columns: 1fr; }
  .agences { grid-template-columns: 1fr; }
  .agences > div + div { border-left: 0; padding-left: 0; border-top: 1.5px solid var(--encre); margin-top: 18px; }
  .footer__grille { grid-template-columns: 1fr; }
  .footer__legal .demo { margin-left: 0; }
  .avis__item blockquote { font-size: 21px; }
  .contact__titre { font-size: clamp(36px, 10.4vw, 54px); }
  .contact__titre .l, .js .contact__titre .l > span { display: inline; }
  .contact__titre .l::after { content: " "; }
  .contact__titre .l2 { padding-left: 0; }
  .cta-mobile {
    display: grid; grid-template-columns: 1fr auto; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80;
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .cta-mobile.visible { transform: none; }
  .cta-mobile .btn { justify-content: center; box-shadow: 0 3px 0 var(--ombre), 0 14px 30px -10px rgba(0,0,0,.35); }
  .footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-ligne .l > span { opacity: 1; transform: none; }
  .zones__liste { animation: none; }
}

/* Header : bouton sans ombre portée (évite le débord sur le bord de la barre) */
.nav__actions .btn { box-shadow: none; }
.nav__actions .btn:hover { transform: none; background: #24382c; box-shadow: none; }
.nav__actions .btn:active { transform: scale(.98); box-shadow: none; }

/* Header auto-adaptatif : le JS mesure la place disponible et
   masque d'abord le téléphone, puis bascule en menu burger si besoin */
.nav__liens, .nav__actions, .logo { flex-shrink: 0; }
.nav.sans-tel .nav__tel { display: none; }
.nav.compact .nav__liens, .nav.compact .nav__actions .btn { display: none; }
.nav.compact .nav__burger { display: grid; }
.nav.compact .nav__actions { margin-left: auto; }

/* Hero texte seul : remplit le premier écran, contenu centré verticalement */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 12px);
  padding-bottom: clamp(32px, 4vw, 56px);
}
.hero__haut { align-items: center; padding-bottom: 0; }
@media (max-width: 640px) { .hero__haut { padding-bottom: 0; } }

/* Soleil de fond du hero : posé sur le bas de la section (horizon = bandeau vert) */
.hero > .soleil {
  top: auto; bottom: 0; left: 64%;
  width: clamp(340px, 44vw, 700px);
  transform: translate(-50%, 30%);
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 1; }
@media (max-width: 1024px) { .hero > .soleil { left: auto; right: -10%; transform: translate(0, 34%); } }
@media (max-width: 640px) { .hero > .soleil { width: 300px; right: -70px; transform: translate(0, 15%); } }

/* Hero v2 : textes plus amples, PACA en étiquette (même forme que la section entreprise), soleil plus bas */
.hero > .wrap { max-width: 1560px; }
.hero h1 { font-size: clamp(46px, 7.8vw, 128px); }
.hero h1 .cellule-paca {
  display: inline-block; vertical-align: .08em;
  font-size: .62em; padding: .02em .22em .08em; margin-left: .06em;
  background: var(--encre); color: var(--soleil);
  border-radius: .18em;
  transform: rotate(3deg);
}
.hero__cote .lead { font-size: clamp(19px, 1.55vw, 26px); }
.hero__cote .btn { min-height: 58px; font-size: 17px; padding: 0 24px; }
.hero > .soleil { transform: translate(-50%, 50%); }
@media (max-width: 1024px) { .hero > .soleil { transform: translate(0, 50%); } }
@media (max-width: 640px) { .hero > .soleil { transform: translate(0, 46%); } .hero__cote .btn { min-height: 52px; font-size: 16px; } }
