/* ============================================================
   RUFLOW LANDING — ARCHITECTURAL CLARITY / LUMINOUS-TECHNICAL
   v2 — refinamento premium (espaçamento, tipografia, hierarquia)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --ink:        #071a2d;
  --ink-2:      #0d2640;
  --steel:      #4a6070;
  --steel-soft: #6b8194;
  --muted:      #f0f5fa;
  --card:       #ffffff;
  --line:       rgba(11, 109, 204, 0.10);
  --line-2:     rgba(11, 109, 204, 0.16);
  --blue:       #0b6dcc;
  --blue-deep:  #0a5bab;
  --blue-soft:  #dde8ff;
  --blue-sky:   #eef4ff;
  --orange:     #ff8a22;
  --orange-2:   #f07d15;
  --orange-ink: #1d1000;
  --danger:     #e2603a;
  --cream:      #fff7e8;
  --shadow-sm:  0 2px 12px rgba(11, 109, 204, 0.07);
  --shadow:     0 12px 40px rgba(11, 109, 204, 0.10);
  --shadow-lg:  0 24px 64px rgba(11, 109, 204, 0.14);
  --radius:     20px;
  --radius-sm:  12px;
  --radius-pill:999px;
  --header-h:   72px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', 'Aptos', 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(ellipse 70% 40% at 80% 0%, rgba(11,109,204,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #f4f9ff 0%, #eef4ff 30%, #f8fbff 70%, #ffffff 100%);
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

/* Acessibilidade: pular para conteúdo */
.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 300;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  transition: top 160ms ease;
}
.skip-link:focus { top: 12px; }

/* ──────────────────── CONTAINER ──────────────────── */

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* ──────────────────── SITE HEADER ──────────────────── */
/* Centralizado de forma robusta: inset-inline:0 + margin-inline:auto */

.site-header {
  position: fixed;
  top: 16px;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  width: min(1100px, calc(100% - 32px));
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(11, 109, 204, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.86);
  padding: 8px 12px 8px 20px;
  color: var(--ink);
  box-shadow: 0 4px 28px rgba(11, 109, 204, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: box-shadow 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(11, 109, 204, 0.2);
  box-shadow: 0 8px 34px rgba(11, 109, 204, 0.16);
}

/* ──────────────────── BRAND / LOGO ──────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header .brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  width: auto;
  border-radius: 0;
  box-shadow: none;
  min-height: auto;
}

.brand-logo {
  display: block;
  width: 130px;
  height: auto;
}

/* ──────────────────── NAVIGATION (DESKTOP) ──────────────────── */

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  transition: background 150ms var(--ease), color 150ms var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.site-nav a:hover {
  background: var(--blue-sky);
  color: var(--blue);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Botão CTA "Começar agora" — laranja para máxima visibilidade */
.site-nav .nav-cta {
  background: var(--orange);
  color: var(--orange-ink) !important;
  font-weight: 800;
  padding: 9px 20px;
  margin-left: 8px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(255,138,34,0.30);
  transition: background 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease);
}

.site-nav .nav-cta:hover {
  background: var(--orange-2);
  color: var(--orange-ink) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,138,34,0.4);
}

/* Hamburguer — oculto no desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: rgba(7,26,45,0.06);
  cursor: pointer;
  padding: 0;
  transition: background 160ms ease;
}

.nav-toggle:hover { background: rgba(7,26,45,0.12); }
.nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  pointer-events: none;
  transition: transform 240ms var(--ease), opacity 160ms ease;
}

/* Animação X quando aberto */
.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────── HERO ──────────────────── */

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  padding: 160px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(11,109,204,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(11,109,204,0.05) 0%, transparent 50%),
    linear-gradient(145deg, #eef4ff 0%, #e8f1ff 40%, #f3f8ff 70%, #f8fbff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,109,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,109,204,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.pipe {
  position: absolute;
  border: 10px solid rgba(11, 109, 204, 0.10);
  border-left: none;
  border-bottom: none;
  border-radius: 0 80px 0 0;
}
.pipe-one { width: 190px; height: 130px; left: -30px; top: 42%; }
.pipe-two { width: 240px; height: 170px; right: 8%; top: 18%; border-color: rgba(11,109,204,0.08); }

.glow {
  position: absolute;
  right: 12%; top: 22%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,109,204,0.11) 0%, transparent 70%);
  filter: blur(40px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}

/* ──────────────────── EYEBROW / KICKER ──────────────────── */

.eyebrow,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(11, 109, 204, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(11, 109, 204, 0.07);
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 7px 14px;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,138,34,0.18);
}

/* ──────────────────── HERO COPY ──────────────────── */

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
}

.h1-accent {
  display: inline-block;
  color: var(--blue);
}

.hero-lead {
  color: var(--steel);
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.65;
  max-width: 520px;
}

.hero-lead strong { color: var(--ink); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 26px 0 0;
  padding: 0;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-proof li::before {
  content: "";
  flex: 0 0 16px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat,
    var(--blue);
}

/* ──────────────────── BUTTONS ──────────────────── */

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 13px 28px;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-arrow { transition: transform 200ms var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  box-shadow: 0 12px 32px rgba(255,138,34,0.3);
}
.btn-primary:hover {
  background: var(--orange-2);
  box-shadow: 0 18px 42px rgba(255,138,34,0.42);
}

.btn-secondary {
  border-color: rgba(7,26,45,0.18);
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.98);
  border-color: rgba(7,26,45,0.34);
}

.microcopy {
  color: var(--steel-soft);
  font-size: 0.85rem;
  margin-top: 18px;
}

/* ──────────────────── HERO PANEL ──────────────────── */

.hero-panel {
  position: relative;
  border: 1px solid rgba(11,109,204,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  margin-inline: auto 0;
  padding: 26px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--steel);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-top strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--radius-pill);
  background: rgba(11,109,204,0.10);
  color: var(--blue);
  padding: 5px 12px;
}

.panel-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fae5a;
  box-shadow: 0 0 0 0 rgba(31,174,90,0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,174,90,0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(31,174,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,174,90,0); }
}

.flow-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.flow-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid rgba(11,109,204,0.08);
  padding: 14px 16px;
  list-style: none;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}

.flow-list li:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line-2);
}

.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--blue-sky);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}
.flow-list strong { font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.flow-list p { margin: 4px 0 0; color: var(--steel); font-size: 0.85rem; line-height: 1.45; }

/* ──────────────────── SECTIONS ──────────────────── */

.section { padding: 96px 0; }

.section h2 {
  margin: 16px 0 14px;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: var(--ink);
  text-wrap: balance;
}

.section p { color: var(--steel); font-size: 1rem; line-height: 1.65; }

.section-sub { margin-top: 12px; max-width: 560px; }

.problem  { background: #ffffff; }
.solution { background: #f8fafb; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modules  { background: #ffffff; }
.steps    { background: #f8fafb; }
.audience { background: #ffffff; }
.benefits { background: #f8fafb; }
.contact  { background: #ffffff; }
.faq      { background: #f0f5fa; }

/* ──────────────────── SPLIT ──────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ──────────────────── CHECK LIST ──────────────────── */

.check-list { display: grid; gap: 13px; margin: 22px 0 0; padding: 0; }

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.98rem;
  list-style: none;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--blue);
}

/* Lista do problema = pontos de dor (vermelho/X) */
.check-list-danger li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center / 10px no-repeat,
    var(--danger);
}

/* ──────────────────── CENTER ──────────────────── */

.center { max-width: 860px; text-align: center; margin-inline: auto; }
.center .section-kicker { margin-inline: auto; }

/* ──────────────────── SECTION HEAD ──────────────────── */

.section-head { max-width: 760px; margin-bottom: 48px; }

/* ──────────────────── MODULE & BENEFIT GRID ──────────────────── */

.module-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-grid { grid-template-columns: repeat(4, 1fr); }

.module-grid article,
.benefit-grid article {
  position: relative;
  border: 1px solid rgba(11,109,204,0.10);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
  overflow: hidden;
}

.module-grid article::before,
.benefit-grid article::before {
  content: "";
  position: absolute;
  left: 0; top: 18%; bottom: 18%;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(11,109,204,0.3) 100%);
  opacity: 0;
  transition: opacity 240ms var(--ease);
}

.module-grid article:hover,
.benefit-grid article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}

.module-grid article:hover::before,
.benefit-grid article:hover::before { opacity: 1; }

.module-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--blue-sky);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.module-grid h3, .benefit-grid h3 { margin: 14px 0 8px; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.3; letter-spacing: -0.01em; }
.module-grid p,  .benefit-grid p  { margin: 0; font-size: 0.9rem; color: var(--steel); line-height: 1.55; }

/* Benefit icons */
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,138,34,0.12);
  color: var(--orange-2);
}
.benefit-icon svg { width: 22px; height: 22px; }

/* ──────────────────── RUFOLAB — DARK SECTION ──────────────────── */

.rufolab {
  background:
    radial-gradient(ellipse 55% 45% at 85% 30%, rgba(11,109,204,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 35% 35% at 15% 70%, rgba(11,109,204,0.1) 0%, transparent 50%),
    #071a2d;
  color: white;
}

.rufolab h2 { color: #fff; }
.rufolab p  { color: rgba(255,255,255,0.72); }
.rufolab .check-list li { color: rgba(255,255,255,0.92); }
.rufolab .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%231d1000' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--orange);
}
.rufolab .section-kicker {
  background: rgba(11,109,204,0.18);
  border-color: rgba(11,109,204,0.3);
  color: #79b4ff;
}

.rufolab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.technical-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  padding: 24px;
  box-shadow: 0 0 60px rgba(11,109,204,0.12);
}

.technical-card svg {
  display: block;
  border-radius: 16px;
  background: #eef5fb;
  width: 100%;
}

.grid-line  { stroke: rgba(11,109,204,0.18); stroke-width: 1; }
.piece-line { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; stroke-width: 7; }
.end-line   { stroke: var(--orange); stroke-dasharray: 10 8; stroke-width: 4; }
.technical-card circle { fill: #fff; stroke: var(--blue); stroke-width: 3; }
.technical-card text   { fill: var(--blue); font-size: 18px; font-weight: 900; }
.technical-card strong { display: block; margin-top: 18px; font-size: 1.02rem; font-weight: 800; color: rgba(255,255,255,0.96); }
.technical-card p { color: rgba(255,255,255,0.62); font-size: 0.9rem; margin: 6px 0 0; }

/* ──────────────────── STEPS GRID ──────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.steps-grid article {
  border: 1px solid rgba(11,109,204,0.10);
  border-radius: var(--radius);
  background: var(--card);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.steps-grid article:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }

.steps-grid article span {
  display: inline-flex;
  width: 34px; height: 34px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(11,109,204,0.28);
}

.steps-grid h3 { margin: 0 0 8px; font-size: 0.98rem; font-weight: 800; color: var(--ink); }
.steps-grid p  { margin: 0; font-size: 0.86rem; color: var(--steel); line-height: 1.5; }

/* ──────────────────── TAG CLOUD ──────────────────── */

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }

.tag-cloud span {
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(7,26,45,0.16);
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 18px;
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease);
}

.tag-cloud span:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ──────────────────── CTA BAND ──────────────────── */

.cta-band {
  background: var(--cream);
  border-top: 1px solid rgba(255,138,34,0.12);
  border-bottom: 1px solid rgba(255,138,34,0.12);
}

.cta-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 50% 80% at 90% 10%, rgba(11,109,204,0.28) 0%, transparent 60%),
    linear-gradient(140deg, rgba(7,26,45,0.98) 0%, rgba(16,40,62,0.96) 100%);
  color: white;
  padding: 48px 44px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(7,26,45,0.24);
}

.cta-card > div { max-width: 640px; position: relative; z-index: 1; }
.cta-card h2 { color: white; margin: 0 0 10px; font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
.cta-card p  { color: rgba(255,255,255,0.76); margin: 0; font-size: 1.02rem; }
.cta-card .section-kicker {
  background: rgba(11,109,204,0.22);
  border-color: rgba(11,109,204,0.4);
  color: #8ec0ff;
  margin-bottom: 14px;
}
.cta-card .btn { flex-shrink: 0; position: relative; z-index: 1; }

/* ──────────────────── CONTACT ──────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid rgba(11,109,204,0.14);
  border-radius: var(--radius-sm);
  background: #f8fafb;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--steel-soft); }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,109,204,0.12);
  background: #fff;
}

.contact-form textarea { resize: vertical; min-height: 104px; }

.full     { grid-column: 1 / -1; }
.honeypot { display: none; }

.form-legal {
  margin: -2px 0 0;
  color: var(--steel-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-legal a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ──────────────────── FAQ ──────────────────── */

.faq-list { display: grid; gap: 12px; max-width: 860px; }

.faq-list details {
  border: 1px solid rgba(11,109,204,0.10);
  border-radius: var(--radius-sm);
  background: var(--card);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease), border-color 200ms var(--ease);
}

.faq-list details[open] { box-shadow: var(--shadow); border-color: rgba(11,109,204,0.18); }

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 220ms var(--ease);
}
.faq-list details[open] summary::after { content: "\2212"; }

.faq-list p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* ──────────────────── FOOTER ──────────────────── */

.site-footer { background: var(--ink); color: white; padding: 56px 0 40px; }

.footer-grid {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer p { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-top: 14px; max-width: 420px; }

.site-footer .brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 162px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: #fff;
  padding: 8px 18px 8px 12px;
  box-shadow: none;
}

.site-footer .brand-logo { width: 124px; }

.site-footer nav { display: grid; gap: 12px; justify-items: end; margin-top: 4px; }
.site-footer a   { color: rgba(255,255,255,0.72); font-size: 0.875rem; transition: color 150ms ease; }
.site-footer a:hover { color: #fff; }
.site-footer a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ──────────────────── REVEAL ──────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 980px)
   ══════════════════════════════════════════════════ */

@media (max-width: 980px) {

  .hero {
    min-height: auto;
    padding: 132px 0 72px;
    background:
      radial-gradient(ellipse 80% 40% at 100% 0%, rgba(11,109,204,0.08) 0%, transparent 50%),
      linear-gradient(160deg, #eef4ff 0%, #e8f1ff 45%, #f5f9ff 100%);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-panel { max-width: 520px; margin-inline: 0; }

  .split,
  .rufolab-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .module-grid,
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-card { flex-direction: column; align-items: flex-start; padding: 40px 36px; }
  .cta-card .btn { width: 100%; }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 38px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 640px)
   ══════════════════════════════════════════════════ */

@media (max-width: 640px) {

  .container { width: calc(100% - 32px); }

  /* ── Header mobile ── */
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
    padding: 8px 10px 8px 14px;
    gap: 8px;
  }

  .brand-logo { width: 104px; }

  /* Hamburguer — VISÍVEL no mobile */
  .nav-toggle { display: inline-flex; }

  /* Nav mobile — oculta por padrão */
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 18px;
    background: rgba(255,255,255,0.99);
    border: 1px solid var(--blue-soft);
    padding: 12px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    z-index: 200;
    /* Animação de abertura */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.99);
    transform-origin: top center;
    pointer-events: none;
    transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 220ms;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px 16px;
    font-size: 0.98rem;
    border-radius: 12px;
    color: var(--ink);
    justify-content: flex-start;
  }

  .site-nav .nav-cta {
    margin: 6px 0 0;
    justify-content: center;
    border-radius: 12px;
    color: var(--orange-ink) !important;
  }

  /* ── Hero mobile ── */
  .hero {
    padding: 116px 0 56px;
    min-height: auto;
  }

  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); margin-top: 18px; }
  .hero-lead { font-size: 1rem; max-width: 100%; }

  .hero-actions { flex-direction: column; gap: 12px; margin-top: 26px; }
  .hero-actions .btn { width: 100%; }

  .hero-proof { gap: 10px 16px; }

  .hero-panel { padding: 22px; }

  /* ── Sections mobile ── */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }

  /* Single column */
  .module-grid,
  .benefit-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Contact form */
  .contact-form { grid-template-columns: 1fr; padding: 22px; gap: 16px; }
  .full { grid-column: auto; }

  /* CTA */
  .cta-card { padding: 30px 24px; border-radius: 24px; }

  /* Footer */
  .footer-grid { flex-direction: column; gap: 26px; }
  .site-footer nav { justify-items: start; }

  /* Tags */
  .tag-cloud span { font-size: 0.85rem; padding: 10px 14px; }
}

/* Bloqueia scroll do body com menu aberto (mobile) */
body.nav-locked { overflow: hidden; }
