

:root {
  --navy: #0f2744;
  --navy-mid: #1a3a5c;
  --navy-light: #2a5280;
  --gold: #c8922a;
  --gold-light: #e8b94f;
  --gold-pale: #fdf4e3;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5a6070;
  --text-light: #8a909e;
  --border: #e0dbd2;
  --danger: #c0392b;
  --success: #1a6b3c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 16px rgba(15, 39, 68, 0.08);
  --shadow-md: 0 4px 32px rgba(15, 39, 68, 0.12);
}



/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--cream);
  padding: 10px 2rem;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
}

/* ── HERO ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 2rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200, 146, 42, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 146, 42, 0.2);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(200, 146, 42, 0.3);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background .2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.trust-bar {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.trust-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 10px;
  line-height: 1;
}

/* ── MAIN LAYOUT ── */
/* .container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
} */

section {
  padding: 3.5rem 0;
}

section+section {
  border-top: 1px solid var(--border);
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.25;
}

.section-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* ── SIMULATEUR ── */
.simulator-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.sim-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}

.sim-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a6070' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.sim-slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sim-slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  cursor: pointer;
}

.sim-ca-display {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  min-width: 90px;
  text-align: right;
}

.sim-result {
  margin-top: 1.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.sim-result-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2px;
}

.sim-result-val {
  font-size: 1.5rem;
  font-weight: 500;
}

.sim-result-val em {
  font-style: normal;
  color: var(--gold-light);
}

.sim-cta-inline {
  background: var(--gold);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.sim-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: .75rem;
}

/* ── TARIFS ── */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.tarif-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.tarif-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #c5bdb0;
}

.tarif-card .metier {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: .6rem;
}

.tarif-card .examples {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tarif-card .taux {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}

.tarif-card .taux-unit {
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  margin-top: 2px;
}

.tarif-card .equiv {
  font-size: 12px;
  color: var(--text-light);
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.tarif-card.featured {
  border-color: var(--navy);
}

.tarif-card.featured::before {
  content: 'Plus demandé';
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 500;
  background: var(--navy);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 99px;
}

/* ── ALERTE LÉGALE ── */
.alerte {
  background: #fff5f5;
  border: 1px solid #f5c0c0;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.alerte-icon {
  width: 20px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}

.alerte-icon::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid #c0392b;
  opacity: 0.6;
}

.alerte-icon::after {
  content: '!';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #fff5f5;
  line-height: 1;
}

.alerte-text {
  font-size: 14px;
  color: #7a2020;
  line-height: 1.6;
}

.alerte-text strong {
  font-weight: 600;
}

/* ── FACTEURS ── */
.facteurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.facteur-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.facteur-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  font-family: 'DM Serif Display', serif;
  flex-shrink: 0;
}

.facteur-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .4rem;
}

.facteur-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── ECONOMIES ── */
.economies-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.eco-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.eco-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .75rem;
}

.eco-card ul {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 1.1rem;
  line-height: 1.9;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  gap: 1rem;
}

.faq-btn .faq-arrow {
  font-size: 18px;
  color: var(--text-light);
  transition: transform .25s;
  flex-shrink: 0;
}

.faq-btn[aria-expanded="true"] .faq-arrow {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding-bottom: 1.1rem;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-body.open {
  display: block;
}

/* ── CTA FINAL ── */
.cta-final {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
}

.cta-final h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .75rem;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
  font-size: 15px;
}

.cta-final-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}

.badge {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

/* ── MAILLAGE INTERNE ── */
.internal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .75rem;
}

.internal-link-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: border-color .2s, box-shadow .2s;
}

.internal-link-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.internal-link-card .link-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.internal-link-card .link-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.internal-link-card .link-arrow {
  font-size: 13px;
  color: var(--gold);
  margin-top: 6px;
}



/* ── MOBILE CTA BAR ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy);
  padding: 12px 1.25rem;
  gap: 10px;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 11px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-cta .mc-call {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mobile-cta .mc-devis {
  background: var(--gold);
  color: var(--white);
}

@media (max-width: 600px) {
 

  .hero {
    padding: 2.5rem 1.25rem 2rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .trust-bar {
    gap: 1rem;
  }

  .economies-row {
    grid-template-columns: 1fr;
  }

  .tarifs-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 72px;
  }

  .container {
    padding: 0 1.25rem;
  }

  section {
    padding: 2.25rem 0;
  }

  .breadcrumb {
    padding: 10px 1.25rem;
  }

  .cta-final {
    padding: 2rem 1.25rem;
  }
}