/* Solution Avant-Garde Construction : marine et vert forêt du logo,
   vert « laser » de leur bannière, photo de leurs travaux au premier plan. */
@font-face { font-family: "Urbanist"; src: url("polices/urbanist.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Libre Franklin"; src: url("polices/libre-franklin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --marine: #10233f;
  --marine-2: #0a182d;
  --foret: #2c6440;
  --foret-fonce: #224f33;
  --laser: #7bdc52;
  --c-fond: #f3f5f0;
  --c-fond-2: #e8ece4;
  --c-texte: #13233a;
  --c-texte-doux: #4f5d6f;
  --c-trait: rgba(19, 35, 58, .13);
  --c-accent: var(--foret);
  --c-accent-texte: #fff;
  --c-sombre: var(--marine);
  --c-sombre-texte: #eef2ea;
  --f-titre: "Urbanist", system-ui, sans-serif;
  --f-texte: "Libre Franklin", system-ui, sans-serif;
  --rayon: 18px;
  --rayon-bouton: 10px;
  --ombre: 0 28px 50px -30px rgba(16, 35, 63, .45);
}
html, body { overflow-x: clip; }
body { font-size: 16.5px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 4.2vw, 54px); }
h3 { font-weight: 700; }
.surtitre { color: var(--foret); letter-spacing: .12em; font-size: 12.5px; }
.surtitre::before { content: ""; width: 22px; height: 2px; background: var(--laser); box-shadow: 0 0 8px var(--laser); }
.section--sombre .surtitre { color: var(--laser); }
.lien-souligne { text-decoration: underline; text-decoration-color: var(--laser); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* --- Boutons ------------------------------------------------------------- */
.bouton { min-height: 52px; font-family: var(--f-titre); font-weight: 700; font-size: 16.5px; letter-spacing: .005em; position: relative; overflow: hidden; isolation: isolate; }
.bouton::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--foret-fonce); translate: -101% 0; transition: translate .45s var(--courbe); }
.bouton--clair { background: #fff; color: var(--marine); }
.bouton--clair::before { background: var(--laser); }
.bouton--laser { background: var(--laser); color: var(--marine); }
.bouton--laser::before { background: #fff; }
.bouton--contour-clair { border-color: rgba(255,255,255,.4); color: #fff; }
.bouton--contour-clair::before { background: rgba(255,255,255,.12); }
.bouton--petit { min-height: 46px; padding: 12px 18px; font-size: 15px; }
@media (hover: hover) { .bouton:hover::before { translate: 0 0; } }

/* --- En-tête --------------------------------------------------------------- */
.entete { padding-block: 14px; }
.entete.est-defile { padding-block: 8px; }
.entete-rangee { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marque { display: flex; align-items: center; gap: 12px; min-width: 0; }
.marque img { width: 52px; height: 52px; border-radius: 12px; background: #fff; flex: none; }
.marque-texte { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--f-titre); }
.marque-texte strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.marque-texte small { font-size: 12.5px; font-weight: 600; color: var(--c-texte-doux); letter-spacing: .04em; }
.nav-ordi { display: flex; gap: 4px; }
.nav-ordi a { position: relative; padding: 10px 12px; font: 600 15px/1 var(--f-titre); }
.nav-ordi a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--laser); box-shadow: 0 0 6px var(--laser); scale: 0 1; transform-origin: left; transition: scale .35s var(--courbe); }
.nav-ordi a:hover::after { scale: 1 1; }
.entete-actions { display: flex; align-items: center; gap: 14px; }
.entete-tel { display: inline-flex; align-items: center; gap: 8px; font: 700 15.5px/1 var(--f-titre); padding: 12px 4px; }
.entete-tel svg { width: 20px; height: 20px; color: var(--foret); }
.bouton-menu { background: var(--marine); flex-direction: column; gap: 6px; align-content: center; justify-items: center; }
.bouton-menu span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: rotate .3s, translate .3s; }
html.menu-ouvert .bouton-menu span:first-child { translate: 0 4px; rotate: 45deg; }
html.menu-ouvert .bouton-menu span:last-child { translate: 0 -4px; rotate: -45deg; }
html.menu-ouvert .entete { z-index: 70; background: var(--c-fond); }
.panneau-menu { padding-top: 104px; }
.panneau-menu a { font-size: 24px; }
.panneau-bas { display: grid; gap: 14px; margin-top: 24px; }
.panneau-bas .bouton { justify-content: center; border-bottom: 0; font-size: 17px; padding: 16px 26px; }
.panneau-menu .panneau-tel { border: 0; text-align: center; font-size: 22px; color: var(--foret); }
@media (max-width: 1100px) { .nav-ordi a { padding-inline: 8px; font-size: 14px; } .entete-tel span { display: none; } }

/* --- Héros ------------------------------------------------------------------ */
.heros { padding-top: 84px; }
.heros-cadre { position: relative; margin-inline: clamp(10px, 1.6vw, 24px); border-radius: clamp(22px, 2.4vw, 34px); overflow: clip; min-height: min(80svh, 760px);
  display: flex; align-items: flex-end; color: #fff; background: var(--marine); }
.heros-photo { position: absolute; inset: 0; }
.heros-photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 30% 50%; }
.heros-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 24, 45, .82) 0%, rgba(10, 24, 45, .5) 42%, rgba(10, 24, 45, 0) 70%),
  linear-gradient(0deg, rgba(10, 24, 45, .7) 0%, rgba(10, 24, 45, 0) 50%); }
.heros-texte { position: relative; z-index: 2; width: min(100%, 700px); padding: clamp(28px, 5vw, 72px); padding-bottom: clamp(36px, 6vw, 96px); }
.heros-lieu { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font: 600 13px/1.3 var(--f-titre); letter-spacing: .1em; text-transform: uppercase; color: var(--laser); text-shadow: 0 1px 8px rgba(10, 24, 45, .9); }
.heros h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; margin-bottom: 20px; }
.heros-chapeau { font-size: clamp(17px, 1.4vw, 19.5px); color: rgba(255,255,255,.86); max-width: 52ch; }
.heros-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.lien-tel-heros { color: rgba(255,255,255,.85); padding-block: 12px; }
.lien-tel-heros strong { color: #fff; border-bottom: 2px solid var(--laser); }

/* Trait de niveau laser qui balaie la photo puis se pose */
.laser { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.laser-trait { position: absolute; left: 0; right: 0; top: 64%; height: 2px; background: linear-gradient(90deg, var(--laser), rgba(123, 220, 82, .55) 70%, rgba(123, 220, 82, 0));
  box-shadow: 0 0 10px var(--laser), 0 0 24px rgba(123, 220, 82, .6); transform-origin: left; animation: laser-balaye 2.6s var(--courbe) .3s both, laser-souffle 3.2s ease-in-out 3s infinite; }
.laser-point { position: absolute; left: 14px; top: 64%; width: 12px; height: 12px; margin-top: -5px; border-radius: 50%; background: #eaffdf; box-shadow: 0 0 0 4px rgba(123, 220, 82, .45), 0 0 18px 4px var(--laser);
  animation: laser-balaye-point 2.6s var(--courbe) .3s both; }
@keyframes laser-balaye { 0% { top: 8%; scale: 0 1; opacity: 0; } 15% { opacity: 1; scale: 1 1; } 55% { top: 80%; } 100% { top: 64%; scale: 1 1; opacity: 1; } }
@keyframes laser-balaye-point { 0% { top: 8%; opacity: 0; } 15% { opacity: 1; } 55% { top: 80%; } 100% { top: 64%; opacity: 1; } }
@keyframes laser-souffle { 50% { opacity: .55; } }

.heros-fiche-zone { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.fiche { width: 440px; flex: none; margin-top: -420px; order: 2; clip-path: none !important; }
.fiche-onglet { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 13px; border-radius: 14px 14px 0 0; background: var(--marine); color: #fff; font: 700 14px/1.2 var(--f-titre); }
.fiche-pastille { width: 9px; height: 9px; border-radius: 50%; background: var(--laser); box-shadow: 0 0 0 0 rgba(123, 220, 82, .7); animation: pastille 2s infinite; }
@keyframes pastille { 70% { box-shadow: 0 0 0 9px rgba(123, 220, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 220, 82, 0); } }
.fiche-form { background: #fff; border-radius: 0 20px 20px 20px; padding: 24px; box-shadow: 0 40px 70px -30px rgba(10, 24, 45, .55); border-top: 3px solid var(--laser); }
.fiche-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.fiche-titre { margin: 0; font: 800 21px/1.2 var(--f-titre); letter-spacing: -.01em; }
.fiche-etape { font: 600 13px/1 var(--f-titre); color: var(--c-texte-doux); white-space: nowrap; }
.etapes-barre { height: 4px; margin-bottom: 18px; }
.fiche legend { padding: 0; margin-bottom: 12px; font: 700 17px/1.3 var(--f-titre); }
.choix-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix { position: relative; min-height: 64px; padding: 12px 14px; font-size: 14.5px; line-height: 1.25; background: var(--c-fond); border-color: transparent; }
.choix--large { grid-column: 1 / -1; min-height: 52px; }
.choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choix span { position: relative; padding-left: 26px; }
.choix span::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; border: 2px solid rgba(19, 35, 58, .3); background: #fff; transition: background .2s, border-color .2s; }
.choix:has(input:checked) span::before { background: var(--foret); border-color: var(--foret); box-shadow: inset 0 0 0 3px #fff; }
.choix:has(input:focus-visible) { outline: 2px solid var(--foret); outline-offset: 2px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.champs label { display: grid; gap: 6px; font: 600 13.5px/1.2 var(--f-titre); }
.champ-large { grid-column: 1 / -1; }
.champ { padding: 13px 14px; background: var(--c-fond); border-color: transparent; font-size: 16px; }
textarea.champ { resize: vertical; min-height: 84px; }
.fiche-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 18px; }
.fiche-actions .bouton { flex: 1; justify-content: center; }
.fiche-retour { min-height: 48px; padding: 0 14px; border: 0; background: none; color: var(--c-texte-doux); font-weight: 600; cursor: pointer; }
.fiche .merci { background: #fff; border-top: 3px solid var(--laser); box-shadow: var(--ombre); }

.heros-garanties { order: 1; list-style: none; margin: 0; padding: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; flex: 1; }
.heros-garanties li { display: grid; gap: 2px; padding: 4px 18px; border-left: 2px solid var(--c-trait); font-size: 14px; color: var(--c-texte-doux); }
.heros-garanties li:first-child { border-left-color: var(--laser); }
.heros-garanties strong { font: 800 16px/1.2 var(--f-titre); color: var(--c-texte); }

/* --- Bandeau ------------------------------------------------------------------ */
.bandeau { margin-top: clamp(48px, 7vw, 88px); padding-block: 22px; background: var(--marine); color: #fff; --bandeau-espace: 30px; --bandeau-duree: 46s; }
.bandeau .piste { align-items: center; }
.bandeau .piste > span:not(.etoile) { font: 700 clamp(20px, 2.2vw, 28px)/1 var(--f-titre); letter-spacing: -.01em; white-space: nowrap; }
.etoile { width: 18px; height: 18px; background: var(--laser); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: icone-tourne 8s linear infinite; }

/* --- Approche ------------------------------------------------------------------ */
.approche-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.approche-visuel { position: relative; clip-path: none !important; }
.approche-photo { aspect-ratio: 4 / 5; border-radius: 26px; }
.releve { position: absolute; right: -24px; bottom: 32px; list-style: none; margin: 0; padding: 18px 20px; display: grid; gap: 10px; border-radius: 16px; background: #fff; box-shadow: var(--ombre); font: 600 15px/1.2 var(--f-titre); }
.releve li { display: flex; align-items: center; gap: 10px; opacity: .35; transition: opacity .5s; transition-delay: calc(.6s + var(--n) * .45s); }
.releve-coche { position: relative; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--c-trait); flex: none; transition: background .3s, border-color .3s; transition-delay: inherit; }
.releve-coche::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; rotate: 45deg; scale: 0; transition: scale .3s var(--courbe); transition-delay: inherit; }
.approche-visuel.est-visible .releve li { opacity: 1; }
.approche-visuel.est-visible .releve-coche { background: var(--foret); border-color: var(--foret); }
.approche-visuel.est-visible .releve-coche::after { scale: 1; }
.trois-temps { --p: 0; position: relative; list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 26px; }
.trois-temps::before, .trois-temps::after { content: ""; position: absolute; left: 21px; top: 10px; bottom: 30px; width: 2px; background: var(--c-trait); }
.trois-temps::after { background: var(--laser); box-shadow: 0 0 8px var(--laser); transform-origin: top; scale: 1 var(--p); }
.trois-temps li { position: relative; z-index: 1; display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.temps-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--marine); color: #fff; font: 700 14px/1 var(--f-texte); }
.trois-temps h3 { margin: 8px 0 4px; font-size: 21px; }
.trois-temps p { margin: 0; color: var(--c-texte-doux); }

/* --- Services --------------------------------------------------------------- */
.services-tete { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.services-tete h2 { margin: 0; }
.services-tete .chapeau { margin: 0; }
.services-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden; }
.service .image-zoom { position: relative; border-radius: 0; aspect-ratio: 16 / 10; }
.service .image-zoom::after { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 2px; background: var(--laser); box-shadow: 0 0 10px var(--laser); scale: 0 1; transform-origin: left; transition: scale .6s var(--courbe); }
.service:hover .image-zoom::after { scale: 1 1; }
.service-corps { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 24px 26px; flex: 1; }
.service-corps h3 { margin: 0; font-size: 22px; }
.service-corps p { margin: 0 0 6px; color: var(--c-texte-doux); font-size: 15.5px; }
.service-corps .lien-fleche { margin-top: auto; color: var(--foret); padding-block: 8px; }
.service-etiquette { display: inline-block; padding: 5px 10px; border-radius: 6px; background: color-mix(in srgb, var(--laser) 28%, #fff); color: var(--foret-fonce); font: 700 12px/1 var(--f-titre); letter-spacing: .06em; text-transform: uppercase; }
.service--grand { grid-row: span 2; }
.service--grand .image-zoom { aspect-ratio: auto; flex: 1; min-height: 280px; }
.service--grand .service-corps { flex: none; }
.service--liste { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding: 28px 32px; background: var(--marine); color: #fff; }
.service--liste h3 { margin: 0; font-size: 22px; }
.service--liste ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; flex: 1; }
.service--liste li { padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255,255,255,.22); font-size: 15px; }
.service-sapin { width: 40px; height: 40px; color: var(--laser); }
.service-bilingue { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); }

/* --- Diagnostic ------------------------------------------------------------------ */
.diagnostic { position: relative; overflow: clip; }
.diagnostic::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.diagnostic .conteneur { position: relative; }
.diagnostic-tete { max-width: 720px; margin-bottom: 40px; }
.diagnostic-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.symptomes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.symptome { position: relative; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.04);
  color: #fff; text-align: left; font: 600 15px/1.25 var(--f-titre); cursor: pointer; transition: background .25s, border-color .25s, color .25s, translate .25s var(--courbe); }
.symptome::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 5px; border: 2px solid rgba(255,255,255,.45); transition: background .2s, border-color .2s, box-shadow .2s; }
.symptome[aria-pressed="true"] { background: rgba(123, 220, 82, .14); border-color: var(--laser); }
.symptome[aria-pressed="true"]::before { background: var(--laser); border-color: var(--laser); box-shadow: inset 0 0 0 3px var(--marine), 0 0 10px var(--laser); }
@media (hover: hover) { .symptome:hover { translate: 0 -2px; border-color: rgba(123, 220, 82, .6); } }
.maison-zone { text-align: center; }
.maison { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; color: var(--laser); }
.maison-sol { stroke: rgba(255,255,255,.35); stroke-width: 2; }
.maison-sapin { fill: rgba(123, 220, 82, .22); }
.maison-sapin--2 { fill: rgba(255,255,255,.1); }
.maison-contour { fill: none; stroke: rgba(255,255,255,.75); stroke-width: 2.5; stroke-linejoin: round; }
.maison-porte { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 2; }
.zone > * { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.18); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.zone text { fill: #fff; stroke: none; fill-opacity: 0; font: 700 13px var(--f-titre); text-anchor: middle; transition: fill-opacity .4s; }
.zone.allumee > *:not(text) { fill: rgba(123, 220, 82, .26); stroke: var(--laser); animation: zone-pulse 1.8s ease-in-out infinite; }
.zone.allumee text { fill-opacity: 1; }
@keyframes zone-pulse { 50% { fill: rgba(123, 220, 82, .12); } }
.maison-laser { stroke: var(--laser); stroke-width: 1.5; stroke-dasharray: 6 6; opacity: .8; animation: laser-tirets 1.2s linear infinite; }
@keyframes laser-tirets { to { stroke-dashoffset: -24; } }
.maison-legende { margin: 14px 0 0; color: rgba(255,255,255,.7); font-size: 15px; min-height: 2.4em; }
.pistes { margin-top: 44px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.pistes-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.piste-carte { padding: 20px 22px; border-radius: 16px; background: #fff; color: var(--c-texte); animation: piste-arrive .5s var(--courbe) both; }
@keyframes piste-arrive { from { opacity: 0; translate: 0 16px; } }
.piste-carte h3 { margin: 0 0 8px; font-size: 18px; }
.piste-carte p { margin: 0 0 8px; font-size: 14.5px; color: var(--c-texte-doux); }
.piste-carte ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.piste-carte li::marker { color: var(--foret); }
.piste-carte .piste-quoi { font: 700 12px/1 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; color: var(--foret); margin: 10px 0 6px; }
.pistes-action { padding: 22px; border-radius: 16px; border: 1px solid rgba(123, 220, 82, .5); background: rgba(123, 220, 82, .07); }
.pistes-action p { font-size: 14.5px; color: rgba(255,255,255,.8); }
.pistes-action .bouton { width: 100%; justify-content: center; }

/* --- Chantier : récit collant --------------------------------------------------- */
.chantier-tete { max-width: 760px; margin-bottom: 40px; }
.recit { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.recit-visuel { position: sticky; top: 104px; }
.recit-photos { position: relative; aspect-ratio: 16 / 10.5; border-radius: 24px; overflow: hidden; background: var(--marine); }
.recit-photo { position: absolute; inset: 0; margin: 0; opacity: 0; scale: 1.06; transition: opacity .7s var(--courbe), scale 1.2s var(--courbe); }
.recit-photo.est-active { opacity: 1; scale: 1; }
.recit-photo img { width: 100%; height: 100%; object-fit: cover; }
.recit-laser { position: absolute; left: 0; right: 0; top: 58%; height: 2px; background: var(--laser); box-shadow: 0 0 12px var(--laser), 0 0 30px rgba(123, 220, 82, .6); scale: 0 1; transform-origin: left; transition: scale .9s var(--courbe); }
.recit[data-actif="3"] .recit-laser { scale: 1 1; }
.recit-compteur { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 10px; background: rgba(10, 24, 45, .78); color: #fff; font: 700 14px/1 var(--f-titre); backdrop-filter: blur(6px); }
.recit-barre { height: 4px; margin-top: 14px; border-radius: 4px; background: var(--c-trait); overflow: hidden; }
.recit-barre span { display: block; height: 100%; width: 20%; background: var(--foret); transition: width .6s var(--courbe); }
.recit-etapes { list-style: none; margin: 0; padding: 0; }
.recit-etape { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 26px; border-left: 2px solid var(--c-trait); opacity: .35; transition: opacity .5s, border-color .5s; }
.recit-etape:first-child { min-height: 42vh; justify-content: flex-start; padding-top: 8px; }
.recit-etape:last-child { min-height: 52vh; }
.recit-etape.est-active { opacity: 1; border-left-color: var(--laser); }
.recit-quand { font: 700 13px/1 var(--f-titre); letter-spacing: .1em; text-transform: uppercase; color: var(--foret); margin-bottom: 10px; }
.recit-etape h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 10px; }
.recit-etape p { color: var(--c-texte-doux); max-width: 44ch; }
.recit-etape .lien-fleche { color: var(--foret); padding-block: 10px; }

/* --- Réalisations ------------------------------------------------------------------ */
.mosaique { display: grid; grid-template-columns: .8fr 1fr 1fr; grid-template-rows: 280px 300px; gap: 16px; }
.mosaique-item { position: relative; margin: 0; border-radius: 20px; overflow: hidden; }
.mosaique-item .image-zoom { position: absolute; inset: 0; border-radius: 0; }
.mosaique-item--haut { grid-row: span 2; }
.mosaique-item--large { grid-column: span 2; }
.mosaique-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(10, 24, 45, .82), rgba(10, 24, 45, 0)); color: #fff; font: 600 15px/1.3 var(--f-titre); }
.pastille-avant { padding: 5px 9px; border-radius: 6px; background: #fff; color: var(--marine); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.pastille-avant--pendant { background: var(--laser); }
.pastille-avant--apres { background: var(--foret); color: #fff; }

/* --- Territoire ------------------------------------------------------------------ */
.territoire-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.villes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 26px 0 0; padding: 0; }
.villes li { padding: 7px 12px; border-radius: 8px; background: var(--c-fond-2); font-size: 14px; transition: background .25s, color .25s; }
.villes li:hover { background: var(--marine); color: #fff; }
.villes .ville--base { background: var(--foret); color: #fff; font-weight: 600; }
.carte-zone { border-radius: 26px; overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 4.2; }
.carte-zone iframe { display: block; width: 100%; height: 100%; border: 0; }

/* --- FAQ ------------------------------------------------------------------ */
.faq-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-item summary { font-weight: 700; }
.faq-item[open] summary { color: var(--foret); }
.faq-item .plus { width: 30px; height: 30px; border-radius: 8px; background: #fff; }
.faq-item .plus::before, .faq-item .plus::after { inset: 50% 8px auto; }

/* --- Appel final ------------------------------------------------------------------ */
.appel-final { background: var(--marine); color: #fff; padding-block: clamp(72px, 9vw, 128px); position: relative; overflow: clip; }
.appel-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.appel-texte p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 48ch; }
.appel-texte .surtitre { color: var(--laser); }
.appel-boutons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.dessin-chalet { width: 100%; max-width: 460px; }
.dessin-chalet .trace { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset 1.8s var(--courbe); }
.dessin-chalet .trace:nth-of-type(2) { transition-delay: .25s; }
.dessin-chalet .trace:nth-of-type(3) { transition-delay: .5s; }
.dessin-chalet .trace:nth-of-type(4) { transition-delay: .75s; }
.dessin-chalet .trace:nth-of-type(5) { transition-delay: .95s; }
.dessin-chalet .trace:nth-of-type(6) { transition-delay: 1.15s; }
.dessin-chalet .trace:nth-of-type(7) { transition-delay: 1.35s; }
.dessin-chalet .trace:nth-of-type(8) { transition-delay: 1.5s; }
.dessin-chalet .sapin-trace { stroke: var(--laser); }
.dessin-chalet .aurore { stroke: var(--laser); stroke-width: 4; opacity: .7; filter: drop-shadow(0 0 6px var(--laser)); }
.dessin-chalet .aurore--2 { opacity: .4; }
.dessin-chalet.est-trace .trace { stroke-dashoffset: 0; }
.dessin-chalet.est-trace .aurore { animation: aurore 4s ease-in-out 2s infinite; }
@keyframes aurore { 50% { opacity: .25; } }
.etoile-dessin { fill: #fff; transform-origin: 86px 82px; scale: 0; transition: scale .6s var(--courbe) 1.8s; }
.dessin-chalet.est-trace .etoile-dessin { scale: 1; animation: scintille 2.6s ease-in-out 2.6s infinite; }
@keyframes scintille { 50% { scale: .6; opacity: .6; } }

/* --- Pied de page ------------------------------------------------------------------ */
.pied { background: var(--marine-2); color: rgba(255,255,255,.78); padding-top: 64px; font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.pied-nom { margin: 0 0 4px; font: 800 22px/1.15 var(--f-titre); color: #fff; }
.pied-en { font-size: 13.5px; color: var(--laser); }
.pied-titre { margin-bottom: 12px; font: 700 13px/1 var(--f-titre); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.pied-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pied-liste a { display: inline-block; padding-block: 6px; transition: color .2s; overflow-wrap: anywhere; }
.pied-liste a:hover { color: var(--laser); }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; font-size: 14px; }
.pied-bas p { margin: 0; }
.credit-b2web a { color: #fff; text-decoration-color: var(--laser); padding-block: 10px; }

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

/* ======================= Tablette ======================= */
@media (max-width: 1100px) {
  .heros-fiche-zone { flex-direction: column; align-items: stretch; }
  .fiche { width: min(100%, 620px); margin: -110px auto 0; order: 1; }
  .heros-cadre { min-height: 680px; align-items: flex-start; }
  .heros-texte { padding-bottom: 150px; }
  .heros-garanties { order: 2; grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
}
@media (max-width: 900px) {
  .approche-grille, .services-tete, .diagnostic-grille, .recit, .territoire-grille, .faq-grille, .appel-grille { grid-template-columns: 1fr; }
  .services-grille { grid-template-columns: 1fr 1fr; }
  .service--grand { grid-row: auto; grid-column: 1 / -1; }
  .service--grand .image-zoom { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
  .pistes { grid-template-columns: 1fr; }
  .service--liste { flex-direction: column; align-items: flex-start; }
  .service--liste ul { flex: none; width: 100%; }
  .releve { right: 12px; }
  .approche-photo { aspect-ratio: 4 / 3.4; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .dessin-chalet { max-width: 340px; }
  .recit-visuel { top: 76px; z-index: 2; background: var(--c-fond); padding-bottom: 10px; }
  .recit-etape, .recit-etape:first-child, .recit-etape:last-child { min-height: 46vh; justify-content: flex-start; padding-top: 28px; }
  .recit-etape:last-child { min-height: 40vh; }
}

/* ======================= Téléphone ======================= */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .entete { padding-block: 10px; }
  .marque img { width: 44px; height: 44px; }
  .marque-texte strong { font-size: 15.5px; }
  .marque-texte small { font-size: 11.5px; }
  .entete-actions .bouton--petit { display: none; }
  .entete-tel { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: #fff; padding: 0; box-shadow: 0 0 0 1px var(--c-trait); }
  .heros { padding-top: 72px; }
  .heros-cadre { min-height: 0; margin-inline: 10px; }
  .heros-photo img { object-position: 22% 50%; }
  .heros-photo::after { background: linear-gradient(0deg, rgba(10, 24, 45, .94) 0%, rgba(10, 24, 45, .78) 45%, rgba(10, 24, 45, .1) 78%); }
  .heros-texte { padding: 190px 20px 88px; }
  .heros-lieu { font-size: 11.5px; margin-bottom: 12px; }
  .heros h1 { font-size: 37px; margin-bottom: 14px; }
  .heros-chapeau { font-size: 16px; display: none; }
  .heros-boutons { margin-top: 18px; gap: 6px 16px; }
  .heros-boutons .bouton { padding: 14px 20px; }
  .lien-tel-heros { font-size: 15px; }
  .laser-trait, .laser-point { top: 20%; }
  @keyframes laser-balaye { 0% { top: 4%; scale: 0 1; opacity: 0; } 15% { opacity: 1; scale: 1 1; } 55% { top: 34%; } 100% { top: 20%; scale: 1 1; opacity: 1; } }
  @keyframes laser-balaye-point { 0% { top: 4%; opacity: 0; } 15% { opacity: 1; } 55% { top: 34%; } 100% { top: 20%; opacity: 1; } }
  .fiche { margin-top: -64px; width: auto; }
  .fiche-form { padding: 18px 16px; }
  .fiche-titre { font-size: 18px; }
  .choix { min-height: 60px; font-size: 14px; padding: 10px 12px; }
  .champs { grid-template-columns: 1fr; }
  .heros-garanties { grid-template-columns: 1fr 1fr; padding-top: 22px; }
  .heros-garanties li { padding: 2px 12px; font-size: 13px; }
  .heros-garanties strong { font-size: 15px; }
  .symptomes { grid-template-columns: 1fr; }
  .symptome { min-height: 50px; }
  .maison-zone { order: -1; }
  .maison { max-width: 320px; }
  .dessin-chalet { max-width: 260px; }
  .services-grille { grid-template-columns: 1fr; }
  .service--liste { padding: 24px 20px; }
  .mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 220px; gap: 10px; }
  .mosaique-item--haut { grid-row: span 2; }
  .mosaique-item--large { grid-column: 1 / -1; }
  .mosaique-item figcaption { font-size: 13px; padding: 30px 12px 12px; }
  .releve { position: relative; right: auto; bottom: auto; margin: -48px 14px 0; }
  .carte-zone { aspect-ratio: 1 / 1; }
  .pied-grille { grid-template-columns: 1fr; gap: 26px; }
  .recit-photos { aspect-ratio: 16 / 10; border-radius: 18px; }
  .recit-barre { margin-top: 10px; }
  .recit-etape p { font-size: 15.5px; }
  .barre-mobile { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(243, 245, 240, .94); backdrop-filter: blur(10px); box-shadow: 0 -1px 0 var(--c-trait); }
  .barre-mobile a { display: grid; place-items: center; min-height: 50px; border-radius: 10px; font: 700 16px/1 var(--f-titre); }
  .barre-appel { background: #fff; box-shadow: inset 0 0 0 1.5px var(--marine); color: var(--marine); }
  .barre-soumission { background: var(--foret); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  .laser-trait, .laser-point { animation: none; }
  .dessin-chalet .trace { stroke-dashoffset: 0; }
}
