/* Éclat : lumineux, soigné, humain. Le téléphone d'abord. Ce fichier ne partage rien avec les autres modèles. */

:root {
  --primaire: var(--couleur-client, #0b7a75); --primaire-fonce: var(--couleur-fonce, #075c58); --sur-primaire: var(--couleur-sur, #fff); --texte-accent: var(--couleur-texte, #0a6b66);
  --soleil: var(--accent-client, #ffb703); --sur-soleil: var(--sur-accent, #271d00); --encre: color-mix(in srgb, var(--primaire) 22%, #071615); --teinte: color-mix(in srgb, var(--primaire) 7%, #fbfaf6); --pale: color-mix(in srgb, var(--primaire) 14%, #fff);
  --fond: #fff; --texte: #152726; --doux: #4f615f; --trait: #e3ebe9;
  --titre: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif; --corps: "Inter", "Segoe UI", system-ui, sans-serif; --poids: 800; --serre: -.03em;
  --rayon: 22px; --rayon-btn: 14px; --ombre: 0 24px 60px -24px rgba(7,22,21,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--corps); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; padding-bottom: 74px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--texte-accent); }
h1, h2, h3 { font-family: var(--titre); font-weight: var(--poids); letter-spacing: var(--serre); line-height: 1.1; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 7.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
h3 { font-size: 1.22rem; letter-spacing: -.015em; }
h2 em { font-style: normal; background: linear-gradient(transparent 66%, color-mix(in srgb, var(--soleil) 72%, transparent) 66%); }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.cadre { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
.cadre--etroit { width: min(780px, 100%); }
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--teinte { background: var(--teinte); }
.section--encre { background: var(--encre); color: #dce8e6; }
.section--encre h2, .section--encre h3 { color: #fff; }
.section--encre .etiquette { color: var(--soleil); background: rgba(255,255,255,.08); }
.section--encre p { color: #b9cbc8; }
.section--encre h2 em { background: none; color: var(--soleil); }
.section--couleur { background: var(--primaire); color: var(--sur-primaire); }
.section--couleur h2 { color: var(--sur-primaire); }
.section--couleur h2 em { background: none; }
.section--couleur .etiquette { background: rgba(255,255,255,.16); color: var(--sur-primaire); }
.section--couleur .entete-section p { color: var(--sur-primaire); }
.section--couleur .villes li { border-color: transparent; color: var(--texte); }
.entete-section { max-width: 680px; margin-bottom: clamp(30px, 5vw, 52px); }
.entete-section p { color: var(--doux); font-size: 1.14rem; margin: 0; }
.etiquette { display: inline-block; padding: 6px 14px; margin-bottom: 16px; border-radius: 999px; background: var(--pale); color: var(--texte-accent); font-size: .84rem; font-weight: 700; letter-spacing: .01em; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--rayon-btn, 14px); font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: transform .16s, background .16s, box-shadow .16s, color .16s; }
.btn:hover { transform: translateY(-2px); }
.btn--grand { min-height: 58px; padding: 14px 28px; font-size: 1.06rem; }
.btn--plein { background: var(--primaire); color: var(--sur-primaire); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--primaire) 75%, transparent); }
.btn--plein:hover { background: var(--primaire-fonce); }
.btn--contour { background: #fff; color: var(--texte-accent); border-color: var(--trait); }
.btn--contour:hover { border-color: var(--texte-accent); }
.btn--soleil { background: var(--soleil); color: var(--sur-soleil); }
.btn--clair { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--soleil); outline-offset: 2px; }

/* Bandeau d'aperçu, filet du haut, en-tête */
.apercu { background: #101416; color: #fff; font-size: .86rem; line-height: 1.4; padding: 8px 20px; text-align: center; }
.apercu a { color: #7fe3c3; font-weight: 700; }
.filet { display: none; background: var(--encre); color: #cfe0dd; font-size: .9rem; }
.filet__ligne { display: flex; justify-content: space-between; gap: 20px; min-height: 40px; align-items: center; }
.filet span, .filet a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.filet__droite { gap: 22px; }
.tete { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.tete.a-defile { border-color: var(--trait); box-shadow: 0 10px 30px -22px rgba(7,22,21,.5); }
.tete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.marque { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: var(--texte); text-decoration: none; font-family: var(--titre); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.1; }
.marque--claire { color: #fff; }
.marque img { max-height: 48px; width: auto; }
.marque__signe { width: 36px; height: 36px; flex: none; }
.menu { display: none; gap: 30px; }
.menu a { position: relative; padding: 6px 0; color: var(--texte); text-decoration: none; font-weight: 550; font-size: .98rem; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primaire); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.menu a:hover::after, .menu a[aria-current]::after { transform: scaleX(1); }
.tete__cta { display: none; }
.tiroir summary { list-style: none; cursor: pointer; display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border-radius: var(--rayon-btn); background: var(--pale); }
.tiroir summary::-webkit-details-marker { display: none; }
.tiroir summary span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--texte); }
.tiroir nav { position: absolute; left: 0; right: 0; top: 100%; padding: 8px 20px 20px; background: #fff; box-shadow: 0 30px 40px -24px rgba(7,22,21,.35); }
.tiroir nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--trait); color: var(--texte); text-decoration: none; font-weight: 600; }
.tiroir nav a:last-child { border: 0; color: var(--texte-accent); }

/* Le héros : la photo pleine largeur, sur fond d'encre. Au téléphone, la photo d'abord, le texte dessous. */
.heros { position: relative; overflow: hidden; background: var(--encre); color: #fff; isolation: isolate; }
.heros__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 30%; filter: brightness(1.14) saturate(1.05); }
.heros__grille { padding-top: 30px; padding-bottom: 96px; }
.heros h1 { color: #fff; }
.heros .etiquette { background: rgba(255,255,255,.1); color: var(--soleil); }
.heros__texte p { color: #dce8e6; font-size: clamp(1.12rem, 2.2vw, 1.3rem); max-width: 540px; margin-bottom: 28px; }
.heros__texte > * { animation: monte .8s cubic-bezier(.2,.7,.2,1) both; }
.heros__texte > :nth-child(2) { animation-delay: .08s; }
.heros__texte > :nth-child(3) { animation-delay: .16s; }
.heros__texte > :nth-child(4) { animation-delay: .24s; }
@keyframes monte { from { opacity: 0; transform: translateY(20px); } }
@keyframes approche { from { transform: scale(1.07); } }
:root[data-disposition="centre"] .heros__texte { text-align: center; margin: 0 auto; max-width: 780px; }
:root[data-disposition="centre"] .heros__texte p { margin-left: auto; margin-right: auto; }
:root[data-disposition="centre"] .heros .boutons { justify-content: center; }
:root[data-disposition="texte"] .heros { background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--primaire) 60%, transparent), transparent 58%), var(--encre); }
:root[data-disposition="texte"] .heros__photo { display: none; }
:root[data-disposition="texte"] .heros__grille { padding-top: clamp(60px, 9vw, 110px); padding-bottom: clamp(120px, 14vw, 170px); }
:root[data-disposition="texte"] .heros__texte { max-width: 820px; }
:root[data-disposition="clair"] .heros { background: var(--teinte); color: var(--texte); }
:root[data-disposition="clair"] .heros h1 { color: var(--texte); }
:root[data-disposition="clair"] .heros .etiquette { background: var(--pale); color: var(--texte-accent); }
:root[data-disposition="clair"] .heros__texte p { color: var(--doux); }
:root[data-disposition="clair"] .heros .btn--soleil { background: var(--primaire); color: var(--sur-primaire); }
:root[data-disposition="clair"] .heros .btn--clair { background: #fff; color: var(--texte-accent); border-color: var(--trait); backdrop-filter: none; }
:root[data-disposition="clair"] .heros__photo { width: calc(100% - 40px); margin: 20px 20px 0; border-radius: var(--rayon); filter: none; }

/* Les trois promesses, à cheval sur le héros */
.promesses { position: relative; z-index: 2; display: grid; gap: 2px; margin: -60px 0 0; padding: 10px; list-style: none; border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); }
.promesses li { display: flex; align-items: center; gap: 14px; padding: 14px; }
.promesses strong { display: block; font-family: var(--titre); font-size: 1.08rem; line-height: 1.25; }
.promesses span:not(.pastille) { color: var(--doux); font-size: .94rem; }
.pastille { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: var(--rayon-btn); background: var(--pale); color: var(--texte-accent); }
.pastille .ico { width: 24px; height: 24px; }

/* Les tuiles de services */
.tuiles { display: grid; gap: 16px; counter-reset: tuile; }
.tuile { position: relative; display: block; min-height: 300px; overflow: hidden; border-radius: var(--rayon); background: var(--encre); color: #fff; text-decoration: none; isolation: isolate; }
.tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; transition: transform .7s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.tuile { counter-increment: tuile; }
.tuile::before { content: "0" counter(tuile); position: absolute; top: 18px; right: 22px; font-family: var(--titre); font-weight: 800; font-size: 1.05rem; color: #fff; text-shadow: 0 1px 8px rgba(7,22,21,.6); }
.tuile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,22,21,0) 30%, rgba(7,22,21,.86) 100%); }
.tuile:hover img { transform: scale(1.06); }
.tuile__texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; }
.tuile h3 { margin-bottom: .25em; color: #fff; font-size: 1.32rem; }
.tuile p { margin: 0; color: #dfe9e7; font-size: .96rem; line-height: 1.45; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-weight: 700; text-decoration: none; }
.lien-fleche .ico { transition: transform .18s; }
.lien-fleche:hover .ico { transform: translateX(4px); }

/* Le duo image et texte */
.duo { display: grid; gap: 44px; align-items: center; }
.duo__images { position: relative; padding-bottom: 16%; }
.duo__une { width: 84%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.duo__deux { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); border: 6px solid var(--teinte); box-shadow: var(--ombre); }
.duo__seule { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.raisons { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.raisons li { display: flex; gap: 16px; }
.raisons h3 { margin-bottom: .2em; }
.raisons p { margin: 0; color: var(--doux); font-size: 1rem; }

/* Les étapes */
.etapes { display: grid; gap: 22px; list-style: none; margin: 0; padding: 0; }
.etapes li { padding: 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--rayon); background: rgba(255,255,255,.05); }
.etape__num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--soleil); color: var(--sur-soleil); font-family: var(--titre); font-weight: 800; }
.etapes p { margin: 0; font-size: .98rem; }

/* Les villes */
.villes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.villes li { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid var(--trait); border-radius: 999px; background: #fff; font-weight: 600; font-size: .98rem; }
.villes .ico { color: var(--texte-accent); }

/* L'appel final */
.grand-appel { position: relative; overflow: hidden; color: #fff; background: var(--encre); isolation: isolate; }
.grand-appel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.grand-appel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in srgb, var(--encre) 94%, transparent) 30%, color-mix(in srgb, var(--encre) 45%, transparent)); }
.grand-appel__texte { padding-top: clamp(70px, 11vw, 130px); padding-bottom: clamp(70px, 11vw, 130px); }
.grand-appel h2 { color: #fff; }
.grand-appel p { max-width: 520px; color: #e2ecea; font-size: 1.14rem; margin-bottom: 26px; }

/* Les pages intérieures */
.bandeau { position: relative; overflow: hidden; color: #fff; background: var(--encre); isolation: isolate; }
.bandeau > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bandeau::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--encre) 92%, transparent), color-mix(in srgb, var(--encre) 55%, transparent)); }
.bandeau__texte { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(56px, 9vw, 104px); }
.bandeau h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.bandeau p { max-width: 600px; margin: 0; color: #e2ecea; font-size: 1.16rem; }
.rangees { display: grid; gap: clamp(46px, 7vw, 84px); }
.rangee { display: grid; gap: 24px; align-items: center; scroll-margin-top: 110px; }
.rangee img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--rayon); box-shadow: var(--ombre); }
.rangee h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.rangee p { color: var(--doux); }
.rangee .lien-fleche { margin-top: 4px; }
.fil { display: grid; gap: 34px; list-style: none; margin: 0; padding: 0; }
.fil li { display: flex; gap: 20px; }
.fil .etape__num { flex: none; background: var(--primaire); color: var(--sur-primaire); }
.fil h2 { font-size: 1.36rem; margin-bottom: .25em; }
.fil p { margin: 0; color: var(--doux); }
.questions details { border-bottom: 1px solid var(--trait); padding: 18px 0; }
.questions summary { cursor: pointer; font-family: var(--titre); font-weight: 700; font-size: 1.1rem; }
.questions p { margin: 10px 0 0; color: var(--doux); }
.texte-long h2 { font-size: 1.5rem; margin-top: 1.5em; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long p { color: var(--doux); }
.a-completer { background: #fff3cd; color: #5b4300; padding: 0 5px; border-radius: 4px; font-weight: 600; }

/* Le contact */
.contact { display: grid; gap: 34px; align-items: start; }
.formulaire { display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--trait); border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); }
.formulaire__deux { display: grid; gap: 16px; }
.formulaire label { display: grid; gap: 6px; font-weight: 600; font-size: .98rem; }
.formulaire input, .formulaire select, .formulaire textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #cfd9d7; border-radius: var(--rayon-btn); background: #fff; color: var(--texte); font: inherit; }
.formulaire textarea { min-height: 130px; resize: vertical; }
.formulaire__note { margin: 0; color: var(--doux); font-size: .9rem; }
.fiche-contact { display: grid; gap: 20px; list-style: none; margin: 0; padding: 26px; border-radius: var(--rayon); background: var(--teinte); }
.fiche-contact li { display: flex; gap: 14px; overflow-wrap: anywhere; }
.fiche-contact .ico { margin-top: 3px; color: var(--texte-accent); }
.fiche-contact strong { display: block; font-family: var(--titre); }

/* Le pied */
.pied { background: var(--encre); color: #b9cbc8; padding: 58px 0 26px; font-size: .97rem; }
.pied__grille { display: grid; gap: 34px; margin-bottom: 34px; }
.pied__marque p { max-width: 340px; margin: 14px 0 0; }
.pied h2 { margin-bottom: 12px; color: #fff; font-size: 1.04rem; letter-spacing: -.01em; }
.pied ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.pied__liste li { display: flex; gap: 10px; overflow-wrap: anywhere; }
.pied__liste .ico { margin-top: 4px; color: var(--soleil); }
.pied a { color: inherit; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }

/* La barre du téléphone */
.barre { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--trait); }
.barre .btn { min-height: 48px; padding: 8px 10px; box-shadow: none; }

/* Les apparitions : seulement si le script tourne, jamais de contenu caché sans lui */
.js .apparait { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .apparait.vu { opacity: 1; transform: none; }

/* À partir de la tablette */
@media (min-width: 720px) {
  .promesses { grid-template-columns: repeat(3, 1fr); }
  .promesses li + li { border-left: 1px solid var(--trait); }
  .tuiles { grid-template-columns: repeat(2, 1fr); }
  .tuile--grande { grid-column: span 2; min-height: 380px; }
  .etapes { grid-template-columns: repeat(2, 1fr); }
  .formulaire__deux { grid-template-columns: 1fr 1fr; }
  .pied__grille { grid-template-columns: 1.4fr 1.2fr 1fr; }
  .rangee { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .rangee--inverse img { order: 2; }
  .contact { grid-template-columns: 1.5fr 1fr; }
}
@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .barre, .tiroir { display: none; }
  .filet { display: block; }
  .menu { display: flex; }
  .tete__cta { display: inline-flex; min-height: 46px; padding: 8px 20px; }
  .heros__photo { position: absolute; top: 0; right: 0; bottom: 0; z-index: -2; width: 70%; height: 100%; aspect-ratio: auto; object-position: 50% 28%; animation: approche 16s ease-out both; }
  .heros::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--encre) 30%, color-mix(in srgb, var(--encre) 72%, transparent) 47%, transparent 70%); }
  .heros__grille { display: flex; align-items: center; min-height: min(80vh, 700px); padding-top: 70px; padding-bottom: 130px; }
  .heros__texte { max-width: 590px; }
  :root[data-disposition="clair"] .heros::after { display: none; }
  :root[data-disposition="clair"] .heros__photo { top: 40px; right: max(20px, calc((100% - 1200px) / 2 + 20px)); bottom: 100px; width: 46%; height: auto; margin: 0; animation: none; box-shadow: var(--ombre); }
  :root[data-disposition="centre"] .heros__photo { width: 100%; }
  :root[data-disposition="centre"] .heros::after { background: color-mix(in srgb, var(--encre) 70%, transparent); }
  :root[data-disposition="texte"] .heros::after { display: none; }
  :root[data-disposition="texte"] .heros__grille { min-height: 0; }
  .duo { grid-template-columns: 1fr 1fr; gap: 72px; }
  .duo--texte { grid-template-columns: 1.1fr .9fr; }
  .tuiles { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 280px; }
  .tuile { min-height: 0; }
  .tuile--grande { grid-column: span 1; grid-row: span 2; min-height: 0; }
  .etapes { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; }
  .etapes li { padding: 0 28px 0 0; border: 0; border-top: 2px solid rgba(255,255,255,.2); border-radius: 0; background: none; }
  .etapes li:last-child { padding-right: 0; }
  .etape__num { margin-top: -24px; }
  .zones { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  .zones .entete-section { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heros__photo, .heros__texte > * { animation: none; }
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .tuile img { transition: none; }
}

.bloc[hidden] { display: none; }
