/* =========================================================
   SEGSEGURO — folha de estilo principal
   Paleta derivada da logo (laranja #FF8022) + azul-marinho
   ========================================================= */

:root {
  /* Marca */
  --orange: #ff8022;
  --orange-600: #ec6a0c;
  --orange-700: #c85507;
  --orange-100: #ffe6d3;
  --orange-50: #fff5ec;

  /* Neutros / contraste */
  --navy-950: #070f1c;
  --navy-900: #0c1829;
  --navy-800: #14243b;
  --navy-700: #1f3352;
  --ink: #142033;
  --muted: #5a6577;
  --line: #ebe5de;
  --bg: #fffbf7;
  --surface: #ffffff;
  --success: #17a36b;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 24, 41, .06), 0 2px 8px rgba(12, 24, 41, .05);
  --shadow: 0 10px 30px -10px rgba(12, 24, 41, .18), 0 2px 6px rgba(12, 24, 41, .05);
  --shadow-lg: 0 30px 60px -20px rgba(12, 24, 41, .30);
  --shadow-orange: 0 12px 28px -10px rgba(255, 128, 34, .65);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy-900); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--orange); }
.h-display { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
.h-section { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.section--navy .lead { color: #b9c3d3; }
.text-orange { color: var(--orange); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Botões ---------- */
.btn {
  --b-bg: var(--orange); --b-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 700; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-600); }
.btn--dark { --b-bg: var(--navy-900); }
.btn--dark:hover { --b-bg: var(--navy-700); }
.btn--ghost { --b-bg: transparent; --b-fg: currentColor; border-color: currentColor; }
.btn--ghost-light { --b-bg: rgba(255,255,255,.08); --b-fg: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --b-bg: rgba(255,255,255,.16); }
.btn--white { --b-bg: #fff; --b-fg: var(--navy-900); }
.btn--sm { padding: .7em 1.15em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--orange-600); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: #aab5c6; font-size: .84rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: .45em; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 22px; align-items: center; }
.topbar .icon { color: var(--orange); width: 1.05em; height: 1.05em; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 247, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12,24,41,.4); }
.header .container { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 46px; height: 44px; filter: drop-shadow(0 6px 12px rgba(255,128,34,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; color: var(--navy-900); }
.brand__name b { color: var(--orange); font-weight: 800; }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .6em .9em; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink);
  background: none; border: 0; transition: background .2s, color .2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--orange-50); color: var(--orange-700); }
.nav__link[aria-current="page"] { color: var(--orange-700); }
.nav__link .icon { width: 1em; height: 1em; transition: transform .25s; }
.nav__item:hover > .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 6px;
  min-width: 280px; padding: 10px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s, translate .25s var(--ease), visibility .2s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
@media (min-width: 1081px) {
  .dropdown--wide { display: grid; grid-template-columns: 1fr 1fr; min-width: 600px; gap: 2px; }
  .dropdown--wide > li:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-bottom: 4px; }
}
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
  font-weight: 600; font-size: .94rem; transition: background .2s;
}
.dropdown a:hover { background: var(--orange-50); }
.dropdown a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.dropdown .ico-box { width: 38px; height: 38px; border-radius: 10px; }

.header__cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; align-items: center; justify-content: center; color: var(--navy-900);
}

/* Caixa de ícone */
.ico-box {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--orange-50); color: var(--orange-600);
}
.ico-box .icon { width: 50%; height: 50%; }
.ico-box--solid { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.ico-box--navy { background: var(--navy-800); color: var(--orange); }

/* ---------- Menu mobile ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .header__cta .btn--phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.05rem; border-radius: 14px; }
  .dropdown {
    position: static; translate: none; opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 8px; min-width: 0;
  }
  .nav__item.is-expanded > .dropdown { display: block; translate: none; }
  .nav__item.is-expanded > .nav__link .icon { transform: rotate(180deg); }
  .nav__item:hover > .nav__link .icon { transform: none; }
  .nav__item.is-expanded:hover > .nav__link .icon { transform: rotate(180deg); }
  .nav__mobile-cta { display: grid !important; gap: 10px; margin-top: 20px; }
}
.nav__mobile-cta { display: none; }
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy-900);
  padding: clamp(56px, 8vw, 104px) 0 clamp(120px, 14vw, 170px);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(255,128,34,.28), transparent 60%),
    linear-gradient(100deg, rgba(7,15,28,.96) 0%, rgba(7,15,28,.86) 42%, rgba(7,15,28,.35) 75%, rgba(7,15,28,.15) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 4px;
  background: var(--orange); opacity: .35;
}
.hero__lead { color: #c7d0dd; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__checks { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.hero__checks li { display: flex; gap: 12px; align-items: flex-start; color: #e3e8ef; font-weight: 500; }
.hero__checks .icon { color: var(--orange); margin-top: 2px; }
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .5em 1em; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,128,34,.14); color: #ffb47c; border: 1px solid rgba(255,128,34,.35);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,128,34,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,128,34,0); } }

.hero-card {
  justify-self: end; width: 100%; max-width: 400px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.hero-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.hero-card p { color: #b9c3d3; font-size: .95rem; }
.hero-card__list { display: grid; gap: 10px; margin: 20px 0 22px; padding: 0; list-style: none; }
.hero-card__list li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255,255,255,.06); font-weight: 600;
}
.hero-card__list .ico-box { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,128,34,.16); color: var(--orange); }
.hero-card__list small { display: block; color: #9eabbd; font-weight: 500; font-size: .8rem; }

/* Barra de destaques que sobrepõe o hero */
.highlights { position: relative; z-index: 2; margin-top: clamp(-96px, -9vw, -70px); }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  overflow: hidden;
}
.highlight { display: flex; gap: 16px; align-items: center; padding: 28px 26px; }
.highlight + .highlight { border-left: 1px solid var(--line); }
.highlight strong { display: block; font-size: 1.02rem; line-height: 1.25; }
.highlight div > span { color: var(--muted); font-size: .88rem; line-height: 1.4; display: block; margin-top: 2px; }

/* ---------- Cards de produtos ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
  isolation: isolate; box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.product-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.product-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,15,28,0) 25%, rgba(7,15,28,.55) 55%, rgba(7,15,28,.92) 100%);
  transition: background .4s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card:hover img { transform: scale(1.06); }
.product-card .ico-box { position: absolute; top: 22px; left: 22px; width: 48px; height: 48px; background: rgba(255,255,255,.92); }
.product-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.product-card p { color: #d3dae4; font-size: .95rem; margin-bottom: 14px; max-width: 34ch; }
.product-card .link-arrow { color: var(--orange); }
.product-card--wide { grid-column: span 2; }

/* ---------- Sobre ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.media-stack { position: relative; }
.media-stack__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; }
.media-stack__img img { width: 100%; height: 100%; object-fit: cover; }
.media-stack::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 70%; z-index: -1;
  border-radius: var(--radius-lg); background: repeating-linear-gradient(-55deg, var(--orange-100) 0 10px, transparent 10px 20px);
}
.float-badge {
  position: absolute; left: -22px; bottom: 28px;
  display: flex; align-items: center; gap: 14px; padding: 16px 20px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
}
.float-badge strong { display: block; font-size: 1.15rem; line-height: 1.1; }
.float-badge div > span { color: var(--muted); font-size: .85rem; }
.quote {
  position: relative; margin: 24px 0 28px; padding: 22px 24px 22px 28px;
  border-left: 4px solid var(--orange); background: var(--orange-50); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem; color: var(--ink); font-weight: 500;
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.check-list .icon { color: var(--orange); margin-top: 3px; }
.check-list--2 { grid-template-columns: 1fr 1fr; }

/* ---------- Coberturas ---------- */
.cover-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cover-card {
  background: var(--navy-800); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .35s var(--ease), border-color .3s;
}
.cover-card:hover { transform: translateY(-4px); border-color: rgba(255,128,34,.45); }
.cover-card h3 { font-size: 1.35rem; margin: 22px 0 18px; color: #fff; }
.cover-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cover-card li {
  display: flex; align-items: center; gap: 12px; padding: 11px 0; color: #d5dce6; font-weight: 500;
  border-bottom: 1px dashed rgba(255,255,255,.1);
}
.cover-card li:last-child { border-bottom: 0; }
.cover-card li .icon { color: var(--orange); width: 1.1em; height: 1.1em; }

/* ---------- Planos ---------- */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.plan__tag { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan h3 { font-size: 1.7rem; margin: 10px 0 12px; letter-spacing: .02em; }
.plan p { color: var(--muted); flex: 1; }
.plan .btn { margin-top: 16px; }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.plan--featured p, .plan--featured .plan__tag { color: #b9c3d3; }
.plan--featured h3 { color: var(--orange); }
.plan__badge {
  position: absolute; top: -13px; right: 22px; padding: 5px 12px; border-radius: 999px;
  background: var(--orange); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-orange);
}

/* ---------- Vídeo ---------- */
.video-wrap {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow-lg);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; color: #fff; background: transparent;
  display: grid; place-items: center;
}
.video-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: opacity .3s, transform .6s var(--ease); }
.video-play:hover img { opacity: .9; transform: scale(1.03); }
.video-play__btn {
  position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255,128,34,.25), var(--shadow-orange);
  transition: transform .3s var(--ease);
}
.video-play:hover .video-play__btn { transform: scale(1.08); }
.video-play__btn svg { width: 32px; height: 32px; margin-left: 5px; fill: #fff; }

/* ---------- Serviços ao cliente ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.service-card h3 { font-size: 1.15rem; margin: 6px 0 0; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  padding: clamp(36px, 6vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-600) 100%); color: #fff;
  box-shadow: var(--shadow-orange);
}
.cta::before, .cta::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255,255,255,.18);
}
.cta::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.cta::after { width: 260px; height: 260px; right: 80px; bottom: -180px; }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--navy-900); padding: clamp(56px, 8vw, 96px) 0;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 90% at 100% 0%, rgba(255,128,34,.3), transparent 60%),
    linear-gradient(95deg, rgba(7,15,28,.97) 0%, rgba(7,15,28,.85) 50%, rgba(7,15,28,.45) 100%);
}
.page-hero--plain::before {
  background:
    radial-gradient(45% 120% at 100% 0%, rgba(255,128,34,.28), transparent 60%),
    radial-gradient(40% 80% at 0% 100%, rgba(31,51,82,.9), transparent 70%);
}
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 14px 0 16px; max-width: 18ch; }
.page-hero p { color: #c7d0dd; font-size: clamp(1.02rem, 1.5vw, 1.18rem); max-width: 620px; margin: 0; }
.page-hero .hero__actions { margin-bottom: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #9eabbd; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: .9em; height: .9em; }

/* ---------- Página de produto ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.prose p { color: var(--muted); font-size: 1.06rem; }
.note {
  display: flex; gap: 12px; padding: 16px 18px; margin-top: 24px; border-radius: var(--radius-sm);
  background: #f3f5f8; color: var(--muted); font-size: .86rem; line-height: 1.5;
}
.note .icon { color: var(--navy-700); margin-top: 2px; }
.aside-card {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate;
}
.aside-card::after {
  content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; border-radius: 50%;
  right: -110px; top: -110px; background: radial-gradient(circle, rgba(255,128,34,.5), transparent 70%);
}
.aside-card h3 { font-size: 1.4rem; }
.aside-card p { color: #b9c3d3; }
.aside-card .btn { margin-top: 10px; }
.aside-card__phone {
  display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
}
.aside-card__phone small { display: block; color: #9eabbd; font-size: .8rem; }
.aside-card__phone strong { font-size: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px;
  color: transparent; -webkit-text-stroke: 1.5px var(--orange);
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.mini-products { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mini-product {
  display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); font-weight: 700;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.mini-product:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-product .ico-box { width: 42px; height: 42px; border-radius: 12px; }

/* ---------- Formulários ---------- */
.form-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; }
.field label .req { color: var(--orange-600); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fbf9f7; border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #d8d0c7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,128,34,.15);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #e0484d; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 6px; }
.form-actions small { color: var(--muted); }
.btn[disabled] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  display: none; gap: 14px; align-items: flex-start; padding: 18px 20px; margin-top: 20px;
  border-radius: var(--radius-sm); font-weight: 500;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #e8f7f0; color: #0f6b47; }
.form-status--err { background: #fdecec; color: #9b2226; }
.form-status strong { display: block; }
.form-success { text-align: center; padding: 40px 10px; display: none; }
.form-success .ico-box { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; background: #e8f7f0; color: var(--success); }
.form-card.is-sent form { display: none; }
.form-card.is-sent .form-success { display: block; }
.form-card.is-sent > h2, .form-card.is-sent > p { display: none; }

.info-list { display: grid; gap: 14px; margin-top: 28px; }
.info-item {
  display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .2s;
}
a.info-item:hover { border-color: var(--orange); }
.info-item small { display: block; color: var(--muted); font-size: .82rem; }
.info-item strong { font-size: 1.05rem; word-break: break-word; }

/* ---------- Área do cliente / consultor ---------- */
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.portal-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.portal-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--orange-100); }
.portal-card h3 { font-size: 1.35rem; margin: 6px 0 0; }
.portal-card p { color: var(--muted); margin: 0; flex: 1; }
.portal-card .badge {
  position: absolute; top: 28px; right: 28px; padding: 4px 10px; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-700); font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.portal-card--dark { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.portal-card--dark p { color: #b9c3d3; }
.portal-card--dark .badge { background: rgba(255,128,34,.18); color: #ffb47c; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #aab5c6; padding-top: clamp(56px, 7vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: #7d8aa0; }
.footer__about { margin: 20px 0 0; max-width: 34ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { transition: color .2s; font-size: .95rem; }
.footer ul a:hover { color: var(--orange); }
.footer__contact a { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 600; }
.footer__contact .ico-box { width: 42px; height: 42px; border-radius: 12px; }
.footer__contact small { display: block; color: #7d8aa0; font-weight: 500; font-size: .78rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .84rem;
}
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Botão flutuante de cotação (mobile) */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: none; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; box-shadow: var(--shadow-orange);
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; max-width: 560px; }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: 0; }
  .highlight:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mini-products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .split, .product-detail, .form-layout { grid-template-columns: 1fr; }
  .products-grid, .cover-grid { grid-template-columns: 1fr 1fr; }
  .product-card--wide { grid-column: span 2; }
  .cta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .float-badge { left: 12px; }
  .topbar__group--secondary { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .brand__mark { width: 40px; height: 38px; }
  .brand__tag { display: none; }
  .header__cta .btn--quote { display: none; }
  .products-grid, .cover-grid, .plans-grid, .services-grid, .portal-grid { grid-template-columns: 1fr; }
  .product-card--wide { grid-column: auto; }
  .product-card { min-height: 260px; }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--line); }
  .form-grid, .check-list--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .mini-products { grid-template-columns: 1fr 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .fab { display: inline-flex; right: auto; left: 18px; }
  .footer { padding-bottom: 72px; }
  .topbar { display: none; }
}

/* Ícone preenchido (WhatsApp) */
.icon--fill { fill: currentColor; stroke: none; }

/* Chat Tawk.to ocupa o canto inferior direito; no mobile o botão de cotação fica à esquerda */
