/* =========================================================
   BlaBlaire — Design System
   Inspiré de BlaBlaCar.fr
   ========================================================= */

/* -------------------- Variables -------------------- */
:root {
  --color-primary-dark: #054752;
  --color-primary: #00AFF5;
  --color-primary-light: #E6F8FF;
  --color-accent: #F95160;
  --color-accent-light: #FFF5F5;
  --color-background: #F6F7F8;
  --color-white: #FFFFFF;
  --color-text: #2D3A42;
  --color-text-muted: #5E6D7A;
  --color-border: #DDE2E6;
  --color-focus: #005FCC;

  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(5, 71, 82, 0.06);
  --shadow-md: 0 4px 12px rgba(5, 71, 82, 0.08);
  --shadow-lg: 0 12px 32px rgba(5, 71, 82, 0.12);
  --shadow-xl: 0 24px 64px rgba(5, 71, 82, 0.16);

  --header-height: 72px;
  --transition: 200ms ease-out;
}

/* -------------------- Reset & Base -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

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

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

a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  margin: 0 0 0.5em;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* -------------------- Utilities -------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 16px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--color-primary-dark);
  color: var(--color-white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition), opacity var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* -------------------- Layout -------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.section {
  padding: 64px 0;
}

.section--light {
  background-color: var(--color-background);
}

.section--accent {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0A6B7A 100%);
  color: var(--color-white);
}

.section--accent h1,
.section--accent h2,
.section--accent h3 {
  color: var(--color-white);
}

.section--stats {
  padding: 48px 0;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.section__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.section__header--light {
  color: var(--color-white);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.section--accent .section__eyebrow {
  color: var(--color-primary);
}

.section__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.section__intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

.section--accent .section__intro {
  color: rgba(255, 255, 255, 0.85);
}

/* -------------------- Header -------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-primary-dark);
}

.logo:hover {
  text-decoration: none;
  color: var(--color-primary-dark);
}

.logo__icon {
  font-size: 1.75rem;
}

.logo__text {
  letter-spacing: -0.02em;
}

.logo--light {
  color: var(--color-white);
}

.logo--light:hover {
  color: var(--color-white);
}

/* -------------------- Navigation -------------------- */
.nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
}

.nav__burger,
.nav__burger::before,
.nav__burger::after {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger {
  position: relative;
}

.nav__burger::before,
.nav__burger::after {
  content: '';
  position: absolute;
  left: 0;
}

.nav__burger::before {
  top: -8px;
}

.nav__burger::after {
  top: 8px;
}

.nav__toggle[aria-expanded="true"] .nav__burger {
  background-color: transparent;
}

.nav__toggle[aria-expanded="true"] .nav__burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav__menu {
  position: fixed;
  inset: var(--header-height) 0 auto 0;
  background-color: var(--color-white);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav__menu.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__link {
  display: block;
  padding: 12px 8px;
  color: var(--color-primary-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.nav__link:hover {
  background-color: var(--color-background);
  text-decoration: none;
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border: none;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-white);
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  background-color: #0095D1;
  color: var(--color-white);
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background-color: var(--color-primary);
}

.btn--primary:hover {
  background-color: #0095D1;
}

.btn--accent {
  background-color: var(--color-accent);
}

.btn--accent:hover {
  background-color: #E04552;
}

.btn--mappy {
  background-color: #00C853;
  color: var(--color-white);
}

.btn--mappy:hover {
  background-color: #00B248;
  color: var(--color-white);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn--large {
  padding: 16px 28px;
  font-size: 1.125rem;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-white) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-primary-dark);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.hero__hint {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero__hint a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.hero__visual {
  display: none;
}

.illustration--hero img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
}

/* -------------------- Search Box -------------------- */
.search-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.search-box__field {
  position: relative;
  flex: 1;
}

.search-box__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0, 175, 245, 0.15);
}

.search-box input::placeholder {
  color: #9AA5AD;
}

.search-box .btn {
  width: 100%;
  white-space: nowrap;
}

.search-box--compact {
  max-width: 560px;
  margin: 0 auto;
}

/* -------------------- Trust -------------------- */
.trust {
  padding: 32px 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.trust__inner {
  text-align: center;
}

.trust__title {
  margin-bottom: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.trust__item {
  padding: 8px 16px;
  background-color: var(--color-background);
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* -------------------- Cards -------------------- */
.cards {
  display: grid;
  gap: 24px;
}

.card {
  padding: 28px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 1.75rem;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.card__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.card__text {
  color: var(--color-text-muted);
  margin: 0;
}

.card--testimonial {
  display: flex;
  flex-direction: column;
}

.card--testimonial .card__text {
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.card__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.card__footer strong {
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* -------------------- Steps -------------------- */
.steps {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.step__title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.step__text {
  color: var(--color-text-muted);
  margin: 0;
}

/* -------------------- Features -------------------- */
.feature-list {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature__icon {
  flex-shrink: 0;
  font-size: 2rem;
  line-height: 1;
}

.feature__title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-white);
}

.feature__text {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* -------------------- Stats -------------------- */
.stats-grid {
  display: grid;
  gap: 24px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat--inline {
  align-items: flex-start;
}

.stat--large {
  align-items: center;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: inherit;
}

.stat--large .stat__value {
  font-size: 2.5rem;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.stat--inline .stat__label {
  color: var(--color-text-muted);
}

/* -------------------- FAQ -------------------- */
.faq {
  background-color: var(--color-white);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq__question {
  position: relative;
  padding: 20px 48px 20px 20px;
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--transition);
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__question:hover {
  background-color: #EDF1F3;
}

.faq__answer {
  padding: 0 20px 20px;
  color: var(--color-text-muted);
}

.faq__answer p {
  margin: 0;
}

/* -------------------- CTA Section -------------------- */
.cta-section {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, #FF7A85 100%);
  color: var(--color-white);
  text-align: center;
}

.cta-section__content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

/* -------------------- Form Messages -------------------- */
.form-message {
  margin-top: 12px;
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  animation: fadeIn var(--transition);
}

.form-message--info {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.form-message--success {
  background-color: #E8F8E8;
  color: #1B5E20;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- Footer -------------------- */
.footer {
  padding: 56px 0 24px;
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: var(--color-white);
}

.footer__grid {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 320px;
}

.footer__description {
  margin-top: 16px;
  line-height: 1.7;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__nav li {
  margin-bottom: 10px;
}

.footer__nav a {
  font-weight: 500;
}

.footer__contact address {
  font-style: normal;
}

.footer__contact p {
  margin-bottom: 6px;
}

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter input {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: none;
  border-radius: var(--radius-full);
}

.newsletter input::placeholder {
  color: #9AA5AD;
}

.newsletter .btn {
  width: 100%;
}

.newsletter__hint {
  margin-top: 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  text-align: center;
}

/* -------------------- Media Queries -------------------- */
@media (min-width: 640px) {
  .hero__title {
    font-size: 2.75rem;
  }

  .search-box {
    flex-direction: row;
    align-items: center;
    padding: 12px;
  }

  .search-box .btn {
    width: auto;
  }

  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .newsletter {
    flex-direction: row;
  }

  .newsletter .btn {
    width: auto;
  }

  .footer__legal {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .section__title,
  .cta-section__title {
    font-size: 2.25rem;
  }

  .hero {
    padding: 72px 0 96px;
  }

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .hero__visual {
    display: block;
  }

  .cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav__link {
    padding: 10px 14px;
    font-size: 0.9375rem;
  }

  .nav__link:hover {
    background-color: var(--color-background);
  }

  .hero__title {
    font-size: 3.5rem;
  }
}

/* =========================================================
   BlaBlaire — Styles complémentaires (carte, fiches, villes)
   ========================================================= */

/* -------------------- Carte -------------------- */
.map-section {
  padding: 64px 0;
  background-color: var(--color-white);
}

.map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: var(--color-background);
}

.map-wrapper--fullscreen {
  box-shadow: none;
  border-radius: 0;
}

.map-france {
  width: 100%;
  height: 400px;
  background-color: var(--color-primary-light);
}

.map-france--large {
  height: 70vh;
  min-height: 500px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 16px 20px;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.map-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-sm);
}

.map-legend__dot--aire { background-color: var(--color-accent); }
.map-legend__dot--parking { background-color: var(--color-primary); }
.map-legend__dot--autre { background-color: var(--color-primary-dark); }

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.map-marker {
  background: transparent;
  border: none;
}

.section--map {
  padding: 0;
}

.container--wide {
  max-width: 100%;
  padding: 0;
}

/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--color-border);
}

.breadcrumb a {
  color: var(--color-primary);
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

/* -------------------- Aire Header -------------------- */
.aire-header {
  padding: 48px 0 32px;
}

.aire-header__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.aire-header__address {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.aire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aire-actions .btn {
  font-size: 0.9375rem;
}

/* -------------------- Aire Grid -------------------- */
.aire-grid {
  display: grid;
  gap: 40px;
}

.aire-info,
.aire-map {
  min-width: 0;
}

.map-detail {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-background);
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-list__item {
  display: grid;
  gap: 4px;
  padding: 16px;
  background-color: var(--color-background);
  border-radius: var(--radius-md);
}

.info-list__item dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.info-list__item dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-text);
}

/* -------------------- Ville -------------------- */
.ville-header {
  padding: 48px 0 32px;
}

.ville-header__title {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.ville-header__intro {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.ville-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ville-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.ville-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}

.ville-list li:hover {
  box-shadow: var(--shadow-md);
}

.ville-list a {
  font-weight: 600;
  color: var(--color-primary-dark);
}

.ville-list__count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.ville-autres {
  margin-top: 32px;
}

/* -------------------- Cards row variant -------------------- */
.card--row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.card--row .card__body {
  flex: 1;
}

.card--row .card__title {
  font-size: 1.125rem;
}

.card--row .card__meta {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.list-simple {
  display: grid;
  gap: 8px;
}

.list-simple li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

/* -------------------- Carte page -------------------- */
.carte-header {
  padding: 48px 0 32px;
}

.carte-header .search-box {
  margin-top: 24px;
}

/* -------------------- Section title left -------------------- */
.section__title--left {
  text-align: left;
}

/* -------------------- Marker cluster override -------------------- */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background-color: rgba(0, 175, 245, 0.6);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background-color: rgba(0, 175, 245, 0.8);
  color: white;
  font-weight: 700;
}

/* -------------------- Media Queries complémentaires -------------------- */
@media (min-width: 768px) {
  .map-france {
    height: 500px;
  }

  .aire-header__title,
  .ville-header__title {
    font-size: 2.25rem;
  }

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

  .card--row {
    flex-direction: row;
    align-items: center;
  }
}

/* Map loading state */
.map-loading {
  position: relative;
}

.map-loading::after {
  content: 'Chargement des aires de covoiturage...';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(230, 248, 255, 0.9);
  color: var(--color-primary-dark);
  font-weight: 600;
  z-index: 1000;
}

.map-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--color-accent);
  font-weight: 600;
}

/* =========================================================
   BlaBlaire — Liens populaires
   ========================================================= */

.popular-section {
  padding: 64px 0;
}

.popular-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.popular-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-primary-dark);
  font-weight: 600;
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.popular-link:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  text-decoration: none;
  transform: translateY(-2px);
}

.popular-link__type {
  display: inline-block;
  padding: 3px 8px;
  background-color: var(--color-background);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
}

.footer__popular {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__popular a {
  font-size: 0.875rem;
}

/* Ajustement footer avec colonne supplémentaire */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  }
}

/* =========================================================
   BlaBlaire — Avis et notes
   ========================================================= */

.reviews-section {
  padding: 64px 0;
  background-color: var(--color-white);
}

.reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.rating-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 40px;
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
}

.rating-big__value {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  line-height: 1;
}

.rating-big__stars {
  display: flex;
  gap: 4px;
  font-size: 1.5rem;
  color: #FFB800;
}

.rating-big__stars .star--empty {
  color: var(--color-border);
}

.rating-big__count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.review {
  padding: 24px;
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
}

.review__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review__author {
  color: var(--color-primary-dark);
  font-weight: 700;
}

.review__stars {
  display: flex;
  gap: 2px;
  font-size: 1rem;
  color: #FFB800;
}

.review__stars .star--empty {
  color: var(--color-border);
}

.review__date {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.review__text {
  color: var(--color-text);
  margin: 0;
}

.review-form-wrapper {
  padding: 32px;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-lg);
}

.review-form__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.review-form__hint {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-form__field label,
.review-form__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.review-form input,
.review-form textarea {
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.review-form input:disabled,
.review-form textarea:disabled {
  background-color: #F0F0F0;
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.review-form textarea {
  resize: vertical;
  min-height: 100px;
}

.review-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Star rating input */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.star-rating label {
  font-size: 1.75rem;
  color: var(--color-border);
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #FFB800;
}

.star-rating input:disabled + label {
  cursor: not-allowed;
  opacity: 0.6;
}

/* =========================================================
   BlaBlaire — Autocomplétion recherche
   ========================================================= */

.search-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 8px;
}

.search-autocomplete__list {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.search-autocomplete__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition);
}

.search-autocomplete__item:last-child {
  border-bottom: none;
}

.search-autocomplete__item:hover,
.search-autocomplete__item--active {
  background-color: var(--color-primary-light);
}

.search-autocomplete__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
}

.search-autocomplete__label {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-autocomplete__label small {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.search-autocomplete__label mark {
  background-color: rgba(0, 175, 245, 0.2);
  color: inherit;
  font-weight: 700;
  padding: 0 2px;
  border-radius: 2px;
}

.search-autocomplete__type {
  flex-shrink: 0;
  padding: 3px 8px;
  background-color: var(--color-background);
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

/* Aire header meta (département) */
.aire-header__meta {
  margin-top: -8px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* =========================================================
   BlaBlaire — Contenu SEO
   ========================================================= */

.seo-content {
  padding: 64px 0;
  background-color: var(--color-white);
}

.seo-content .container--narrow {
  max-width: 720px;
}

.seo-content h2 {
  text-align: center;
  margin-bottom: 24px;
}

.seo-content p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

.seo-content a {
  font-weight: 600;
}
