/* =========================================================
   A2 Viagens Prime — Landing dark luxury
   Navy #151B3B domina · dourado #DFBD66 raro e pontual.
   Bebas Neue (headlines) + Noto Sans Light (corpo) + Rubik (wordmark).
   ========================================================= */

:root {
  --navy:        #151b3b;
  --navy-deep:   #0d1229;
  --navy-soft:   #1b2348;
  --gold:        #dfbd66;
  --gold-bright: #ecd089;
  --gold-15:     rgba(223, 189, 102, .15);
  --gold-30:     rgba(223, 189, 102, .30);
  --white:       #ffffff;
  --w85:         rgba(255, 255, 255, .85);
  --w70:         rgba(255, 255, 255, .70);
  --w55:         rgba(255, 255, 255, .55);
  --w40:         rgba(255, 255, 255, .40);
  --hairline:    rgba(255, 255, 255, .10);

  --font-hero:   "Bebas Neue", Impact, sans-serif;
  --font-body:   "Noto Sans", system-ui, -apple-system, sans-serif;
  --font-mark:   "Rubik", system-ui, sans-serif;

  --container:   1100px;
  --ease:        cubic-bezier(.16, 1, .3, 1);   /* ease-out-expo: calmo, premium */
  --sp-section:  clamp(80px, 11vw, 130px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(223, 189, 102, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(223, 189, 102, .022) 1px, transparent 1px);
  background-size: 68px 68px;
  color: var(--w70);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(24px, 5vw, 48px); }
.container--tight { max-width: 760px; }
.center { text-align: center; }

.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.12em; }

/* ===================== TIPOGRAFIA ===================== */
.h2 {
  font-family: var(--font-hero);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: .02em;
  color: var(--white);
  margin: 0;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.85; color: var(--w70); margin: 0 0 20px; }
.rule { display: block; width: 60px; height: 1px; background: var(--gold); margin: 26px auto; opacity: .9; }

.section { padding-block: var(--sp-section); position: relative; }
.section--alt { background: linear-gradient(180deg, var(--navy), var(--navy-soft) 50%, var(--navy)); }
.head { margin-bottom: clamp(40px, 6vw, 64px); }
.head .h2 { margin-top: 6px; position: relative; display: inline-block; }
.head .h2::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 0; height: 2px; background: var(--gold); transform: translateX(-50%); transition: width .9s var(--ease) .25s; }
.head.is-in .h2::after { width: 48px; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: .94rem;
  padding: 15px 32px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease, color .25s ease;
}
.btn .ic { width: 18px; height: 18px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 22px rgba(223, 189, 102, .26); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(223, 189, 102, .38); }
.btn--gold:active { transform: translateY(0); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--gold-15); color: var(--white); }
.btn--lg { padding: 17px 40px; font-size: 1rem; }

/* light sweep dourado (brilho largo e lento que cruza o botão) */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -130%; width: 90%; background: linear-gradient(100deg, transparent 18%, rgba(255, 252, 242, .35) 38%, rgba(255, 255, 255, .95) 50%, rgba(255, 248, 222, .35) 62%, transparent 82%); transform: skewX(-22deg); pointer-events: none; animation: btnSweep 4.2s ease-in-out infinite; }
@keyframes btnSweep { 0% { left: -130%; } 52% { left: 140%; } 100% { left: 140%; } }
.btn--gold:hover::after { animation-duration: 2.4s; }

/* glows dourados flutuantes — dão profundidade às seções escuras */
.manifesto, .section--alt, .cta-final { position: relative; overflow: hidden; }
.manifesto > .container, .section--alt > .container, .cta-final > .container { position: relative; z-index: 1; }
.manifesto::after, .section--alt::after, .cta-final::after { content: ""; position: absolute; width: min(62vw, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(223, 189, 102, .09), transparent 66%); pointer-events: none; z-index: 0; animation: glowFloat 19s ease-in-out infinite; }
.manifesto::after { top: -16%; right: -10%; }
.section--alt::after { bottom: -20%; left: -12%; animation-delay: -7s; }
.cta-final::after { top: -22%; left: 28%; width: min(78vw, 740px); animation-delay: -3s; }
@keyframes glowFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(34px, 26px); } }

/* ===================== HEADER ===================== */
.ph { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.ph.is-solid { background: rgba(13, 18, 41, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: var(--hairline); }
.ph__inner { max-width: var(--container); margin-inline: auto; padding: 15px clamp(24px, 5vw, 48px); display: flex; align-items: center; gap: 28px; }
.ph__brand { display: inline-flex; align-items: center; }
.ph__logo { height: 48px; width: auto; display: block; }
@media (max-width: 560px) { .ph__logo { height: 42px; } }
.ph__nav { margin-left: auto; display: flex; gap: 30px; }
.ph__nav a { font-size: .9rem; color: var(--w70); transition: color .25s; }
.ph__nav a:hover { color: var(--white); }
.ph__cta { font-size: .9rem; font-weight: 500; color: var(--gold); transition: color .25s; }
.ph__cta:hover { color: var(--white); }
@media (max-width: 860px) {
  .ph__nav { display: none; }
  .ph__inner { justify-content: space-between; }
  .ph__cta { margin-left: auto; }
}

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: radial-gradient(120% 90% at 50% 8%, var(--navy-soft), var(--navy) 60%, var(--navy-deep)); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(1) saturate(1.85) hue-rotate(4deg) brightness(.95) contrast(1.05); }
.hero__media img.is-missing { opacity: 0; }
/* realce dourado da id. visual Prime (o vídeo já vem em tom de ouro pelo filtro) */
.hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(13, 18, 41, .55), transparent 42%, rgba(223, 189, 102, .3)); mix-blend-mode: overlay; }
/* scrim p/ legibilidade do texto centralizado */
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 82% 72% at 50% 46%, rgba(13, 18, 41, .32), rgba(13, 18, 41, .82) 96%), linear-gradient(0deg, rgba(13, 18, 41, .82), transparent 46%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin-inline: auto; padding: 120px clamp(24px, 5vw, 48px) 90px; display: flex; flex-direction: column; align-items: center; }
.hero__inner > * { max-width: 740px; margin-inline: auto; }
.hero__title { font-family: var(--font-hero); font-weight: 400; font-size: clamp(3rem, 8.6vw, 5.9rem); line-height: .95; letter-spacing: .015em; color: var(--white); margin: 0 0 24px; text-shadow: 0 2px 36px rgba(0, 0, 20, .45); }
.hero__sub { font-size: clamp(1rem, 1.7vw, 1.18rem); line-height: 1.7; color: var(--w85); margin: 0 0 34px; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; width: 1px; height: 56px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
.hero__scroll span { position: absolute; top: 0; left: 0; width: 100%; height: 18px; background: var(--gold); animation: scrollLine 1.8s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-20px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }

/* ===================== MANIFESTO ===================== */
.manifesto .h2 { line-height: 1.08; }
.manifesto .lead { color: var(--w70); }

/* ===================== EXPERIÊNCIAS (glassmorphism) ===================== */
.xp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.xp { grid-column: span 1; background: rgba(255, 255, 255, .035); border: 1px solid var(--gold-15); border-radius: 16px; padding: clamp(28px, 3vw, 38px); transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), background .35s; }
.xp:hover { border-color: var(--gold-30); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 0, 20, .35), 0 0 0 1px var(--gold-15); background: rgba(255, 255, 255, .05); }
.xp__ic { width: 34px; height: 34px; color: var(--gold); margin-bottom: 20px; }
.xp h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.18rem; color: var(--white); margin: 0 0 9px; }
.xp p { font-size: .95rem; color: var(--w55); margin: 0; line-height: 1.6; }
.xp--wide { grid-column: span 3; display: flex; align-items: center; gap: 26px; }
.xp--wide .xp__ic { margin: 0; flex: 0 0 auto; }
.xp--wide h3 { margin: 0 0 4px; }
@media (max-width: 860px) { .xp-grid { grid-template-columns: 1fr 1fr; } .xp--wide { grid-column: span 2; flex-direction: row; } }
@media (max-width: 560px) { .xp-grid { grid-template-columns: 1fr; } .xp--wide { grid-column: span 1; flex-direction: column; align-items: flex-start; } .xp--wide .xp__ic { margin-bottom: 18px; } }

/* ===================== PILARES ===================== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { padding: 8px clamp(20px, 2.4vw, 32px); position: relative; }
.pillar + .pillar::before { content: ""; position: absolute; left: 0; top: 8px; width: 1px; height: 44px; background: var(--gold); opacity: .25; }
.pillar__n { font-family: var(--font-hero); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--gold); opacity: .28; display: block; margin-bottom: 14px; }
.pillar h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; color: var(--white); margin: 0 0 8px; }
.pillar p { font-size: .92rem; color: var(--w55); margin: 0; line-height: 1.6; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; gap: 36px 0; } .pillar:nth-child(odd)::before { display: none; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; gap: 30px; } .pillar::before { display: none !important; } }

/* ===================== DESTINOS (bento) ===================== */
.dest-marquee { margin-top: clamp(36px, 5vw, 56px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dest-track { display: flex; gap: 14px; width: max-content; animation: destMarquee 55s linear infinite; will-change: transform; }
.dest-track:hover { animation-play-state: paused; }
@keyframes destMarquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-50% - 7px), 0, 0); } }
.dest { position: relative; flex: 0 0 auto; width: clamp(228px, 24vw, 300px); aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; display: block; isolation: isolate; background: linear-gradient(150deg, var(--navy-soft), var(--navy-deep)); border: 1px solid var(--gold-15); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dest img.is-missing { opacity: 0; }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 18, 41, .82) 4%, rgba(13, 18, 41, .15) 45%, transparent 80%); transition: background .4s; }
.dest__name { position: absolute; z-index: 2; left: 20px; bottom: 16px; font-family: var(--font-hero); font-weight: 400; font-size: 1.7rem; letter-spacing: .03em; color: var(--white); text-shadow: 0 2px 14px rgba(0, 0, 20, .6); }
.dest:hover img { transform: scale(1.05); }
.dest:hover::after { background: linear-gradient(0deg, rgba(13, 18, 41, .7) 4%, transparent 60%); }
.dest:hover .dest__name { color: var(--gold-bright); }
@media (max-width: 560px) { .dest { width: 62vw; } .dest-track { animation-duration: 42s; } }

/* ===================== DEPOIMENTOS ===================== */
.iso-bg { position: relative; overflow: hidden; }
.iso-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 40%, rgba(223, 189, 102, .07), transparent 70%); pointer-events: none; }
.reviews-embed { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 44px); min-height: 320px; }
.quotes { position: relative; min-height: 220px; }
.quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease); margin: 0; padding: 0 clamp(4px, 3vw, 30px); }
.quote.is-active { opacity: 1; visibility: visible; position: relative; }
.quote blockquote { font-size: clamp(1.05rem, 2.1vw, 1.32rem); font-style: italic; font-weight: 300; line-height: 1.7; color: var(--w85); margin: 0 0 26px; position: relative; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -.55em; left: 50%; transform: translateX(-50%); font-family: var(--font-hero); font-size: 5rem; color: var(--gold); opacity: .16; pointer-events: none; }
.quote__author { display: block; font-weight: 500; font-size: .92rem; color: var(--gold); letter-spacing: .02em; }
.quote__where { display: block; font-size: .85rem; color: var(--w40); margin-top: 3px; }
.dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--gold); background: transparent; cursor: pointer; transition: background .3s, transform .3s; }
.dots button.is-on { background: var(--gold); transform: scale(1.15); }

/* ===================== PROCESSO ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); position: relative; }
.step { position: relative; }
.step__n { font-family: var(--font-hero); font-weight: 400; font-size: 3.6rem; line-height: 1; color: var(--gold); opacity: .26; display: block; margin-bottom: 12px; }
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; color: var(--white); margin: 0 0 8px; }
.step p { font-size: .92rem; color: var(--w55); margin: 0; line-height: 1.6; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 26px; right: -20%; width: 40%; height: 1px; background: var(--gold); opacity: .25; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; } .step::after { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ===================== CTA FINAL ===================== */
.cta-final { padding-block: clamp(90px, 13vw, 150px); background: linear-gradient(180deg, var(--navy), var(--navy-deep)); }
.cta-final .lead { max-width: 540px; margin-inline: auto; }
.cta-final .btn { margin-top: 10px; }
.cta-final__aux { font-size: .82rem; color: var(--w40); margin: 18px 0 0; }

/* ===================== FOOTER ===================== */
.pf { background: var(--navy-deep); padding-block: clamp(48px, 7vw, 72px); border-top: 1px solid var(--hairline); }
.pf__brand { display: inline-block; }
.pf__logo { height: 56px; width: auto; display: block; margin-inline: auto; }
.pf__tag { font-size: .9rem; color: var(--w55); margin: 8px 0 0; }
.pf .rule { margin: 22px auto; }
.pf__contact { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; font-size: .9rem; color: var(--w70); margin: 0 0 14px; }
.pf__contact a { transition: color .25s; }
.pf__contact a:hover { color: var(--gold); }
.pf__contact span { color: var(--w40); }
.pf__copy { font-size: .78rem; color: var(--w40); margin: 0; }
.pf__made { font-size: .76rem; color: var(--w40); margin: 9px 0 0; }
.pf__made a { color: var(--gold); font-weight: 500; transition: color .25s ease; }
.pf__made a:hover { color: var(--gold-bright); }

/* ===================== COOKIE (LGPD) ===================== */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 720px; margin-inline: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; background: rgba(13, 18, 41, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--gold-15); border-radius: 12px; padding: 14px 20px; box-shadow: 0 16px 40px rgba(0, 0, 20, .4); transform: translateY(140%); transition: transform .5s var(--ease); }
.cookie.is-in { transform: none; }
.cookie p { margin: 0; font-size: .82rem; color: var(--w70); line-height: 1.5; flex: 1 1 280px; }
.cookie a { color: var(--gold); }
.cookie__btns { display: flex; gap: 9px; flex: 0 0 auto; }
.cookie__btn { font-family: var(--font-body); font-weight: 600; font-size: .8rem; padding: 9px 18px; border-radius: 7px; cursor: pointer; border: 1px solid var(--gold); background: transparent; color: var(--gold); transition: background .25s, color .25s; }
.cookie__btn--ok { background: var(--gold); color: var(--navy); }
.cookie__btn--ok:hover { background: var(--gold-bright); }
.cookie__btn--no:hover { background: var(--gold-15); color: var(--white); }

/* desfoque progressivo fixo na base — acompanha o scroll (~12% inferior) */
.page-blur {
  position: fixed; left: 0; right: 0; bottom: 0; height: 17vh; z-index: 90;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  -webkit-mask: linear-gradient(transparent, #000 88%); mask: linear-gradient(transparent, #000 88%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .page-blur { background: linear-gradient(transparent, var(--navy-deep) 94%); }
}

/* ===================== REVEAL (animação de entrada) ===================== */
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in:nth-child(2) { transition-delay: .08s; }
.reveal.is-in:nth-child(3) { transition-delay: .16s; }
.reveal.is-in:nth-child(4) { transition-delay: .24s; }
.hero .reveal { transform: translateY(22px); }

/* overdrive/delight: linha dourada que desenha, sublinhado nos destinos, grão de filme */
.js .rule.reveal { width: 0; }
.rule.reveal.is-in { width: 60px; transition: opacity .8s var(--ease), transform .8s var(--ease), width .9s var(--ease) .15s; }
.dest__name::after { content: ""; display: block; width: 0; height: 2px; background: var(--gold); margin-top: 6px; transition: width .45s var(--ease); }
.dest:hover .dest__name::after { width: 40px; }
body::after { content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .hero .reveal { opacity: 1 !important; transform: none !important; }
  .hero__scroll span, .dest img, .xp, .btn { transition: none; animation: none; }
  .btn--gold::after, .manifesto::after, .section--alt::after, .cta-final::after { animation: none; }
  .hero__media video, .hero__media img { filter: grayscale(1) sepia(1) saturate(1.6) brightness(.92); }
}
