:root {
  --navy: #14213D;
  --navy-light: #3D4966;
  --navy-muted: #5B6680;
  --blue: #3B4FD8;
  --blue-dark: #2D3FB8;
  --orange: #F5511D;
  --orange-dark: #DC4413;
  --border: #E3E7EF;
  --bg-gray: #F5F6FA;
  --pastel-blue: #A9C7FF;
  --pastel-blue-light: #EEF3FF;
  --pastel-yellow: #FFE36E;
  --pastel-yellow-light: #FFF8D6;
  --pastel-green: #7EE0B8;
  --pastel-green-light: #E6FAF2;
  --pastel-orange-light: #FFF1EC;
  --footer-bg: #14213D;
  --footer-text: #E3E8F5;
  --footer-text-dim: #C9D1E6;
  --footer-muted: #9AA6C2;
  --footer-border: #2C3A5C;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--navy);
  font-family: 'Public Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: none;
}

h1, h2, h3 {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  margin: 0;
}

img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 860px; }

.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 10px;
  padding: 11px 20px;
  font-size: 15px;
  transition: background .15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; }

.btn-lg {
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 17px;
}

.btn-orange {
  background: var(--orange);
  color: #FFFFFF;
  padding: 15px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 17px;
}
.btn-orange:hover { background: var(--orange-dark); color: #FFFFFF; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--navy);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}
.btn-outline:hover { background: var(--navy); color: #FFFFFF; }

/* Header */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-name .wordmark {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy);
}
.brand-name .wordmark em { color: var(--orange); font-style: normal; }

.brand-name .par {
  font-size: 10px;
  line-height: 1;
  color: var(--navy-muted);
  font-weight: 600;
  letter-spacing: .06em;
}

.brand img { height: 36px; width: auto; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.menu-toggle:hover { background: var(--bg-gray); }
.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.nav-link:hover { color: var(--blue); }

.nav-dropdown { position: relative; }

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dropdown-toggle svg { display: block; margin-top: 1px; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 14px;
  z-index: 30;
}

.dropdown-menu-inner {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(20, 33, 61, .12);
  padding: 8px;
  width: 300px;
  display: grid;
  gap: 2px;
}

.dropdown-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.dropdown-item:hover { background: var(--bg-gray); color: var(--navy); }

.dropdown-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.dropdown-icon img { width: 36px; height: auto; }

.nav-dropdown[hidden],
.dropdown-menu[hidden] { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 24px rgba(20, 33, 61, .08);
    padding: 8px 24px 20px;
    z-index: 30;
  }
  .site-header.nav-open .main-nav { display: flex; }

  .nav-link, .dropdown-toggle { padding: 12px 4px; }

  .nav-dropdown { position: static; }
  .dropdown-menu {
    position: static;
    transform: none;
    padding-top: 0;
  }
  .dropdown-menu-inner {
    width: auto;
    border: none;
    box-shadow: none;
    padding: 0 0 4px 12px;
  }
}

/* Hero */
.hero { padding: 56px 24px 72px; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy-light);
  max-width: 580px;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-cta { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hero-card {
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  color: var(--navy);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20, 33, 61, .16); color: var(--navy); }

.hero-card-wide {
  grid-column: 1 / -1;
  background: var(--pastel-blue);
  padding: 26px;
  min-height: 190px;
}
.hero-card-wide img {
  position: absolute;
  right: 9%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(150px, 19vw, 210px);
  height: auto;
}
.hero-card-wide .hero-card-title { font-size: 22px; max-width: 60%; }

.hero-card-small {
  padding: 22px;
  min-height: 150px;
}
.hero-card-small img { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 110px; height: auto; }
.hero-card-small .hero-card-title { max-width: 55%; }
.hero-card-yellow { background: var(--pastel-yellow); }
.hero-card-green { background: var(--pastel-green); }

.hero-card-title {
  font-family: 'Schibsted Grotesk';
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.hero-card-amount {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: auto;
}
.hero-card-wide .hero-card-amount { font-size: clamp(40px, 4.4vw, 56px); }

.hero-card-amount .up-to {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0;
  display: block;
  line-height: 1.1;
}
.hero-card-amount .sub {
  display: block;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
}

.hero-card-arrow {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 16px;
}

/* Generic sections */
.section-gray { background: var(--bg-gray); }

section { padding: 80px 24px; }
.hero { padding: 56px 24px 72px; }
.faq-section { padding: 80px 24px 96px; }

h2.section-title {
  font-weight: 700;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-lead {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
  color: var(--navy-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 18px;
}

/* Toutes les aides */
.info-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  align-self: start;
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 700;
  font-size: 14px;
}
.badge-blue { background: var(--pastel-blue); }
.badge-green { background: var(--pastel-green); }
.badge-yellow { background: var(--pastel-yellow); }

.info-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--navy-light);
  text-wrap: pretty;
}

.info-card .btn-outline { align-self: start; margin-top: auto; }

/* Vehicules */
.vehicle-card {
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  position: relative;
  transition: transform .15s;
}
.vehicle-card:hover { transform: translateY(-3px); color: var(--navy); }
.vehicle-card-blue { background: var(--pastel-blue-light); }
.vehicle-card-green { background: var(--pastel-green-light); }
.vehicle-card-yellow { background: var(--pastel-yellow-light); }

.vehicle-card > img {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 96px;
  height: auto;
}

.vehicle-card .badge { font-size: 13px; padding: 4px 12px; }
.vehicle-card-blue .badge { background: var(--pastel-blue); }
.vehicle-card-green .badge { background: var(--pastel-green); }
.vehicle-card-yellow .badge { background: var(--pastel-yellow); }

.vehicle-card h3 {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.015em;
  padding-right: 84px;
}

.vehicle-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy-light);
  text-wrap: pretty;
}

.vehicle-price {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  padding: 14px 16px;
}

.vehicle-price-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 2px;
}

.vehicle-price-amount {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 24px;
}
.vehicle-price-amount .unit { font-size: 0.6em; font-weight: 600; letter-spacing: 0; }

.vehicle-price-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-light);
  margin-top: 2px;
}

.round-arrow {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-size: 18px;
}

/* Reassurance */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 18px;
}

.reassurance-card,
.simulateur-card {
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reassurance-card {
  background: #FFFFFF;
}
.reassurance-card img { height: 44px; width: auto; align-self: start; margin-bottom: 8px; }
.reassurance-card .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.reassurance-card h2 {
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}
.reassurance-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-light);
  text-wrap: pretty;
}

.simulateur-card {
  background: var(--navy);
  color: #FFFFFF;
}
.simulateur-card h2 {
  font-weight: 800;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
}
.simulateur-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
  text-wrap: pretty;
}
.simulateur-card .btn-orange { align-self: start; margin-top: 10px; }

/* Aides locales */
.locales-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.locales-header .lead-col { max-width: 680px; }
.locales-header h2 { margin: 0 0 12px; }
.locales-header p { font-size: 17px; line-height: 1.55; margin: 0; color: var(--navy-light); text-wrap: pretty; }
.locales-header .see-all { font-weight: 600; font-size: 16px; color: var(--blue); }

.locale-card {
  border-radius: 20px;
  padding: 26px 26px 26px 102px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.locale-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(20, 33, 61, .12); color: var(--navy); }
.locale-card-blue { background: var(--pastel-blue-light); }
.locale-card-orange { background: var(--pastel-orange-light); }
.locale-card-green { background: var(--pastel-green-light); }

.locale-card > img {
  position: absolute;
  left: 22px;
  top: 26px;
  width: 64px;
  height: auto;
}

.locale-card h3 { font-weight: 700; font-size: 22px; }
.locale-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--navy-light); text-wrap: pretty; }

.locale-price {
  margin-left: -76px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  padding: 14px 16px;
}

.locale-price-amount {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.locale-price-amount + .locale-price-amount { margin-top: 2px; }
.locale-price-amount .cat {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy-light);
  margin-bottom: 2px;
}
.locale-price-amount .unit { font-size: 0.6em; font-weight: 600; letter-spacing: 0; }
.locale-price-note { font-size: 14px; color: var(--navy-muted); margin-top: 4px; }

/* FAQ */
.faq-list {
  display: grid;
  border-top: 1px solid var(--border);
}

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

.faq-question {
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.faq-icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
  background: #F0F2F7;
}
.faq-item.is-open .faq-icon { background: var(--pastel-blue); }

.faq-answer {
  margin: 0;
  padding: 0 48px 22px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-light);
  text-wrap: pretty;
}
.faq-answer[hidden] { display: none; }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px 24px 28px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 36px 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.footer-brand .wordmark {
  font-family: 'Schibsted Grotesk';
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #FFFFFF;
}
.footer-brand .wordmark em { color: var(--orange); font-style: normal; }
.footer-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--footer-text-dim); max-width: 260px; text-wrap: pretty; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.footer-col .footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.footer-col a { font-size: 15px; color: var(--footer-text); }
.footer-col a:hover { color: #FFFFFF; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--footer-muted);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--footer-text-dim); }
.footer-legal a:hover { color: #FFFFFF; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }

.cookie-panel {
  pointer-events: auto;
  width: min(100%, 720px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(20, 33, 61, .18);
  padding: 22px 24px;
  color: var(--navy);
}

.cookie-title {
  font-family: 'Schibsted Grotesk';
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 8px;
}

.cookie-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy-light);
  text-wrap: pretty;
}
.cookie-text a { font-weight: 600; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

.cookie-details {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}
.cookie-details[hidden] { display: none; }

.cookie-detail-row {
  background: var(--bg-gray);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 16px;
  align-items: center;
}
.cookie-detail-row b { font-size: 15px; }
.cookie-detail-row .status { font-size: 13px; font-weight: 600; color: var(--navy-muted); }
.cookie-detail-row .desc { grid-column: 1 / -1; font-size: 14px; line-height: 1.5; color: var(--navy-light); }

.cookie-toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-light);
}
.toggle-track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #C9D1E6;
  transition: background .15s;
}
.cookie-toggle[aria-checked="true"] .toggle-track { background: var(--blue); }
.toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(20, 33, 61, .3);
  transition: left .15s;
}
.cookie-toggle[aria-checked="true"] .toggle-knob { left: 22px; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  border: 1.5px solid var(--navy);
}
.cookie-btn-dark { background: var(--navy); color: #FFFFFF; }
.cookie-btn-dark:hover { background: #24345A; }
.cookie-btn-light { background: #FFFFFF; color: var(--navy); }
.cookie-btn-light:hover { background: var(--bg-gray); }

.cookie-customize {
  all: unset;
  cursor: pointer;
  margin-left: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .header-inner { gap: 16px; }
  .hero-cards { grid-template-columns: 1fr; }
  section { padding: 48px 24px; }
  .faq-section { padding: 48px 24px 64px; }
}
