/* ==========================================================================
   GM Company · Landing page
   Tokens derivados do logo: azul-marinho → azul-petróleo → verde-água
   ========================================================================== */

:root {
  --navy-900: #00223F;
  --navy: #003F73;
  --petrol: #00607A;
  --teal: #00877F;
  --teal-cta: #008279;       /* verde-água com contraste AA para texto branco */
  --teal-cta-hover: #006D66;
  --signal: #2BC6B2;         /* verde-água claro para CTAs em fundo escuro */
  --signal-hover: #52D6C5;
  --whatsapp: #25D366;

  --ink: #06243F;
  --text: #43566A;
  --muted: #5F7183;
  --teal-text: #00766F;      /* verde-água para texto pequeno em fundo claro */
  --line: #E2E9EF;
  --line-strong: #CFDAE3;
  --bg: #FFFFFF;
  --bg-soft: #F3F7F9;
  --tint: #E7F3F2;

  --grad: linear-gradient(100deg, #003F73 0%, #00607A 52%, #00877F 100%);

  --font-display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(6, 36, 63, .05), 0 4px 14px -6px rgba(6, 36, 63, .08);
  --shadow: 0 2px 6px rgba(6, 36, 63, .05), 0 24px 48px -20px rgba(6, 36, 63, .22);

  --header-h: 72px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .65, .2, 1);

  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5 12 6l6.5 6.5M5.5 19 12 12.5l6.5 6.5'/%3E%3C/svg%3E");

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  color: var(--ink);
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--teal-cta);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 .78rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-text);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 16px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--chev) center / contain no-repeat;
          mask: var(--chev) center / contain no-repeat;
}

h2 {
  font-size: clamp(1.85rem, 1.05rem + 2.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.022em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  margin-top: 18px;
  max-width: 60ch;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem);
}

.section-head { max-width: 780px; }
.section-head h2 { margin-top: 16px; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Lista com as setas do logo como marcador */
.ticks-list { display: grid; gap: 10px; }
.ticks-list li {
  position: relative;
  padding-left: 26px;
  font-size: .98rem;
  line-height: 1.5;
  color: #2C4054;
}
.ticks-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .2em;
  width: 16px; height: 16px;
  background: var(--teal);
  -webkit-mask: var(--chev) center / contain no-repeat;
          mask: var(--chev) center / contain no-repeat;
}
.ticks-list--sm li { font-size: .94rem; }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: 700 1rem/1.1 var(--font-body);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }

.btn-sm { --h: 42px; padding: 0 16px; font-size: .92rem; border-radius: 10px; }
.btn-lg { --h: 58px; padding: 0 26px; font-size: 1.04rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--teal-cta);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(0, 130, 121, .8), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn-primary:hover { background: var(--teal-cta-hover); transform: translateY(-1px); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .icon-down { transform: rotate(90deg); transition: transform .2s var(--ease); }
.btn-ghost:hover .icon-down { transform: rotate(90deg) translateX(2px); }

.btn-signal {
  background: var(--signal);
  color: var(--navy-900);
}
.btn-signal:hover { background: var(--signal-hover); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
          backdrop-filter: saturate(1.4) blur(14px);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 36, 63, .35);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand { flex: none; border-radius: 8px; }
.brand img { height: 38px; width: auto; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: 2px; }
.nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: var(--bg-soft); color: var(--teal-cta); }
.nav-cta { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: 4px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.menu-bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-bar:nth-of-type(2) { top: 16px; }
.menu-bar:nth-of-type(3) { top: 24px; }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(2) { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bar:nth-of-type(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(6, 36, 63, .3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    padding: 16px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-list a:hover { background: none; }
  .nav-cta { display: flex; width: 100%; margin-top: 20px; }
}

@media (max-width: 559px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
}

/* ---------- Seções ---------- */
.section {
  position: relative;
  padding-block: clamp(72px, 40px + 6vw, 128px);
}
.section-soft { background: var(--bg-soft); }

.section-dark {
  overflow: hidden;
  color: rgba(255, 255, 255, .74);
  background:
    radial-gradient(1100px 560px at 88% -10%, rgba(0, 135, 127, .30), transparent 60%),
    radial-gradient(900px 520px at -5% 110%, rgba(0, 96, 122, .38), transparent 60%),
    var(--navy-900);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--signal); }
.section-dark .lead { color: rgba(255, 255, 255, .72); }
.section-dark :focus-visible { outline-color: var(--signal); }

.dark-mark {
  position: absolute;
  top: -80px; right: -140px;
  width: 560px; height: 560px;
  color: rgba(255, 255, 255, .035);
  pointer-events: none;
}
.dark-mark--left { top: auto; right: auto; bottom: -160px; left: -180px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(36px, 5vw, 80px)) 0 clamp(64px, 7vw, 104px);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FA 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 440px at 80% 42%, rgba(0, 135, 127, .17), transparent 70%),
    radial-gradient(520px 380px at 100% 95%, rgba(0, 63, 115, .10), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.1rem, 1rem + 3.4vw, 3.375rem);
  font-weight: 800;
  font-stretch: 106%;
  line-height: 1.04;
  letter-spacing: -.028em;
}
.hl {
  background: linear-gradient(100deg, var(--petrol), var(--teal) 70%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 56ch;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .icon {
  width: 20px; height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--teal-cta);
}

@media (max-width: 479px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
}

/* Cena do hero: conversa + ligação + CRM */
.scene {
  position: relative;
  margin: 0;
  display: grid;
  justify-items: center;
  padding: 8px 0 0;
}

.phone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 300px;
  height: 590px;
  overflow: hidden;
  border: 10px solid #0D1E2D;
  border-radius: 46px;
  background: #E9EFF0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    0 40px 80px -30px rgba(0, 34, 63, .55),
    0 18px 30px -18px rgba(0, 34, 63, .35);
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  z-index: 2;
  width: 90px; height: 24px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #0D1E2D;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 42px 14px 12px;
  background: var(--petrol);
  color: #fff;
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #7EDBCF, #2BC6B2);
  color: var(--navy-900);
  font: 800 .8rem/1 var(--font-display);
}
.chat-id { display: grid; line-height: 1.2; }
.chat-id strong { font-size: .92rem; }
.chat-status { font-size: .75rem; opacity: .8; }

.chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 12px 10px;
  overflow: hidden;
  background-color: #E9EFF0;
  background-image: radial-gradient(rgba(0, 96, 122, .07) 1px, transparent 1.2px);
  background-size: 14px 14px;
}

.chat-day {
  align-self: center;
  margin-bottom: auto;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  font-size: .7rem;
  font-weight: 600;
  color: #54656F;
}

.msg {
  max-width: 84%;
  padding: 7px 9px 6px 10px;
  border-radius: 12px;
  font-size: .8rem;
  line-height: 1.4;
  color: #111B21;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  overflow-wrap: break-word;
}
.msg-me { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 4px; }
.msg-them { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.msg-meta {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin: 7px 0 -3px 10px;
  font-size: .64rem;
  color: #667781;
}
.ticks { width: 16px; height: 12px; color: #53BDEB; }

.quick {
  align-self: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 92%;
}
.quick span {
  padding: 6px 11px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  font-size: .74rem;
  font-weight: 700;
  color: var(--teal-cta);
  transition: background-color .3s, color .3s;
}
.quick span.is-picked { background: var(--teal-cta); color: #fff; }

.typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 11px 12px;
  border-radius: 12px;
  border-top-left-radius: 4px;
  background: #fff;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.typing.is-shown { display: inline-flex; }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8696A0;
  animation: typing 1.2s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-3px); opacity: 1; }
}

.chat-input { padding: 8px 10px 14px; background: #E9EFF0; }
.chat-input span {
  display: flex;
  align-items: center;
  height: 36px;
  padding-left: 14px;
  border-radius: 999px;
  background: #fff;
  font-size: .78rem;
  color: #8696A0;
}

/* Animação da conversa: só esconde as etapas quando o script está ativo */
html.js.is-ready .chat [data-step]:not(.is-shown) { display: none; }
html.js.is-ready .chat .is-shown:not(.typing) { animation: msg-in .35s var(--ease) both; }

@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .8rem;
  line-height: 1.3;
  color: var(--ink);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.float strong { display: block; font-size: .82rem; }
.float small { display: block; font-size: .74rem; color: var(--muted); }

html.js.is-ready .float:not(.is-shown) { opacity: 0; transform: translateY(10px) scale(.96); }

.float-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  background: var(--tint);
  color: var(--teal-cta);
}
.float-icon .icon { width: 18px; height: 18px; }
.float-icon--dark { background: var(--navy); color: #fff; }

.float-speed {
  top: 14%; left: 0;
  padding: 9px 14px;
  font-weight: 700;
}
.float-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .18);
}
.float-crm { top: 7%; right: 0; }
.float-voice { bottom: 11%; left: 0; }

.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-left: 4px; }
.wave i {
  width: 3px; height: 100%;
  border-radius: 2px;
  background: var(--teal);
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
}
.wave i:nth-child(2) { animation-delay: -.9s; }
.wave i:nth-child(3) { animation-delay: -.3s; }
.wave i:nth-child(4) { animation-delay: -.6s; }
.wave i:nth-child(5) { animation-delay: -.15s; }
.wave i:nth-child(6) { animation-delay: -.75s; }
.wave i:nth-child(7) { animation-delay: -.45s; }

@keyframes wave {
  0%, 100% { transform: scaleY(.3); }
  50% { transform: scaleY(1); }
}

.scene-caption {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin-top: 22px;
  text-align: center;
  font-size: .84rem;
  line-height: 1.5;
  color: var(--muted);
}

/* No celular os cards saem de cima da conversa e empilham abaixo do aparelho */
@media (max-width: 559px) {
  .phone { width: 280px; height: 540px; border-width: 9px; border-radius: 42px; }
  .float {
    position: relative;
    inset: auto;
    width: min(100%, 320px);
    margin-top: 10px;
  }
  .float-speed { display: none; }
  .float-crm { margin-top: -26px; }
  .float-voice .wave { margin-left: auto; }
}

@media (min-width: 560px) and (max-width: 1023px) {
  .scene { width: 540px; max-width: 100%; margin-inline: auto; }
}

@media (min-width: 560px) {
  .float-speed { top: 160px; left: -6%; } /* no espaço livre entre "Hoje" e a 1ª mensagem */
  .float-crm { top: -1%; right: -6%; }
  .float-voice { left: -8%; }
}

/* ---------- Dores ---------- */
.pains { padding-block: clamp(64px, 32px + 5vw, 104px); }

.pains-head { display: grid; gap: 14px; }
.pains-head h2 { max-width: 18ch; }
.pains-head p { max-width: 46ch; font-size: 1.08rem; }

@media (min-width: 900px) {
  .pains-head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}

.pain-list {
  display: grid;
  gap: 16px;
  margin-top: 44px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pain {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.pain-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #EAF0F6;
  color: var(--navy);
}
.pain-icon .icon { width: 24px; height: 24px; }
.pain h3 { font-size: 1.1rem; }
.pain p { margin-top: 8px; font-size: .96rem; }

@media (max-width: 639px) {
  .pain {
    display: grid;
    grid-template-columns: 46px 1fr;
    column-gap: 16px;
    padding: 22px 20px;
  }
  .pain-icon { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Soluções ---------- */
.solutions {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 960px) {
  .solutions { grid-template-columns: repeat(3, 1fr); }
}

.solution {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px 28px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.solution::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}
.solution:hover {
  transform: translateY(-4px);
  border-color: #C7D9E0;
  box-shadow: var(--shadow);
}

.solution-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}
.solution-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  flex: none;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(0, 63, 115, .6);
}
.solution-icon .icon { width: 28px; height: 28px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.tags li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  color: var(--petrol);
}

.solution h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.5rem); }
.solution > p { margin: 10px 0 22px; }
.solution .ticks-list { margin-bottom: 28px; }

.solution-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto -28px 0;
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--teal-cta);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.solution-link .icon { transition: transform .2s var(--ease); }
.solution-link:hover { background: var(--tint); color: var(--teal-cta-hover); }
.solution-link:hover .icon { transform: translateX(4px); }
.solution-link:focus-visible { outline-offset: -3px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---------- Como funciona: degraus ascendentes ---------- */
.steps {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 56px;
}

.step {
  position: relative;
  padding: 0 0 36px 68px;
}
.step::before {
  content: "";
  position: absolute;
  left: 22px; top: 48px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(43, 198, 178, .6), rgba(43, 198, 178, .08));
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step-num {
  position: absolute;
  left: 0; top: 0;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1.5px solid rgba(43, 198, 178, .55);
  border-radius: 50%;
  background: rgba(43, 198, 178, .08);
  font: 800 1rem/1 var(--font-display);
  color: var(--signal);
}
.step h3 { padding-top: 10px; font-size: 1.2rem; }
.step p { margin-top: 10px; font-size: .98rem; color: rgba(255, 255, 255, .72); }

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .step {
    --lift: 0px;
    min-height: calc(300px + var(--lift));
    padding: 26px 24px calc(28px + var(--lift));
    border-top: 2px solid var(--signal);
    border-radius: 18px 18px 0 0;
    background: linear-gradient(180deg, rgba(43, 198, 178, .15) 0%, rgba(43, 198, 178, .04) 60%, rgba(43, 198, 178, 0) 100%);
  }
  .step:nth-child(2) { --lift: 44px; }
  .step:nth-child(3) { --lift: 88px; }
  .step:nth-child(4) { --lift: 132px; }
  .step:last-child { padding-bottom: calc(28px + var(--lift)); }
  .step::before { display: none; }

  .step-num {
    position: static;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto; height: auto;
    border: 0;
    background: none;
    font-size: 2.6rem;
    font-stretch: 112%;
    letter-spacing: -.02em;
  }
  .step-num::after {
    content: "";
    width: 20px; height: 20px;
    background: currentColor;
    opacity: .7;
    -webkit-mask: var(--chev) center / contain no-repeat;
            mask: var(--chev) center / contain no-repeat;
  }
  .step h3 { padding-top: 18px; }
}

/* ---------- Benefícios ---------- */
.bento {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1.3fr 1fr 1fr; }
  .bento-hero { grid-column: 1; grid-row: 1 / span 2; }
}

.bento-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.bento-card h3 { margin-top: 14px; font-size: 1.15rem; }
.bento-card h3 + p { margin-top: 8px; font-size: .96rem; }

.stat {
  font: 800 clamp(1.9rem, 1.4rem + 1vw, 2.4rem)/1 var(--font-display);
  font-stretch: 110%;
  letter-spacing: -.03em;
  white-space: nowrap;
  color: var(--navy);
}
.stat--text { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.4rem); }
.unit {
  font-size: .62em;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--teal);
}
.unit:first-child { margin-right: .06em; }
.unit:last-child { margin-left: .06em; }

.bento-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border: 0;
  background: var(--grad);
  color: rgba(255, 255, 255, .84);
}
.bento-hero::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -80px;
  width: 300px; height: 300px;
  background: #fff;
  opacity: .06;
  -webkit-mask: var(--chev) center / contain no-repeat;
          mask: var(--chev) center / contain no-repeat;
  pointer-events: none;
}
.bento-hero .stat { font-size: clamp(3.6rem, 2.4rem + 4vw, 5.8rem); color: #fff; }
.bento-hero h3 { color: #fff; font-size: 1.4rem; }
.bento-hero h3 + p { max-width: 42ch; font-size: 1rem; }
.bento-hero-text { position: relative; z-index: 1; }

.dial {
  order: -1;
  align-self: flex-end;
  width: clamp(120px, 22vw, 190px);
  height: auto;
}
.dial-ticks use {
  stroke: rgba(255, 255, 255, .22);
  stroke-width: 6;
  stroke-linecap: round;
}
.dial-big { font: 800 44px var(--font-display); font-stretch: 110%; fill: #fff; }
.dial-small { font: 700 13px var(--font-body); letter-spacing: .16em; text-transform: uppercase; fill: rgba(255, 255, 255, .7); }

.dial-ticks use { transition: stroke .3s; }
html.js .bento-hero.is-visible .dial-ticks use,
html:not(.js) .dial-ticks use {
  stroke: #9BEFE3;
}
html.js .bento-hero.is-visible .dial-ticks use { transition-delay: calc(var(--i) * 55ms + 300ms); }

/* ---------- Segmentos ---------- */
.segments {
  display: grid;
  gap: 16px;
  margin-top: 48px;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.segment {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.segment:hover { border-color: #C7D9E0; box-shadow: var(--shadow-sm); }
.segment-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.segment-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  background: var(--tint);
  color: var(--teal-cta);
}
.segment-icon .icon { width: 24px; height: 24px; }
.segment h3 { font-size: 1.12rem; }

.uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 18px;
}
.segment .ticks-list { margin-bottom: 20px; }
.uses li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.uses li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c);
}
.u-chat { --c: var(--teal); }
.u-voice { --c: var(--petrol); }
.u-soft { --c: var(--navy); }

.segments-more {
  margin-top: 36px;
  text-align: center;
  font-size: 1rem;
}
.segments-more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  font-weight: 700;
  color: var(--teal-cta);
  text-decoration: none;
}
.segments-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
.segments-more .icon { width: 18px; height: 18px; }

/* ---------- Diferenciais ---------- */
.diff-grid { display: grid; gap: 44px; }
.diff-head h2 { margin-top: 16px; }
.diff-head .btn { margin-top: 30px; }

.diff-list { display: grid; gap: 16px; }
.diff {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.diff-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--navy);
}
.diff-icon .icon { width: 24px; height: 24px; }
.diff h3 { font-size: 1.15rem; }
.diff p { margin-top: 8px; font-size: .96rem; }

@media (min-width: 640px) {
  .diff-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .diff-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .diff-head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: calc(860px + var(--gutter) * 2); }
.faq { display: grid; gap: 12px; margin-top: 44px; }

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] { border-color: #BFD5DC; box-shadow: var(--shadow-sm); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 20px 24px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
  line-height: 1.4;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-cta); }
.faq-item summary:focus-visible { outline-offset: -3px; border-radius: 14px; }

.faq-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--teal-cta);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--teal-cta); color: #fff; }

.faq-body { padding: 0 24px 22px; }
.faq-body p { max-width: 68ch; }

.faq-item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .35s var(--ease), content-visibility .35s allow-discrete;
}
.faq-item[open]::details-content { block-size: auto; }

/* ---------- CTA final ---------- */
.cta-grid { position: relative; display: grid; gap: 48px; }
.cta-copy h2 { margin-top: 16px; font-size: clamp(2rem, 1.1rem + 2.9vw, 3.1rem); }

.cta-points { display: grid; gap: 14px; margin-top: 30px; }
.cta-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, .88);
}
.cta-points .icon {
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(43, 198, 178, .16);
  color: var(--signal);
}

.cta-direct {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cta-direct span { font-weight: 600; color: #fff; }

@media (min-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr minmax(0, 500px); gap: 72px; align-items: center; }
}

/* Formulário */
.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.lead-form .form-title { font-size: 1.4rem; margin-bottom: 2px; color: var(--ink); }

@media (min-width: 560px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .lead-form > * { grid-column: 1 / -1; }
  .lead-form > .field--half { grid-column: auto; }
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: .875rem;
  color: var(--ink);
}
.optional { font-weight: 500; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #D3DEE6;
  border-radius: 12px;
  background: #fff;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: #93A2B0; }
.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2306243F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
.field select:invalid { color: #93A2B0; }
.field option { color: var(--ink); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-cta);
  box-shadow: 0 0 0 4px rgba(0, 130, 121, .16);
}
.field [aria-invalid="true"] { border-color: #C0362C; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(192, 54, 44, .14); }

.field-error {
  margin-top: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: #B42318;
}
.field-error:empty { display: none; }

.lead-form .btn { margin-top: 4px; }
.form-note { font-size: .78rem; line-height: 1.5; color: var(--muted); }
.form-status:empty { display: none; }
.form-status {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--tint);
  font-size: .9rem;
  font-weight: 600;
  color: #075E57;
}
.form-status.is-error { background: #FDECEA; color: #B42318; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .95rem;
}
.footer-grid { display: grid; gap: 40px; }
.footer-brand img { width: auto; height: 72px; }
.footer-brand p { max-width: 36ch; margin-top: 18px; color: var(--muted); }

.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--teal-cta); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { overflow-wrap: anywhere; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}

@media (max-width: 639px) {
  .site-footer { padding-bottom: 96px; } /* espaço para o botão flutuante */
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: wa-pulse 2.6s var(--ease) infinite;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float:focus-visible { outline-color: var(--ink); border-radius: 50%; }

.wa-float-label {
  position: absolute;
  right: 72px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s, transform .2s var(--ease);
}
@media (hover: hover) {
  .wa-float:hover .wa-float-label,
  .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}

/* ---------- Animações de entrada ---------- */
html.js .reveal { opacity: 0; transform: translateY(20px); }
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
/* Se o script não carregar, o conteúdo aparece mesmo assim */
html.js:not(.is-ready) .reveal { animation: reveal-fallback .01s 2.5s forwards; }
@keyframes reveal-fallback { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .wa-float::before { display: none; }
}
