/* ==========================================================================
   AMARONEXT — STYLESHEET PRINCIPAL
   Design Unificado (Visual Claro com Faixas Escuras Estratégicas)
   Referência Visual: Hero IMAGEM B, Estética High-Tech, Editorial e Fluida
   Paleta Oficial AmaroNext & Tipografia Plus Jakarta Sans
   ========================================================================== */

/* ---------- 1. CONFIGURAÇÃO DE FONTES & VARIÁVEIS OFICIAIS ---------- */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Tipografia */
  --font-main: "Plus Jakarta Sans", "Schibsted Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Plus Jakarta Sans", "Schibsted Grotesk", system-ui, sans-serif;

  /* Dimensões */
  --header-h: 92px;
  --max-w: 1240px;
  --pad: 24px;
  --r-xs: 4px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-full: 9999px;

  /* PALETA OFICIAL AMARONEXT */
  --color-navy: #030F26;           /* Azul-marinho profundo */
  --color-navy-deep: #01091B;      /* Azul-marinho alternativo */
  --color-blue-dark: #091F45;      /* Azul escuro */
  --color-blue-primary: #2F5792;   /* Azul institucional */
  --color-blue-medium: #4E7AB9;    /* Azul intermediário */
  --color-blue-light: #6797D7;     /* Azul médio-claro */
  --color-blue-bright: #82B2F1;    /* Azul luminoso */
  --color-blue-pale: #AFD1F8;      /* Azul muito claro */
  --color-white: #FCFCFD;          /* Branco */

  /* Cores de Ação (WhatsApp) */
  --wa-green: #22c55e;
  --wa-green-hover: #16a34a;
  --wa-glow: 0 8px 28px -4px rgba(34, 197, 94, 0.45);

  /* Transições padrão */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-spring);
  --transition-smooth: 0.35s var(--ease-spring);
}

/* ---------- 2. RESET, ROLAGEM LIMPA & ESTRUTURA GERAL (ITEM 4) ---------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  /* Item 4: Rolagem suave com compensação da altura do cabeçalho fixo */
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  /* Item 4: scrollbar-gutter: stable para a página não pular */
  scrollbar-gutter: stable;
  /* Item 4: Barra fina e discreta */
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue-medium) transparent;
}

/* Item 4: WebKit Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(47, 87, 146, 0.55) 0%, rgba(34, 197, 94, 0.55) 100%);
  border-radius: var(--r-full);
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-blue-primary) 0%, var(--wa-green) 100%);
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2D3E5B;
  background-color: #F8FAFD;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}

main {
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.8vw, 4.15rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.62;
  color: #556B8D;
  max-width: 62ch;
}

/* Link de acessibilidade */
.skip {
  position: absolute;
  top: -999px;
  left: 20px;
  background: var(--color-blue-primary);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--r-xs);
  z-index: 9999;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 20px;
}

/* Seções e scroll-margin-top */
.section {
  position: relative;
  padding: 100px 0;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 56px;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.section-head.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 56px;
}

/* ---------- 3. CORES DE SEÇÕES: CLARAS VS ESCURAS (ITEM 2) ---------- */

/* Seções Claras */
.bg-light {
  background-color: #F8FAFD;
  color: #2D3E5B;
}

.bg-white {
  background-color: #FFFFFF;
  color: #2D3E5B;
}

/* Faixas Escuras (Hero, Problema, Chamada Final, Rodapé) */
.bg-navy {
  background-color: var(--color-navy);
  color: #D3DEF0;
}

.bg-navy h1,
.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--color-white);
}

.bg-navy .lead {
  color: #8EA7CB;
}

/* ---------- 4. ELEMENTOS DECORATIVOS, TAGS & GRADIENTES ---------- */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blue-primary);
  background: rgba(47, 87, 146, 0.08);
  padding: 6px 16px;
  border-radius: var(--r-full);
  width: fit-content;
  border: 1px solid rgba(47, 87, 146, 0.18);
  transition: all var(--transition-smooth);
}

.bg-navy .section-tag {
  color: var(--color-blue-bright);
  background: rgba(130, 178, 241, 0.1);
  border-color: rgba(130, 178, 241, 0.22);
}

.tag-sparkle {
  color: var(--color-blue-bright);
  font-size: 0.95rem;
  line-height: 1;
}

/* Item 1: Título com gradiente verde->azul da IMAGEM B */
.gradient-green-blue {
  background: linear-gradient(135deg, #22c55e 0%, #2ee59d 32%, #4E7AB9 72%, #82B2F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* "WhatsApp" no título do hero — gradiente azul institucional */
.hero-hl-blue {
  background: linear-gradient(135deg, #4E7AB9 0%, #82B2F1 50%, #AFD1F8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Ícones auxiliares */
.ico {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.ico-xs { width: 0.85em; height: 0.85em; }
.ico-sm { width: 1.05em; height: 1.05em; }
.ico-chevron { transition: transform var(--transition-smooth); }

/* ---------- 5. BOTÕES SIGNATURE (ITEM 1 & 6) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-smooth);
  position: relative;
  text-decoration: none;
}

/* Ícone circular com seta → da Referência */
.btn-dot-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  flex-shrink: 0;
  transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.btn-dot-box .ico-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-smooth);
}

/* Item 6: Botões verdes de WhatsApp: hover discreto com leve subida e brilho */
.btn-wa {
  background: linear-gradient(135deg, var(--wa-green) 0%, var(--wa-green-hover) 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.32);
}

@media (hover: hover) and (pointer: fine) {
  .btn-wa:hover {
    background: linear-gradient(135deg, #2ae06c 0%, var(--wa-green) 100%);
    box-shadow: 0 8px 26px rgba(34, 197, 94, 0.48);
    transform: translateY(-2px);
    color: #FFFFFF;
  }

  .btn-wa:hover .btn-dot-box {
    background: rgba(255, 255, 255, 0.32);
    transform: scale(1.06);
  }

  .btn-wa:hover .btn-dot-box .ico-arrow {
    transform: translateX(3px);
  }
}

.btn-wa:active {
  transform: translateY(0) scale(0.98);
}

.btn-glow {
  box-shadow: var(--wa-glow);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-sm .btn-dot-box {
  width: 26px;
  height: 26px;
}

.btn-sm .btn-dot-box .ico-arrow {
  width: 12px;
  height: 12px;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}

.btn-lg .btn-dot-box {
  width: 38px;
  height: 38px;
}

/* Botão Outline */
.btn-outline {
  background: #FFFFFF;
  color: var(--color-navy);
  border: 1px solid rgba(47, 87, 146, 0.22);
  box-shadow: 0 2px 10px rgba(3, 15, 38, 0.04);
}

.btn-outline .btn-dot-box {
  background: rgba(47, 87, 146, 0.1);
  color: var(--color-blue-primary);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    border-color: var(--color-blue-primary);
    background: #F8FAFD;
    color: var(--color-blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 87, 146, 0.12);
  }

  .btn-outline:hover .btn-dot-box {
    background: var(--color-blue-primary);
    color: #FFFFFF;
  }
}

/* Link Secundário */
.link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #D3DEF0;
  transition: color var(--transition-fast);
}

.link-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(130, 178, 241, 0.22);
  background: rgba(130, 178, 241, 0.08);
  color: var(--color-white);
  transition: all var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .link-secondary:hover {
    color: var(--color-blue-bright);
  }

  .link-secondary:hover .link-arrow-circle {
    border-color: var(--color-blue-bright);
    background: var(--color-blue-primary);
    transform: translateX(4px);
  }
}

/* ---------- 6. CABEÇALHO (ITEM 1 & 2) ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background-color: var(--color-navy);
  border-bottom: 1px solid rgba(130, 178, 241, 0.10);
  box-shadow: 0 4px 24px rgba(1, 9, 27, 0.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

/* Logo no cabeçalho sobre a faixa escura do hero */
.brand .logo-light {
  display: block;
}

.brand .logo-dark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #D3DEF0;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--color-blue-bright);
  border-radius: var(--r-full);
  transition: transform var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger mobile */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ---------- 7. HERO SECTION — Foto como fundo, degradê sobre ela ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  overflow: hidden;
  background-color: var(--color-navy);
}

/* Foto do Bernardo — ocupa o hero inteiro como background, alinhada à direita */
.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
}

/* Degradê sobre a foto: a foto já tem área escura à esquerda;
   overlay leve reforça o contraste e integra com o fundo navy */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Faixa navy sólida na borda esquerda para fundir com o body */
    linear-gradient(to right,
      var(--color-navy) 0%,
      var(--color-navy) 12%,
      rgba(3, 15, 38, 0.55) 38%,
      rgba(3, 15, 38, 0.10) 60%,
      transparent 80%
    ),
    /* Escurecimento topo (sob o header) */
    linear-gradient(to bottom, rgba(3, 15, 38, 0.55) 0%, transparent 15%),
    /* Escurecimento base */
    linear-gradient(to top, rgba(3, 15, 38, 0.65) 0%, transparent 18%);
}

/* Brilho sutil estático azul atrás da área de texto */
.hero-text-glow {
  position: absolute;
  z-index: 3;
  top: 20%;
  left: 5%;
  width: 55%;
  height: 60%;
  background: radial-gradient(ellipse at 40% 50%, rgba(47, 87, 146, 0.25) 0%, rgba(130, 178, 241, 0.08) 40%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Conteúdo do hero posicionado sobre a foto */
.hero-content {
  position: relative;
  z-index: 4;
  max-width: var(--max-w);
}

.hero-bg,
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Grade fina e discreta da Referência B */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(130, 178, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 178, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000000 30%, transparent 80%);
}

/* Item 3: Blobs de fundo animados (Transform & Opacity ONLY, sem blur animado) */
.blob-wrapper {
  position: absolute;
  inset: 0;
  filter: blur(80px); /* Blur estático no container */
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
}

/* Blob 1: Azul institucional */
.blob-1 {
  width: 480px;
  height: 480px;
  top: 10%;
  left: -120px;
  background: radial-gradient(circle, rgba(47, 87, 146, 0.42) 0%, transparent 70%);
  animation: float-blob-1 22s ease-in-out infinite;
}

/* Blob 2: Verde suave da marca */
.blob-2 {
  width: 420px;
  height: 420px;
  bottom: 8%;
  right: -80px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22) 0%, transparent 70%);
  animation: float-blob-2 28s ease-in-out infinite 2s;
}

/* Blob 3: Azul luminoso */
.blob-3 {
  width: 380px;
  height: 380px;
  top: 40%;
  left: 35%;
  background: radial-gradient(circle, rgba(130, 178, 241, 0.25) 0%, transparent 70%);
  animation: float-blob-3 25s ease-in-out infinite 4s;
}

.blob-subtle {
  width: 460px;
  height: 460px;
  top: 15%;
  left: 10%;
  background: radial-gradient(circle, rgba(47, 87, 146, 0.35) 0%, transparent 70%);
  animation: float-blob-1 24s ease-in-out infinite;
}

.blob-final {
  width: 500px;
  height: 500px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(130, 178, 241, 0.22) 0%, transparent 70%);
  animation: float-blob-3 26s ease-in-out infinite;
}

/* Item 3: Ciclos longos e lentos (18s a 30s) com amplitude pequena */
@keyframes float-blob-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, -22px, 0) scale(1.06); }
}

@keyframes float-blob-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-30px, 24px, 0) scale(0.96); }
}

@keyframes float-blob-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, 26px, 0) scale(1.04); }
}

/* Pausa quando a seção sai da tela */
.blobs-paused .blob {
  animation-play-state: paused !important;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
}

/* Agenda Pill */
.agenda-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(9, 31, 69, 0.7);
  border: 1px solid rgba(130, 178, 241, 0.22);
  padding: 6px 18px 6px 14px;
  border-radius: var(--r-full);
  width: fit-content;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--wa-green);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.micro-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #8EA7CB;
}

.micro-trust .ico {
  color: var(--color-blue-bright);
}

/* Diferenciais (3 cápsulas com checkmark) — sem linha divisória */
.diferenciais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.diferenciais li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(9, 31, 69, 0.55);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid rgba(130, 178, 241, 0.16);
  transition: all var(--transition-fast);
}

.diferenciais li:hover {
  border-color: var(--color-blue-bright);
  transform: translateY(-2px);
}

.diff-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(130, 178, 241, 0.15);
  color: var(--color-blue-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.diff-icon .ico {
  width: 11px;
  height: 11px;
}

/* ---------- 8. FOTOS DO BERNARDO: MOLDURA COM EFEITO RETANGULAR (ITEM 1 & 8) ---------- */

.hero-photo-container,
.about-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Brilho suave azul-esverdeado atrás da foto (Item 1 & 8) */
.photo-ambient-glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle at 60% 40%, rgba(130, 178, 241, 0.35) 0%, rgba(34, 197, 94, 0.22) 45%, transparent 70%);
  filter: blur(55px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* Item 8: Segundo contorno deslocado (offset 14px) atrás da foto */
.photo-frame-offset {
  position: absolute;
  top: 14px;
  left: 14px;
  right: -14px;
  bottom: -14px;
  border: 1.5px solid rgba(130, 178, 241, 0.45);
  border-radius: var(--r-xs); /* Cantos retos (máx 4px) */
  pointer-events: none;
  z-index: 1;
  transition: transform var(--transition-smooth);
}

/* Item 8: Foto com cantos retos (máx 4px) e borda fina em gradiente azul->verde */
.hero-photo,
.about-photo {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xs); /* Cantos retos: sem border-radius arredondado */
  overflow: hidden;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--color-blue-primary) 0%, var(--wa-green) 100%);
  box-shadow: 0 16px 48px -10px rgba(1, 9, 27, 0.65);
  max-width: 440px;
}

.hero-photo img,
.about-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--r-xs) - 1px);
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .hero-photo-container:hover .photo-frame-offset,
  .about-photo-wrapper:hover .photo-frame-offset {
    transform: translate(18px, 18px);
    border-color: var(--color-blue-bright);
  }

  .hero-photo-container:hover .hero-photo img,
  .about-photo-wrapper:hover .about-photo img {
    transform: scale(1.02);
  }
}

/* Item 8: Shimmer sutil que passa pela borda de tempos em tempos */
.hero-photo::after,
.about-photo::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: rotate(25deg) translateY(-100%);
  animation: border-shimmer 7s infinite;
  pointer-events: none;
}

@keyframes border-shimmer {
  0%, 80% { transform: rotate(25deg) translateY(-120%); opacity: 0; }
  85% { opacity: 0.6; }
  100% { transform: rotate(25deg) translateY(120%); opacity: 0; }
}

/* ---------- 9. HOVER 3D, TILT E POP-OUT NOS CARDS (ITEM 6) ---------- */

/* Regras base dos cartões com suporte a 3D */
.card-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Pop-out do número/ícone e título (Item 6: translateZ 30px) */
.card-popout {
  transform-style: preserve-3d;
  transform: translateZ(0);
  transition: transform 0.3s var(--ease-spring);
}

@media (hover: hover) and (pointer: fine) {
  .card-tilt:hover .card-popout {
    transform: translateZ(32px);
  }
}

/* Feedback simples de toque para dispositivos móveis (Item 6) */
@media (hover: none) or (pointer: coarse) {
  .card-tilt:active {
    transform: scale(0.98);
  }
}

/* ---------- 10. SEÇÃO O PROBLEMA (FAIXA ESCURA BG-NAVY) ---------- */

.problems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.problem-card {
  position: relative;
  background: rgba(9, 31, 69, 0.65);
  border: 1px solid rgba(130, 178, 241, 0.16);
  border-radius: var(--r-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .problem-card:hover {
    border-color: rgba(130, 178, 241, 0.45);
    background: rgba(14, 43, 94, 0.85);
    box-shadow: 0 18px 48px -10px rgba(1, 9, 27, 0.7), 0 0 35px -10px rgba(130, 178, 241, 0.3);
  }
}

.card-watermark-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(130, 178, 241, 0.08);
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.problem-card:hover .card-watermark-num {
  color: rgba(130, 178, 241, 0.18);
}

.problem-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(47, 87, 146, 0.4), rgba(9, 31, 69, 0.8));
  border: 1px solid rgba(130, 178, 241, 0.25);
  color: var(--color-blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.problem-card p {
  color: #8EA7CB;
  line-height: 1.6;
}

/* ---------- 11. SEÇÃO SERVIÇOS (FAIXA CLARA BG-LIGHT) ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: stretch;
}

.service-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(47, 87, 146, 0.12);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 24px rgba(3, 15, 38, 0.04);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: rgba(47, 87, 146, 0.35);
    box-shadow: 0 16px 44px -8px rgba(3, 15, 38, 0.1), 0 0 25px -10px rgba(47, 87, 146, 0.15);
  }
}

.service-featured {
  border-color: rgba(47, 87, 146, 0.28);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FE 100%);
  box-shadow: 0 8px 32px rgba(47, 87, 146, 0.08);
}

.badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue-primary), var(--color-blue-medium));
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-blue-bright);
}

.service-category {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue-primary);
  margin-bottom: 6px;
}

.service-header h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.service-desc {
  color: #556B8D;
  font-size: 1.025rem;
  line-height: 1.58;
  margin-bottom: 32px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: #2D3E5B;
  line-height: 1.5;
}

.list-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(47, 87, 146, 0.1);
  color: var(--color-blue-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-service-cta {
  width: 100%;
  justify-content: space-between;
}

/* ---------- 12. SEÇÃO ESTRUTURA (ITEM 7: GRADE 4 COLUNAS CENTRALIZADA) ---------- */

.features-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(47, 87, 146, 0.12);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(3, 15, 38, 0.04);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    border-color: rgba(47, 87, 146, 0.35);
    box-shadow: 0 16px 36px -8px rgba(3, 15, 38, 0.09), 0 0 20px -8px rgba(47, 87, 146, 0.12);
  }
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(47, 87, 146, 0.1) 0%, rgba(130, 178, 241, 0.15) 100%);
  border: 1px solid rgba(47, 87, 146, 0.18);
  color: var(--color-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.95rem;
  color: #556B8D;
  line-height: 1.58;
}

/* ---------- 13. SEÇÃO COMO FUNCIONA (FAIXA ESCURA BG-NAVY) ---------- */

.section-process.bg-navy {
  background: linear-gradient(180deg, #030F26 0%, #06193D 50%, #030F26 100%);
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-bottom: 56px;
}

.step-card {
  position: relative;
  background: rgba(9, 31, 69, 0.72);
  border: 1px solid rgba(130, 178, 241, 0.20);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px -5px rgba(1, 9, 27, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .step-card:hover {
    border-color: rgba(130, 178, 241, 0.55);
    background: rgba(14, 43, 94, 0.90);
    box-shadow: 0 18px 48px -10px rgba(1, 9, 27, 0.7), 0 0 35px -10px rgba(130, 178, 241, 0.3);
  }
}

.step-watermark {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(130, 178, 241, 0.12);
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.step-card:hover .step-watermark {
  color: rgba(130, 178, 241, 0.25);
}

.step-badge {
  font-size: 0.775rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blue-bright);
  background: rgba(130, 178, 241, 0.12);
  padding: 4px 12px;
  border-radius: var(--r-full);
  width: fit-content;
  border: 1px solid rgba(130, 178, 241, 0.25);
}

.step-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--color-white);
}

.step-card p {
  font-size: 0.95rem;
  color: #A3BEDF;
  line-height: 1.58;
}

.process-cta {
  display: flex;
  justify-content: center;
}

/* ---------- 14. SEÇÃO SOBRE BERNARDO AMARO (FAIXA CLARA BG-WHITE) ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 64px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-author-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-blue-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: -6px;
}

.about-paragraph {
  font-size: 1.05rem;
  color: #344663;
  line-height: 1.7;
}

.about-quote {
  position: relative;
  background: #F8FAFD;
  border-left: 4px solid var(--color-blue-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 24px 28px;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-navy);
  line-height: 1.65;
  border-top: 1px solid rgba(47, 87, 146, 0.1);
  border-right: 1px solid rgba(47, 87, 146, 0.1);
  border-bottom: 1px solid rgba(47, 87, 146, 0.1);
}

.about-quote .quote-mark {
  font-size: 2.5rem;
  color: var(--color-blue-primary);
  line-height: 1;
  position: absolute;
  top: 10px;
  left: 12px;
  opacity: 0.2;
}

.about-actions {
  margin-top: 8px;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(47, 87, 146, 0.18);
  border-radius: var(--r-full);
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  box-shadow: 0 2px 12px rgba(3, 15, 38, 0.04);
  transition: all var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .btn-instagram:hover {
    border-color: #E1306C;
    color: #FFFFFF;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.35);
    transform: translateY(-2px);
  }
}

/* ---------- 15. SEÇÃO DÚVIDAS FREQUENTES (FAIXA CLARA BG-LIGHT) ---------- */

.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid rgba(47, 87, 146, 0.12);
  border-radius: var(--r-md);
  box-shadow: 0 2px 12px rgba(3, 15, 38, 0.03);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .faq-item:hover {
    border-color: rgba(47, 87, 146, 0.3);
    box-shadow: 0 6px 20px rgba(3, 15, 38, 0.06);
  }
}

.faq-item[open] {
  border-color: var(--color-blue-primary);
  box-shadow: 0 8px 24px rgba(47, 87, 146, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.faq-indicator {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(47, 87, 146, 0.08);
  border: 1px solid rgba(47, 87, 146, 0.15);
  color: var(--color-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.faq-item[open] .faq-indicator {
  transform: rotate(180deg);
  background: var(--color-blue-primary);
  color: #FFFFFF;
}

.faq-answer {
  padding: 0 28px 24px;
  color: #556B8D;
  line-height: 1.65;
  font-size: 1rem;
}

/* ---------- 16. SEÇÃO CONVITE FINAL (FAIXA ESCURA BG-NAVY) ---------- */

.final-box {
  position: relative;
  background: linear-gradient(135deg, var(--color-blue-dark) 0%, var(--color-navy) 100%);
  border: 1px solid rgba(130, 178, 241, 0.28);
  border-radius: var(--r-xl);
  padding: 80px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px -12px rgba(1, 9, 27, 0.85);
}

.final-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(130, 178, 241, 0.22) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.final-box h2 {
  max-width: 20ch;
}

.final-actions {
  margin-top: 12px;
}

.final-contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #8EA7CB;
  flex-wrap: wrap;
  justify-content: center;
}

.phone-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-weight: 700;
}

.final-contact-info .sep {
  color: rgba(130, 178, 241, 0.3);
}

/* ---------- 17. RODAPÉ (FAIXA ESCURA COM LOGO CLARA) ---------- */

.footer {
  border-top: 1px solid rgba(130, 178, 241, 0.12);
  padding: 40px 0;
  background-color: var(--color-navy-deep);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(9, 31, 69, 0.6);
  border: 1px solid rgba(130, 178, 241, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .social-btn:hover {
    border-color: var(--color-blue-bright);
    background: var(--color-blue-primary);
    transform: translateY(-3px);
  }
}

.social-btn-ig {
  width: auto;
  height: 44px;
  border-radius: var(--r-full);
  padding: 0 16px 0 14px;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (hover: hover) and (pointer: fine) {
  .social-btn-ig:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-color: transparent;
  }
}

.footer-copy {
  font-size: 0.875rem;
  color: #8EA7CB;
}

/* ---------- 18. BARRA FIXA MOBILE DE WHATSAPP ---------- */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px var(--pad);
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(3, 15, 38, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(130, 178, 241, 0.15);
  z-index: 999;
  display: flex;
  justify-content: center;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta .btn {
  width: 100%;
  max-width: 480px;
}

@media (min-width: 901px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ---------- 19. SCROLL REVEAL (ITEM 5) ---------- */

/* Se o JavaScript estiver ativo (html.js-active), oculta inicialmente para animar */
html.js-active .reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

html.js-active .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Se o JavaScript falhar, tudo permanece visível naturalmente */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

/* ---------- 20. RESPONSIVIDADE & BREAKPOINTS ---------- */

@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo-wrapper {
    max-width: 380px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 70px;
    --pad: 18px;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Foto no mobile: mais centrada para ficar visível atrás do texto */
  .hero-photo-bg img {
    object-position: 65% top;
  }

  .hero-overlay {
    background:
      linear-gradient(to right, var(--color-navy) 0%, rgba(3, 15, 38, 0.85) 40%, rgba(3, 15, 38, 0.55) 70%, rgba(3, 15, 38, 0.35) 100%),
      linear-gradient(to bottom, rgba(3, 15, 38, 0.7) 0%, transparent 25%),
      linear-gradient(to top, rgba(3, 15, 38, 0.85) 0%, transparent 25%);
  }

  .hero-copy {
    max-width: 100%;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 34px 22px;
  }

  .problem-card {
    padding: 30px 22px;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .step-card {
    padding: 26px 20px;
  }

  .final-box {
    padding: 50px 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .btn-header-cta span:not(.btn-dot-box) {
    display: none;
  }

  .btn-header-cta {
    padding: 8px 12px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-cta-group .link-secondary {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .diferenciais {
    flex-direction: column;
    align-items: stretch;
  }

  .diferenciais li {
    justify-content: center;
  }
}

/* Suporte para Movimento Reduzido (Acessibilidade) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .blob-1, .blob-2, .blob-3, .blob-subtle, .blob-final {
    animation: none !important;
  }

  html.js-active .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .card-tilt {
    transform: none !important;
  }

  .card-popout {
    transform: none !important;
  }
}
