/* HORIZON · site concept ZELY */
:root {
  --ink: #182331;
  --blue: #1667ef;
  --blue-d: #0f55cc;
  --bg: #f5f7fb;
  --bg2: #e9edf4;
  --card: #ffffff;
  --mute: #5b6778;
  --line: rgba(24, 35, 49, 0.12);
  --pale: #e3ebfd;
  --r: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Manrope', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; font-feature-settings: 'tnum' 1; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* Bandeau concept */
.concept-bar { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 12.5px; text-align: center; padding: 8px 16px; }
.concept-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(22, 103, 239, 0.6); }
.btn-blue:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.08); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(245, 247, 251, 0.86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: transform 0.35s var(--ease); }
.nav.hide { transform: translateY(-100%); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { font-weight: 800; letter-spacing: 0.16em; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; }
.logo::before { content: ''; width: 22px; height: 2.5px; background: var(--blue); border-radius: 2px; }
.nav-links { display: flex; gap: 26px; margin-left: 20px; font-size: 14.5px; font-weight: 600; color: var(--mute); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-tel { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.nav-tel svg { width: 16px; height: 16px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linejoin: round; }
.nav-cta { padding: 11px 18px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s; }
.burger i:first-child { top: 16px; }
.burger i:last-child { top: 24px; }
.burger[aria-expanded='true'] i:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded='true'] i:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 auto; z-index: 49; background: var(--bg); border-bottom: 1px solid var(--line); padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; border: 0; }
.mobile-menu .mm-tel { text-align: center; border: 0; color: var(--blue); }

/* Apparitions */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Titres */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.kicker.light { color: #8fb4ff; }
.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head > p:last-child { color: var(--mute); font-size: 17px; margin-top: 16px; }
.sec-head.row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; }
.sec-head.row > p { margin: 0; }
section { padding: 110px 0; }

/* Héros */
.hero { position: relative; min-height: min(calc(100svh - 68px - 33px), 800px); display: flex; flex-direction: column; justify-content: flex-end; padding: 0; color: #fff; overflow: hidden; overflow: clip; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
body.loaded .hero-bg { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 32, 0.15) 0%, rgba(12, 20, 32, 0.25) 40%, rgba(12, 20, 32, 0.82) 100%); }
.hero-in { position: relative; z-index: 2; padding: 72px 0 48px; }
.dispo { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.25); padding: 8px 14px 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, 0.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.h-hero { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin-top: 24px; color: rgba(255, 255, 255, 0.86); }
.hero-ctas { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, 0.18); background: rgba(12, 20, 32, 0.35); backdrop-filter: blur(12px); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-in > div { padding: 22px 24px; border-left: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; gap: 2px; }
.trust-in > div:first-child { border-left: 0; padding-left: 0; }
.trust-in b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.trust-in span { font-size: 13.5px; color: rgba(255, 255, 255, 0.7); }

/* Estimateur */
.estim { background: var(--bg); }
.estim-box { display: grid; grid-template-columns: 360px 1fr; background: var(--card); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(24, 35, 49, 0.25), 0 0 0 1px var(--line); overflow: hidden; }
.estim-form { padding: 36px; display: flex; flex-direction: column; gap: 30px; border-right: 1px solid var(--line); }
.seg { border: 0; }
.seg-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--bg2); border-radius: 12px; padding: 5px; }
.seg-opts.two { grid-template-columns: repeat(2, 1fr); }
.seg legend, .range-top > span:first-child, .estim-inc p { font-size: 13px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.seg legend { padding: 0; margin-bottom: 10px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--mute); transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(24, 35, 49, 0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.range { display: block; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; }
.range-top b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--blue); }
.range input { width: 100%; margin: 18px 0 8px; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p, 30%), var(--bg2) var(--p, 30%)); outline: none; cursor: pointer; }
.range input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 4px 12px rgba(22, 103, 239, 0.35); transition: transform 0.2s; }
.range input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); }
.range input:active::-webkit-slider-thumb { transform: scale(1.15); }
.range input:focus-visible::-webkit-slider-thumb { outline: 3px solid rgba(22, 103, 239, 0.35); }
.estim-inc { margin-top: auto; border-top: 1px solid var(--line); padding-top: 24px; }
.estim-inc ul { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.estim-inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; }
.estim-inc li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231667ef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.range-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute); }
.estim-visual { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 22px; background: linear-gradient(180deg, #fbfcfe, #fff); }
.estim-visual > .btn { align-self: flex-start; }
.sim-box { background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(22, 103, 239, 0.06) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(22, 103, 239, 0.06) 23px 24px), #f7f9fd; border-radius: 14px; border: 1px solid var(--line); padding: 10px 14px 4px; }
.sim { width: 100%; height: auto; display: block; overflow: visible; }
.sim [id^='ext-m-'], .sim #maison-m-toit { transition: opacity 0.45s var(--ease); }
.sim [id^='ext-m-']:not(.on):not(#ext-m-cote) { opacity: 0; }
.sim #maison-m-toit.off { opacity: 0; }
.sim #ext-m-cote text { font-family: 'Manrope', sans-serif; font-weight: 700; }
.sim [id$='-b-1'], .sim [id$='-v-1'] { transition: opacity 0.6s 0.3s; }
.sim:not(.drawn) [id*='-t-'] { stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); }
.sim:not(.drawn) [id$='-b-1'], .sim:not(.drawn) [id$='-v-1'], .sim:not(.drawn) #cote-s-1 { opacity: 0; }
.estim-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.estim-out > div { background: var(--bg); border-radius: 12px; padding: 14px 16px; }
.estim-out dt { font-size: 12.5px; font-weight: 600; color: var(--mute); }
.estim-out dd { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin-top: 2px; transition: color 0.3s; }
.estim-out > div:first-child dd { color: var(--blue); }
.estim-out dd.flash { animation: flash 0.5s var(--ease); }
@keyframes flash { 0% { transform: translateY(4px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }
.estim-note { font-size: 14px; color: var(--mute); padding-left: 14px; border-left: 2px solid var(--pale); }

/* Projets */
.projets { background: var(--bg2); }
.pj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pj { background: var(--card); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.pj:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(24, 35, 49, 0.35), 0 0 0 1px var(--line); }
.pj-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pj:hover .pj-img img { transform: scale(1.05); }
.pj-tag { position: absolute; left: 16px; top: 16px; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pj h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; padding: 22px 24px 0; }
.pj-specs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 24px 24px; gap: 12px; }
.pj-specs li { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 12px; }
.pj-specs span { font-size: 12.5px; color: var(--mute); font-weight: 600; }
.pj-specs b { font-size: 17px; font-weight: 800; }

/* Méthode : frise */
.methode { background: var(--bg); }
.frise { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; counter-reset: s; }
.frise-line { position: absolute; left: 32px; right: calc((100% - 90px) / 6 - 32px); top: 32px; height: 2px; background: var(--bg2); pointer-events: none; }
.frise-line i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(var(--prog, 0)); transition: transform 0.2s linear; }
.step { position: relative; }
.step-ico { width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -14px rgba(24, 35, 49, 0.35); display: grid; place-items: center; position: relative; z-index: 1; transition: box-shadow 0.4s, transform 0.4s var(--ease); }
.tl-ico { width: 46px; height: 46px; }
.tl-ico [id*='-t-'] { stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset 1s var(--ease) calc(var(--i, 0) * 0.12s); }
.tl-ico [id$='-b-1'] { opacity: 0; transition: opacity 0.6s 0.5s; }
.step.lit .tl-ico [id*='-t-'] { stroke-dashoffset: 0; }
.step.lit .tl-ico [id$='-b-1'] { opacity: 1; }
.step.lit .step-ico { box-shadow: 0 0 0 2px var(--blue), 0 14px 30px -14px rgba(22, 103, 239, 0.55); }
.step:hover .step-ico { transform: translateY(-3px); }
.step-n { display: block; margin-top: 22px; font-size: 13px; font-weight: 800; color: var(--blue); }
.step h3 { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-top: 4px; line-height: 1.25; }
.step p { font-size: 14.5px; color: var(--mute); margin-top: 8px; }
.step-dur { display: inline-block; width: fit-content; margin-top: 12px; font-size: 12.5px; font-weight: 700; background: var(--pale); color: var(--blue-d); padding: 4px 10px; border-radius: 999px; }

/* Chantiers en cours */
.encours { background: var(--ink); color: #fff; }
.encours .sec-head.row > p { color: rgba(255, 255, 255, 0.66); }
.encours .kicker { color: #8fb4ff; }
.ec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ec-img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.ec-img img { width: 100%; height: 100%; object-fit: cover; }
.ec-live { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(12, 20, 32, 0.6); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.ec h3 { font-size: 19px; font-weight: 800; margin-top: 18px; }
.ec-lieu { color: rgba(255, 255, 255, 0.6); font-size: 14.5px; }
.ec-prog { margin-top: 14px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.75); }
.ec-prog .bar { height: 6px; background: rgba(255, 255, 255, 0.12); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ec-prog .bar i { display: block; height: 100%; width: var(--p); background: var(--blue); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.ec.in .bar i { transform: scaleX(1); }

/* Avis */
.avis { background: var(--bg2); }
.av-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.av { background: var(--card); border-radius: 18px; padding: 30px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.stars { color: var(--blue); letter-spacing: 3px; font-size: 16px; }
.av blockquote { font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; flex: 1; }
.av figcaption { display: flex; flex-direction: column; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.av figcaption span { color: var(--mute); }

/* Questions */
.faq { background: var(--bg); }
.faq-in { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.fq-list details { border-bottom: 1px solid var(--line); }
.fq-list summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 18px; position: relative; }
.fq-list summary::-webkit-details-marker { display: none; }
.fq-list summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--ease); }
.fq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.fq-a { overflow: hidden; }
.fq-a p { padding: 0 40px 24px 0; color: var(--mute); }

/* Réservation */
.rdv { background: var(--ink); color: #fff; position: relative; overflow: hidden; overflow: clip; }
.rdv::before { content: ''; position: absolute; right: -200px; top: -200px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 103, 239, 0.35), transparent 65%); pointer-events: none; }
.rdv-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; position: relative; }
.rdv-in > * { min-width: 0; }
.rdv-text > p { color: rgba(255, 255, 255, 0.72); font-size: 17px; margin-top: 18px; }
.rdv-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.rdv-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.rdv-points li::before { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; flex: none; }
.rdv-tel { display: inline-flex; flex-direction: column; margin-top: 36px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.rdv-tel small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.6); letter-spacing: 0; }
.book { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.bk-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; counter-reset: bk; }
.bk-steps li { font-size: 12.5px; font-weight: 700; color: var(--mute); padding-top: 10px; border-top: 3px solid var(--bg2); transition: color 0.3s, border-color 0.3s; counter-increment: bk; }
.bk-steps li::before { content: counter(bk) '. '; }
.bk-steps li.on { color: var(--ink); border-color: var(--blue); }
.bk-steps li.done { color: var(--blue); border-color: var(--blue); }
.bk-estim { background: var(--pale); color: var(--blue-d); font-weight: 700; font-size: 14px; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
.bk-step { border: 0; display: none; }
.bk-step.is-on { display: block; animation: stepin 0.45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.bk-step legend { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 16px; padding: 0; }
.bk-types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-types label { cursor: pointer; position: relative; }
.bk-types input { position: absolute; opacity: 0; }
.bk-types span { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--line); border-radius: 14px; padding: 20px; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); }
.bk-types span:hover { border-color: var(--blue); transform: translateY(-2px); }
.bk-types b { font-size: 17px; }
.bk-types small { color: var(--mute); font-size: 13.5px; }
.bk-types input:checked + span { border-color: var(--blue); background: var(--pale); }
.bk-types input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.bk-days button { flex: none; width: 74px; display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.bk-days button b { font-size: 20px; font-weight: 800; }
.bk-days small { font-size: 11.5px; color: var(--mute); }
.bk-days button:hover:not(:disabled) { border-color: var(--blue); }
.bk-days button[aria-selected='true'] { border-color: var(--blue); background: var(--blue); color: #fff; }
.bk-days button[aria-selected='true'] small { color: rgba(255, 255, 255, 0.8); }
.bk-days button:disabled { opacity: 0.4; cursor: not-allowed; }
.bk-slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; min-height: 46px; }
.bk-slots button { padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 700; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.bk-slots button:hover:not(:disabled) { border-color: var(--blue); }
.bk-slots button[aria-selected='true'] { background: var(--blue); border-color: var(--blue); color: #fff; }
.bk-slots button:disabled { text-decoration: line-through; opacity: 0.4; cursor: not-allowed; }
.bk-hint { color: var(--mute); font-size: 14px; padding: 12px 0; }
.bk-recap { font-weight: 700; color: var(--blue-d); margin-bottom: 16px; }
.bk-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--mute); }
.bk-fields .full { grid-column: 1 / -1; }
.bk-fields input { border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; font-size: 16px; font-weight: 500; color: var(--ink); background: #fff; transition: border-color 0.2s; }
.bk-fields input:focus { outline: none; border-color: var(--blue); }
.bk-fields input.invalid { border-color: #d93b3b; }
.bk-err { color: #d93b3b; font-size: 14px; font-weight: 600; min-height: 20px; margin-top: 12px; }
.bk-nav { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.bk-nav .btn { margin-left: auto; }
.bk-back { background: none; border: 0; font-weight: 700; color: var(--mute); cursor: pointer; padding: 10px 0; }
.bk-back:hover { color: var(--ink); }
.bk-nav [hidden] { display: none; }
.book.sent .bk-step, .book.sent .bk-nav, .book.sent .bk-steps, .book.sent .bk-err, .book.sent .bk-estim { display: none; }
.bk-done { text-align: left; animation: stepin 0.5s var(--ease); }
.bk-done::before { content: ''; display: block; width: 52px; height: 52px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3L14.5 7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; margin-bottom: 18px; }
.bk-done-t { font-size: 20px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.bk-done p:last-child { color: var(--mute); font-size: 14.5px; }

/* Pied de page */
.footer { background: #0f1824; color: rgba(255, 255, 255, 0.6); padding: 36px 0 44px; font-size: 13.5px; }
.ft-in { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.footer .logo { color: #fff; }
.footer a:hover { color: #fff; }

/* Barre mobile */
.mbar { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .frise { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .frise-line { display: none; }
  .estim-box { grid-template-columns: 1fr; }
  .estim-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .estim-inc { display: none; }
}
@media (max-width: 860px) {
  section { padding: 76px 0; }
  .wrap { width: min(1200px, 100% - 32px); }
  .nav-tel, .nav-cta { display: none; }
  .burger { display: block; }
  .hero { min-height: calc(100svh - 68px - 52px); }
  .hero-in { padding: 90px 0 36px; }
  .trust-in { grid-template-columns: 1fr 1fr; }
  .trust-in > div { padding: 16px 0 16px 16px; }
  .trust-in > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust-in > div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .trust-in b { font-size: 18px; }
  .sec-head.row { grid-template-columns: 1fr; gap: 12px; }
  .sec-head { margin-bottom: 36px; }
  .estim-form, .estim-visual { padding: 24px 20px; }
  .estim-out { grid-template-columns: 1fr; gap: 8px; }
  .estim-out > div { display: flex; justify-content: space-between; align-items: baseline; }
  .estim-out dd { font-size: 17px; margin: 0; }
  .estim-visual > .btn { align-self: stretch; }
  .pj-grid, .ec-grid, .av-grid { grid-template-columns: 1fr; }
  .frise { grid-template-columns: 1fr 1fr; }
  .faq-in, .rdv-in { grid-template-columns: 1fr; gap: 36px; }
  .book { padding: 24px 18px; }
  .bk-types, .bk-fields { grid-template-columns: 1fr; }
  .mbar { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 247, 251, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s var(--ease); }
  .mbar.show { transform: none; }
  .mbar a { display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: 10px; font-weight: 800; font-size: 15px; border: 1.5px solid var(--ink); }
  .mbar .mb-rdv { background: var(--blue); border-color: var(--blue); color: #fff; }
  .footer { padding-bottom: 100px; }
}
@media (max-width: 520px) {
  .frise { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .step-ico { grid-row: 1 / 6; }
  .step-n { margin-top: 0; }
  .pj-specs { gap: 8px; }
  .pj-specs b { font-size: 15px; }
  .seg span { font-size: 13px; padding: 11px 2px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .sim #cote-s-1 { font-size: 24px; }
  .sim #cote-t-1 { stroke-width: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}
.bk-fields label[hidden] { display: none; }
