/* ==========================================================================
   C for Cleaning : feuille de style
   Reprend le style du site Vercel : fond bleu nuit, titres Barlow Condensed,
   texte Barlow Semi Condensed, orange pour les actions, bleu clair en accent.
   ========================================================================== */

:root {
  /* Couleurs du site Vercel */
  --black: #0b1628;
  --navy: #1B3A6B;
  --blue: #29ABE2;
  --orange: #F15A29;
  --white: #f5f5f0;
  --gray: #122040;
  --muted: #8aa0c0;
  --border: #1e3358;

  /* Fonds des sections foncées : deux sections voisines n'ont jamais le même fond */
  --bg: #0b1628;                  /* fond normal (= --black) */
  --bg-2: #112448;                /* fond teinté (orange #F15A29 dessus : 4,5:1) */

  /* Sur fond blanc (Services, formulaire) */
  --paper: #ffffff;
  --paper-soft: #f0f6fc;
  --ink: #0b1628;
  --ink-muted: #4a6a90;
  --line-light: #cce0f0;
  --line-input: #6e88a8;          /* bord des champs : contraste 3:1 sur blanc */
  --orange-ink: #b83c14;          /* orange lisible en petit sur blanc et sur bleu très pâle */
  --orange-light: #ff8f63;        /* orange lisible en petit sur le bleu de l'estimation (contraste 5:1) */
  --blue-ink: #1b7db0;            /* bleu lisible sur fond clair */
  --error: #b3261e;

  /* Barlow Condensed 800 : h1, titres de section, nom de marque. Barlow Semi Condensed 400, 500, 700 : tout le reste */
  --header-h: 69px;               /* hauteur de l'en-tête fixe, mise à jour par js/main.js */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow Semi Condensed", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 400;
  background: var(--bg);
  color: var(--white);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.services-outer :focus-visible,
.details-outer :focus-visible,
.book-card :focus-visible,
.dialog :focus-visible { outline-color: var(--navy); }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--black);
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Planche d'icônes SVG : présente dans la page, jamais affichée */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Icônes emoji posées par le CSS (data-icon) */
[data-icon]::before { content: attr(data-icon); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 40px;
  background: rgba(11, 22, 40, 0.93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav .logo { width: auto; height: 48px; }

.nav-brand-name,
.footer-name {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.n-white { color: var(--white); }
.n-orange { color: var(--orange); }
.n-blue { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a + a { margin-left: 8px; }
.nav-links a + a::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  border-radius: 50%;
  background: var(--border);
}
.nav-links a:hover { color: var(--white); background: rgba(255, 255, 255, 0.06); }

.nav-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.nav-links + .nav-actions { margin-left: 0; }

.lang-switch { display: flex; align-items: center; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.lang-switch__btn + .lang-switch__btn { position: relative; margin-left: 2px; padding-left: 9px; }
.lang-switch__btn + .lang-switch__btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 14px;
  margin-top: -7px;
  border-left: 1px solid var(--border);
}
.lang-switch__btn:hover { color: var(--white); }
.lang-switch__btn[aria-pressed="true"] {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
}

.nav-cta {
  display: inline-block;
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-right: -10px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Barre mobile : un seul bouton de langue, zone de clic de 44 × 44 px */
.lang-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  transition: color 0.2s;
}
.lang-toggle:hover { color: var(--blue); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: var(--drawer-top, 68px);
  left: 0;
  right: 0;
  z-index: 99;
  max-height: calc(100dvh - var(--drawer-top, 68px));
  overflow-y: auto;
  padding: 20px;
  background: rgba(11, 22, 40, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  animation: menuIn 0.3s ease both;
}
.mobile-menu .lang-switch { margin: 0 0 8px 10px; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu__links a:hover { color: var(--white); }
.mobile-menu__contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.mobile-menu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s;
}
.mobile-menu__btn:hover { border-color: var(--blue); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--black);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
body.has-drawer { overflow: hidden; }

/* Sous 1200 px : logo et nom, bouton de langue, menu */
@media (max-width: 1199px) {
  .nav { padding: 10px 20px; }
  .nav-links, .nav-cta, .lang-switch--bar { display: none; }
  .nav-links + .nav-actions { gap: 4px; margin-left: auto; }
  .nav-brand-name { font-size: 17px; }
  .lang-toggle { display: inline-flex; }
  .hamburger { display: flex; }
}

@media (min-width: 1200px) {
  .mobile-menu { display: none !important; }
}

/* 6 liens de 1200 à 1279 px : espacements un peu resserrés pour que le menu tienne, en français aussi */
@media (min-width: 1200px) and (max-width: 1279px) {
  .nav { gap: 12px; padding: 10px 24px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 8px; }
  .nav-links a + a { margin-left: 6px; }
  .nav-links a + a::before { left: -6px; }
  .nav-actions { gap: 10px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 20px 60px;
  overflow: hidden;
  text-align: center;
}
.hero-slides { position: absolute; inset: 0; background: #0f2a55; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  animation: slideshow 12s infinite;
}
.hero-slide--1 { object-position: center 10%; }
.hero-slide--2 { animation-delay: 6s; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(11, 22, 40, 0.45) 0%, rgba(11, 22, 40, 0.75) 100%);
}
.hero-content { position: relative; z-index: 2; }

.badge {
  display: inline-block;
  margin-bottom: 32px;
  padding: 6px 16px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: fadeUp 0.6s ease both;
}
.hero h1 {
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: clamp(60px, 11vw, 130px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 0.95;
  text-transform: uppercase;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero h1 .accent { color: var(--orange); }
.hero .sub {
  max-width: 480px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero-phone {
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  letter-spacing: 1px;
  animation: fadeUp 0.7s 0.4s ease both;
}
.hero-phone a { color: inherit; text-decoration: none; }
.hero-phone a:hover { color: var(--white); text-decoration: underline; }
.hero-phone strong { color: var(--white); font-weight: 500; }
.hero-phone strong::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 10px 3px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); opacity: 0.9; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-input); }
.btn-small { min-height: 44px; padding: 11px 22px; font-size: 13px; }
.btn-phone::before { content: "📞"; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* ---------- Bandeau défilant ---------- */

.ticker-wrap {
  overflow: hidden;
  padding: 14px 0;
  background: var(--gray);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ticker {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker span {
  padding-right: 60px;
  color: #c8d8ee;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker span::before { content: "✔"; margin-right: 10px; color: var(--orange); }

/* ---------- Sections ---------- */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px;
}
.label {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.intro-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}
.intro-text p + p { margin-top: 1.9em; }

/* Engagements chiffrés : 4 colonnes, 2 × 2 sur tablette, 1 colonne sur mobile */
.promises {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.promise {
  padding: 28px 24px 30px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--gray);
}
.promise__num {
  margin-bottom: 16px;
  color: var(--orange);
  font-family: var(--body);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 0.9;
  white-space: nowrap;
}
.promise__title { margin-bottom: 10px; color: var(--white); font-size: 17px; font-weight: 700; line-height: 1.35; }
.promise__text { color: var(--muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 999px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Pastilles sous les engagements */
.why-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.why-tags li {
  padding: 7px 14px;
  border: 1px solid var(--blue);
  border-radius: 100px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.3;
}

/* Ligne « assurés » et boutons de fin de section */
.insured {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.insured__icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.insured--footer { justify-content: center; margin-top: 12px; font-size: 13px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- « After cleaning » : photos par client et avis Google ---------- */

/* Un groupe par client : la légende, puis les photos au format 4:3.
   3 par ligne sur ordinateur, 2 sur tablette ; sous 640 px, la rangée défile au doigt (la photo suivante dépasse). */
.work-groups { display: grid; gap: 40px; margin-top: 36px; }
.work-group__caption { margin-bottom: 14px; color: var(--white); font-size: 15px; font-weight: 500; letter-spacing: 0.3px; }
.work-group__part { white-space: nowrap; }
.work-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.work-photos:focus-visible { outline-offset: 4px; }
.work-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--gray);
}
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .work-photos[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } } /* 4 photos : une seule rangée */
@media (max-width: 999px) { .work-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .work-groups { gap: 32px; }
  .work-photos {
    display: flex;
    gap: 10px;
    margin: 0 -20px;
    padding: 0 20px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }
  .work-photos::-webkit-scrollbar { display: none; }
  .work-photo { flex: 0 0 84%; scroll-snap-align: start; }
}

.reviews { margin-top: 48px; }
.reviews__title {
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--gray);
}
.review__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.review__stars { color: #F15A29; font-size: 18px; letter-spacing: 2px; line-height: 1; }
.review__source { color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0.5px; }
.review__stars-off { color: var(--border); }
.review__text { color: var(--white); font-size: 17px; line-height: 1.55; }
.review__meta { margin-top: auto; color: var(--muted); font-size: 13px; }
.review__name { color: var(--white); font-weight: 500; }
.reviews-widget { min-width: 0; }
.reviews-google { margin-top: 20px; }
.reviews-grid[hidden] + .reviews-google { margin-top: 0; }

.launch {
  max-width: 720px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.launch__text { color: var(--white); font-size: 17px; line-height: 1.55; }

/* ---------- Services (fond blanc) ---------- */

.services-outer { padding: 100px 20px; background: var(--paper); color: var(--ink); }
.services-inner { max-width: 1100px; margin: 0 auto; }
.services-outer .label { color: var(--orange-ink); }
.services-outer h2 { color: var(--navy); }
.services-hint { margin-top: -10px; color: var(--ink-muted); font-size: 14px; }

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 60px;
}

/* Carte à retourner : les deux faces sont empilées dans la même case de grille,
   la carte prend la hauteur de la face la plus haute */
.flip-card { display: grid; perspective: 1000px; }
.flip-card-inner {
  position: relative;
  display: grid;
  min-height: 400px;
  border-radius: 12px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.flip-card.flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-front,
.flip-back {
  grid-area: 1 / 1;
  border-radius: 12px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-front {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 400px;
  padding: 28px;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s;
}
.flip-front--commercial { background-image: url("../images/service-commercial.jpg"); }
.flip-front--residential { background-image: url("../images/service-residential.jpg"); }
.flip-card:hover .flip-front { border-color: var(--blue); transform: scale(1.01); }
.flip-front-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 22, 40, 0.9) 0%, rgba(11, 22, 40, 0.15) 60%, transparent 100%);
}
.flip-front-content { position: relative; z-index: 2; display: block; }
.flip-tag {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.flip-title {
  display: block;
  color: #fff;
  font-family: var(--body);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
}
.flip-title::before { margin-right: 10px; }
.flip-hint-front {
  display: block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.flip-back {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--paper-soft);
  border: 1px solid var(--line-light);
  color: var(--ink);
  transform: rotateY(180deg);
}
.flip-back h3 {
  margin-bottom: 14px;
  color: var(--blue-ink);
  font-family: var(--body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.flip-back-desc { margin-bottom: 16px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #ddeaf5;
  color: var(--navy);
  font-size: 14px;
}
.service-list li:last-child { border-bottom: 0; }
.service-list li::before { content: "→"; flex-shrink: 0; color: var(--orange-ink); font-size: 12px; }
.flip-back-price {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #e3f0fa;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.flip-back-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}
.flip-hint-back {
  min-height: 44px;
  color: var(--orange-ink);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.flip-hint-back:hover { text-decoration: underline; }

/* Zones desservies */
.areas { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.areas .label { margin-bottom: 10px; }
.areas .label::before { margin-right: 6px; }
.areas-list { color: var(--ink-muted); font-size: 14px; line-height: 2; }

/* ---------- Détail des services (fond blanc) ---------- */

.details-outer { padding: 100px 20px; background: var(--paper); color: var(--ink); }
.details-inner { max-width: 1100px; margin: 0 auto; }
.details-outer .label { color: var(--orange-ink); }
.details-outer h2 { color: var(--navy); }
.details-intro { max-width: 640px; color: var(--ink-muted); font-size: 17px; line-height: 1.55; }

/* Trois niveaux : couleurs reprises par la légende, les titres de groupe et les puces */
.details-legend__item,
.detail-group__title {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.details-legend__item--standard,
.detail-group--standard .detail-group__title { background: #e3f3fb; color: #0e5a80; }
.details-legend__item--deep,
.detail-group--deep .detail-group__title { background: #fde9e1; color: #a2330f; }
.details-legend__item--move,
.detail-group--move .detail-group__title { background: var(--navy); color: #fff; }
.details-legend__item--pro { background: var(--paper); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* Formules : une ligne par formule, un clic ouvre ce qui est couvert */
.formulas { max-width: 820px; margin-top: 24px; border-top: 1px solid var(--line-light); }
.formula { border-bottom: 1px solid var(--line-light); }
.formula__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  min-height: 52px;
  padding: 10px 40px 10px 2px;
  position: relative;
  cursor: pointer;
  list-style: none;
}
.formula__head::-webkit-details-marker { display: none; }
.formula__head::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  color: var(--orange-ink);
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}
.formula[open] > .formula__head::after { transform: translateY(-50%) rotate(45deg); }
.formula__head .details-legend__item { flex: none; }
/* Nom de la formule · accroche, toujours sur une ligne (l'accroche rapetisse un peu sur mobile, voir plus bas) */
.formula__short { min-width: 0; color: var(--ink); font-size: 15px; font-weight: 500; }
.formula__short::before { content: "·"; content: "·" / ""; margin: 0 8px; color: var(--ink-muted); }
@media (max-width: 639px) {
  .formula__head { padding-right: 30px; }
  .formula__head .details-legend__item { padding: 4px 9px; font-size: 11px; }
  /* Jamais sur deux lignes : sous 360 px, la fin de l'accroche peut être coupée par « … » plutôt que de déborder */
  .formula__short { overflow: hidden; text-overflow: ellipsis; font-size: clamp(11.5px, 3.3vw, 15px); }
  .formula__short::before { margin: 0 6px; }
}
.formula__head:hover .formula__short { color: var(--blue-ink); }
.formula__text { max-width: 700px; padding: 0 2px 18px; color: #22344d; font-size: 17px; line-height: 1.55; }
.detail-group--addons .detail-group__title { background: var(--paper-soft); color: var(--navy); box-shadow: inset 0 0 0 1px var(--line-light); }

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.detail-card {
  padding: 22px 20px 24px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--paper);
}
/* En-têtes de même hauteur sur une rangée : le trait sous le titre tombe au même niveau
   même quand un titre passe sur deux lignes (sous-grille, ignorée sans danger par les vieux navigateurs) */
@supports (grid-template-rows: subgrid) {
  .detail-card {
    display: grid;
    grid-row: span 2;
    grid-template-rows: subgrid;
    row-gap: 0;
  }
  /* Carte fermée : seulement l'en-tête, sans la rangée vide du contenu */
  .detail-card:not([open]) { display: block; grid-row: auto; }
}
/* En-tête cliquable (summary) : icône, titre et nombre de tâches, « + » à droite */
.detail-card__head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
  cursor: pointer;
  list-style: none;
}
.detail-card__head::-webkit-details-marker { display: none; }
.detail-card__head::after {
  content: "+";
  content: "+" / "";
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--orange-ink);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.detail-card[open] > .detail-card__head::after { transform: rotate(45deg); }
.detail-card:not([open]) > .detail-card__head { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.detail-card__head:hover .detail-card__title { color: var(--blue-ink); }
.detail-card__icon {
  grid-row: 1 / 3;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 10px;
  background: var(--paper-soft);
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-card__title {
  grid-column: 2;
  align-self: end;
  color: var(--navy);
  font-family: var(--body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.05;
  text-transform: uppercase;
}
.detail-card__count { display: block; grid-column: 2; align-self: start; margin-top: 2px; color: var(--ink-muted); font-size: 12px; }
.detail-group + .detail-group { margin-top: 18px; }
.detail-group__title { margin-bottom: 8px; }
.detail-list li {
  position: relative;
  padding: 4px 0 4px 16px;
  color: #22344d;
  font-size: 14px;
  line-height: 1.45;
}
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.detail-group--standard li::before { background: var(--blue); }
.detail-group--deep li::before { background: var(--orange); }
.detail-group--move li::before { background: var(--navy); }
.detail-group--addons li::before { content: "+"; top: 4px; width: auto; height: auto; color: var(--orange-ink); font-weight: 500; }

.not-offered {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid #f1d3c7;
  border-radius: 12px;
  background: #fff8f5;
}
.not-offered__title {
  color: var(--navy);
  font-family: var(--body);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.not-offered__intro { margin: 4px 0 14px; color: var(--ink-muted); font-size: 14px; }
/* Une colonne sur mobile, deux sur tablette, trois sur ordinateur : chaque élément tient sur une ligne */
.not-offered__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px 24px;
  font-size: 14px;
}
@media (min-width: 640px) { .not-offered__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .not-offered__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.not-offered__list li { display: flex; gap: 10px; color: #22344d; }
.not-offered__list li::before { content: "✕"; flex: none; color: var(--error); font-size: 12px; line-height: 21px; }

@media (max-width: 1050px) { .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .details-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */

/* Fonds alternés, en pleine largeur (la section reste centrée à 1100 px) */
.section--bg,
.section--bg-2 { clip-path: inset(0 -100vmax); }
.section--bg { background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); }
.section--bg-2 { background: var(--bg-2); box-shadow: 0 0 0 100vmax var(--bg-2); }

.faq { max-width: 820px; margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.faq__item { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.faq__q {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  color: var(--orange);
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}
.faq__item[open] .faq__q::after { content: "−"; }
.faq__q:hover { color: var(--blue); }
.faq__a { padding: 0 44px 22px 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.faq__steps { display: grid; gap: 12px; list-style: none; }
.faq__step strong { color: var(--white); font-weight: 500; }

/* ---------- Contact et réservation ---------- */

/* Boutons d'action → formulaire : le haut du bloc titre arrive 16 px sous l'en-tête fixe.
   scroll-margin-top = hauteur de l'en-tête + 16 px, moins ce que le navigateur compte déjà :
   le décalage général des ancres (scroll-padding-top de 88 px) et le haut de la section (100 px, 60 px sur mobile). */
#book { scroll-margin-top: calc(var(--header-h) + 16px - 88px - 100px); }
@media (max-width: 768px) { #book { scroll-margin-top: calc(var(--header-h) + 16px - 88px - 60px); } }

/* Titre, formulaire, puis coordonnées, dans une seule colonne */
.book-wrap { max-width: 760px; margin: 0 auto; }
.contact-intro { margin-bottom: 32px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.contact-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 32px;
  margin-top: 32px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item::before { flex: none; width: 24px; font-size: 20px; text-align: center; }
.contact-item:hover { color: var(--blue); }

.book-card {
  padding: clamp(22px, 4.5vw, 44px);
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(41, 171, 226, 0.25), 0 40px 80px -30px rgba(0, 0, 0, 0.75);
}

/* Formulaire */
.progress { margin-bottom: 28px; }
.progress__text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.progress__name { color: var(--ink-muted); }
/* Barre orange en segments, un par étape (--steps posé par le script) */
.progress__bar { position: relative; height: 8px; margin-top: 14px; overflow: hidden; border-radius: 8px; background: #fde4d9; }
.progress__fill { display: block; width: 25%; height: 100%; border-radius: 8px; background: var(--orange); transition: width 0.3s ease; }
.progress__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--steps, 4) - 4px), var(--paper) calc(100% / var(--steps, 4) - 4px) calc(100% / var(--steps, 4)));
}

.step__title {
  color: var(--navy);
  font-family: var(--body);
  font-size: clamp(40px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
}
.step__title:focus { outline: none; }
.step__note { margin-top: 10px; color: var(--ink-muted); font-size: 14px; }

.field { min-width: 0; margin-top: 28px; padding: 0; border: 0; }
.label-field {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

.input,
.select select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-input);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #6b7d94; opacity: 1; }
.input--area { height: auto; min-height: 110px; padding: 12px 16px; line-height: 1.5; resize: vertical; }
.input:hover, .select select:hover { border-color: var(--navy); }
.input:focus, .select select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.35);
}
.input[aria-invalid="true"], .select select[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }

.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field__error { margin-top: 8px; color: var(--error); font-size: 14px; }
.field__error:empty { display: none; }
.field__note { margin-top: 10px; color: var(--ink-muted); font-size: 13px; line-height: 1.5; }

.grid-fields { display: grid; gap: 0 20px; }
@media (min-width: 640px) {
  .grid-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--full { grid-column: 1 / -1; }
}

.options { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pastilles */
.pill { position: relative; display: inline-flex; max-width: 100%; }
.pill input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-input);
  border-radius: 100px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.3;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pill:hover span { border-color: var(--navy); }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.has-error .pill span { border-color: var(--error); }

/* Cartes de service */
.options--cards { display: grid; gap: 10px; }
@media (min-width: 640px) { .options--cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.option-wrap { position: relative; }
.option-card { position: relative; display: block; height: 100%; }
.option-card__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.option-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 46px 16px 16px;
  border: 1px solid var(--line-input);
  border-radius: 10px;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.option-card__body::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line-input);
  border-radius: 50%;
  background: var(--paper);
}
.option-card:hover .option-card__body { border-color: var(--navy); }
.option-card__input:checked + .option-card__body {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
  background: #fff8f5;
}
.option-card__input:checked + .option-card__body::before {
  border-color: var(--orange);
  background: radial-gradient(circle, var(--orange) 0 4px, var(--paper) 4.5px);
}
.option-card__input:focus-visible + .option-card__body { outline: 2px solid var(--navy); outline-offset: 2px; }
.has-error .option-card__body { border-color: var(--error); }
.option-card__name { font-size: 15px; font-weight: 500; }
.has-tip .option-card__name { padding-left: 32px; }
.option-card__desc { color: var(--ink-muted); font-size: 13px; line-height: 1.45; }
/* Bouton (?) et sa bulle */
.tip {
  position: absolute;
  left: 12px;
  top: 13px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.tip::after { content: ""; position: absolute; inset: -8px; }
.tip:hover,
.tip[aria-expanded="true"] { background: var(--navy); color: #fff; }
.tip__bubble {
  position: absolute;
  left: 8px;
  top: 50px;
  z-index: 5;
  display: none;
  width: min(300px, calc(100% - 16px));
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 12px 30px -10px rgba(11, 22, 40, 0.5);
  pointer-events: none;
}
.tip__bubble::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: var(--navy);
  transform: rotate(45deg);
}
.tip[aria-expanded="true"] + .tip__bubble { display: block; }
@media (hover: hover) {
  .tip:hover + .tip__bubble { display: block; }
}

/* Compteurs (chambres, salles de bain, cuisines) */
.counters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 16px; }
.stepper {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 190px;
  height: 50px;
  border: 1px solid var(--line-input);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.stepper:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.35); }
.has-error .stepper { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.stepper__btn {
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}
.stepper__btn:hover { background: var(--paper-soft); }
.stepper__btn--less { border-radius: 7px 0 0 7px; }
.stepper__btn--more { border-radius: 0 7px 7px 0; }
.stepper__btn--less::before { content: "−"; }
.stepper__btn--more::before { content: "+"; }
.stepper__btn:focus-visible { outline-offset: -3px; }
.stepper__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 0;
  border-left: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.stepper__input:focus { outline: none; }
.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input--sqft { max-width: 240px; }
.select--time { max-width: 240px; }

/* Date souhaitée : bouton qui ouvre un calendrier */
.date-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 340px;
  text-align: left;
  cursor: pointer;
}
.date-toggle__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.date-toggle__value.is-placeholder { color: var(--ink-muted); }
.date-toggle__icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.date-toggle[aria-expanded="true"] { border-color: var(--navy); }
.date-toggle[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }

.calendar {
  max-width: 340px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line-input);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 16px 36px -18px rgba(11, 22, 40, 0.35);
}
.calendar__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.calendar__month { color: var(--navy); font-size: 15px; font-weight: 500; text-transform: capitalize; }
.calendar__nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
}
.calendar__nav--prev::before { content: "‹"; }
.calendar__nav--next::before { content: "›"; }
.calendar__nav:hover:not(:disabled) { background: var(--paper-soft); }
.calendar__nav:disabled { opacity: 0.3; cursor: default; }
.calendar__weekdays,
.calendar__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.calendar__weekdays span {
  padding: 4px 0;
  color: var(--ink-muted);
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
}
.calendar__day {
  height: 42px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  transition: background 0.15s;
}
.calendar__day:hover:not(:disabled) { background: var(--paper-soft); }
.calendar__day:disabled { color: #b4c0cf; cursor: default; }
.calendar__day.is-today { box-shadow: inset 0 0 0 1px var(--line-input); }
.calendar__day[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.calendar__day:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; }

/* Tuiles d'extras : icône, nom, prix */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; }
.tile { position: relative; display: block; height: 100%; }
.tile > input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tile__body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  aspect-ratio: 1;
  padding: 14px 8px 12px;
  border: 1px solid var(--line-input);
  border-radius: 12px;
  background: var(--paper);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.tile__icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.tile__name { font-size: 13px; font-weight: 500; line-height: 1.25; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.tile__sub { display: block; color: var(--ink-muted); font-weight: 400; }
.tile:hover .tile__body { border-color: var(--navy); }
.tile > input:checked + .tile__body {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 1px var(--orange);
  background: #fff8f5;
}
.tile > input:checked + .tile__body .tile__icon { stroke: var(--orange-ink); }
.tile > input:checked + .tile__body::after {
  content: "✓";
  position: absolute;
  right: 7px;
  top: 7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}
.tile > input:focus-visible + .tile__body { outline: 2px solid var(--navy); outline-offset: 2px; }
/* Stores : bande sur toute la largeur, compteur à droite */
.tiles__wide { grid-column: 1 / -1; }
.tile--counter .tile__body {
  flex-direction: row;
  justify-content: flex-start;
  gap: 14px;
  height: auto;
  aspect-ratio: auto;
  padding: 12px 16px;
  text-align: left;
}
.tile__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile__text .tile__sub { font-size: 12px; line-height: 1.3; }
.tile--counter .tile-stepper { flex: none; margin-left: auto; }
.tile--counter .tile__name { cursor: pointer; }
.tile--counter.is-active .tile__body { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: #fff8f5; }
.tile--counter.is-active .tile__icon { stroke: var(--orange-ink); }
.tile-stepper {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-input);
  border-radius: 8px;
  background: var(--paper);
}
.tile-stepper:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(41, 171, 226, 0.35); }
.tile-stepper__btn { width: 34px; height: 34px; color: var(--navy); font-size: 18px; line-height: 1; }
.tile-stepper__btn:hover { background: var(--paper-soft); }
.tile-stepper__btn:focus-visible { outline-offset: -3px; }
.tile-stepper__input {
  width: 36px;
  height: 34px;
  border: 0;
  border-left: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.tile-stepper__input:focus { outline: none; }
.tile-stepper__input::-webkit-outer-spin-button,
.tile-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Récapitulatif */
.summary {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: var(--paper-soft);
}
.summary__title {
  color: var(--navy);
  font-family: var(--body);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.summary__list {
  display: grid;
  grid-template-columns: minmax(80px, max-content) minmax(0, 1fr);
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 14px;
}
.summary__list dt { color: var(--ink-muted); }
.summary__list dd { margin: 0; overflow-wrap: anywhere; }

/* Estimation du prix, sous chaque étape */
.estimate {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 40px -24px rgba(11, 22, 40, 0.7);
}
.estimate :focus-visible { outline-color: #fff; }
.estimate__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
}
.estimate__head { display: flex; align-items: center; gap: 10px; }
.estimate__label { color: #c8d8ee; font-size: 12px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.estimate__help {
  position: relative;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.estimate__help::after { content: ""; position: absolute; inset: -10px; }
.estimate__help:hover,
.estimate__help[aria-expanded="true"] { background: #fff; color: var(--navy); }
.estimate--pro .estimate__label {
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--orange);
  color: var(--black);
}
.estimate__value {
  color: var(--orange);
  font-family: var(--body);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}
.estimate__value.is-empty { font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: #c8d8ee; }
.estimate__detail { margin-top: 14px; }
.estimate__breakdown { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.estimate__breakdown .estimate__total { border-bottom: 0; font-weight: 500; }
.estimate__fine { margin-top: 6px; color: #c8d8ee; font-size: 12px; }
/* Détail ouvert : sa dernière ligne dit déjà que le prix final est confirmé par message */
.estimate:not(.estimate--pro) .estimate__detail:not([hidden]) ~ .estimate__note { display: none; }
.estimate__breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.estimate__amount { flex: none; white-space: nowrap; }
.estimate__tax {
  margin-top: 6px;
  color: var(--orange-light);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.estimate__quote { margin-top: 8px; font-size: 14px; }
.estimate__note { margin-top: 8px; color: #c8d8ee; font-size: 13px; line-height: 1.55; }

.form-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #e4edf6;
}
.form-nav [data-next],
.form-nav [data-submit] { margin-left: auto; }
.form-error { margin-top: 14px; color: var(--error); font-size: 14px; }
.form-error:empty { display: none; }
.form-privacy { margin-top: 14px; color: var(--ink-muted); font-size: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 479px) {
  .form-nav .btn { flex: 1 1 auto; padding: 14px 16px; }
  .estimate__tax { text-align: left; }
}

/* ---------- Fenêtres (succès, confidentialité) ---------- */

.dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  padding: 48px 40px;
  overflow-y: auto;
  border: 0;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}
.dialog::backdrop {
  background: rgba(11, 22, 40, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dialog__icon { margin-bottom: 16px; font-size: 56px; line-height: 1; }
.dialog__title {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--body);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
}
.dialog__text { margin-bottom: 32px; color: var(--ink-muted); font-size: 17px; line-height: 1.55; }

.dialog--privacy { width: min(680px, calc(100% - 32px)); text-align: left; }
.dialog__meta { margin: -8px 0 28px; color: #6b7d94; font-size: 12px; }
.dialog__body { margin-bottom: 28px; color: #2a3a50; font-size: 14px; line-height: 1.9; }
.dialog__body h3 { margin: 20px 0 6px; color: var(--navy); font-size: 16px; }
.dialog__body h3:first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */

.footer {
  padding: 48px 20px 40px;
  background: var(--bg-2);
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
  text-align: center;
}
.footer img { width: auto; height: 56px; margin: 0 auto 20px; }
.footer-name { margin-bottom: 12px; font-size: 20px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 24px;
}
.footer-links a,
.footer-link-btn {
  position: relative;
  color: var(--blue);
  font-size: 13px;
  text-decoration: none;
}
.footer-links a:hover,
.footer-link-btn:hover { text-decoration: underline; }
.footer-links > * + *::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}
.footer-legal {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ---------- Animations ---------- */

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 2 photos sur 12 s : chacune apparaît en 1 s, reste 5 s, s'efface pendant que l'autre arrive */
@keyframes slideshow {
  0% { opacity: 0; }
  8.3% { opacity: 1; }
  50% { opacity: 1; }
  58.3% { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .hero h1 { font-size: clamp(48px, 15vw, 80px); }
  .hero .sub { font-size: 15px; }
  .cta-group { flex-direction: column; align-items: center; gap: 10px; }
  .cta-group .btn { width: 100%; max-width: 320px; }
  .badge { padding: 5px 12px; font-size: 10px; letter-spacing: 2px; }
  .section { padding: 60px 20px; }
  h2 { font-size: clamp(32px, 9vw, 48px); }
  .promises { margin-top: 36px; }
  .promise { padding: 22px 20px 24px; }
  .promise__num { font-size: 56px; }
  .services-outer { padding: 60px 16px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 36px; }
  .flip-card-inner, .flip-front { min-height: 360px; }
  .flip-back { padding: 24px 20px; }
  .contact-info { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .details-outer { padding: 60px 16px; }
  .detail-card { padding: 20px 18px; }
  .not-offered { padding: 20px 18px; }
  .faq { margin-top: 28px; }
  .faq__q { font-size: 16px; }
  .faq__a { padding-right: 0; }
  .section#book { padding: 60px 16px; }
  .footer { padding: 36px 16px; font-size: 12px; }
  .footer-links { flex-direction: column; align-items: center; }
  .footer-links > * + *::before { display: none; }
  .footer img { height: 44px; }
}

/* « How we work » sous 640 px : liste compacte, le chiffre à gauche comme une icône, titre et texte à droite */
@media (max-width: 639px) {
  .promises { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 28px; }
  .promise {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 12px 14px;
  }
  .promise__num {
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 12px;
    background: rgba(241, 90, 41, 0.12);
    font-size: 19px;
    letter-spacing: 0;
    line-height: 1;
  }
  .promise__title { margin-bottom: 2px; font-size: 16px; }
  .promise__text { line-height: 1.45; }
}

@media (max-width: 400px) {
  .nav-brand { gap: 10px; }
  .nav-brand-name { font-size: 14px; letter-spacing: 1px; }
  .nav .logo { height: 36px; }
  .hero h1 { font-size: 42px; }
  /* Titres en Barlow Semi Condensed 700 : les mots longs (« coordonnées », « confidentialité ») tiennent à 320 px */
  .step__title { font-size: 36px; }
  .dialog__title { font-size: 24px; }
  .counters { gap: 0 10px; }
  .stepper__btn { width: 42px; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-slide--1 { opacity: 1; animation: none !important; }
  .hero-slide--2 { animation: none !important; }
  .ticker { animation: none !important; }
}
