/* =========================================================
   GESTOR CERTO — Ecossistema Grupo Gestor
   Design System / styles.css
   Paleta oficial da marca (globo verde-teal → azul)
   ========================================================= */

:root {
  /* Brand palette */
  --teal-300: #2DD4BF;
  --teal-400: #14B8A6;
  --teal-500: #0F9488;
  --blue-400: #3B82F6;
  --blue-500: #2563EB;
  --blue-600: #1D4ED8;
  --blue-900: #0B2A6B;

  /* Surfaces / text */
  --ink: #0F172A;
  --ink-soft: #334155;
  --muted: #64748B;
  --muted-2: #94A3B8;
  --line: #E2E8F0;
  --line-2: #EEF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F6F9FC;
  --bg-soft-2: #EEF4FA;
  --surface: #FFFFFF;

  /* Brand gradients */
  --grad-brand: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 35%, #2563EB 100%);
  --grad-brand-soft: linear-gradient(135deg, #E8FBF7 0%, #EAF2FE 100%);
  --grad-dark: linear-gradient(150deg, #0B2A6B 0%, #0E3A7A 45%, #0F766E 120%);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, .07), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .12), 0 6px 14px rgba(15, 23, 42, .07);
  --shadow-brand: 0 14px 30px rgba(20, 184, 166, .25);

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

  --container: 1180px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }

/* ----------------------------- Typography ----------------------------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.01em; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-500);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: .98rem; border: 1.5px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(20,184,166,.34); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--teal-300); color: var(--teal-500); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn--light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn--wa { background: #25D366; color: #06351c; box-shadow: 0 12px 26px rgba(37,211,102,.32); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(37,211,102,.42); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  gap: 8px;
  flex: 1;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--teal-400);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.nav__link:hover {
  color: var(--blue-600);
}

.nav__link:hover::after {
  opacity: 1;
}

.nav__link--active::after {
  opacity: 1;
}

.nav__link--active {
  color: var(--blue-600);
}

.nav__drop {
  position: relative;
}

.nav__drop > button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.nav__drop.open > button svg {
  transform: rotate(180deg);
}

.nav__drop-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s var(--ease);
  z-index: 80;
  display: flex;
  flex-direction: column;
}

.nav__drop.open .nav__drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__drop-menu a {
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
  display: block;
}

.nav__drop-menu a:hover {
  background: var(--bg-soft-2);
  color: var(--blue-600);
  transform: translateX(3px);
}

/* Dropdown "Acessos" — Menu B (Smooth Dropdown) */
.nav__drop { position: relative; }
.nav__drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px; font-weight: 600; font-size: .9rem; color: var(--ink-soft);
  background: transparent; border: 0; cursor: pointer; transition: all .25s var(--ease);
  position: relative;
}
.nav__drop > button::after {
  content: ""; position: absolute; bottom: 0; left: 14px; right: 14px; height: 2px;
  background: var(--teal-400); opacity: 0; transition: opacity .25s var(--ease);
}
.nav__drop > button:hover::after { opacity: 1; }
.nav__drop > button svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav__drop.open > button svg { transform: rotate(180deg); }
.nav__drop-menu {
  position: absolute; top: calc(100% + 12px); right: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 12px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s var(--ease);
  z-index: 80;
  backdrop-filter: blur(8px);
}
.nav__drop.open .nav__drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop-menu a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px;
  font-size: .9rem; font-weight: 600; color: var(--ink-soft); transition: all .2s var(--ease);
}
.nav__drop-menu a:hover { background: var(--bg-soft-2); color: var(--blue-600); transform: translateX(3px); }
.nav__drop-menu hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px 0; }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.header-actions .btn--link { display: none; font-size: 0.85rem; padding: 10px 16px; }
.header-actions .btn--primary { padding: 10px 18px; font-size: 0.9rem; }
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 80px;
}

.header__logo-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Logo do header cabe na barra (override do style inline 120px) */
.header__logo-left img {
  height: 60px !important;
  width: auto;
}

.header__logo-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media (min-width: 1024px) {
  .header-actions .btn--link { display: inline-flex; color: var(--ink-soft); font-weight: 600; font-size: .9rem; transition: color .2s; }
  .header-actions .btn--link:hover { color: var(--blue-600); }
}

.nav__toggle {
  display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  padding: 0; cursor: pointer; transition: all .2s;
}
.nav__toggle:hover { border-color: var(--blue-500); background: var(--bg-soft-2); }
.nav__toggle span { width: 18px; height: 2px; background: var(--ink-soft); border-radius: 2px; transition: all .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--blue-600); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--blue-600); }

/* ----------------------------- Hero Épico (NOVO DESIGN) ----------------------------- */
.hero-epic {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0B2A6B 0%, #0E3A7A 45%, #0F766E 120%);
  min-height: clamp(600px, 90vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-epic-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45,212,191,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 40% -20%, rgba(45,212,191,0.1) 0%, transparent 60%);
  animation: heroFlow 20s ease-in-out infinite;
}

@keyframes heroFlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: logoFade 1s ease-out 0.2s both;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------- Hero Antigo ----------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 100px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(720px 420px at 12% -8%, #E6FBF6 0%, transparent 60%),
    radial-gradient(820px 480px at 102% 8%, #E9F1FE 0%, transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero__pill b { color: var(--teal-500); }
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
.hero h1 { margin: 22px 0 0; }
.hero__sub { margin-top: 20px; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.hero__trust-item svg { width: 19px; height: 19px; color: var(--teal-400); flex-shrink: 0; }

/* Hero visual: floating ecosystem card */
.hero__visual { position: relative; }
.eco-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; z-index: 2;
}
.eco-card__head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.eco-card__head img { width: 40px; height: 40px; }
.eco-card__head .t { font-weight: 800; font-size: 1.02rem; }
.eco-card__head .s { font-size: .78rem; color: var(--muted); }
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.eco-item {
  display: flex; align-items: center; gap: 11px; padding: 12px;
  border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line-2);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.eco-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.eco-item .ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; background: var(--grad-brand);
}
.eco-item .ic svg { width: 20px; height: 20px; }
.eco-item .nm { font-weight: 700; font-size: .9rem; line-height: 1.2; }
.eco-item .ds { font-size: .74rem; color: var(--muted); }
.eco-badge {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 14px; padding: 11px 15px; display: flex; align-items: center; gap: 10px;
}
.eco-badge .n { font-weight: 800; font-size: 1.15rem; line-height: 1; }
.eco-badge .l { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.eco-badge--tl { top: -22px; left: -24px; }
.eco-badge--br { bottom: -20px; right: -18px; }
.hero__blob { position: absolute; inset: -10% -12% -10% -6%; z-index: 1; filter: blur(8px); opacity: .5;
  background: radial-gradient(closest-side, rgba(45,212,191,.35), transparent), radial-gradient(closest-side at 70% 70%, rgba(37,99,235,.28), transparent); }

/* ----------------------------- Stats bar ----------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 14px; }
.stat__n { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat__l { margin-top: 8px; font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ----------------------------- Cards / grids ----------------------------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #fff; }
.card__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-brand-soft); color: var(--teal-500); margin-bottom: 18px;
}
.card__ic svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .96rem; color: var(--muted); }
.card__link { margin-top: 16px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue-600); font-size: .92rem; }
.card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card__link svg { transform: translateX(4px); }
.card--feature::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.card:hover.card--feature::after { transform: scaleX(1); }

/* Pillar (large category) cards */
.pillar {
  display: flex; flex-direction: column; gap: 14px; padding: 30px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .25s;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar__top { display: flex; align-items: center; justify-content: space-between; }
.pillar__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); }
.pillar__ic svg { width: 28px; height: 28px; }
.pillar__count { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-500); background: var(--grad-brand-soft); padding: 5px 12px; border-radius: var(--radius-pill); }
.pillar h3 { font-size: 1.3rem; }
.pillar ul { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pillar ul li { display: flex; gap: 9px; font-size: .94rem; color: var(--ink-soft); align-items: flex-start; }
.pillar ul li svg { width: 17px; height: 17px; color: var(--teal-400); flex-shrink: 0; margin-top: 4px; }

/* Tag list (chips of products) */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { padding: 8px 15px; border-radius: var(--radius-pill); background: var(--bg-soft); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--ink-soft); transition: .2s; }
.chip:hover { border-color: var(--teal-300); color: var(--teal-500); background: #fff; }

/* Feature row (icon + text) */
.frow { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.frow:last-child { border-bottom: 0; }
.frow__ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-brand-soft); color: var(--teal-500); }
.frow__ic svg { width: 23px; height: 23px; }
.frow h4 { font-size: 1.05rem; margin-bottom: 4px; }
.frow p { font-size: .94rem; color: var(--muted); }

/* ----------------------------- Split / media ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--media-right { grid-template-columns: 1.05fr .95fr; }
.media-card {
  border-radius: var(--radius-lg); padding: 32px; background: var(--grad-dark); color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.media-card::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; right: -120px; top: -120px; background: radial-gradient(closest-side, rgba(45,212,191,.4), transparent); }

/* ----------------------------- App showcase ----------------------------- */
.app-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.app-phone {
  width: 290px; max-width: 100%; margin-inline: auto; aspect-ratio: 9/18;
  background: var(--grad-dark); border-radius: 36px; padding: 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08); position: relative;
}
.app-phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 96px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.18); }
.app-screen { background: #0a1b3d; border-radius: 24px; height: 100%; padding: 34px 16px 18px; overflow: hidden; }
.app-screen__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.app-screen__head img { width: 30px; height: 30px; }
.app-screen__head b { color: #fff; font-size: .9rem; }
.app-screen__head span { color: #93c5be; font-size: .64rem; }
.app-screen__row { display: flex; align-items: center; gap: 11px; padding: 11px 10px; margin-top: 10px; border-radius: 12px; background: rgba(255,255,255,.06); }
.app-screen__row .ai { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; background: var(--grad-brand); flex-shrink: 0; }
.app-screen__row .ai svg { width: 16px; height: 16px; }
.app-screen__row .at { color: #e2e8f0; font-size: .78rem; font-weight: 600; }
.app-screen__row .ad { color: #7e93b8; font-size: .64rem; }
.store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px; border-radius: 14px; background: #0a1b3d; color: #fff; box-shadow: var(--shadow-md); transition: transform .18s var(--ease); }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn small { display: block; font-size: .62rem; color: #94a3b8; line-height: 1; }
.store-btn b { display: block; font-size: .95rem; line-height: 1.2; }

/* ----------------------------- CTA band ----------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0%, rgba(45,212,191,.28), transparent), radial-gradient(500px 280px at 10% 100%, rgba(59,130,246,.3), transparent); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 600px; margin: 14px auto 0; }
.cta-band .hero__actions { justify-content: center; }

/* ----------------------------- Footer ----------------------------- */
.footer { background: #0A1B3D; color: #cbd5e1; padding: 64px 0 30px; }
.footer a { color: #cbd5e1; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer__logo img { width: 40px; height: 40px; }
.footer__logo span { display: flex; flex-direction: column; line-height: 1.15; }
.footer__logo b { color: #fff; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.footer__logo small { color: #94a3b8; font-size: .68rem; letter-spacing: .04em; }
.footer__brand p { color: #94a3b8; font-size: .92rem; max-width: 300px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: .2s; }
.footer__social a:hover { background: var(--grad-brand); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: .93rem; }
.footer__contact li { display: flex; gap: 11px; font-size: .92rem; margin-bottom: 13px; color: #cbd5e1; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--teal-300); flex-shrink: 0; margin-top: 2px; }
.footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .85rem; color: #94a3b8; }

/* ----------------------------- WhatsApp float ----------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .2s var(--ease); animation: waPulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); } }

/* ----------------------------- Forms ----------------------------- */
.form { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .96rem; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px rgba(20,184,166,.13); }
.field textarea { resize: vertical; min-height: 120px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); }

/* ----------------------------- Breadcrumb / page hero ----------------------------- */
.page-hero { position: relative; padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px); background: var(--grad-brand-soft); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(45,212,191,.25), transparent); }
.crumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumb a:hover { color: var(--teal-500); }
.page-hero h1 { max-width: 760px; }
.page-hero p { max-width: 640px; margin-top: 16px; }

/* ----------------------------- Reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wa-float { animation: none; } html { scroll-behavior: auto; } }

/* ----------------------------- Misc ----------------------------- */
.badge-soft { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--radius-pill); background: var(--grad-brand-soft); color: var(--teal-500); font-size: .8rem; font-weight: 700; }
.badge-soft svg { width: 15px; height: 15px; flex-shrink: 0; }
.badge-dev { background: #FEF3C7; color: #92400E; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ----------------------------- App Showcase (MEI) ----------------------------- */
.app-showcase { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.app-phone {
  perspective: 1200px;
  display: flex; justify-content: center; position: relative;
}
.app-phone::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(45,212,191,.2), transparent);
  border-radius: 50%;
}
.app-screen {
  width: 300px; aspect-ratio: 9/18;
  border-radius: 50px; border: 12px solid #000; box-shadow: 0 25px 60px rgba(0,0,0,.3);
  background: linear-gradient(135deg, #0f172a 0%, #1a2847 100%); color: #fff;
  padding: 20px; overflow: auto;
  transform: rotateX(5deg) rotateZ(-8deg);
  box-shadow: 0 30px 80px rgba(45,212,191,.25), -20px 40px 90px rgba(0,0,0,.2);
}
.app-screen::before { content: ""; position: absolute; top: 0; left: 50%; width: 40%; height: 28px; background: #000; border-radius: 0 0 24px 24px; transform: translateX(-50%); z-index: 10; }
.app-screen__head {
  display: flex; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.1); line-height: 1.2;
}
.app-screen__head img { width: 40px; height: 40px; border-radius: 10px; }
.app-screen__head b { font-size: .95rem; font-weight: 800; }
.app-screen__head span { font-size: .72rem; color: #94a3b8; }
.app-screen__row {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05);
}
.app-screen__row .ai {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(45,212,191,.2); color: #2dd4bf;
}
.app-screen__row .ai svg { width: 18px; height: 18px; }
.app-screen__row .at { font-size: .85rem; font-weight: 700; }
.app-screen__row .ad { font-size: .7rem; color: #94a3b8; margin-top: 2px; }

.store-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  border-radius: 14px; background: #1a2847; border: 1.5px solid rgba(45,212,191,.3);
  color: #fff; font-size: .88rem; font-weight: 700; transition: all .2s;
  text-decoration: none;
}
.store-btn:hover { background: rgba(45,212,191,.1); border-color: #2dd4bf; transform: translateY(-2px); }
.store-btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ----------------------------- Instagram Feed ----------------------------- */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.insta-post {
  aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; position: relative;
  cursor: pointer; transition: transform .2s; box-shadow: var(--shadow-md);
}
.insta-post:hover { transform: translateY(-4px); }
.insta-post img { width: 100%; height: 100%; object-fit: cover; }
.insta-post::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(45,212,191,.2), rgba(37,99,235,.2));
  opacity: 0; transition: opacity .2s;
}
.insta-post:hover::after { opacity: 1; }
.insta-post-overlay {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .2s;
  background: rgba(0,0,0,.4); backdrop-filter: blur(4px);
}
.insta-post:hover .insta-post-overlay { opacity: 1; }
.insta-post-overlay svg { width: 32px; height: 32px; color: #fff; }

@media (max-width: 860px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 620px) {
  .insta-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ----------------------------- Servicos Grid Clean (3x3) ----------------------------- */
.servicos-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.servico-clean {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.servico-clean:hover {
  border-color: var(--teal-400);
  box-shadow: 0 12px 32px rgba(45, 212, 191, 0.15);
  transform: translateY(-4px);
}

.servico-clean-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.servico-clean-icon svg {
  width: 100%;
  height: 100%;
}

.servico-clean h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--dark-900);
}

.servico-clean p {
  font-size: 0.9rem;
  color: var(--dark-600);
  margin: 0;
}

@media (max-width: 860px) {
  .servicos-grid-clean {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 620px) {
  .servicos-grid-clean {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------- Ecosystem Visual (Futuristic) ----------------------------- */
.ecosystem-visual {
  width: 100%; max-width: 600px; margin: 0 auto 48px;
  display: flex; flex-direction: column; align-items: center;
}
.ecosystem-svg {
  width: 100%; max-width: 600px; height: auto; display: block;
  filter: drop-shadow(0 0 30px rgba(45, 212, 191, 0.15));
}
.ecosystem-svg:hover {
  filter: drop-shadow(0 0 50px rgba(45, 212, 191, 0.25));
}

/* ----------------------------- Video Section ----------------------------- */
.video-section { margin-top: 48px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-card {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 aspect */
  background: #000; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.video-card video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.video-card:hover video { opacity: .9; }

/* Video showcase — hero style */
.video-showcase {
  max-width: 900px; margin: 48px auto 0; position: relative;
}
.video-container {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 aspect */
  background: #000; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  transition: box-shadow .3s, transform .3s;
}
.video-container:hover { box-shadow: 0 24px 48px rgba(45, 212, 191, 0.2); transform: translateY(-4px); }
.video-container video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.4); transition: opacity .3s;
}
.video-container:hover .video-overlay { opacity: 1 !important; }
.play-btn {
  width: 80px; height: 80px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .3s; box-shadow: 0 12px 28px rgba(45, 212, 191, 0.4);
}
.play-btn:hover { transform: scale(1.1); box-shadow: 0 16px 36px rgba(45, 212, 191, 0.5); }
.play-btn svg { width: 32px; height: 32px; margin-left: 4px; }

@media (max-width: 860px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-showcase { max-width: 100%; }
  .play-btn { width: 60px; height: 60px; }
  .play-btn svg { width: 24px; height: 24px; }
}

/* ----------------------------- Responsive ----------------------------- */
/* ====================== TABLET (980px and below) ====================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .split, .split--media-right { grid-template-columns: 1fr; gap: 36px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* ====================== MOBILE MENU (768px and below) ====================== */
@media (max-width: 768px) {
  /* HEADER */
  .header-layout {
    height: 72px;
    min-height: 72px;
  }

  /* Logo menor no mobile para o header manter 72px e alinhar com o menu */
  .header__logo-left img {
    height: 52px !important;
  }

  .header__logo-right {
    display: none !important;
  }

  /* MENU RESPONSIVO - PROFISSIONAL */
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .nav-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav__link {
    padding: 16px 18px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    width: 100%;
    justify-content: space-between;
  }

  .nav__link::after {
    display: none !important;
  }

  .nav__link:hover {
    background: #f5f5f5;
    color: var(--blue-600);
  }

  /* DROPDOWN NO MOBILE */
  .nav__drop {
    width: 100%;
  }

  .nav__drop > button {
    width: 100%;
    padding: 16px 18px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
  }

  .nav__drop > button:hover {
    background: #f5f5f5;
  }

  .nav__drop-menu {
    position: static;
    background: #fafafa;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    top: auto;
    right: auto;
  }

  .nav__drop-menu a {
    padding: 12px 30px;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    font-size: 0.95rem;
    margin: 0;
    transform: none;
  }

  .nav__drop-menu a:hover {
    background: #f0f0f0;
    color: var(--blue-600);
    transform: none;
  }

  .nav__drop-menu a:last-child {
    border-bottom: none;
  }

  /* HAMBURGER BUTTON */
  .nav__toggle {
    display: flex !important;
  }

  .header-actions .btn--link {
    display: none !important;
  }

  .header-actions .btn--primary {
    display: none !important;
  }

  /* Mobile adjustments */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .eco-badge { display: none; }
}

/* ====================== SMALL MOBILE (480px and below) ====================== */
@media (max-width: 480px) {
  .container { padding-inline: 16px; }

  .brand__text { display: none; }
  .brand__icon { width: 36px; height: 36px; }

  /* Menu improvements for very small screens */
  .nav__links a {
    padding: 10px 12px !important;
    font-size: 0.85rem;
  }

  .nav__drop-menu {
    padding: 12px 10px !important;
  }

  .nav__drop-menu a {
    padding: 10px 10px;
    gap: 8px;
  }

  .nav__drop-menu a .di {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__drop-menu a .dl {
    flex: 1;
    min-width: 0;
  }

  .nav__drop-menu a span {
    word-break: break-word;
  }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }

  h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 3vw, 1.3rem); }

  .btn { padding: 11px 18px; font-size: 0.9rem; }
  .btn svg { width: 16px; height: 16px; }

  .section { padding: clamp(40px, 6vw, 70px) 0; }
  .section-head { margin-bottom: 32px; }

  .nav__links { top: 64px; }

  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__actions .btn { flex: 1; }
  .eco-badge--tl { left: -6px; }
  .eco-badge--br { right: -4px; }
}
