/* =========================================================
   Orbital TI — Fábrica de Software
   Paleta extraída da identidade visual da marca
   ========================================================= */

:root {
  --navy: #12141c;
  --navy-soft: #1b1e2a;
  --cream: #f7f6f2;
  --cream-2: #efece4;
  --ink: #12141c;
  --ink-soft: #4a4d59;
  --off-white: #f5f1ea;

  --blue: #4c74f0;
  --blue-ink: #2743a8;
  --magenta: #de4a9e;
  --magenta-ink: #9c2f6f;
  --orange: #f2954a;
  --orange-ink: #a35c1f;
  --teal: #23c2ac;
  --teal-ink: #157567;

  --gradient: linear-gradient(90deg, var(--blue), var(--magenta), var(--orange), var(--teal));

  --shadow-sm: 0 2px 10px rgba(18, 20, 28, 0.08);
  --shadow-md: 0 12px 32px rgba(18, 20, 28, 0.14);
  --shadow-lg: 0 24px 60px rgba(18, 20, 28, 0.22);

  --radius: 16px;
  --radius-sm: 10px;

  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --header-h: 78px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, textarea { font: inherit; }

section[id], .hero { scroll-margin-top: var(--header-h); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 999px;
  padding: .9rem 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-large { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn-small { padding: .55rem 1.15rem; font-size: .88rem; }

.btn-primary {
  background: var(--gradient);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background-position: 100% 0; }

.btn-outline-light {
  border: 1.5px solid rgba(255,255,255,.55);
  color: #fff;
  background: rgba(255,255,255,.06);
}
.btn-outline-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Eyebrow / heads ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin-bottom: .8rem;
  padding: .3rem .85rem;
  border-radius: 999px;
  background: rgba(76,116,240,.1);
}
.eyebrow-light { background: rgba(255,255,255,.12); color: #fff; }
.eyebrow-blue { background: rgba(76,116,240,.12); color: var(--blue-ink); }
.eyebrow-orange { background: rgba(242,149,74,.15); color: var(--orange-ink); }
.eyebrow-magenta { background: rgba(222,74,158,.13); color: var(--magenta-ink); }
.eyebrow-teal { background: rgba(35,194,172,.13); color: var(--teal-ink); }

.section-head { max-width: 680px; margin: 0 0 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-lead { color: var(--ink-soft); font-size: 1.05rem; }

/* =========================================================
   HEADER / MEGA MENU (padrão inspirado no menu suspenso da Locaweb)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
}
.header-bar {
  height: var(--header-h);
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled .header-bar { box-shadow: var(--shadow-md); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 58px; width: auto; }

.main-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.86);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .95rem;
  padding: .7rem .9rem;
  border-radius: 8px;
  transition: color .15s ease, background-color .15s ease;
}
.nav-link:hover, .nav-trigger[aria-expanded="true"], .nav-link.is-active { color: #fff; background: rgba(255,255,255,.08); }
.nav-link.is-active { box-shadow: inset 0 -2px 0 var(--teal); }
.chev { transition: transform .2s ease; }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 500;
  white-space: nowrap;
}
.header-phone:hover { color: var(--teal); }

/* Mega panel */
.mega-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 640px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.nav-item.mega-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 220px; gap: 2rem; }
.mega-inner--simple { grid-template-columns: 1fr 220px; }
.mega-col-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: .9rem;
}
.mega-link {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .55rem .5rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.mega-link:hover { background: var(--cream); }
.mega-link-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: .93rem; }
.mega-link-desc { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: .1rem; }

.mega-ico {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.ico-blue { background: rgba(76,116,240,.12); color: var(--blue-ink); }
.ico-magenta { background: rgba(222,74,158,.12); color: var(--magenta-ink); }
.ico-orange { background: rgba(242,149,74,.15); color: var(--orange-ink); }
.ico-teal { background: rgba(35,194,172,.14); color: var(--teal-ink); }

.mega-promo {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.mega-promo-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal); font-weight: 600; margin: 0; }
.mega-promo-title { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; margin: 0; }
.mega-promo-text { font-size: .84rem; color: rgba(255,255,255,.72); margin: 0 0 .6rem; }
.mega-promo-link { font-size: .8rem; color: var(--teal); font-weight: 600; margin-top: .55rem; }
.mega-promo-link:hover { color: #fff; }

.mega-col--wide { grid-column: 1 / span 1; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mega-chip {
  display: flex; align-items: center; gap: .55rem;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-weight: 500; font-size: .9rem;
}
.mega-chip:hover { background: var(--cream-2); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(18,20,28,.35);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
  z-index: 400;
}
.nav-overlay.is-visible { opacity: 1; visibility: visible; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: 8px;
}
.nav-toggle span { width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18,20,28,.55) 0%, rgba(18,20,28,.78) 55%, rgba(18,20,28,.96) 100%),
    linear-gradient(100deg, rgba(76,116,240,.28), rgba(222,74,158,.18) 40%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; min-width: 0; padding-top: 4rem; padding-bottom: 6rem; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  margin-bottom: .55em;
}
.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }
.hero-actions--compact { margin-top: 1.5rem; }
.hero-emoji { font-size: .9em; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.75rem;
  margin-top: 2.25rem;
}
.hero-badges li {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}
.hero-badges span { color: var(--teal); font-weight: 700; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 999px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrollCue 1.8s ease infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* =========================================================
   SECTIONS — cada cor identifica uma seção
   ========================================================= */
.section { padding: 6rem 0; position: relative; overflow: hidden; }
.section-light { background: var(--cream); }

.section-orbit {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: .12;
  top: 50%; right: -280px;
  transform: translateY(-50%);
  pointer-events: none;
}
.section-orbit::before, .section-orbit::after {
  content: "";
  position: absolute; inset: 90px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.section-orbit::after { inset: 190px; }

.section-blue { background: linear-gradient(180deg, #dbe7fd 0%, #eaf1fe 100%); color: var(--blue); }
.section-orange { background: linear-gradient(180deg, #fbdfc0 0%, #fdecd9 100%); color: var(--orange); }
.section-magenta { background: linear-gradient(180deg, #f8d3e9 0%, #fbe3f1 100%); color: var(--magenta); }
.section-teal { background: linear-gradient(180deg, #c9f3ea 0%, #ddf7f0 100%); color: var(--teal); }

/* Pillars (Sobre) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.pillar {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pillar[href]:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-ico {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.pillar h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.pillar p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Card grid (Serviços) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; position: relative; z-index: 1; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
.card-ico--emoji { font-size: 1.35rem; }

/* Card que é um link para a página de detalhe */
.link-card { display: flex; flex-direction: column; color: inherit; }
.link-card .card-more {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue-ink);
}
.link-card:hover .card-more { color: var(--magenta-ink); }
.link-card .card-more span { display: inline-block; transition: transform .18s ease; }
.link-card:hover .card-more span { transform: translateX(4px); }

.mini-list { margin: .9rem 0 0; display: grid; gap: .45rem; }
.mini-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.mini-list li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

/* Timeline (Metodologia) */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
  position: relative; z-index: 1;
  counter-reset: step;
}
.timeline--compact { grid-template-columns: repeat(4, 1fr); }
.timeline-step {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--orange);
}
.timeline-num {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--orange);
  margin-bottom: .5rem;
}
.timeline-step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.timeline-step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.timeline-deliverable {
  margin: 1rem 0 0;
  padding-top: .85rem;
  border-top: 1px dashed rgba(18,20,28,.14);
  font-size: .84rem;
  color: var(--ink-soft);
}
.timeline-deliverable strong { color: var(--ink); }

/* Feature grid (Diferenciais) */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; position: relative; z-index: 1; }
.feature { display: flex; gap: 1rem; background: #fff; padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.feature-check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.feature-check--teal { background: var(--teal); }
.feature h3 { font-size: 1rem; margin-bottom: .3rem; }
.feature p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

.section-cta { margin: 2.75rem 0 0; position: relative; z-index: 1; }
.section-tight { padding-top: 0; }

/* Segmentos */
.segment-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.segment-chip {
  background: #fff;
  border: 1px solid rgba(18,20,28,.08);
  padding: .75rem 1.3rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.card-grid--segments { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.segment-card { display: flex; flex-direction: column; }
.segment-card .card-ico { font-size: 1.3rem; }
.segment-list { list-style: none; margin: 1rem 0 1.2rem; padding: 0; display: grid; gap: .6rem; }
.segment-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink);
}
.segment-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: .08rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: rgba(35, 194, 172, .16);
  color: var(--teal-ink);
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.segment-fit {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed rgba(18, 20, 28, .14);
  font-size: .85rem;
  color: var(--ink-soft);
}
.segment-fit strong { color: var(--ink); }

/* Tech grid */
.tech-grid { display: flex; flex-wrap: wrap; gap: .9rem; position: relative; z-index: 1; }
.tech-badge {
  background: #fff;
  color: var(--teal-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.tech-grid--small { gap: .5rem; }
.tech-grid--small .tech-badge {
  font-size: .8rem;
  padding: .45rem .9rem;
  box-shadow: none;
  background: var(--cream);
}

/* =========================================================
   NOVIDADES DE MERCADO (home)
   ========================================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  position: relative; z-index: 1;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--blue);
  display: flex;
  flex-direction: column;
}
.news-card--blue { border-top-color: var(--blue); }
.news-card--magenta { border-top-color: var(--magenta); }
.news-card--orange { border-top-color: var(--orange); }
.news-card--teal { border-top-color: var(--teal); }
.news-tag {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 .6rem;
}
.news-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.news-text { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.news-links {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(18,20,28,.08);
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-top: auto;
}
.news-link { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--blue-ink); }
.news-link:hover { color: var(--magenta-ink); }
.news-source { font-size: .78rem; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.news-source:hover { color: var(--ink); }

/* =========================================================
   PÁGINAS DE DETALHE (serviço / segmento)
   ========================================================= */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.detail-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.detail-text { color: var(--ink-soft); font-size: 1rem; }
.detail-subtitle { font-size: 1.2rem; margin: 2.6rem 0 1.2rem; }

.detail-list { display: grid; gap: 1rem; }
.detail-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--blue);
}
.detail-item h4 { font-family: var(--font-head); font-size: 1rem; margin: 0 0 .3rem; }
.detail-item p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.steps-list { display: grid; gap: 1rem; counter-reset: passo; }
.steps-list li { display: flex; gap: 1rem; align-items: flex-start; }
.steps-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.steps-list h4 { font-family: var(--font-head); font-size: 1rem; margin: .3rem 0 .25rem; }
.steps-list p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

.detail-note {
  margin-top: 2rem;
  font-size: .82rem;
  color: var(--ink-soft);
  font-style: italic;
}

.detail-side { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 24px); }
.side-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.side-box h3 { font-size: 1rem; margin-bottom: .9rem; }
.side-text { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.side-box .segment-list { margin: 0; }
.side-box--alert { border-left: 3px solid var(--magenta); }
.side-box--dark { background: var(--navy); color: rgba(255,255,255,.75); }
.side-box--dark h3 { color: #fff; }
.side-box--dark p { font-size: .9rem; margin-bottom: 1.1rem; }

.pain-list { display: grid; gap: .6rem; }
.pain-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.pain-list li::before {
  content: "!";
  position: absolute; left: 0; top: .08rem;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  background: rgba(222,74,158,.15);
  color: var(--magenta-ink);
  font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* =========================================================
   CONTEXTO DE MERCADO (dado + fonte)
   ========================================================= */
.context-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--blue);
  position: relative; z-index: 1;
}
.context-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-ink);
  margin: 0 0 .6rem;
}
.context-box h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.context-box p { color: var(--ink-soft); font-size: .98rem; }
.context-source { font-size: .82rem; margin: 1.2rem 0 0; }
.context-source a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { display: grid; gap: .75rem; position: relative; z-index: 1; }
.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 0 1.5rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--blue-ink);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item[open] summary { padding-bottom: .5rem; }
.faq-item p { color: var(--ink-soft); font-size: .93rem; padding-bottom: 1.3rem; margin: 0; }

/* CTA band */
.cta-band {
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 20%, rgba(76,116,240,.35), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(35,194,172,.3), transparent 45%);
  padding: 5rem 0;
  text-align: center;
}
.cta-band-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band-inner p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 520px; margin: 0 auto 1.75rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-ico {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.contact-list strong { display: block; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.contact-list a:hover { color: var(--blue-ink); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.form-title { font-size: 1.2rem; margin-bottom: 1.4rem; }
.form-row { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.form-optional { font-weight: 400; color: #9a9890; }
.form-row input, .form-row textarea, .form-row select {
  border: 1.5px solid #e2e0da;
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  background: var(--cream);
  resize: vertical;
  transition: border-color .15s ease;
  font: inherit;
  color: inherit;
}
.form-row textarea::placeholder { color: #a9a79f; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--blue); }
.form-privacy { margin: 1rem 0 0; font-size: .78rem; color: var(--ink-soft); }
.form-privacy a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { width: 100%; margin-top: .4rem; }
.form-feedback { margin: .9rem 0 0; font-size: .9rem; font-weight: 600; min-height: 1.2em; color: var(--teal-ink); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding-top: 4.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.55); max-width: 260px; }
.footer-col h4 { color: #fff; font-size: .92rem; margin-bottom: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.footer-bottom-inner p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-legal-link { font-size: .82rem; color: rgba(255,255,255,.5); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-link:hover { color: #fff; }

/* =========================================================
   PÁGINAS LEGAIS (Política de Privacidade / LGPD)
   ========================================================= */
.legal-hero {
  background: var(--navy);
  background-image: radial-gradient(circle at 15% 20%, rgba(76,116,240,.35), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(35,194,172,.3), transparent 45%);
  padding: 3.5rem 0 3rem;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.legal-back:hover { color: #fff; }
.legal-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .6rem; }
.legal-updated { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }

.legal-content { max-width: 780px; margin: 0 auto; padding: 4.5rem 0; }
.legal-intro { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 2.5rem; }
.legal-body h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body ul { margin: 0 0 1em; padding-left: 1.25em; list-style: disc; }
.legal-body li { margin-bottom: .5em; }
.legal-body a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 600;
  transition: transform .2s ease, bottom .3s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
body.lgpd-open .whatsapp-float { bottom: calc(24px + var(--lgpd-banner-h, 110px)); }
.whatsapp-float-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  animation: waPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* =========================================================
   AVISO LGPD — barra inferior flutuante
   ========================================================= */
.lgpd-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 1cm;
  z-index: 700;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
  opacity: 0;
  /* calc(100% + 2cm) em vez de uma porcentagem simples: garante que o cartão
     saia inteiramente da tela ao fechar (independente da própria altura, que
     varia com o texto em 1 ou 2 linhas) — uma porcentagem pura podia deixar
     uma tira branca visível colada na base da página. */
  transform: translateY(calc(100% + 2cm));
  transition: transform .45s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}
.lgpd-banner.is-visible { transform: translateY(0); opacity: 1; }

.lgpd-banner-inner {
  pointer-events: auto;
  width: 100%;
  max-width: 680px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(18, 20, 28, .2);
  border: 1px solid rgba(18, 20, 28, .08);
  padding: 1.1rem 1.5rem;
}

.lgpd-banner-text {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.lgpd-banner-text strong { color: var(--ink); }
.lgpd-banner-text a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.lgpd-banner-btn { flex-shrink: 0; }

@media (max-width: 680px) {
  .lgpd-banner { padding: 0 16px; }
  .lgpd-banner-inner { flex-direction: column; align-items: stretch; gap: .9rem; padding: 1rem 1.15rem; }
  .lgpd-banner-btn { width: 100%; }
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline, .timeline--compact { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-side { position: static; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 780px) {
  :root { --header-h: 68px; }

  .brand-logo { height: 44px; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h); right: 0;
    height: calc(100dvh - var(--header-h));
    width: min(340px, 86vw);
    background: var(--navy);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    z-index: 450;
    border-left: 1px solid rgba(255,255,255,.08);
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; padding: 1rem; gap: .2rem; }
  .nav-link { width: 100%; justify-content: space-between; }

  .mega-panel {
    position: static;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: .25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: max-height .25s ease, padding .25s ease;
  }
  .nav-item.mega-open .mega-panel { max-height: 900px; }
  .mega-inner, .mega-inner--simple { grid-template-columns: 1fr; gap: 1.2rem; }
  .mega-col-title, .mega-link-desc, .mega-promo-text { color: rgba(255,255,255,.6); }
  .mega-link-title { color: #fff; }
  .mega-link:hover { background: rgba(255,255,255,.06); }
  .mega-chip { background: rgba(255,255,255,.06); color: #fff; }
  .mega-chip:hover { background: rgba(255,255,255,.12); }

  .header-phone span { display: none; }

  .pillars, .card-grid, .timeline, .timeline--compact, .news-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; gap: .5rem; }
  .context-box, .side-box { padding: 1.5rem; }
}

@media (max-width: 420px) {
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .whatsapp-float-pulse, .scroll-cue span { animation: none; }
}
