/* =========================================================
   Énergies Loir-et-Cher – feuille de style
   Couleurs de la charte : modifiez-les ici, tout suit.
   ========================================================= */
:root {
  --nuit: #0b1b3a;
  --nuit-2: #12295a;
  --nuit-3: #1d3d7a;
  --soleil: #ffc21a;
  --soleil-2: #ff9f1c;
  --soleil-pale: #fff4d1;
  --ambre: #9a5b00;        /* jaune foncé lisible sur fond clair */
  --ciel: #eaf3ff;
  --vert: #1f9d5f;
  --vert-clair: #2bb673;
  --creme: #fffaf0;
  --texte: #142040;
  --texte-doux: #4a5878;
  --clair: #f4f6fb;
  --clair-doux: #c3cde3;
  --erreur: #c62828;
  --rayon: 18px;
  --ombre: 0 18px 40px -18px rgba(11, 27, 58, .35);
  --ombre-forte: 0 30px 60px -20px rgba(11, 27, 58, .55);
  --police: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--creme);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(1.85rem, 7.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.6rem); font-weight: 800; max-width: 22ch; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--soleil); color: var(--nuit); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.4em;
  border: 0; border-radius: 999px;
  font: 700 1rem/1.2 var(--police); text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--sun {
  color: var(--nuit);
  background: linear-gradient(135deg, #ffd84d 0%, var(--soleil) 45%, var(--soleil-2) 100%);
  box-shadow: 0 12px 30px -10px rgba(255, 159, 28, .8), inset 0 -2px 0 rgba(0,0,0,.08);
}
.btn--sun:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 159, 28, .9); }
.btn--sun:active { transform: translateY(0); }
.btn--xl { min-height: 60px; font-size: 1.1rem; padding: .9em 1.8em; }
@media (max-width: 400px) { .btn--xl { font-size: 1.02rem; padding: .9em 1.1em; } .hero .btn--xl { width: 100%; } }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--nuit); box-shadow: inset 0 0 0 2px var(--nuit); }
.btn--ghost:hover { background: rgba(11,27,58,.06); }
.btn--ghost-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); }
.btn--navy { background: var(--nuit); color: #fff; }
.btn--navy:hover { background: var(--nuit-2); }
.btn--wa { background: #1a8f4c; color: #fff; }
.btn--wa:hover { background: #157a40; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Petites icônes ---------- */
.ico { display: inline-block; width: 20px; height: 20px; flex: none; border-radius: 50%; position: relative; }
.ico--check { background: var(--vert-clair); }
.ico--check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ico--lock { width: 14px; height: 12px; border-radius: 3px; background: currentColor; margin-right: 4px; top: 1px; }
.ico--lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 6px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.ico--shield { width: 30px; height: 34px; border-radius: 0; background: var(--vert-clair); clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.flag { width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: none; }

/* ---------- Barre du haut (claire) ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 12px 0;
  background: rgba(255, 250, 240, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.topbar.is-solid { background: rgba(255, 255, 255, .94); box-shadow: 0 6px 24px -10px rgba(11,27,58,.25); padding: 8px 0; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--nuit); text-decoration: none; font-weight: 500; font-size: 1.05rem; white-space: nowrap; }
.brand b { font-weight: 800; color: var(--ambre); }
.brand--footer { color: #fff; }
.brand--footer b { color: var(--soleil); }
.brand__sun { width: 30px; height: 30px; animation: spin 24s linear infinite; }
.topbar__tel { display: none; align-items: center; gap: 8px; color: var(--nuit); text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--soleil-pale); }
.topbar__tel svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .topbar__tel { display: inline-flex; } }

/* ---------- HERO lumineux : photo nette + texte sur fond clair ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 76px 0 48px;
  color: var(--texte);
  background:
    radial-gradient(70% 55% at 92% 0%, rgba(255, 194, 26, .45) 0%, rgba(255, 214, 102, .18) 40%, transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(43, 182, 115, .10) 0%, transparent 70%),
    linear-gradient(180deg, #fff3cf 0%, #fffaf0 55%, var(--creme) 100%);
}
.hero__in { position: relative; display: grid; gap: 18px; }
.hero__photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; box-shadow: 0 30px 60px -28px rgba(11,27,58,.55), 0 0 0 6px rgba(255,255,255,.7); background: #dfe9f5; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; animation: heroZoom 14s ease-out forwards; transform: scale(1.06); }
.hero__chip { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--nuit); font-size: .82rem; font-weight: 700; box-shadow: 0 8px 20px -8px rgba(11,27,58,.4); }
.ico--sun { width: 14px; height: 14px; background: var(--soleil); box-shadow: 0 0 0 3px rgba(255,194,26,.35); }
.hero h1 { max-width: 16ch; color: var(--nuit); font-size: clamp(1.75rem, 7.2vw, 3.2rem); margin-bottom: .45em; }
.hl { color: var(--nuit); background: linear-gradient(transparent 62%, rgba(255,194,26,.65) 62%, rgba(255,194,26,.65) 92%, transparent 92%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__sub { font-size: 1.08rem; max-width: 40ch; color: var(--texte-doux); margin-bottom: 1.2em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; letter-spacing: .02em; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--nuit); box-shadow: 0 0 0 1px rgba(11,27,58,.08); margin-bottom: .8em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vert-clair); box-shadow: 0 0 0 0 rgba(43,182,115,.7); animation: pulse 2s infinite; }
.hero__tva { display: flex; width: fit-content; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 1.2em; padding: 8px 16px; border-radius: 14px; background: #fff; border: 2px solid var(--soleil); color: var(--texte); font-size: .95rem; box-shadow: 0 10px 24px -14px rgba(255,159,28,.8); }
.hero__tva b { color: var(--ambre); font-size: 1.15rem; font-weight: 800; }
.stat__num--txt { font-size: clamp(1.15rem, 4.6vw, 1.6rem); padding-block: .2em; }
.hero__badges { list-style: none; margin: 1.4em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--texte); }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }

.hero__sun { position: absolute; top: -170px; right: -170px; width: 420px; height: 420px; z-index: -1; pointer-events: none; opacity: .9; }
.hero__core { position: absolute; inset: 35%; border-radius: 50%; background: radial-gradient(circle, #fff7d6 0%, var(--soleil) 45%, rgba(255,159,28,0) 72%); filter: blur(2px); animation: glow 5s ease-in-out infinite; }
.hero__rays { position: absolute; inset: 0; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,184,28,.35) 0deg 4deg, transparent 4deg 18deg);
  -webkit-mask: radial-gradient(circle, transparent 22%, #000 30%, transparent 70%);
          mask: radial-gradient(circle, transparent 22%, #000 30%, transparent 70%);
  animation: spin 60s linear infinite; }
@media (min-width: 900px) {
  .hero { padding: 120px 0 90px; }
  .hero__in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .hero__photo { order: 2; aspect-ratio: 4 / 3.4; border-radius: 28px; transform: rotate(1.2deg); }
  .hero__txt { order: 1; }
  .hero__sun { top: -120px; right: -60px; width: 560px; height: 560px; }
  .hero__sub { font-size: 1.18rem; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 110px 0; } }
.section--light { background: linear-gradient(180deg, var(--creme) 0%, #fff 100%); }
.section--night { background: radial-gradient(90% 60% at 100% 0%, rgba(255,194,26,.12), transparent 60%), linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); color: var(--clair); }
.section--night h2 { color: #fff; }
.section--rays::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 60px); pointer-events: none; }
.section--sunrise { background: radial-gradient(80% 50% at 50% 0%, #ffe9a8 0%, rgba(255,233,168,0) 70%), linear-gradient(180deg, #fff6dc 0%, var(--creme) 60%); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); margin-bottom: .8em; }
.kicker--sun { color: var(--soleil); }
.lead { font-size: 1.1rem; color: var(--texte-doux); max-width: 60ch; }
.section--night .lead { color: var(--clair-doux); }
.note { font-size: .85rem; color: var(--texte-doux); margin-top: 1.8em; max-width: 75ch; }
.note--center { text-align: center; margin: .6em auto 0; }

/* ---------- Problème ---------- */
.cards3 { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 800px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: #fff; border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); border: 1px solid rgba(11,27,58,.06); }
.card p { color: var(--texte-doux); margin: 0; }
.card__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.card__ico svg { width: 30px; height: 30px; }
.card__ico--up { background: #ffe9e6; color: #c94a2a; }
.card__ico--lock { background: #e7edfb; color: var(--nuit-3); }
.card__ico--out { background: var(--soleil-pale); color: #b9750a; }

/* ---------- Solution ---------- */
.grid2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .grid2 { grid-template-columns: 1.05fr 1fr; gap: 64px; } }
.flow-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.flow-steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--clair-doux); }
.flow-steps strong { color: #fff; }
.n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--nuit); }
.n--sun { background: var(--soleil); }
.n--green { background: var(--vert-clair); }
.n--blue { background: #8fb2ff; }
.n--moon { background: #d6dcef; }
.saving { margin-top: 28px; padding: 18px 20px; border-radius: var(--rayon); background: linear-gradient(135deg, rgba(43,182,115,.2), rgba(43,182,115,.06)); border: 1px solid rgba(43,182,115,.45); color: #fff; font-weight: 600; }
.saving__big { display: block; font-size: 2rem; font-weight: 800; color: #7ff0b4; line-height: 1.1; }
.saving small { display: block; margin-top: 8px; font-weight: 400; font-size: .8rem; color: var(--clair-doux); }

.schema { margin: 0; }
.schema svg { width: 100%; height: auto; border-radius: 24px; box-shadow: var(--ombre-forte); }
.schema figcaption { text-align: center; font-size: .9rem; color: var(--clair-doux); margin-top: 12px; }
.s-lbl { font: 800 17px var(--police); }
.s-rays { transform-origin: 70px 64px; animation: spin 14s linear infinite; }
.s-flow { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 14; animation: flow 1.1s linear infinite; }
.s-flow--sun { stroke: var(--soleil); }
.s-flow--green { stroke: #7ff0b4; animation-delay: .3s; }
.s-flow--blue { stroke: #8fb2ff; animation-delay: .6s; }
.s-panels { animation: shine 4s ease-in-out infinite; }
.s-window { animation: windowGlow 4s ease-in-out infinite; }

/* ---------- Simulateur ---------- */
.sim__head { text-align: center; margin-bottom: 28px; }
.sim__head h2 { margin-left: auto; margin-right: auto; }
.sim__head .lead { margin: 0 auto; }
.sim {
  position: relative; max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: 26px; padding: 22px 18px 18px;
  box-shadow: 0 40px 80px -30px rgba(11,27,58,.45), 0 0 0 1px rgba(11,27,58,.05);
}
.sim::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 28px; background: linear-gradient(135deg, var(--soleil), var(--vert-clair), var(--nuit-3)); opacity: .55; filter: blur(14px); }
@media (min-width: 640px) { .sim { padding: 34px 36px 28px; } }
.sim__progress { height: 8px; border-radius: 99px; background: #edf0f7; overflow: hidden; }
.sim__progress span { display: block; height: 100%; width: 16%; border-radius: 99px; background: linear-gradient(90deg, var(--vert-clair), var(--soleil)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.sim__count { font-size: .82rem; font-weight: 700; color: var(--texte-doux); margin: 10px 0 14px; }

.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .4s cubic-bezier(.2,.8,.2,1); }
.step__q { font-size: 1.3rem; font-weight: 800; line-height: 1.25; margin-bottom: 18px; padding: 0; color: var(--nuit); }
.step__sub { font-weight: 700; margin: 20px 0 10px; }
.hint { font-size: .88rem; color: var(--texte-doux); margin: 14px 0 0; }
.opt { font-weight: 400; color: var(--texte-doux); font-size: .9em; }

.choices { display: grid; gap: 10px; }
.choices--2 { grid-template-columns: 1fr; }
@media (min-width: 480px) { .choices--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  display: flex; align-items: center; gap: 12px; min-height: 58px;
  padding: 14px 16px; border-radius: 14px;
  border: 2px solid #dfe4ef; background: #fafbfe;
  font-weight: 700; color: var(--nuit);
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
}
.choice:hover .choice__box { border-color: var(--soleil); background: var(--soleil-pale); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--soleil); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--vert); background: #e9f8f0; box-shadow: 0 8px 20px -10px rgba(31,157,95,.6); }
.choice__emoji { font-size: 1.5rem; line-height: 1; }
.compass { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--nuit-3); position: relative; flex: none; display: grid; place-items: center; font-size: .9rem; color: var(--nuit-3); }
.compass::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 11px solid var(--soleil-2); transform-origin: 50% 100%; margin: -11px 0 0 -5px; }
.compass--s::after { transform: rotate(180deg); }
.compass--n::after { transform: rotate(0deg); }
.compass--eo::after { transform: rotate(90deg); box-shadow: none; }
.compass--q::after { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 99px; border: 2px solid #dfe4ef; font-weight: 700; font-size: .92rem; background: #fff; }
.chip input:checked + span { border-color: var(--vert); background: #e9f8f0; color: var(--vert); }
.chip input:focus-visible + span { outline: 3px solid var(--soleil); outline-offset: 2px; }
.step__next { margin-top: 22px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 2px solid #d4dae8; border-radius: 12px; background: #fff;
  font: 500 1.05rem var(--police); color: var(--texte);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #8a94ad; }
.field input:focus, .field select:focus { outline: none; border-color: var(--nuit-3); box-shadow: 0 0 0 4px rgba(29,61,122,.15); }
.field input.is-valid { border-color: var(--vert); background: #f6fcf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231f9d5f' d='M9 16.2l-3.5-3.5L4 14.2 9 19 20 8l-1.5-1.5z'/%3E%3C/svg%3E") no-repeat right 12px center / 22px; padding-right: 44px; }
.field input.is-invalid { border-color: var(--erreur); background: #fff7f7; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .row2 { grid-template-columns: 1fr 1fr; } }
.err { color: var(--erreur); font-size: .88rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.err--global { margin-top: 12px; text-align: center; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 6px; padding: 14px; border-radius: 12px; background: #f6f8fc; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--vert); cursor: pointer; }
.consent label { font-size: .84rem; line-height: 1.5; color: var(--texte-doux); cursor: pointer; }
.consent a { color: var(--nuit-3); font-weight: 600; }
#submit-btn { margin-top: 14px; }
#submit-btn[disabled] { opacity: .7; cursor: wait; }
.reassure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .84rem; color: var(--texte-doux); margin: 12px 0 0; text-align: center; }

.step--stop { text-align: center; padding: 10px 4px; }
.step--stop.is-active { display: block; }
.step--stop p { color: var(--texte-doux); }
.stop__ico { font-size: 3rem; margin-bottom: 8px; }

.sim__nav { margin-top: 10px; min-height: 0; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 10px 4px; font: 700 .95rem var(--police); color: var(--texte-doux); cursor: pointer; }
.btn-back svg { width: 18px; height: 18px; }
.btn-back:hover { color: var(--nuit); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sim__trust { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-weight: 700; font-size: .92rem; }
.sim__trust li { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Avantages ---------- */
.cards2x2 { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 760px) { .cards2x2 { grid-template-columns: 1fr 1fr; gap: 22px; } }
.perk { position: relative; background: #fff; border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); overflow: hidden; border: 1px solid rgba(11,27,58,.06); }
.perk::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,26,.25), transparent 70%); }
.perk p { color: var(--texte-doux); margin: 0; }
.perk__tag { display: inline-block; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 99px; background: var(--nuit); color: #fff; margin-bottom: 12px; }
.perk__tag--green { background: var(--vert); }
.perk__tag--blue { background: var(--nuit-3); }
.perk__tag--sun { background: var(--soleil); color: var(--nuit); }

/* ---------- Étapes ---------- */
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--soleil), var(--vert-clair)); border-radius: 3px; opacity: .6; }
.timeline li { position: relative; display: flex; gap: 18px; align-items: flex-start; }
.timeline__n { position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: var(--nuit); background: var(--soleil); box-shadow: 0 0 0 6px rgba(255,194,26,.18); }
.timeline h3 { color: #fff; margin: 10px 0 4px; }
.timeline p { color: var(--clair-doux); margin: 0; }
.timeline li > div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--rayon); padding: 4px 18px 16px; flex: 1; }
@media (min-width: 1000px) {
  .timeline { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .timeline::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, var(--soleil), var(--vert-clair)); }
  .timeline li { flex-direction: column; }
  .timeline li > div { width: 100%; }
}

/* ---------- Preuves ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.stat { text-align: center; padding: 22px 10px; border-radius: var(--rayon); background: linear-gradient(160deg, var(--nuit) 0%, var(--nuit-3) 100%); color: #fff; box-shadow: var(--ombre); }
.stat__num { display: block; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 800; color: var(--soleil); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__lbl { font-size: .9rem; color: var(--clair-doux); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; } .gallery__item--big { grid-row: span 2; } }
.gallery__item { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: #e6e9f2; }
.gallery__item--big { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .gallery__item--big { grid-column: auto; aspect-ratio: auto; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.05); }
.brands { margin-top: 40px; text-align: center; }
.brands__title { font-weight: 700; color: var(--texte-doux); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.brands ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-pill { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: #fff; box-shadow: var(--ombre); text-align: left; }
.brand-pill b { display: block; font-size: 1.05rem; }
.brand-pill small { display: block; color: var(--texte-doux); font-size: .8rem; }
.brand-pill .flag { width: 30px; height: 20px; }

/* ---------- Confiance ---------- */
.trust { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 700px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.trust__item { padding: 22px; border-radius: var(--rayon); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: transform .25s, background .25s; }
.trust__item:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.trust__item h3 { color: #fff; margin-top: 10px; }
.trust__item p { color: var(--clair-doux); margin: 0; font-size: .97rem; }
.ico-big { font-size: 2rem; }
.alert { margin-top: 32px; padding: 24px; border-radius: var(--rayon); background: linear-gradient(135deg, rgba(255,194,26,.16), rgba(255,159,28,.06)); border: 1px solid rgba(255,194,26,.45); }
.alert h3 { color: var(--soleil); }
.alert ul { margin: 0; padding-left: 1.2em; color: var(--clair); }
.alert li { margin: 6px 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 14px; box-shadow: 0 6px 20px -12px rgba(11,27,58,.3); border: 1px solid rgba(11,27,58,.07); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 18px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--soleil-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b1b3a' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") no-repeat center / 14px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--soleil); }
.faq details > div { padding: 0 18px 18px; color: var(--texte-doux); }
.faq details > div p { margin: 0; }

/* ---------- CTA final ---------- */
.section--final { overflow: hidden; color: #fff; text-align: center; background: radial-gradient(70% 80% at 50% 0%, rgba(255,194,26,.35), transparent 60%), linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.hero__sun--final { top: -220px; left: 50%; right: auto; margin-left: -260px; width: 520px; height: 520px; }
.final { position: relative; }
.final h2 { margin: 0 auto .5em; color: #fff; max-width: 18ch; }
.final .lead { margin: 0 auto 28px; color: var(--clair-doux); }
.final__alt { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }

/* ---------- Footer ---------- */
.footer { background: #071228; color: var(--clair-doux); padding: 48px 0 120px; font-size: .9rem; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }
.footer__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .footer__in { grid-template-columns: 1fr 1.4fr; gap: 60px; } }
.brand--footer { margin-bottom: 12px; }
.footer__txt { max-width: 46ch; }
.footer a { color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; }
.footer__links a, .footer__links .linklike { color: #fff; font-weight: 600; }
.footer__small { font-size: .78rem; opacity: .85; }
.placeholder { color: var(--soleil); }

/* ---------- Barre fixe mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11,27,58,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__main { flex: 1; min-height: 54px; font-size: 1rem; padding: .6em 1em; }
.sticky-cta__call { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: #fff; }
.sticky-cta__call svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- Cookies ---------- */
.cookie { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 80; }
.cookie__in { max-width: 560px; margin: 0 auto; background: #fff; color: var(--texte); border-radius: 16px; padding: 12px 14px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.5); font-size: .8rem; line-height: 1.45; }
@media (min-width: 640px) { .cookie { left: auto; right: 20px; bottom: 20px; width: 400px; } }
@media (min-width: 900px) { .cookie { width: 440px; } .cookie__in { padding: 18px 20px; font-size: .9rem; } }
.cookie__t { font-weight: 800; font-size: .95rem; margin-bottom: 2px; }
.cookie__in p { margin-bottom: 10px; color: var(--texte-doux); }
.cookie__in a { color: var(--nuit-3); font-weight: 600; }
.cookie__opts { display: grid; gap: 8px; margin-bottom: 12px; }
.cookie__opts label { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.cookie__opts input { width: 20px; height: 20px; accent-color: var(--vert); }
.cookie__btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cookie__btns .btn { min-height: 44px; font-size: .82rem; padding: .4em .5em; }

/* ---------- Apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%,100% { opacity: .85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.7); } 70% { box-shadow: 0 0 0 10px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes flow { to { stroke-dashoffset: -32; } }
@keyframes shine { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.5); } }
@keyframes windowGlow { 0%,100% { fill: #ffd866; } 50% { fill: #fff2b8; } }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }

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

/* ---------- Pages légales / merci ---------- */
.page { min-height: 100vh; background: var(--creme); }
.page__head { background: linear-gradient(160deg, var(--nuit), var(--nuit-2)); color: #fff; padding: 22px 0; }
.page__body { padding: 40px 0 80px; }
.page__body h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.page__body h2 { font-size: 1.3rem; margin-top: 1.8em; max-width: none; }
.page__body p, .page__body li { color: var(--texte-doux); }
.page__body table { border-collapse: collapse; width: 100%; font-size: .9rem; margin: 1em 0; }
.page__body th, .page__body td { border: 1px solid #dfe4ef; padding: 8px 10px; text-align: left; vertical-align: top; }
.page__body th { background: #f2f4f9; }

/* =========================================================
   AMBIANCE CLAIRE : les anciennes sections sombres passent en ciel lumineux.
   (Pour revenir aux fonds bleu nuit, supprimez ce bloc.)
   ========================================================= */
.section--night { background: radial-gradient(80% 60% at 100% 0%, rgba(255,194,26,.22), transparent 60%), linear-gradient(170deg, var(--ciel) 0%, #f7fbff 100%); color: var(--texte); }
.section--night h2 { color: var(--nuit); }
.section--night .lead { color: var(--texte-doux); }
.kicker--sun { color: var(--ambre); }
.section--rays::before { background: repeating-linear-gradient(115deg, rgba(29,61,122,.035) 0 2px, transparent 2px 60px); }
.flow-steps li { color: var(--texte-doux); }
.flow-steps strong { color: var(--nuit); }
.n--moon { background: #c9d3ea; }
.saving { background: #fff; border: 2px solid rgba(31,157,95,.35); color: var(--texte); box-shadow: var(--ombre); }
.saving__big { color: var(--vert); }
.saving small { color: var(--texte-doux); }
.schema figcaption { color: var(--texte-doux); }
.timeline h3 { color: var(--nuit); }
.timeline p { color: var(--texte-doux); }
.timeline li > div { background: #fff; border: 1px solid rgba(11,27,58,.07); box-shadow: 0 12px 30px -20px rgba(11,27,58,.35); }
.trust__item, .trust__item:hover { background: #fff; border: 1px solid rgba(11,27,58,.07); box-shadow: 0 12px 30px -20px rgba(11,27,58,.35); }
.trust__item h3 { color: var(--nuit); }
.trust__item p { color: var(--texte-doux); }
.alert { background: var(--soleil-pale); border: 1px solid rgba(255,159,28,.6); }
.alert h3 { color: var(--ambre); }
.alert ul { color: var(--texte); }
.stat { background: #fff; color: var(--texte); border: 1px solid rgba(11,27,58,.07); }
.stat__num { color: var(--nuit-3); }
.stat__lbl { color: var(--texte-doux); }
.section--final { color: var(--texte); background: radial-gradient(70% 80% at 50% 0%, rgba(255,194,26,.55), transparent 65%), linear-gradient(180deg, #fff1c4 0%, #fffaf0 100%); }
.final h2 { color: var(--nuit); }
.final .lead { color: var(--texte-doux); }
.btn--ghost-light { background: #fff; color: var(--nuit); box-shadow: inset 0 0 0 2px var(--nuit); }
.btn--ghost-light:hover { background: var(--soleil-pale); }

/* =========================================================
   HAUT DE PAGE AVEC FORMULAIRE (inspiré des pages qui convertissent le mieux)
   Téléphone : texte → formulaire → avantages. Ordinateur : texte + avantages à gauche, formulaire à droite.
   ========================================================= */
.hero { padding: 74px 0 44px; }
.hero__in { grid-template-areas: "txt" "form" "plus"; gap: 18px; }
.hero__txt { grid-area: txt; }
.hero__form { grid-area: form; min-width: 0; scroll-margin-top: 70px; }
.hero__plus { grid-area: plus; min-width: 0; }
.hero h1 { font-size: clamp(1.5rem, 6.2vw, 2.3rem); max-width: 20ch; } /* environ 24 px téléphone, 37 px ordinateur */
.hero__zone { color: var(--ambre); }
.hero__sub { margin-bottom: .8em; }
.hero__tva { margin-bottom: 0; }
.sim__title { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto 12px; font-size: 1.12rem; font-weight: 800; color: var(--nuit); }
.sim__title span { font-size: .85rem; font-weight: 600; color: var(--vert); }
.hero .sim { max-width: none; }
.benefits { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; color: var(--texte-doux); }
.benefits li .ico { margin-top: 3px; }
.benefits b { color: var(--nuit); }
.hero__note { font-size: .78rem; color: var(--texte-doux); margin: 14px 0 0; }
@media (min-width: 900px) {
  .hero { padding: 110px 0 80px; }
  .hero__in { grid-template-columns: 1fr minmax(0, 520px); grid-template-areas: "txt form" "plus form"; column-gap: 56px; row-gap: 26px; align-items: start; }
  .hero__photo { display: none; }
}

/* Pictogrammes (remplacent les emojis) */
.pic { display: block; width: 24px; height: 24px; }
.choice__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--soleil-pale); color: var(--nuit-3); transition: background .15s, color .15s; }
.choice input:checked + .choice__box .choice__ico { background: #d5f2e3; color: var(--vert); }
.stop__ico { display: grid; place-items: center; margin: 0 auto 10px; width: 64px; height: 64px; border-radius: 20px; background: var(--ciel); color: var(--nuit-3); }
.stop__ico .pic { width: 32px; height: 32px; }
.ico-big { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ciel); color: var(--nuit-3); }
.ico-big .pic { width: 26px; height: 26px; }
.alert h3 { display: flex; align-items: center; gap: 10px; }
.alert h3 .pic { flex: none; }
.final__alt .pic, .btn .pic { width: 20px; height: 20px; }

/* Version courte de la page */
.benefits li .flag { margin-top: 4px; width: 20px; height: 14px; }
.trust-mini { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trust-mini li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid rgba(11,27,58,.07); font-weight: 700; color: var(--nuit); font-size: .95rem; line-height: 1.3; }
.trust-mini .ico-big { flex: none; width: 42px; height: 42px; }
.ico-big--flag .flag { width: 26px; height: 18px; }
@media (min-width: 900px) { .trust-mini { grid-template-columns: repeat(4, 1fr); } }
.timeline--short h3 { font-size: 1.02rem; }
.section--night .stats { margin-top: 24px; }
@media (max-width: 899px) {
  .section { padding: 52px 0; }
  .gallery__item:nth-child(n+4) { display: none; } /* 3 photos suffisent sur téléphone */
}
.next-info { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--ciel); font-size: .88rem; color: var(--texte); text-align: center; }
@media (max-width: 899px) {
  .hero__sub { display: none; } /* le titre du formulaire dit déjà « gratuit et sans engagement » */
  .hero__tva { padding: 6px 12px; font-size: .88rem; }
  .hero__tva b { font-size: 1rem; }
}

/* Consentement RGPD sous le test d'éligibilité */
.rgpd-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e6eaf3; }
.rgpd-box .consent { margin: 0; }
.rgpd-mentions { margin: 10px 0 0; font-size: .74rem; line-height: 1.5; color: var(--texte-doux); }
.rgpd-mentions a { color: var(--nuit-3); font-weight: 600; }
.consent-rappel { margin: 6px 0 0; font-size: .85rem; font-weight: 600; color: var(--ambre); text-align: center; }

/* Badge « Panneaux de marques françaises » en haut à droite */
.topbar__badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px rgba(11,27,58,.1), 0 6px 16px -10px rgba(11,27,58,.4); color: var(--nuit); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.topbar__badge .flag { width: 22px; height: 15px; }
@media (max-width: 420px) { .tb-long { display: none; } .topbar__in { gap: 8px; } .topbar .brand { font-size: .92rem; gap: 6px; } .topbar .brand__sun { width: 24px; height: 24px; } .topbar__badge { padding: 4px 9px; gap: 6px; font-size: .72rem; } .topbar__badge .flag { width: 18px; height: 12px; } }
.rgpd-mentions a[href^="mailto:"] { color: inherit; font-weight: inherit; text-decoration: none; } /* adresse e-mail dans la même police que le texte */
.rgpd-box .consent label { color: var(--nuit-3); font-weight: 600; } /* même style que le lien « Politique de confidentialité » */

/* Bloc matériel : photo de l'artisan + marques françaises */
.section--materiel { padding-block: 44px; }
.materiel { display: grid; gap: 16px; align-items: center; justify-items: center; }
.materiel__photo { margin: 0; width: 100%; max-width: 520px; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: var(--ombre-forte); background: #dfe9f5; }
.materiel__photo img { width: 100%; height: 100%; object-fit: cover; }
.materiel__badge { display: inline-flex; align-items: center; gap: 14px; margin: 0; padding: 14px 22px; border-radius: 18px; background: #fff; box-shadow: var(--ombre); color: var(--nuit); font-weight: 800; font-size: 1.15rem; }
.materiel__badge .flag { width: 36px; height: 24px; }
.materiel__badge small { display: block; font-size: .85rem; font-weight: 600; color: var(--texte-doux); }
@media (min-width: 900px) { .materiel { gap: 22px; } .section--materiel { padding-block: 70px; } } /* marques au-dessus de la photo, partout */
/* Mentions du bas de page en plus petit */
.footer__legal { font-size: .76rem; line-height: 1.55; }
.footer__legal .footer__small { font-size: .7rem; }

/* Titre recadré : la région sur sa propre ligne, coupures équilibrées */
.hero h1 { text-wrap: balance; }
.hero__zone { display: block; font-size: .62em; letter-spacing: .01em; margin-bottom: .25em; }
@media (min-width: 900px) {
  .hero__in { grid-template-rows: auto 1fr; }
  .hero__txt, .hero__plus { align-self: start; }
}
/* Photo de maison avec panneaux solaires en fond du haut de page, sous un voile clair pour garder le texte lisible */
.hero {
  background:
    linear-gradient(180deg, rgba(255,250,240,.38) 0%, rgba(255,250,240,.62) 55%, var(--creme) 100%),
    url(../img/maison-solaire.jpg) 60% 30% / cover no-repeat;
}
@media (min-width: 900px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(255,250,240,.78) 0%, rgba(255,250,240,.55) 40%, rgba(255,250,240,.06) 70%, transparent 100%),
      linear-gradient(180deg, transparent 75%, var(--creme) 100%),
      url(../img/maison-solaire.jpg) 50% 40% / cover no-repeat;
  }
}
/* Photo du haut plus visible : léger halo clair derrière le texte pour qu'il reste lisible */
.hero__txt h1, .hero__txt .eyebrow, .hero__txt .hero__sub { text-shadow: 0 0 18px rgba(255,250,240,.95), 0 0 4px rgba(255,250,240,.9); }
.hero__plus .benefits li, .hero__plus .hero__note { color: var(--texte); text-shadow: 0 0 14px rgba(255,250,240,.95), 0 0 3px rgba(255,250,240,.9); }

/* Photo du haut nette : plus de voile ni de soleil devant, le texte passe dans un cadre clair */
.hero { background: linear-gradient(180deg, transparent 88%, var(--creme) 100%), url(../img/maison-solaire.jpg) 60% 35% / cover no-repeat; }
.hero > .hero__sun { display: none; }
.hero__txt, .hero__plus { background: rgba(255,250,240,.93); border-radius: 20px; padding: 16px 18px; box-shadow: 0 18px 40px -22px rgba(11,27,58,.45); }
.hero__txt h1, .hero__txt .eyebrow, .hero__txt .hero__sub, .hero__plus .benefits li, .hero__plus .hero__note { text-shadow: none; }
.sim__title { background: rgba(255,250,240,.93); border-radius: 14px; padding: 8px 12px; }
@media (min-width: 900px) {
  .hero { background: linear-gradient(180deg, transparent 85%, var(--creme) 100%), url(../img/maison-solaire.jpg) 50% 40% / cover no-repeat; }
  .hero__txt, .hero__plus { padding: 22px 26px; }
}
@media (max-width: 899px) {
  /* Téléphone : photo affichée à sa taille réelle en bandeau (nette), fond crème en dessous */
  .hero { background: url(../img/maison-solaire.jpg) center top / 100% auto no-repeat, var(--creme); }
  .hero__in { margin-top: 92px; }
}

/* La maison n'est plus derrière le texte : vraie photo encadrée sur ordinateur, bandeau dégagé sur téléphone. Soleil de retour en haut à droite. */
.hero > .hero__sun { display: block; z-index: 0; }
.hero__in { position: relative; z-index: 1; }
.hero__maison { display: none; grid-area: photo; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(11,27,58,.5), 0 0 0 5px rgba(255,255,255,.8); aspect-ratio: 828 / 600; max-width: 100%; }
.hero__maison img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero { background: radial-gradient(70% 55% at 92% 0%, rgba(255,194,26,.45) 0%, rgba(255,214,102,.18) 40%, transparent 70%), linear-gradient(180deg, #fff3cf 0%, #fffaf0 55%, var(--creme) 100%); }
  .hero__in { grid-template-areas: "txt form" "photo form" "plus form"; grid-template-rows: auto auto 1fr; }
  .hero__maison { display: block; }
  .hero__txt, .hero__plus { background: transparent; box-shadow: none; padding: 0; }
  .sim__title { background: transparent; }
  .hero > .hero__sun { top: -150px; right: -110px; width: 520px; height: 520px; }
}
@media (max-width: 899px) {
  .hero__in { margin-top: calc(72.5vw - 60px); } /* le texte commence juste sous la photo (hauteur photo = 72,5 % de la largeur) */
  .hero > .hero__sun { top: -120px; right: -120px; width: 300px; height: 300px; }
}
/* Téléphone : texte complet « Panneaux de marques françaises » sur deux lignes */
@media (max-width: 420px) { .tb-long { display: block; } .topbar__badge { line-height: 1.15; padding: 5px 9px; font-size: .7rem; border-radius: 14px; } .topbar .brand { font-size: .86rem; } .topbar__in { gap: 6px; } }
/* Barre du haut sur petits téléphones : tailles qui s'adaptent à la largeur, le badge ne déborde jamais */
@media (max-width: 420px) {
  .topbar__in { gap: 6px; }
  .topbar .brand { flex: 0 1 auto; min-width: 0; font-size: clamp(.74rem, 3.7vw, .9rem); gap: 5px; }
  .topbar .brand__sun { width: clamp(18px, 6vw, 24px); height: clamp(18px, 6vw, 24px); flex: none; }
  .topbar__badge { flex: 0 1 auto; min-width: 0; white-space: normal; font-size: clamp(.6rem, 2.95vw, .72rem); padding: 4px 8px; gap: 5px; }
  .topbar__badge .flag { width: 16px; height: 11px; flex: none; }
}/* Tous les téléphones (jusqu'aux grands modèles de 430 px et plus) : le badge passe sur deux lignes au lieu de sortir de l'écran */
@media (max-width: 560px) {
  .topbar__in { gap: 8px; }
  .topbar .brand { flex: 0 1 auto; min-width: 0; font-size: clamp(.74rem, 3.7vw, .95rem); gap: 6px; }
  .topbar .brand__sun { width: clamp(18px, 6vw, 24px); height: clamp(18px, 6vw, 24px); flex: none; }
  .tb-long { display: block; }
  .topbar__badge { flex: 0 1 auto; min-width: 0; white-space: normal; line-height: 1.15; border-radius: 14px; font-size: clamp(.6rem, 2.95vw, .74rem); padding: 5px 9px; gap: 6px; }
  .topbar__badge .flag { width: 16px; height: 11px; flex: none; }
}
/* Téléphone uniquement : « Estimer mon potentiel solaire » plus grand */
@media (max-width: 899px) { .sim__title { font-size: 1.4rem; line-height: 1.2; } .sim__title span { font-size: .95rem; margin-top: 4px; } }
