/* ==========================================================================
   Site institucional Delphi Sistemas
   Segue o Manual de Identidade Visual e Design System v2.0 (2026), em
   DELPHI_WEB/IDENTIDADE_VISUAL. As cores, fontes e grafismos abaixo saem de lá;
   se o manual mudar, comece por estes tokens.
   ========================================================================== */

:root {
  /* 3.1 Paleta institucional oficial */
  --delphi-cyan: #20c8ce;        /* Turquesa institucional: pontos focais (~10%) */
  --delphi-dark: #050b12;        /* Preto tecnológico: fundos escuros principais */
  --delphi-blue: #087faf;        /* Azul de apoio: links em fundo claro, gradientes */
  --delphi-deep: #263746;        /* Azul profundo: texto corrido em fundo claro */
  --branco: #ffffff;

  /* 3.2 Superfícies e acessibilidade. O turquesa puro tem contraste 2.05:1 sobre
     branco; texto turquesa pequeno em fundo claro usa o tom acessível (4.52:1). */
  --delphi-cyan-texto: #008b94;
  --gelo: #f4f7f9;
  --borda: #e2e8f0;
  --ardosia: #64748b;
  --sucesso: #10b981;

  /* Derivados para fundos escuros (sobreposições em azul-petróleo, item 05 do manual) */
  --petroleo: #0b1c28;
  --petroleo-2: #10293a;
  --linha-escura: rgba(255, 255, 255, 0.09);
  --texto-escuro-suave: #a9b8c6;

  /* 04 Tipografia: Montserrat (institucional) + Inter (interface), com os
     fallbacks que o manual define. */
  --fonte-titulo: "Montserrat", "Segoe UI", Aptos, Arial, sans-serif;
  --fonte-texto: "Inter", "Segoe UI", Aptos, Arial, sans-serif;

  --raio: 14px;
  --raio-sm: 10px;
  --sombra: 0 1px 2px rgba(5, 11, 18, 0.04), 0 8px 24px -12px rgba(5, 11, 18, 0.18);
  --sombra-forte: 0 2px 4px rgba(5, 11, 18, 0.06), 0 24px 48px -20px rgba(5, 11, 18, 0.35);
  --largura: 1180px;
  --altura-topo: 72px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--altura-topo) + 16px);
}

body {
  margin: 0;
  background: var(--branco);
  color: var(--delphi-deep);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: var(--delphi-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--delphi-cyan-texto);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--delphi-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

.visualmente-oculto {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pular-conteudo {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--raio-sm);
  background: var(--delphi-cyan);
  color: var(--delphi-dark);
  font-weight: 600;
  text-decoration: none;
}

.pular-conteudo:focus {
  top: 12px;
}

.icone {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85; /* manual: traço uniforme entre 1.75 e 2px */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.botao .icone {
  width: 20px;
  height: 20px;
}

.botao:hover {
  transform: translateY(-1px);
}

.botao-primario {
  background: var(--delphi-cyan);
  color: var(--delphi-dark);
  box-shadow: 0 10px 28px -12px rgba(32, 200, 206, 0.7);
}

.botao-primario:hover {
  background: #3fd6db;
  color: var(--delphi-dark);
}

.botao-contorno {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--branco);
}

.botao-contorno:hover {
  border-color: var(--delphi-cyan);
  color: var(--branco);
  background: rgba(32, 200, 206, 0.08);
}

.botao-escuro {
  background: var(--delphi-dark);
  color: var(--branco);
}

.botao-escuro:hover {
  background: var(--delphi-deep);
  color: var(--branco);
}

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 18, 0.92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.topo.rolou {
  border-bottom-color: var(--linha-escura);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.8);
}

.topo-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--altura-topo);
}

.marca {
  display: inline-flex;
  flex: none;
  /* Área de proteção do logotipo: nada encosta nele. */
  padding: 6px 0;
}

.marca img {
  width: auto;
  height: 46px; /* compacta UI: mínimo de 28px de altura */
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu ul {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: #d4dde6;
  font-size: 0.93rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.menu a:hover {
  color: var(--branco);
  background: rgba(255, 255, 255, 0.06);
}

.menu a.ativo {
  color: var(--delphi-cyan);
}

.menu .botao {
  display: inline-flex;
  min-height: 40px;
  margin-left: 10px;
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* .menu a define a cor dos links do menu; os botões precisam da própria cor
   (texto escuro no turquesa, como nos demais botões primários). */
.menu .botao-primario {
  color: var(--delphi-dark);
}

.menu .botao-contorno {
  color: var(--branco);
}

.menu .botao-primario:hover {
  background: #3fd6db;
  color: var(--delphi-dark);
}

.menu .botao-contorno:hover {
  background: rgba(32, 200, 206, 0.08);
  color: var(--branco);
}

.menu .botao + .botao {
  margin-left: 8px;
}

.menu .botao .icone {
  width: 18px;
  height: 18px;
}

.botao-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--linha-escura);
  border-radius: 10px;
  background: transparent;
  color: var(--branco);
  cursor: pointer;
}

.botao-menu .fechar {
  display: none;
}

.botao-menu[aria-expanded="true"] .abrir {
  display: none;
}

.botao-menu[aria-expanded="true"] .fechar {
  display: block;
}

@media (max-width: 960px) {
  .botao-menu {
    display: inline-flex;
  }

  .menu {
    position: absolute;
    top: var(--altura-topo);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--delphi-dark);
    border-bottom: 1px solid var(--linha-escura);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.9);
  }

  .menu.aberto {
    display: flex;
  }

  .menu ul {
    flex-direction: column;
    align-items: stretch;
  }

  .menu a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--linha-escura);
    border-radius: 0;
    font-size: 1rem;
  }

  .menu .botao,
  .menu .botao + .botao {
    margin: 12px 0 0;
    min-height: 48px;
    border-bottom: 0;
    border-radius: 999px;
  }
}

/* --------------------------------------------------------------------------
   Grafismos (chevrons). Sempre apontando para a direita: avanço e evolução.
   -------------------------------------------------------------------------- */
.grafismo {
  position: absolute;
  pointer-events: none;
}

.grafismo svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(8, 127, 175, 0.38), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(32, 200, 206, 0.12), transparent 70%),
    var(--delphi-dark);
  color: var(--texto-escuro-suave);
}

.hero::before {
  /* Trama sutil de grade, lembrando a interface do sistema. */
  content: "";
  position: absolute;
  inset: 0;
  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: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero .grafismo {
  top: -10%;
  right: -12%;
  width: 70%;
  height: 120%;
  opacity: 0.9;
}

.hero-conteudo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding-top: 96px;
  padding-bottom: 112px;
}

.sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--delphi-cyan);
  font-family: var(--fonte-titulo);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.sobretitulo .ponto {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.hero h1 {
  margin-bottom: 22px;
  color: var(--branco);
  font-size: clamp(2.15rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 strong {
  color: var(--delphi-cyan);
  font-weight: 800;
}

.hero-texto {
  max-width: 34rem;
  margin-bottom: 34px;
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-selos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--linha-escura);
  list-style: none;
  font-size: 0.93rem;
}

.hero-selos li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #d4dde6;
}

.hero-selos .icone {
  width: 18px;
  height: 18px;
  color: var(--delphi-cyan);
}

/* Painel ilustrativo do ERP (mesma composição da apresentação corporativa) */
.painel {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: var(--gelo);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 8px rgba(255, 255, 255, 0.03);
  font-size: 12px;
  line-height: 1.4;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg);
  transform-origin: left center;
}

.painel-lateral {
  padding: 16px 10px;
  background: var(--delphi-dark);
  color: #9fb0bf;
}

.painel-lateral img {
  width: 100px;
  height: auto;
  margin: 2px 6px 18px;
}

.painel-lateral ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.painel-lateral li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  padding: 8px;
  border-radius: 8px;
}

.painel-lateral li .icone {
  width: 15px;
  height: 15px;
}

.painel-lateral li.ativo {
  background: var(--delphi-cyan);
  color: var(--delphi-dark);
  font-weight: 600;
}

.painel-corpo {
  padding: 18px;
}

.painel-ola {
  margin: 0 0 2px;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  font-size: 15px;
  font-weight: 700;
}

.painel-sub {
  margin: 0 0 14px;
  color: var(--ardosia);
  font-size: 11px;
}

.painel-kpis {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.painel-card {
  padding: 12px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--branco);
}

.painel-card .rotulo {
  display: block;
  color: var(--ardosia);
  font-size: 10.5px;
}

.painel-card .valor {
  display: block;
  margin: 3px 0 2px;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.painel-card .variacao {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #047857;
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.painel-card .variacao .icone {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}

.painel-graficos {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 10px;
}

.painel-graficos svg {
  width: 100%;
  height: auto;
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Seções
   -------------------------------------------------------------------------- */
.secao {
  position: relative;
  padding: 104px 0;
}

.secao-gelo {
  background: var(--gelo);
}

.secao-escura {
  overflow: hidden;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(8, 127, 175, 0.25), transparent 70%),
    var(--delphi-dark);
  color: var(--texto-escuro-suave);
}

.secao-escura h2,
.secao-escura h3 {
  color: var(--branco);
}

.cabecalho-secao {
  max-width: 44rem;
  margin-bottom: 56px;
}

.cabecalho-secao.centro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.rotulo-secao {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--delphi-cyan-texto);
  font-family: var(--fonte-titulo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* Fio turquesa após o número, como nos títulos do manual ("01. Nossa Marca"). */
.rotulo-secao::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--delphi-cyan);
}

.cabecalho-secao.centro .rotulo-secao::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--delphi-cyan);
}

.secao-escura .rotulo-secao {
  color: var(--delphi-cyan);
}

.cabecalho-secao h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
}

.cabecalho-secao p {
  margin: 0;
  color: var(--ardosia);
  font-size: 1.08rem;
}

.secao-escura .cabecalho-secao p {
  color: var(--texto-escuro-suave);
}

/* --------------------------------------------------------------------------
   Pilares
   -------------------------------------------------------------------------- */
.pilares {
  position: relative;
  z-index: 1;
  margin-top: -56px;
}

.pilares-grade {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra-forte);
}

.pilar {
  display: flex;
  gap: 16px;
  padding: 28px 26px;
}

.pilar + .pilar {
  border-left: 1px solid var(--borda);
}

.pilar .icone {
  width: 30px;
  height: 30px;
  color: var(--delphi-blue);
}

.pilar h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
}

.pilar p {
  margin: 0;
  color: var(--ardosia);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Sobre
   -------------------------------------------------------------------------- */
.sobre-grade {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.sobre-texto h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
}

.sobre-texto h2 strong {
  color: var(--delphi-blue);
}

.sobre-texto > p {
  font-size: 1.06rem;
}

.segmentos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.segmentos li {
  padding: 7px 14px;
  border: 1px solid var(--borda);
  border-radius: 999px;
  background: var(--gelo);
  color: var(--delphi-deep);
  font-size: 0.88rem;
  font-weight: 500;
}

.citacao {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 44px 40px 40px;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--delphi-dark) 0%, var(--petroleo-2) 100%);
  color: var(--branco);
  box-shadow: var(--sombra-forte);
}

.citacao .grafismo {
  right: -40px;
  bottom: -30px;
  width: 260px;
  height: 260px;
}

.citacao .aspas {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--delphi-cyan);
}

.citacao blockquote {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--fonte-titulo);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.5;
}

.citacao figcaption {
  position: relative;
  color: var(--texto-escuro-suave);
  font-size: 0.92rem;
}

.citacao figcaption strong {
  display: block;
  color: var(--delphi-cyan);
  font-family: var(--fonte-titulo);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Cards (produtos, módulos, downloads)
   -------------------------------------------------------------------------- */
.grade-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 200, 206, 0.55);
  box-shadow: var(--sombra-forte);
}

.card-icone {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(32, 200, 206, 0.16), rgba(8, 127, 175, 0.12));
  color: var(--delphi-blue);
}

.card-icone .icone {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 700;
}

.card p {
  margin: 0;
  color: var(--ardosia);
  font-size: 0.96rem;
}

.card .marca-produto {
  color: var(--delphi-cyan-texto);
}

/* Módulos: cards sobre fundo escuro */
.grade-modulos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.modulo {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 32px 28px 30px;
  border: 1px solid var(--linha-escura);
  border-radius: var(--raio);
  background: linear-gradient(160deg, rgba(16, 41, 58, 0.9), rgba(11, 28, 40, 0.6));
  transition: border-color 0.25s, transform 0.25s;
}

.modulo:nth-child(4),
.modulo:nth-child(5) {
  grid-column: span 3;
}

.modulo:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 200, 206, 0.45);
}

.modulo::after {
  /* Chevron em marca d'água no canto, como no verso do cartão de visita. */
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 110px;
  height: 120px;
  background: var(--delphi-cyan);
  opacity: 0.06;
  clip-path: polygon(0 0, 45% 0, 100% 50%, 45% 100%, 0 100%, 55% 50%);
}

.modulo-topo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.modulo-topo .icone {
  width: 28px;
  height: 28px;
  color: var(--delphi-cyan);
}

.modulo h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.modulo p {
  margin: 0;
  color: var(--texto-escuro-suave);
  font-size: 0.96rem;
}

.modulo ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.modulo li {
  padding: 4px 10px;
  border: 1px solid rgba(32, 200, 206, 0.25);
  border-radius: 999px;
  color: #c6eff0;
  font-size: 0.78rem;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Faixa de posicionamento (gradiente institucional)
   -------------------------------------------------------------------------- */
.faixa {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  /* Gradiente institucional: só em faixas de destaque, nunca sob texto corrido longo. */
  background: linear-gradient(110deg, var(--delphi-dark) 0%, #06344b 55%, var(--delphi-blue) 100%);
  color: var(--branco);
}

.faixa .grafismo {
  top: -20%;
  right: -4%;
  width: 46%;
  height: 140%;
}

.faixa-conteudo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.faixa h2 {
  margin-bottom: 12px;
  color: var(--branco);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
}

.faixa h2 span {
  color: var(--delphi-cyan);
}

.faixa p {
  max-width: 38rem;
  margin: 0;
  color: #cfe0ea;
  font-size: 1.08rem;
}

.faixa .botao {
  flex: none;
}

/* --------------------------------------------------------------------------
   Vídeos
   -------------------------------------------------------------------------- */
.grade-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.video {
  overflow: hidden;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video figcaption {
  padding: 16px 20px 18px;
  background: var(--branco);
  color: var(--ardosia);
  font-size: 0.9rem;
}

.video figcaption strong {
  display: block;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  font-size: 1.02rem;
}

.video {
  margin: 0;
}

.mais-videos {
  margin: 36px 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */
.contato-grade {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 64px;
}

.contato-grade .cabecalho-secao {
  margin-bottom: 32px;
}

.canais {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.canal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.canal-destaque {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: transparent;
  background: linear-gradient(130deg, var(--delphi-dark), var(--petroleo-2));
  color: var(--texto-escuro-suave);
}

.canal-destaque h3 {
  color: var(--branco);
}

.canal .icone {
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  color: var(--delphi-blue);
}

.canal-destaque .icone {
  color: var(--delphi-cyan);
}

.canal .botao .icone {
  width: 20px;
  height: 20px;
  margin: 0;
  color: currentColor;
}

.canal h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
}

.canal p,
.canal ul {
  margin: 0;
  font-size: 0.95rem;
}

.canal ul {
  padding: 0;
  list-style: none;
}

.canal a {
  overflow-wrap: anywhere;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.redes {
  display: flex;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.redes a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--borda);
  border-radius: 50%;
  color: var(--delphi-deep);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.redes a:hover {
  border-color: var(--delphi-cyan);
  background: rgba(32, 200, 206, 0.1);
  color: var(--delphi-cyan-texto);
}

.redes .icone {
  width: 19px;
  height: 19px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Páginas internas
   -------------------------------------------------------------------------- */
.cabecalho-pagina {
  position: relative;
  overflow: hidden;
  padding: 80px 0 72px;
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(8, 127, 175, 0.35), transparent 70%),
    var(--delphi-dark);
  color: var(--texto-escuro-suave);
}

.cabecalho-pagina .grafismo {
  top: -30%;
  right: -6%;
  width: 40%;
  height: 160%;
}

.cabecalho-pagina .container {
  position: relative;
}

.cabecalho-pagina h1 {
  margin-bottom: 12px;
  color: var(--branco);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
}

.cabecalho-pagina p {
  max-width: 40rem;
  margin: 0;
  font-size: 1.08rem;
}

.trilha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
}

.trilha li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--delphi-cyan);
}

.trilha a {
  color: var(--texto-escuro-suave);
  text-decoration: none;
}

.trilha a:hover {
  color: var(--branco);
}

.trilha [aria-current] {
  color: var(--branco);
}

/* Downloads */
.grupo-downloads + .grupo-downloads {
  margin-top: 56px;
}

.grupo-downloads h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 700;
}

.grupo-downloads h2 .icone {
  color: var(--delphi-blue);
}

.grade-downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  color: var(--delphi-deep);
  text-decoration: none;
  box-shadow: var(--sombra);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.download:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 200, 206, 0.6);
  color: var(--delphi-deep);
  box-shadow: var(--sombra-forte);
}

.download .card-icone {
  width: 46px;
  height: 46px;
  margin: 0;
  border-radius: 12px;
}

.download .card-icone .icone {
  width: 22px;
  height: 22px;
}

.download-texto {
  flex: 1;
  min-width: 0;
}

.download strong {
  display: block;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  font-size: 1rem;
}

.download small {
  display: block;
  color: var(--ardosia);
  font-size: 0.85rem;
  line-height: 1.4;
}

.download .seta {
  width: 20px;
  height: 20px;
  color: var(--ardosia);
  transition: color 0.2s, transform 0.2s;
}

.download:hover .seta {
  color: var(--delphi-cyan-texto);
  transform: translateY(2px);
}

.aviso {
  display: flex;
  gap: 14px;
  margin-top: 56px;
  padding: 20px 22px;
  border: 1px solid var(--borda);
  border-left: 4px solid var(--delphi-cyan);
  border-radius: var(--raio-sm);
  background: var(--branco);
  font-size: 0.95rem;
}

.aviso .icone {
  color: var(--delphi-blue);
}

.aviso p {
  margin: 0;
}

/* Política de privacidade */
.documento {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.indice {
  position: sticky;
  top: calc(var(--altura-topo) + 24px);
  padding: 22px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  font-size: 0.9rem;
}

.indice strong {
  display: block;
  margin-bottom: 10px;
  color: var(--delphi-dark);
  font-family: var(--fonte-titulo);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.indice ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.indice a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--borda);
  color: var(--delphi-deep);
  text-decoration: none;
}

.indice a:hover {
  border-left-color: var(--delphi-cyan);
  color: var(--delphi-cyan-texto);
}

.texto-legal {
  padding: 48px;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra);
}

.texto-legal h2 {
  margin: 44px 0 14px;
  padding-top: 4px;
  font-size: 1.35rem;
  font-weight: 700;
}

.texto-legal h2:first-of-type {
  margin-top: 8px;
}

.texto-legal h3 {
  margin: 26px 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.texto-legal ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.texto-legal li {
  margin-bottom: 6px;
}

.texto-legal li::marker {
  color: var(--delphi-cyan-texto);
}

.texto-legal .destaque {
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: var(--raio-sm);
  background: var(--gelo);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.rodape {
  position: relative;
  overflow: hidden;
  padding: 72px 0 28px;
  background: var(--delphi-dark);
  color: var(--texto-escuro-suave);
  font-size: 0.94rem;
}

.rodape-grade {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--linha-escura);
}

.rodape .marca img {
  height: 46px;
}

.rodape-assinatura {
  margin: 18px 0 6px;
  color: var(--branco);
  font-family: var(--fonte-titulo);
  font-size: 1.05rem;
  font-weight: 600;
}

.rodape-assinatura span {
  color: var(--delphi-cyan);
}

.rodape h2 {
  margin-bottom: 16px;
  color: var(--branco);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rodape ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rodape li {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.rodape a {
  color: var(--texto-escuro-suave);
  text-decoration: none;
}

.rodape a:hover {
  color: var(--delphi-cyan);
}

.rodape .num {
  white-space: nowrap;
}

.rodape .redes a {
  border-color: var(--linha-escura);
  color: var(--branco);
}

.rodape .redes a:hover {
  border-color: var(--delphi-cyan);
  background: rgba(32, 200, 206, 0.1);
  color: var(--delphi-cyan);
}

.rodape-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
}

.rodape-base p {
  margin: 0;
}

.descritor {
  color: var(--delphi-cyan);
  font-family: var(--fonte-titulo);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
}

/* Botão flutuante do WhatsApp (mantém a cor da marca WhatsApp, reconhecível) */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 12px 28px -8px rgba(5, 11, 18, 0.55);
  transition: transform 0.2s;
}

.whatsapp:hover {
  transform: scale(1.06);
}

.whatsapp img {
  width: 58px;
  height: 58px;
}

/* --------------------------------------------------------------------------
   Animação de entrada (só com JS ativo e sem preferência por menos movimento)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revelar] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--atraso, 0s);
  }

  .js [data-revelar].visivel {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .painel {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-conteudo {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 112px;
  }

  .painel {
    max-width: 640px;
    transform: none;
  }

  .pilares-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilar:nth-child(3) {
    border-left: 0;
  }

  .pilar:nth-child(n + 3) {
    border-top: 1px solid var(--borda);
  }

  .grade-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rodape-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rodape-grade > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .secao {
    padding: 80px 0;
  }

  .sobre-grade,
  .contato-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .grade-modulos {
    grid-template-columns: minmax(0, 1fr);
  }

  .modulo,
  .modulo:nth-child(4),
  .modulo:nth-child(5) {
    grid-column: auto;
  }

  .grade-videos {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin: 0 auto;
  }

  .faixa-conteudo {
    flex-direction: column;
    align-items: flex-start;
  }

  .grade-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .documento {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .indice {
    position: static;
  }
}

@media (max-width: 640px) {
  .hero-conteudo {
    padding-top: 56px;
    padding-bottom: 96px;
  }

  .hero .grafismo {
    width: 120%;
    right: -60%;
    opacity: 0.5;
  }

  .hero-acoes .botao {
    flex: 1 1 100%;
  }

  .painel {
    grid-template-columns: minmax(0, 1fr);
  }

  .painel-lateral {
    display: none;
  }

  .pilares-grade,
  .grade-cards,
  .canais,
  .grade-downloads {
    grid-template-columns: minmax(0, 1fr);
  }

  .pilar + .pilar,
  .pilar:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--borda);
  }

  .canal-destaque {
    flex-direction: column;
    align-items: flex-start;
  }

  .canal-destaque .botao {
    width: 100%;
  }

  .citacao {
    padding: 32px 24px;
  }

  .texto-legal {
    padding: 28px 20px;
  }

  .rodape-grade {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .marca img {
    height: 38px;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp img {
    width: 54px;
    height: 54px;
  }
}
