@import 'variables.css';

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body {
  max-width: 100%;
  overflow-x: clip;
}
body { font-family: var(--font-family); color: var(--color-text); background: var(--color-bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; color: var(--color-heading); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.75rem; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; transition: transform 0.15s, box-shadow 0.15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-saffron), var(--color-gold)); color: var(--color-oxford-blue); box-shadow: 0 8px 24px rgba(240, 203, 70, 0.35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(240, 203, 70, 0.45); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; }
.link-arrow { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--color-yale-blue); }
.link-arrow:hover { color: var(--color-accent-dark); }
.text-green { color: #22c55e; }

/* Cookie */
.cookie-banner { position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 9999; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; box-shadow: var(--shadow-md); transform: translateY(150%); transition: transform 0.3s; }
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner p { font-size: 0.875rem; color: var(--color-text-muted); flex: 1; }
.cookie-banner a { color: var(--color-yale-blue); text-decoration: underline; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__frame {
  position: relative;
  display: block;
  height: 44px;
  width: auto;
  overflow: visible;
  transform-origin: left center;
  animation: logo-boaz-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.35s ease;
}

.logo:hover .logo__frame {
  transform: scale(1.03);
}

@keyframes logo-boaz-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo__frame {
    animation: none !important;
  }
  .logo:hover .logo__frame { transform: none; }
}

/* PNG já tem margem — altura fixa + width auto */
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  max-width: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Hero: logo clara (branca) sobre fundo azul */
.logo-img--hero {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

/* Rolagem / fundo branco: logo azul */
.logo-img--scroll {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(4px);
  z-index: 2;
}

.site-header.is-scrolled .logo-img--hero {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.site-header.is-scrolled .logo-img--scroll {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-over-hero:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
}

/* Sem hero escuro (páginas internas claras): logo azul por padrão */
.site-header:not(.is-over-hero) .logo-img--hero {
  opacity: 0;
  pointer-events: none;
}
.site-header:not(.is-over-hero) .logo-img--scroll {
  opacity: 1;
  transform: translateY(0);
}
.site-header:not(.is-over-hero):not(.is-scrolled) {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}
.site-header:not(.is-over-hero):not(.is-scrolled) .main-nav a { color: var(--color-text); }
.site-header:not(.is-over-hero):not(.is-scrolled) .header-link { color: var(--color-text-muted); }
.site-header:not(.is-over-hero):not(.is-scrolled) .menu-toggle span { background: var(--color-text); }

.main-nav { display: flex; gap: 1.75rem; }
.main-nav a { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; color: rgba(255,255,255,0.92); transition: color 0.15s; }
.main-nav a:hover { color: var(--color-saffron); }
.site-header.is-scrolled .main-nav a { color: var(--color-text); }
.site-header.is-scrolled .main-nav a:hover { color: var(--color-yale-blue); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-link { font-family: var(--font-display); font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.site-header.is-scrolled .header-link { color: var(--color-text-muted); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-switch__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.site-header.is-scrolled .lang-switch__label,
.page-legal .lang-switch__label,
.site-header:not(.is-over-hero):not(.is-scrolled) .lang-switch__label {
  color: var(--color-text-muted);
}
.lang-switch__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.15rem;
}
.site-header.is-scrolled .lang-switch__list,
.page-legal .lang-switch__list,
.site-header:not(.is-over-hero):not(.is-scrolled) .lang-switch__list {
  background: rgba(0,29,61,0.06);
  border-color: rgba(0,29,61,0.1);
}
.lang-switch__item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.lang-switch__item:hover { color: #fff; background: rgba(255,255,255,0.14); }
.lang-switch__item.is-active {
  background: var(--color-saffron);
  color: #001D3D;
}
.site-header.is-scrolled .lang-switch__item,
.page-legal .lang-switch__item,
.site-header:not(.is-over-hero):not(.is-scrolled) .lang-switch__item {
  color: var(--color-text-muted);
}
.site-header.is-scrolled .lang-switch__item:hover,
.page-legal .lang-switch__item:hover,
.site-header:not(.is-over-hero):not(.is-scrolled) .lang-switch__item:hover {
  color: var(--color-yale-blue);
  background: rgba(0,53,102,0.08);
}
.site-header.is-scrolled .lang-switch__item.is-active,
.page-legal .lang-switch__item.is-active,
.site-header:not(.is-over-hero):not(.is-scrolled) .lang-switch__item.is-active {
  background: var(--color-yale-blue);
  color: #fff;
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.menu-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: background 0.3s; }
.site-header.is-scrolled .menu-toggle span { background: var(--color-text); }

/* Hero */
.hero { position: relative; padding: calc(var(--header-height) + 3rem) 0 0; min-height: 100vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #001D3D 0%, #003566 45%, #004d8c 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none' stroke='rgba(255,255,255,0.04)'/%3E%3C/svg%3E"); opacity: 0.6; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; min-height: calc(100vh - var(--header-height) - 100px); }
.hero-content { color: #fff; }
.hero-content h1 { color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; line-height: 1.12; margin-bottom: 1.25rem; }
.hero-content > p { font-size: 1.0625rem; color: rgba(255,255,255,0.78); margin-bottom: 1.75rem; max-width: 46ch; }
.store-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.store-badge img { height: 48px; width: auto; }
.hero-meta { display: flex; flex-direction: column; gap: 0.5rem; }
.hero-stars { color: var(--color-saffron); font-size: 0.875rem; letter-spacing: 2px; }
.hero-stars small { color: rgba(255,255,255,0.75); letter-spacing: 0; margin-left: 0.5rem; }
.hero-stars--dark { color: var(--color-saffron); }
.hero-stars--dark small { color: var(--color-text-muted); }
.hero-users { font-size: 0.9375rem; color: rgba(255,255,255,0.8); }
.hero-users strong { color: var(--color-saffron); font-family: var(--font-display); }
.hero-visual { display: flex; justify-content: center; }
.hero-phones-wrap {
  position: relative;
  width: 520px;
  max-width: 100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.35));
  transform-origin: 50% 70%;
  will-change: transform;
  animation: hero-phones-float 3.4s ease-in-out infinite alternate;
}
@keyframes hero-phones-float {
  from { transform: translateY(0) rotate(0deg) scale(1); }
  to { transform: translateY(-20px) rotate(-2.4deg) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phones-wrap { animation: none; }
}
.hero-phones {
  display: block;
  width: 100%;
  height: auto;
}

/* Chassis PNG (back phone intact) + Boaz screen clipped inside front glass */
.hero-phones-wrap--glass {
  position: relative;
  /* drop-shadow on wrap breaks child border-radius clipping — keep shadow on base img */
  filter: none;
}
.hero-phones-wrap--glass .hero-phones-base {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.35));
}
.hero-front-glass {
  position: absolute;
  z-index: 2;
  /* Keep white UI inside the black chin / side bezel */
  left: 5.2%;
  top: 3.4%;
  width: 49.8%;
  bottom: 9.4%;
  height: auto;
  border-radius: 18% / 8%;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
}
.hero-front-glass__island {
  position: absolute;
  z-index: 3;
  top: 1.2%;
  left: 50%;
  transform: translateX(-50%);
  width: 26.5%;
  height: 4%;
  border-radius: 999px;
  background: #050505;
  box-shadow: inset -16% 0 0 0 #1c1c1c;
}
.hero-front-glass__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-front-glass__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Original dual-phone PNG (back untouched) + front CSS phone covering old front */
.hero-phones-wrap--pair {
  position: relative;
  width: min(520px, 100%);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.35));
}
.hero-phones-base {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
.hero-phones-wrap--pair .hero-phone--front {
  /* Covers front phone of bak PNG — same pose, no rotation */
  position: absolute;
  left: 1.6%;
  top: 0.4%;
  width: 55.5%;
  height: 98.8%;
  z-index: 2;
  transform: none;
  pointer-events: none;
}
.hero-phones-wrap--pair .hero-phone__device {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.4%;
  box-sizing: border-box;
  border-radius: 13.5%;
  background: linear-gradient(160deg, #2f2f34 0%, #0c0c0e 42%, #1a1a1e 100%);
  box-shadow:
    0 0 0 1px #3a3a40,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero-phones-wrap--pair .hero-phone__island {
  position: absolute;
  top: 3.4%;
  left: 50%;
  z-index: 3;
  width: 32%;
  height: 2.15%;
  min-height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050507;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero-phones-wrap--pair .hero-phone__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 11.5%;
  background: #ffffff;
}
.hero-phones-wrap--pair .hero-phone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #ffffff;
}
@media (max-width: 992px) {
  .hero-phones-wrap--pair { width: min(360px, 100%); }
  .hero-phones-wrap--pair .hero-phone--front {
    left: 1.6%;
    width: 55.5%;
  }
}

/* Legacy mock (unused) */
.hero-phones-wrap--mock {
  position: relative;
  width: min(420px, 92vw);
  height: min(640px, 78vw);
  margin: 0 auto;
}
.hero-front-glass { display: block; }
.hero-phones-wrap--glass .hero-front-glass { display: block; }

/* Front device with REAL phone aspect (matches app screenshot) — no stretch */
.hero-front-device {
  position: absolute;
  left: 2.1%;
  top: 0.6%;
  width: 54.6%;
  height: 96.5%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-front-device__bezel {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  max-height: 100%;
  padding: 2.4%;
  box-sizing: border-box;
  border-radius: 14%;
  background: linear-gradient(160deg, #2a2a2e 0%, #0a0a0c 45%, #17171a 100%);
  box-shadow:
    0 0 0 1px #3a3a40,
    0 18px 40px rgba(0, 0, 0, 0.35);
}
.hero-front-device__island {
  position: absolute;
  top: 3.4%;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 2.1%;
  min-height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050507;
}
.hero-front-device__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 11.5%;
  background: #fff;
}
.hero-front-device__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-phone {
  position: absolute;
}
.hero-phone--front {
  /* Covers front phone of the dual-phone PNG */
  left: 2.1%;
  top: 0.6%;
  width: 54.6%;
  height: 96.5%;
  z-index: 2;
  transform: none;
  pointer-events: none;
}
.hero-phone__device {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2.2%;
  border-radius: 13.5%;
  background: #0a0a0c;
  box-shadow: none;
  box-sizing: border-box;
}
.hero-phone__island {
  position: absolute;
  top: 3.2%;
  left: 50%;
  z-index: 3;
  width: 32%;
  height: 2.1%;
  min-height: 10px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero-phone__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 11.5%;
  background: #ffffff;
  display: block;
  padding-top: 0;
  box-sizing: border-box;
}
.hero-phone__screen img {
  width: 100%;
  height: 100%;
  /* never stretch — keep real app proportions */
  object-fit: cover;
  object-position: center top;
  display: block;
  background: #ffffff;
}
.hero-phones-wrap--pair .hero-phone--front .hero-phone__device {
  /* solid device covers bak front phone; back phone of PNG stays visible */
  background: linear-gradient(160deg, #2f2f34 0%, #0c0c0e 42%, #1a1a1e 100%);
  padding: 2.4%;
  box-shadow:
    0 0 0 1px #3a3a40,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero-phones-wrap--pair .hero-phone--front .hero-phone__island {
  top: 3.4%;
}
.hero-phone--download {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  margin: 0 auto;
  transform: none;
  z-index: 1;
}
.hero-phone--download .hero-phone__device {
  width: min(100%, 280px);
  height: auto;
  /* Match hero-app-screen.png (449×1004 after island pad) */
  aspect-ratio: 449 / 1004;
  margin: 0 auto;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2f2f34 0%, #0c0c0e 42%, #1a1a1e 100%);
  box-shadow:
    0 0 0 2px #3a3a40,
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.hero-phone--download .hero-phone__screen {
  border-radius: 33px;
  overflow: hidden;
  background: #fff;
}
.hero-phone--download .hero-phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-phone--download .hero-phone__island {
  top: 16px;
  width: 34%;
  height: 13px;
}

@media (max-width: 992px) {
  .hero-phones-wrap--pair { width: min(360px, 100%); }
  .hero-phones-wrap--pair .hero-phone--front {
    left: 1.6%;
    width: 55.5%;
  }
  .hero-phone--download .hero-phone__device { border-radius: 36px; padding: 8px; }
  .hero-phone--download .hero-phone__screen { border-radius: 28px; }
  .hero-phone--download .hero-phone__island { top: 14px; height: 12px; }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* Brands */
.brands { padding: 2rem 0 3rem; background: #fff; }
.brands__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; opacity: 0.45; }
.brands__item { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Sections */
.section { padding: var(--space-section) 0; }
.section--subtle { background: var(--color-snow); }
.section--stats { background: var(--color-snow); padding: 4rem 0; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-title h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.section-title p { font-size: 1.0625rem; color: var(--color-text-muted); }

/* Features 2x2 */
.features-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 960px; margin: 0 auto; }
.feature-card { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.75rem; background: var(--color-snow); border-radius: 12px; transition: transform 0.25s, box-shadow 0.25s; opacity: 1; }
.feature-card:hover { box-shadow: var(--shadow-card); }
.feature-card__icon { flex-shrink: 0; width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; color: var(--color-accent); }
.feature-card__icon svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.35rem; }
.feature-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.55; }

.cta-pill { text-align: center; margin-top: 4rem; }
.cta-pill p { display: inline-block; background: var(--color-snow); border-radius: 999px; padding: 1rem 2rem; font-size: 1rem; color: var(--color-text-muted); box-shadow: var(--shadow-sm); }
.cta-pill a { color: var(--color-yale-blue); font-weight: 700; }

/* Split */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-section--reverse .split-grid { direction: rtl; }
.split-section--reverse .split-grid > * { direction: ltr; }
.split-visual { position: relative; }
.split-visual__dots { position: absolute; top: -10px; left: -10px; width: 72px; height: 72px; background-image: radial-gradient(var(--color-yale-blue) 2px, transparent 2px); background-size: 10px 10px; opacity: 0.2; }
.split-visual__frame { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.split-visual__frame.split-visual__slideshow {
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.split-visual__frame img { width: 100%; display: block; }
.split-visual__card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.split-visual__card img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.28));
  transform-origin: 50% 50%;
  will-change: transform;
  animation: card-float 3.2s ease-in-out infinite alternate;
}
@keyframes card-float {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-14px) rotate(2.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .split-visual__card img { animation: none; }
}
.split-visual__slideshow {
  position: relative;
  aspect-ratio: 4 / 5;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.split-visual__slideshow > [data-slide] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 0.9s ease, visibility 0s linear 0.7s;
  pointer-events: none;
  z-index: 0;
}
.split-visual__slideshow > img[data-slide] {
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
  display: block;
}
.split-visual__slideshow > [data-slide].is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 0.9s ease, visibility 0s linear 0s;
  z-index: 2;
  pointer-events: auto;
}

/* Mockup iPhone — Central SOS */
.split-visual__sos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vw, 560px);
  background: transparent;
}
.phone-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem 0.75rem;
  background: transparent;
  width: 100%;
}
.phone-mockup__device {
  position: relative;
  width: min(88%, 340px);
  aspect-ratio: 9 / 19.5;
  padding: 11px;
  border-radius: 40px;
  background: linear-gradient(160deg, #2a2a2e 0%, #0c0c0e 40%, #1a1a1e 100%);
  box-shadow:
    0 0 0 2px #3a3a40,
    0 28px 50px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone-mockup__island {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 2;
  width: 28%;
  height: 15px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #0a0a0c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-mockup__screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
}
.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #f5f5f7;
}
.split-content h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 1rem; }
.split-content > p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.split-content__lead {
  color: var(--color-yale-blue) !important;
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 1rem !important;
}
.split-content h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.check-list { margin-bottom: 1.75rem; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.5rem; font-size: 0.9375rem; color: var(--color-text-muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.check-list--cols { columns: 1; }

.float-card { position: absolute; background: #fff; border-radius: 10px; box-shadow: var(--shadow-md); padding: 0.65rem 1rem; font-size: 0.8125rem; }
.float-card--stat { top: 10%; left: -5%; }
.float-card--stat strong { display: block; font-size: 1.1rem; font-family: var(--font-display); }
.float-card--chart { bottom: 15%; left: -4%; display: flex; align-items: flex-end; gap: 0.5rem; }
.mini-chart { display: flex; align-items: flex-end; gap: 3px; height: 36px; }
.mini-chart span { width: 7px; background: #22c55e; border-radius: 2px; }
.mini-chart span:nth-child(1) { height: 40%; } .mini-chart span:nth-child(2) { height: 70%; } .mini-chart span:nth-child(3) { height: 55%; } .mini-chart span:nth-child(4) { height: 95%; }
.float-card--ring { top: 32%; right: -5%; width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.float-card--ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-card--ring span { font-weight: 700; font-size: 0.8125rem; color: var(--color-yale-blue); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.stat-item__value { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: var(--color-yale-blue); line-height: 1; }
.stat-item__suffix { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--color-yale-blue); }
.stat-item h3 { font-size: 1rem; margin: 0.5rem 0 0.25rem; }
.stat-item p { font-size: 0.875rem; color: var(--color-text-muted); max-width: 26ch; margin: 0 auto; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step-card { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 2rem; transition: box-shadow 0.25s; }
.step-card:hover { box-shadow: var(--shadow-card); }
.step-card__num { display: inline-block; font-family: var(--font-display); font-size: 0.75rem; font-weight: 800; color: var(--color-accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9375rem; color: var(--color-text-muted); }

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.25rem; }
.highlight-card { background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 2rem; transition: transform 0.25s, box-shadow 0.25s; }
.highlight-card:hover { box-shadow: var(--shadow-card); }
.highlight-card--featured { background: linear-gradient(135deg, var(--color-oxford-blue), var(--color-yale-blue)); color: #fff; border: none; }
.highlight-card--featured h3, .highlight-card--featured p { color: #fff; }
.highlight-card--featured p { opacity: 0.85; }
.highlight-card__tag { display: inline-block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-saffron); margin-bottom: 0.75rem; }
.highlight-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.highlight-card p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 1rem; }

/* Service cards */
.cards-track-wrapper { position: relative; }
.cards-track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: calc(2rem + 28px) 0.5rem 1rem; }
.cards-track::-webkit-scrollbar { display: none; }
.service-card { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--color-border); border-radius: 16px; padding: 2.5rem 1.5rem 1.5rem; padding-top: calc(2rem + 28px); position: relative; overflow: visible; isolation: isolate; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.service-card::before { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 65%; background-color: color-mix(in srgb, var(--color-yale-blue) 30%, white); opacity: 0.18; border-radius: 0 0 16px 16px; -webkit-mask-image: linear-gradient(to top, #000 0%, #000 48%, transparent 100%), url("../assets/images/watermark-colunas-ionicas.png"); mask-image: linear-gradient(to top, #000 0%, #000 48%, transparent 100%), url("../assets/images/watermark-colunas-ionicas.png"); -webkit-mask-size: 100% 100%, 108% auto; mask-size: 100% 100%, 108% auto; -webkit-mask-position: center, center bottom; mask-position: center, center bottom; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; pointer-events: none; z-index: 0; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover { box-shadow: var(--shadow-hover); }
.service-card__icon { position: absolute; top: -28px; left: 50%; transform: translateX(-50%); width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--color-saffron), var(--color-gold)); border: 4px solid var(--color-snow); display: flex; align-items: center; justify-content: center; color: var(--color-oxford-blue); z-index: 3; }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__title { font-size: 0.875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; text-align: center; margin-bottom: 0.5rem; }
.service-card__line { display: block; width: 40px; height: 3px; background: var(--color-saffron); margin: 0 auto 1rem; border-radius: 2px; }
.service-card__desc { font-size: 0.875rem; color: var(--color-text-muted); text-align: center; margin-bottom: 1rem; }
.service-card__list { border-top: 1px solid var(--color-border); padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card__list li { display: flex; gap: 0.5rem; font-size: 0.8125rem; font-weight: 700; }
.service-card__list li::before { content: "✓"; width: 18px; height: 18px; border-radius: 4px; background: rgba(240,203,70,0.2); color: var(--color-gold); font-size: 0.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.carousel-nav { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.5rem; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; font-size: 1.25rem; box-shadow: var(--shadow-sm); }
.carousel-btn:hover { border-color: var(--color-saffron); }

/* Products */
.segment-tabs { display: flex; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.segment-tab { padding: 0.6rem 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--color-text-muted); border-radius: 999px; border: 1px solid var(--color-border); background: #fff; transition: 0.15s; }
.segment-tab.is-active { background: linear-gradient(135deg, var(--color-saffron), var(--color-gold)); color: var(--color-oxford-blue); border-color: transparent; }
.account-intro {
  max-width: 46rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.account-intro h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
  color: var(--color-oxford-blue);
}
.account-intro p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.product-item { background: var(--color-snow); border-radius: 12px; padding: 1.75rem; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.product-item:hover { box-shadow: var(--shadow-card); }
.product-item h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.product-item > p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.55; }
.product-item__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
}
.product-item__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.45;
}
.product-item__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--color-saffron);
}
.product-item .link-arrow { margin-top: auto; }
.segment-panel { display: none; }
.segment-panel.is-active { display: block; }

/* Integration */
.integration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.integration-content h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.integration-content p { color: var(--color-text-muted); margin-bottom: 1rem; }
.integration-trust { font-weight: 700; color: var(--color-yale-blue) !important; }
.integration-cards { display: flex; flex-direction: column; gap: 1rem; }
.integration-card { background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; transition: box-shadow 0.25s; }
.integration-card:hover { box-shadow: var(--shadow-card); }
.integration-card h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.integration-card p { font-size: 0.875rem; color: var(--color-text-muted); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { background: var(--color-snow); border-radius: 8px; padding: 1.5rem; transition: transform 0.25s, box-shadow 0.25s; }
.review-card:hover { box-shadow: var(--shadow-card); }
.review-card__author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.review-card__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-card__author h4 { font-size: 1rem; }
.review-card__author span { font-size: 0.8125rem; color: var(--color-text-muted); }
.review-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.6; }

/* Awards */
.awards { text-align: center; }
.awards__title { font-size: 1rem; font-weight: 700; color: var(--color-text-muted); margin-bottom: 2rem; }
.awards__grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; opacity: 0.4; }
.awards__grid span { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* Download banner */
.download-banner { padding: 4rem 0 5rem; }
.download-banner__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; background: linear-gradient(135deg, var(--color-oxford-blue), var(--color-yale-blue)); border-radius: 24px; padding: 3rem; overflow: hidden; position: relative; }
.download-banner__inner::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E"); }
.download-banner__content { position: relative; z-index: 1; color: #fff; }
.download-banner__content h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.download-banner__content > p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; }
.download-banner__visual { position: relative; z-index: 1; text-align: center; }
.download-banner__visual img { max-width: 380px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }

/* Footer */
.site-footer { background: var(--color-oxford-blue); color: #fff; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.5rem; }
.footer-col--brand p { font-size: 0.875rem; color: rgba(255,255,255,0.65); max-width: 26ch; }
.footer-col--find .footer-addresses {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: 1fr;
}
.footer-address {
  margin: 0;
  max-width: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.7);
}
.footer-address__link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-address__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.1rem;
  border-radius: 0.4rem;
  background: rgba(240, 203, 70, 0.16);
  color: var(--color-saffron);
}
.footer-address__body {
  display: grid;
  gap: 0.12rem;
}
.footer-address__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.footer-address__text {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.footer-address__link:hover { color: var(--color-saffron); }
.footer-address__link:hover .footer-address__label { color: var(--color-saffron); }
.site-footer > .container > .footer-col--find {
  margin: 0 0 1.5rem;
  max-width: 28rem;
}
.footer-col h4 { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-saffron); margin-bottom: 1rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--color-saffron); }
.footer-col li { margin-bottom: 0.5rem; }
.footer-asaas {
  background: #f4f6f8;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 0 0 1.5rem;
  padding: 1.5rem 1.75rem;
}
.footer-asaas__inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) 1fr;
  gap: 1.75rem 2rem;
  align-items: center;
}
.footer-asaas__brand {
  display: flex;
  align-items: center;
}
.footer-asaas__logo {
  display: block;
  width: min(188px, 100%);
  height: auto;
}
.footer-asaas__copy h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0a2540;
  margin-bottom: 0.45rem;
}
.footer-asaas__copy p {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}
.footer-asaas__copy strong {
  color: #0a2540;
  font-weight: 800;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.55); }
.footer-motto { margin-left: 0.65rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.75); }
.dev-badge { font-size: 0.75rem; color: var(--color-saffron); background: rgba(240,203,70,0.1); padding: 4px 12px; border-radius: 999px; }

/* Página de cadastro */
.page-cadastro .site-header { position: fixed; top: 0; }
.cadastro-hero {
  background: linear-gradient(135deg, var(--color-oxford-blue), var(--color-yale-blue));
  color: #fff;
  padding: calc(var(--header-height) + 3rem) 0 3.5rem;
  text-align: center;
}
.cadastro-hero__title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 3.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 auto;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.25;
}
.cadastro-hero__lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
  margin-top: 1.5rem;
}

/* Animação da marca: BO → BOAZ → sai → BOAZ completa (logo oficial) */
.boaz-reveal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 92vw);
  /* proporção do PNG com padding 1080×305 */
  aspect-ratio: 1080 / 305;
  margin: 1.5rem auto 0;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
}
.boaz-reveal__stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.boaz-reveal__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.boaz-reveal__stage--build {
  animation: boaz-build 3.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.boaz-reveal__stage--full {
  animation: boaz-full 3.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* BO termina em ~52% do PNG — clip à direita em 48% */
@keyframes boaz-build {
  0% {
    opacity: 0;
    clip-path: inset(0 48% 0 0);
    transform: translateY(10px);
  }
  8% {
    opacity: 1;
    clip-path: inset(0 48% 0 0);
    transform: translateY(0);
  }
  22% {
    opacity: 1;
    clip-path: inset(0 48% 0 0);
  }
  34% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  52% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
  62% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes boaz-full {
  0%, 64% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .boaz-reveal__stage--build {
    animation: none;
    opacity: 0;
  }
  .boaz-reveal__stage--full {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.cadastro-section { padding-top: 2.5rem; padding-bottom: 4.5rem; background: var(--color-snow); }
.cadastro-card {
  max-width: 760px;
  margin: -2.5rem auto 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
}
.cadastro-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-heading);
}
.form-field input,
.form-field select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-yale-blue);
  box-shadow: 0 0 0 3px rgba(0, 53, 102, 0.12);
}
.form-field.is-invalid input,
.form-field.is-invalid select { border-color: #c0392b; }
.form-error { font-size: 0.75rem; color: #c0392b; }
.form-alert {
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
}
.form-alert--success { background: #e8f8ef; color: #1b6b3a; border: 1px solid #b7e4c7; }
.form-alert--error { background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2c0; }
.cadastro-form__actions { margin-top: 1.75rem; display: flex; justify-content: flex-end; }

/* Modal de cadastro */
.cadastro-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.cadastro-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cadastro-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 29, 61, 0.62);
  backdrop-filter: blur(2px);
}
.cadastro-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.75rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.cadastro-modal.is-open .cadastro-modal__dialog {
  transform: translateY(0) scale(1);
}
.cadastro-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}
.cadastro-modal__close:hover { color: var(--color-heading); background: var(--color-snow); }
.cadastro-modal__header {
  text-align: center;
  margin-bottom: 1.35rem;
  padding-right: 1.5rem;
}
.cadastro-modal__logo {
  display: block;
  width: 132px;
  height: auto;
  margin: 0 auto 1rem;
}
.cadastro-modal__header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--color-heading);
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}
.cadastro-modal__header p {
  color: var(--color-text-muted);
  font-size: 0.975rem;
}
.cadastro-modal .cadastro-form .form-grid { margin-top: 0.25rem; }
.cadastro-modal .form-alert { margin-bottom: 1rem; }
body.cadastro-modal-open { overflow: hidden; }

.footer-bottom--solo { border-top: none; padding-top: 0; }

/* Admin cadastros */
.page-admin { background: var(--color-snow); min-height: 100vh; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
.admin-login__logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 1.25rem;
}
.admin-login__card {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.admin-login__card h1 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.admin-login__card > p { color: var(--color-text-muted); margin-bottom: 1.25rem; }
.admin-login__card .btn { width: 100%; margin-top: 1rem; }
.admin-back { display: inline-block; margin-top: 1.25rem; font-size: 0.875rem; color: var(--color-yale-blue); }
.admin-bar { background: var(--color-oxford-blue); color: #fff; padding: 1rem 0; }
.admin-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.admin-bar__brand { display: flex; align-items: center; gap: 0.85rem; }
.admin-bar__logo { display: block; width: 120px; height: auto; }
.admin-bar__brand strong { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; }
.admin-bar__actions { display: flex; align-items: center; gap: 1rem; }
.admin-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { padding: 0.85rem 0.9rem; text-align: left; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.admin-table th { background: var(--color-snow); font-weight: 700; color: var(--color-heading); }
.admin-table a { color: var(--color-yale-blue); }
.admin-pagination { margin-top: 1.25rem; }

/* Admin filters */
.admin-filters {
  display: grid;
  grid-template-columns: 2fr 0.8fr 1fr 1fr auto;
  gap: 0.85rem;
  align-items: end;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.admin-filters .form-field { margin: 0; }
.admin-filters__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; padding-bottom: 0.15rem; }

/* Legal pages */
.page-legal .site-header { position: sticky; top: 0; }
.legal-page { padding: 3.5rem 0 4rem; background: var(--color-snow); min-height: 60vh; }
.legal-page__inner { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 0.35rem; }
.legal-page__updated { color: var(--color-text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }
.legal-page__content h2 { font-size: 1.15rem; margin: 1.75rem 0 0.65rem; }
.legal-page__content p, .legal-page__content li { color: var(--color-text); line-height: 1.7; }
.legal-page__content ul { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }
.legal-page__content a { color: var(--color-yale-blue); text-decoration: underline; }

/* Store soon + download contact */
.store-soon {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  max-width: 28rem;
}
.hero .store-soon { color: rgba(255, 255, 255, 0.9); }
.download-banner .store-soon { color: rgba(255, 255, 255, 0.92); }
.store-soon a { color: inherit; text-decoration: underline; font-weight: 700; }
.download-contact { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.download-contact a { color: #fff; text-decoration: underline; }

/* Cadastro next steps */
.cadastro-next-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
}
.cadastro-next-steps a { color: var(--color-yale-blue); text-decoration: underline; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: #1f9d4b;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { background: #188a40; transform: translateY(-2px); color: #fff; }

@media (max-width: 900px) {
  .admin-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .admin-filters { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cadastro-form .form-grid { grid-template-columns: 1fr; }
  .cadastro-card { margin-top: -1.5rem; padding: 1.5rem 1.15rem 1.75rem; }
  .cadastro-form__actions { justify-content: stretch; }
  .cadastro-form__actions .btn { width: 100%; }
  .cadastro-modal { padding: 0.75rem; }
  .cadastro-modal__dialog { padding: 1.35rem 1.1rem 1.5rem; border-radius: 16px; }
  .cadastro-modal { padding: 0.75rem; }
  .cadastro-modal__dialog { padding: 1.35rem 1.1rem 1.5rem; border-radius: 16px; }
}

/* Mobile */
@media (max-width: 992px) {
  .features-cards, .split-grid, .stats-grid, .steps-grid, .highlights-grid, .integration-grid, .reviews-grid, .download-banner__inner, .footer-grid { grid-template-columns: 1fr; }
  .split-section--reverse .split-grid { direction: ltr; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 1.5rem) 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 1.25rem; }
  .hero-content > p, .store-badges, .hero-meta, .store-soon { margin-left: auto; margin-right: auto; }
  .store-badges { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-phones-wrap, .hero-phones-wrap--mock, .hero-phones-wrap--pair { width: min(280px, 70vw); margin-inline: auto; }
  .float-card { display: none; }
  .download-banner__visual { order: -1; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-lg: 1rem;
    --space-section: 3.75rem;
  }
  .main-nav, .header-link { display: none; }
  .lang-switch__label { display: none; }
  .header-actions { gap: 0.35rem; flex-shrink: 1; min-width: 0; }
  .header-actions .btn-sm {
    padding: 0.45rem 0.7rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .lang-switch__list { max-width: 100%; }
  .lang-switch__item { font-size: 0.58rem; padding: 0.28rem 0.34rem; }
  .logo__frame { height: 36px; }
  .logo-img { height: 36px; max-width: min(148px, 36vw); }
  .menu-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .site-header.is-open {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  }
  .site-header.is-open .menu-toggle span,
  .site-header.is-open:not(.is-scrolled) .menu-toggle span {
    background: var(--color-text);
  }
  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--header-height) + 0.35rem);
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 1002;
    background: #fff;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-height) - 1.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.15rem;
  }
  .site-header.is-open .main-nav a {
    color: var(--color-text);
    padding: 0.85rem 0.35rem;
    border-bottom: 1px solid rgba(0, 29, 61, 0.08);
  }
  .site-header.is-open .main-nav a:last-child { border-bottom: 0; }
  .hero-content h1 { font-size: clamp(1.7rem, 7.2vw, 2.2rem); margin-bottom: 0.9rem; }
  .hero-content > p { font-size: 0.98rem; margin-bottom: 1.1rem; }
  .hero-ctas { justify-content: center; }
  .hero-ctas .btn { min-height: 44px; width: min(100%, 320px); }
  .hero-commercial { margin-left: auto; margin-right: auto; }
  .store-badge img { height: 40px; }
  .store-soon { font-size: 0.88rem; padding: 0 0.25rem; }
  .features-cards { grid-template-columns: 1fr; }
  .service-card { flex: 0 0 280px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-asaas__inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-asaas__brand { justify-content: flex-start; }
  .eco-grid, .ethics-grid { grid-template-columns: 1fr; }
  .eco-flow { border-radius: 14px; }
  .cadastro-modal {
    padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right)) max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
    align-items: end;
  }
  .cadastro-modal__dialog {
    width: 100%;
    max-height: min(92dvh, 900px);
    padding: 1.25rem 1rem 1.35rem;
    border-radius: 16px 16px 12px 12px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .cadastro-form input,
  .cadastro-form select,
  .cadastro-form textarea,
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px !important;
  }
  .whatsapp-float {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .cookie-banner {
    left: max(0.75rem, env(safe-area-inset-left));
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
  .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
  .brands__inner { gap: 0.75rem 1rem; justify-content: center; }
}

@media (max-width: 420px) {
  .header-actions .btn[data-open-cadastro] {
    padding: 0.4rem 0.55rem;
    font-size: 0.7rem;
  }
  .lang-switch__item { padding: 0.24rem 0.28rem; font-size: 0.55rem; }
  .hero-phones-wrap, .hero-phones-wrap--mock, .hero-phones-wrap--pair { width: min(230px, 68vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Briefing redesign — ecossistema / ética / pilares / transparência */
.hero-kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-saffron, #F0CB46);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0 1rem;
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.hero-commercial {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.78);
  max-width: 34rem;
}
.section-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yale-blue, #003566);
}
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.eco-card {
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  background: var(--color-snow, #f7f8fa);
  border: 1px solid rgba(0, 29, 61, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.eco-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card, 0 12px 30px rgba(0,0,0,0.08)); }
.eco-card h3 { font-size: 1.05rem; font-weight: 800; margin: 0 0 0.45rem; color: var(--color-oxford-blue, #001D3D); }
.eco-card p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--color-text-muted, #5b6570); }
.eco-flow {
  margin: 2rem auto 0;
  max-width: 920px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-yale-blue, #003566);
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: rgba(240, 203, 70, 0.18);
}
.ethics-section { background: #001D3D; color: #fff; }
.ethics-section .section-eyebrow { color: var(--color-saffron, #F0CB46); }
.ethics-section .section-title h2 { color: #fff; }
.ethics-section .section-title p { color: rgba(255,255,255,0.72); }
.ethics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.ethics-card {
  padding: 1.25rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.ethics-card h3 { margin: 0 0 0.4rem; font-size: 1rem; font-weight: 800; color: var(--color-saffron, #F0CB46); }
.ethics-card p { margin: 0; font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.78); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar-card {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0, 29, 61, 0.08);
  box-shadow: 0 10px 28px rgba(0, 29, 61, 0.05);
}
.pillar-card h3 { margin: 0 0 0.5rem; font-size: 1.35rem; font-weight: 800; }
.pillar-card__tag {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-yale-blue, #003566);
}
.pillar-card p:last-child { margin: 0; font-size: 0.95rem; line-height: 1.55; color: var(--color-text-muted, #5b6570); }
.transparency-section { background: var(--color-snow, #f7f8fa); }
.transparency-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.transparency-inner h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin: 0 0 0.85rem; }
.transparency-inner > div > p:last-child { color: var(--color-text-muted, #5b6570); line-height: 1.6; }
.transparency-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.transparency-list li {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  background: #fff;
  border-left: 4px solid var(--color-saffron, #F0CB46);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-oxford-blue, #001D3D);
}
@media (max-width: 1100px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .ethics-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .transparency-inner { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .eco-grid, .ethics-grid { grid-template-columns: 1fr; }
  .hero-ctas { justify-content: center; }
  .hero-commercial { margin-left: auto; margin-right: auto; }
  .eco-flow { border-radius: 14px; }
}

/* Inner pages (Grupo, Parceiros, Educação, Transparência) */
.page-inner .site-header { position: sticky; top: 0; }
.inner-page { padding: calc(var(--header-height, 72px) + 2.5rem) 0 4rem; }
.inner-page__inner { max-width: 820px; }
.inner-page__lead { font-size: 1.125rem; color: var(--color-text-muted, #5a6a7a); margin: 0 0 1.75rem; }
.inner-page__content { line-height: 1.7; color: var(--color-oxford-blue, #001D3D); }
.inner-page__content p { margin-bottom: 1.25rem; }
.inner-page__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.section-more { margin-top: 1.75rem; text-align: center; }
.section-more a:not(.btn) { font-weight: 700; color: var(--color-yale-blue, #003566); }
.footer-asaas__disclaimer { margin-top: 0.75rem; font-size: 0.875rem; color: var(--color-text-muted, #5a6a7a); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.store-wa-cta { white-space: nowrap; }
.store-badge--soon { opacity: 0.72; }

/* Admin tabs */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 29, 61, 0.12);
}
.admin-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-oxford-blue, #001D3D);
  background: rgba(0, 53, 102, 0.06);
  text-decoration: none;
}
.admin-tabs__item:hover { background: rgba(0, 53, 102, 0.12); }
.admin-tabs__item.is-active {
  background: var(--color-yale-blue, #003566);
  color: #fff;
}
.admin-tabs__count {
  display: inline-flex;
  min-width: 1.5rem;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
}
.admin-tabs__item:not(.is-active) .admin-tabs__count {
  background: rgba(0, 53, 102, 0.12);
}

