/* visa-dubai.fr — typography: Fraunces (OFL) + Geist (OFL) */

@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-latin-italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #090B10;
  --navy: #10151F;
  --navy-2: #171D28;
  --ivory: #F4F0E8;
  --ivory-2: #EBE4D8;
  --sand: #DDD3C3;
  --gold: #C4A36A;
  --gold-2: #D4B882;
  --ink: #10151F;
  --muted: #5E584E;
  --muted-dark: rgba(244, 240, 232, 0.68);
  --line: rgba(244, 240, 232, 0.14);
  --line-dark: rgba(16, 21, 31, 0.12);
  --whatsapp: #1A6B45;
  --serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Geist", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header: 4.5rem;
  --content: 72rem;
  --ease: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.5rem);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 100;
  background: var(--gold);
  color: var(--void);
  padding: 0.65rem 1rem;
}
.skip:focus { top: 0; }

.wrap {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(9, 11, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  color: var(--ivory);
}
.header-inner {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark .dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.wordmark .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variation-settings: "opsz" 36, "SOFT" 20, "WONK" 1;
}

.header-nav { display: none; }
.header-nav a {
  text-decoration: none;
  font-size: 0.86rem;
  color: var(--muted-dark);
  letter-spacing: 0.02em;
}
.header-nav a:hover { color: var(--ivory); }

.nav-toggle { position: relative; order: 3; margin-left: 0.2rem; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle .bars {
  width: 1rem;
  height: 0.68rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle .bars i {
  display: block;
  height: 1px;
  background: var(--ivory);
}
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.55rem);
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-width: 14.5rem;
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.nav-panel a {
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--ivory);
  font-size: 0.95rem;
}
.nav-panel a:hover { background: rgba(244, 240, 232, 0.06); }

.lang {
  display: inline-flex;
  margin-left: auto;
  order: 2;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.lang a {
  text-decoration: none;
  padding: 0.42rem 0.65rem;
  color: var(--muted-dark);
}
.lang a[aria-current="page"] {
  background: var(--ivory);
  color: var(--void);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.15;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.btn-gold {
  background: var(--gold);
  color: var(--void);
}
.btn-ivory {
  background: var(--ivory);
  color: var(--void);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-dark);
}
.btn-lg { padding: 1.05rem 1.5rem; font-size: 1.02rem; }
.btn.header-cta { display: none; order: 4; }

@media (hover: hover) {
  .btn-gold:hover { background: var(--gold-2); }
  .btn-ivory:hover { background: #fff; }
  .btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
  .btn-ghost-dark:hover { border-color: var(--ink); }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 55% at 85% 0%, rgba(196, 163, 106, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(196, 163, 106, 0.07), transparent 50%),
    var(--void);
  color: var(--ivory);
  overflow: hidden;
  padding: 2.75rem 0 0;
}
.hero-inner { position: relative; z-index: 1; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.kicker::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
}
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 9.2vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 1.4rem;
  max-width: 12ch;
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 1;
  font-optical-sizing: none;
  text-wrap: balance;
}
h1 em {
  font-style: italic;
  font-weight: 360;
  color: var(--gold-2);
  font-variation-settings: "opsz" 144, "SOFT" 55, "WONK" 1;
}
.lead {
  margin: 0 0 2rem;
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--muted-dark);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.skyline-wrap {
  color: var(--gold);
  opacity: 0.72;
  margin-top: 0.5rem;
  pointer-events: none;
}
.skyline-wrap svg { width: 100%; height: auto; }

/* Trust */
.trust {
  background: var(--navy);
  color: var(--ivory);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0 4.5rem;
}
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin: 0;
  padding: 0 4.25rem 0 0;
  list-style: none;
  justify-content: flex-start;
}
.trust-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
  white-space: nowrap;
}
.trust-list li strong {
  color: var(--gold-2);
  font-weight: 500;
}

/* Sections */
section { padding: 4.25rem 0; }
.section-head { max-width: 34rem; margin-bottom: 2.4rem; }
.section-head h2,
.pillar h2,
.cta-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  font-variation-settings: "opsz" 72, "SOFT" 25, "WONK" 1;
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--muted); }

/* Pillars */
.pillars-intro { padding-bottom: 0; }
.pillars {
  display: grid;
  gap: 1.1rem;
  padding-top: 0;
}
.pillar {
  border-radius: 28px;
  padding: 2rem 1.45rem 1.75rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pillar-num {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin: 0 0 1.1rem;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.pillar h2 { max-width: 16ch; }
.pillar > p { margin: 0 0 1.35rem; }
.pillar-list {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}
.pillar-list li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.7rem;
  align-items: start;
  font-size: 0.98rem;
}
.pillar-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
}
.pillar-a {
  background: var(--ivory);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 50px rgba(16, 21, 31, 0.05);
}
.pillar-a > p { color: var(--muted); }
.pillar-b {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(196, 163, 106, 0.16), transparent 55%),
    var(--navy);
  color: var(--ivory);
  border: 1px solid var(--line);
}
.pillar-b > p { color: var(--muted-dark); }
.pillar-b a { color: var(--gold-2); text-underline-offset: 3px; }
.pillar .btn { align-self: flex-start; margin-top: auto; }

@media (hover: hover) {
  .pillar-a {
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
  }
  .pillar-a:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 28px 60px rgba(16, 21, 31, 0.1);
  }
  .pillar-b {
    transition: transform var(--ease), border-color var(--ease);
  }
  .pillar-b:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
  }
}

/* Steps */
.band { background: var(--ivory-2); }
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  gap: 0.45rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-dark);
}
.step:last-child { border-bottom: 1px solid var(--line-dark); }
.step h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  font-variation-settings: "opsz" 36, "SOFT" 20, "WONK" 0;
}
.step h3 .n {
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  font-family: var(--sans);
  font-weight: 500;
}
.step p { margin: 0; color: var(--muted); padding-left: 2.45rem; }

/* Documents */
.docs-grid { display: grid; gap: 2rem; }
.doc-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.doc-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  transition: border-color var(--ease), transform var(--ease);
}
@media (hover: hover) {
  .doc-list li:hover { border-color: var(--gold); transform: translateY(-2px); }
}
.doc-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gold);
  margin-top: 0.2rem;
}
.doc-list strong { display: block; font-weight: 500; }
.doc-list span { color: var(--muted); font-size: 0.95rem; }

/* Why */
.why {
  background: var(--void);
  color: var(--ivory);
}
.why .section-head p { color: var(--muted-dark); }
.why-grid { display: grid; gap: 0; }
.why-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36, "SOFT" 20, "WONK" 0;
}
.why-item p { margin: 0; color: var(--muted-dark); }

/* FAQ */
.faq { display: grid; gap: 0.55rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  overflow: hidden;
}
.faq details[open] { border-color: rgba(196, 163, 106, 0.55); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat;
  transition: transform var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.25rem 1.2rem; color: var(--muted); }
.faq .answer p { margin: 0; }
.faq .answer a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }

/* Final CTA */
.cta-wrap { padding: 0 0 5rem; }
.cta-block {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(196, 163, 106, 0.2), transparent 50%),
    var(--void);
  color: var(--ivory);
  border-radius: 28px;
  padding: 2.4rem 1.5rem;
}
.cta-block h2 { max-width: 16ch; }
.cta-block p {
  margin: 0 0 1.5rem;
  color: var(--muted-dark);
  max-width: 34rem;
}
.cta-phone {
  display: inline-block;
  margin: 1rem 0 0 0.25rem;
  color: var(--gold-2);
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* Footer */
.site-footer {
  padding: 3rem 0 6.5rem;
  background: var(--ivory);
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line-dark);
}
.footer-grid { display: grid; gap: 1.8rem; }
.footer-brand { color: var(--ink); }
.footer-brand .wordmark { margin-bottom: 0.75rem; color: var(--ink); }
.site-footer a { text-underline-offset: 3px; }
.disclaimer {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 52rem;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 3.4rem;
  padding: 0 1rem 0 0.85rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(26, 107, 69, 0.35);
  font-size: 0.88rem;
  font-weight: 500;
  transition: transform var(--ease), filter var(--ease);
}
.wa-float svg { width: 1.45rem; height: 1.45rem; }
.wa-float .label { display: none; }
@media (hover: hover) {
  .wa-float:hover { transform: translateY(-2px); filter: brightness(1.08); }
}

@media (min-width: 800px) {
  .wordmark .tag { display: inline; }
  .nav-toggle { display: none; }
  .header-nav {
    display: flex;
    margin-left: auto;
    gap: 1.35rem;
    order: 1;
  }
  .lang { margin-left: 0.9rem; }
  .btn.header-cta {
    display: inline-flex;
    padding: 0.55rem 1rem;
    font-size: 0.84rem;
  }
  .hero { padding-top: 4.5rem; }
  h1 { max-width: 14ch; }
  .hero-actions { margin-bottom: 3.5rem; }
  section { padding: 5.75rem 0; }
  .pillars {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }
  .pillar { padding: 2.6rem 2.2rem 2.1rem; min-height: 36rem; }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .step:nth-child(1), .step:nth-child(2) { border-top: 1px solid var(--line-dark); }
  .step:last-child { border-bottom: none; }
  .step:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .docs-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }
  .why-grid { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .why-item:nth-child(1), .why-item:nth-child(2) { border-top: 1px solid var(--line); }
  .why-item:last-child { border-bottom: none; }
  .why-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cta-block { padding: 4rem 3.5rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer { padding-bottom: 3.25rem; }
  .wa-float .label { display: inline; }
  .trust { padding: 1.25rem 0; }
  .trust-list { justify-content: space-between; padding-right: 0; }
}

@media (min-width: 1100px) {
  h1 { font-size: 6.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Lead-gen contact */
.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 36, "SOFT" 20, "WONK" 0;
}
.hero-contact a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 184, 130, 0.45);
}
.hero-contact a:hover { border-bottom-color: var(--gold-2); }
.section-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin: 0 0 2.75rem;
  padding-top: 0.25rem;
}
.phone-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--gold);
}
.phone-link:hover { color: var(--navy); }
