/* ============================================
   Us Para Você - Design Tokens & Base Styles
   ============================================ */

:root {
  /* Brand palette */
  --navy: #1B2E4B;
  --navy-deep: #142238;
  --navy-soft: #2B4063;
  --terracotta: #E69161;
  --terracotta-soft: #F2B594;
  --terracotta-tint: #FBE8DA;
  --gold: #D4AF37;
  --gold-soft: #E8CB6F;

  /* Neutrals (warm) */
  --bg: #FAF7F2;
  --bg-elev: #FFFFFF;
  --bg-tint: #F4EFE7;
  --ink: #1B2E4B;
  --ink-muted: #5A6577;
  --ink-subtle: #8A93A3;
  --line: #E8E2D6;

  /* Status (within brand) */
  --success: #1F9D6B;
  --warning: #E69161;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Shadows — soft, layered */
  --sh-1: 0 1px 2px rgba(27,46,75,.04), 0 2px 8px rgba(27,46,75,.04);
  --sh-2: 0 2px 6px rgba(27,46,75,.05), 0 12px 32px rgba(27,46,75,.08);
  --sh-3: 0 8px 24px rgba(27,46,75,.10), 0 30px 60px rgba(27,46,75,.12);
  --sh-card: 0 1px 1px rgba(27,46,75,.04), 0 8px 24px rgba(27,46,75,.06);

  /* Type */
  --f-display: "Fraunces", "Playfair Display", Georgia, serif;
  --f-ui: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Spacing rhythm */
  --container: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

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

/* ============== Type ============== */
.h-display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.eyebrow {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 4px 14px rgba(230,145,97,.35);
}
.btn-primary:hover { background: #DA814F; box-shadow: 0 8px 22px rgba(230,145,97,.45); }
.btn-outline {
  border: 1.5px solid currentColor;
  color: var(--ink);
  background: transparent;
}
.btn-outline.on-dark { color: white; }
.btn-outline:hover { background: rgba(27,46,75,.06); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,.1); }

/* ============== App-store badges ============== */
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  background: #0A0E14;
  color: white;
  border-radius: 14px;
  transition: transform .18s ease, box-shadow .2s ease;
  box-shadow: 0 4px 16px rgba(10,14,20,.18);
  min-width: 168px;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,14,20,.28); }
.store-badge .sb-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge .sb-top { font-size: 10px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.store-badge .sb-bot { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid rgba(232, 226, 214, .6);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand-mark { display: flex; align-items: center; gap: 12px; }
.brand-mark .mark-img {
  width: 44px; height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(27,46,75,.12));
}
.brand-mark .mark-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-mark .mark-name .n1 { font-family: var(--f-display); font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--navy); }
.brand-mark .mark-name .n2 { font-size: 11px; color: var(--ink-muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-muted);
  transition: color .18s ease;
  position: relative;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a::after {
  content:""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .header-row { height: 64px; }
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-muted); letter-spacing: .02em;
  box-shadow: var(--sh-1);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(31,157,107,.18); }
.hero-eyebrow strong { color: var(--navy); font-weight: 700; }

.hero h1 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 24px 0 20px;
  text-wrap: pretty;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
  font-weight: 500;
}
.hero h1 .accent-underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4%;
  height: 8px;
  background: var(--terracotta-tint);
  z-index: -1;
  border-radius: 4px;
}

.hero p.hero-sub {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 540px;
  line-height: 1.55;
  margin: 0 0 32px;
  text-wrap: pretty;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-trust {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  color: var(--ink-muted); font-size: 13px;
}
.hero-trust .ht-item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--success); }

/* Decorative blobs */
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55; pointer-events: none;
}
.hero-blob.b1 { width: 520px; height: 520px; background: var(--terracotta-tint); top: -180px; right: -120px; }
.hero-blob.b2 { width: 380px; height: 380px; background: #E6EEF8; bottom: -140px; left: -80px; opacity: .7; }

@media (max-width: 920px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-mockup-wrap { order: 2; justify-self: center; }
}

/* ============== iPhone mockup ============== */
.mockup-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 460 / 720;
}
.mockup-bg-circle {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, var(--terracotta-soft) 0%, var(--terracotta) 55%, transparent 75%);
  border-radius: 50%;
  transform: scale(1.05) translateY(20px);
  filter: blur(2px);
  opacity: .85;
}
.iphone-frame {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  width: 76%;
  aspect-ratio: 320 / 660;
  background: #0F1623;
  border-radius: 46px;
  padding: 9px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 -1px 0 rgba(255,255,255,.06) inset,
    0 30px 60px rgba(15,22,35,.35),
    0 12px 28px rgba(15,22,35,.20);
}
.iphone-screen {
  width: 100%; height: 100%;
  background: #F2F4F7;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
}
.iphone-notch {
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 32%; height: 22px;
  background: #0F1623;
  border-radius: 14px;
  z-index: 5;
}
.floating-chip {
  position: absolute;
  background: white;
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
}
.floating-chip .fc-ico {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.floating-chip .fc-text { display: flex; flex-direction: column; line-height: 1.15; }
.floating-chip .fc-text .l1 { font-size: 11px; color: var(--ink-muted); font-weight: 500; }
.floating-chip .fc-text .l2 { font-size: 14px; color: var(--navy); font-weight: 700; }

@media (max-width: 920px) {
  .mockup-stage { max-width: 380px; }
}

/* ============== Sections ============== */
section.sec { padding: 96px 0; position: relative; }
section.sec.alt { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.sec.dark { background: var(--navy); color: white; }

.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.sec-head h2 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 14px 0 16px;
  text-wrap: balance;
}
.sec-head p {
  font-size: 17px; color: var(--ink-muted); margin: 0; text-wrap: pretty;
}
section.dark .sec-head h2 { color: white; }
section.dark .sec-head p { color: rgba(255,255,255,.72); }

/* ============== Jornada cards ============== */
.jornada-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.jornada-grid::before {
  content: "";
  position: absolute;
  top: 60px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--terracotta) 0 8px, transparent 8px 16px);
  opacity: .35;
  z-index: 0;
}
.j-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  box-shadow: var(--sh-card);
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 1;
}
.j-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.j-step {
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--terracotta-tint);
  color: var(--terracotta);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600;
  font-size: 24px; letter-spacing: -.02em;
  margin-bottom: 22px;
  box-shadow: 0 6px 14px rgba(230,145,97,.18);
}
.j-card h3 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 22px; letter-spacing: -.01em;
  margin: 0 0 10px; color: var(--navy);
}
.j-card p { color: var(--ink-muted); font-size: 15px; margin: 0; }
.j-savings {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  padding: 6px 12px;
  background: #ECF7F1; color: var(--success);
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700;
}

@media (max-width: 880px) {
  .jornada-grid { grid-template-columns: 1fr; gap: 16px; }
  .jornada-grid::before { display: none; }
}

/* ============== Trust banner ============== */
.trust-banner {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  color: white;
  position: relative;
  overflow: hidden;
}
.trust-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(212,175,55,.12), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(230,145,97,.14), transparent 55%);
  pointer-events: none;
}
.tb-item { display: flex; align-items: center; gap: 14px; padding: 4px 8px; position: relative; z-index: 1; }
.tb-item + .tb-item { border-left: 1px solid rgba(255,255,255,.12); }
.tb-icon {
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(212,175,55,.14);
  color: var(--gold-soft);
  display: grid; place-items: center; flex-shrink: 0;
}
.tb-text { display: flex; flex-direction: column; line-height: 1.2; }
.tb-text .t1 { font-size: 13px; font-weight: 700; }
.tb-text .t2 { font-size: 12px; color: rgba(255,255,255,.65); }

@media (max-width: 880px) {
  .trust-banner { grid-template-columns: 1fr 1fr; gap: 16px 0; padding: 22px; }
  .tb-item + .tb-item { border-left: none; }
}
@media (max-width: 480px) {
  .trust-banner { grid-template-columns: 1fr; }
}

/* ============== Servicos cards ============== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--terracotta-soft);
}
.svc-card.featured {
  background: linear-gradient(165deg, #1B2E4B 0%, #2B4063 100%);
  color: white; border-color: var(--navy);
}
.svc-card.featured h3 { color: white; }
.svc-card.featured p { color: rgba(255,255,255,.75); }
.svc-vip-badge {
  position: absolute; top: 20px; right: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(212,175,55,.14);
  color: var(--gold-soft);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.svc-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.svc-card:not(.featured) .svc-icon { background: var(--terracotta-tint); color: var(--terracotta); }
.svc-card.featured .svc-icon { background: rgba(212,175,55,.16); color: var(--gold-soft); }
.svc-card h3 {
  font-family: var(--f-display); font-weight: 500;
  font-size: 24px; letter-spacing: -.01em;
  margin: 0 0 10px; color: var(--navy);
}
.svc-card p {
  color: var(--ink-muted); font-size: 15px; margin: 0 0 20px;
  text-wrap: pretty;
}
.svc-list { list-style: none; padding: 0; margin: 0 0 24px; }
.svc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
  padding: 6px 0;
}
.svc-card.featured .svc-list li { color: rgba(255,255,255,.78); }
.svc-list svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 4px; color: var(--terracotta); }
.svc-card.featured .svc-list svg { color: var(--gold-soft); }
.svc-action {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 14px;
  color: var(--terracotta);
}
.svc-card.featured .svc-action { color: var(--gold-soft); }
.svc-action svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .svc-action svg { transform: translateX(4px); }

@media (max-width: 880px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
}

/* ============== FAQ ============== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.faq-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.faq-item:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-q span { font-weight: 600; font-size: 15px; color: white; }
.faq-q svg { width: 18px; height: 18px; color: var(--terracotta-soft); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, margin .35s ease;
  color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 200px; margin-top: 12px; }

@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }

/* ============== Footer ============== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.78);
  padding: 80px 0 40px;
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700;
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.footer-grid ul a { color: rgba(255,255,255,.7); transition: color .15s ease; }
.footer-grid ul a:hover { color: var(--terracotta-soft); }
.footer-tag { font-size: 14px; line-height: 1.6; max-width: 320px; color: rgba(255,255,255,.62); margin: 14px 0 22px; }
.footer-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.footer-loc { display: inline-flex; align-items: center; gap: 8px; }
.footer-loc svg { width: 14px; height: 14px; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============== Whatsapp FAB ============== */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid; place-items: center;
  z-index: 60;
  box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 4px 12px rgba(37,211,102,.3);
  transition: transform .2s ease;
}
.wa-fab svg { width: 30px; height: 30px; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab::before, .wa-fab::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-fab::after { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { transform: scale(1.7);  opacity: 0; }
  100% { transform: scale(1.7);  opacity: 0; }
}

.wa-tooltip {
  position: fixed; right: 92px; bottom: 30px;
  background: white;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  box-shadow: var(--sh-2);
  z-index: 59;
  pointer-events: none;
  opacity: 0; transform: translateX(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.wa-tooltip.show { opacity: 1; transform: translateX(0); }
.wa-tooltip::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; background: white;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
}

/* ============== Reveal animations ============== */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.8,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-fab::before, .wa-fab::after { animation: none; }
}
