/* ============================================================
   TRANSFERT AÉROPORT — styles dédiés
   Identité : aérien — hero plein cadre, pastilles, cartes IATA, split
   ============================================================ */

/* ---------- HERO plein cadre (texte bas-gauche sur image) ---------- */
.ta-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  min-height: 620px;
  background: var(--text-hi);
  overflow: hidden;
}

/* ---------- HERO BG : image colonne droite (restaure) ---------- */
.ta-hero-bg {
  position: relative;
  overflow: hidden;
}
.ta-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--text-hi) 0%, rgba(10,10,10,0.35) 28%, rgba(10,10,10,0) 55%);
  z-index: 1;
}
.ta-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 700px) {
  .ta-hero { min-height: 520px; align-items: flex-end; }
  
}

/* ---------- PASTILLES DE RÉASSURANCE ---------- */
.ta-pills {
  background: #fff;
  border-bottom: 1px solid rgba(10,10,10,0.06);
}
.ta-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 22px 0;
}
.ta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
}
.ta-pill svg { width: 17px; height: 17px; stroke: var(--accent); fill: none; flex-shrink: 0; }
@media (max-width: 700px) {
  .ta-pills-row { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 18px 20px; -webkit-overflow-scrolling: touch; }
}

/* ---------- NARRATIF (avant de décoller) ---------- */
.ta-narrative { max-width: 760px; }
.ta-narrative h2 { margin: 14px 0 20px; }
.ta-narrative p { font-size: 1.05rem; line-height: 1.75; color: var(--text-mid); }
.ta-narrative p + p { margin-top: 14px; }

/* ---------- ZONES ---------- */
.ta-zone-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-hi);
  margin: 40px 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ta-zone-title::after { content: ""; flex: 1; height: 1px; background: rgba(10,10,10,0.08); }
.section-head + .ta-zone-title { margin-top: 8px; }

/* ---------- CARTES AÉROPORT (badge IATA circulaire) ---------- */
.ta-airport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}
.ta-airport-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 14px;
  padding: 18px;
}
.ta-airport-code {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--text-hi);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.02em;
}
.ta-airport-info { flex: 1; min-width: 0; }
.ta-airport-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ta-airport-top h4 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0;
}
.ta-airport-flag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 2px 7px;
  border-radius: 5px;
}
.ta-airport-desc { font-size: 0.85rem; color: var(--text-low); margin: 4px 0 8px; }
.ta-airport-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.85rem; color: var(--text-mid); }
.ta-airport-meta .sep { color: rgba(10,10,10,0.25); }
.ta-airport-price { font-family: var(--font-display); font-weight: 700; color: var(--text-hi); }
.ta-airport-price span { color: var(--accent); }
.ta-price-disclaimer { margin-top: 26px; font-size: 0.86rem; color: var(--text-low); max-width: 640px; }

/* ---------- SPLIT DÉPART / ARRIVÉE ---------- */
.ta-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ta-split-col {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 16px;
  padding: 30px 28px;
}
.ta-split-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.ta-split-col h3 { font-size: 1.15rem; margin-bottom: 12px; }
.ta-split-col p { color: var(--text-mid); line-height: 1.7; font-size: 0.98rem; }
.ta-split-col p + p { margin-top: 12px; }
@media (max-width: 800px) {
  .ta-split { grid-template-columns: 1fr; }
}

/* ---------- CAS PARTICULIERS ---------- */
.ta-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ta-case-card {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 14px;
  padding: 26px 22px;
}
.ta-case-card svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; margin-bottom: 14px; }
.ta-case-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ta-case-card p { color: var(--text-mid); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 900px) { .ta-cases-grid { grid-template-columns: 1fr; } }

/* ---------- TARIFICATION ---------- */
.ta-pricing { max-width: 700px; }
.ta-pricing p { font-size: 1.02rem; line-height: 1.75; color: var(--text-mid); }
.ta-pricing p + p { margin-top: 14px; }
.ta-pricing .btn { margin-top: 22px; }

/* ============================================================
   CORPS DE PAGE — regles manquantes (sections, sommaire,
   tableaux, encadres, listes, checklist)
   ============================================================ */

/* ---------- SOMMAIRE ---------- */
.ta-toc {
  padding: 56px 0 8px;
}
.ta-toc .container { max-width: 780px; }
.ta-toc h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mid);
  margin-bottom: 20px;
}
.ta-toc-list {
  list-style: none;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.ta-toc-list li { counter-increment: toc; }
.ta-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: var(--text-hi);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.45;
  transition: background .18s ease, color .18s ease;
}
.ta-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  opacity: .75;
}
.ta-toc-list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---------- SECTIONS ---------- */
.ta-section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.ta-section .container { max-width: 820px; }
.ta-section-alt { background: var(--surface-alt, #f7f7f5); }
.ta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.22;
  margin-bottom: 24px;
}
.ta-section h3 {
  font-size: 1.22rem;
  line-height: 1.35;
  margin: 38px 0 12px;
}
.ta-section p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text-mid);
}
.ta-section p + p { margin-top: 14px; }
.ta-section .btn { margin-top: 26px; }

/* ---------- LISTES ---------- */
.ta-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ta-list li {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.ta-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.ta-list strong { color: var(--text-hi); }

/* ---------- CHECKLIST ---------- */
.ta-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ta-checklist li {
  position: relative;
  padding: 14px 16px 14px 46px;
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e6e2);
  border-radius: var(--r-md);
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text-mid);
}
.ta-checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 1.15em;
  width: 15px;
  height: 9px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.ta-checklist strong {
  display: block;
  color: var(--text-hi);
  margin-bottom: 2px;
}

/* ---------- TABLEAUX ---------- */
.ta-table-wrap {
  margin: 24px 0 8px;
  overflow-x: auto;
  border: 1px solid var(--line, #e6e6e2);
  border-radius: var(--r-md);
  background: var(--card, #fff);
  -webkit-overflow-scrolling: touch;
}
.ta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 560px;
}
.ta-table thead th {
  background: var(--text-hi);
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: left;
  padding: 13px 18px;
  white-space: nowrap;
}
.ta-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line, #e6e6e2);
  color: var(--text-mid);
  line-height: 1.6;
  vertical-align: top;
}
.ta-table tbody tr:nth-child(even) { background: rgba(0,0,0,.015); }
.ta-table td:first-child {
  color: var(--text-hi);
  font-weight: 600;
  white-space: nowrap;
}
.ta-table strong { color: var(--text-hi); }

/* ---------- ENCADRES ---------- */
.ta-callout {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}
.ta-callout-title {
  margin: 0 0 6px !important;
  font-weight: 700;
  font-size: .78rem !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--accent) !important;
}
.ta-callout p {
  margin: 0;
  font-size: .97rem !important;
  line-height: 1.7 !important;
  color: var(--text-mid);
}
.ta-callout-info {
  border-left-color: var(--accent);
  background: var(--accent-soft);
}
.ta-callout-info .ta-callout-title { color: var(--accent) !important; }
.ta-callout-tip {
  border-left-color: var(--amber, #c98a2b);
  background: var(--amber-dim, rgba(201,138,43,.08));
}
.ta-callout-tip .ta-callout-title { color: var(--amber, #c98a2b) !important; }

/* ---------- NOTE / HIGHLIGHT ---------- */
.ta-note {
  margin-top: 14px !important;
  font-size: .88rem !important;
  line-height: 1.65 !important;
  color: var(--text-low, #8a8a84) !important;
}
.ta-highlight {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: var(--text-hi);
  color: #fff;
}
.ta-highlight p {
  margin: 0;
  font-size: 1.04rem !important;
  line-height: 1.7 !important;
  color: rgba(255,255,255,.86) !important;
}
.ta-highlight strong { color: #fff; }

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .ta-section { padding: 52px 0; }
  .ta-toc { padding: 40px 0 4px; }
  .ta-table { min-width: 480px; }
  .ta-table thead th,
  .ta-table td { padding: 11px 14px; }
}

/* ---------- HERO : adaptation a la structure HTML reelle ----------
   Le HTML place .container directement dans .ta-hero (pas de wrapper
   .ta-hero-content). L'image .ta-hero-bg est le 2e enfant -> colonne droite. */
.ta-hero > .container {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
  margin: 0;
  padding: 132px 40px 64px 0;
  justify-self: end;
  width: 100%;
}
.ta-hero > .container .eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin: 0 0 18px;
}
.ta-hero > .container h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.1;
  margin: 0 0 20px;
}
.ta-hero > .container .lead {
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 18px;
}
.ta-hero > .container p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 0 12px;
  max-width: 54ch;
}
.ta-hero > .container .btn { margin-top: 14px; }
.ta-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .ta-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .ta-hero-bg {
    order: -1;
    height: 260px;
  }
  .ta-hero-bg::before {
    background: linear-gradient(180deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.55) 100%);
  }
  .ta-hero > .container {
    max-width: 100%;
    justify-self: stretch;
    padding: 36px var(--gutter, 20px) 48px;
  }
}

/* ============================================================
   FAQ — structure <details>/<summary> (propre aux pages transfert)
   Selecteurs cibles sur .faq-list pour ne pas toucher les FAQ
   <button> des autres pages, qui vivent dans global.css.
   ============================================================ */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.faq-list details.faq-item {
  background: var(--card, #fff);
  border: 1px solid var(--line, #e6e6e2);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details.faq-item[open] {
  border-color: var(--accent-line, rgba(20,120,80,.35));
  box-shadow: 0 2px 14px rgba(0,0,0,.05);
}
.faq-list details.faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display, inherit);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-hi);
  transition: color .18s ease;
}
/* masquer le marqueur natif (fleche) */
.faq-list details.faq-item > summary::-webkit-details-marker { display: none; }
.faq-list details.faq-item > summary::marker { content: ""; }
.faq-list details.faq-item > summary:hover { color: var(--accent); }
/* chevron */
.faq-list details.faq-item > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.faq-list details.faq-item[open] > summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.faq-list details.faq-item[open] > summary { color: var(--accent); }
.faq-list .faq-answer {
  padding: 0 22px 20px;
  animation: faqReveal .26s ease;
}
.faq-list .faq-answer p {
  margin: 0;
  font-size: .98rem !important;
  line-height: 1.75 !important;
  color: var(--text-mid) !important;
}
.faq-list .faq-answer p + p { margin-top: 10px; }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .faq-list details.faq-item > summary { padding: 15px 17px; font-size: .97rem; }
  .faq-list .faq-answer { padding: 0 17px 17px; }
}

/* ---------- HERO : ajustements taille de police + espace header ----------
   Les H1 de ces pages sont longs (54 a 81 caracteres selon la langue).
   On reduit la taille et on degage l'espace sous le header fixe. */
.ta-hero > .container {
  padding-top: calc(var(--header-h, 72px) + 56px);
}
.ta-hero > .container h1 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.ta-hero > .container .lead {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.5;
}
.ta-hero > .container p {
  font-size: .96rem;
  line-height: 1.68;
}

/* Tablette */
@media (max-width: 1100px) {
  .ta-hero > .container h1 { font-size: clamp(1.5rem, 3vw, 2rem); }
}

/* Mobile : le H1 doit rester lisible sans occuper la moitie de l'ecran */
@media (max-width: 900px) {
  .ta-hero > .container {
    padding-top: 34px;
  }
  .ta-hero > .container h1 {
    font-size: clamp(1.38rem, 5.4vw, 1.75rem);
    line-height: 1.18;
  }
  .ta-hero > .container .lead { font-size: 1rem; }
  .ta-hero > .container p { font-size: .93rem; line-height: 1.62; }
}
@media (max-width: 400px) {
  .ta-hero > .container h1 { font-size: 1.3rem; }
}

/* Palier tablette basse : eviter que le H1 plafonne trop haut
   quand il occupe toute la largeur */
@media (max-width: 900px) and (min-width: 601px) {
  .ta-hero > .container h1 { font-size: clamp(1.5rem, 3.4vw, 1.85rem); }
}
