/* ============================================================
   Verso Telecom · SITE-001 · components.css
   Componentes globais (header, botões, hero, footer, cookie,
   modal). Cada componente é acrescido em um bloco próprio.
   Componentes exclusivos da home ficam em home.css.
   ============================================================ */

/* ---------- Botão (spec §5 · receita Botão) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 24px;
  font-size: 0.9375rem; font-weight: 600; line-height: 1; white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: background-color var(--speed-fast) ease, color var(--speed-fast) ease,
    border-color var(--speed-fast) ease, transform var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease;
}
.btn--lg { height: 52px; padding: 0 32px; font-size: 1rem; }
.btn svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  max-width: none;
}

/* primary — única cor de ação em fundo claro */
.btn--primary {
  background: var(--verso-blue); color: #FFFFFF;
  box-shadow: 0 1px 2px rgba(6, 68, 168, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn--primary:hover {
  background: var(--verso-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 68, 168, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.btn--primary:active { background: var(--verso-blue-active); transform: none; }

/* on-dark — para fundos navy (nunca primary sobre navy) */
.btn--on-dark {
  background: var(--verso-cyan); color: var(--verso-navy);
  box-shadow: 0 2px 12px rgba(8, 179, 236, 0.35);
}
.btn--on-dark:hover {
  background: var(--verso-cyan-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(8, 179, 236, 0.45);
}
.btn--on-dark:active { background: var(--verso-cyan-deep); transform: none; }

/* outline — ação secundária em fundo claro */
.btn--outline {
  background: transparent; color: var(--verso-blue);
  border: 1.5px solid var(--verso-blue);
}
.btn--outline:hover { background: var(--surface); }

/* ghost — ação secundária em fundo navy (texto branco translúcido) */
.btn--ghost {
  background: transparent; color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.7); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header (spec §5 · receita Header) ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: #FFFFFF; /* fundo exato do retângulo embutido no SVG da logo */
  transition: box-shadow var(--speed-fast) ease;
}
.header.is-scrolled { box-shadow: var(--shadow-sm), 0 1px 0 var(--line); }
.header__inner {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
  align-items: center;
  column-gap: 16px;
  height: var(--header-h);
}
.header__logo { justify-self: start; }
.header__logo img { height: 40px; width: auto; }

.header__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  justify-self: center;
}
.header__nav a {
  position: relative;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  padding-block: 6px;
  transition: color var(--speed-fast) ease;
}
.header__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: var(--radius-full);
  background: var(--verso-blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--speed-fast) ease;
}
.header__nav a:hover { color: var(--verso-blue); }
.header__nav a:hover::after { transform: scaleX(1); }
.header__nav a[aria-current="page"] { color: var(--verso-blue); font-weight: 600; }

.header__assinante {
  grid-column: 3;
  justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px;
  font-size: 0.8125rem; font-weight: 600;
  color: #FFFFFF;
  background: var(--verso-blue);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(6, 68, 168, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background-color var(--speed-fast) ease, transform var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease;
}
.header__assinante:hover {
  background: var(--verso-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 68, 168, 0.28);
}

/* Hambúrguer (mobile): 3 linhas de 2px → "X" quando aberto */
.header__hamburger {
  display: none;
  grid-column: 3;
  justify-self: end;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.header__hamburger span {
  display: block; width: 20px; height: 2px; border-radius: var(--radius-full);
  background: var(--ink);
  transition: transform var(--speed-med) var(--ease-out), opacity var(--speed-fast) ease;
}
.header__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Painel mobile (abaixo do header) */
.header__panel { display: none; }

body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .header__inner { grid-template-columns: 1fr auto; }
  .header__nav, .header__assinante { display: none; }
  .header__hamburger { display: inline-flex; grid-column: 2; }

   .header__panel {
    display: block;
    overflow: hidden; max-height: 0;
    visibility: hidden;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    transition: max-height var(--speed-med) ease-out, visibility var(--speed-med);
   }
   .header__panel.is-open { max-height: 480px; visibility: visible; }
  .header__panel nav {
    display: flex; flex-direction: column;
    padding-block: 8px;
  }
  .header__panel nav a {
    padding: 16px 24px;
    font-size: 1.125rem; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .header__panel nav a[aria-current="page"] { color: var(--verso-blue); font-weight: 600; }
  .header__panel nav a:last-of-type { border-bottom: 0; }
  .header__panel-actions { display: flex; flex-direction: column; gap: 12px; padding: 16px 24px 24px; }
  .header__panel-actions .header__assinante {
    display: flex; width: 100%; margin: 0; grid-column: auto; justify-self: stretch;
  }
}

/* ---------- Hero (spec §5 · receita Hero + decisão 12: decorações) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  height: 480px;
  min-height: 480px;
  max-height: 480px;
  display: flex; align-items: center;
  background: var(--verso-navy);
  /* brilho radial ciano no canto superior direito (spec §4) */
  background-image: radial-gradient(900px 480px at 85% 15%, rgba(8, 179, 236, 0.12) 0%, rgba(4, 25, 63, 0) 60%);
  overflow: hidden;
  padding-block: 40px;
}
/* grade sutil de fundo (padrão tech corporativo) — acima da foto, para o grid atravessar o blend */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
/* formas decorativas flutuantes — eco do símbolo da marca (dois círculos) */
.hero__shape {
  position: absolute; z-index: 1; border-radius: 50%;
  border: 1px solid rgba(8, 179, 236, 0.25);
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}
.hero__shape--a {
  width: 320px; height: 320px; top: -120px; right: 22%;
  background: radial-gradient(circle at 30% 30%, rgba(8, 179, 236, 0.14), transparent 65%);
}
.hero__shape--b {
  width: 180px; height: 180px; bottom: -60px; left: 4%;
  border-color: rgba(6, 68, 168, 0.5);
  background: radial-gradient(circle at 70% 70%, rgba(6, 68, 168, 0.35), transparent 70%);
  animation-delay: -6s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center;
  height: 100%;
}
.hero__content { max-width: 560px; position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 20px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--navy-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(8, 179, 236, 0.35);
  border-radius: var(--radius-full);
}
.hero__badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--verso-cyan);
  box-shadow: 0 0 10px var(--verso-cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero__content h1 { margin-bottom: 20px; }
.hero__content h1 em {
  font-style: normal;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__sub {
  font-size: 1.125rem; line-height: 1.6;
  color: var(--navy-text);
  max-width: 520px; margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px;
  font-size: 0.8125rem; font-weight: 500; color: var(--navy-text-faint);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--verso-cyan);
}
.hero__photo {
  position: absolute;
  top: -40px;
  right: 0;
  bottom: -40px;
  width: 56%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* vive no container: dissolve à esquerda (texto) e à direita (navy + grid) */
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.hero__photo img {
  width: 100%; height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 42%;
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.45) 18%, transparent 38%),
    linear-gradient(270deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.5) 16%, transparent 36%);
}

/* Foto 3:2 e B2C: cobre o vão do meio e passa por baixo do texto */
.hero--photo .hero__photo,
.hero--compact .hero__photo {
  width: 78%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 82%, transparent 100%);
}
.hero--photo .hero__photo::after,
.hero--compact .hero__photo::after {
  background:
    linear-gradient(90deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.22) 10%, transparent 28%),
    linear-gradient(270deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.5) 16%, transparent 36%);
}
.hero--photo .hero__photo img {
  object-position: 64% 38%;
}

/* Hero com coluna de imagem (não foto full-bleed) — para-sua-empresa, sobre, contato */
.hero:has(.hero__image) .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: 48px;
}
.hero__image { width: 100%; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ---------- Split info / 360 (spec §5 · receita Split) ---------- */
.split {
  display: grid; grid-template-columns: 45% minmax(0, 1fr);
  gap: 48px; align-items: center;
}
.split--inverted { grid-template-columns: minmax(0, 1fr) 45%; }
.split--inverted .split__media { order: 2; }
.split__media {
  width: 100%; height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.split__media img, .split__media .media { width: 100%; height: 100%; object-fit: cover; }
.split__content h2 { margin-bottom: 8px; }
.split__content .split__kicker {
  font-size: 1.25rem; font-weight: 600; color: var(--verso-blue);
  margin-bottom: 16px;
}
.split__content p {
  font-size: 1rem; line-height: 1.7; color: var(--text);
  margin-bottom: 16px;
}
.split__content .btn { margin-top: 16px; }

@media (max-width: 1024px) {
  .split, .split--inverted { grid-template-columns: 1fr; gap: 32px; }
  .split--inverted .split__media { order: 0; }
  .split__media { height: 300px; }
}
@media (max-width: 768px) {
  .section { padding-block: 40px; }
  .split__media { height: 240px; }
}

/* ---------- Card de Diferencial (spec §5) ---------- */
.differentials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-card);
}
.differential {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 16px 24px;
  min-height: 140px;
  overflow: hidden;
  transition: box-shadow var(--speed-fast) ease, border-color var(--speed-fast) ease,
    transform var(--speed-fast) ease;
}
/* filete de acento no topo — desliza no hover */
.differential::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: 48px; height: 3px; border-radius: 0 0 var(--radius-full) var(--radius-full);
  background: var(--gradient-brand);
  transform: translateX(-50%) scaleX(0);
  transition: transform var(--speed-med) var(--ease-out);
}
.differential:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.differential:hover::before { transform: translateX(-50%) scaleX(1); }
.differential__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--verso-blue);
  transition: background var(--speed-fast) ease, color var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease;
}
.differential:hover .differential__icon {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(6, 68, 168, 0.30);
}
.differential h3 { font-size: 1rem; margin-bottom: 8px; }
.differential p { font-size: 0.875rem; line-height: 1.55; color: var(--text); }

@media (max-width: 1024px) {
  .differentials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .differentials { grid-template-columns: 1fr; }
}

/* ---------- Logos de clientes (spec §5) ---------- */
.logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 32px 80px;
}
.logos__item {
  display: grid; place-items: center;
  width: 140px; height: 64px;
  padding: 8px 12px;
  opacity: 0.85;
  transition: opacity var(--speed-fast) ease;
}
.logos__item:hover { opacity: 1; }
.logos__item img {
  max-width: 140px; max-height: 44px;
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}

/* ---------- Card de Depoimento + carrossel (spec §5) ----------
   Loop sem costura: cada card (inclusive o último de cada bloco) tem
   margin-right 24px; a trilha desliza exatamente -50%. */
.testimonials { background: var(--surface); }
.testimonials__wrapper {
  overflow: hidden;
  margin-top: 40px;
  /* máscara de esmaecimento nas bordas */
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testimonials__track {
  display: flex; width: max-content;
  animation: carousel 40s linear infinite;
}
.testimonials__wrapper:hover .testimonials__track,
.testimonials__wrapper:focus-within .testimonials__track { animation-play-state: paused; }
@keyframes carousel { to { transform: translateX(-50%); } }

.testimonial {
  flex-shrink: 0;
  display: flex; flex-direction: column; gap: 20px;
  width: 380px; margin-right: 24px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.testimonial__quote {
  font-size: 0.9375rem; font-style: italic; line-height: 1.65;
  color: var(--text);
}
.testimonial__quote::before {
  content: "\201C";
  display: block;
  font-size: 2rem; font-weight: 700; line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial__avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--chip); color: var(--verso-blue);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em;
}
.testimonial__name { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.testimonial__role { font-size: 0.8rem; color: var(--muted); }

@media (max-width: 768px) {
  .testimonial { width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials__track { animation: none; }
  .testimonials__wrapper {
    overflow-x: auto;
    mask-image: none; -webkit-mask-image: none;
    padding-bottom: 8px;
  }
}

/* ---------- CTA Final (spec §5 · banda navy) ---------- */
.cta-final {
  position: relative;
  background: var(--verso-navy);
  background-image: radial-gradient(720px 400px at 50% 120%, rgba(8, 179, 236, 0.16) 0%, rgba(4, 25, 63, 0) 65%);
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, #000 20%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 100%, #000 20%, transparent 90%);
}
.cta-final__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-final h2 {
  color: #FFFFFF; font-size: 2rem; max-width: 720px;
}
.cta-final p {
  font-size: 1.0625rem; color: var(--navy-text);
  max-width: 560px; margin-bottom: 12px;
}
@media (max-width: 768px) {
  .cta-final { padding: 56px 0; }
  .cta-final h2 { font-size: 1.5rem; }
}

/* ---------- Footer (spec §5 · receita Footer) ---------- */
.footer {
  position: relative;
  /* fundo exato do retângulo embutido no SVG da logo dark */
  background: var(--verso-navy);
  color: var(--navy-text);
  padding: 48px 0 24px;
}
/* linha de marca de 4px no topo do footer (spec · decisão 10) */
.footer::before {
  content: ""; display: block;
  position: absolute; top: -4px; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer__brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer__slogan {
  font-size: 0.875rem; line-height: 1.6;
  color: var(--navy-text);
  max-width: 260px;
}
.footer h4 {
  font-size: 0.875rem; font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer ul { display: flex; flex-direction: column; }
.footer ul a {
  display: inline-block;
  font-size: 0.875rem; color: var(--navy-text);
  margin-bottom: 8px;
  transition: color var(--speed-fast) ease;
}
.footer ul a:hover { color: #FFFFFF; text-decoration: underline; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem; color: var(--navy-text-faint);
}
.footer__bottom a { color: var(--navy-text-faint); transition: color var(--speed-fast) ease; }
.footer__bottom a:hover { color: #FFFFFF; text-decoration: underline; }
.footer__privacy {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; cursor: pointer;
  color: var(--navy-text-faint);
  transition: color var(--speed-fast) ease;
}
.footer__privacy:hover { color: #FFFFFF; text-decoration: underline; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Banner de cookies (spec §5) ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--verso-navy);
  border-top: 1px solid rgba(8, 179, 236, 0.25);
  box-shadow: 0 -8px 24px rgba(4, 25, 63, 0.35);
  padding: 16px 24px;
  font-size: 0.875rem; color: #FFFFFF;
}
.cookie-banner.is-hidden { display: none; }
.cookie-banner__text { max-width: 640px; }
.cookie-banner__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.cookie-banner__accept {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px;
  background: var(--verso-cyan); color: var(--verso-navy);
  font-size: 0.875rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background-color var(--speed-fast) ease;
}
.cookie-banner__accept:hover { background: var(--verso-cyan-hover); }
.cookie-banner__policy {
  color: var(--verso-cyan); text-decoration: underline;
  font-size: 0.875rem;
}
.cookie-banner__policy:hover { color: var(--verso-cyan-hover); }

@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie-banner__actions { margin-left: 0; }
  .cookie-banner__accept { width: 100%; }
}

/* ---------- Modal LGPD (spec §5) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 150;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(4, 25, 63, 0.72);
}
.modal.is-open { display: flex; }
body.modal--open { overflow: hidden; }
.modal__panel {
  position: relative;
  width: 100%; max-width: 560px; max-height: 85vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: modal-in var(--speed-med) var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.modal__close {
  position: absolute; top: 8px; right: 8px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  color: var(--muted);
  font-size: 1.25rem; line-height: 1;
  border-radius: var(--radius-sm);
  transition: color var(--speed-fast) ease, background-color var(--speed-fast) ease;
}
.modal__close:hover { color: var(--ink); background: var(--surface); }
.modal__panel h2 { font-size: 1.25rem; margin-bottom: 16px; padding-right: 32px; }
.modal__panel p {
  font-size: 0.9375rem; line-height: 1.6; color: var(--text);
}
.modal__panel p + p { margin-top: 12px; }
.modal__panel strong { color: var(--ink); font-weight: 600; }
@media (max-width: 768px) {
  .modal { padding: 16px; }
  .modal__panel { padding: 24px 20px; }
}

/* ---------- Card de Plano (spec §5 · receita Card de Plano) ---------- */
.plan {
  position: relative;
  display: flex; flex-direction: column;
  background: #FFFFFF;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  min-height: 340px;
  transition: border-color var(--speed-fast) ease, box-shadow var(--speed-fast) ease,
    transform var(--speed-fast) ease;
}
.plan:hover {
  border-color: var(--verso-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.plan__badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--verso-blue);
  color: #FFFFFF;
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 16px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.plan__title {
  font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); margin-bottom: 8px;
}
.plan__speed {
  font-size: 2.5rem; font-weight: 700; color: var(--ink);
  line-height: 1; margin-bottom: 4px;
}
.plan__price {
  font-size: 1.5rem; font-weight: 700; color: var(--verso-blue);
  margin-bottom: 20px;
}
.plan__price small { font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.plan__features {
  flex: 1; display: flex; flex-direction: column; gap: 0;
  margin-bottom: 24px;
}
.plan__features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--surface);
}
.plan__features li:last-child { border-bottom: 0; }
.plan__features li::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23178A50' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan .btn { width: 100%; margin-top: auto; }

/* featured — borda + tamanho elevados */
.plan--featured {
  border-width: 3px; border-color: var(--verso-blue);
  min-height: 380px; padding: 40px 24px;
}
.plan--featured .plan__speed { font-size: 3rem; }

@media (max-width: 768px) {
  .plan { min-height: 0; }
  .plan--featured .plan__speed { font-size: 2.5rem; }
}

/* ---------- Card de Benefício (spec §5 · receita Card de Benefício) ---------- */
.benefit {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  min-height: 160px;
  transition: box-shadow var(--speed-fast) ease, border-color var(--speed-fast) ease,
    transform var(--speed-fast) ease;
}
.benefit:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.benefit__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 16px; flex-shrink: 0;
  border-radius: 6px;
  background: var(--chip); color: var(--verso-blue);
  transition: background var(--speed-fast) ease, color var(--speed-fast) ease;
}
.benefit:hover .benefit__icon {
  background: var(--gradient-brand);
  color: #FFFFFF;
}
.benefit h3 { font-size: 1rem; margin-bottom: 8px; }
.benefit p { font-size: 0.875rem; line-height: 1.55; color: var(--text); }

/* ---------- Card de Solução (spec §5 · receita Card de Solução) ---------- */
.solution {
  display: flex; flex-direction: row; gap: 16px; align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 160px;
  transition: box-shadow var(--speed-fast) ease, border-color var(--speed-fast) ease,
    transform var(--speed-fast) ease;
}
.solution:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.solution--featured {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px;
  border-color: var(--verso-blue);
}
.solution--featured .solution__title { font-size: 1.5rem; }
.solution--featured .solution__desc { font-size: 1rem; }
.solution__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--chip);
  color: var(--verso-blue);
  transition: background var(--speed-fast) ease, color var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease;
}
.solution:hover .solution__icon {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(6, 68, 168, 0.30);
}
.solution--featured .solution__icon { width: 56px; height: 56px; }
.solution__title { font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.solution__desc { font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.solution > div:not(.solution__icon) { min-width: 0; flex: 1; }

/* ---------- Social Card (spec §5 · receita Social Card) ---------- */
.social-cards {
  display: flex; flex-direction: column;
}
.social-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--speed-fast) ease;
}
.social-card:last-child { border-bottom: 0; }
.social-card__kicker {
  grid-column: 1;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.social-card__name {
  grid-column: 1;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.social-card__handle {
  grid-column: 1;
  font-size: 0.8rem;
  color: var(--muted);
}
.social-card::after {
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  width: 16px; height: 16px;
  background: currentColor;
  color: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: color var(--speed-fast) ease;
}
.social-card:hover .social-card__name,
.social-card:hover::after { color: var(--verso-blue); }

/* ---------- MVV Card (spec §5 · receita MVV Card) ---------- */
.mvv {
  display: flex; flex-direction: column; gap: 12px;
  background: #FFFFFF;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-left: 4px solid var(--verso-blue);
  padding: 32px;
  min-height: 160px;
  transition: box-shadow var(--speed-fast) ease, transform var(--speed-fast) ease;
}
.mvv:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.mvv h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 4px; }
.mvv p { font-size: 1rem; line-height: 1.6; color: var(--text); }

@media (max-width: 1024px) {
  .hero {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    padding-block: 40px;
    flex-direction: row;
    align-items: center;
  }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo {
    top: -40px;
    right: 0;
    bottom: -40px;
    width: 52%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  }
  .hero__photo img {
    object-position: 68% center;
  }
  .hero__photo::after {
    background:
      linear-gradient(90deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.55) 20%, transparent 44%),
      linear-gradient(270deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.5) 18%, transparent 40%);
  }
  .hero--photo .hero__photo,
  .hero--compact .hero__photo {
    width: 76%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  }
  .hero:has(.hero__image) .hero__inner { grid-template-columns: 1fr; }
  .hero:has(.hero__image) .hero__image {
    position: absolute;
    right: 24px; top: 50%;
    transform: translateY(-50%);
    width: min(38%, 320px);
    max-width: 320px;
    pointer-events: none;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  .hero {
    height: 480px;
    min-height: 480px;
    max-height: 480px;
    padding-block: 40px;
  }
  .hero__sub { font-size: 1rem; }
  .hero__photo {
    top: -40px;
    right: 0;
    bottom: -40px;
    width: 58%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  }
  .hero__photo::after {
    background:
      linear-gradient(90deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.82) 34%, transparent 62%),
      linear-gradient(270deg, var(--verso-navy) 0%, rgba(4, 25, 63, 0.5) 20%, transparent 42%);
  }
  .hero--photo .hero__photo,
  .hero--compact .hero__photo {
    width: 80%;
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  }
  .hero:has(.hero__image) .hero__image { width: min(42%, 240px); }
}
