/* ==========================================================================
   panneauxphotovoltaïques.fr — Design system (template Habit'Avenir France)
   Palette : navy & jaune solaire, fond blanc, typographie Plus Jakarta Sans.
   ========================================================================== */

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

:root {
  /* Palette */
  --y:    #FFB116;
  --yo:   #FC9100;
  --y-soft: rgba(255,177,22,0.10);
  --y-soft-2: rgba(255,177,22,0.18);
  --navy: #003051;
  --blue: #004792;
  --blc:  #3F7CAF;
  --w:    #ffffff;
  --off:  #f7f9fc;
  --off-2:#eef3f9;
  --border:#e8edf3;
  --text: #0d1b2a;
  --muted:#6b7a8d;
  --danger:#c0392b;
  --ok:   #27ae60;

  --radius:    14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(0,48,81,.08);
  --shadow-md: 0 12px 32px rgba(0,48,81,.10);
  --shadow-lg: 0 24px 60px rgba(0,48,81,.14);
  --shadow-y:  0 6px 24px rgba(255,177,22,.35);

  --container: 1280px;
  --container-narrow: 920px;
  --nav-h: 80px;
  --t-fast: 180ms ease;
  --t-med:  260ms ease;
}

html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--w);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 56px; width: auto; display: block; }
.brand-text { display: none; flex-direction: column; line-height: 1.1; }
.brand-title { font-weight: 800; font-size: 0.95rem; color: var(--navy); }
.brand-subtitle { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
}
.nav-desktop a {
  color: var(--muted);
  font-weight: 600;
  transition: color var(--t-fast);
  position: relative;
}
.nav-desktop a:hover { color: var(--navy); }
.nav-desktop a.nav-active { color: var(--navy); }
.nav-desktop a.nav-active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--y), var(--yo));
  border-radius: 2px;
}
.btn-primary,
.nav-cta-desktop,
.nav-desktop a.nav-cta-desktop,
.nav-mobile a.btn-primary {
  background: var(--navy);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  border: none; cursor: pointer;
}
.btn-primary:hover,
.nav-cta-desktop:hover,
.nav-desktop a.nav-cta-desktop:hover,
.nav-mobile a.btn-primary:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,48,81,.25);
}
.nav-desktop a.nav-cta-desktop.nav-active::after { display: none; }

.hamburger {
  display: inline-flex;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger-box { display: inline-flex; flex-direction: column; gap: 4px; width: 18px; }
.hamburger-line {
  display: block; height: 2px; background: var(--navy); border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--w);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 99;
  padding: 16px 6%;
}
.nav-mobile.open { display: block; }
.nav-mobile-inner { display: flex; flex-direction: column; gap: 8px; max-width: var(--container); margin: 0 auto; }
.nav-mobile a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 8px;
  border-radius: 8px;
}
.nav-mobile a:hover { background: var(--off); color: var(--navy); }
.nav-mobile a.btn-primary { color: #fff; justify-content: center; margin-top: 6px; }

@media (min-width: 980px) {
  .hamburger { display: none; }
  .nav-desktop { display: inline-flex; }
  .brand-text { display: flex; }
}

/* ==========================================================================
   Buttons (template)
   ========================================================================== */
.btn-cta {
  background: linear-gradient(135deg, var(--y), var(--yo));
  color: var(--navy);
  padding: 15px 36px;
  border-radius: 10px;
  font-weight: 800; font-size: 0.97rem;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-y);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  text-align: center;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255,177,22,.5); }

.btn-ghost {
  color: var(--navy);
  font-weight: 700; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: border-color var(--t-fast);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-cta-light {
  background: #fff;
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 800; font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-cta-light:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

.btn-form {
  width: 100%;
  background: linear-gradient(135deg, var(--y), var(--yo));
  color: var(--navy);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-weight: 800; font-size: 0.97rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,177,22,.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-form:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,177,22,.45); }

/* ==========================================================================
   HERO (homepage)
   ========================================================================== */
.hero {
  padding: 80px 6% 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 980px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    min-height: calc(100vh - var(--nav-h));
    padding-top: 60px;
  }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,177,22,.10);
  border: 1px solid rgba(255,177,22,.30);
  color: #b37800;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge span { width: 6px; height: 6px; background: var(--y); border-radius: 50%; display: inline-block; }
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; line-height: 1.1;
  color: var(--navy);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--yo); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 480px;
}
.hero-pills {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--off);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem; font-weight: 600; color: var(--text);
}
.pill-dot { width: 7px; height: 7px; background: var(--y); border-radius: 50%; flex-shrink: 0; }
.hero-btns { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-img-wrap { position: relative; padding-bottom: 80px; }
.hero-img {
  width: 100%; height: 520px;
  border-radius: 24px;
  object-fit: cover; object-position: center;
  box-shadow: 0 40px 80px rgba(0,48,81,.18);
}
.hero-card {
  position: absolute; bottom: 0; left: -32px;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 16px 48px rgba(0,48,81,.14);
  display: flex; align-items: center; gap: 16px;
  min-width: 240px;
  border: 1px solid var(--border);
}
.hero-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--y), var(--yo));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.hero-card strong {
  display: block; font-size: 1.3rem; font-weight: 800;
  color: var(--navy); line-height: 1; margin-bottom: 3px;
}
.hero-card span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.hero-card2 {
  position: absolute; top: 32px; right: -16px;
  background: #fff; border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0,48,81,.12);
  border: 1px solid var(--border);
  text-align: center;
}
.hero-card2 strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--navy); line-height: 1; }
.hero-card2 span { font-size: 0.75rem; color: var(--muted); }
@media (max-width: 980px) {
  .hero-img { height: 380px; }
  .hero-card { left: -8px; }
  .hero-card2 { right: -8px; }
}

/* ==========================================================================
   Stats strip (navy band)
   ========================================================================== */
.stats-strip { background: var(--navy); padding: 0 6%; }
.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.stat-item {
  padding: 24px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-child(n+3) { border-bottom: none; }
.stat-n {
  font-size: 2rem; font-weight: 800; color: var(--y);
  line-height: 1; margin-bottom: 4px;
}
.stat-l { font-size: 0.82rem; color: rgba(255,255,255,.55); font-weight: 500; }
@media (min-width: 980px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: 32px 0; border-bottom: none; }
  .stat-item:nth-child(2n) { border-right: 1px solid rgba(255,255,255,.10); }
  .stat-item:last-child { border-right: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.sec { padding: 80px 6%; }
@media (min-width: 980px) { .sec { padding: 100px 6%; } }
.sec-inner { max-width: var(--container); margin: 0 auto; }
.sec-alt { background: var(--off); }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--yo);
  margin-bottom: 16px;
}
.tag::before { content: ""; width: 22px; height: 2px; background: var(--yo); display: inline-block; }
.sec-h {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.sec-p {
  font-size: 1rem; color: var(--muted);
  line-height: 1.75; max-width: 560px;
  margin: 0 0 48px;
}

/* ==========================================================================
   Steps grid (Comment ça marche)
   ========================================================================== */
.steps-row {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 760px) { .steps-row { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative; overflow: hidden;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.step-card:hover {
  border-color: var(--y);
  box-shadow: 0 16px 48px rgba(255,177,22,.12);
  transform: translateY(-4px);
}
.step-num {
  font-size: 4rem; font-weight: 800;
  color: rgba(0,48,81,.05);
  line-height: 1; margin-bottom: 18px;
  letter-spacing: -.04em;
}
.step-line {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--y), var(--yo));
  border-radius: 2px;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}
.step-card p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ==========================================================================
   Bénéfices grid
   ========================================================================== */
.ben-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 720px) { .ben-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .ben-grid { grid-template-columns: repeat(3, 1fr); } }
.ben-card {
  background: #fff;
  padding: 32px 26px;
  transition: background var(--t-fast);
  cursor: default;
}
.ben-card:hover { background: var(--navy); }
.ben-card:hover .ben-title { color: #fff; }
.ben-card:hover .ben-desc { color: rgba(255,255,255,.65); }
.ben-card:hover .ben-ico-wrap { background: rgba(255,177,22,.18); }
.ben-ico-wrap {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: rgba(255,177,22,.10);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
  transition: background var(--t-fast);
}
.ben-title {
  font-size: 1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
  transition: color var(--t-fast);
}
.ben-desc {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.65;
  transition: color var(--t-fast);
}

/* ==========================================================================
   Split section (photo + navy content)
   ========================================================================== */
.split-sec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 100%;
  overflow: hidden;
}
@media (min-width: 980px) { .split-sec { grid-template-columns: 1fr 1fr; } }
.split-photo { position: relative; min-height: 320px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-content {
  background: var(--navy);
  padding: 56px 7%;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 980px) { .split-content { padding: 80px 7%; } }
.split-content .tag { color: var(--y); }
.split-content .tag::before { background: var(--y); }
.split-content .sec-h { color: #fff; }
.split-content .sec-p { color: rgba(255,255,255,.65); margin-bottom: 32px; }
.check-list { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.93rem; color: rgba(255,255,255,.85); line-height: 1.5;
}
.chk {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--y), var(--yo));
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 0.7rem; font-weight: 800;
  margin-top: 1px; flex-shrink: 0;
}

/* ==========================================================================
   Comp table (homepage comparatif)
   ========================================================================== */
.comp {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,48,81,.08);
}
.comp thead th {
  padding: 18px 20px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  text-align: left;
}
.comp thead th:first-child { background: var(--navy); color: rgba(255,255,255,.7); }
.comp thead th:nth-child(2) { background: #f0e8e8; color: #a33; text-align: center; }
.comp thead th:last-child { background: linear-gradient(135deg, var(--y), var(--yo)); color: var(--navy); text-align: center; }
.comp tbody tr { border-bottom: 1px solid var(--border); }
.comp tbody tr:last-child { border: none; }
.comp tbody tr:hover td { background: rgba(0,48,81,.02); }
.comp tbody td { padding: 14px 20px; font-size: 0.88rem; color: var(--text); background: #fff; }
.comp tbody td:nth-child(2) { text-align: center; color: var(--danger); background: rgba(192,57,43,.02); }
.comp tbody td:last-child { text-align: center; color: var(--ok); font-weight: 600; background: rgba(39,174,96,.03); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 760px) { .testi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.testi-card:hover {
  border-color: var(--y);
  box-shadow: 0 12px 40px rgba(255,177,22,.10);
  transform: translateY(-3px);
}
.testi-stars { color: var(--y); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.72; margin: 0 0 20px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--y), var(--yo));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.88rem; color: var(--navy); flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 700; color: var(--navy); }
.testi-loc { font-size: 0.78rem; color: var(--muted); }

/* ==========================================================================
   Form section (devis)
   ========================================================================== */
.form-sec {
  background: var(--navy);
  padding: 80px 6%;
  position: relative; overflow: hidden;
}
.form-sec::before {
  content: ""; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,177,22,.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.form-sec-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 980px) {
  .form-sec { padding: 100px 6%; }
  .form-sec-inner { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.form-left .tag { color: var(--y); }
.form-left .tag::before { background: var(--y); }
.form-left .sec-h { color: #fff; }
.form-left .sec-p { color: rgba(255,255,255,.65); margin-bottom: 32px; }
.trust-row { display: flex; flex-direction: column; gap: 10px; }
.trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: rgba(255,255,255,.72);
}
.trust-dot {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(255,177,22,.20);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--y); font-size: 0.72rem;
}

.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
}
@media (min-width: 600px) { .form-card { padding: 40px 36px; } }
.form-top { margin-bottom: 24px; }
.form-top-title { font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.form-top-sub { font-size: 0.84rem; color: var(--muted); }
.form-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-grid .full { grid-column: 1 / -1; }
.field-control input,
.field-control select,
.field-control textarea,
.fi {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  background: #fff;
  transition: border-color var(--t-fast);
}
.field-control input:focus,
.field-control select:focus,
.field-control textarea:focus,
.fi:focus { border-color: var(--y); }
.field-control input::placeholder,
.field-control textarea::placeholder,
.fi::placeholder { color: #b8c4cf; }
.field-label, .form-grid label > span:first-child {
  display: block;
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.form-safe {
  text-align: center; font-size: 0.75rem;
  color: var(--muted); margin-top: 12px;
}

/* ==========================================================================
   FAQ (template + reused FAQ on internal pages)
   ========================================================================== */
.faq-wrap {
  display: grid; grid-template-columns: 1fr;
  gap: 2px; background: var(--border);
  border-radius: var(--radius); overflow: hidden;
}
@media (min-width: 760px) { .faq-wrap { grid-template-columns: 1fr 1fr; } }
.faq { background: #fff; overflow: hidden; }
.faq-q {
  padding: 22px 26px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.93rem;
  color: var(--navy);
  gap: 16px;
  transition: background var(--t-fast);
}
.faq:hover .faq-q { background: var(--off); }
.faq.open .faq-q { background: var(--navy); color: #fff; }
.faq-ico {
  width: 28px; height: 28px;
  border-radius: 6px; flex-shrink: 0;
  background: var(--off);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 0.85rem;
  transition: transform var(--t-med), background var(--t-fast), color var(--t-fast);
}
.faq.open .faq-ico { transform: rotate(180deg); background: var(--y); color: var(--navy); }
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 0.9rem; color: var(--muted); line-height: 1.7;
  padding: 0 26px;
  transition: max-height .35s ease, padding .25s;
}
.faq.open .faq-a { max-height: 360px; padding: 16px 26px 24px; }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: 90px 6%;
  text-align: center;
  position: relative; overflow: hidden;
}
.final::after {
  content: ""; position: absolute;
  bottom: -120px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,177,22,.10) 0%, transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.final h2 {
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800;
  color: #fff; letter-spacing: -.03em;
  line-height: 1.1; margin: 0 0 16px;
}
.final h2 span { color: var(--y); }
.final p { color: rgba(255,255,255,.7); font-size: 1rem; margin: 0 0 36px; }
.final-micro {
  margin-top: 20px;
  display: flex; justify-content: center; gap: 24px;
  flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,.5);
}
.final-micro span::before { content: "✓ "; color: var(--y); font-weight: 700; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-bar {
  background: var(--off);
  border-top: 1px solid var(--border);
  padding: 36px 6% 24px;
  color: var(--muted);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.footer-main { font-size: 0.92rem; color: var(--muted); }
.footer-main strong { color: var(--navy); }
.footer-main a { color: var(--navy); border-bottom: 1px solid var(--border); }
.footer-main a:hover { border-color: var(--navy); }
.footer-zones {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.footer-zones-title {
  font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 0.7rem;
}
.footer-zones-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer-zones-links a { color: var(--muted); transition: color var(--t-fast); }
.footer-zones-links a:hover { color: var(--navy); }
.footer-secondary {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px 24px;
  font-size: 0.82rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); font-weight: 500; }
.footer-links a:hover { color: var(--navy); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ==========================================================================
   Layout shell + page-article (internal pages)
   ========================================================================== */
.page-shell { display: flex; flex-direction: column; min-height: 100vh; background: var(--w); }
body.has-layout { background: var(--w); }
.layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 6% 48px;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
.shell-inner { max-width: var(--container); margin: 0 auto; padding: 0 6%; }

.page-article {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .page-article { padding: 48px 56px; } }
.page-header { margin-bottom: 28px; }
.page-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,177,22,.10);
  border: 1px solid rgba(255,177,22,.30);
  color: #b37800;
  font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700;
  margin-bottom: 14px;
}
.page-title {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -.025em; line-height: 1.15;
  margin: 0 0 14px;
}
.page-lead {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.7;
  margin: 0 0 18px;
}
.page-article section { margin-top: 32px; }
.page-article h2 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
  line-height: 1.25;
  letter-spacing: -.01em;
  padding-left: 14px;
  border-left: 4px solid var(--y);
}
.page-article h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  margin: 22px 0 10px;
}
.page-article p { color: #334155; line-height: 1.7; margin: 0 0 12px; }
.page-article ul, .page-article ol { color: #334155; line-height: 1.7; padding-left: 22px; margin: 0 0 14px; }
.page-article li { margin-bottom: 6px; }
.page-article strong { color: var(--navy); font-weight: 700; }
.page-article a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.page-article a:hover { color: var(--navy); }

.page-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 0.93rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.page-article table th, .page-article table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.page-article table th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
}
.page-article table tbody tr:nth-child(even) td { background: var(--off); }
.page-article table tbody tr:last-child td { border-bottom: 0; }
.page-article table tbody tr:hover td { background: rgba(255,177,22,.06); }

.callout {
  background: rgba(255,177,22,.07);
  border: 1px solid rgba(255,177,22,.25);
  border-left: 4px solid var(--y);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 18px;
  margin: 14px 0 18px;
  color: #334155;
  font-size: 0.95rem;
}
.callout p { margin: 0; }
.callout strong { color: var(--navy); }

.related-links {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.related-links h3 {
  font-size: 1rem; color: var(--navy);
  margin: 0 0 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.related-links ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.related-links a {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.related-links a::before { content: "→"; color: var(--y); }
.related-links a:hover { color: var(--navy); }

/* ==========================================================================
   Blog (list)
   ========================================================================== */
.blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 14px 0 24px;
}
@media (min-width: 760px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--y);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.blog-card:hover {
  border-color: var(--y);
  box-shadow: 0 12px 40px rgba(255,177,22,.10);
  transform: translateY(-2px);
}
.blog-card-kicker {
  display: inline-block;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--yo);
  font-weight: 700; margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); margin: 0 0 8px;
  line-height: 1.3;
}
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; margin: 0 0 14px; }
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
}
.blog-card-link:hover { color: var(--navy); }

/* ==========================================================================
   Toast + utilities
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  max-width: 90vw;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0,48,81,.15);
  font-size: 0.9rem;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none;
  transition: transform var(--t-med), opacity var(--t-med);
  z-index: 200;
}
.toast.visible { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.toast strong { color: var(--navy); font-weight: 800; }
.toast span { color: var(--muted); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Simulator (page interne)
   ========================================================================== */
.simulator {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.simulator h2 { color: var(--navy); }
.simulator-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 600px) { .simulator-grid { grid-template-columns: repeat(2, 1fr); } }
.simulator label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.simulator input,
.simulator select,
.simulator textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color var(--t-fast);
}
.simulator input:focus,
.simulator select:focus,
.simulator textarea:focus { border-color: var(--y); }
.simulator input[aria-invalid="true"] { border-color: var(--danger); }
.simulator-output {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255,177,22,.06);
  border: 1px solid rgba(255,177,22,.25);
}
.simulator-output h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.05rem; }
.simulator-output-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .simulator-output-grid { grid-template-columns: repeat(4, 1fr); } }
.simulator-output-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}
.simulator-output-item label {
  display: block;
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: .08em; color: var(--yo);
  font-weight: 700; margin-bottom: 4px;
}
.simulator-output-item strong { font-size: 1.1rem; font-weight: 800; color: var(--navy); }

/* ==========================================================================
   Reviews widget (inline section)
   ========================================================================== */
.reviews-widget-section {
  padding: 40px 6%;
  background: var(--off);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reviews-widget-inner { max-width: var(--container); margin: 0 auto; }
.reviews-widget-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}
.reviews-widget-kicker {
  font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--yo); font-weight: 700;
}
.reviews-widget-title {
  font-size: 1.2rem; color: var(--navy);
  margin: 6px 0 12px;
  font-weight: 800;
}

/* ==========================================================================
   FAQ site section (multi-page reuse with template wrapper classes)
   ========================================================================== */
.faq-site-section { padding: 80px 6%; background: var(--w); }
.faq-site-wrap { max-width: var(--container); margin: 0 auto; }
.faq-site-head { margin-bottom: 28px; }
.faq-site-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; color: var(--navy); }

/* ==========================================================================
   Tiny extras used across pages
   ========================================================================== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--yo);
  font-weight: 700; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800; color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

/* Form section (legacy class) used by index */
.form-section { padding: 80px 6%; background: var(--off); }
.form-shell {
  max-width: var(--container);
  margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 980px) { .form-shell { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; } }
.form-intro-title { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--navy); font-weight: 800; }

/* Hidden helpers */
.s-hide { display: none; }
.s-show { display: block; }
