/* ==========================================================================
   Jouan Cédric — Plomberie, Chauffage & Climatisation
   Feuille de style commune (index.html, rendez-vous.html, mentions-legales.html)
   ========================================================================== */

:root {
  --blue: #0084FF;
  --blue-dark: #0070DD;
  --blue-light: #DBEAFE;
  --blue-tint: #EEF5FF;
  --orange: #FF8C00;
  --orange-dark: #EB7F00;
  --orange-light: #FFF1DF;
  --amber: #F59E0B;
  --amber-light: #FEF3C7;
  --green: #10B981;
  --green-light: #D1FAE5;
  --red: #DC2626;

  --bg: #F2F5FA;
  --surface: #FFFFFF;
  --text: #333333;
  --muted: #4B5563;
  --muted-2: #6B7280;
  --faint: #9CA3AF;
  --border: #E5E7EB;
  --dark: #333333;

  --radius-btn: 8px;
  --radius-card: 16px;
  --radius-img: 12px;
  --radius-badge: 20px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 24px -8px rgba(15, 23, 42, 0.16);

  --nav-h: 85px;
  --gutter: 24px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Police Inter, hébergée sur le site (aucun appel à Google) ---------- */
/* Police variable 400 à 800, sous-ensemble latin. Licence : fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.page-alt { background: var(--bg); }
body.menu-open { overflow: hidden; }

[hidden] { display: none !important; }
.sprite { display: none; }
/* Champ piège anti-robots du formulaire (hors écran, jamais vu par les visiteurs) */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid rgba(0, 132, 255, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: calc(1280px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute !important;
  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: 16px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.i {
  width: 1em; height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }

/* Numéros de téléphone : jamais coupés en fin de ligne */
.nowrap { white-space: nowrap; }

/* Texte long (desktop) / court (mobile) */
.txt-short { display: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn .i { font-size: 18px; }

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-blue.is-active,
.btn-blue[aria-current="page"] {
  background: var(--blue-dark);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.25);
}

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-block { display: flex; width: 100%; }

/* ---------- Badges & titres de section ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--radius-badge);
}
.badge .i { font-size: 12px; }
.badge-orange {
  color: var(--orange);
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid var(--orange);
}
.badge-orange-soft {
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid #FDBA74;
}

.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-sub {
  max-width: 580px;
  margin: 14px auto 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo { width: 54px; height: 54px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-loc {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand .brand-short { display: none; }

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nav-links { display: flex; align-items: center; gap: 33px; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-menu-ctas { display: none; }

.nav-cta { flex-shrink: 0; padding: 0 30px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border-radius: var(--radius-btn);
}
.nav-toggle .i { font-size: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background-color: #3A4452;
  background-image:
    linear-gradient(rgba(38, 49, 63, 0.78), rgba(38, 49, 63, 0.78)),
    url("images/hero-1440.webp");
  background-size: cover;
  background-position: center;
}
.hero-inner { padding: 95px var(--gutter) 120px; }
.hero .badge { margin-bottom: 24px; }
.hero h1 {
  max-width: 760px;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.hero-lead {
  max-width: 780px;
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.hero-ctas .btn { padding: 0 27px; }
.hero-ctas .btn-glass { font-size: 16px; padding: 0 23px; }

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 33px;
}
.service-card {
  --svc: var(--blue);
  --svc-light: var(--blue-light);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-card.is-heat { --svc: var(--amber); --svc-light: var(--amber-light); }
.service-card.is-cool { --svc: var(--green); --svc-light: var(--green-light); }

.service-media {
  order: 0;
  aspect-ratio: 404 / 220;
  overflow: hidden;
  background: var(--bg);
}
.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-media img { transform: scale(1.04); }

.service-head { order: 1; padding: 28px 28px 0; }
.service-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: default;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--svc);
  color: #fff;
  flex-shrink: 0;
}
.service-icon .i { font-size: 20px; }
.service-title {
  flex: 1;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.service-chevron { display: none; }

.service-body { order: 2; padding: 20px 28px 30px; }
.service-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.check-list { margin-top: 20px; display: grid; gap: 8px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--text);
}
.check-list .i {
  font-size: 14px;
  margin-top: 1px;
  color: var(--orange);
  stroke-width: 2.6;
}
.service-link { display: none; }

/* ==========================================================================
   Engagements
   ========================================================================== */
.section-soft { background: var(--bg); }
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.feature { text-align: center; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #F6EDE3;
  color: var(--orange);
}
.feature-icon .i { font-size: 24px; }
.feature h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
.feature p {
  max-width: 300px;
  margin: 6px auto 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ==========================================================================
   Zone d'intervention
   ========================================================================== */
.zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 484px);
  gap: 64px;
  align-items: center;
}
.zone-text .section-title { font-size: 32px; }
.zone-intro {
  max-width: 610px;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.zone-list-title {
  margin: 36px 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.zone-tags { display: flex; flex-wrap: wrap; gap: 11px 10px; max-width: 670px; }
.zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--blue);
  background: #EEF4FC;
  border-radius: var(--radius-btn);
}
.zone-tag::before { content: "•"; }
.zone-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.zone-map {
  padding: 24px;
  border-radius: var(--radius-img);
  background: linear-gradient(180deg, #FCFDFE 0%, #F8FAFD 100%);
}
.zone-map img { width: 100%; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding: 85px 0 44px;
}
.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 0.85fr) auto;
  gap: 40px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 54px; height: 54px; border-radius: 2px; }
.footer-brand-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.footer-brand-loc {
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-desc {
  max-width: 370px;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.footer-col h2 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.footer-list { display: grid; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.footer-list li { display: flex; align-items: center; gap: 10px; }
.footer-list .i { font-size: 17px; color: var(--orange); }
.footer-list a { transition: color 0.2s; }
.footer-list a:hover { color: var(--orange); }
.footer-list.is-plain { color: rgba(255, 255, 255, 0.72); }
.footer-urgent { color: var(--orange); font-weight: 700; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Page Rendez-vous
   ========================================================================== */
.rdv-main { padding: 26px 0 64px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.back-link .i { font-size: 16px; transition: transform 0.2s; }
.back-link:hover .i { transform: translateX(-3px); }
.rdv-head { margin: 30px 0 42px; }
.rdv-head .badge { font-size: 12.5px; }
.page-title {
  margin-top: 16px;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.page-lead {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 732fr) minmax(0, 513fr);
  gap: 34px;
  align-items: start;
}

/* Calendrier */
.calendar-card { padding: 31px 31px 31px; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.cal-nav { display: flex; gap: 8px; }
.cal-btn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cal-btn .i { font-size: 16px; stroke-width: 2.4; }
.cal-btn:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.cal-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 10px;
  text-align: center;
}
.cal-dows { margin-top: 28px; }
.cal-dow {
  padding-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cal-dow abbr { text-decoration: none; }
.cal-dow.is-weekend { color: var(--faint); }
.cal-cell { display: grid; place-items: center; }
.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px; height: 46px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  background: #F5F7FB;
  color: var(--text);
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cal-day:hover:not(:disabled):not([aria-pressed="true"]) { background: var(--blue-light); color: var(--blue); }
.cal-day:disabled { background: transparent; color: var(--faint); cursor: default; }
.cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 6px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--blue);
}
.cal-day[aria-pressed="true"] {
  width: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px -6px rgba(255, 140, 0, 0.7);
}
.cal-day[aria-pressed="true"]::after { background: #fff; }

.slots-title { margin-top: 30px; font-size: 16px; font-weight: 700; }
.slots-hint { margin-top: 4px; font-size: 13px; color: var(--muted); }
.slots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.slot {
  min-width: 80px;
  height: 42px;
  padding: 0 17px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.slot:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--blue); color: var(--blue); }
.slot[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.slot:disabled { color: var(--faint); background: var(--bg); text-decoration: line-through; cursor: not-allowed; }
.slots-empty { font-size: 14px; color: var(--muted); }

/* Colonne formulaire */
.booking-side { padding: 31px; }
.selection {
  padding: 20px 20px 22px;
  background: var(--orange-light);
  border: 1px solid var(--orange);
  border-radius: 10px;
}
.selection-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
}
.selection-value {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
}
.selection-value .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.booking-form { margin-top: 38px; }
.form-title { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 26px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.field .req { color: var(--orange); }
.input {
  display: block;
  width: 100%;
  min-height: 41px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: #CBD5E1; }
.input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.14);
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
}
textarea.input {
  min-height: 100px;
  resize: vertical;
  background: var(--surface);
}
.field.has-error .input { border-color: var(--red); background: #FEF2F2; }
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--red);
}
.field.has-error .field-error { display: block; }
.form-error {
  margin-top: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--red);
  background: #FEF2F2;
  border-radius: 6px;
}
.form-error a { font-weight: 700; text-decoration: underline; }
.booking-form .btn-orange { min-height: 50px; margin-top: 28px; font-size: 16px; border-radius: 6px; }
.form-note { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--muted-2); text-align: center; }
.form-note a { color: var(--blue); text-decoration: underline; }

/* Confirmation */
.booking-success { text-align: center; padding: 8px 0 4px; }
.booking-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  animation: pop 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}
.success-icon .i { font-size: 32px; stroke-width: 2.4; }
.booking-success h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.booking-success > p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.success-recap {
  margin: 24px 0;
  padding: 18px 20px;
  display: grid;
  gap: 10px;
  text-align: left;
  font-size: 14px;
  background: var(--bg);
  border-radius: 12px;
}
.success-recap div { display: flex; justify-content: space-between; gap: 16px; }
.success-recap dt { color: var(--muted); }
.success-recap dd { font-weight: 700; text-align: right; }
.success-actions { display: grid; gap: 10px; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Réassurance */
.reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 80px;
}
.reassurance-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px 19px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.reassurance-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--orange-light);
  color: var(--orange);
  flex-shrink: 0;
}
.reassurance-icon .i { font-size: 22px; }
.reassurance-card h2 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.reassurance-card p { margin-top: 2px; font-size: 13px; color: var(--muted); }

/* ==========================================================================
   Mentions légales
   ========================================================================== */
.legal { max-width: 820px; }
.legal h2 { margin: 36px 0 10px; font-size: 20px; font-weight: 700; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--muted); }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a:not(.back-link) { color: var(--blue); text-decoration: underline; }
.legal .page-title { margin-bottom: 8px; }
.legal .todo { color: var(--orange-dark); font-weight: 600; }

/* ---------- Page « Mon rendez-vous » (lien reçu par e-mail) ---------- */
.rdv-client { padding: 44px 0 72px; }
.client-card { max-width: 620px; margin: 0 auto; padding: 32px 36px; text-align: center; }
.client-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--radius-badge);
  font-size: 14px; font-weight: 700;
}
.client-badge .i { font-size: 16px; }
.client-badge.green { background: var(--green-light); color: #047857; }
.client-badge.blue { background: var(--blue-light); color: var(--blue); }
.client-badge.orange { background: var(--orange-light); color: var(--orange-dark); }
.client-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%; background: #EEF0F3; color: var(--muted-2);
}
.client-icon .i { font-size: 28px; }
.client-title { margin: 16px 0 12px; font-size: 30px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.client-text { margin-bottom: 20px; color: var(--muted); }
.client-text a, .client-note a, .client-lines a { color: inherit; font-weight: 700; text-decoration: none; }
.client-lines { margin: 20px 0; padding: 4px 18px; border-radius: 12px; background: var(--bg); text-align: left; }
.client-lines li { display: flex; align-items: center; gap: 14px; padding: 14px 0; font-size: 16px; }
.client-lines li + li { border-top: 1px solid var(--border); }
.client-ico {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue-light); color: var(--blue);
}
.client-ico .i { font-size: 18px; }
.client-actions { display: grid; gap: 10px; margin-bottom: 14px; }
.client-actions .btn { min-height: 50px; }
.client-link { display: block; margin-top: 4px; color: var(--blue); font-size: 14px; font-weight: 600; }
.client-note { margin: 14px 0 12px; font-size: 14px; color: var(--muted); }
.client-confirm { display: grid; gap: 10px; margin: 16px 0; padding: 16px; border-radius: 12px; background: #FEF2F2; color: #991B1B; font-size: 15px; }
.btn-red { background: var(--red); color: #fff; min-height: 50px; }
.btn-red:hover { background: #B91C1C; }
.btn-red-outline { background: var(--surface); border: 1px solid #F87171; color: var(--red); min-height: 50px; }
.btn-red-outline:hover { background: #FEF2F2; }
@media (max-width: 768px) {
  .rdv-client { padding: 24px 0 48px; }
  .client-card { padding: 28px 20px; }
  .client-title { font-size: 26px; }
  .client-lines { padding: 2px 14px; }
  .client-lines li { font-size: 15px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
}

/* Menu burger dès que la navbar complète ne tient plus */
@media (max-width: 1080px) {
  .nav { justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    display: block;
    padding: 24px var(--gutter) 32px;
    background: var(--surface);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0s linear 0.2s;
  }
  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 16px 4px; font-size: 18px; font-weight: 600; }
  .nav-links a::after { display: none; }
  .nav-menu-ctas { display: grid; gap: 12px; margin-top: 28px; }
  .nav-menu-ctas .btn { min-height: 52px; font-size: 16px; }
  .nav-menu-ctas .btn-call { padding: 8px 12px; }
  .nav-menu-ctas .btn-outline .i { color: var(--orange); }

  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .zone { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .zone-map { max-width: 484px; width: 100%; margin: 0 auto; }
  .booking { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
  .reassurance { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-left: auto; margin-right: auto; gap: 12px; }
}

/* ---------- Mobile (≤ 768px) ---------- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --gutter: 16px; }

  .txt-long { display: none; }
  .txt-short { display: inline; }

  .brand { gap: 10px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand .brand-full { display: none; }
  .brand .brand-short { display: inline; }
  .brand-name { font-size: 13px; font-weight: 800; }
  .brand-loc { font-size: 10px; font-weight: 600; }

  .section { padding: 22px 0 28px; }
  .section-head { margin-bottom: 18px; }
  .kicker { margin-bottom: 4px; font-size: 12px; }
  .section-title { font-size: 21px; line-height: 1.25; }
  .section-sub { display: none; }

  /* Hero */
  .hero {
    background-image:
      linear-gradient(rgba(38, 49, 63, 0.8), rgba(38, 49, 63, 0.8)),
      url("images/hero-800.webp");
  }
  .hero-inner { padding: 41px var(--gutter) 22px; }
  .hero .badge { display: flex; justify-content: center; margin-bottom: 8px; font-size: 11px; }
  .hero h1 { font-size: 26px; line-height: 1.15; }
  .hero-lead { margin-top: 8px; font-size: 14px; line-height: 1.3; }
  .hero-ctas { flex-direction: column; gap: 8px; margin-top: 16px; }
  .hero-ctas .btn { width: 100%; min-height: 42px; font-size: 15px; }
  .hero-ctas .btn-glass { font-size: 15px; }
  .hero-ctas .btn-glass .i { display: none; }
  /* Tient sur une ligne dès 360 px ; en dessous, passe à la ligne avant le numéro */
  .hero-ctas .btn-call { padding: 8px 12px; font-size: clamp(14px, 3.9vw, 15px); }

  /* Services en accordéon */
  .services-grid { gap: 6px; max-width: none; }
  .service-card {
    border-left: 4px solid var(--svc);
    border-radius: 12px;
    box-shadow: none;
  }
  .service-card:hover { transform: none; box-shadow: none; }
  .service-head { order: 0; padding: 0; }
  .service-toggle { gap: 14px; padding: 7px 12px 7px 14px; cursor: pointer; }
  .service-icon { width: 32px; height: 32px; }
  .service-icon .i { font-size: 17px; }
  .service-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; }
  .service-chevron {
    display: grid;
    place-items: center;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--muted);
    transition: transform 0.25s, background 0.2s, color 0.2s;
  }
  .service-chevron .i { font-size: 14px; stroke-width: 2.6; }
  .service-card.is-open .service-chevron { transform: rotate(180deg); background: var(--blue-tint); color: var(--blue); }
  .service-card.is-open .service-head { border-bottom: 1px solid var(--border); }
  .service-card.is-open { background: #FAFBFD; }

  .service-media {
    order: 1;
    margin: 12px 12px 0;
    aspect-ratio: 334 / 140;
    border-radius: 10px;
  }
  .service-card:hover .service-media img { transform: none; }
  .service-body { order: 2; padding: 12px 12px 12px; }
  .service-body p { font-size: 13px; line-height: 1.35; }
  .check-list { margin-top: 8px; gap: 6px; }
  .check-list li { font-size: 13.5px; align-items: center; }
  .check-list .i {
    width: 17px; height: 17px;
    padding: 3px;
    margin: 0;
    border-radius: 50%;
    background: var(--svc-light);
    color: var(--svc);
    stroke-width: 3;
  }
  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
  }
  .service-link .i { font-size: 14px; }
  .js .service-card:not(.is-open) .service-media,
  .js .service-card:not(.is-open) .service-body { display: none; }

  /* Engagements en cartes 2x2 */
  .features { gap: 8px; }
  .feature {
    padding: 12px 10px 14px;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
  }
  .feature-icon { width: 30px; height: 30px; margin: 0 0 10px; }
  .feature-icon .i { font-size: 16px; }
  .feature h3 { font-size: 13px; }
  .feature p { margin: 3px 0 0; font-size: 11px; line-height: 1.35; color: var(--muted-2); }

  /* Zone */
  .zone { gap: 14px; }
  .zone-text .section-title { font-size: 21px; }
  .zone-intro { margin-top: 6px; font-size: 13.5px; line-height: 1.35; }
  .zone-list-title { display: none; }
  .zone-tags { gap: 6px 8px; margin-top: 14px; }
  .zone-tag { padding: 3px 8px; font-size: 11.5px; border-radius: 6px; }
  .zone-tag::before { display: none; }
  .zone-note { font-size: 12px; margin-top: 10px; }
  .zone-map { max-width: 290px; padding: 12px; }

  /* Footer */
  .site-footer { padding: 30px 0 22px; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .footer-brand img { width: 32px; height: 32px; }
  .footer-brand-name { font-size: 12.5px; font-weight: 800; text-transform: uppercase; }
  .footer-brand-name .txt-short { display: inline; }
  .footer-brand-loc { color: rgba(255, 255, 255, 0.85); font-size: 11px; }
  .footer-desc { margin-top: 10px; font-size: 12.5px; line-height: 1.45; }
  .footer-col h2 { margin-bottom: 8px; font-size: 13px; }
  .footer-list { gap: 6px; font-size: 12.5px; }
  .footer-list .i { font-size: 15px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .footer-bottom {
    flex-direction: column;
    gap: 2px;
    margin-top: 16px;
    padding-top: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
  }

  /* Page RDV */
  .rdv-main { padding: 16px 0 24px; }
  .back-link { font-size: 14px; }
  .rdv-head { margin: 14px 0 12px; }
  .rdv-head .badge { display: flex; justify-content: center; font-size: 11px; padding: 4px 10px; }
  .page-title { margin-top: 10px; font-size: 24px; }
  .page-lead { margin-top: 4px; font-size: 13px; line-height: 1.35; }

  .booking { gap: 16px; }
  .calendar-card { padding: 16px; border-radius: 12px; }
  .cal-title { font-size: 17px; }
  .cal-btn { width: 30px; height: 30px; }
  .cal-grid { row-gap: 8px; column-gap: 7px; }
  .cal-dows { margin-top: 16px; }
  .cal-dow { padding-bottom: 10px; font-size: 11px; }
  .cal-day { width: 100%; height: 36px; font-size: 14px; border-radius: 6px; }
  .cal-day[aria-pressed="true"] { width: 40px; height: 36px; border-radius: 18px; }
  .slots-title { margin-top: 18px; font-size: 14px; }
  .slots-hint { font-size: 11px; margin-top: 0; }
  .slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
  .slot { min-width: 0; height: 34px; font-size: 14px; padding: 0; border-radius: 6px; }

  .booking-side { padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .selection { padding: 12px 14px; border-radius: 8px; }
  .selection-label { display: none; }
  .selection-value { margin: 0; font-size: 13.5px; }
  .selection-value .dot { width: 8px; height: 8px; margin: 0 4px; }
  .booking-form {
    margin-top: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .form-title { font-size: 16px; margin-bottom: 18px; }
  .field { margin-bottom: 14px; }
  .field label { margin-bottom: 6px; font-size: 12px; }
  .input { min-height: 36px; padding: 8px 10px; font-size: 16px; } /* 16px : évite le zoom auto iOS */
  textarea.input { min-height: 80px; }
  .booking-form .btn-orange { min-height: 44px; margin-top: 20px; font-size: 14px; }
  .booking-success {
    padding: 22px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 16px;
  }

  .reassurance { margin-top: 18px; gap: 8px; }
  .reassurance-card { padding: 10px 12px; gap: 12px; border-radius: 8px; }
  .reassurance-icon { width: 32px; height: 32px; border-radius: 6px; }
  .reassurance-icon .i { font-size: 16px; }
  .reassurance-card h2 { font-size: 14px; }
  .reassurance-card p { font-size: 11px; }

  .legal h2 { font-size: 17px; }
  .legal p, .legal li { font-size: 14px; }
}

@media (max-width: 360px) {
  .cal-grid { column-gap: 4px; }
  .hero h1 { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
