/* Home do OiCall (oicall.com). Mesma paleta do app: escuro, verde como acao, dourado de destaque. */
:root {
  --bg: #060b16;
  --bg-2: #0a1222;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --fg: #f4f6fb;
  --muted: #9aa6bf;
  --faint: #66728e;
  --accent: #22c55e;
  --accent-2: #0ea5e9;
  --accent-ink: #04210f;
  --gold: #f5c542;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 20px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; letter-spacing: -.01em;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(34, 197, 94, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 16px 40px rgba(34, 197, 94, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-big { padding: 18px 34px; font-size: 1.06rem; }
.btn-small { padding: 10px 18px; font-size: .9rem; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-2); box-shadow: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Topo ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6, 11, 22, .72); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.wordmark { font-weight: 800; font-size: 1.45rem; letter-spacing: -.04em; }
.wordmark span { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark.small { font-size: 1.2rem; }
.nav-links { display: flex; gap: 26px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.link-quiet { color: var(--muted); font-weight: 700; font-size: .95rem; transition: color .2s; }
.link-quiet:hover { color: var(--fg); }
.langs { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.langs button { background: none; border: 0; color: var(--faint); font: inherit; font-size: .78rem; font-weight: 800; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.langs button[aria-pressed="true"] { background: var(--surface-2); color: var(--fg); }

/* ---------- Abertura ---------- */
.hero { position: relative; min-height: 100svh; padding: 132px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 700px at 70% 10%, #0d2238 0%, var(--bg) 62%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-video.ready { opacity: .38; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 22, .2) 0%, rgba(6, 11, 22, .55) 55%, var(--bg) 100%); }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.a1 { width: 620px; height: 620px; left: -160px; top: -120px; background: radial-gradient(circle, rgba(34, 197, 94, .55), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.a2 { width: 720px; height: 720px; right: -220px; top: 40px; background: radial-gradient(circle, rgba(14, 165, 233, .45), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.a3 { width: 520px; height: 520px; left: 35%; bottom: -260px; background: radial-gradient(circle, rgba(245, 197, 66, .22), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-120px, 120px) scale(.9); } }
@keyframes drift3 { to { transform: translate(-160px, -60px) scale(1.2); } }
.grain { position: absolute; inset: 0; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; flex: 1; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin-top: 16px; max-width: 13ch; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-top: 22px; max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.facts li { position: relative; padding-left: 16px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* Celular com telas reais do app se alternando */
.hero-phone { position: relative; justify-self: center; width: min(330px, 78vw); aspect-ratio: 640 / 1385; margin-bottom: 40px; }
.phone { position: absolute; inset: 0; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a3346, #0b0f18 40%, #1c2333); box-shadow: 0 50px 100px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .05); animation: float 7s ease-in-out infinite; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #070d1a; }
.phone-notch { position: absolute; z-index: 2; top: 20px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); animation: shot 12s infinite; }
.s1 { animation-delay: 0s; }
.s2 { animation-delay: 4s; }
.s3 { animation-delay: 8s; }
@keyframes shot {
  0% { opacity: 0; transform: scale(1.04) translateY(8px); }
  6%, 30% { opacity: 1; transform: scale(1) translateY(0); }
  36%, 100% { opacity: 0; transform: scale(.98) translateY(-6px); }
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }

.float-card { position: absolute; z-index: 3; padding: 12px 16px; border-radius: 16px; background: rgba(13, 21, 38, .72); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); display: grid; gap: 2px; white-space: nowrap; }
.fc-label { color: var(--muted); font-size: .76rem; font-weight: 700; }
.fc-price { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.fc1 { left: -96px; top: 18%; animation: bob 6s ease-in-out infinite; }
.fc2 { right: -84px; top: 46%; animation: bob 7s ease-in-out -2s infinite; }
.fc3 { left: -64px; bottom: 12%; animation: bob 8s ease-in-out -4s infinite; }
.fc1 .fc-price { color: var(--accent); }
.fc2 .fc-price { color: var(--gold); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Faixa rolando com paises e precos */
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(6, 11, 22, .6); overflow: hidden; padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 46px; width: max-content; animation: ticker 48s linear infinite; }
.ticker-item { display: flex; gap: 10px; align-items: baseline; color: var(--muted); font-weight: 700; white-space: nowrap; }
.ticker-item b { color: var(--fg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Fotos ---------- */
.story { padding: 120px 0 40px; }
.story-grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.story-photo { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); min-height: 280px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 24s ease-in-out infinite alternate; }
.story-photo.p1 { grid-row: span 2; min-height: 560px; }
.story-photo.p3 img { animation-delay: -8s; }
@keyframes kenburns { from { transform: scale(1.12) translate(0, 0); } to { transform: scale(1.02) translate(-2%, -3%); } }
.story-copy { align-self: center; padding: 10px 6px; }
.story-copy p { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

/* ---------- Secoes ---------- */
section h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; margin-top: 12px; max-width: 18ch; }
.sub { color: var(--muted); margin-top: 14px; max-width: 38rem; }
.how, .prices, .why, .faq { padding: 110px 0 0; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; counter-reset: none; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step-n { display: block; font-size: 3.6rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(140deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-top: 22px; }
.step p { color: var(--muted); margin-top: 8px; }

/* Precos */
.prices-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.currency, .calc-amounts { display: flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.currency button, .calc-amounts button { background: none; border: 0; color: var(--muted); font: inherit; font-weight: 800; font-size: .92rem; padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s; font-variant-numeric: tabular-nums; }
.currency button[aria-pressed="true"], .calc-amounts button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.calc { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; color: var(--muted); font-weight: 600; }
.calc #calcText b { color: var(--accent); }
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.country { position: relative; padding: 24px 24px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.country:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.country::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--stripe); }
.country h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.rates { display: grid; gap: 8px; margin-top: 16px; }
.rate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.rate b { color: var(--fg); font-size: 1.15rem; letter-spacing: -.02em; }
.rate small { color: var(--faint); font-weight: 600; font-size: .78rem; }
.minutes { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--accent); font-weight: 700; font-size: .9rem; }
.note { color: var(--faint); font-size: .86rem; margin-top: 18px; }
.price-flash { animation: flash .5s var(--ease); }
@keyframes flash { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Por que */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(34, 197, 94, .07), transparent 60%); }
.why-card h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.why-card p { color: var(--muted); margin-top: 10px; font-size: .95rem; }

/* Duvidas */
.faq-wrap { max-width: 820px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { color: var(--muted); padding: 0 0 22px; max-width: 60ch; }

/* Final */
.final { padding: 120px 0; }
.final-inner { text-align: center; padding: 70px 24px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 50% 0%, rgba(34, 197, 94, .22), transparent 70%), radial-gradient(500px 260px at 90% 100%, rgba(14, 165, 233, .18), transparent 70%), var(--bg-2); }
.final h2 { margin: 0 auto 32px; max-width: 20ch; }

.footer { border-top: 1px solid var(--line); padding: 34px 0 40px; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 600; }
.footer nav a:hover { color: var(--fg); }
.copy { margin-left: auto; color: var(--faint); font-size: .85rem; }

/* Entrada suave ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Telas menores ---------- */
@media (max-width: 1020px) {
  /* Menu numa segunda linha do topo, com rolagem lateral se faltar espaco. */
  html { scroll-padding-top: 120px; }
  .nav-inner { flex-wrap: wrap; height: auto; min-height: 72px; row-gap: 0; padding-top: 12px; }
  .nav-links { order: 3; flex: 1 0 100%; gap: 22px; padding: 2px 0 12px; font-size: .9rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .nav-links::-webkit-scrollbar { display: none; }
  .hero { padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-phone { margin: 30px auto 60px; }
  .countries { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-inner { gap: 12px; min-height: 64px; padding-top: 10px; }
  .link-quiet { display: none; }
  .langs button { padding: 6px 8px; }
  .hero { padding-top: 128px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .fc1 { left: -18px; } .fc2 { right: -14px; } .fc3 { left: -10px; }
  .float-card { padding: 10px 12px; }
  .fc-price { font-size: 1rem; }
  .countries, .why-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-photo.p1 { grid-row: auto; min-height: 380px; }
  .how, .prices, .why, .faq { padding-top: 84px; }
  .final { padding: 84px 0; }
  .copy { margin-left: 0; }
}
@media (max-width: 380px) { .btn-small { padding: 9px 12px; } .wordmark { font-size: 1.25rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .shot.s1 { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.nav-links a[aria-current="page"] { color: var(--fg); }
.faq-more { margin-top: 22px; font-weight: 700; }
.faq-more a { color: var(--accent); text-underline-offset: 3px; }
.faq-more a:hover { text-decoration: underline; }
.footer-mail { color: var(--muted); font-size: .9rem; font-weight: 600; }
.footer-mail:hover { color: var(--fg); }
