/* ============================================================
   CoreShark — Landing Page
   Dark Theme corporativo | Azul-grafite + Verde-água/Ciano
============================================================ */

:root {
  /* ---- Cores principais (medidas do mockup landing page@2x.png) ---- */
  --bg-deep: #070a20;
  --bg-deep-2: #080c26;
  --bg-panel: #1e2134;
  --bg-panel-2: #212437;
  --accent: #89e9c8;
  --accent-light: #a8f0d8;
  --accent-glow: rgba(137, 233, 200, 0.28);

  /* Verdes de apoio do mockup */
  --mint-dim: #79cdb3;      /* linhas divisórias */
  --sage: #68a691;          /* títulos de bloco */
  --teal-deep: #53837d;     /* preenchimento sólido, item de menu ativo */

  /* Brilho frio: hero e horizonte planetário */
  --glow-rim: #e9f3f3;
  --glow-cyan: #73edf4;
  --glow-blue: #4286da;
  --hero-top: #333e4d;
  --hero-edge: #1b212a;
  --hero-bottom: #1f2e42;
  --planet: #13253d;

  /* Superfície do card da etapa 04 */
  --surface-step: #25283b;

  /* Azul da logo, usado para o glow de destaque na navbar */
  --logo-blue: #14315c;
  --logo-glow: rgba(94, 156, 235, 0.28);

  --text-primary: #ffffff;
  --text-high: #e8e8ea;
  --text-secondary: #bbbcc2;
  --text-soft: #d4d5dc;
  --text-hero: #999999;      /* exclusivo do H1 do hero */
  --text-muted: #6b7793;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(137, 233, 200, 0.35);
  --border-glass: rgba(255, 255, 255, 0.28);
  --glass-fill: rgba(255, 255, 255, 0.14);
  --error: #e5736b;          /* retorno de erro do formulário */

  /* Tipografia */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-title: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Escala fluida entre viewport de 640px e 1440px */
  --fs-display: clamp(2.5rem, 0.9rem + 4vw, 4.5rem);
  --fs-etapa: clamp(2.25rem, 1.65rem + 1.5vw, 3rem);
  --fs-lead: clamp(1rem, 0.9rem + 0.25vw, 1.125rem);

  /* Espaçamentos e formas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-btn: 12px;        /* canto de todo botão do site */
  --radius-lg: 24px;
  --container-width: 1200px;

  --transition: 0.25s ease;
}

/* ============================================================
   RESET
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-deep);
  background-image: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding:35px 17px;
}

/* ============================================================
   TIPOGRAFIA COMPARTILHADA
============================================================ */
/* Plus Jakarta Sans em todo título e rótulo; Inter segue no corpo */
h1, h2, h3, h4,
.section-title,
.card__title,
.founder__name,
.eyebrow,
.btn {
  font-family: var(--font-title);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.eyebrow--center {
  display: block;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--center {
  text-align: center;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-subtitle--center {
  margin: 0 auto;
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

/* ============================================================
   BOTÕES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #2c9490 100%);
  color: #041a1a;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(137, 233, 200, 0.08);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

/* Leve reforço visual apenas ao rolar a página (ver script.js) */
.navbar.is-scrolled {
  background: rgba(10, 26, 51, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border-subtle);
}

.navbar__inner {
  display: flex;
  align-items: center;        /* Centraliza verticalmente todos os elementos na mesma linha */
  justify-content: space-between;
  min-height: 110px;          /* Altura fixa da barra: dá espaço proporcional ao logo maior */
  padding: 0;
  overflow: visible;
}

.navbar__logo {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: visible;
}

.navbar__logo img {
  height: 220px;                /* Logo em destaque, proporcional à altura da navbar */
  width: auto;
  display: block;
}



.navbar__nav {
  display: flex;
  align-items: center;
  gap: 20px;                  /* Define o mini espaço perfeito entre um menu e outro */
}

.navbar__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}

.navbar__nav a:hover {
  color: var(--text-primary);
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar__nav a:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
============================================================ */
/* Recriado a partir do mockup: gradiente de aço no topo,
   conteúdo centralizado e horizonte planetário fechando a seção.
   Tudo em CSS — não depende de nenhuma imagem de fundo. */
.hero {
  position: relative;
  padding: 190px 0 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(120% 80% at 50% 0%, var(--hero-top) 0%, var(--hero-edge) 55%, transparent 100%),
    linear-gradient(180deg, #294a6e 0%, var(--hero-bottom) 58%, var(--bg-deep) 100%);
}

.hero__inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 150px;
}

.hero__title {
  font-family: var(--font-title);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-hero);
  max-width: 16ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 46ch;
  margin: 0 auto 40px;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---- Horizonte planetário ----
   Elipse gigante com a borda superior brilhante. O halo sobe difuso
   pelo box-shadow, sem contorno duro. Puramente decorativo. */
.hero__bg {
  position: absolute;
  left: 50%;
  top: 82%;
  z-index: 1;
  width: 150%;
  height: 100%;
  transform: translateX(-50%);
  /* Cúpula: os dois cantos de cima somam a largura inteira e viram
     um arco só. Medidas em % da própria seção, para a linha do
     horizonte cair sempre na mesma altura relativa do hero. */
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  background: var(--planet);
  border-top: 2px solid var(--glow-rim);
  box-shadow:
    0 -2px 10px 2px var(--glow-cyan),
    0 -14px 60px 10px rgba(115, 237, 244, 0.55),
    0 -40px 150px 40px rgba(66, 134, 218, 0.45);
  pointer-events: none;
}

/* Emenda entre o hero e a próxima seção: a base do hero
   dissolve no fundo da página, para não aparecer degrau. */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 110px;
  z-index: 2;
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
  pointer-events: none;
}

/* Botões do hero: transparentes, borda fina e canto reto.
   Os dois usam .btn--outline — não há botão principal e
   secundário aqui, os dois têm o mesmo peso visual. */
.hero__actions .btn {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
}

/* ============================================================
   SOBRE
============================================================ */
.about {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__inner--single {
  grid-template-columns: 1fr;
  max-width: 860px;
}

.section-subtitle--wide {
  max-width: 760px;
}

/* ============================================================
   O FUNDADOR
============================================================ */
.founder {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

.founder__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.founder__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.founder__image::before {
  content: '';
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 30%, var(--accent-glow) 0%, transparent 70%);
  filter: blur(6px);
  opacity: 0.7;
}

.founder__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}

.founder__name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.founder__role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.founder__bio {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ============================================================
   GRID DE SERVIÇOS
============================================================ */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

/* O card inteiro é o link para o artigo do serviço.
   Área de clique grande e uma só parada de teclado por card. */
.card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel-2) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

/* Linha de ação no rodapé do card: diz em palavras que leva a outra
   página. `margin-top: auto` cola no fim, então a linha fica na mesma
   altura nos seis cards, mesmo com textos de tamanhos diferentes. */
.card__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition);
}

.card__cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.card:hover .card__cta,
.card:focus-visible .card__cta {
  color: var(--accent);
}

.card:hover .card__cta svg,
.card:focus-visible .card__cta svg {
  transform: translateX(4px);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--accent-glow), transparent);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px rgba(56, 178, 172, 0.12);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(56, 178, 172, 0.1);
  color: var(--accent);
  margin-bottom: 20px;
}

.card__icon i {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ============================================================
   COMO TRABALHAMOS
============================================================ */
.process {
  padding: 100px 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

/* Três colunas com divisória menta; a etapa 04 é um card largo,
   como no mockup. align-items: stretch mantém as três linhas
   divisórias com a mesma altura, mesmo com textos desiguais. */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 32px;
  margin-top: 56px;
}

.process__step {
  border-left: 1px solid var(--mint-dim);
  padding: 4px 0 4px 28px;
}

.process__number {
  display: block;
  font-family: var(--font-title);
  font-size: var(--fs-etapa);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}

.process__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---- Etapa 04: card largo com o parceiro ---- */
.process__partner {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 1.2fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
  padding: 40px;
  background: var(--surface-step);
  border: 1px solid rgba(137, 233, 200, 0.45);
  border-radius: 16px;
}

.process__partner-head {
  grid-column: 1 / -1;
  margin-bottom: -16px;
}

.process__partner-logo {
  height: 56px;
  width: auto;
  justify-self: center;
}

/* Logo e texto centralizados nas respectivas colunas */
.process__partner-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
  text-align: center;
  text-wrap: pretty;
}

.process__partner > div:last-child {
  text-align: center;
}

.process__partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.process__partner-link:hover {
  color: var(--accent);
}

.process__partner-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   CONTATO
============================================================ */
.contact {
  padding: 100px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact__list li i {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Cards de contato (WhatsApp, E-mail, LinkedIn) */
.contact__link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact__link-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 178, 172, 0.12);
}

.contact__link-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact__link-card span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact__icon-wa,
.contact__icon-mail,
.contact__icon-in {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

/* O ícone do LinkedIn é uma imagem (PNG), então tratamos separadamente */
img.contact__icon-in {
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(66%) sepia(41%) saturate(511%) hue-rotate(126deg) brightness(90%) contrast(90%);
}

.contact__form {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form__group input,
.form__group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-muted);
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form__feedback {
  font-size: 0.9rem;
  color: var(--text-secondary);
  min-height: 20px;
  text-align: center;
}

.form__feedback.is-ok    { color: var(--accent); }
.form__feedback.is-erro  { color: var(--error); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__logo img {
  height: 210px;
  opacity: 0.85;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */

/* Tablets */
@media (max-width: 992px) {
  .about__inner,
  .founder__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar__inner {
    min-height: 180px;
    padding: 10px 0;
  }
  .navbar__logo img {
    height: 140px;
  }
  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--bg-panel);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding:100px 40px 40px 40px ;
    gap: 28px;
    transform: translateX(100%);
    transition: transform var(--transition);
    border-left: 1px solid var(--border-subtle);
    display: flex;
  }

  .navbar__nav a {
    display: block;
    width: 100%;
    font-size: 1.1rem; 
  }

  .navbar__nav.is-open {
    transform: translateX(0);
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar__toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navbar__cta {
    display: none;
  }

  .hero {
    padding: 100px 0 80px;
    text-align: center;
  }

  .hero__inner {
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .founder__inner {
    grid-template-columns: 1fr;
  }

  .founder__image {
    max-width: 320px;
    margin: 0 auto;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .process__grid {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 28px;
  }
}
/* ============================================================
   CONTATO — bloco curto na landing + página do formulário
   O formulário saiu da home e virou contato.html.
   Aqui fica só o caminho para falar com a gente.
============================================================ */
.contact--brief .contact__inner {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact__cta {
  margin-top: 28px;
}

/* ---- Página contato.html ---- */
.page-header {
  padding: 180px 0 40px;
  text-align: center;
}

.page-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact-page {
  padding: 20px 0 100px;
}

.contact-page__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* Rótulo sempre visível: placeholder não substitui label.
   16px no campo evita o zoom automático do iOS ao focar. */
.contact-page .form__group input,
.contact-page .form__group textarea {
  font-size: 1rem;
  min-height: 52px;
}

.contact-page .form__group textarea {
  min-height: 160px;
}

/* Honeypot do Web3Forms: fica fora da tela, mas não com
   display:none — bot preenche mesmo assim, e é isso que queremos. */
.form__botcheck {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Foco visível em tudo que é interativo */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

@media (max-width: 992px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__partner { grid-template-columns: 1fr; gap: 28px; }
  .process__partner-head { margin-bottom: 0; }
  .contact-page__inner,
  .contact--brief .contact__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero { padding-top: 210px; }
  .hero__inner { padding-bottom: 120px; }
  .hero__bg { top: 86%; width: 210%; border-radius: 50% 50% 0 0 / 22% 22% 0 0; }
  .process__grid { grid-template-columns: 1fr; gap: 28px; }
  .process__partner { padding: 28px; }
  .page-header { padding-top: 200px; }
}

/* Lista de canais diretos — substitui os estilos que estavam inline no HTML */
.contact__cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.contact__location i,
.contact__location svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Texto só para leitor de tela — usado no aviso de "abre em nova aba" */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PÁGINAS LEGAIS (termos.html, privacidade.html)
   Coluna estreita e entrelinha alta: são textos para ler,
   não para varrer com o olho.
============================================================ */
.legal {
  padding: 40px 0 100px;
}

.legal__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 44px 0 14px;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-high);
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.legal p {
  margin-bottom: 16px;
}

.legal ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.legal li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.legal li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal strong {
  color: var(--text-primary);
}

/* Bloco de destaque: usado para dizer o que o site NÃO faz */
.legal__nota {
  margin: 28px 0;
  padding: 24px 26px;
  background: var(--bg-panel);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
}

.legal__nota p:last-child { margin-bottom: 0; }

.legal__meta {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Marcador do que ainda depende de confirmação do cliente */
.legal mark {
  background: rgba(229, 115, 107, 0.18);
  color: var(--error);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Links legais no rodapé */
.footer__links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.85rem;
}

.footer__links a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }

/* Aviso de privacidade abaixo do formulário */
.form__privacidade {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}

.form__privacidade a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__privacidade a:hover { color: var(--accent); }

/* ============================================================
   CAIXA DE MATERIAL (captura de e-mail dentro do artigo)
   O e-mail vai para a CoreShark pelo Web3Forms e o download
   aparece na hora, na própria página — sem esperar e-mail chegar.
============================================================ */
.material {
  margin: 56px 0 8px;
  padding: 36px 32px;
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel-2) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
}

.material__titulo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.material__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 26px;
}

.material__label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.material__linha {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

/* 16px no campo: abaixo disso o iOS dá zoom sozinho ao focar */
.material__linha input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-btn);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.material__linha input[type="email"]::placeholder { color: var(--text-muted); }

.material__linha input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.material__linha .btn { white-space: nowrap; }

/* Aceite separado do envio: pedir o material e aceitar novidades
   são permissões diferentes, então não podem estar na mesma caixa. */
.material__aceite {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  cursor: pointer;
}

.material__aceite input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.material__aviso {
  margin-top: 14px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.material__aviso a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.material__aviso a:hover { color: var(--accent); }

.material__pronto {
  text-align: center;
  padding: 8px 0;
}

.material__pronto-titulo {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

@media (max-width: 640px) {
  .material { padding: 28px 22px; }
  .material__linha { flex-direction: column; }
  .material__linha .btn { width: 100%; }
}

/* ============================================================
   PÁGINA 404
============================================================ */
/* O padding-top desvia da navbar, que hoje tem 220px por causa
   da transparencia do PNG da logo. Se a logo virar SVG, cai para ~120px. */
.erro {
  padding: 190px 0 120px;
}

.erro__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* O número é decorativo: quem usa leitor de tela ouve o título,
   que já diz o que aconteceu. */
.erro__codigo {
  font-family: var(--font-title);
  font-size: clamp(5rem, 3rem + 10vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-hero);
  margin-bottom: 8px;
}

.erro__acoes {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.erro__atalhos {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.erro__atalhos-titulo {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}

.erro__lista {
  display: flex;
  gap: 10px 28px;
  justify-content: center;
  flex-wrap: wrap;
}

.erro__lista a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition);
}

.erro__lista a:hover { color: var(--accent); }

@media (max-width: 640px) {
  .erro { padding-top: 210px; padding-bottom: 80px; }
  .erro__acoes .btn { width: 100%; }
}
