/* ==========================================================================
   Cloudfy — Design System do site (2026)
   Cores, tipografia e componentes. Sem dependência de Bootstrap/jQuery.
   ========================================================================== */

:root {
  /* Identidade */
  --navy: #242C5C;          /* cor da marca (logo) */
  --navy-900: #151A3A;
  --blue: #1F6FEB;          /* azul primário (identidade 2026 do marketing: #277DFF) */
  --blue-600: #277DFF;
  --sky: #7DB3FF;           /* azul claro */
  --sky-100: #F0F6FC;
  --accent: #1F6FEB;        /* botões de conversão: azul da marca (contraste AA com texto branco) */
  --accent-600: #1659C7;
  --accent-100: #E8F0FF;

  /* Neutros */
  --ink: #18203F;
  --text: #4A5373;
  --muted: #6B7391;
  --line: #E1E6F0;
  --bg: #FFFFFF;
  --bg-soft: #F0F5FA;
  --success: #1F9D6B;

  /* Tipografia */
  --font: "Lexend", "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Formas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(21, 26, 58, .06), 0 2px 8px rgba(21, 26, 58, .05);
  --shadow-md: 0 10px 30px rgba(21, 26, 58, .10);
  --shadow-lg: 0 24px 60px rgba(21, 26, 58, .18);

  --container: 1200px;
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #C9D0EA; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.section--navy .section-head p { color: #AEB7DA; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--sky-100); padding: 6px 12px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.section--navy .eyebrow, .hero .eyebrow { background: rgba(110, 193, 228, .16); color: var(--sky); }
.lead { font-size: 1.2rem; color: var(--muted); }
.text-center { text-align: center; }
.grad-text { background: linear-gradient(90deg, #7DB3FF, #C9E0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ícones (sprite img/icons.svg) ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1rem/1 var(--font); padding: 15px 24px; border-radius: var(--r-pill);
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
  white-space: nowrap; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-cta { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(31, 111, 235, .35); }
.btn-cta:hover { background: var(--accent-600); color: #fff; box-shadow: 0 12px 28px rgba(31, 111, 235, .42); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-100); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-whats { background: #1FAF5A; color: #fff; }
.btn-whats:hover { background: #178A47; color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 30px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-900); color: #C9D0EA; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--sky); }
.topbar-links { display: flex; gap: 20px; }
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav > li { list-style: none; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--ink); font-weight: 600; font-size: .96rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); background: var(--bg-soft); }
.nav-link .i { width: 16px; height: 16px; transition: transform .2s; }
.has-menu:hover .nav-link .i, .has-menu.open .nav-link .i { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 300px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .menu, .has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); }
.menu a:hover { background: var(--bg-soft); color: var(--blue); }
.menu a .i { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.menu strong { display: block; font-size: .95rem; }
.menu small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.menu--wide { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.menu--wide .menu-foot { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.menu-foot a { color: var(--blue); font-weight: 700; font-size: .92rem; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .login { font-weight: 600; color: var(--ink); padding: 10px 12px; font-size: .95rem; }
.header-actions .login:hover { color: var(--blue); }
.burger { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.burger .i { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .topbar-links { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .header-actions .login, .header-actions .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 38px) 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 16px 20px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; margin: 0; gap: 0;
  }
  .header.is-scrolled .nav, body.no-topbar .nav { top: var(--header-h); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { transform: none; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .menu, .menu--wide { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; padding: 0 0 12px; grid-template-columns: 1fr; }
  .has-menu.open .menu { display: grid; }
  .has-menu:hover .menu { display: none; }
  .has-menu.open:hover .menu { display: grid; }
  .nav-mobile-cta { display: grid !important; gap: 10px; padding-top: 20px; border: 0 !important; }
}
.nav-mobile-cta { display: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #C9D0EA;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(110, 193, 228, .22), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(31, 111, 235, .25), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero--photo::before {
  content: ""; position: absolute; inset: 0; background: var(--hero-img) center / cover no-repeat; opacity: .18; mix-blend-mode: luminosity;
}
.hero > .container { position: relative; }
.hero h1 { color: #fff; }
.hero .lead { color: #C9D0EA; max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-grid--center { grid-template-columns: 1fr; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-grid--center .lead { margin-left: auto; margin-right: auto; }
.hero-grid--center .btn-row, .hero-grid--center .checks { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 24px 0 30px; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; color: #E6EAF7; font-weight: 600; font-size: .98rem; }
.checks .i { color: var(--sky); width: 20px; height: 20px; }
.checks--stack { flex-direction: column; gap: 12px; }
.checks--dark li { color: var(--ink); }
.checks--dark .i { color: var(--success); }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .9rem; color: #AEB7DA; }
.hero-trust img { height: 34px; width: auto; opacity: .95; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: #fff; color: var(--ink); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: .9rem; font-weight: 600; max-width: 260px;
}
.float-card .i { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--sky-100); color: var(--blue); }
.float-card small { display: block; color: var(--muted); font-weight: 500; }
.float-card--a { left: -24px; bottom: 32px; }
.float-card--b { right: -16px; top: 28px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .float-card--a { left: 12px; bottom: -18px; }
  .float-card--b { display: none; }
}

/* ---------- Card de formulário (RD Station) ---------- */
.form-card {
  background: #fff; color: var(--text); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 32px);
  position: relative; border: 1px solid rgba(255, 255, 255, .6);
}
.form-card h2, .form-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.form-card .form-badge {
  position: absolute; top: -14px; right: 22px; background: var(--success); color: #fff; font-size: .78rem; font-weight: 700;
  padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm);
}
.form-foot { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); margin-top: 10px; }
.form-foot .i { width: 16px; height: 16px; color: var(--success); }
.rd-slot { min-height: 340px; }
.rd-slot:empty::before {
  content: "Carregando formulário…"; display: flex; align-items: center; justify-content: center; min-height: 340px;
  color: var(--muted); font-size: .9rem; background: repeating-linear-gradient(-45deg, var(--bg-soft) 0 12px, #fff 12px 24px); border-radius: var(--r-md);
}

/* Ajustes visuais nos formulários renderizados pelo RD Station */
.rd-slot section, .rd-slot .bricks-form, .rd-slot form { background: transparent !important; padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; box-shadow: none !important; border: 0 !important; }
.rd-slot .bricks--section, .rd-slot .bricks--component, .rd-slot .bricks--row, .rd-slot .bricks--column, .rd-slot .bricks--column > div { padding: 0 !important; margin: 0 !important; max-width: 100% !important; width: 100% !important; background: transparent !important; min-height: 0 !important; }
.rd-slot h1, .rd-slot .bricks--component-text { display: none !important; }
.rd-slot label, .rd-slot .bricks-form__label { font: 600 .86rem/1.3 var(--font) !important; color: var(--ink) !important; margin-bottom: 6px !important; display: block; }
.rd-slot .bricks-form__field { margin-bottom: 12px !important; padding: 0 !important; width: 100% !important; }
.rd-slot input[type="text"], .rd-slot input[type="email"], .rd-slot input[type="tel"], .rd-slot input[type="number"], .rd-slot select, .rd-slot textarea, .rd-slot .bricks-form__input {
  width: 100% !important; height: 48px !important; padding: 10px 14px !important; font: 500 1rem var(--font) !important; color: var(--ink) !important;
  background: var(--bg-soft) !important; border: 1.5px solid var(--line) !important; border-radius: 12px !important; box-shadow: none !important;
  transition: border-color .15s, background .15s;
}
.rd-slot textarea { height: 96px !important; }
.rd-slot input:focus, .rd-slot select:focus, .rd-slot textarea:focus { border-color: var(--blue) !important; background: #fff !important; outline: none !important; }
.rd-slot .bricks-form__field__option, .rd-slot .bricks-form__field__option label { font-weight: 500 !important; font-size: .82rem !important; color: var(--muted) !important; }
.rd-slot .phone-input-group { display: flex; gap: 8px; }
.rd-slot .bricks--component-button, .rd-slot button[type="submit"], .rd-slot .bricks--component-button button {
  width: 100% !important; height: 54px !important; margin-top: 6px !important; border: 0 !important; border-radius: var(--r-pill) !important;
  background: var(--accent) !important; color: #fff !important; font: 800 1.02rem var(--font) !important; cursor: pointer; box-shadow: 0 8px 22px rgba(31, 111, 235, .35) !important;
  transition: background .15s, transform .15s;
}
.rd-slot button[type="submit"]:hover { background: var(--accent-600) !important; transform: translateY(-1px); }
.rd-slot .error, .rd-slot label.error { color: #C0392B !important; font-size: .8rem !important; font-weight: 600 !important; }
.rd-slot a { color: var(--blue) !important; }

/* ---------- Faixa de logos (prova social) ---------- */
.logos { padding: 34px 0 40px; background: #fff; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; color: var(--muted); font-size: .92rem; font-weight: 600; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 60s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 56px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Grids e cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
a.card { color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.card .more .i { width: 18px; height: 18px; transition: transform .2s; }
a.card:hover .more .i { transform: translateX(4px); }
.icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--sky-100), #EDE6F7); color: var(--blue);
}
.icon-badge .i { width: 26px; height: 26px; }
.section--navy .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--navy .card p { color: #AEB7DA; }
.section--navy .icon-badge { background: rgba(110, 193, 228, .14); color: var(--sky); }

/* Segmentos */
.seg-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.seg-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.seg-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 26, 58, 0) 30%, rgba(21, 26, 58, .92) 100%); }
.seg-card:hover img { transform: scale(1.06); }
.seg-card div { padding: 20px; }
.seg-card strong { display: block; font-size: 1.2rem; color: #fff; }
.seg-card span { font-size: .88rem; color: #D6DBF0; display: flex; align-items: center; gap: 6px; }
.seg-card span .i { width: 16px; height: 16px; transition: transform .2s; }
.seg-card:hover span .i { transform: translateX(4px); }

/* Dor -> solução */
.pain { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: #fff; border-radius: var(--r-md); padding: 22px; border: 1px solid var(--line); }
.pain .x { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FDECEC; color: #C0392B; }
.pain .x .i { width: 20px; height: 20px; }
.pain h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pain p { margin: 0; font-size: .95rem; color: var(--muted); }
.pain p strong { color: var(--success); }

/* Split (texto + imagem) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev .split-media { order: -1; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; }
.split-media--plain img { box-shadow: none; border-radius: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }

.feature-list { list-style: none; display: grid; gap: 14px; margin: 22px 0 28px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.feature-list .i { color: var(--success); width: 22px; height: 22px; margin-top: 2px; }
.section--navy .feature-list li { color: #E6EAF7; }
.section--navy .feature-list .i { color: var(--sky); }

/* Pilares/plataforma com abas */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab { font: 700 .95rem var(--font); padding: 12px 18px; border-radius: var(--r-pill); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.tab .i { width: 18px; height: 18px; }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line); }
a.chip:hover { border-color: var(--blue); color: var(--blue); }

/* Diferenciais / números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--navy); padding: 30px 24px; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px; }
.stat span { color: #AEB7DA; font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Depoimento + vídeo */
.testimonial { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote { font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.4; color: var(--ink); font-weight: 700; letter-spacing: -.01em; margin: 0 0 20px; }
.quote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.quote-by { display: flex; align-items: center; gap: 14px; }
.quote-by img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 6px; }
.quote-by strong { display: block; color: var(--ink); }
.quote-by span { color: var(--muted); font-size: .92rem; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-md); cursor: pointer; border: 0; padding: 0; width: 100%; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s; }
.yt:hover .play { transform: scale(1.08); }
.yt .play .i { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .testimonial { grid-template-columns: 1fr; } }

.cases { margin-top: 48px; }
.case { display: flex; flex-direction: column; gap: 10px; }
.case .tag { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.case h3 { font-size: 1.15rem; margin: 0; }

/* Passos */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 26px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Integrações */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 900px; margin: 0 auto; }
.integrations span { background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; font-weight: 700; color: var(--navy); font-size: .92rem; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 22px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--text); }
.faq .answer p:last-child { margin: 0; }

/* Planos */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 34px; display: flex; flex-direction: column; position: relative; }
.plan--pro { border-color: var(--navy); box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -14px; left: 34px; background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800; padding: 6px 12px; border-radius: var(--r-pill); }
.plan h3 { font-size: 1.6rem; margin-bottom: 4px; }
.plan > p { color: var(--muted); }
.plan .price { font-size: 1rem; color: var(--ink); font-weight: 700; margin: 6px 0 20px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 0 0 28px; }
.plan li { display: flex; gap: 10px; font-size: .97rem; color: var(--ink); }
.plan li .i { width: 20px; height: 20px; color: var(--success); margin-top: 2px; }
.plan li.off { color: #9AA1BA; }
.plan li.off .i { color: #C5CAD9; }
.plan .btn { margin-top: auto; }
@media (max-width: 800px) { .plans { grid-template-columns: 1fr; } }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); font-size: .96rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: var(--bg-soft); color: var(--ink); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 22%; }
.compare tr:last-child td { border-bottom: 0; }
.compare td small { display: block; color: var(--muted); font-size: .82rem; }
.compare .i { width: 20px; height: 20px; margin: 0 auto; }
.compare .yes { color: var(--success); }
.compare .no { color: #C5CAD9; }
.table-wrap { overflow-x: auto; max-width: 980px; margin: 0 auto; }

/* CTA final */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(36px, 6vw, 64px);
  background: radial-gradient(700px 300px at 100% 0, rgba(110, 193, 228, .25), transparent 60%), linear-gradient(135deg, var(--navy), #2E2A6B 60%, #5B3577);
  color: #D6DBF0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* Page header (páginas internas) */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .85rem; margin-bottom: 18px; color: #AEB7DA; }
.breadcrumb a { color: #D6DBF0; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* Contato */
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); }
.contact-list a:hover { border-color: var(--blue); }
.contact-list .icon-badge { margin: 0; width: 46px; height: 46px; }
.contact-list strong { display: block; }
.contact-list small { color: var(--muted); }

/* Blog / conteúdos */
.post-card { padding: 0; overflow: hidden; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: .76rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #AEB7DA; padding: 72px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #AEB7DA; }
.footer a:hover { color: #fff; }
.footer .logo img { height: 38px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 320px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.social a:hover { background: var(--accent); }
.social .i { width: 18px; height: 18px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 3px; color: var(--sky); }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; font-size: .85rem; }
.footer-bottom img { height: 34px; width: auto; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Barra fixa de conversão (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(21, 26, 58, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; padding: 14px 16px; }
@media (max-width: 860px) { .sticky-cta { display: flex; } body { padding-bottom: 76px; } }

/* Botão voltar ao topo */
.to-top { position: fixed; right: 18px; bottom: 96px; z-index: 80; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity .2s; border: 0; cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top .i { width: 20px; height: 20px; }
@media (min-width: 861px) { .to-top { bottom: 24px; left: 24px; right: auto; } }

/* Aviso de cookies (LGPD) */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 560px; background: var(--ink); color: #D6DBF0;
  border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-lg); display: none; gap: 16px; align-items: center; font-size: .9rem;
}
.cookie.show { display: flex; }
.cookie a { color: var(--sky); }
.cookie p { margin: 0; }
@media (max-width: 860px) { .cookie { bottom: 86px; flex-direction: column; align-items: stretch; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  * { transition-duration: 0s !important; }
}

/* Conteúdo legal (políticas) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

/* Utilitários */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Posicionamento: tradicionais x Cloudfy x "modernos" */
.pos-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 20px; align-items: center; }
.pos-col { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.pos-col h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pos-col > p { color: var(--muted); font-size: .95rem; }
.pos-col ul { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.pos-col li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink); }
.pos-col li .i { width: 20px; height: 20px; margin-top: 2px; }
.pos-col li.ok .i { color: var(--success); }
.pos-col li.nok { color: var(--muted); }
.pos-col li.nok .i { color: #C0392B; }
.pos-tag { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pos-col--best { background: linear-gradient(160deg, var(--navy), #2E2A6B); border: 0; color: #C9D0EA; padding: 36px 30px; box-shadow: var(--shadow-lg); }
.pos-col--best h3 { color: #fff; font-size: 1.4rem; }
.pos-col--best > p { color: #C9D0EA; }
.pos-col--best li { color: #fff; }
.pos-col--best li.ok .i { color: var(--sky); }
.pos-col--best .pos-tag { color: #fff; background: var(--accent); padding: 5px 10px; border-radius: var(--r-pill); }
@media (max-width: 960px) { .pos-grid { grid-template-columns: 1fr; } .pos-col--best { order: -1; } }

/* Campos técnicos de rastreamento (UTM/gclid) do RD Station: sempre ocultos para o visitante.
   Os valores continuam sendo preenchidos e enviados pelo js/cloudfy.js */
.rd-slot .bricks-form__field:has(input[name^="cf_utm_"]),
.rd-slot .bricks-form__field:has(input[name^="cf_meta_"]),
.rd-slot .bricks-form__field:has(input[name="cf_gclid"]),
.rd-slot .bricks-form__field:has(input[name="cf_gbraid"]),
.rd-slot .bricks-form__field:has(input[name="cf_wbraid"]) { display: none !important; }

/* Ajustes finos */
.logo img { height: 40px; }
.section:not(.section--navy) .grad-text { background-image: linear-gradient(90deg, #1659C7, #277DFF); }
.stats { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } .stats .stat:last-child { grid-column: 1 / -1; } }
html, body { overflow-x: clip; }
.breadcrumb { padding: 0; }
@media (max-width: 1080px) {
  .nav { transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .nav { top: var(--header-h); }
  .hero .eyebrow { font-size: .72rem; }
}
/* backdrop-filter cria um novo contexto para elementos fixos: desliga no mobile para o menu ocupar a tela */
@media (max-width: 1080px) { .header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* Falta de mão de obra: números do setor com fonte */
.labor-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.labor-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; }
.labor-stat b { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--accent); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 8px; }
.labor-stat p { color: var(--ink); font-weight: 600; font-size: .98rem; margin-bottom: 14px; }
.labor-stat a { margin-top: auto; font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.section--navy .labor-stat { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--navy .labor-stat b { color: var(--sky); }
.section--navy .labor-stat p { color: #fff; }
.section--navy .labor-stat a { color: #AEB7DA; }
.labor-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.chip--dark { background: rgba(255, 255, 255, .08); color: #E6EAF7; border-color: rgba(255, 255, 255, .16); }
a.chip--dark:hover { color: #fff; border-color: var(--sky); }
.compare--flow td:not(:first-child), .compare--flow th:not(:first-child) { text-align: left; width: auto; }
.compare--flow td a { font-weight: 600; }
@media (max-width: 1024px) { .labor-stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .labor-stats { grid-template-columns: 1fr; } }
@media (max-width: 1180px) and (min-width: 1081px) { .nav-link { padding: 10px 8px; font-size: .9rem; } .header .container { gap: 16px; } }

/* Robustez + app */
.app-card { background: linear-gradient(160deg, var(--navy), #2E2A6B); border: 0; color: #C9D0EA; box-shadow: var(--shadow-lg); }
.app-card h3 { color: #fff; font-size: 1.5rem; }
.app-card p { color: #C9D0EA; }
.app-card .more { color: var(--sky); }
.mini-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 4px; }
.mini-list li { display: flex; gap: 10px; align-items: center; color: #fff; font-size: .95rem; }
.mini-list .i { color: var(--sky); width: 20px; height: 20px; }

/* Integrações */
.int-search { max-width: 520px; margin: 24px auto 0; }
.int-search input { width: 100%; height: 54px; border-radius: var(--r-pill); border: 0; padding: 0 22px; font: 500 1rem var(--font); color: var(--ink); background: #fff; box-shadow: var(--shadow-md); }
.int-search input:focus { outline: 3px solid var(--sky); }
.int-filter { justify-content: flex-start; }
.int-filter .tab[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.int-groups { display: grid; gap: 28px; }
.int-group[hidden] { display: none; }
.int-title { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.int-title .i { color: var(--blue); }
.int-title span { font-size: .8rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); padding: 2px 8px; border-radius: var(--r-pill); }
.int-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.int-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-weight: 700; color: var(--navy); font-size: .95rem; }
.int-list li[hidden] { display: none; }

/* Calculadora */
.calc { max-width: 980px; margin: 0 auto; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.calc-form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.calc-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.calc-form input { height: 50px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font: 600 1.05rem var(--font); color: var(--ink); background: var(--bg-soft); }
.calc-form input:focus { border-color: var(--blue); background: #fff; outline: none; }
.calc-out { background: linear-gradient(160deg, var(--navy), #2E2A6B); color: #C9D0EA; border-radius: var(--r-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 16px); }
.calc-label { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--sky); }
.calc-big { display: block; font-size: clamp(2.2rem, 5vw, 3rem); color: #fff; font-weight: 800; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.calc-out dl { display: grid; gap: 10px; margin: 0 0 14px; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 10px; }
.calc-out dt { color: #AEB7DA; } .calc-out dd { margin: 0; color: #fff; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.calc-out .muted { color: #AEB7DA; }
.calc-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--accent-100); border-radius: var(--r-lg); padding: 28px; }
.calc-cta h2 { font-size: 1.4rem; margin-bottom: 4px; } .calc-cta p { margin: 0; }
@media (max-width: 820px) { .calc-grid { grid-template-columns: 1fr; } .calc-out { position: static; } }

/* Números de prova social */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 auto 26px; max-width: 1000px; }
.proof div { text-align: center; padding: 6px 8px; border-right: 1px solid var(--line); }
.proof div:last-child { border-right: 0; }
.proof b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof span { font-size: .86rem; color: var(--muted); }
@media (max-width: 760px) { .proof { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .proof div { border-right: 0; } }
.int-list li.has-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 18px 14px 12px; }
.int-list li.has-logo img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.int-list li.has-logo span { font-size: .8rem; font-weight: 600; color: var(--muted); }

/* Grade de logos de parceiros (páginas de produto) */
.logo-group { margin-top: 28px; }
.logo-group h3 { font-size: 1.1rem; margin-bottom: 12px; }
.logo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.logo-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); min-height: 108px; padding: 16px 12px 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.logo-tile img { height: 40px; width: auto; max-width: 140px; object-fit: contain; }
.logo-tile b { font-size: 1.05rem; color: var(--navy); }
.logo-tile span { font-size: .78rem; font-weight: 600; color: var(--muted); }
.logo-tile--dark { background: var(--navy); border-color: var(--navy); }
.logo-tile--dark span { color: #C9D0EA; }

/* Botão flutuante de WhatsApp (comercial) */
.wa-float {
  position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .i { width: 32px; height: 32px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-pulse 2.4s infinite; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-tip { position: absolute; right: 72px; white-space: nowrap; background: var(--ink); color: #fff; font-size: .85rem; font-weight: 700; padding: 8px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: none; }
body.has-rd-wa .wa-float { display: none; }
/* "Voltar ao topo" sempre à esquerda, para o canto direito ficar com o WhatsApp */
.to-top { left: 18px; right: auto; }
@media (max-width: 860px) {
  .wa-float { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
  .wa-tip { display: none; }
  .to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  /* botão de WhatsApp do RD acima da barra fixa de demonstração */
  .rdstation-popup-position-bottom_right .bricks--floating--button { bottom: 88px !important; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }
.int-list li.has-logo--dark { background: var(--navy); border-color: var(--navy); } .int-list li.has-logo--dark span { color: #C9D0EA; }

/* Botão de demonstração no topo, só no celular (o formulário fica abaixo do texto) */
.mobile-only { display: none; }
@media (max-width: 960px) {
  .mobile-only { display: inline-flex; }
  .hero .btn-row .mobile-only { width: 100%; }
  .hero .lead { font-size: 1.05rem; }
  .hero .checks { margin: 18px 0 22px; }
}

/* ===== Responsivo: ajustes finais para telas estreitas ===== */
/* Colunas de grid/flex podem encolher abaixo do conteúdo (evita vazamento lateral) */
.hero-grid > *, .split > *, .grid > *, .cta-band > *, .testimonial > *, .calc-grid > *, .plans > *, .pos-grid > *, .steps > *, .labor-stats > *, .cols > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
.contact-list strong, .contact-list small, .footer-contact a { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  /* Botões quebram linha em vez de sair da tela */
  .btn { white-space: normal; line-height: 1.25; max-width: 100%; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
  .btn-lg { padding: 16px 22px; }
  .cta-band { padding: 28px 20px; }
  .cta-band .btn-row { width: 100%; }
  .plan { padding: 26px 20px; }
  .card { padding: 22px; }
  .form-card { padding: 22px 16px; }
  .section-head { margin-bottom: 28px; }
}
.table-wrap { position: relative; }
.compare td, .compare th { position: relative; }
@media (max-width: 640px) {
  .compare { font-size: .86rem; }
  .compare th, .compare td { padding: 10px 10px; }
  .compare td small { font-size: .76rem; }
}

/* Segmentos adicionais (home) */
.seg-more { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin-top: 28px; }
.seg-more > span { font-weight: 700; color: var(--muted); font-size: .92rem; }
.seg-more .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: .9rem; background: #fff; }
.seg-more .chip .i { width: 16px; height: 16px; color: var(--blue); }
@media (max-width: 640px) {
  .seg-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .seg-card { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
  .seg-card div { padding: 12px; }
  .seg-card strong { font-size: .98rem; line-height: 1.2; }
  .seg-card span { font-size: .78rem; }
}

/* ---------- Simulador da Claud.IA ---------- */
.claudia-sim { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; max-width: 520px; margin-inline: auto; }
.cs-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--sky-100); border-bottom: 1px solid var(--line); }
.cs-head img { width: 52px; height: 65px; object-fit: contain; flex: none; }
.cs-head strong { display: block; font-size: 1.05rem; }
.cs-head span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.cs-head .cs-badge { margin-left: auto; background: var(--accent); color: #fff; font-weight: 700; font-size: .72rem; padding: 3px 10px; border-radius: var(--r-pill); }
.cs-log { height: 300px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #F7F9FC; }
.cs-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.cs-bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.cs-user { background: var(--accent); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cs-msg a { font-weight: 700; }
.cs-dots { display: inline-flex; gap: 4px; }
.cs-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); animation: csdot 1s infinite ease-in-out; }
.cs-dots i:nth-child(2) { animation-delay: .15s; } .cs-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes csdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cs-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px 0; }
.cs-chips .chip { font: 600 .78rem var(--font); background: var(--accent-100); color: var(--accent-600); border: 0; border-radius: var(--r-pill); padding: 6px 12px; cursor: pointer; }
.cs-chips .chip:hover { background: var(--accent); color: #fff; }
.cs-form { display: flex; gap: 8px; padding: 12px 16px; }
.cs-form input { flex: 1; min-width: 0; font: 400 .95rem var(--font); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 10px 16px; }
.cs-form input:focus { outline: 2px solid var(--blue-600); outline-offset: 1px; }
.cs-form button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cs-form button .i { width: 18px; height: 18px; }
.cs-note { font-size: .74rem; color: var(--muted); padding: 0 16px 14px; margin: 0; }
@media (max-width: 640px) { .cs-log { height: 260px; } .cs-msg { max-width: 94%; } .cs-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; } .cs-chips .chip { flex: none; } }

/* ---------- Cases com resultado ---------- */
.case-list { display: grid; gap: 28px; }
.case-card { display: grid; grid-template-columns: 280px 1fr; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.case-stat { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; background: var(--sky-100); border-radius: var(--r-md); padding: 24px; }
.case-stat img { max-height: 64px; width: auto; margin-bottom: 12px; }
.case-stat strong { font-size: 3.4rem; line-height: 1; color: var(--blue); font-weight: 800; }
.case-stat span { color: var(--ink); font-weight: 600; }
.case-body h2 { font-size: 1.8rem; margin-top: 8px; }
@media (max-width: 860px) { .case-card { grid-template-columns: 1fr; padding: 20px; gap: 18px; } }

/* ---------- Comparativo de redes ---------- */
.compare th.is-on { background: var(--accent); color: #fff; }
.compare th.is-on a { color: #fff; }

/* ---------- Reforma Tributária ---------- */
.stat-card { text-align: center; }
.stat-num { display: block; font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1.05; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.stat-card p { color: var(--ink); font-weight: 500; }
.card--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #C9D0EA; }
.card--dark h3 { color: #fff; }
.card--dark p { color: #C9D0EA; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline li { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; border-top: 4px solid var(--accent); }
.tl-year { display: inline-block; font-weight: 800; color: var(--accent); font-size: 1.25rem; margin-bottom: 6px; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* Lexend é mais larga: menu sem quebra de linha */
.nav-link { white-space: nowrap; font-size: .92rem; padding: 10px 10px; }
.header .container { gap: 20px; }
@media (min-width: 1080px) and (max-width: 1240px) { .nav-link { font-size: .86rem; padding: 8px 7px; } .header .container { gap: 12px; } .header .btn { padding-inline: 16px; font-size: .88rem; } }

/* Botão do formulário RD: o RD aplica display:flex sem centralizar na vertical — centraliza o texto */
.rd-slot .bricks--component-button, .rd-slot button[type="submit"] { display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; line-height: 1.2 !important; padding: 0 18px !important; white-space: normal !important; }

/* ---------- Split de royalties: passo a passo ---------- */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.flow-steps li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-md); padding: 18px 20px; }
.flow-steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.flow-steps strong { display: block; color: #fff; margin-bottom: 2px; }
.flow-steps span { color: #C9D0EA; font-size: .95rem; }

/* Comparativo de 2 colunas (integração nativa) */
.pos-grid.pos-grid--2 { grid-template-columns: 1fr 1.1fr; max-width: 980px; margin-inline: auto; align-items: stretch; }
@media (max-width: 860px) { .pos-grid.pos-grid--2 { grid-template-columns: 1fr; } }

/* Logo nunca encolhe no cabeçalho (mantém a proporção 455x147) */
.logo { flex: none; display: inline-flex; }
.logo img { width: auto !important; max-width: none; aspect-ratio: 455 / 147; }

/* ---------- Claud.IA em destaque (página da IA) ---------- */
.claudia-hero { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.claudia-hero::before { content: ""; position: absolute; left: 50%; bottom: 40px; width: min(420px, 90%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(39, 125, 255, .45), rgba(39, 125, 255, 0) 70%); z-index: 0; }
.claudia-hero img { position: relative; z-index: 1; width: auto; height: clamp(300px, 34vw, 460px); filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); animation: claudiaFloat 5s ease-in-out infinite; }
.claudia-bubble { position: relative; z-index: 2; max-width: 360px; background: #fff; color: var(--ink); border-radius: 20px; padding: 14px 18px; font-size: .95rem; line-height: 1.45; box-shadow: var(--shadow-lg); margin-bottom: -10px; }
.claudia-bubble strong { display: block; color: var(--blue); font-size: 1.05rem; margin-bottom: 2px; }
.claudia-bubble::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 20px; height: 20px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.claudia-tag { position: relative; z-index: 2; margin-top: -18px; display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; font-weight: 700; font-size: .85rem; padding: 8px 16px; border-radius: var(--r-pill); box-shadow: 0 10px 24px rgba(31, 111, 235, .4); }
.claudia-tag .i { width: 16px; height: 16px; }
@keyframes claudiaFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .claudia-hero img { animation: none; } }
@media (max-width: 860px) { .claudia-hero img { height: 300px; } }
.claudia-hero img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }

/* ---------- Formulário RD em 2 etapas ---------- */
.rd-slot .cf2-hide { display: none !important; }
.cf2-steps { display: flex; gap: 8px; margin: 0 0 14px; }
.cf2-steps span { flex: 1; font-size: .78rem; font-weight: 700; color: var(--muted); padding: 8px 10px; border-radius: var(--r-sm); background: var(--bg-soft); text-align: center; border-bottom: 3px solid var(--line); }
.cf2-steps span.is-on { color: var(--blue); background: var(--accent-100); border-bottom-color: var(--accent); }
.cf2-next { margin-top: 6px; }
.cf2-btn { width: 100%; height: 54px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; font: 800 1.02rem var(--font); cursor: pointer; box-shadow: 0 8px 22px rgba(31, 111, 235, .35); }
.cf2-btn:hover { background: var(--accent-600); }
.cf2-note { font-size: .74rem; color: var(--muted); line-height: 1.45; margin: 10px 0 0; }
.cf2-note a { color: var(--blue) !important; }
.cf2-err { display: block; color: #C0392B; font-size: .8rem; font-weight: 600; margin-top: 4px; }
.cf2-back { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font: 600 .85rem var(--font); cursor: pointer; }
/* O CSS do RD sobrepõe fonte e tamanho: fixa os elementos das etapas */
.rd-slot .cf2-steps span, .rd-slot .cf2-btn, .rd-slot .cf2-note, .rd-slot .cf2-back, .rd-slot .cf2-err { font-family: var(--font) !important; line-height: 1.3 !important; }
.rd-slot .cf2-steps span { font-size: 12px !important; white-space: nowrap; }
.rd-slot .cf2-btn { font-size: 16px !important; font-weight: 800 !important; }
.rd-slot .cf2-note { font-size: 12px !important; line-height: 1.5 !important; }
.rd-slot .cf2-back { font-size: 13px !important; }
.rd-slot .cf2-err { font-size: 12px !important; }
.rd-slot .cf2-steps { display: flex !important; width: 100% !important; align-self: stretch !important; gap: 8px !important; margin: 0 0 16px !important; }
.rd-slot .cf2-steps span { flex: 1 1 0 !important; display: block !important; padding: 9px 8px !important; border-radius: 10px !important; text-align: center !important; font-weight: 700 !important; background: var(--bg-soft) !important; color: var(--muted) !important; border-bottom: 3px solid var(--line) !important; }
.rd-slot .cf2-steps span.is-on { background: var(--accent-100) !important; color: var(--blue) !important; border-bottom-color: var(--accent) !important; }

/* ---------- Carrossel no celular (blog, novidades, posicionamento): menos rolagem vertical ---------- */
@media (max-width: 640px) {
  .mob-carousel { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px !important; margin-inline: -16px; padding: 6px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .mob-carousel::-webkit-scrollbar { display: none; }
  .mob-carousel > * { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; }
  .mob-carousel.pos-grid { align-items: stretch; }
  .mob-carousel + .carousel-hint, .carousel-hint { display: block; }
}
.carousel-hint { display: none; text-align: center; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.section--navy .carousel-hint { color: #9aa4c7; }
.card-link { font-weight: 700; white-space: nowrap; }
.section--navy .card-link { color: #9cc4ff; }
.section--navy .card-link:hover { color: #fff; }

/* ---------- KDS: ilustração do dashboard de produção ---------- */
.kpi-mock { background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; }
.kpi-mock__head { font-weight: 800; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kpi-mock__head span { font-size: .72rem; font-weight: 600; color: var(--muted); }
.kpi-mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.kpi-mock__grid div { background: var(--sky-100); border-radius: var(--r-sm); padding: 12px; }
.kpi-mock__grid b { display: block; font-size: 1.5rem; color: var(--blue); line-height: 1.1; }
.kpi-mock__grid span { font-size: .78rem; color: var(--muted); }
.kpi-mock__bars { display: grid; gap: 10px; }
.kpi-mock__bars div { display: grid; grid-template-columns: 84px 1fr 52px; align-items: center; gap: 10px; font-size: .85rem; }
.kpi-mock__bars i { display: block; height: 10px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--w), var(--bg-soft) var(--w)); }
.kpi-mock__bars em { font-style: normal; font-weight: 700; text-align: right; }

/* ---------- Telefone do RD: bandeira numa caixa à esquerda do campo, alinhada com o +55 ---------- */
.rd-slot .bricks-form__field .phone-input-group { display: flex !important; align-items: stretch !important; gap: 8px !important; width: 100% !important; }
.rd-slot .phone-input-group .select2-container.phone-country { flex: 0 0 76px !important; width: 76px !important; max-width: 76px !important; height: 48px !important; margin: 0 !important; padding: 0 !important; float: none !important; position: relative !important; background: var(--bg-soft) !important; border: 1.5px solid var(--line) !important; border-radius: 12px !important; box-shadow: none !important; }
.rd-slot .phone-input-group .select2-container.phone-country .select2-choice { display: flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important; width: 100% !important; height: 100% !important; padding: 0 10px !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; line-height: 1 !important; }
.rd-slot .phone-input-group .select2-chosen { display: flex !important; align-items: center !important; margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; }
.rd-slot .phone-input-group .select2-chosen img.flag { width: 26px !important; height: auto !important; display: block !important; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.rd-slot .phone-input-group .select2-arrow { position: static !important; display: block !important; width: 10px !important; height: 6px !important; border: 0 !important; background: none !important; }
.rd-slot .phone-input-group .select2-arrow b { display: block !important; width: 0 !important; height: 0 !important; background: none !important; border-left: 5px solid transparent !important; border-right: 5px solid transparent !important; border-top: 6px solid var(--muted) !important; }
.rd-slot .phone-input-group .select2-container-active, .rd-slot .phone-input-group .select2-container.phone-country:hover { border-color: var(--blue) !important; }
.rd-slot .bricks-form__field .phone-input-group input.phone, .rd-slot .bricks-form__field .phone-input-group input[name="personal_phone"] { flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; margin: 0 !important; border-radius: 12px !important; }
.rd-slot .phone-input-group .select2-container.phone-country .select2-choice { position: absolute !important; inset: 0 !important; top: 0 !important; }
.rd-slot .phone-input-group .select2-chosen img.flag { margin: 0 !important; vertical-align: middle !important; }
.rd-slot .bricks-form__field .phone-input-group input.bricks-form__input { border-top-left-radius: 12px !important; border-bottom-left-radius: 12px !important; border-top-right-radius: 12px !important; border-bottom-right-radius: 12px !important; }
.rd-slot .phone-input-group .country-field, .rd-slot .phone-input-group > div.form-control.phone-country[data-type] { display: none !important; }
/* O RD injeta regras com o ID do formulário (#rd-form-…); :is(#…) dá a mesma força de ID para vencê-las */
:is(#cf-rd-boost, .rd-slot) .bricks-form__field.with-select-flags > .phone-input-group > input.phone.bricks-form__input { border-radius: 12px !important; width: auto !important; }
:is(#cf-rd-boost, .rd-slot) .phone-input-group > .select2-container.phone-country > a.select2-choice { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; height: 100% !important; line-height: 1 !important; }
:is(#cf-rd-boost, .rd-slot) .phone-input-group .select2-choice > .select2-chosen { line-height: 1 !important; height: auto !important; }
