/* ============================================================
   UPFLOW — Folha de estilo (tema escuro corporativo)
   Marca: navy #253759 · vermelho #C13336 · claro #E6E6E6
   ============================================================ */

/* ---------- Variáveis ---------- */
:root {
  --navy: rgba(22, 16, 50, 0.8);
  --navy-line: #2c3f63;
  --red: #c13336;
  --red-soft: #d6494c;
  --red-dark: #a32a2d;

  --wa: #25d366;
  --wa-dark: #1faa54;

  --bg-0: #0d0f1f;
  --bg-1: #111228;
  --bg-2: #0a0c1a;
  --panel: rgba(20, 18, 48, 0.75);
  --panel-2: rgba(28, 24, 60, 0.85);

  --border: #252545;
  --border-light: #363660;

  --ink: #f4f6f9;
  --text: #9aa7be;
  --text-dim: #6c7a93;
  --light: #e6e6e6;

  --font-head: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .3);
  --shadow: 0 14px 36px rgba(0, 0, 0, .42);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, .5);
  --container: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #0d0f1f;
  background-image: linear-gradient(160deg,
    #0d1a3a 0%,
    #151030 20%,
    #1a0c2e 40%,
    #2a0c28 60%,
    #3a0c1e 80%,
    #2e0a10 100%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em;
}

::selection { background: var(--red); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { position: relative; padding: 96px 0; }
.section--tint {
  background: rgba(10, 8, 28, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 14px;
}
.section__text { font-size: 1.04rem; color: var(--text); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-soft);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
}
.section__head .eyebrow { justify-content: center; }

.text-accent { color: var(--red-soft); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
  line-height: 1;
}

.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--whatsapp { background: var(--wa); color: #06311a; border-color: var(--wa); }
.btn--whatsapp:hover { background: var(--wa-dark); border-color: var(--wa-dark); }

.btn--ghost { background: transparent; color: #fff; border-color: var(--border-light); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .05); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.ico-wa { width: 19px; height: 19px; fill: currentColor; }
.ico-check-sm { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 32, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header.scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.nav__logo img { height: 34px; width: auto; }

.nav__menu { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  color: #c2cbdc;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.nav__link:hover { background: var(--panel); color: #fff; }

.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  width: 23px;
  height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 88px 0 132px;
  border-bottom: 1px solid var(--border);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(2.05rem, 4.2vw, 3.05rem);
  letter-spacing: -.025em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}
.hero__text {
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 30px;
  color: var(--text);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 24px; }
.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: #c2cbdc;
}
.hero__note .ico-check-sm { color: var(--wa); }

/* Hero — workflow do agente (estilo n8n) */
.hero__visual { position: relative; }
.workflow {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.workflow svg { width: 100%; height: auto; display: block; }

/* ============================================================
   FEATURES (faixa de capacidades)
   ============================================================ */
.features { position: relative; z-index: 3; margin-top: -64px; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature {
  display: flex;
  gap: 14px;
  padding: 26px 24px;
  border-right: 1px solid var(--border);
}
.feature:last-child { border-right: none; }
.feature__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--red-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature strong { font-family: var(--font-head); color: #fff; font-size: .98rem; }
.feature p { font-size: .87rem; color: var(--text-dim); margin-top: 3px; }

/* ============================================================
   SOLUÇÕES
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.solution-card:hover { border-color: var(--border-light); background: var(--panel-2); }
.solution-card__icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  border: 1px solid var(--navy-line);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.solution-card__icon svg { width: 25px; height: 25px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.solution-card h3 { font-size: 1.16rem; margin-bottom: 9px; color: #fff; }
.solution-card p { font-size: .95rem; color: var(--text); }
.solution-card--accent {
  background: var(--navy);
  border-color: var(--navy-line);
  border-top: 3px solid var(--red);
}
.solution-card--accent p { color: #c4cee0; }
.solution-card--accent .solution-card__icon { background: var(--red); border-color: var(--red); }
.card-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--red-soft);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
}
.card-link:hover { color: #fff; }

/* ============================================================
   BENEFÍCIOS
   ============================================================ */
.benefits {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.benefits__media { position: relative; }
.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px 24px;
}
.stat-card__row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 196px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.stat-card__bar {
  flex: 1;
  height: var(--h);
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  min-height: 22px;
  animation: grow 1s var(--ease) both;
  transform-origin: bottom;
}
.stat-card__bar--accent { background: var(--red); border-color: var(--red); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.stat-card__label { margin-top: 13px; font-size: .85rem; color: var(--text-dim); text-align: center; }

.mini-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--panel-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .83rem;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.mini-card svg { width: 17px; height: 17px; fill: none; stroke: var(--wa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.mini-card--b svg { stroke: var(--red-soft); stroke-width: 2; }
.mini-card--a { top: -20px; right: -16px; }
.mini-card--b { bottom: -18px; left: -18px; }

.benefits__list { margin: 24px 0 30px; display: flex; flex-direction: column; gap: 4px; }
.benefits__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.benefits__list li:last-child { border-bottom: none; }
.benefits__list svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  fill: none; stroke: var(--red-soft); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.benefits__list strong { display: block; font-family: var(--font-head); color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
.benefits__list span { font-size: .93rem; color: var(--text); }

/* ============================================================
   COMO FUNCIONA — steps
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.step {
  position: relative;
  background: var(--panel);
  padding: 28px 22px;
  border-right: 1px solid var(--border);
  transition: background-color .2s var(--ease);
}
.step:last-child { border-right: none; }
.step:hover { background: var(--panel-2); }
.step__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--red-soft);
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.step h3 { font-size: 1.04rem; margin-bottom: 8px; color: #fff; }
.step p { font-size: .89rem; color: var(--text-dim); }

/* ============================================================
   SETORES
   ============================================================ */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.sector:hover { border-color: var(--border-light); background: var(--panel-2); }
.sector svg {
  width: 34px; height: 34px;
  margin-bottom: 16px;
  fill: none; stroke: var(--red-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.sector h3 { font-size: 1.08rem; margin-bottom: 6px; color: #fff; }
.sector p { font-size: .91rem; color: var(--text-dim); }
.sectors__note { text-align: center; margin-top: 34px; color: var(--text); font-size: .98rem; }
.sectors__note a { color: var(--red-soft); font-weight: 600; }
.sectors__note a:hover { color: #fff; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.diff-card:hover { border-color: var(--border-light); background: var(--panel-2); }
.diff-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.diff-card__icon svg { width: 23px; height: 23px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.diff-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: #fff; }
.diff-card p { font-size: .93rem; color: var(--text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 840px; }
.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__item { border-bottom: 1px solid var(--border); background: var(--panel); }
.faq__item:last-child { border-bottom: none; }
.faq__item.open { background: var(--panel-2); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 21px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.01rem;
  color: #fff;
}
.faq__question svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  fill: none; stroke: var(--red-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq__answer p { padding: 0 24px 22px; font-size: .96rem; color: var(--text); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 80px 0; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 48px;
  background: var(--navy);
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-bottom: 8px; }
.cta-band p { color: #c4cee0; font-size: 1.02rem; max-width: 540px; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 52px;
  align-items: start;
}
.contact__list { margin-top: 28px; display: flex; flex-direction: column; }
.contact__list li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact__list li:first-child { border-top: 1px solid var(--border); }
.contact__ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.contact__ico svg { width: 21px; height: 21px; fill: none; stroke: var(--red-soft); }
.contact__list strong { display: block; font-family: var(--font-head); color: #fff; font-size: .98rem; }
.contact__list a { color: var(--text); }
.contact__list a:hover { color: var(--red-soft); }
.contact__list span { color: var(--text-dim); font-size: .93rem; }

/* Formulário */
.contact__form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: #d4dae5;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-0);
  color: #fff;
  font-size: .94rem;
  transition: border-color .18s var(--ease);
}
.form-group select { cursor: pointer; }
.form-group select option { background: #0f1a30; color: #fff; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5e6b82; }
.form-group textarea { resize: vertical; min-height: 108px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group input.invalid,
.form-group textarea.invalid { border-color: var(--red); }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--text);
  margin-bottom: 20px;
}
.form-check input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }
.form-check a { color: var(--red-soft); font-weight: 600; }
.form-note { margin-top: 12px; font-size: .81rem; color: var(--text-dim); text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  color: #8d9ab2;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 66px 28px 48px;
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: .93rem; margin-bottom: 20px; max-width: 300px; }
.footer__col h4 {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .92rem; transition: color .18s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--border); }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: .84rem;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 95;
  transition: background-color .18s var(--ease);
}
.wa-float:hover { background: var(--wa-dark); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  right: 22px;
  max-width: 470px;
  background: var(--panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  z-index: 98;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-size: .88rem; margin-bottom: 16px; color: var(--text); }
.cookie-banner p a { color: var(--red-soft); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(20px);
  background: var(--panel-2);
  border: 1px solid var(--border-light);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   PÁGINAS LEGAIS
   ============================================================ */
.legal-hero {
  padding: 62px 0 52px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.legal-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 10px; }
.legal-hero p { color: var(--text); font-size: 1rem; }
.breadcrumb { font-size: .85rem; color: var(--text-dim); margin-bottom: 18px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--red-soft); }

.legal { padding: 56px 0 86px; }
.legal__inner { max-width: 840px; margin: 0 auto; }
.legal__toc {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.legal__toc h2 { font-size: 1.02rem; margin-bottom: 14px; color: #fff; }
.legal__toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 7px; }
.legal__toc li { color: var(--text-dim); }
.legal__toc a { font-size: .93rem; color: var(--text); }
.legal__toc a:hover { color: var(--red-soft); }

.legal h2 {
  font-size: 1.34rem;
  margin: 44px 0 14px;
  padding-top: 14px;
  scroll-margin-top: 96px;
  color: #fff;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.06rem; margin: 24px 0 10px; color: #dde2ea; }
.legal p { margin-bottom: 14px; color: var(--text); }
.legal ul, .legal ol { margin: 0 0 16px 22px; }
.legal ul li, .legal ol li { margin-bottom: 8px; color: var(--text); }
.legal ul li { list-style: disc; }
.legal ol li { list-style: decimal; }
.legal a { color: var(--red-soft); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: #fff; }
.legal__updated {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 15px;
  font-size: .83rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--red-soft);
  margin-bottom: 8px;
}
.legal__note {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 26px 0;
  font-size: .91rem;
}
.legal__note strong { color: #fff; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
}
.legal__back:hover { color: var(--red-soft); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { gap: 38px; }
  .cards-grid, .diff-grid, .sectors { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
  .feature:nth-child(1), .feature:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--border); }
  .step:nth-child(2n) { border-right: none; }
}

@media (max-width: 920px) {
  .nav__menu {
    position: fixed;
    top: 74px;
    right: 0;
    width: min(330px, 86vw);
    height: calc(100dvh - 74px);
    background: var(--bg-0);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 26px 22px;
    border-left: 1px solid var(--border);
    transform: translateX(105%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { display: block; padding: 13px 14px; font-size: 1rem; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 14px; }
  .nav__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 110px; }
  .hero__visual { order: -1; max-width: 480px; margin: 0 auto; }

  .benefits { grid-template-columns: 1fr; gap: 48px; }
  .benefits__media { order: 2; max-width: 430px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 38px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 18px; }
  .section__head { margin-bottom: 40px; }
  .cards-grid, .diff-grid, .sectors { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: none; }
  .feature:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; }
  .step:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 26px 22px; }
  .features { margin-top: -48px; }
  .hero__actions .btn { width: 100%; }
  .mini-card--a { right: 6px; }
  .mini-card--b { left: 6px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .cookie-banner { left: 14px; right: 14px; bottom: 14px; padding: 18px; }
  .wa-float { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .cta-band { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
