/* ============================================================
   HEXA CONFORT SENS — Landing page contrats d'entretien chaudière
   Palette : bleu nuit #0E2A4E · orange flamme #FF7A1A
   ============================================================ */

:root {
  --navy: #0E2A4E;
  --navy-deep: #081A33;
  --navy-soft: #1A3A63;
  --orange: #FF7A1A;
  --orange-dark: #E5640A;
  --orange-soft: #FFF1E6;
  --ink: #16243A;
  --muted: #5A6B82;
  --line: #E3E9F1;
  --bg: #FFFFFF;
  --tint: #F4F7FB;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(14, 42, 78, .10);
  --shadow-lg: 0 24px 64px rgba(14, 42, 78, .16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(860px, 92%); }

/* ============ BOUTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.6rem;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 122, 26, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 122, 26, .45); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.6); }

.btn-light { background: #fff; color: var(--navy); font-weight: 800; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }

.btn-block { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.btn-xl {
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
  border-radius: 14px;
}
.btn-xl span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.btn-xl span small { font-weight: 500; font-size: .72rem; opacity: .85; }
.btn-xl.btn-primary span { font-size: 1.25rem; font-weight: 800; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: .45rem 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar-left { display: flex; gap: 1.4rem; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-item svg { color: var(--orange); }
.topbar-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 800; color: #fff; letter-spacing: .3px;
}
.topbar-phone svg { color: var(--orange); }
.topbar-phone:hover { color: var(--orange); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(14,42,78,.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 0;
}

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-hex { display: block; width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.brand-text small { font-size: .68rem; font-weight: 600; color: var(--orange); letter-spacing: 2.5px; }

.nav { display: flex; gap: 1.8rem; }
.nav a { font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; padding: .3rem 0; }
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.nav a:hover::after { width: 100%; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  padding: .5rem;
  cursor: pointer;
}
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s ease; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 4%;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: .8rem .4rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: none; margin-top: .6rem; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,122,26,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-hexgrid {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.5'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16z'/%3E%3Cpath d='M28 64 56 80v32L28 128 0 112V80z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 3.5rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,122,26,.15);
  border: 1px solid rgba(255,122,26,.45);
  color: #FFB375;
  font-size: .8rem; font-weight: 700;
  padding: .4rem .9rem;
  border-radius: 999px;
  margin-bottom: 1.3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.5px;
  margin-bottom: 1.1rem;
}
.accent { color: var(--orange); }

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,.85);
  max-width: 56ch;
  margin-bottom: 1.2rem;
}
.hero-sub strong { color: #fff; }

.hero-checks {
  list-style: none;
  display: flex; flex-direction: column; gap: .35rem;
  font-weight: 600; font-size: .98rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.8rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }

.hero-trust {
  display: flex; align-items: center; gap: 1.4rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; line-height: 1.3; }
.trust-item strong { font-size: 1.25rem; font-weight: 800; color: var(--orange); }
.trust-item span { font-size: .8rem; color: rgba(255,255,255,.7); }
.trust-sep { width: 1px; height: 34px; background: rgba(255,255,255,.18); }

/* Carte hero */
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(135deg, var(--orange), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-card-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.hero-card-head strong { display: block; font-size: 1.05rem; }
.hero-card-head span { font-size: .82rem; color: var(--muted); }

.hero-card-list { list-style: none; margin-bottom: 1.2rem; }
.hero-card-list li {
  padding: .5rem 0 .5rem 1.7rem;
  border-bottom: 1px dashed var(--line);
  font-size: .93rem; font-weight: 500;
  position: relative;
}
.hero-card-list li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--orange);
  font-weight: 800;
}
.hero-card-list li:last-child { border-bottom: none; }

.hero-card-price {
  display: flex; align-items: baseline; gap: .7rem;
  background: var(--orange-soft);
  border-radius: 12px;
  padding: .8rem 1.1rem;
  margin-bottom: 1rem;
}
.hero-card-price span { font-size: .85rem; font-weight: 600; color: var(--muted); }
.hero-card-price strong { font-size: 2rem; font-weight: 800; color: var(--orange-dark); }
.hero-card-price em { font-size: .95rem; font-style: normal; font-weight: 600; }

.hero-card-link { display: block; text-align: center; font-weight: 700; color: var(--navy); font-size: .95rem; }
.hero-card-link:hover { color: var(--orange); }

/* ============ BANDEAU LOI ============ */
.lawbar { background: var(--orange); color: #fff; }
.lawbar-inner {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.1rem 0;
}
.lawbar-inner svg { flex-shrink: 0; }
.lawbar-inner p { flex: 1; font-size: .98rem; line-height: 1.5; }
.lawbar .btn { flex-shrink: 0; }

/* ============ BANDEAU CERTIFICATIONS ============ */
.certbar { background: var(--tint); border-bottom: 1px solid var(--line); }
.certbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 1.4rem 0;
}
.certbar-item { display: flex; align-items: center; gap: .8rem; }
.certbar-seal {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--orange-dark);
  border-radius: 12px;
  font-weight: 800;
  font-size: .9rem;
}
.certbar-seal--rge {
  background: linear-gradient(135deg, #1E9E63, #15814F);
  border-color: transparent;
  color: #fff;
  letter-spacing: .5px;
}
.certbar-item strong { display: block; font-size: .92rem; color: var(--navy); line-height: 1.25; }
.certbar-item span { font-size: .78rem; color: var(--muted); }

/* ============ DÉPANNAGE D'URGENCE ============ */
.section--depannage { background: var(--tint); }
.kicker--urgent { color: var(--orange-dark); }
.depan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}
.depan-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.depan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.depan-ic { font-size: 2rem; margin-bottom: .7rem; }
.depan-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.depan-card p { font-size: .92rem; color: var(--muted); }
.depan-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  color: #fff;
}
.depan-cta-text { display: flex; flex-direction: column; }
.depan-cta-text strong { font-size: 1.15rem; font-weight: 800; }
.depan-cta-text span { font-size: .92rem; color: rgba(255,255,255,.78); }

/* Pannes les plus fréquentes (par symptôme) */
.panne-head { text-align: center; margin-bottom: 1.6rem; }
.panne-head h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.panne-head p { font-size: .95rem; color: var(--muted); max-width: 640px; margin-inline: auto; }
.panne-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.2rem;
  list-style: none;
}
.panne-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.panne-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.panne-item:focus-visible { outline: 3px solid var(--orange-soft); outline-offset: 2px; border-color: var(--orange); }
.panne-ic { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.panne-item > div { flex: 1; }
.panne-item strong { display: block; font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: .15rem; }
.panne-item > div span { font-size: .85rem; color: var(--muted); line-height: 1.45; }
.panne-arrow { align-self: center; color: var(--orange); font-weight: 800; font-size: 1.15rem; flex-shrink: 0; opacity: .45; transition: opacity .2s ease, transform .2s ease; }
.panne-item:hover .panne-arrow { opacity: 1; transform: translateX(3px); }

/* Bouton d'accès à l'assistant */
.panne-action { text-align: center; }
.panne-action-note { display: block; margin-top: .7rem; font-size: .85rem; color: var(--muted); }

/* ============ ASSISTANT DE DIAGNOSTIC (POP-UP) ============ */
body.diag-open { overflow: hidden; }
.diag-overlay[hidden] { display: none; }
.diag-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(8, 26, 51, .58);
  backdrop-filter: blur(3px);
  animation: diagFade .2s ease;
}
@keyframes diagFade { from { opacity: 0; } to { opacity: 1; } }
.diag-modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 1.8rem 1.8rem 1.4rem;
  animation: diagPop .22s ease;
}
@keyframes diagPop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.diag-close {
  position: absolute; top: .8rem; right: .9rem;
  width: 38px; height: 38px;
  border: none; border-radius: 50%;
  background: var(--tint); color: var(--navy);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s ease;
}
.diag-close:hover { background: var(--line); }
.diag-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; padding-right: 2.4rem; }
.diag-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange-dark); }
.diag-steps { display: flex; gap: .4rem; }
.diag-dot { width: 22px; height: 5px; border-radius: 3px; background: var(--line); transition: background .2s ease; }
.diag-dot.is-active { background: var(--orange); }
.diag-dot.is-done { background: var(--navy); }
.diag-title { font-size: 1.4rem; font-weight: 800; color: var(--navy); margin-bottom: .3rem; }
.diag-lead { font-size: .95rem; color: var(--muted); margin-bottom: 1.1rem; }

.diag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.diag-choice {
  display: flex; align-items: center; gap: .7rem; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px;
  padding: .9rem 1rem; cursor: pointer; font: inherit; color: var(--navy);
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.diag-choice:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); }
.diag-choice-ic { font-size: 1.5rem; line-height: 1; }
.diag-choice-tx { flex: 1; font-weight: 700; font-size: .92rem; }
.diag-choice-go { color: var(--orange); font-weight: 800; }

.diag-list { display: flex; flex-direction: column; gap: .6rem; }
.diag-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .95rem 1.1rem; cursor: pointer; font: inherit; font-weight: 600; font-size: .95rem; color: var(--navy);
  transition: border-color .2s ease, background .2s ease;
}
.diag-opt:hover { border-color: var(--orange); background: var(--orange-soft); }
.diag-opt-go { color: var(--orange); font-weight: 800; flex-shrink: 0; }

.diag-back, .diag-restart {
  background: none; border: none; cursor: pointer; font: inherit;
  color: var(--muted); font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 1rem;
}
.diag-back:hover, .diag-restart:hover { color: var(--orange-dark); }
.diag-restart { margin: 1rem 0 0; display: block; width: 100%; text-align: center; }

.diag-urg { display: inline-block; font-size: .8rem; font-weight: 700; padding: .25rem .7rem; border-radius: 99px; margin-bottom: .7rem; }
.diag-urg--high { background: #FDE6E2; color: #C0341A; }
.diag-urg--mid  { background: var(--orange-soft); color: var(--orange-dark); }
.diag-urg--low  { background: #E4F2E8; color: #1E7A45; }
.diag-result-sym { display: block; font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: .8rem; }
.diag-cause { font-size: 1rem; color: var(--ink); margin-bottom: 1.1rem; line-height: 1.5; }
.diag-price-box {
  background: var(--tint); border: 1.5px dashed var(--line); border-radius: 14px;
  padding: 1.1rem 1.2rem; text-align: center; margin-bottom: 1.2rem;
}
.diag-price-lbl { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.diag-price { display: block; font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: .15rem 0 .35rem; }
.diag-price-sub { display: block; font-size: .78rem; color: var(--muted); }
.diag-ctas { display: flex; flex-direction: column; gap: .6rem; }
.diag-legal { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 1rem; line-height: 1.4; }

/* ============ SECTIONS ============ */
.section { padding: 5rem 0; }
.section--tint { background: var(--tint); }
.section--dark {
  background:
    radial-gradient(700px 400px at 15% 0%, rgba(255,122,26,.10), transparent 55%),
    var(--navy);
  color: #fff;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.kicker {
  display: inline-block;
  font-size: .8rem; font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .7rem;
}
.kicker--light { color: #FFB375; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.2;
  margin-bottom: .8rem;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(255,255,255,.75); }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.price-card--featured {
  border: 2px solid var(--orange);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}
.price-card--featured:hover { transform: scale(1.03) translateY(-5px); }

.price-flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: .75rem; font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .35rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.price-desc { font-size: .9rem; color: var(--muted); margin: .2rem 0 1.2rem; }

.price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1.4rem; }
.price strong { font-size: 2.6rem; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.price-card--featured .price strong { color: var(--orange-dark); }
.price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price em { display: block; font-size: .78rem; font-style: normal; font-weight: 500; }

.price-list { list-style: none; flex: 1; margin-bottom: 1.6rem; }
.price-list li {
  padding: .48rem 0 .48rem 1.8rem;
  font-size: .92rem;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.price-list li:last-child { border-bottom: none; }
.price-list li.yes::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.price-list li.no { color: #A8B4C4; }
.price-list li.no::before { content: "✕"; position: absolute; left: 0; font-weight: 700; }

.pricing-note {
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 2rem;
  max-width: 760px;
  margin-inline: auto;
}
.pricing-note a { color: var(--orange-dark); font-weight: 700; }

/* Carte cliquable + lien téléphone secondaire */
.price-card[data-booking] { cursor: pointer; }
.price-card[data-booking]:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.price-call {
  display: block;
  text-align: center;
  margin-top: .7rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.price-call:hover { color: var(--orange-dark); }

/* Sélecteur Annuel / Mensuel */
.billing-toggle {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 2.4rem;
  background: var(--tint);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: .3rem;
  gap: .2rem;
}
.billing-opt {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  padding: .55rem 1.4rem;
  border-radius: 99px;
  transition: background .2s ease, color .2s ease;
}
.billing-opt.is-active { background: var(--navy); color: #fff; }

/* Bascule de l'affichage prix + bouton selon le mode */
.price-annuel { display: contents; }
.price-mensuel { display: none; }
.price-cta-mensuel { display: none; }
.pricing-grid.is-monthly .price-annuel { display: none; }
.pricing-grid.is-monthly .price-mensuel { display: contents; }
.pricing-grid.is-monthly .price-cta-annuel { display: none; }
.pricing-grid.is-monthly .price-cta-mensuel { display: inline-flex; }

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: background .2s ease, transform .2s ease;
}
.feature:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }

.feature-hex {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: #fff;
  margin-bottom: 1.1rem;
}
.feature h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: rgba(255,255,255,.75); }

/* ============ ÉTAPES ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1.4rem;
  align-items: start;
}
.step {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  text-align: center;
  height: 100%;
}
.step-num {
  width: 48px; height: 48px;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  color: var(--orange);
  font-size: 1.3rem; font-weight: 800;
}
.step h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .5rem; color: var(--navy); }
.step p { font-size: .92rem; color: var(--muted); }
.step-link { display: inline-block; margin-top: .8rem; font-weight: 800; color: var(--orange-dark); }
.step-arrow {
  align-self: center;
  font-size: 1.8rem;
  color: var(--orange);
  font-weight: 800;
}

/* ============ AVIS ============ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.review {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 4px 18px rgba(14,42,78,.05);
}
.review-stars { color: var(--orange); font-size: 1.05rem; letter-spacing: 2px; margin-bottom: .8rem; }
.review blockquote { font-size: .95rem; color: var(--ink); margin-bottom: 1rem; font-style: italic; }
.review figcaption { display: flex; flex-direction: column; line-height: 1.35; }
.review figcaption strong { font-size: .92rem; }
.review figcaption span { font-size: .8rem; color: var(--muted); }

/* ============ ZONE ============ */
.zone-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3.5rem;
  align-items: center;
}
.zone-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 .9rem; letter-spacing: -.4px; }
.zone-text > p { color: var(--muted); margin-bottom: 1.2rem; }
.zone-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem .9rem;
  margin-bottom: 1.3rem;
}
.zone-list li {
  font-size: .9rem; font-weight: 600;
  padding-left: 1.3rem;
  position: relative;
}
.zone-list li::before { content: "📍"; position: absolute; left: 0; font-size: .75rem; top: .15rem; }
.zone-note { font-size: .92rem; color: var(--muted); }
.zone-note a { color: var(--orange-dark); font-weight: 700; }
.zone-map {
  position: relative;
}
.zone-map-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  line-height: 0; /* supprime l'espace sous l'iframe */
}
.zone-map-frame iframe {
  display: block;
  width: 100%;
  filter: saturate(.92);
}
.zone-map-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--navy);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  padding: .5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(14,42,78,.3);
  pointer-events: none;
}
.zone-map-badge svg { color: var(--orange); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: .8rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(255,122,26,.4); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 1.4rem;
  list-style: none;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
  background: var(--orange-soft);
  border-radius: 8px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--orange-dark);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .95rem; }
.faq-item p strong { color: var(--ink); }

.faq-cta { text-align: center; margin-top: 2.5rem; }
.faq-cta p { font-weight: 600; margin-bottom: 1rem; color: var(--muted); }

/* ============ CONTACT ============ */
.section--contact {
  background:
    radial-gradient(800px 450px at 90% 10%, rgba(255,122,26,.13), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; letter-spacing: -.4px; margin-bottom: 1rem; }
.contact-text > p { color: rgba(255,255,255,.8); margin-bottom: 1.6rem; max-width: 46ch; }

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,122,26,.5);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.6rem;
  transition: background .2s ease, transform .2s ease;
}
.contact-phone:hover { background: rgba(255,122,26,.12); transform: translateY(-2px); }
.contact-phone svg { color: var(--orange); }
.contact-phone span { display: flex; flex-direction: column; line-height: 1.3; font-size: 1.45rem; font-weight: 800; }
.contact-phone small { font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.65); }

.contact-points { list-style: none; display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; color: rgba(255,255,255,.85); }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow-lg);
}
.contact-form h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 1.4rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font);
  font-size: .95rem;
  padding: .75rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFCFE;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,122,26,.15);
}
.form-field input.is-invalid,
.form-field textarea.is-invalid { border-color: #E03131; }
.form-field textarea { resize: vertical; }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; }

.form-rgpd {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--muted);
  margin: .4rem 0 1.2rem;
  cursor: pointer;
}
.form-rgpd input { margin-top: .2rem; accent-color: var(--orange); width: 16px; height: 16px; flex-shrink: 0; }
.form-rgpd a { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }

.form-status { margin-top: 1rem; font-weight: 600; font-size: .92rem; display: none; }
.form-status.ok { display: block; color: #2B8A3E; }
.form-status.err { display: block; color: #E03131; }

/* ============ FOOTER ============ */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-brand img { display: block; width: 52px; height: 52px; object-fit: contain; }
.footer-brand strong { display: block; color: #fff; font-weight: 800; letter-spacing: 1px; margin: .8rem 0 .5rem; }
.footer-brand p { font-size: .88rem; }
.footer-col h4 {
  color: #fff; font-size: .85rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 1rem;
}
.footer-col a, .footer-col span { display: block; font-size: .9rem; padding: .25rem 0; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .8rem; }

/* ============ BARRE D'APPEL MOBILE ============ */
.mobile-callbar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 -6px 24px rgba(14,42,78,.18);
  padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .7rem;
}
.mobile-callbar-phone {
  flex: 1.3;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: .85rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(255,122,26,.4);
  animation: pulse 2.4s infinite;
}
.mobile-callbar-form {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: .85rem;
  border-radius: 12px;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(255,122,26,.4); }
  50% { box-shadow: 0 6px 28px rgba(255,122,26,.75); }
}

/* ============ ANIMATIONS D'APPARITION ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 0 4rem; }
  .hero-card { max-width: 520px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 2rem; }
  .price-card--featured { transform: none; order: -1; }
  .price-card--featured:hover { transform: translateY(-5px); }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .certbar-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .depan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .panne-grid { grid-template-columns: 1fr 1fr; }
  .depan-cta { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .reviews { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .zone-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .zone-map-frame iframe { height: 340px; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .topbar-hours { display: none; }
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .section { padding: 3.5rem 0; }
  .lawbar-inner { flex-direction: column; text-align: center; gap: .9rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .hero-trust { gap: 1rem; justify-content: space-between; }
  .trust-sep { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .panne-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .zone-list { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .mobile-callbar { display: flex; }
  body { padding-bottom: 78px; }
  html { scroll-padding-top: 76px; }
  .diag-grid { grid-template-columns: 1fr; }
  .diag-modal { padding: 1.5rem 1.2rem 1.2rem; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text strong { font-size: .92rem; }
  .contact-form { padding: 1.6rem 1.2rem; }
}

/* ===== Tableau de tarifs (repris du site principal) ===== */
.price-table { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.price-row { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.4rem; border-bottom:1px solid var(--line); }
.price-row:last-child { border-bottom:none; }
.price-row:nth-child(even) { background:var(--tint); }
.price-label { font-weight:600; color:var(--ink); }
.price-label small { display:block; font-weight:500; font-size:.8rem; color:var(--muted); }
.price-val { font-weight:800; color:var(--navy); white-space:nowrap; font-size:1.05rem; }
.price-val .from { display:block; font-weight:500; font-size:.7rem; color:var(--muted); text-align:right; }
.price-note { font-size:.85rem; color:var(--muted); margin-top:1.2rem; text-align:center; }

/* ===== Accent métier : Plomberie (bleu) ===== */
:root { --orange: #1E88D6; --orange-dark: #1569AB; --orange-soft: #E9F3FB; }
.btn-primary { box-shadow: 0 8px 24px rgba(30,136,214,.35); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(30,136,214,.45); }

/* ===== Cartes de prestations cliquables (prise de RDV Calendly) ===== */
.depan-card.js-diag { cursor: pointer; }
.depan-book { display: inline-block; margin-top: 1.1rem; font-weight: 700; color: var(--orange); }
.depan-card.js-diag:hover .depan-book { text-decoration: underline; }
