/* =========================================================
   Mundário — Landing page
   Design system alinhado à marca (ver marca.css):
   laranja #FF6F3C, azul-tinta #1B2140, papel #FFF6EA.
   Regra de ouro: texto sobre laranja é sempre azul-tinta.
   ========================================================= */

:root {
  /* paleta da marca */
  --accent: #FF6F3C;         /* laranja pôr do sol */
  --accent-dark: #E2541F;    /* laranja 600 — títulos/ícones sobre claro */
  --accent-deep: #B9461F;    /* laranja 700 — texto pequeno sobre claro */
  --accent-soft: #FFEDE3;    /* laranja bem claro para fundos de ícone */
  --ink: #1B2140;            /* azul-tinta: texto, logo, botão primário */

  --bg: #FFF6EA;             /* papel (fundo da marca) */
  --card: #FFFFFF;           /* superfície */
  --card-alt: #FBF3E6;
  --muted-bg: #F7EEDE;       /* seção de apoio (areia clara) */
  --divider: #EADFCD;        /* borda */
  --divider-strong: #968A79; /* borda de controle */

  --text: #1B2140;           /* azul-tinta */
  --text-2: #5F5B6B;         /* texto suave */
  --text-3: #8A8597;
  --white: #FFFFFF;
  --sand: #F2E6D3;
  --sky: #9CC9FF;
  --sun: #FFC24B;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 33, 64, .06), 0 2px 8px rgba(27, 33, 64, .05);
  --shadow: 0 12px 40px rgba(27, 33, 64, .12);
  --shadow-accent: 0 12px 32px rgba(255, 111, 60, .30);

  --maxw: 1120px;
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Títulos no serif da marca (Fraunces) com SOFT 100 */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}

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

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

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 10px 28px rgba(27, 33, 64, .22);
}
.btn-primary:hover { background: #11162E; transform: translateY(-2px); }

/* Botão laranja de destaque — texto sempre azul-tinta (regra de ouro) */
.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: #FF824F; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--divider-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--divider);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 36px; width: auto; display: block; }

.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a { font-weight: 600; color: var(--text-2); font-size: 15px; transition: color .15s; }
.main-nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: inline-flex; background: var(--card); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: inherit; font-weight: 700; font-size: 13px; color: var(--text-3);
  padding: 6px 11px; border-radius: var(--radius-pill); transition: all .15s;
}
.lang-switch button.is-active { background: var(--white); color: var(--accent); box-shadow: var(--shadow-sm); }

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

/* ===================== HERO ===================== */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -200px; right: -160px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(255,111,60,.22), rgba(255,111,60,0) 68%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 56px;
}
.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.06; letter-spacing: -.02em; font-weight: 600;
  margin-bottom: 20px;
}
.accent { color: var(--accent-dark); font-style: italic; font-weight: 500; }
.lead { font-size: 19px; color: var(--text-2); max-width: 520px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--text-2); }
.hero-badges strong { font-size: 17px; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px; height: 600px;
  background: var(--ink);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow), 0 40px 80px rgba(255,111,60,.18);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; background: var(--bg);
  border-radius: 34px; padding: 44px 18px 22px; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.mock-greeting { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.mock-stats { display: flex; gap: 10px; }
.mock-stat {
  flex: 1; background: var(--card); border-radius: var(--radius-sm);
  padding: 12px 8px; text-align: center;
}
.mock-stat b { display: block; font-size: 22px; color: var(--accent); }
.mock-stat span { font-size: 11px; color: var(--text-3); }
.mock-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border-radius: var(--radius-sm); padding: 12px;
}
.mock-flag {
  width: 42px; height: 42px; border-radius: 10px; background: var(--white);
  display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow-sm);
}
.mock-card b { font-size: 15px; }
.mock-card small { display: block; color: var(--text-3); font-size: 12px; }

/* ===================== SEÇÕES ===================== */
.section { padding: 88px 0; }
.section-muted { background: var(--muted-bg); }
.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block; color: var(--accent-deep); font-weight: 700; font-family: var(--font);
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--card); border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid var(--divider);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--accent); color: var(--ink); font-family: var(--font); font-weight: 700; font-size: 18px;
  border-radius: 12px; margin-bottom: 18px;
}
.step h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -.01em; }
.step p { color: var(--text-2); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.01em; }
.feature-card p { color: var(--text-2); font-size: 15px; }
.soon {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-dark); background: var(--accent-soft);
  padding: 3px 8px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle;
}

/* Social */
.social-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.social-copy h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.02em; margin-bottom: 14px; }
.social-copy > p { color: var(--text-2); font-size: 18px; margin-bottom: 26px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; background: var(--accent); color: var(--ink);
  border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.privacy-card {
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.privacy-card h3 { font-size: 20px; margin-bottom: 20px; letter-spacing: -.01em; }
.vis-option { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--divider); }
.vis-option:first-of-type { border-top: none; }
.vis-ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--card);
  display: grid; place-items: center; font-size: 22px; flex-shrink: 0;
}
.vis-option b { display: block; font-size: 16px; }
.vis-option small { color: var(--text-3); }

/* Privacidade */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.priv-item {
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.priv-item strong { display: block; font-size: 18px; color: var(--accent-deep); margin-bottom: 8px; }
.priv-item span { color: var(--text-2); font-size: 15px; }
.priv-cta { text-align: center; }

/* CTA */
.cta-section { background: var(--ink); }
.cta-inner { text-align: center; color: var(--bg); }
.cta-inner h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 14px; }
.cta-inner p { font-size: 19px; opacity: .95; max-width: 560px; margin: 0 auto 32px; }
.store-badges { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg); color: var(--ink);
  padding: 12px 22px; border-radius: 14px;
  transition: transform .18s ease, opacity .18s ease;
}
.store-badge:hover { transform: translateY(-3px); }
.store-badge[aria-disabled="true"] { opacity: .72; }
.store-ic { font-size: 24px; line-height: 1; }
.store-badge small { display: block; font-size: 11px; opacity: .8; }
.store-badge b { font-size: 17px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: #C9C5D4; padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; display: flex; flex-direction: column; }
.footer-logo { height: 38px; width: auto; margin-bottom: 12px; }
.footer-tag { color: #B9B4C4; font-family: var(--font-hand); font-size: 20px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #C9C5D4; font-weight: 500; transition: color .15s; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8E89A0; }

/* ===================== REVEAL (animação) ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .lead { margin-inline: auto; }
  .hero-copy { text-align: center; }
  .hero-cta, .hero-badges { justify-content: center; }
  .social-inner { grid-template-columns: 1fr; gap: 36px; }
  .steps, .feature-grid, .priv-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--divider);
    padding: 8px 24px 16px; box-shadow: var(--shadow);
  }
  .main-nav.open a { padding: 14px 0; border-bottom: 1px solid var(--divider); }
  .nav-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .steps, .feature-grid, .priv-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 64px; }
}
