/* Les gones du web - feuille de style
   Palette « brocart lyonnais » : indigo de jacquard, soie, garance, fil d'or */
@font-face { font-family: "Bricolage"; src: url("../polices/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage"; src: url("../polices/bricolage-ext.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --indigo: #1b1446;
  --indigo-2: #2b2268;
  --soie: #f5f3fb;
  --blanc: #fff;
  --garance: #e4334b;
  --or: #f2b634;
  --trame: #615d82;
  --ligne: #ddd9ec;
  --texte: #1b1446;
  --rayon: 14px;
  --cadre: 1240px;
  --f: "Bricolage", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--soie); color: var(--texte); font-family: var(--f); font-size: 1.0625rem; line-height: 1.6; font-variation-settings: "opsz" 14; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; font-weight: 750; font-variation-settings: "opsz" 72; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--indigo); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.evitement:focus { top: 12px; }
.cadre { width: 100%; max-width: var(--cadre); margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 780px; }
main:focus { outline: none; }

/* Titres : la largeur variable de la police fait le spectacle */
.titre { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-stretch: 78%; font-weight: 800; letter-spacing: -.015em; line-height: .95; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tete { display: grid; gap: 8px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .section-tete { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); } }
.section-intro { margin: 0; font-size: 1.12rem; color: var(--trame); max-width: 46ch; }

/* Boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 2px solid var(--or); background: var(--or); color: var(--indigo); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.bouton:hover { background: #ffc94f; border-color: #ffc94f; transform: translateY(-1px); }
.bouton-clair { background: transparent; color: var(--soie); border-color: rgba(245, 243, 251, .45); }
.bouton-clair:hover { background: rgba(245, 243, 251, .1); border-color: var(--soie); }
.bouton-trait { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.bouton-trait:hover { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.bouton-sombre { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.bouton-sombre:hover { background: var(--indigo-2); border-color: var(--indigo-2); }
.bouton-petit { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.bouton-large { width: 100%; }
.lien { font-weight: 700; color: var(--indigo); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.lien:hover { text-decoration-color: var(--garance); }

/* En-tete */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 251, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.entete.defile { box-shadow: 0 1px 0 var(--ligne), 0 8px 24px rgba(27, 20, 70, .06); }
.entete-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); }
.marque-signe { width: 38px; height: 38px; flex: none; color: var(--indigo); }
.marque-nom { font-size: 1.35rem; font-weight: 800; font-stretch: 80%; letter-spacing: -.01em; line-height: 1; }
.marque-nom span { color: var(--trame); font-weight: 600; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a:not(.bouton) { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.menu a:not(.bouton):hover { background: rgba(27, 20, 70, .06); }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.menu-bouton { display: none; }
@media (min-width: 1160px) { .menu { display: flex; align-items: center; gap: 18px; } }
@media (max-width: 1159px) {
  .menu-bouton { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--indigo); cursor: pointer; }
  .menu-barres, .menu-barres::before, .menu-barres::after { display: block; width: 20px; height: 2px; background: var(--soie); border-radius: 2px; transition: transform .2s; }
  .menu-barres { position: relative; }
  .menu-barres::before, .menu-barres::after { content: ""; position: absolute; left: 0; }
  .menu-barres::before { top: -6px; } .menu-barres::after { top: 6px; }
  .menu-bouton[aria-expanded="true"] .menu-barres { background: transparent; }
  .menu-bouton[aria-expanded="true"] .menu-barres::before { transform: translateY(6px) rotate(45deg); }
  .menu-bouton[aria-expanded="true"] .menu-barres::after { transform: translateY(-6px) rotate(-45deg); }
  .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--soie); border-top: 1px solid var(--ligne); padding: 12px 24px 24px; box-shadow: 0 20px 30px rgba(27, 20, 70, .12); display: none; }
  .menu.ouvert { display: block; }
  .menu ul { flex-direction: column; margin-bottom: 12px; }
  .menu a:not(.bouton) { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .menu .bouton { width: 100%; }
}

/* Bandeau d'accueil : la carte perforee */
.hero { position: relative; background: var(--indigo); color: var(--soie); overflow: hidden; isolation: isolate; }
.hero-trame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-in { padding-top: clamp(56px, 10vw, 128px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-titre { font-size: clamp(3.4rem, 14vw, 10rem); font-stretch: 75%; font-weight: 800; line-height: .86; letter-spacing: -.02em; margin: 0 0 .32em; font-variation-settings: "opsz" 96; }
.hero-titre span { display: block; }
.hero-titre span:nth-child(2) { padding-left: .55em; }
.hero-titre span:nth-child(3) { padding-left: 1.1em; }
.hero-texte { max-width: 54ch; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(245, 243, 251, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-faits { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 22px 0 0; border-top: 1px solid rgba(245, 243, 251, .18); display: grid; gap: 14px 40px; }
@media (min-width: 760px) { .hero-faits { grid-template-columns: repeat(3, auto); justify-content: start; } }
.hero-faits li { color: rgba(245, 243, 251, .75); }
.hero-faits strong { display: block; color: var(--soie); font-size: 1.35rem; font-stretch: 82%; }
.hero-legende { position: absolute; right: 24px; bottom: 14px; margin: 0; font-size: .8rem; color: rgba(245, 243, 251, .5); }
@media (max-width: 760px) { .hero-legende { position: static; padding: 0 24px 18px; } }
.hero-page .hero-titre { font-size: clamp(3.2rem, 10vw, 8.4rem); }

/* Entree du bandeau : un seul moment orchestre */
.js .accueil .hero-titre span, .js .page-ailleurs .hero-titre span, .js .page-realisations .hero-titre span, .js .page-visite .hero-titre span { animation: monte .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero-titre span:nth-child(2) { animation-delay: .12s; }
.js .hero-titre span:nth-child(3) { animation-delay: .24s; }
@keyframes monte { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

/* Realisations */
.realisations { background: var(--soie); }
.real-vedettes { display: grid; gap: clamp(56px, 8vw, 104px); margin-bottom: clamp(64px, 8vw, 104px); }
.real-grande { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .real-grande { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
  .real-grande:nth-child(even) .real-visuels { order: 2; }
}
.real-visuels { position: relative; display: block; }
.ecran { display: block; border-radius: 12px; overflow: hidden; background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 30px 60px -20px rgba(27, 20, 70, .35); padding-top: 22px; position: relative; }
.ecran::before { content: ""; position: absolute; top: 8px; left: 12px; width: 44px; height: 6px; border-radius: 3px; background: radial-gradient(circle, var(--garance) 3px, transparent 3.5px) 0 0 / 14px 6px repeat-x; opacity: .9; }
.ecran img { width: 100%; }
.telephone { position: absolute; right: -2%; bottom: -10%; width: 26%; max-width: 190px; border-radius: 22px; overflow: hidden; border: 6px solid var(--indigo); background: var(--indigo); box-shadow: 0 24px 40px -12px rgba(27, 20, 70, .5); }
.real-grande:nth-child(even) .telephone { right: auto; left: -2%; }
.real-lieu { margin: 0 0 6px; color: var(--trame); font-weight: 600; }
.real h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-stretch: 80%; font-weight: 800; }
.real-grille .real h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 22px; }
.real-grille { display: grid; gap: 56px 40px; }
@media (min-width: 760px) { .real-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.real-grille .real p:not(.real-lieu) { color: #3b3663; }
.real-grille .real-lieu { margin-top: 22px; }
.real-grille .real h3 { margin-top: 0; }
.pastilles { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pastilles li { padding: 4px 12px; border-radius: 999px; background: var(--blanc); border: 1px solid var(--ligne); font-size: .9rem; font-weight: 600; }
.real-visuels .ecran, .real-visuels .telephone { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.real:hover .real-visuels .ecran { transform: translateY(-4px); }
.real:hover .real-visuels .telephone { transform: translateY(-10px); }

/* Offres */
.offres { background: var(--blanc); }
.bascule { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--soie); border: 1px solid var(--ligne); margin-bottom: 32px; }
.bascule button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 20px; border-radius: 10px; cursor: pointer; color: var(--trame); }
.bascule button[aria-checked="true"] { background: var(--indigo); color: var(--soie); }
.offres-grille { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 960px) { .offres-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offre { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 20px; border: 1.5px solid var(--ligne); background: var(--soie); }
.offre-vedette { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.offre-badge { position: absolute; top: -14px; left: 28px; margin: 0; background: var(--or); color: var(--indigo); font-weight: 800; font-size: .88rem; padding: 4px 12px; border-radius: 999px; }
.offre h3 { font-size: 1.7rem; font-stretch: 82%; font-weight: 800; margin-bottom: 4px; }
.offre-pour { color: var(--trame); margin-bottom: 22px; min-height: 2.6em; }
.offre-vedette .offre-pour { color: rgba(245, 243, 251, .7); }
.offre-prix { min-height: 108px; margin-bottom: 18px; }
.offre-prix p { margin: 0; }
.offre-prix strong { display: block; font-size: clamp(3rem, 5vw, 3.9rem); font-stretch: 75%; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.prix-des { font-size: .95rem; color: var(--trame); }
.offre-vedette .prix-des { color: rgba(245, 243, 251, .7); }
.offres-grille[data-mode="achat"] .prix-abo, .offres-grille[data-mode="abonnement"] .prix-achat, .offres-grille[data-mode="abonnement"] .prix-achat-note { display: none; }
.offres-grille[data-mode="abonnement"] .prix-abo strong { color: inherit; }
.coches { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; flex: 1; }
.coches li { position: relative; padding-left: 28px; }
.coches li::before { content: ""; position: absolute; left: 0; top: .38em; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, var(--indigo) 3px, transparent 3.5px), var(--or); }
.offre-vedette .coches li::before { background: radial-gradient(circle, var(--indigo) 3px, transparent 3.5px), var(--or); }
.offre-note { font-size: .92rem; color: var(--trame); }
.offre-vedette .offre-note { color: rgba(245, 243, 251, .7); }
.offre .bouton { width: 100%; }
.offre-vedette .bouton { background: var(--or); }
.offres-plus { display: grid; gap: 28px 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--ligne); }
@media (min-width: 900px) { .offres-plus { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.offres-plus h3 { font-size: 1.25rem; }
.offres-plus p { color: #3b3663; margin: 0; }
.formules { list-style: none; padding: 0; margin: 12px 0 0; }

/* Encart « venus d'ailleurs » : discret, dans la continuite des offres */
.ailleurs { background: var(--blanc); padding: 0 0 clamp(64px, 9vw, 120px); }
.ailleurs-in { position: relative; display: grid; gap: 16px 56px; align-items: center; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--soie); border: 1.5px solid var(--ligne); overflow: hidden; }
.ailleurs-in::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: repeating-linear-gradient(180deg, var(--or) 0 10px, transparent 10px 16px); }
@media (min-width: 900px) { .ailleurs-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .ailleurs-in .bouton { justify-self: start; } }
.ailleurs h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-stretch: 78%; font-weight: 800; line-height: 1; margin: 0; grid-row: span 2; color: var(--indigo); }
.ailleurs p { margin: 0; font-size: 1.08rem; color: #3b3663; }

/* Etapes (vraie suite : les numeros sont des trous de carte perforee relies par un fil) */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: etape; }
@media (min-width: 960px) { .etapes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }
.etapes li { position: relative; counter-increment: etape; padding-top: 72px; }
.etapes li::before { content: counter(etape); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--or); font-weight: 800; font-size: 1.3rem; z-index: 1; }
.etapes li::after { content: ""; position: absolute; top: 25px; left: 52px; right: -24px; height: 2px; background: repeating-linear-gradient(90deg, var(--or) 0 10px, transparent 10px 16px); }
.etapes li:last-child::after { display: none; }
@media (max-width: 959px) {
  .etapes li { padding: 0 0 0 76px; min-height: 52px; }
  .etapes li::after { top: 52px; bottom: -28px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--or) 0 10px, transparent 10px 16px); }
}
.etapes h3 { font-size: 1.3rem; font-stretch: 85%; }
.etapes p { color: #3b3663; margin: 0; }

/* Ce qui est inclus */
.inclus { background: var(--blanc); }
.inclus-in { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .inclus-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.inclus-liste { margin: 0; display: grid; gap: 28px 40px; }
@media (min-width: 640px) { .inclus-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.inclus-liste dt { font-weight: 800; font-size: 1.2rem; font-stretch: 85%; margin-bottom: 6px; padding-top: 14px; border-top: 3px solid var(--indigo); }
.inclus-liste dd { margin: 0; color: #3b3663; }

/* Equipe */
.equipe { background: var(--indigo); color: var(--soie); }
.equipe-in { display: grid; gap: 40px 72px; align-items: center; }
@media (min-width: 960px) { .equipe-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.equipe-texte p { color: rgba(245, 243, 251, .85); max-width: 62ch; }
.equipe-chiffres { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.equipe-chiffres li { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(245, 243, 251, .15); color: rgba(245, 243, 251, .8); font-size: 1.15rem; }
.equipe-chiffres strong { font-size: clamp(3.4rem, 7vw, 5.4rem); font-stretch: 75%; font-weight: 800; line-height: .9; color: var(--or); min-width: 2.25em; }

/* Questions */
.faq-in { display: grid; gap: 24px 64px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.faq-liste details { border-bottom: 1px solid var(--ligne); }
.faq-liste summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 700; font-size: 1.15rem; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: linear-gradient(var(--indigo), var(--indigo)) center / 10px 2px no-repeat, linear-gradient(var(--indigo), var(--indigo)) center / 2px 10px no-repeat, var(--or); transition: transform .2s; }
.faq-liste details[open] summary::after { transform: rotate(45deg); }
.faq-liste details p { color: #3b3663; padding-bottom: 20px; margin: 0; max-width: 64ch; }

/* Demande de devis */
.devis { background: var(--indigo); color: var(--soie); padding: clamp(64px, 9vw, 120px) 0; }
.devis-in { display: grid; gap: 40px 72px; }
@media (min-width: 960px) { .devis-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.devis h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-stretch: 76%; font-weight: 800; line-height: .92; }
.devis-intro p { color: rgba(245, 243, 251, .85); }
.devis-tel { margin-top: 32px; font-size: 1.05rem; }
.devis-tel a { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: 80%; text-decoration: none; color: var(--or); }
.devis-horaires { font-size: .95rem; }
.formulaire { background: var(--soie); color: var(--indigo); border-radius: 22px; padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.champs-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .champs-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.champ label, .choix legend { display: block; font-weight: 700; margin-bottom: 6px; }
.facultatif { font-weight: 400; color: var(--trame); }
.champ input, .champ textarea { width: 100%; font: inherit; color: var(--indigo); background: var(--blanc); border: 1.5px solid var(--ligne); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(242, 182, 52, .55); }
.champ textarea { resize: vertical; }
.choix { border: 0; margin: 0; padding: 0; }
.choix-liste { display: flex; flex-wrap: wrap; gap: 8px; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--blanc); font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.puce input:checked + span { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.puce input:focus-visible + span { outline: 3px solid var(--or); outline-offset: 2px; }
.case { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: #3b3663; }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--indigo); flex: none; }
.pot { position: absolute; left: -9999px; }
.form-erreurs { background: #fde6e9; border: 1.5px solid var(--garance); border-radius: 12px; padding: 14px 18px; }
.form-erreurs p { font-weight: 700; margin-bottom: 6px; }
.form-erreurs ul { margin: 0; padding-left: 20px; }

/* Page « venus d'ailleurs » */
.plateformes-liste { display: grid; gap: 20px; }
@media (min-width: 760px) { .plateformes-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plateforme { padding: 28px; border-radius: 20px; background: var(--blanc); border: 1.5px solid var(--ligne); display: flex; flex-direction: column; }
.plateforme h3 { font-size: 2rem; font-stretch: 78%; font-weight: 800; }
.plateforme p { color: #3b3663; }
.plateforme-prix { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--ligne); font-weight: 800; font-size: 1.3rem; color: var(--indigo) !important; }
.plateforme-prix span { font-weight: 500; font-size: .95rem; color: var(--trame); }
.plateforme-vedette { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.plateforme-vedette p { color: rgba(245, 243, 251, .85); }
.plateforme-vedette .plateforme-prix { color: var(--or) !important; border-color: rgba(245, 243, 251, .2); }
.plateforme-vedette .plateforme-prix span { color: rgba(245, 243, 251, .7); }
.garde { background: var(--blanc); }
.garde-in { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .garde-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.cas-in { display: grid; gap: 32px 56px; align-items: center; }
@media (min-width: 900px) { .cas-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Pages de texte */
.page-texte h2 { font-size: 1.5rem; font-stretch: 85%; margin-top: 2em; }
.page-texte p { max-width: 68ch; }
.grand { font-size: 1.25rem; }
.merci .titre { font-size: clamp(2.6rem, 7vw, 5rem); }

/* Pied de page */
.pied { background: #120d33; color: rgba(245, 243, 251, .78); padding: 64px 0 24px; font-size: .97rem; }
.pied a { color: var(--soie); }
.pied-in { display: grid; gap: 32px; }
@media (min-width: 900px) { .pied-in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.pied-nom { font-size: 1.8rem; font-weight: 800; font-stretch: 78%; color: var(--soie); margin-bottom: 10px; }
.pied-titre { font-weight: 800; color: var(--soie); margin-bottom: 10px; }
.pied-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(245, 243, 251, .12); font-size: .88rem; }
.pied-bas p { margin: 0; }
.pied-bas a { margin-right: 16px; }
.pied-version { opacity: .6; }

/* Bulle « numero copie » */
.bulle-copie { position: fixed; z-index: 200; background: var(--indigo); color: var(--soie); font-size: .9rem; font-weight: 700; padding: 7px 12px; border-radius: 8px; pointer-events: none; transform: translate(-50%, -130%); box-shadow: 0 8px 20px rgba(27, 20, 70, .3); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media print { .entete, .hero-trame, .devis, .pied-bas a, .menu-bouton { display: none !important; } body { background: #fff; } .hero { background: #fff; color: #000; } }
/* voile sur la gauche du bandeau : le texte reste lisible au-dessus des trous */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(27, 20, 70, .78) 0%, rgba(27, 20, 70, .45) 45%, rgba(27, 20, 70, 0) 75%); }
@media (max-width: 760px) { .hero::after { background: rgba(27, 20, 70, .55); } }

/* Page des realisations */
.voir-tout { margin: 56px 0 0; }
.hero-court .hero-in { padding-bottom: clamp(40px, 6vw, 72px); }
.real-nom { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-stretch: 80%; font-weight: 800; }
.real-toutes { margin-bottom: 0; }
.real-toutes .real[hidden] { display: none; }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.puce-filtre { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ligne); background: var(--blanc); color: var(--indigo); cursor: pointer; }
.puce-filtre[aria-pressed="true"] { background: var(--indigo); color: var(--soie); border-color: var(--indigo); }
.filtres-compte { color: var(--trame); margin: 0 0 clamp(32px, 5vw, 56px); min-height: 1.6em; }

/* Referencement en detail (vraie suite : l'ordre de mise en place) */
.seo { background: var(--soie); }
.seo-in { display: grid; gap: 32px 64px; }
@media (min-width: 960px) { .seo-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } .seo-tete { position: sticky; top: 110px; align-self: start; } }
.seo-tete .section-intro { margin-top: 16px; }
.seo-etapes { list-style: none; margin: 0; padding: 0; counter-reset: seo; display: grid; gap: 0; }
.seo-etapes li { counter-increment: seo; position: relative; padding: 0 0 28px 64px; }
.seo-etapes li::before { content: counter(seo); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--blanc); border: 2px solid var(--indigo); color: var(--indigo); font-weight: 800; }
.seo-etapes li::after { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, var(--or) 0 8px, transparent 8px 14px); }
.seo-etapes li:last-child::after { display: none; }
.seo-etapes h3 { font-size: 1.3rem; font-stretch: 85%; margin: 6px 0 6px; }
.seo-etapes p { margin: 0; color: #3b3663; max-width: 62ch; }
.formules li { margin-bottom: 8px; }
.formule-details { display: block; color: var(--trame); font-size: .95rem; }

/* Aucun lien souligne sur le site */
a, .lien, .menu a[aria-current="page"] { text-decoration: none; }
.lien { color: var(--indigo); font-weight: 700; border-bottom: 0; }
.lien:hover { color: var(--garance); }
.menu a[aria-current="page"] { background: rgba(27, 20, 70, .07); }
.page-texte a, .faq-liste a, .case a, .pied a { font-weight: 600; }
.page-texte a:hover, .faq-liste a:hover, .case a:hover { color: var(--garance); }
.pied a:hover { color: var(--or); }

/* Le telephone sur toutes les realisations : le site est montre sur mobile aussi */
.real-grille .real-visuels { margin-bottom: clamp(48px, 5vw, 64px); }
.real-grille .telephone { width: 22%; max-width: 120px; right: 3%; bottom: -12%; border-width: 4px; border-radius: 14px; }
@media (max-width: 600px) { .telephone { width: 24%; } }

/* Textes justifies (coupure des mots en fin de ligne pour eviter les grands blancs) */
.hero-texte, .section-intro, .real p:not(.real-lieu), .offres-plus p, .etapes p, .inclus-liste dd, .seo-etapes p,
.equipe-texte p, .faq-liste details p, .plateforme p:not(.plateforme-prix), .page-texte p, .devis-intro p:not(.devis-tel):not(.devis-horaires),
.cas-in p:not(.real-lieu), .ailleurs p, .pied-marque p, .v-texte p:not(.v-etape-num), .v-intro-in p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}

/* ===== Visite guidee ===== */
.v-nav { position: sticky; top: 76px; z-index: 20; background: rgba(245, 243, 251, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.v-nav-in { display: flex; align-items: center; gap: 8px 20px; padding-top: 10px; padding-bottom: 10px; overflow-x: auto; scrollbar-width: none; }
.v-nav-in::-webkit-scrollbar { display: none; }
.v-nav-accueil { font-weight: 800; font-stretch: 85%; white-space: nowrap; }
.v-nav ol { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.v-nav ol a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 600; white-space: nowrap; font-size: .95rem; }
.v-nav ol a:hover { background: rgba(27, 20, 70, .06); }
.v-nav ol a[aria-current="page"] { background: var(--indigo); color: var(--soie); }
.v-num { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--or); color: var(--indigo); font-weight: 800; font-size: .9rem; }


.v-intro-in { display: grid; gap: 48px 64px; align-items: center; }
@media (min-width: 960px) { .v-intro-in { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.v-chiffres { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.v-chiffres li { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px; font-size: .92rem; color: var(--trame); line-height: 1.3; }
.v-chiffres strong { display: block; font-size: 2.4rem; font-stretch: 78%; line-height: 1; color: var(--indigo); margin-bottom: 6px; }
.v-intro-visuel { margin-bottom: 40px; }

.v-sommaire { background: var(--blanc); }
.v-chapitres { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 860px) { .v-chapitres { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.v-chapitre { display: flex; flex-direction: column; height: 100%; background: var(--soie); border: 1px solid var(--ligne); border-radius: 18px; overflow: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.v-chapitre:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(27, 20, 70, .45); }
.v-chapitre .ecran { margin: 20px 20px 0; aspect-ratio: 16 / 10; box-shadow: 0 16px 30px -18px rgba(27, 20, 70, .4); }
.v-chapitre .ecran img { height: 100%; object-fit: cover; object-position: top; }
.v-chapitre-schema { margin: 20px 20px 0; aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 12px; background: var(--indigo); color: var(--or); }
.v-chapitre-schema svg { width: 70%; }
.v-chapitre-texte { display: grid; gap: 4px; padding: 20px 22px 24px; }
.v-chapitre-texte .v-num { margin-bottom: 6px; }
.v-chapitre-texte strong { font-size: 1.45rem; font-stretch: 82%; line-height: 1.1; }
.v-chapitre-texte span:last-child { color: var(--trame); }

.v-etapes { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); display: grid; gap: clamp(72px, 10vw, 128px); }
.v-etape { display: grid; gap: 28px 64px; align-items: center; }
@media (min-width: 900px) {
  .v-etape { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .v-etape:nth-child(even) .v-visuel { order: 2; }
  .v-etape:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .v-etape-tel, .v-etape-tel:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .v-etape-tel:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.v-visuel { margin: 0; min-width: 0; }
.v-visuel figcaption { margin-top: 12px; font-size: .88rem; color: var(--trame); text-align: center; }
.v-ecran { cursor: zoom-in; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.v-ecran:hover { transform: translateY(-4px); }
.v-ecran img { max-height: 640px; object-fit: cover; object-position: top; }
.v-telephones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 28px); }
.telephone.v-tel { position: static; width: 46%; max-width: 230px; border-width: 7px; border-radius: 28px; }
.v-telephones .v-tel:nth-child(2) { margin-top: 48px; }
.v-texte { min-width: 0; }
.v-texte h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-stretch: 80%; font-weight: 800; }
.v-texte > p:not(.v-etape-num) { color: #3b3663; max-width: 62ch; }
.v-etape-num { display: inline-grid; place-items: center; width: 52px; height: 52px; margin: 0 0 16px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--indigo); color: var(--indigo); font-weight: 800; font-size: 1.2rem; position: relative; }
.v-etape-num::after { content: ""; position: absolute; right: -4px; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--or); border: 2px solid var(--soie); }
.v-points { margin-top: 18px; }

.v-schemas { background: var(--blanc); }
.v-schemas-grille { display: grid; gap: 28px; max-width: 980px; }
.v-schema { display: grid; gap: 8px 40px; align-items: center; }
@media (min-width: 1000px) { .v-schema { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); padding: 32px 36px; } .v-schema figcaption { margin: 0; } .v-schemas-grille { max-width: none; } }

.v-schema { margin: 0; background: var(--soie); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px; }
.v-schema svg { width: 100%; height: auto; display: block; overflow: visible; }
.v-schema figcaption { margin-top: 14px; color: var(--trame); font-size: .95rem; text-align: justify; hyphens: auto; }
.v-schema figcaption strong { color: var(--indigo); }
.s-boite rect { fill: var(--blanc); stroke: var(--indigo); stroke-width: 2; }
.s-boite rect.s-or, rect.s-or { fill: var(--or); }
.s-texte text, text.s-texte { fill: var(--indigo); text-anchor: middle; font-family: var(--f); font-size: 18px; font-weight: 700; }
.s-texte .s-petit, .s-petit text, text.s-petit { font-size: 13.5px; font-weight: 500; fill: var(--trame); }
.s-fil, .s-fil path { fill: none; stroke: var(--indigo); stroke-width: 2; stroke-dasharray: 6 5; }
.s-fil .s-retour, path.s-retour { stroke: var(--or); stroke-width: 2.5; }
.js .v-schema .s-fil path { animation: fil 1.2s linear infinite; }
@keyframes fil { to { stroke-dashoffset: -22; } }

.v-suite { background: var(--indigo); color: var(--soie); padding: clamp(48px, 6vw, 80px) 0; }
.v-suite-label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--or); margin-bottom: 14px; }
.v-suite-lien { display: inline-flex; align-items: center; gap: 20px; }
.v-suite-lien .v-num { width: 56px; height: 56px; font-size: 1.3rem; transition: transform .3s; }
.v-suite-lien strong { display: block; font-size: clamp(1.8rem, 4vw, 3rem); font-stretch: 78%; line-height: 1; margin-bottom: 6px; }
.v-suite-lien span span, .v-suite-lien > span:last-child { color: rgba(245, 243, 251, .75); }
.v-suite-lien strong { color: var(--soie); }
.v-suite-lien:hover .v-num { transform: translateX(6px); }
.v-suite-lien:hover strong { color: var(--or); }

/* Visionneuse des captures */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible; }
.visionneuse::backdrop { background: rgba(14, 10, 38, .88); }
.visionneuse img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.visionneuse p { color: var(--soie); text-align: center; margin: 12px 0 0; }
.visionneuse button { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--or); color: var(--indigo); font: inherit; font-size: 1.5rem; font-weight: 800; cursor: pointer; }
@media (max-width: 640px) { .visionneuse button { top: -52px; right: 0; } }
@media (prefers-reduced-motion: reduce) { .js .v-schema .s-fil path { animation: none; } }
.lien-visite { display: inline-block; margin-left: 18px; color: var(--garance); }
.lien-visite::before { content: "→ "; }
@media (max-width: 600px) { .lien-visite { display: block; margin: 10px 0 0; } }
.menu a, .menu .bouton { white-space: nowrap; }
text.s-sur-or { fill: var(--indigo); }
@media (max-width: 700px) { .v-schema { overflow-x: auto; padding: 18px; } .v-schema svg { width: 640px; max-width: none; } .v-schema figcaption { position: sticky; left: 0; width: calc(100vw - 86px); } }

/* Accueil : ouvrez le capot (entree de la visite guidee) */
.capot { background: var(--indigo); color: var(--soie); overflow: hidden; }
.capot-in { display: grid; gap: 48px 64px; align-items: center; }
@media (min-width: 960px) { .capot-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.capot .titre { color: var(--soie); }
.capot-sur { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--or); margin-bottom: 12px; }
.capot-texte > p:not(.capot-sur) { color: rgba(245, 243, 251, .8); text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.capot-chapitres { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 8px; }
.capot-chapitres a { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(245, 243, 251, .14); transition: background .25s, border-color .25s, transform .25s; }
.capot-chapitres a span:last-child { color: rgba(245, 243, 251, .65); font-size: .95rem; line-height: 1.35; }
.capot-chapitres strong { display: block; color: var(--soie); font-size: 1.15rem; }
.capot-chapitres a.actif, .capot-chapitres a:hover { background: rgba(245, 243, 251, .08); border-color: var(--or); }
.capot-chapitres a.actif { transform: translateX(6px); }
.capot-scene { position: relative; display: grid; margin-bottom: 40px; }
.capot-vue { grid-area: 1 / 1; position: relative; align-self: center; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s, transform .45s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.capot-vue.actif { opacity: 1; transform: none; }
.capot-vue .ecran { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.capot-vue .ecran img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.capot-vue-schema { background: var(--soie); border-radius: 16px; padding: 28px; }
.capot-vue-schema svg { width: 100%; height: auto; display: block; }
.capot-etiquette { position: absolute; left: 18px; top: -16px; background: var(--or); color: var(--indigo); font-weight: 800; font-size: .88rem; padding: 6px 14px; border-radius: 999px; }
.capot .bouton { justify-self: start; }
@media (max-width: 959px) { .capot-scene { order: -1; } .capot-in > .capot-texte { order: 2; } }
.js .capot-vue-schema .s-fil path, .js .capot-vue-schema path.s-fil { animation: fil 1.2s linear infinite; }
