/* =========================================================================
   Thierry CROQUEVIELLE – Peintre en bâtiment
   Feuille de style unique, mobile d'abord. Couleurs modifiables ci-dessous.
   ========================================================================= */
:root {
  --navy: #142B43;
  --navy-deep: #0D1E30;
  --navy-soft: #1E3A57;
  --paper: #F8F7F3;
  --white: #FFFFFF;
  --tint: #EFECE4;
  --slate: #596776;
  --ink: #18222D;
  --line: #E2DED4;
  --ocre: #D99B43;
  --ocre-hover: #E6AC58;
  --ocre-deep: #9A6420;
  --danger: #B3261E;
  --ok: #1D6B45;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 43, 67, .06), 0 8px 24px -12px rgba(20, 43, 67, .22);
  --shadow-lg: 0 2px 4px rgba(13, 30, 48, .08), 0 24px 48px -20px rgba(13, 30, 48, .45);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --header-h: 68px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 64px; /* barre d'actions mobile */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--navy); text-underline-offset: .18em; }
a:hover { color: var(--ocre-deep); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 720; }
h3, .h3 { font-size: 1.22rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--ocre); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ocre); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-sm { width: 1.05em; height: 1.05em; }

/* ----------------------------------------------------------- boutons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.3em;
  font: inherit; font-weight: 680; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--ocre); color: var(--navy); box-shadow: 0 6px 18px -8px rgba(217, 155, 67, .8); }
.btn-accent:hover { background: var(--ocre-hover); color: var(--navy); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { color: var(--white); background: var(--navy); }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ocre-deep); margin-bottom: .9em;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--ocre); }
.eyebrow-light { color: var(--ocre); }

/* ------------------------------------------------------------ en-tête ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 243, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.brand-text span { font-size: .78rem; color: var(--slate); white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-tel { display: none; min-height: 44px; padding: .55em 1.1em; font-size: 1rem; white-space: nowrap; }
.header-cta { display: none; font-weight: 650; font-size: .92rem; color: var(--navy); white-space: nowrap; text-underline-offset: 3px; }
.header-cta:hover { color: var(--ocre-deep); }

.nav-toggle {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy);
  transition: transform .25s, opacity .25s; content: "";
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px; box-shadow: var(--shadow-lg);
  display: none;
}
.nav.is-open { display: block; }
.nav ul { display: grid; }
.nav a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 1px solid var(--line); }
.nav-cta { width: 100%; margin-top: 16px; }
.nav-cta + .nav-cta { margin-top: 10px; }

@media (min-width: 640px) {
  .header-tel { display: inline-flex; }
}
@media (min-width: 1080px) {
  :root { --header-h: 78px; }
  .brand img { width: 54px; height: 54px; }
  .nav-toggle { display: none; }
  .nav { position: static; display: block; background: none; border: 0; padding: 0; box-shadow: none; margin-right: 4px; }
  .nav ul { display: flex; gap: 2px; }
  .nav a:not(.btn) { border: 0; padding: 8px 10px; font-size: .95rem; border-radius: 8px; }
  .nav a:not(.btn):hover { background: var(--tint); }
  .nav-cta { display: none; }
}
@media (min-width: 1240px) {
  .header-cta { display: inline; }
}

/* --------------------------------------------------------------- hero ---- */
/* Montage inspiré de la bannière : intérieur à gauche, extérieur à droite,
   logo au centre, vague bleu nuit soulignée des 4 couleurs des pots de peinture. */
.hero { background: var(--navy); color: #E9EEF3; }
.montage {
  position: relative; overflow: hidden; isolation: isolate;
  height: min(clamp(300px, 42vw, 560px), 60vh);
  min-height: 280px;
  background: var(--navy);
}
.montage-photo { position: absolute; top: 0; bottom: 0; width: 58%; overflow: hidden; }
.montage-photo picture, .montage-photo img { width: 100%; height: 100%; }
.montage-photo img { object-fit: cover; }
.montage-left { left: 0; clip-path: polygon(0 0, 96.5% 0, 75.9% 100%, 0 100%); }
.montage-left img { object-position: 30% 50%; }
.montage-right { right: 0; clip-path: polygon(24.1% 0, 100% 0, 100% 100%, 3.4% 100%); }
.montage-right img { object-position: 60% 35%; }
.montage-split {
  position: absolute; inset: 0; z-index: 1; background: var(--white);
  clip-path: polygon(55.6% 0, 56.4% 0, 44.4% 100%, 43.6% 100%);
}
.montage-logo {
  position: absolute; z-index: 3; left: 50%; top: 44%;
  width: clamp(150px, 27vw, 340px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.montage-logo picture { position: relative; z-index: 2; width: 100%; height: 100%; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 clamp(4px, .6vw, 8px) rgba(255, 255, 255, .85), 0 18px 50px -10px rgba(8, 18, 29, .6); }
.montage-logo img { width: 100%; height: 100%; }
.drop { position: absolute; z-index: 1; border-radius: 50% 50% 50% 0; width: 14%; aspect-ratio: 1; opacity: .95; }
.drop-red { background: #E5392F; left: -8%; top: 18%; transform: rotate(-45deg); }
.drop-blue { background: #1E63D6; right: -6%; top: 6%; width: 10%; transform: rotate(45deg); }
.drop-green { background: #3FA535; left: 2%; bottom: 0; width: 9%; transform: rotate(-135deg); }
.drop-yellow { background: #F5B713; right: -10%; bottom: 14%; transform: rotate(135deg); }
.montage-wave { position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(46px, 8vw, 120px); }
.wave-fill { fill: var(--navy); }
.wave-stripe { fill: none; stroke: url(#peinture); stroke-width: 7; vector-effect: non-scaling-stroke; stroke-linecap: round; }

.hero-band { position: relative; padding: 8px 0 36px; }
.hero-band-inner { display: grid; gap: 20px; }
.hero h1 { color: var(--white); margin-bottom: .2em; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.3rem); }
.hero-towns { color: var(--ocre); font-weight: 650; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); margin-bottom: .8em; }
.lead { font-size: clamp(1.02rem, 1rem + .3vw, 1.15rem); color: #D3DCE5; max-width: 40em; margin-bottom: 0; }
.hero-actions { display: grid; gap: 12px; align-content: start; }
.hero-hours { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: .95rem; color: #BFCAD5; margin: 2px 0 0; }
.hero-hours .icon { color: var(--ocre); }
.hero-services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px;
}
.hero-services a {
  display: flex; align-items: center; gap: 10px; height: 100%;
  padding: 12px; border-radius: 12px; text-decoration: none;
  color: var(--white); font-weight: 650; font-size: .93rem; line-height: 1.25;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  transition: background-color .2s, border-color .2s;
}
.hero-services a:hover { background: rgba(255, 255, 255, .12); border-color: var(--ocre); color: var(--white); }
.hero-services .icon { width: 34px; height: 34px; padding: 6px; border-radius: 10px; color: var(--navy); }
.hero-services li:nth-child(1) .icon { background: #F08A80; }
.hero-services li:nth-child(2) .icon { background: #8DB1F0; }
.hero-services li:nth-child(3) .icon { background: #93CF8C; }
.hero-services li:nth-child(4) .icon { background: #F7CF62; }

@media (min-width: 900px) {
  .hero-band { padding: 0 0 40px; margin-top: clamp(-40px, -2.5vw, -16px); }
  .hero-band-inner { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(28px, 4vw, 56px); align-items: center; }
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.3rem); }
  .lead { max-width: none; }
  /* Encadré d'appel : relie visuellement les boutons au texte au lieu de les laisser flotter */
  .hero-actions {
    padding: 22px; border-radius: 18px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, .6);
  }
  .hero-actions .btn { width: 100%; padding-inline: 1em; }
  .hero-services { grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; }
  .hero-services li + li { border-left: 2px solid #3FA535; }
  .hero-services li:nth-child(3) { border-left-color: #1E63D6; }
  .hero-services li:nth-child(4) { border-left-color: #F5B713; }
  .hero-services li:nth-child(2) { border-left-color: #E5392F; }
  .hero-services a { background: none; border: 0; justify-content: center; padding: 6px 18px; font-size: 1rem; }
  .hero-services a:hover { background: none; text-decoration: underline; text-decoration-color: var(--ocre); }
}

/* Animation d'arrivée (désactivée si l'utilisateur limite les animations) */
@media (prefers-reduced-motion: no-preference) {
  .montage-left { animation: slide-left 1s cubic-bezier(.2, .7, .2, 1) both; }
  .montage-right { animation: slide-right 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
  .montage-photo img { animation: zoom-out 9s ease-out both; }
  .montage-split { animation: split 0.7s ease-out .55s both; }
  .montage-logo { animation: logo-in .9s cubic-bezier(.34, 1.56, .64, 1) .7s both; }
  .drop { animation: drop-pop .5s cubic-bezier(.34, 1.56, .64, 1) both, drop-float 5s ease-in-out 2s infinite alternate; }
  .drop-red { animation-delay: 1.35s, 2s; }
  .drop-blue { animation-delay: 1.45s, 2.4s; }
  .drop-green { animation-delay: 1.55s, 2.8s; }
  .drop-yellow { animation-delay: 1.65s, 3.2s; }
  .wave-stripe { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s ease-in-out .9s forwards; }
  .hero-band-inner > * { animation: fade-up .8s ease-out both; }
  .hero-band-inner > :first-child { animation-delay: 1s; }
  .hero-band-inner > :last-child { animation-delay: 1.15s; }
  .hero-services li { animation: fade-up .6s ease-out both; }
  .hero-services li:nth-child(1) { animation-delay: 1.3s; }
  .hero-services li:nth-child(2) { animation-delay: 1.4s; }
  .hero-services li:nth-child(3) { animation-delay: 1.5s; }
  .hero-services li:nth-child(4) { animation-delay: 1.6s; }
}
@keyframes slide-left { from { transform: translateX(-12%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slide-right { from { transform: translateX(12%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes zoom-out { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes split { from { clip-path: polygon(56% 0, 56% 0, 56% 0, 56% 0); } }
@keyframes logo-in { from { transform: translate(-50%, -50%) scale(.3) rotate(-40deg); opacity: 0; } to { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; } }
@keyframes drop-pop { from { scale: 0; } to { scale: 1; } }
@keyframes drop-float { from { translate: 0 0; } to { translate: 0 -8px; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- réassurance ---- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-list { display: grid; gap: 4px; padding-top: 20px; padding-bottom: 20px; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; }
.trust-list .icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--tint); color: var(--navy); }
.trust-list strong { display: block; color: var(--navy); font-size: 1.02rem; }
.trust-list span { font-size: .95rem; color: var(--slate); }
@media (min-width: 900px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 8px 32px; padding-top: 28px; padding-bottom: 28px; }
}
@media (min-width: 1180px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); gap: 28px; }
}

/* ----------------------------------------------------------- sections ---- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #D3DCE5; }
.section-navy h2 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--slate); margin-bottom: 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } .section-head { margin-bottom: 48px; } }

/* --------------------------------------------------------- prestations ---- */
.services { display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service { padding: 26px 24px 22px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-3px); border-color: #D7CDB9; box-shadow: var(--shadow-lg); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--ocre); margin-bottom: 18px;
}
.service-icon .icon { width: 28px; height: 28px; }
.service p { color: var(--slate); font-size: 1rem; }
.ticks { display: grid; gap: 7px; margin: 0; font-size: .96rem; }
.ticks li { display: flex; gap: .55em; align-items: flex-start; }
.ticks .icon { color: var(--ocre-deep); margin-top: .22em; }
.link-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: .45em; align-self: flex-start;
  font-weight: 700; color: var(--navy); text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid var(--ocre);
}
.link-cta:hover .icon { transform: translateX(3px); }
.link-cta .icon { transition: transform .2s; }

/* ----------------------------------------------------------- galerie ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter {
  font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer;
  min-height: 42px; padding: .4em 1.1em; border-radius: 999px;
  border: 1.5px solid #CFC8B8; background: transparent; color: var(--navy);
}
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.gallery { display: grid; gap: 14px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.field[hidden] { display: none; }
.g-item[hidden] { display: none; }
/* Photo mise en avant (gros chantier) : pleine largeur de la galerie */
.g-item--wide { grid-column: 1 / -1; }
/* Photo entière (4:3, sans recadrage) à gauche, légende à droite */
@media (min-width: 900px) {
  .g-item--wide figure { display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
  .g-item--wide .g-link picture { aspect-ratio: auto; }
  .g-item--wide .g-link img { height: auto; }
  .g-item--wide .g-link:hover img { transform: none; }
  .g-item--wide .g-link figcaption { padding: 28px 32px; }
  .g-item--wide .g-link figcaption strong { font-size: 1.35rem; line-height: 1.25; }
  .g-item--wide .g-link figcaption span { font-size: 1.02rem; margin-top: 10px; }
}
.g-link { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); height: 100%; }
.g-link picture { aspect-ratio: 4 / 3; overflow: hidden; background: #DDD8CC; }
.g-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-link:hover img { transform: scale(1.04); }
.g-link figcaption { padding: 14px 16px 16px; }
.g-link figcaption strong { display: block; color: var(--navy); font-size: 1.02rem; }
.g-link figcaption span { display: block; font-size: .92rem; color: var(--slate); line-height: 1.45; margin-top: 2px; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8, 18, 29, .92); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 12px 24px; }
.lightbox figure { max-width: min(1200px, 100%); display: grid; gap: 12px; justify-items: center; }
.lightbox img { max-height: calc(100vh - 170px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: #E9EEF3; text-align: center; max-width: 60ch; }
.lightbox figcaption strong { display: block; }
.lightbox figcaption span { font-size: .95rem; color: #BFCAD5; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(13, 30, 48, .7);
  color: var(--white); font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lb-btn:hover { background: var(--ocre); color: var(--navy); }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ méthode ---- */
.steps { display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.steps p { color: var(--slate); margin: 0; font-size: 1rem; }
.steps h3 { margin-bottom: .35em; }
.step-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--ocre-deep); background: #F6EAD8; border-radius: 8px; padding: 2px 9px; margin-bottom: 12px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .steps li::after { content: ""; position: absolute; top: 36px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--ocre); border-right: 2px solid var(--ocre); transform: rotate(45deg); }
  .steps li:last-child::after { display: none; }
}

/* --------------------------------------------------------------- zone ---- */
.zone { display: grid; gap: 32px; align-items: start; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 22px; }
.towns li {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .5em 1em; border-radius: 999px; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); color: var(--white);
}
.towns .icon { color: var(--ocre); }
.zone-note { color: #BFCAD5; font-size: .98rem; }
.zone-card { background: var(--navy-soft); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; }
.zone-card-title { display: flex; align-items: center; gap: .5em; font-weight: 700; color: var(--white); }
.zone-card-title .icon { color: var(--ocre); }
.zone-card strong { color: var(--white); }
@media (min-width: 900px) { .zone { grid-template-columns: 1.4fr 1fr; gap: 56px; } }

/* ---------------------------------------------------------------- avis ---- */
.reviews { display: grid; gap: 16px; margin-bottom: 24px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { padding: 24px; }
.review blockquote { margin: 0 0 12px; }
.review figcaption { font-weight: 700; color: var(--navy); }
.review figcaption span { font-weight: 400; color: var(--slate); }

/* ----------------------------------------------------------------- FAQ ---- */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.06rem; }
.faq-sign { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--tint); }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s; }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0); }
.faq-item[open] summary { padding-bottom: 6px; }
.faq-body { padding: 0 20px 18px; color: var(--slate); }
.faq-body p { margin: 0; }

/* -------------------------------------------------------- contact/devis ---- */
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 380px 1fr; gap: 40px; } .contact-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card { background: var(--navy); color: #D3DCE5; border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow-lg); }
.contact-card h2 { color: var(--white); }
.contact-phone {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  margin: 18px 0 22px; padding: 14px 16px; border-radius: 14px;
  background: var(--ocre); color: var(--navy); text-decoration: none;
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: .01em;
}
.contact-phone:hover { background: var(--ocre-hover); color: var(--navy); }
.contact-list { display: grid; gap: 14px; margin-bottom: 18px; }
.contact-list li { display: flex; gap: .7em; align-items: flex-start; font-size: .98rem; }
.contact-list .icon { color: var(--ocre); margin-top: .15em; }
.contact-small { font-size: .9rem; color: #A9B6C3; margin: 0; }

.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px 18px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-wrap { padding: 36px 34px; } }
.form-head p:last-child { color: var(--slate); }
.form { display: grid; gap: 4px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field-cp { max-width: none; } }
@media (min-width: 640px) { .field-row:has(.field-cp) { grid-template-columns: 1fr 200px; } }
label, .label { font-weight: 650; color: var(--navy); font-size: .98rem; }
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--slate); font-size: .9em; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #FCFBF8; border: 1.5px solid #CEC8BA; border-radius: 10px;
  padding: .72em .85em; min-height: 50px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(217, 155, 67, .35); }
[aria-invalid="true"] { border-color: var(--danger) !important; background: #FFF7F6; }
.input-suffix { position: relative; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--slate); pointer-events: none; }
.input-suffix input { padding-right: 3em; }
.hint { font-size: .88rem; color: var(--slate); margin: 0; }
.hint-row { margin: -6px 0 14px; }
.error { font-size: .9rem; color: var(--danger); font-weight: 600; margin: 0; }
.error:empty { display: none; }

.file-drop {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 74px; padding: 14px; border: 2px dashed #C9C1AF; border-radius: 12px;
  background: #FBF8F2; cursor: pointer; font-weight: 400; color: var(--slate);
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--navy); background: var(--white); }
.file-drop strong { color: var(--navy); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-list { display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; }
.file-list img { width: 52px; height: 52px; object-fit: cover; border-radius: 7px; }
.file-list .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list button { font: inherit; font-size: .88rem; border: 0; background: var(--tint); color: var(--navy); border-radius: 8px; padding: 8px 10px; cursor: pointer; min-height: 40px; }

.choice { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.choice legend { padding: 0; margin-bottom: 6px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-opt { position: relative; cursor: pointer; font-weight: 650; }
.choice-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-opt span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 8px 12px; border-radius: 10px;
  border: 1.5px solid #CEC8BA; background: #FCFBF8; color: var(--navy);
  transition: background-color .2s, border-color .2s, color .2s;
}
.choice-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice-opt input:focus-visible + span { outline: 3px solid var(--ocre); outline-offset: 2px; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field-check input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; color: var(--ink); font-size: .95rem; }
.field-check .error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 4px 0 16px; min-height: 65px; }

.form-notice { background: #FFF6E8; border: 1px solid #EBC98F; color: #5B3C10; border-radius: 12px; padding: 14px 16px; font-size: .96rem; }
.form-notice a { color: inherit; font-weight: 700; }
.form-status { margin-top: 14px; border-radius: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #E8F4EC; color: var(--ok); border: 1px solid #A8D4B9; padding: 16px; }
.form-status.is-error { background: #FCECEA; color: var(--danger); border: 1px solid #EDB4AE; padding: 16px; }
.form-status.is-pending { background: var(--tint); color: var(--navy); padding: 16px; }
.form-status a { color: inherit; }

/* -------------------------------------------------------------- légal ---- */
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal ul:not(.legal-list) { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-list { display: grid; gap: 6px; margin-bottom: 1em; }
.legal-date { margin-top: 2.5em; color: var(--slate); font-size: .92rem; }
mark.todo { background: #FFE9C2; color: #6B4200; padding: 1px 5px; border-radius: 4px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.center-cta { justify-content: center; }

/* ------------------------------------------------------------- footer ---- */
.site-footer { background: var(--navy-deep); color: #AEBBC8; font-size: .95rem; padding-top: 52px; }
.site-footer a { color: #E9EEF3; }
.site-footer a:hover { color: var(--ocre); }
.footer-grid { display: grid; gap: 28px; padding-bottom: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 750; color: var(--white); margin-bottom: .4em; }
.footer-title { font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: .8em; }
.footer-tel { display: inline-flex; gap: .45em; align-items: center; font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.footer-tel .icon { color: var(--ocre); }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 22px; display: grid; gap: 4px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: 1fr auto; } }

/* ----------------------------------------------------- barre mobile ---- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(13, 30, 48, .97); box-shadow: 0 -6px 20px rgba(0, 0, 0, .18);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.mobile-bar-call { background: var(--ocre); color: var(--navy); }
.mobile-bar-quote { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .35); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ----------------------------------------------------- mouvements ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .hero-visual, .form-wrap, .lightbox { display: none !important; }
  body { padding: 0; background: #fff; }
}
