/* Styles communs à toutes les pages du site ERGIA. */
:root {
  --bg: #F6F7FA; --surface: #FFFFFF; --ink: #121833; --ink-soft: #555D78; --line: #DFE3EC;
  --brand: #24316A; --brand-deep: #182252; --brand-soft: #E8EBF5;
  --fresh: #3E8E3F; --fresh-text: #2F7331; --fresh-soft: #E4F2E2; --gold: #C29A4E; --gold-light: #E2C48A;
  --warn: #B4462B; --warn-soft: #F8E3DC;
  --radius: 14px; --shadow: 0 1px 2px rgba(18,24,51,.05), 0 12px 30px -16px rgba(18,24,51,.22);
  --wrap: 1160px; --gutter: clamp(18px, 4vw, 32px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--brand); }
img, svg { max-width: 100%; }
h1, h2 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; letter-spacing: 0; line-height: 1.12; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); max-width: 22ch; }
h3, .h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.h3 { font-family: inherit; max-width: none; letter-spacing: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.stack-lg { display: flex; flex-direction: column; gap: 36px; }
.stack-xl { display: flex; flex-direction: column; gap: 56px; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.65; color: var(--ink-soft); max-width: 56ch; }
.body-lg { font-size: 1.06rem; line-height: 1.7; color: var(--ink-soft); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fresh-text); }
.eyebrow.on-dark { color: var(--gold-light); }
.ico { width: 22px; height: 22px; flex-shrink: 0; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 28px; height: 28px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 10px; font: inherit; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-light:hover { background: #EEF1F8; color: var(--brand-deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
/* Retour visuel à l'appui : le bouton se tasse légèrement (le client sent que son appui est pris en compte) */
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.demo-banner { display: none; background: var(--warn); color: #fff; font-size: .82rem; text-align: center; padding: 6px 12px; }
.demo-banner.show { display: block; }

/* Barre du haut + en-tête */
.topbar { background: var(--brand-deep); color: #D9DEF0; font-size: .82rem; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 9px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { color: #D9DEF0; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: #fff; }
/* Bandeau d'appel (29.09.2026) : « Une question ? Appelez le … », numéro en doré (comme l'exemple donné par l'utilisateur) */
.topbar { font-size: .98rem; }
.topbar-row { padding-block: 12px; }
.topbar-msg { color: #fff; }
.topbar a.topbar-tel { color: #E2C48A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding-block: 4px; }
.topbar a.topbar-tel:hover { color: #fff; }
@media (max-width: 760px) { .topbar { font-size: 1.02rem; } .topbar-row { justify-content: center; text-align: center; } .topbar-links { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 62px; height: 30px; }
.wordmark { font-family: 'Marcellus', Georgia, serif; font-size: 1.65rem; letter-spacing: .06em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a, .dd-btn { font: inherit; font-size: .95rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-bottom: 2px solid transparent; }
.main-nav > a:hover, .dd-btn:hover { color: var(--ink); }
.main-nav a.active, .dd-btn.active { color: var(--brand); font-weight: 600; border-bottom-color: var(--gold); }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: -16px; min-width: 250px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.open .dd-menu { display: flex; }
.dd-menu a { padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.dd-menu a:hover { background: var(--brand-soft); }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 2px; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-menu a { padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-menu a.sub { padding-left: 18px; font-weight: 400; color: var(--ink-soft); }
  .mobile-menu .mm-label { padding: 12px 4px 4px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fresh-text); }
  .mobile-menu .btn { margin-top: 14px; border-bottom: 0; color: #fff; }
}

/* Hero */
.hero { background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; color: var(--ink-soft); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks .ico { color: var(--fresh-text); }
.hero-visual { position: relative; }
.hero-illus { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 320 / 220; background: var(--brand-soft); }
.hero-illus .illus { width: 100%; height: 100%; display: block; }
/* Haut de page : bloc sobre aux couleurs du logo (à remplacer par une vraie photo quand il y en aura une) */
.hero-panel { aspect-ratio: auto; border: 0; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 6px; }
.hero-panel .logo-mark { width: 74px; height: 36px; }
.hero-panel-title { font-family: 'Marcellus', Georgia, serif; font-size: 1.55rem; line-height: 1.2; margin: 14px 0 10px; color: #fff; }
.hero-panel-list li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-panel-list .ico { color: var(--gold-light); margin-top: 2px; }
.hero-panel-list strong { display: block; font-size: 1.02rem; font-weight: 600; }
.hero-panel-list span { font-size: .88rem; color: #C9D1EA; }
.hero-panel-foot { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; color: var(--gold-light); }
@media (max-width: 880px) { .hero-visual { display: none; } }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; color: var(--ink-soft); }
.float strong { display: block; color: var(--ink); font-size: .9rem; }
.float .ico { color: var(--brand); }
.f1 { right: -14px; bottom: -18px; }
.f2 { right: -14px; top: 22px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .f1 { left: 10px; bottom: -18px; } .f2 { right: 10px; top: -18px; } .hero-visual { margin: 12px 0 18px; } }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 96px); background: var(--surface); }
.sec.alt { background: var(--bg); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.sec:not(.alt) .card { background: var(--bg); }

/* À propos */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { aspect-ratio: 4 / 5; max-width: 360px; width: 100%; border-radius: 20px; background: linear-gradient(160deg, var(--brand-soft), var(--fresh-soft)); display: flex; align-items: center; justify-content: center; }
.founder-photo span { font-family: 'Marcellus', Georgia, serif; font-size: 6rem; color: var(--brand); }
.founder-photo { overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.founder-sign { font-family: 'Marcellus', Georgia, serif; font-style: italic; font-size: 1.3rem; line-height: 1.35; color: var(--brand); margin-top: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.fact strong { display: block; font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 1.3rem; color: var(--brand); }
.fact span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .founder-photo { max-width: 240px; aspect-ratio: 1; } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Prestations */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1040px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.svc-media { aspect-ratio: 320 / 170; background: var(--brand-soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.svc-media .illus { width: 100%; height: 100%; display: block; transition: transform .5s; }
.svc-card:hover .illus { transform: scale(1.05); }
.svc-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.svc-body strong { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 1.35rem; color: var(--ink); }
.svc-body span { font-size: .93rem; color: var(--ink-soft); }
.svc-body em { font-style: normal; font-weight: 600; font-size: .93rem; color: var(--brand); margin-top: auto; padding-top: 6px; display: inline-flex; gap: 6px; align-items: center; }
.option-strip { display: flex; gap: 16px; align-items: center; background: var(--fresh-soft); border-radius: 16px; padding: 18px 22px; }
.option-strip .ico { color: var(--fresh-text); }
.option-strip strong { display: block; }
.option-strip span { font-size: .93rem; color: var(--ink-soft); }

/* Formules */
.f-mini-grid, .f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .f-mini-grid, .f-grid { grid-template-columns: 1fr; } }
.f-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.f-mini h3, .f-card h3 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 1.6rem; }
.f-mini p { color: var(--ink-soft); font-size: .95rem; }
.f-mini.featured, .f-card.featured { background: var(--brand); border-color: var(--brand); color: #fff; }
.f-mini.featured p, .f-card.featured p { color: #D9DEF0; }
.f-card { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.f-card ul { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.f-card.featured ul { border-top-color: #3A4A8A; }
.f-card li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.f-card li .ico { color: var(--fresh-text); margin-top: 3px; }
.f-card.featured li .ico { color: var(--gold-light); }
.f-card .price { font-size: .9rem; margin-top: auto; }
.f-card .btn { align-self: flex-start; }
.tag { align-self: flex-start; background: var(--gold); color: var(--brand-deep); font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.factor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .factor-grid { grid-template-columns: 1fr; } }
.factor { display: flex; flex-direction: column; gap: 8px; }
.factor .ico { color: var(--brand); }
.factor span { font-size: .9rem; color: var(--ink-soft); }

/* Avant / après */
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.ba-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ph { aspect-ratio: 4 / 3; background: var(--brand-soft); border: 2px dashed #B9C1DA; border-radius: 12px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; font-size: .85rem; color: var(--ink-soft); }
.ba figcaption { margin-top: 10px; font-size: .88rem; color: var(--ink-soft); }

/* Engagements */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .why-grid { grid-template-columns: 1fr; } }
.why { display: flex; flex-direction: column; gap: 8px; }
.why .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--fresh-soft); color: var(--fresh-text); }
.why strong { font-size: 1.05rem; }
.why span { font-size: .93rem; color: var(--ink-soft); }
.note-box { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 2px dashed #B9C1DA; border-radius: 16px; padding: 20px 22px; }
.note-box .ico { color: var(--gold); }
.note-box strong { display: block; }
.note-box span { font-size: .93rem; color: var(--ink-soft); }

/* Bandeau titre des pages internes */
.band { background: var(--brand); color: #fff; }
.band .wrap { display: flex; flex-direction: column; gap: 14px; padding-block: clamp(40px, 7vw, 72px); }
.band h1 { color: #fff; max-width: 20ch; }
.band .lead { color: #D9DEF0; }
.crumb { font-size: .85rem; color: #C9D1EA; }
.crumb a { color: #fff; }

/* Page service */
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; padding-block: clamp(48px, 7vw, 80px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .inc-grid { grid-template-columns: 1fr; } }
.inc { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ico-check { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--fresh-soft); color: var(--fresh-text); }
.inc strong { display: block; }
.inc span { font-size: .9rem; color: var(--ink-soft); }
.steps { display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-n { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step strong { display: block; }
.step span { color: var(--ink-soft); font-size: .95rem; }
.step .step-n { color: #fff; font-size: 1rem; }
.side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
@media (max-width: 900px) { .side { position: static; } }
.side-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface) !important; }
.side-card h3 { font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 1.5rem; }
.mini-links { display: flex; flex-direction: column; gap: 4px; }
.mini-link { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mini-link:hover { background: var(--brand-soft); }
.mini-link .ico { color: var(--brand); }

/* Contact + formulaire */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 40px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .form-card { order: -1; } }
.contact-card { display: flex; flex-direction: column; gap: 18px; }
.who { display: flex; gap: 14px; align-items: center; }
.who-photo { overflow: hidden; width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; font-family: 'Marcellus', Georgia, serif; font-size: 1.8rem; color: var(--brand); flex-shrink: 0; }
.who-name { display: block; font-family: 'Marcellus', Georgia, serif; font-weight: 400; font-size: 1.4rem; }
.who .muted { font-size: .88rem; }
.c-line { display: flex; gap: 12px; align-items: flex-start; }
.c-line .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.c-line span { display: block; font-size: .8rem; color: var(--ink-soft); }
.c-line strong { font-size: .98rem; word-break: break-word; }
.c-line a { color: var(--ink); text-decoration: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { background: var(--brand-soft); color: var(--brand); font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 99px; }

.form-card { background: var(--surface) !important; box-shadow: var(--shadow); }
.form-title { font-size: clamp(1.5rem, 3vw, 1.9rem); max-width: none; }
.progress { margin-top: 16px; }
.progress-label { display: flex; justify-content: space-between; font-size: .76rem; color: var(--ink-soft); font-weight: 500; }
.progress-bar { height: 6px; background: var(--brand-soft); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--brand), var(--fresh)); border-radius: 99px; transition: width .3s; }
form { margin-top: 20px; }
fieldset.pane { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.q { font-weight: 600; padding: 0; margin-bottom: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 460px) { .row-2 { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; font-size: 16px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; min-height: 48px; }
textarea { min-height: 84px; resize: vertical; }
/* Choix de la localité quand un NPA en a plusieurs (ex. 1227) — remplace le <datalist>, qui ne s'ouvre pas sur iPhone */
.npa-choix { display: flex; flex-direction: column; gap: 6px; }
.npa-choix[hidden] { display: none; }
.npa-choix p { font-size: .82rem; color: var(--ink-soft); }
.npa-choix button { font: inherit; font-size: 16px; text-align: left; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); cursor: pointer; }
.npa-choix button:hover, .npa-choix button:focus-visible { border-color: var(--brand); background: var(--brand-soft); }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; }
input::-webkit-date-and-time-value { text-align: left; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.tile label { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 52px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: .9rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.tile label .ico { color: var(--brand); width: 20px; height: 20px; }
.tile label:hover { border-color: var(--brand); }
.tile input:checked + label { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.tile input:focus-visible + label { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--fresh) 45%, var(--line)); border-radius: 10px; background: var(--fresh-soft); cursor: pointer; }
.addon input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; margin: 1px 0 0; padding: 0; accent-color: var(--fresh); }
.addon strong { display: block; font-size: .92rem; }
.addon small { display: block; font-size: .8rem; color: var(--ink-soft); }
/* Prestations souhaitées (entretien de locaux) : cases à cocher en grille */
fieldset.prest { border: 0; margin: 0; padding: 0; min-width: 0; }
.prest legend { padding: 0; margin-bottom: 6px; }
.prest-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 460px) { .prest-grid { grid-template-columns: 1fr; } }
.prest-item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); font-size: .92rem; font-weight: 500; color: var(--ink); cursor: pointer; }
.prest-item input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; margin: 0; padding: 0; accent-color: var(--brand); }
.prest-item:hover { border-color: var(--brand); }
.prest-item:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.nav-btns { display: flex; gap: 10px; margin-top: 4px; }
.nav-btns .btn-primary { flex: 1; }
@media (max-width: 420px) { .nav-btns .btn { padding-inline: 16px; white-space: normal; text-align: center; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; padding: 0; margin-top: 1px; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: none; font-size: .86rem; color: var(--warn); background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; }
.form-error.show { display: block; }
.success { display: none; }
.success.show { display: block; }
.success-check { width: 52px; height: 52px; border-radius: 50%; background: var(--fresh); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; box-shadow: 0 0 0 8px var(--fresh-soft); }
.success ol { list-style: decimal; padding-left: 20px; margin-top: 16px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 8px; }

/* Mentions légales */
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 12px; }
.prose p { color: var(--ink-soft); }

/* Bandeau d'appel + pied de page */
.cta-band { background: var(--bg); padding-block: clamp(48px, 7vw, 80px); }
.cta-box { background: var(--brand); border-radius: 20px; padding: clamp(28px, 5vw, 52px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-box h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-box p { color: #D9DEF0; }
.site-footer { background: var(--brand-deep); color: #C9D1EA; padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.brand-light { color: #fff; }
.site-footer p { font-size: .9rem; max-width: 300px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; font-size: .92rem; }
.foot-col strong { color: #fff; letter-spacing: .04em; }
.foot-col a, .foot-bottom a { color: #C9D1EA; text-decoration: none; }
.foot-col a:hover, .foot-bottom a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; border-top: 1px solid #2E3B75; margin-top: 40px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); }

/* Barre mobile fixe */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .2s; }
  .mobile-bar.hide { transform: translateY(110%); }
  .mobile-bar .btn-primary { flex: 1; }
  .mobile-bar .btn-icon { flex: 0 0 48px; width: 48px; padding: 0; }
  .site-footer { padding-bottom: 76px; }
}

/* Illustrations */
.i-wall { fill: var(--brand-soft); }
.i-floor { fill: color-mix(in srgb, var(--brand) 16%, var(--surface)); }
.i-shine { fill: var(--surface); opacity: .55; }
.i-base { stroke: var(--brand); stroke-width: 2; opacity: .3; }
.i-glass { fill: var(--surface); stroke: var(--brand); stroke-width: 2.5; }
.i-thin { fill: none; stroke: var(--brand); stroke-width: 2; }
.i-glint { fill: var(--fresh); opacity: .22; }
.i-line { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.i-solid { fill: var(--brand); }
.i-soft { fill: var(--surface); stroke: var(--brand); stroke-width: 2.5; }
.i-fresh { fill: var(--fresh); }
.i-fresh-line { fill: none; stroke: var(--fresh); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.i-warm { fill: #D9A765; }
.i-warm-line { fill: none; stroke: #B07F3C; stroke-width: 2; }
.i-cushion { fill: var(--surface); opacity: .22; }
.i-spark { fill: var(--gold); }
/* Écrans tactiles : pas d'effet de survol qui reste « collé » après un toucher */
@media (hover: none) {
  .btn-primary:hover { transform: none; }
  .svc-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .svc-card:hover .illus { transform: none; }
}
/* Contenus provisoires (data-todo) : masqués aux visiteurs tant qu'ils ne sont pas remplis.
   Mode brouillon (CONFIG.modeBrouillon ou ?brouillon=1 dans l'adresse) : visibles, encadrés en pointillés. */
html:not(.brouillon) [data-todo] { display: none !important; }
html.brouillon [data-todo] { outline: 2px dashed var(--gold); outline-offset: 3px; }
html:not(.brouillon) .about:has(> .founder-photo[data-todo]) { grid-template-columns: 1fr; }
html:not(.brouillon) .about:has(> .founder-photo[data-todo]) > .stack { max-width: 760px; }
@media (max-width: 760px) { html:not(.brouillon) .topbar.no-contact { display: none; } }
.draft-banner { display: none; background: var(--gold); color: var(--brand-deep); font-size: .82rem; font-weight: 600; text-align: center; padding: 6px 12px; }
html.brouillon .draft-banner { display: block; }
/* Accueil : un filet sépare les sections quand deux fonds identiques se suivent (section masquée) */
#accueil .sec { border-top: 1px solid var(--line); }
/* Comment ça se passe (accueil) */
.how-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 800px) { .how-grid { grid-template-columns: 1fr; gap: 18px; } }
/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-family: 'Marcellus', Georgia, serif; font-size: 1.6rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-soft); max-width: 66ch; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
/* Landing Google Ads (/devis/) : haut de page bleu marine avec le formulaire à droite (dessous sur mobile) */
.lp-hero { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(28px, 5vw, 60px); align-items: start; padding-block: clamp(32px, 6vw, 72px); }
@media (max-width: 900px) { .lp-grid { grid-template-columns: minmax(0, 1fr); } }
.lp-grid .form-card { order: 0; color: var(--ink); }
.lp-copy, .lp-copy-txt { display: flex; flex-direction: column; gap: 18px; }
.lp-copy { padding-top: clamp(0px, 3vw, 28px); }
.lp-copy h1 { color: #fff; max-width: 18ch; }
.lp-copy .lead { color: #D9DEF0; }
.lp-copy .ticks { color: #D9DEF0; }
.lp-copy .ticks .ico { color: var(--gold-light); }
.lp-direct { font-size: .92rem; color: #C9D1EA; }
.lp-direct a { color: #fff; }
.lp-call { min-height: 44px; padding: 10px 18px; }
@media (max-width: 520px) { .lp-call { padding-inline: 14px; font-size: .92rem; } }
/* Slogan validé par Etienne (29.09.2026), sous le logo dans le pied de page */
.foot-slogan { font-family: 'Marcellus', Georgia, serif; font-style: italic; font-size: 1.05rem; color: var(--gold); margin: 2px 0 0; }
.who-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
