/* ==========================================================================
   Multi Color Peinture — feuille de style principale
   Palette issue du logo : marine, rouge, jaune, vert, bleu
   ========================================================================== */
:root {
  --navy: #16355c;
  --navy-dark: #0f2745;
  --red: #e63329;
  --yellow: #f5a31b;
  --green: #43a938;
  --blue: #1f6fce;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --line: #e4eaf2;
  --radius: 16px;
  --shadow: 0 6px 30px rgba(22, 53, 92, 0.10);
  --shadow-sm: 0 2px 10px rgba(22, 53, 92, 0.07);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* --- Barre multicolore signature (reprend les couleurs du pinceau du logo) --- */
.rainbow-bar {
  height: 5px;
  background: linear-gradient(90deg,
    var(--red) 0 25%, var(--yellow) 25% 50%,
    var(--green) 50% 75%, var(--blue) 75% 100%);
}

/* ==========================================================================
   Boutons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 8px 20px rgba(230, 51, 41, 0.30);
}
.btn-primary:hover { background: #cf2a21; box-shadow: 0 10px 24px rgba(230, 51, 41, 0.38); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-white:hover { background: #f1f5fb; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--navy); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 54px; width: 54px; object-fit: cover; border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { color: var(--navy); font-size: 17px; font-weight: 800; letter-spacing: .2px; }
.brand-text small { color: var(--muted); font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a { font-weight: 600; font-size: 15px; color: var(--ink); position: relative; }
.main-nav > a:not(.btn):not(.nav-phone)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
  transition: width .25s ease;
}
.main-nav > a:not(.btn):not(.nav-phone):hover::after { width: 100%; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-weight: 700; }
.nav-cta { padding: 11px 22px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 3px; transition: .25s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: 70px 0 90px; overflow: hidden; background:
  radial-gradient(1000px 500px at 85% -10%, rgba(31,111,206,.08), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgba(245,163,27,.09), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.surtitle {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-red { background: var(--red); } .dot-yellow { background: var(--yellow); }
.dot-green { background: var(--green); } .dot-blue { background: var(--blue); }

.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.12; font-weight: 800;
  color: var(--navy); letter-spacing: -1px; margin-bottom: 20px;
}
.hero-subtitle { font-size: 18px; color: var(--muted); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }

.hero-visual { position: relative; }
.hero-img-wrap { position: relative; border-radius: 24px; }
.hero-img {
  width: 100%; aspect-ratio: 7/5.4; object-fit: cover; border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-img-wrap::before {
  content: ""; position: absolute; inset: -14px -14px auto auto;
  width: 60%; height: 60%; border-radius: 28px; z-index: -1;
  background: linear-gradient(135deg, var(--red), var(--yellow), var(--green), var(--blue));
  opacity: .9;
}
.paint-drips { position: absolute; left: 28px; top: -5px; display: flex; gap: 14px; }
.drip { width: 12px; border-radius: 0 0 8px 8px; animation: dripDown 3.2s ease-in-out infinite; }
.drip-red { background: var(--red); height: 42px; animation-delay: 0s; }
.drip-yellow { background: var(--yellow); height: 62px; animation-delay: .4s; }
.drip-green { background: var(--green); height: 34px; animation-delay: .8s; }
.drip-blue { background: var(--blue); height: 52px; animation-delay: 1.2s; }
@keyframes dripDown { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.25); } }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); font-weight: 800; letter-spacing: -.5px; margin-bottom: 14px; }
.section-intro { color: var(--muted); font-size: 17px; }

/* Animation d'apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .drip { animation: none; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  border-top: 5px solid var(--navy);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-red { border-top-color: var(--red); }
.card-yellow { border-top-color: var(--yellow); }
.card-blue { border-top-color: var(--blue); }
.card-green { border-top-color: var(--green); }
.service-img img { aspect-ratio: 16/9; width: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-img { overflow: hidden; }
.service-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin: -53px 0 16px; position: relative; box-shadow: var(--shadow-sm);
}
.icon-red { background: var(--red); color: #fff; }
.icon-yellow { background: var(--yellow); color: #fff; }
.icon-green { background: var(--green); color: #fff; }
.icon-blue { background: var(--blue); color: #fff; }
.icon-navy { background: var(--navy); color: #fff; }
.service-body h3 { color: var(--navy); font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.service-body p { color: var(--muted); font-size: 15.5px; flex: 1; }
.service-link { margin-top: 18px; font-weight: 700; color: var(--navy); font-size: 15px; }
.service-link span { transition: transform .2s ease; display: inline-block; }
.service-link:hover span { transform: translateX(4px); }
.service-link:hover { color: var(--red); }

/* ==========================================================================
   À propos
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-visual > img { border-radius: 24px; aspect-ratio: 4/4.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-stats {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px; background: #fff; padding: 18px 24px;
  border-radius: 18px; box-shadow: var(--shadow); white-space: nowrap;
}
.stat { text-align: center; padding: 0 12px; }
.stat strong { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.stat-red strong { color: var(--red); } .stat-yellow strong { color: var(--yellow); } .stat-blue strong { color: var(--blue); }
.about-content h2 { font-size: clamp(28px, 3.2vw, 38px); color: var(--navy); font-weight: 800; letter-spacing: -.5px; margin-bottom: 16px; }
.about-text { color: var(--muted); font-size: 16.5px; margin-bottom: 24px; }
.check-list { display: grid; gap: 12px; margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; }

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-family: var(--font); font-weight: 700; font-size: 14px;
  color: var(--muted); cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(15, 39, 69, .85));
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(8px); transition: .3s ease;
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }
.gallery-cat { color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.gallery-title { color: #fff; font-weight: 700; font-size: 16px; }
.gallery-item.hidden { display: none; }

/* ==========================================================================
   Avis
   ========================================================================== */
.google-rating {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  background: #fff; padding: 12px 22px; border-radius: 999px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.g-logo { font-weight: 800; font-size: 19px; letter-spacing: -.5px; }
.g-stars { display: inline-flex; }
.google-rating strong { color: var(--navy); font-size: 17px; }
.g-count { color: var(--muted); font-size: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
}
.review-card:nth-child(2) .review-avatar { background: linear-gradient(135deg, var(--red), #b02016); }
.review-card:nth-child(3) .review-avatar { background: linear-gradient(135deg, var(--green), #2c7d24); }
.review-head cite { display: block; font-style: normal; font-weight: 700; color: var(--navy); font-size: 15px; }
.review-date { font-size: 12.5px; color: var(--muted); }
.review-stars { margin-left: auto; display: inline-flex; }
.review-card p { color: var(--muted); font-size: 15px; }
.reviews-more { text-align: center; margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Avis longs : repli propre avec bouton « Lire la suite » */
.review-text.clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.read-more-btn {
  background: none; border: 0; padding: 8px 0 0; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--blue);
}
.read-more-btn:hover { text-decoration: underline; }

/* ==========================================================================
   Bandeau CTA
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, #1d4677);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--red) 0 25%, var(--yellow) 25% 50%, var(--green) 50% 75%, var(--blue) 75% 100%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  padding: 64px 0; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: 16.5px; max-width: 60ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.contact-card strong { color: var(--navy); font-size: 16px; }
.contact-card span { color: var(--muted); font-size: 14.5px; }
.contact-card small { color: var(--muted); font-size: 12.5px; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 44px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 19px; }
.footer-slogan { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.footer-col p { font-size: 14.5px; }
.footer-title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.footer-list { display: grid; gap: 9px; font-size: 14.5px; }
.footer-list a:hover { color: #fff; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: rgba(255,255,255,.7); } .footer-social a:hover { color: #fff; }
.footer-cta-col .btn { margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; }

/* ==========================================================================
   Page devis
   ========================================================================== */
.devis-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy) 65%, #1d4677);
  color: #fff; text-align: center; padding: 60px 0;
}
.devis-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 12px; }
.devis-hero p { color: rgba(255,255,255,.8); max-width: 62ch; margin: 0 auto; font-size: 16.5px; }
.devis-section { padding: 56px 0 90px; background: var(--bg-alt); }
.devis-container { max-width: 860px; }

.devis-progress { margin-bottom: 34px; }
.progress-track { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.progress-fill {
  height: 100%; width: 25%; border-radius: 6px; transition: width .35s ease;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue));
}
.progress-steps { display: flex; justify-content: space-between; }
.progress-steps li {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted);
}
.progress-steps li span {
  width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--line); color: var(--muted); font-size: 13px; transition: .25s;
}
.progress-steps li.active { color: var(--navy); }
.progress-steps li.active span { background: var(--navy); color: #fff; }
.progress-steps li.done span { background: var(--green); color: #fff; }

.form-step {
  display: none; border: 0; background: #fff; border-radius: 20px;
  padding: 38px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.form-step.active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.form-step legend {
  float: left; width: 100%; font-size: 22px; font-weight: 800; color: var(--navy);
  margin-bottom: 26px; letter-spacing: -.3px;
}
.form-step legend small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 4px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; clear: both; }
.choice-card {
  position: relative; border: 2px solid var(--line); border-radius: 16px; padding: 24px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  cursor: pointer; transition: .2s; background: #fff;
}
.choice-card:hover { border-color: var(--blue); }
.choice-card input { position: absolute; opacity: 0; }
.choice-card .choice-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.choice-card strong { color: var(--navy); font-size: 16.5px; }
.choice-card small { color: var(--muted); font-size: 13.5px; }
.choice-card:has(input:checked) {
  border-color: var(--navy); background: #f3f7fd;
  box-shadow: 0 0 0 3px rgba(22, 53, 92, .12);
}
.choice-card:has(input:checked)::after {
  content: "✓"; position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.form-row { margin-bottom: 22px; clear: both; }
.form-label { display: block; font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.form-label small { font-weight: 500; color: var(--muted); }
.form-label em { color: var(--red); font-style: normal; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; clear: both; }
.form-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 206, .13); }
.form-input.invalid { border-color: var(--red); }
textarea.form-input { resize: vertical; }

.pill-group { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; color: var(--muted);
  transition: .18s; background: #fff;
}
.pill:hover span { border-color: var(--blue); color: var(--blue); }
.pill:has(input:checked) span { background: var(--navy); border-color: var(--navy); color: #fff; }

.file-drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  border: 2px dashed var(--line); border-radius: 14px; padding: 28px;
  color: var(--muted); cursor: pointer; transition: .2s; text-align: center; font-weight: 600; font-size: 14.5px;
}
.file-drop:hover { border-color: var(--blue); color: var(--blue); background: #f6faff; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; }
.consent em { color: var(--red); font-style: normal; }

.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; clear: both; }
.step-error {
  margin-top: 16px; background: #fdecea; color: #b02016; border: 1px solid #f5c6c2;
  padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px;
}
.form-error-banner {
  background: #fdecea; color: #b02016; border: 1px solid #f5c6c2;
  padding: 14px 20px; border-radius: 12px; font-weight: 600; margin-bottom: 24px;
}
.form-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
/* Champ piège anti-robots : hors écran, inaccessible aux visiteurs */
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

/* Sélecteur d'étoiles (page « Laisser un avis ») */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 38px; line-height: 1; color: #d7dfe9; cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover { transform: scale(1.15); }
.star-input label:hover, .star-input label:hover ~ label,
.star-input input:checked ~ label { color: #FBBC05; }

/* ==========================================================================
   Pages merci / légal
   ========================================================================== */
.thanks-section { background: var(--bg-alt); min-height: 55vh; display: flex; align-items: center; }
.thanks-box {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  max-width: 620px; text-align: center; padding: 60px 40px;
}
.thanks-icon {
  width: 84px; height: 84px; border-radius: 50%; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(67, 169, 56, .35);
}
.thanks-box h1 { color: var(--navy); font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.thanks-box p { color: var(--muted); margin-bottom: 28px; }
.thanks-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.legal-content { max-width: 760px; }
.legal-content h1 { color: var(--navy); font-size: 34px; font-weight: 800; margin-bottom: 30px; }
.legal-content h2 { color: var(--navy); font-size: 20px; font-weight: 800; margin: 28px 0 10px; }
.legal-content p { color: var(--muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
}

@media (max-width: 820px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 44px 0 60px; }
  .about-stats { position: static; transform: none; margin-top: 18px; justify-content: center; flex-wrap: wrap; white-space: normal; }
  .section { padding: 64px 0; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 14px 24px; }
  .main-nav > a:not(.btn):not(.nav-phone)::after { display: none; }
  .nav-cta { margin: 10px 24px; }
  .nav-phone { display: inline-flex; padding: 14px 24px; }

  .progress-steps li { font-size: 0; gap: 0; }
  .progress-steps li span { font-size: 13px; }
  .form-step { padding: 26px 20px; }
  .form-2col { grid-template-columns: 1fr; gap: 0; }
  .choice-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .services-grid, .reviews-grid, .gallery-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .btn-lg { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
