:root {
  --blue: #2a3cd6;
  --blue-700: #1f2db0;
  --blue-50: #f2f4ff;
  --blue-100: #e7eafd;
  --ink: #14162b;
  --text: #22253a;
  --muted: #5d6175;
  --line: #e4e6ef;
  --paper: #ffffff;
  --soft: #f7f7fa;
  --radius: 14px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .45em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.35rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.tel { white-space: nowrap; font-variant-numeric: tabular-nums; }
.todo, .todo-li { background: #fff1a8; color: #5c4600; padding: 1px 6px; border-radius: 3px; font-size: .92em; font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Bandeau maquette */
.demo-banner { background: #ffd23f; color: #3d2e00; text-align: center; font-size: .85rem; font-weight: 800; padding: 7px 16px; line-height: 1.35; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--white { background: #fff; color: var(--blue); }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.06rem; }
@media (hover: hover) {
  .btn--primary:hover { background: var(--blue-700); }
  .btn--outline:hover { background: var(--ink); color: #fff; }
  .btn--white:hover { background: var(--blue-100); }
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; color: var(--ink); }
.logo__mark { width: 40px; height: 40px; }
.logo span { font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; }
.logo em { font-style: normal; color: var(--blue); margin-left: .25em; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
@media (hover: hover) { .nav a:hover { color: var(--ink); border-color: var(--blue); } }

/* Hero */
.hero { overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 80px 96px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.kicker::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--blue); }
.stroke { position: relative; z-index: 0; display: inline-block; white-space: nowrap; color: #fff; padding: 0 .12em; }
.stroke::before { content: ""; position: absolute; z-index: -1; left: -.04em; right: -.04em; top: .1em; bottom: .02em; background: var(--blue); border-radius: .14em .3em .18em .34em; transform: rotate(-1.2deg); }
.hero .lead { font-size: 1.18rem; max-width: 33em; }
.hero__owner { font-weight: 600; color: var(--ink); font-size: .98rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__visual { position: relative; }
.rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .18s; }
.rating__stars { color: #f5b301; font-size: 1.3rem; letter-spacing: 2px; }
.rating strong { display: block; font-size: 1rem; color: var(--ink); }
.rating small { color: var(--muted); font-size: .85rem; }
@media (hover: hover) { .rating:hover { border-color: var(--blue); } }

.chip { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 10px; font-weight: 700; font-size: .92rem; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(20, 22, 43, .25); }
.chip span { width: 28px; height: 28px; border-radius: 7px; background: var(--blue); }
.chip--hero { position: absolute; left: -22px; bottom: 34px; }

/* Emplacements photo */
.ph { margin: 0; display: grid; place-items: center; text-align: center; padding: 22px; border: 2px dashed #c5cae0; border-radius: var(--radius); background: repeating-linear-gradient(135deg, #f1f2f8 0 14px, #f8f9fc 14px 28px); color: var(--muted); font-size: .95rem; line-height: 1.45; }
.ph strong { display: block; margin: 0 auto 6px; width: fit-content; background: #fff1a8; color: #5c4600; padding: 2px 8px; border-radius: 3px; font-size: .85rem; letter-spacing: .02em; }
.ph--hero { min-height: 500px; border-radius: 22px 22px 22px 120px; border-color: #b6bdf4; background: repeating-linear-gradient(135deg, var(--blue-50) 0 14px, #fafbff 14px 28px); }
.ph--tile { aspect-ratio: 4 / 3; }

/* Sections */
.section { padding-block: 100px; }
.section--soft { background: var(--soft); }
.section--tint { background: var(--blue-50); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.eyebrow { font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.service__swatch { height: 120px; background: var(--blue); display: flex; align-items: flex-end; padding: 16px 24px; }
.service--alt .service__swatch { background: var(--blue-100); }
.service__swatch span { font-family: var(--display); font-weight: 800; font-size: 1rem; color: #fff; letter-spacing: .06em; }
.service--alt .service__swatch span { color: var(--blue); }
.service__body { padding: 28px 28px 30px; }
.service__body p { color: var(--muted); }
.service__todo { margin: 0; }
@media (hover: hover) { .service:hover { border-color: #c5cae0; box-shadow: 0 18px 40px -24px rgba(20, 22, 43, .3); } }
.services__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted); }

/* Qualités : nuancier */
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.palette__chip { background: #fff; border-radius: var(--radius); padding: 10px 10px 20px; box-shadow: 0 1px 0 var(--line), 0 10px 26px -18px rgba(20, 22, 43, .3); }
.palette__color { height: 110px; border-radius: 9px; background: var(--shade); margin-bottom: 18px; }
.palette__chip h3 { font-size: 1.15rem; padding: 0 10px; margin-bottom: .35em; }
.palette__chip p { font-size: .94rem; color: var(--muted); padding: 0 10px; margin: 0; }

/* Méthode */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: step; border-top: 3px solid var(--line); padding: 26px 4px 0 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue); font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin-bottom: 16px; }
.steps li:last-child { border-top-color: var(--blue); }
.steps li:last-child::before { background: var(--blue); color: #fff; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Réalisations */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery .ph:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Avis */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: stretch; }
.score { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 32px 28px; display: grid; align-content: center; justify-items: start; gap: 6px; }
.score__num { font-family: var(--display); font-weight: 800; font-size: 4.4rem; line-height: 1; letter-spacing: -.03em; }
.score__num span { font-size: 1.7rem; color: #c9cffa; }
.score__stars { color: #ffd23f; font-size: 1.5rem; letter-spacing: 3px; }
.score p { color: #dde1fd; margin: 0 0 14px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-ph { border: 2px dashed #c5cae0; border-radius: var(--radius); padding: 22px; background: #fff; color: var(--muted); font-size: .95rem; }
.quote-ph strong { display: block; width: fit-content; max-width: 100%; background: #fff1a8; color: #5c4600; padding: 1px 6px; border-radius: 3px; margin-bottom: 8px; }

/* Zone */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.towns li { padding: 10px 16px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .95rem; border-radius: 999px; }
.towns li.main { background: var(--blue); color: #fff; border-color: var(--blue); }
.towns li.todo-li { font-size: .9rem; border-color: #f0dc7a; }
.note { font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.contact__box { padding: 52px 48px; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; padding: 15px 0; border-top: 1px solid var(--line); }
.contact__row > svg { width: 22px; height: 22px; flex: none; stroke: var(--blue); margin-top: 4px; }
.contact__row span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact__row p, .contact__row a { margin: 0; font-weight: 600; text-decoration: none; color: var(--ink); }
.contact__row p.todo { color: #5c4600; width: fit-content; }
.contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.checklist { margin: 0 0 24px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 10px; padding: 5px 0; }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; margin-top: .55em; background: var(--blue); }

.map { min-height: 460px; background: var(--blue-50); display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; }
.map__consent { display: grid; place-items: center; align-content: center; gap: 12px; padding: 28px; text-align: center; color: var(--muted); }
.map__consent > svg { width: 40px; height: 40px; stroke: var(--blue); }
.map__consent p { margin: 0; color: var(--ink); }
.map__consent small { max-width: 28em; }
.map__consent a { font-weight: 700; color: var(--blue); }

/* Pied de page */
.footer { background: var(--ink); color: #a7abbf; font-size: .92rem; padding: 40px 0 44px; }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: #fff; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.01em; }
.footer__right { text-align: right; }

/* Barre d'appel mobile */
.callbar { display: none; }

/* Mentions légales */
.legal { width: min(820px, 100% - 32px); margin: 0 auto; padding: 64px 0 88px; }
.legal h1 { font-size: clamp(2.3rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal a { color: var(--blue); }

.show-sm { display: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .hero .container { grid-template-columns: 1fr; padding-block: 56px 72px; gap: 40px; }
  .ph--hero { min-height: 300px; border-radius: 18px 18px 18px 80px; }
  .chip--hero { left: 16px; bottom: -18px; }
  .palette { grid-template-columns: repeat(3, 1fr); }
  .quotes { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .reviews, .zone, .contact { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .section { padding-block: 68px; }
  .section__head { margin-bottom: 34px; }
  .header .container { min-height: 64px; gap: 12px; }
  .header__call .tel { display: none; }
  .header__call { padding: 10px 14px; }
  .services, .quotes, .steps, .gallery { grid-template-columns: 1fr; }
  .palette { grid-template-columns: 1fr 1fr; }
  .palette__color { height: 72px; }
  .gallery .ph:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .service__swatch { height: 80px; }
  .service__body { padding: 22px 20px 24px; }
  .hero__ctas .btn, .rating { width: 100%; }
  .contact { border-radius: var(--radius); }
  .contact__box { padding: 36px 20px; }
  .footer__right { text-align: left; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .callbar { display: grid; grid-template-columns: 1fr; 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(255, 255, 255, .97); border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 50px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (max-width: 640px) {
  .palette { grid-template-columns: 1fr; gap: 12px; }
  .palette__chip { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: start; padding: 10px; }
  .palette__color { grid-row: span 2; height: 100%; min-height: 64px; margin: 0; }
  .palette__chip h3 { padding: 4px 0 0; }
  .palette__chip p { padding: 0 0 4px; }
}
