/* ==========================================================================
   ALLIANCE HIERA | TURQUIE — Feuille de style principale
   Palette : Navy #1a2f5c · Or/Ochre #c9a227 · Crème #f8f6f2
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy: #1a2f5c;
  --navy-dark: #101d3a;
  --navy-soft: #24406f;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --cream: #f8f6f0;
  --cream-deep: #f1ecdf;
  --white: #ffffff;
  --ink: #1d2430;
  --grey: #5b6472;
  --grey-light: #8b93a1;
  --border: #e4ddc9;
  --shadow: 0 18px 40px -20px rgba(26, 47, 92, 0.35);
  --radius: 4px;
  --max-width: 1180px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.lede {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 640px;
}

/* --- Signature divider, echoing the original brand motif ─── ✦ ─── --- */
.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 32px;
  color: var(--gold);
}
.brand-divider::before,
.brand-divider::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.brand-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.brand-divider .diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.section-title.left .brand-divider { justify-content: flex-start; }
.section-title.left .brand-divider::before { display: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

.brand-text .name-top {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.brand-text .name-bottom {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }
nav.main-nav a.active { color: var(--gold); }

.header-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.header-cta:hover { background: var(--navy-dark); }
.header-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 50%;
}
.hero::before {
  content: "";
  position: absolute;
  right: -40px; bottom: -160px;
  width: 300px; height: 300px;
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 2; max-width: 700px; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.78); }
.hero .eyebrow { color: var(--gold-light); }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 64px 0 76px;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lede { color: rgba(255,255,255,0.75); }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
section { padding: 76px 0; }
.section-alt { background: var(--cream); }
.section-title { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-title.left { margin: 0 0 48px; text-align: left; }

.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--cream-deep);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card .card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card .top-bar { height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.service-card ul { margin: 14px 0 22px; padding: 0; list-style: none; }
.service-card ul li {
  font-size: 0.92rem;
  color: var(--grey);
  padding-left: 18px;
  position: relative;
  margin-bottom: 7px;
}
.service-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.8rem;
}
.service-card .more-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .more-link::after { content: "→"; transition: transform 0.2s; }
.service-card:hover .more-link::after { transform: translateX(4px); }

/* Steps / process */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step .step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--grey); margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 480px; }
thead th {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
tbody tr:nth-child(even) { background: var(--cream); }
tbody tr:last-child td { border-bottom: none; }
td.check { color: var(--gold); font-weight: 700; text-align: center; }

/* Pricing */
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  background: var(--white);
}
.price-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.price-card.featured h3, .price-card.featured .price-tag { color: var(--white); }
.price-card .price-tag {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--navy);
  margin: 6px 0 4px;
}
.price-card .price-unit { font-size: 0.85rem; color: var(--grey); }
.price-card.featured .price-unit { color: rgba(255,255,255,0.65); }
.price-card ul { padding-left: 18px; margin: 18px 0 0; }
.price-card li { margin-bottom: 8px; font-size: 0.94rem; }

/* Doctor cards */
.doctor-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--white);
}
.doctor-card .role {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}
.doctor-card ul { margin: 10px 0 0; padding-left: 18px; color: var(--grey); font-size: 0.92rem; }
.doctor-card li { margin-bottom: 5px; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-band .btn-row { justify-content: center; }

/* Country / target list */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  border: 1px solid var(--border);
  background: var(--cream);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
}

/* Timeline (planning) */
.timeline-day {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}
.timeline-day .day-head {
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.timeline-day .day-body { padding: 6px 22px 18px; }
.timeline-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.timeline-row:last-child { border-bottom: none; }
.timeline-row .time { color: var(--gold); font-weight: 600; }

/* ==========================================================================
   Photos & media — built for slow connections
   (lazy-loaded, fixed aspect-ratio to prevent layout shift, tiny placeholders)
   ========================================================================== */
.photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  isolation: isolate;
}
.photo-frame.wide { aspect-ratio: 16 / 9; }
.photo-frame.square { aspect-ratio: 1 / 1; }
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame::after {
  /* subtle brand-colored placeholder shown until the real photo loads */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  opacity: 0.08;
  z-index: -1;
}
.photo-caption {
  font-size: 0.78rem;
  color: var(--grey-light);
  margin-top: 8px;
  text-align: center;
}

.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  max-width: 42vw;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-visual { display: none; } }

/* --- Video facade: loads NOTHING until the person clicks play.
       No video weight, no YouTube JS, until requested. --- */
.video-facade {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-dark) center / cover no-repeat;
  cursor: pointer;
  border: none;
  padding: 0;
  display: block;
}
.video-facade img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-facade .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.95);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }
.video-facade .play-btn svg { width: 26px; height: 26px; fill: var(--navy-dark); margin-left: 4px; }
.video-facade .facade-label {
  position: absolute;
  left: 20px; bottom: 16px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(16,29,58,0.55);
  padding: 6px 14px;
  border-radius: 100px;
}
.video-facade iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* Data-saver mode: honored automatically for people on slow/metered connections */
body.data-saver .video-facade,
body.data-saver .decorative-only {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-grid a, .footer-grid p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 34px; }
.footer-brand .name-top { color: var(--white); font-family: var(--font-display); font-weight: 600; }
.footer-brand .name-bottom { color: var(--gold-light); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .header-cta { margin-top: 10px; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 70px; }
  .cta-band { padding: 40px 24px; }
  .step { grid-template-columns: 44px 1fr; }
  .timeline-row { grid-template-columns: 100px 1fr; }
}
