/* ═══ Cap Expatriation V4 — Design Overrides ═══
   Identity: paper airplane + dotted trails + handwritten
   ═══════════════════════════════════════════════ */

/* ── ADMIN BAR FIX ── */
.admin-bar .nav {
  top: 48px;
}
@media (max-width: 782px) {
  .admin-bar .nav {
    top: 54px;
  }
}

/* ── GLOBAL SPACING TIGHTENING ── */
:root {
  --section-pad: clamp(48px, 7vw, 80px);
}

/* ── HEADER: Bigger cartouche ── */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1140px;
  z-index: 1000;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__cartouche {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(253, 248, 241, 0.82);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-radius: 10px;
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav--scrolled .nav__cartouche {
  background: rgba(253, 248, 241, 0.96);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.08);
}
.nav__inner {
  display: contents;
}

/* ── Logo bigger ── */
.nav__logo {
  font-size: 1.15rem;
  gap: 10px;
}
.nav__plane {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.nav__logo:hover .nav__plane {
  transform: rotate(-8deg) translateX(2px);
}

/* ── NAV links ── */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links a,
.nav__dropdown-trigger {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover,
.nav__dropdown-trigger:hover {
  background: rgba(173, 69, 38, 0.08);
  color: var(--accent);
}
.nav__cta {
  background: var(--ink) !important;
  color: var(--parchemin) !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 500;
}
.nav__cta:hover {
  background: var(--accent) !important;
}

/* ── Mega-menu: simplified top-10 grid ── */
.nav__mega {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 10px;
  background: rgba(253, 248, 241, 0.97);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(26, 26, 26, 0.06);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.06);
  padding: 0;
  overflow: hidden;
  width: 480px;
  min-width: auto;
}
.nav__dropdown.is-open .nav__mega {
  display: block;
}
.nav__mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 8px;
}
.nav__mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.15s;
}
.nav__mega-item:hover {
  background: rgba(173, 69, 38, 0.06);
  color: var(--accent);
}
.nav__mega-flag {
  font-size: 1.3rem;
  line-height: 1;
}
.nav__mega-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  text-align: center;
}
.nav__mega-all {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.nav__mega-all:hover {
  text-decoration: underline;
}
/* Profils mega-menu: narrower, single column */
.nav__mega--profils {
  width: 280px;
}
.nav__mega--profils .nav__mega-grid {
  grid-template-columns: 1fr;
}

/* Hide old mega-menu elements */
.nav__mega-col,
.nav__mega-title {
  display: none;
}

/* ── HERO spacing fix ── */
.hero {
  padding: clamp(72px, 8vw, 100px) 24px clamp(32px, 4vw, 48px);
}

/* ── Hero trail watermark ── */
.hero__trail-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__compass-bg {
  display: none;
}

/* ── Remove section-label eyebrows ── */
.section-label {
  display: none;
}

/* ── TRUST BAR ── */
.stats { display: none; }

.trust-bar {
  padding: 0 24px;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}
.trust-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-radius: 10px;
  padding: 20px 32px;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.03),
    0 4px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(26, 26, 26, 0.04);
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
}
.trust-bar__item > div {
  display: flex;
  flex-direction: column;
}
.trust-bar__icon-svg {
  flex-shrink: 0;
}
.trust-bar__icon {
  display: none;
}
.trust-bar__number {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1.1;
}
.trust-bar__label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.trust-bar__sep {
  width: 1px;
  height: 32px;
  background: rgba(26, 26, 26, 0.08);
  margin: 0 16px;
  flex-shrink: 0;
}

/* ── AIRPLANE PATHS ── */
.airplane-path {
  height: 48px;
  margin: -8px 0;
}

/* ── COUNTRY CARDS ── */
.country-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.country-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
}
.country-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 1.6rem;
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}
.country-card__badge {
  display: none;
}
.country-card__tags {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── COMING SOON countries ── */
.destinations__coming {
  text-align: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dashed rgba(26, 26, 26, 0.1);
}
.destinations__coming-label {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.destinations__coming-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.coming-country {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 10px;
  border: 1px dashed rgba(26, 26, 26, 0.12);
  font-size: 0.85rem;
  color: var(--ink-muted);
  background: rgba(253, 248, 241, 0.5);
}
.coming-country__flag {
  font-size: 1.1rem;
}

/* ── GUIDE CARDS ── */
.guide-card__cover {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.guide-card__cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.guide-card__flag {
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.guide-card__country {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-top: 4px;
}

/* ── SECTION tightening ── */
.destinations__header {
  margin-bottom: 32px;
}
.destinations__cta {
  margin-top: 36px;
}
.boutique__desc {
  margin-bottom: 36px;
}

/* ── FOOTER ── */
.footer {
  background: var(--ink);
  color: rgba(253, 248, 241, 0.8);
  padding: 48px 24px 24px;
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(253, 248, 241, 0.1);
}
.footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--parchemin);
  text-decoration: none;
  font-weight: 500;
}
.footer__logo em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}
.footer__plane path {
  stroke: var(--accent);
}
.footer__about {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(253, 248, 241, 0.55);
  max-width: 300px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 248, 241, 0.4);
  margin-bottom: 2px;
}
.footer__col a {
  font-size: 0.88rem;
  color: rgba(253, 248, 241, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--accent);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}
.footer__copy {
  font-size: 0.78rem;
  color: rgba(253, 248, 241, 0.35);
}
.footer__love {
  font-size: 0.78rem;
  color: rgba(253, 248, 241, 0.35);
}
.footer__brand,
.footer__tagline,
.footer__nav {
  display: none;
}

/* ── PAGE HERO (Persona & Resources pages) ── */
.page-hero {
  padding: clamp(100px, 12vw, 140px) 24px clamp(40px, 5vw, 60px);
  text-align: center;
  background: var(--parchemin);
  position: relative;
}
.page-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero__title em {
  font-style: italic;
  color: var(--accent);
}
.page-hero__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── PERSONA PAGES ── */
.persona-concerns,
.persona-countries,
.resources {
  padding: var(--section-pad) 24px;
}
.persona-concerns__inner,
.persona-countries__inner,
.resources__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.persona-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  color: var(--ink);
}
.persona-section-title em {
  font-style: italic;
  color: var(--accent);
}
.persona-section-desc {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Concern cards grid */
.persona-concerns__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.concern-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s, transform 0.2s;
}
.concern-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.concern-card__icon {
  margin-bottom: 16px;
}
.concern-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.concern-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

/* Persona country cards */
.persona-countries__grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.persona-country-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid rgba(26, 26, 26, 0.05);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.persona-country-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(173, 69, 38, 0.15);
}
.persona-country-card__flag {
  font-size: 2rem;
  flex-shrink: 0;
}
.persona-country-card__info {
  flex: 1;
  min-width: 0;
}
.persona-country-card__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 2px;
}
.persona-country-card__why {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.4;
}
.persona-country-card__arrow {
  flex-shrink: 0;
  opacity: 0.3;
  transition: opacity 0.2s, transform 0.2s;
}
.persona-country-card:hover .persona-country-card__arrow {
  opacity: 0.7;
  transform: translateX(3px);
}

/* Persona CTA */
.persona-cta,
.resources-cta {
  padding: var(--section-pad) 24px;
  text-align: center;
  background: var(--ink);
  color: var(--parchemin);
}
.persona-cta__inner,
.resources-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}
.persona-cta__title,
.resources-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--parchemin);
}
.persona-cta__title em,
.resources-cta__title em {
  font-style: italic;
  color: var(--accent);
}
.persona-cta__desc,
.resources-cta__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(253, 248, 241, 0.7);
  margin-bottom: 28px;
}
.persona-cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn--outline {
  background: transparent;
  border: 1px solid rgba(253, 248, 241, 0.3);
  color: var(--parchemin);
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn--outline:hover {
  background: rgba(253, 248, 241, 0.1);
  border-color: rgba(253, 248, 241, 0.5);
}

/* ── RESOURCES PAGE ── */
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px 24px;
  border: 1px solid rgba(26, 26, 26, 0.05);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.resource-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.resource-card__icon {
  margin-bottom: 16px;
}
.resource-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.resource-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}
.resource-card__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  background: rgba(173, 69, 38, 0.08);
  border-radius: 999px;
  align-self: flex-start;
}
.resource-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.resource-card__link:hover {
  text-decoration: underline;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav__mega {
    width: 400px;
  }
  .trust-bar__inner {
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 20px;
  }
  .trust-bar__item { flex: 0 0 calc(50% - 24px); }
  .trust-bar__sep { display: none; }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .persona-concerns__grid,
  .resources__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    top: 8px;
    width: calc(100% - 24px);
  }
  .admin-bar .nav {
    top: 46px;
  }
  .nav__cartouche {
    padding: 10px 16px;
    flex-wrap: wrap;
  }
  .nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(26, 26, 26, 0.06);
    margin-top: 8px;
    gap: 2px;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a,
  .nav__dropdown-trigger {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
  }
  .nav__toggle {
    display: flex !important;
  }
  .nav__mega {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--cream);
    border-radius: 8px;
    margin-top: 4px;
  }
  .nav__dropdown.is-open .nav__mega {
    display: block;
    transform: none;
  }
  .nav__mega-grid {
    grid-template-columns: 1fr;
    padding: 4px;
  }
  .nav__mega--profils {
    width: 100%;
  }
  .nav__mega--profils .nav__mega-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav__mega-item {
    padding: 8px 12px;
  }

  .hero {
    padding-top: clamp(70px, 10vw, 90px);
  }

  .trust-bar {
    margin-top: -12px;
  }
  .trust-bar__inner {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
  .trust-bar__item {
    justify-content: flex-start;
    width: 100%;
  }

  .destinations__coming-list {
    gap: 8px;
  }
  .coming-country {
    padding: 5px 12px;
    font-size: 0.8rem;
  }

  .persona-concerns__grid,
  .resources__grid {
    grid-template-columns: 1fr;
  }
  .persona-country-card {
    padding: 14px 16px;
  }
  .persona-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  .footer {
    padding: 36px 24px 20px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ── Cart icon in nav ── */
.nav__logo { order: 1; }
.nav__links { order: 2; }
.nav__cart { order: 3; }
.nav__toggle { order: 4; }
.nav__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 6px;
  border-radius: 8px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav__cart:hover { background: rgba(173, 69, 38, 0.08); color: var(--accent); }
.nav__cart-count {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
@media (max-width: 768px) {
  .nav__cart { order: 2; margin-left: auto; margin-right: 4px; }
  .nav__toggle { order: 3; }
  .nav__links { order: 4; }
}

/* ═══════════════════════════════════════════════════════════
   V5 — Identité « plan de vol » : avion en papier + trajectoires
   ═══════════════════════════════════════════════════════════ */

/* WordPress adds body.blog on the homepage (latest posts): the .blog section rule
   was padding the whole <body>, boxing every full-width band. */
body.blog { padding: 0; background: var(--parchemin); }

/* Charte : arrondis 10px partout */
.btn, .btn--outline, .resource-card__tag { border-radius: 10px; }
.btn--ghost-light {
  background: transparent;
  color: var(--parchemin);
  border: 1.5px solid rgba(253, 248, 241, 0.35);
}
.btn--ghost-light:hover { background: rgba(253, 248, 241, 0.1); border-color: rgba(253, 248, 241, 0.7); color: var(--parchemin); }

/* ── Flight path component ── */
.flight {
  --fly-end: 58;
  position: relative;
  height: clamp(120px, 15vw, 190px);
  margin: -36px 0;
  pointer-events: none;
  z-index: 2;
}
.flight__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flight__ghost {
  stroke: var(--accent);
  stroke-opacity: 0.18;
  stroke-width: 2;
  stroke-dasharray: 1 12;
  stroke-linecap: round;
}
.flight__trail {
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-dasharray: 0.5 15;
  stroke-linecap: round;
}
.flight__reveal {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.45, 0, 0.25, 1);
}
.flight--hero .flight__reveal,
.flight--home .flight__reveal { transition-duration: 3.4s; }
.flight.is-flying .flight__reveal { stroke-dashoffset: var(--fly-end); }
.flight__origin { fill: var(--accent); }
.flight__origin-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-dasharray: 3 4;
  transform-box: fill-box;
  transform-origin: center;
  animation: flight-pulse 2.4s ease-in-out infinite;
}
@keyframes flight-pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.35; }
  50% { transform: scale(1.2); opacity: 0.9; }
}
.flight__plane {
  opacity: 0;
  transition: opacity 0.2s;
  filter: drop-shadow(0 8px 10px rgba(26, 26, 26, 0.22));
}
.flight.is-flying .flight__plane { opacity: 1; }
.flight__label {
  position: absolute;
  bottom: 18px;
  left: max(24px, 7%);
  font-family: var(--font-hand);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  transform: rotate(-3deg);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.6s 1s, translate 0.6s 1s;
}
.flight--2 .flight__label { left: auto; right: max(24px, 7%); top: 14px; bottom: auto; transform: rotate(3deg); }
.flight.is-flying .flight__label { opacity: 1; translate: 0 0; }

/* Homepage hero: big loop behind the collage */
.hero { position: relative; }
.hero .flight--home {
  position: absolute;
  inset: 0;
  height: auto;
  margin: 0;
  z-index: 0;
}
.hero__inner, .hero__scroll { position: relative; z-index: 1; }

/* Footer: the plane takes off over the dark band */
.footer { position: relative; }
.footer .flight--footer {
  position: absolute;
  left: 0;
  right: 0;
  top: -64px;
  height: 140px;
  margin: 0;
}
.footer .flight--footer .flight__ghost { stroke-opacity: 0.25; }
.footer__inner { position: relative; z-index: 3; }
.footer { padding-top: 88px; }

/* Section titles: dotted trail + plane under the accent word */
.destinations__title em,
.boutique__title em,
.comparateur__title em,
.blog__title em,
.newsletter__title em,
.hero__title-accent {
  position: relative;
  display: inline-block;
}
.hero__title-accent::after { display: none; }
.destinations__title em::before,
.boutique__title em::before,
.comparateur__title em::before,
.blog__title em::before,
.newsletter__title em::before,
.hero__title-accent::before {
  content: '';
  position: absolute;
  left: 2px;
  right: 34px;
  bottom: -0.16em;
  height: 6px;
  background: radial-gradient(circle, var(--accent) 1.7px, transparent 2.2px) left center / 11px 6px repeat-x;
  pointer-events: none;
}
.destinations__title em::after,
.boutique__title em::after,
.comparateur__title em::after,
.blog__title em::after,
.newsletter__title em::after,
.hero__title-accent::after {
  content: '';
  display: block;
  left: auto;
  position: absolute;
  right: 0;
  bottom: calc(-0.16em - 9px);
  width: 30px;
  height: 24px;
  opacity: 1;
  border-radius: 0;
  transform: rotate(-14deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 42'%3E%3Cpath d='M2 21 L50 2 L36 40 L26 27 Z' fill='%23ad4526'/%3E%3Cpath d='M26 27 L50 2 L19 24 Z' fill='%237d2f19'/%3E%3Cpath d='M26 27 L23 37 L19 24 Z' fill='%235c2212'/%3E%3C/svg%3E") center / contain no-repeat;
}
.boutique__title em::before { background-image: radial-gradient(circle, #e0795a 1.7px, transparent 2.2px); }

/* Existing persona / resources headers: bolder, with a flight loop */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(130px, 15vw, 180px);
  padding-bottom: clamp(70px, 9vw, 110px);
  border-bottom: 1.5px dashed rgba(173, 69, 38, 0.35);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M-30,370 C 60,372 150,350 190,300 C 230,250 190,210 150,230 C 110,250 130,320 220,352 C 380,378 700,378 880,358 C 980,342 1010,290 1000,230 C 992,180 1005,145 1040,120' fill='none' stroke='%23ad4526' stroke-width='4.5' stroke-linecap='round' stroke-dasharray='0.5 15'/%3E%3Cg transform='translate(1040 120) translate(-26 -20)'%3E%3Cpath d='M2 21 L50 2 L36 40 L26 27 Z' fill='%23ad4526'/%3E%3Cpath d='M26 27 L50 2 L19 24 Z' fill='%237d2f19'/%3E%3Cpath d='M26 27 L23 37 L19 24 Z' fill='%235c2212'/%3E%3C/g%3E%3Ccircle cx='30' cy='371' r='7' fill='%23ad4526'/%3E%3C/svg%3E") center / cover no-repeat;
  opacity: 0.9;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.6rem, 6.5vw, 4.6rem); line-height: 1.04; }
.page-hero__title em {
  font-family: var(--font-hand);
  font-style: normal;
  font-size: 1.08em;
  padding-bottom: 0.08em;
  background: radial-gradient(circle, var(--accent) 1.7px, transparent 2.2px) left bottom / 11px 6px repeat-x;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 768px) {
  .flight { height: 110px; margin: -28px 0; }
  .flight__label { bottom: 6px; font-size: 1.15rem; }
  .hero .flight--home { opacity: 0.35; }
  .footer .flight--footer { top: -48px; height: 100px; }
  .footer { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .flight__reveal { transition: none; }
  .flight__origin-ring { animation: none; }
  .flight__label { transition: none; }
}

/* Outline button: ink on light backgrounds (V4 had made it light everywhere → invisible in heroes) */
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26, 26, 26, 0.35);
  padding: 14px 28px;
}
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--parchemin); }
.boutique .btn--outline,
.country-cta .btn--outline,
.subpage-cta .btn--outline,
.persona-cta .btn--outline,
.resources-cta .btn--outline,
.pg-cta .btn--outline {
  color: var(--parchemin);
  border-color: rgba(253, 248, 241, 0.35);
}
.boutique .btn--outline:hover,
.country-cta .btn--outline:hover,
.subpage-cta .btn--outline:hover,
.persona-cta .btn--outline:hover,
.resources-cta .btn--outline:hover,
.pg-cta .btn--outline:hover {
  background: rgba(253, 248, 241, 0.1);
  border-color: rgba(253, 248, 241, 0.7);
  color: var(--parchemin);
}

/* Country pages: the guide CTA becomes a full-bleed dark band (was an 800px card) */
.country-cta { padding: 0; margin-bottom: 0; }
.country-cta__inner {
  max-width: none;
  border-radius: 0;
  padding: clamp(80px, 11vw, 130px) 24px;
}
.country-cta__inner > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.country-cta + .related-countries { padding-top: var(--section-pad); }
