:root {
  --background: #f7f5ef;
  --surface: #ffffff;
  --surface-soft: #fbfaf6;
  --text: #24302c;
  --muted: #5e6b66;
  --accent: #1f7a5a;
  --accent-dark: #14523d;
  --line: #ddd8ca;
  --shadow-soft: 0 18px 45px rgba(36, 48, 44, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.site-header,
.site-footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem clamp(1rem, 4vw, 3rem);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(36, 48, 44, 0.04);
}

.site-footer {
  display: block;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: #efede4;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  margin-top: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 216, 202, 0.78);
  border-radius: 10px;
  color: var(--text);
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(36, 48, 44, 0.045);
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(58px, 5.8vw, 64px);
  max-width: min(352px, 62vw);
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(221, 216, 202, 0.9);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(36, 48, 44, 0.045);
}

.menu-toggle-line {
  position: absolute;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.menu-toggle-line:nth-child(1) {
  transform: translateY(-0.38rem);
}

.menu-toggle-line:nth-child(3) {
  transform: translateY(0.38rem);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: rotate(-45deg);
}


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

.language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.95rem;
  padding: 0.32rem 0.55rem;
  background: transparent;
  border: 1px solid rgba(221, 216, 202, 0.92);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.language-switcher__button:hover,
.language-switcher__button:focus,
.language-switcher__button[aria-expanded="true"] {
  background: rgba(251, 250, 246, 0.9);
  border-color: rgba(31, 122, 90, 0.28);
  color: var(--accent-dark);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 14;
  min-width: 10.5rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(36, 48, 44, 0.12);
}

.language-switcher__menu a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.language-switcher__menu a:hover,
.language-switcher__menu a:focus,
.language-switcher__menu a[aria-current="true"] {
  background: rgba(31, 122, 90, 0.08);
  color: var(--accent-dark);
}

.header-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(221, 216, 202, 0.92);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.search-toggle-icon {
  position: relative;
  display: block;
  width: 0.82rem;
  height: 0.82rem;
  border: 1.8px solid currentColor;
  border-radius: 999px;
}

.search-toggle-icon::after {
  position: absolute;
  right: -0.32rem;
  bottom: -0.24rem;
  width: 0.42rem;
  height: 1.8px;
  content: "";
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: center;
}

.search-toggle:hover,
.search-toggle:focus,
.search-toggle[aria-expanded="true"] {
  background: rgba(251, 250, 246, 0.9);
  border-color: rgba(31, 122, 90, 0.28);
  color: var(--accent-dark);
}

.header-search-form {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 12;
  display: none;
  gap: 0.4rem;
  width: min(320px, calc(100vw - 2rem));
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(36, 48, 44, 0.12);
}

.header-search-form.is-open {
  display: flex;
}

.header-search-form input,
.search-page-form input {
  width: 100%;
  min-height: 2.4rem;
  padding: 0.55rem 0.7rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
}

.header-search-form button {
  min-height: 2.4rem;
  padding: 0.45rem 0.7rem;
  background: var(--accent-dark);
  color: #ffffff;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-nav {
  align-items: center;
}

.nav-item {
  position: relative;
  display: inline-flex;
}

.site-nav a,
.nav-item > a {
  position: relative;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a::after,
.nav-item > a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus,
.nav-item > a:hover,
.nav-item > a:focus {
  color: var(--accent-dark);
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.nav-item > a:hover::after,
.nav-item > a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer nav {
  flex-direction: column;
  gap: 0.35rem;
}

.container,
.article-header,
.article-body {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  background: #e8efe8;
  border-bottom: 1px solid var(--line);
}

.hero-home {
  min-height: clamp(390px, 56vh, 580px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.4) 48%, rgba(18, 27, 23, 0.16)),
    url("/static/img/hero-route-location-voiture-madagascar.jpg");
  background-position: center 46%;
  background-size: cover;
  color: #ffffff;
}

.hero-home::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-home .eyebrow {
  color: #dbeee5;
}

.hero-home .lead {
  color: #eef5f1;
}

.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section-tight {
  padding-bottom: 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.intro-grid,
.footer-grid,
.related-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.intro-grid > div {
  min-height: 100%;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 250, 246, 0.92));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 48, 44, 0.045);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.intro-grid > div::before {
  display: block;
  width: 2rem;
  height: 2px;
  margin-bottom: 1rem;
  content: "";
  background: var(--accent);
  opacity: 0.75;
}

.intro-grid > div:hover {
  border-color: rgba(31, 122, 90, 0.24);
  box-shadow: 0 18px 42px rgba(36, 48, 44, 0.075);
  transform: translateY(-1px);
}

.home-editorial-section {
  padding-top: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

main:has(.home-editorial-section:last-child) + .site-footer {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.home-seo-block {
  width: 100%;
  padding: clamp(1.25rem, 2.6vw, 1.7rem);
  margin: 0 0 clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(180deg, #ffffff, #fbfaf6);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 48, 44, 0.045);
}

.home-seo-block p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
}

.home-seo-block p + p {
  margin-top: 0.65rem;
}

.home-universe-grid {
  align-items: start;
}

.home-universe-column {
  min-width: 0;
}

.home-universe-links {
  margin-top: 0.85rem;
}

.home-universe-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(221, 216, 202, 0.88);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 48, 44, 0.045);
}

.home-universe-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.home-universe-card div {
  padding: 0.85rem;
}

.home-universe-card h2 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.home-universe-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

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

.footer-grid h2 {
  font-size: 1rem;
}

.footer-grid p,
.copyright {
  color: var(--muted);
  margin: 0;
}

.footer-grid p + p {
  margin-top: 0.55rem;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
}

.copyright {
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(36, 48, 44, 0.1);
}

.related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-header {
  padding: 3rem 0 2rem;
}

.article-body {
  display: grid;
  gap: 1.25rem;
}

.article-body section,
.cta {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.content-section {
  max-width: 820px;
}

.seo-hero {
  min-height: clamp(360px, 48vh, 520px);
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.48) 54%, rgba(18, 27, 23, 0.28)),
    url("/static/img/hero-conseil-location-voiture-madagascar.jpg");
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 820px);
  gap: clamp(1.25rem, 3vw, 2rem);
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  align-items: start;
}

.seo-summary {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.seo-summary a {
  padding: 0.45rem 0;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid rgba(221, 216, 202, 0.72);
}

.seo-summary a:last-child {
  border-bottom: 0;
}

.seo-summary a:hover,
.seo-summary a:focus {
  color: var(--accent-dark);
}

.seo-article {
  width: 100%;
}

.seo-article .content-section,
.seo-article .cta {
  max-width: none;
}

.destination-list {
  columns: 2;
  column-gap: 2rem;
}

.nav-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-card {
  padding: 0;
  background: var(--surface-soft);
  border: 1px solid rgba(221, 216, 202, 0.86);
  border-radius: 8px;
}

.nav-card-link {
  display: block;
  height: 100%;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.nav-card-link:hover,
.nav-card-link:focus {
  color: inherit;
}

.internal-links .nav-card-active {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f7f5ef);
  border-color: rgba(31, 122, 90, 0.28);
  box-shadow: 0 12px 28px rgba(36, 48, 44, 0.06);
}

.nav-card h3,
.nav-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.25;
}

.nav-card h4 {
  font-weight: 750;
}

.internal-links .nav-card-active h4 {
  color: var(--accent-dark);
}

.nav-card-current {
  position: absolute;
  top: -0.72rem;
  left: 0.85rem;
  padding: 0.16rem 0.5rem;
  background: #f2efe6;
  color: var(--accent-dark);
  border: 1px solid rgba(31, 122, 90, 0.18);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(36, 48, 44, 0.045);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.nav-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.editorial-nav {
  display: grid;
  gap: 1.35rem;
}

.editorial-nav .nav-card {
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.editorial-nav .nav-card:hover,
.editorial-nav .nav-card:focus-within {
  background: #ffffff;
  border-color: rgba(31, 122, 90, 0.28);
  box-shadow: 0 12px 28px rgba(36, 48, 44, 0.055);
  transform: translateY(-1px);
}

.editorial-nav .nav-card-link h4 {
  color: var(--text);
}

.editorial-nav .nav-card-link:hover h4,
.editorial-nav .nav-card-link:focus h4 {
  color: var(--accent-dark);
}

.editorial-nav-section {
  padding-top: 1rem;
  border-top: 1px solid rgba(221, 216, 202, 0.82);
}

.editorial-nav-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.editorial-nav-section > h3 {
  margin: 0 0 0.85rem;
  color: var(--accent-dark);
  font-size: 0.86rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.editorial-link-list,
.destination-link-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.editorial-link-list a,
.destination-link-list a {
  font-weight: 650;
  text-decoration: none;
}

.destination-link-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-page .article-header {
  width: min(900px, calc(100% - 2rem));
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.guide-page .article-body {
  width: min(900px, calc(100% - 2rem));
}

.guide-section {
  padding: clamp(1.35rem, 3vw, 1.8rem);
}

.destination-hero {
  min-height: clamp(360px, 50vh, 540px);
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-location-voiture-madagascar.jpg");
  background-position: center 52%;
}

.destination-hero .eyebrow {
  color: #e3dfd3;
}

.destination-hero.destination-arriver-a-ivato {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-ivatoaeroport-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-depart-antananarivo {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-antananarivo-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-nosy-be {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-nosybe-location-voiture-madagascar.jpg");
  background-position: center center;
}

.destination-hero.destination-diego-suarez {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-diegosuarez-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-tamatave {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-tamatave-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-majunga {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-desination-majunga-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-morondava {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-morondava-location-voiture-madagascar.jpg");
  background-position: center center;
}

.destination-hero.destination-fianarantsoa {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-fianarantsoa-location-voiture-madagascar.png");
  background-position: center center;
}

.destination-hero.destination-tulear {
  background-image:
    linear-gradient(90deg, rgba(24, 36, 31, 0.72), rgba(34, 49, 42, 0.46) 52%, rgba(34, 49, 42, 0.22)),
    url("/static/img/hero-destination-grandsud-locationvoiture-madagascar.png");
  background-position: center center;
}

.destination-hero .lead {
  max-width: 660px;
  color: #f3f0e8;
}

.destination-index-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 860px);
}

.destination-summary {
  background: rgba(251, 250, 246, 0.82);
}

.destination-summary a:hover,
.destination-summary a:focus {
  color: #4f6f48;
}

.destination-index-body .content-section,
.destination-index-body .cta {
  border-color: rgba(171, 184, 158, 0.66);
}

.destination-editorial-section {
  background: linear-gradient(180deg, #ffffff, #fafbf6);
}

.destination-explorer,
.destination-guides {
  background: #eef1e8;
}

.destination-nav-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.destination-nav-card {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(171, 184, 158, 0.76);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.destination-nav-card:hover,
.destination-nav-card:focus-within {
  background: #ffffff;
  border-color: rgba(79, 111, 72, 0.3);
  box-shadow: 0 12px 28px rgba(36, 48, 44, 0.055);
  transform: translateY(-1px);
}

.destination-nav-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.25;
}

.destination-nav-card .nav-card-link h3 {
  color: var(--text);
}

.destination-nav-card .nav-card-link:hover h3,
.destination-nav-card .nav-card-link:focus h3 {
  color: #4f6f48;
}

.destination-explorer .nav-card-active {
  background: linear-gradient(180deg, #ffffff, #f1f4eb);
  border-color: rgba(79, 111, 72, 0.36);
}

.destination-explorer .nav-card-active h3,
.destination-explorer .nav-card-current {
  color: #4f6f48;
}

.destination-detail-body .destination-section p + p {
  margin-top: 0.8rem;
}

.destination-detail-body .destination-section ul,
.destination-index-body .destination-editorial-section ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.destination-detail-body .destination-section li::marker,
.destination-index-body .destination-editorial-section li::marker {
  color: #4f6f48;
}

.destination-index-cta {
  background: #fcfdf8;
}

.destination-index-cta .button {
  background: #4f6f48;
}

.destination-index-cta .button:hover,
.destination-index-cta .button:focus {
  background: #405d3a;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.25rem, 6vw, 4.4rem);
}

h2 {
  font-size: 1.35rem;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.link-list {
  padding-left: 1.2rem;
}

.link-list li + li {
  margin-top: 0.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}


.guide-index-hero {
  min-height: clamp(360px, 50vh, 540px);
  background-image:
    linear-gradient(90deg, rgba(26, 31, 29, 0.7), rgba(42, 47, 43, 0.46) 52%, rgba(42, 47, 43, 0.22)),
    url("/static/img/hero-guide-location-voiture-madagascar.jpg");
  background-position: center 48%;
}

.guide-index-hero .eyebrow {
  color: #e5dfd0;
}

.guide-index-hero .lead {
  max-width: 640px;
  color: #f2efe7;
}

.guide-index-layout {
  grid-template-columns: minmax(220px, 280px) minmax(0, 860px);
}

.guide-summary {
  background: rgba(252, 250, 244, 0.82);
}

.guide-summary a:hover,
.guide-summary a:focus {
  color: #725326;
}

.guide-index-body .content-section,
.guide-index-body .cta {
  border-color: rgba(188, 177, 151, 0.62);
}

.guide-editorial-section {
  background: linear-gradient(180deg, #ffffff, #fbfaf5);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.guide-explorer {
  background: #f3f0e7;
}


.guide-nav-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-nav-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(188, 177, 151, 0.72);
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-nav-card:hover,
.guide-nav-card:focus-within {
  background: #ffffff;
  border-color: rgba(114, 83, 38, 0.28);
  box-shadow: 0 12px 28px rgba(36, 48, 44, 0.055);
  transform: translateY(-1px);
}

.guide-nav-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  line-height: 1.25;
}

.guide-nav-card .nav-card-link h3 {
  color: var(--text);
}

.guide-nav-card .nav-card-link:hover h3,
.guide-nav-card .nav-card-link:focus h3 {
  color: #725326;
}

.guide-explorer .nav-card-active {
  background: linear-gradient(180deg, #ffffff, #f7f2e7);
  border-color: rgba(114, 83, 38, 0.36);
}

.guide-explorer .nav-card-active h3,
.guide-explorer .nav-card-current {
  color: #725326;
}


.guide-detail-body .guide-section p + p {
  margin-top: 0.8rem;
}

.guide-detail-body .guide-section ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.guide-detail-body .guide-section li::marker {
  color: #725326;
}

.guide-index-cta {
  background: #fffdf8;
}

.guide-index-cta .button {
  background: #725326;
}

.guide-index-cta .button:hover,
.guide-index-cta .button:focus {
  background: #5d421d;
  color: #ffffff;
}


.search-hero {
  min-height: clamp(300px, 42vh, 460px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.4) 48%, rgba(18, 27, 23, 0.16)),
    url("/static/img/hero-route-location-voiture-madagascar.jpg");
  background-position: center 46%;
  background-size: cover;
  color: #ffffff;
}

.search-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.search-hero .eyebrow {
  color: #dbeee5;
}

.search-hero .lead {
  color: #eef5f1;
}

.legal-hero {
  min-height: clamp(340px, 48vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.42) 52%, rgba(18, 27, 23, 0.2)),
    url("/static/img/hero-route-location-voiture-madagascar.jpg");
  background-position: center 46%;
  background-size: cover;
  color: #ffffff;
}

.legal-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.legal-hero .eyebrow {
  color: #dbeee5;
}

.legal-hero .lead {
  max-width: 720px;
  color: #eef5f1;
}

.legal-body {
  width: min(900px, calc(100% - 2rem));
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.legal-body .content-section {
  max-width: none;
}

.legal-content {
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.legal-content h2:not(:first-child) {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
}

.legal-content p + p {
  margin-top: 0.8rem;
}

.sitemap-hero {
  min-height: clamp(320px, 44vh, 480px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.4) 50%, rgba(18, 27, 23, 0.16)),
    url("/static/img/hero-route-location-voiture-madagascar.jpg");
  background-position: center 46%;
  background-size: cover;
  color: #ffffff;
}

.sitemap-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.sitemap-hero .eyebrow {
  color: #dbeee5;
}

.sitemap-hero .lead {
  max-width: 720px;
  color: #eef5f1;
}

.sitemap-body {
  width: min(980px, calc(100% - 2rem));
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.sitemap-body .content-section {
  max-width: none;
}

.sitemap-content {
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.sitemap-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: 1.35rem;
}

.sitemap-section {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(221, 216, 202, 0.86);
  border-radius: 8px;
}

.sitemap-section h3 {
  margin: 0 0 0.65rem;
  font-size: 1.06rem;
}

.sitemap-list {
  display: grid;
  gap: 0.38rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-list a {
  color: var(--text);
  text-decoration: none;
}

.sitemap-list a:hover,
.sitemap-list a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

.privacy-hero {
  min-height: clamp(320px, 44vh, 480px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.4) 50%, rgba(18, 27, 23, 0.16)),
    url("/static/img/hero-route-location-voiture-madagascar.jpg");
  background-position: center 46%;
  background-size: cover;
  color: #ffffff;
}

.privacy-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.privacy-hero .eyebrow {
  color: #dbeee5;
}

.privacy-hero .lead {
  max-width: 720px;
  color: #eef5f1;
}

.privacy-body {
  width: min(900px, calc(100% - 2rem));
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.privacy-body .content-section {
  max-width: none;
}

.privacy-content {
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.privacy-content h2:not(:first-child) {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
}

.privacy-content p + p {
  margin-top: 0.8rem;
}

.about-hero {
  min-height: clamp(340px, 48vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.42) 52%, rgba(18, 27, 23, 0.2)),
    url("/static/img/hero-apropos--location-voiture-madagascar.jpg");
  background-position: center 50%;
  background-size: cover;
  color: #ffffff;
}

.about-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.about-hero .eyebrow {
  color: #dbeee5;
}

.about-hero .lead {
  max-width: 720px;
  color: #eef5f1;
}

.about-body {
  width: min(900px, calc(100% - 2rem));
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.about-body .content-section {
  max-width: none;
}

.about-content {
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.about-content h2:not(:first-child) {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
}

.about-content p + p {
  margin-top: 0.8rem;
}

.about-content ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
  margin: 0.9rem 0 1rem;
  color: var(--muted);
}

.contact-hero {
  min-height: clamp(340px, 48vh, 520px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(18, 27, 23, 0.68), rgba(18, 27, 23, 0.42) 52%, rgba(18, 27, 23, 0.2)),
    url("/static/img/hero-contact-location-voiture-madagascar.jpg");
  background-position: center 50%;
  background-size: cover;
  color: #ffffff;
}

.contact-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(18, 27, 23, 0.08);
  pointer-events: none;
}

.contact-hero .eyebrow {
  color: #dbeee5;
}

.contact-hero .lead {
  max-width: 720px;
  color: #eef5f1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  width: min(1080px, calc(100% - 2rem));
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  align-items: start;
}

.contact-form-panel,
.contact-info-panel,
.contact-content {
  padding: clamp(1.35rem, 3vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 48, 44, 0.045);
}

.contact-form-panel > p,
.contact-info-panel p,
.contact-content p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.form-field,
.form-field-grid {
  display: grid;
  gap: 0.45rem;
}

.form-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field-grid-phone {
  grid-template-columns: minmax(0, 1.05fr) minmax(105px, 0.5fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.form-field input[readonly] {
  background: #fbfaf6;
  color: var(--muted);
}

.form-field label {
  font-weight: 700;
}

.required-marker {
  margin-left: 0.18rem;
  color: var(--accent-dark);
  font-weight: 750;
}

.form-required-note {
  margin: -0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.62rem 0.72rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(31, 122, 90, 0.22);
  outline-offset: 2px;
  border-color: rgba(31, 122, 90, 0.38);
}

.errorlist {
  padding: 0;
  margin: 0.2rem 0 0;
  color: #8b2f24;
  font-size: 0.92rem;
  list-style: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-notice {
  padding: 0.85rem 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-weight: 650;
}

.form-notice p {
  margin: 0;
}

.form-notice-success {
  background: #edf6ef;
  color: #1f5d45;
  border: 1px solid rgba(31, 122, 90, 0.22);
}

.form-notice-warning {
  background: #fff8e8;
  color: #725326;
  border: 1px solid rgba(114, 83, 38, 0.22);
}

.form-notice-error {
  background: #fff0ec;
  color: #8b2f24;
  border: 1px solid rgba(139, 47, 36, 0.22);
}

.contact-body {
  width: min(900px, calc(100% - 2rem));
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-body .content-section {
  max-width: none;
}

.contact-content h2:not(:first-child) {
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
}

.contact-content h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.contact-content p + p {
  margin-top: 0.8rem;
}

.contact-content ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.15rem;
  margin: 0.9rem 0 1rem;
  color: var(--muted);
}

.search-body {
  width: min(900px, calc(100% - 2rem));
}

.search-page-form {
  padding: clamp(1.1rem, 3vw, 1.5rem);
  margin-bottom: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36, 48, 44, 0.045);
}

.search-page-form label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.search-page-form div {
  display: flex;
  gap: 0.55rem;
}

.search-results-list {
  display: grid;
  gap: 0.85rem;
}

.search-result-card {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(221, 216, 202, 0.86);
  border-radius: 8px;
}

.search-result-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.search-result-card h3 a {
  color: var(--text);
  text-decoration: none;
}

.search-result-card h3 a:hover,
.search-result-card h3 a:focus {
  color: var(--accent-dark);
}

.search-result-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}


@media (max-width: 760px) {
  .hero-home {
    min-height: 430px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-route-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .seo-hero {
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-conseil-location-voiture-madagascar.jpg");
  }

  .search-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-route-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .legal-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-route-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .sitemap-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-route-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .privacy-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-route-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .about-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-apropos--location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .contact-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(18, 27, 23, 0.72), rgba(18, 27, 23, 0.44)),
      url("/static/img/hero-contact-location-voiture-madagascar.jpg");
    background-position: center center;
  }


  .guide-index-hero {
    background-image:
      linear-gradient(180deg, rgba(26, 31, 29, 0.72), rgba(42, 47, 43, 0.46)),
      url("/static/img/hero-guide-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .destination-hero {
    background-image:
      linear-gradient(180deg, rgba(24, 36, 31, 0.74), rgba(34, 49, 42, 0.48)),
      url("/static/img/hero-destination-location-voiture-madagascar.jpg");
    background-position: center center;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    flex-flow: row wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .brand-logo {
    height: 52px;
    max-width: min(252px, calc(100vw - 6.5rem));
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-basis: 100%;
    order: 3;
    width: 100%;
    gap: 0;
    padding: 0.35rem 0 0.2rem;
    border-top: 1px solid rgba(221, 216, 202, 0.78);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav .nav-item {
    display: block;
  }

  .site-nav a,
  .site-nav .nav-item > a {
    display: block;
    padding: 0.62rem 0;
    font-size: 0.97rem;
    border-bottom: 1px solid rgba(221, 216, 202, 0.56);
  }

  .site-nav a::after,
  .nav-item > a::after {
    display: none;
  }

  .language-switcher {
    display: grid;
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(221, 216, 202, 0.56);
  }

  .language-switcher__button {
    justify-content: flex-start;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.45rem 0;
    border: 0;
    border-radius: 0;
  }

  .language-switcher__menu {
    position: static;
    min-width: 0;
    margin-top: 0.25rem;
    padding: 0.2rem 0;
    border: 0;
    box-shadow: none;
  }

  .language-switcher__menu a {
    padding: 0.55rem 0;
    border-radius: 0;
  }

  .header-search {
    display: grid;
    width: 100%;
    padding-top: 0.3rem;
  }

  .search-toggle {
    justify-content: flex-start;
    width: 100%;
    height: auto;
    min-height: 2.4rem;
    padding: 0.55rem 0;
    border: 0;
    border-bottom: 1px solid rgba(221, 216, 202, 0.56);
    border-radius: 0;
  }

  .search-toggle::after {
    margin-left: 0.65rem;
    content: "Recherche";
    font-size: 0.97rem;
    font-weight: 600;
  }

  html[lang="en"] .search-toggle::after {
    content: "Search";
  }

  .header-search-form {
    position: static;
    width: 100%;
    margin-top: 0.45rem;
    box-shadow: none;
  }

  .site-nav > a:last-of-type,
  .site-nav .nav-item:last-child > a {
    border-bottom: 0;
  }

  .search-page-form div {
    display: grid;
  }

  .two-columns,
  .three-columns,
  .intro-grid,
  .footer-grid,
  .related-grid,
  .seo-layout,
  .contact-layout,
  .form-field-grid,
  .form-field-grid-phone,
  .nav-card-grid,
  .sitemap-sections {
    grid-template-columns: 1fr;
  }

  .seo-summary {
    position: static;
  }

  .destination-list {
    columns: 1;
  }
}
