/* ==========================================================
   ETHICA INVESTIMENTOS — LANDING PAGE
   Paleta oficial:
   - #189CD8 : Azul Ethica (accent)
   - #0A0A0A : Preto principal
   - #FFFFFF : Branco
   - #0E2538 : Azul-noite (fundos escuros com profundidade)
   ========================================================== */

:root {
  --azul:       #189CD8;
  --azul-dark:  #0E7AB0;
  --azul-light: #B8E3F5;
  --preto:      #0A0A0A;
  --preto-2:    #121212;
  --branco:     #FFFFFF;
  --gray-50:    #F7F8FA;
  --gray-100:   #EEF0F3;
  --gray-200:   #D8DCE2;
  --gray-400:   #8A93A1;
  --gray-600:   #4A5260;
  --gray-800:   #1F242D;
  --noite:      #0A0A0A;
  --noite-2:    #0A0A0A;

  --ff: 'Outfit', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(10, 10, 10, .06);
  --shadow-md: 0 8px 24px rgba(10, 10, 10, .10);
  --shadow-lg: 0 16px 48px rgba(10, 10, 10, .18);

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med:  320ms cubic-bezier(.4,0,.2,1);
  --t-slow: 520ms cubic-bezier(.22,1,.36,1);

  --container: 1200px;
  --nav-h: 72px;
}

/* ============ RESET / BASE ============ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  color: var(--preto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

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

/* ============ TIPOGRAFIA ============ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azul);
  margin-bottom: 8px;
}
.eyebrow-light { color: var(--azul); }

.section-title {
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--preto);
  margin-bottom: 18px;
  max-width: 780px;
}
.section-title em {
  font-style: normal;
  font-weight: 500;
  color: var(--gray-600);
}
.section-title-light { color: var(--branco); }
.section-title-light em { color: var(--azul-light); }

.section-lead {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--gray-600);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.section-lead-light { color: rgba(255,255,255,.8); }
.section-lead-light strong { color: var(--branco); }

.txt-accent { color: var(--azul); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--azul);
  color: var(--branco);
  box-shadow: 0 4px 14px rgba(24,156,216,.32);
}
.btn-primary:hover {
  background: var(--azul-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(24,156,216,.42);
}
.btn-ghost {
  background: radial-gradient(ellipse at 50% 0%, rgba(120,120,120,.45) 0%, transparent 60%);
  color: var(--branco);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover {
  border-color: var(--branco);
  background: rgba(255,255,255,.08);
}
.btn-block { width: 100%; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: radial-gradient(ellipse at 50% 0%, rgba(120,120,120,.45) 0%, transparent 60%);
  transition: background var(--t-med), backdrop-filter var(--t-med), box-shadow var(--t-med);
  z-index: 100;
}
.nav.scrolled {
  background: rgba(10, 10, 10, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.01em;
  position: relative;
}
.nav-links a:not(.nav-cta):hover { color: var(--azul-light); }
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--azul);
  color: var(--branco) !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--t-fast);
}
.nav-cta:hover { background: var(--azul-dark); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--branco);
  transition: all var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--branco);
  background: var(--preto);
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.03);
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.03) translateY(0); }
  to   { transform: scale(1.1) translateY(-1%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.2) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.75) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(24,156,216,.15) 0%, transparent 60%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 48px 72px;
}
.hero-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  max-width: 780px;
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}
.hero-ctas { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero-scroll span {
  display: block;
  width: 3px; height: 7px;
  background: var(--branco);
  border-radius: 2px;
  animation: scrolldot 1.8s ease-in-out infinite;
}
@keyframes scrolldot {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%     { transform: translateY(10px); opacity: 0; }
}

/* ============ INTRO / STATS ============ */
.intro {
  padding: clamp(48px, 6vw, 84px) 0;
  background: var(--branco);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 34px;
}
.stat-num {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  color: var(--azul);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.stat-num small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  color: var(--gray-600);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.55;
}
.stat {
  padding: 28px 24px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.stat:hover {
  border-color: var(--azul-light);
  box-shadow: var(--shadow-sm);
}

/* ============ ORIGEM ============ */
.origem {
  position: relative;
  padding: clamp(60px, 7.2vw, 96px) 0;
  color: var(--branco);
  overflow: hidden;
}
.origem-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(.4) brightness(.55);
}
.origem-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.92) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(120,120,120,.3) 0%, transparent 50%);
}
.origem-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 72px;
  align-items: center;
}
.origem-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
  border-left: 2px solid var(--azul);
  padding-left: 32px;
}
.big-stat-num {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--azul);
  line-height: 1;
  letter-spacing: -0.01em;
}
.big-stat-num small {
  font-size: 0.5em;
  color: var(--branco);
  font-weight: 400;
  font-style: normal;
  margin-left: 4px;
}
.big-stat p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ============ PILARES ============ */
.pilares {
  padding: clamp(54px, 6.6vw, 84px) 0;
  background: var(--noite-2);
  color: var(--branco);
  position: relative;
  overflow: hidden;
}
.pilares::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(120,120,120,.45) 0%, transparent 60%);
}
.pilares > .container { position: relative; }
.pilares-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.pilar {
  padding: 44px 32px 40px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
}
.pilar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.pilar:hover {
  transform: translateY(-4px);
  background: var(--branco);
  border-color: var(--azul-light);
  box-shadow: var(--shadow-lg);
}
.pilar:hover::before { transform: scaleX(1); }
.pilar-icon {
  position: relative;
  width: 64px; height: 64px;
  margin-bottom: 28px;
}
.pilar-icon img { width: 100%; height: 100%; }
.pilar-icon-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.pilar-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--preto);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pilar-sub {
  font-size: 13px;
  color: var(--azul);
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pilar-body {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}
.pilares-cta { margin-top: 56px; text-align: center; }

/* ============ DORES ============ */
.dores {
  padding: clamp(48px, 6vw, 78px) 0;
  background: var(--preto);
  color: var(--branco);
  position: relative;
  overflow: hidden;
}
.dores::before {
  content: "";
  position: absolute;
  top: -10%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(120,120,120,.38) 0%, transparent 70%);
  pointer-events: none;
}
.dores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.dor {
  padding: 36px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  transition: border-color var(--t-med), background var(--t-med);
}
.dor:hover {
  border-color: var(--azul);
  background: rgba(24,156,216,.06);
}
.dor-num {
  display: inline-block;
  font-size: 12px;
  color: var(--azul);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 12px;
}
.dor-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.dor-big {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  color: var(--branco);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.dor p {
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============ SITUAÇÕES (ACCORDION) ============ */
.situacoes {
  padding: clamp(54px, 6.6vw, 90px) 0;
  background: var(--gray-50);
}
.accordion {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.acc-item {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--branco);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color var(--t-fast), box-shadow var(--t-med), background var(--t-fast);
  cursor: pointer;
}
.acc-item:hover { border-color: var(--azul-light); box-shadow: var(--shadow-sm); }
.acc-item:hover .acc-num { background: var(--azul); transform: scale(1.08); }
.acc-item:hover .acc-title,
.acc-item[aria-expanded="true"] .acc-title { color: var(--preto); font-weight: 800; font-size: 21px; }
.acc-item:hover .acc-question,
.acc-item[aria-expanded="true"] .acc-question { color: var(--gray-600); font-weight: 600; }
.acc-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.acc-num {
  flex-shrink: 0;
  width: 46px; height: 46px;
  background: #5A5A5A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  margin-top: 2px;
  transition: none;
}
.acc-num img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.acc-head-text {
  flex: 1;
  min-width: 0;
}
.acc-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-600);
  line-height: 1.35;
  margin-bottom: 4px;
  transition: none;
}
.acc-question {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-400);
  font-style: normal;
  line-height: 1.5;
  transition: none;
}
.acc-icon {
  flex-shrink: 0;
  color: var(--azul);
  transition: transform var(--t-med);
  display: flex;
  margin-top: 6px;
}
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med);
  padding-left: 48px;
}
.acc-panel-inner {
  padding-top: 16px;
  padding-bottom: 4px;
  border-top: 1px solid var(--gray-100);
  margin-top: 16px;
}
.acc-panel-label {
  display: inline-block;
  font-size: 10px;
  color: var(--azul);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.acc-answer {
  font-family: 'Inter', sans-serif;
  color: var(--gray-600);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.5;
}
.acc-item[aria-expanded="true"] {
  border-color: var(--azul);
  box-shadow: 0 8px 24px rgba(24,156,216,.12);
}
.acc-item[aria-expanded="true"] .acc-icon { transform: rotate(180deg); }
.acc-item[aria-expanded="true"] .acc-num { transform: scale(1.1); background: var(--azul); }

.situacoes-cta { margin-top: 48px; text-align: center; }

/* ============ MÉTODO / TIMELINE ============ */
.metodo {
  position: relative;
  padding: clamp(60px, 7.2vw, 96px) 0;
  background: var(--preto);
  color: var(--branco);
  overflow: hidden;
}
.metodo-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(120,120,120,.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(120,120,120,.38) 0%, transparent 50%),
    linear-gradient(180deg, var(--noite-2) 0%, var(--preto) 100%);
}
.metodo > .container { position: relative; z-index: 2; }
.timeline {
  margin-top: 64px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.timeline-line {
  position: absolute;
  top: 24px; left: 10%; right: 10%;
  height: 2px;
  opacity: 0.2;
  background: linear-gradient(90deg, transparent 0%, var(--azul) 10%, var(--azul) 90%, transparent 100%);
  z-index: 0;
}
.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
  transition: transform var(--t-fast);
  transform-origin: top center;
}
.timeline-step:hover { transform: scale(1.08); z-index: 2; }
.timeline-dot {
  width: 52px; height: 48px;
  margin: 0 auto 20px;
  background: url('../svg/hexagono.svg') center/contain no-repeat;
  color: var(--branco);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  transition: transform var(--t-fast);
}
.timeline-step:hover .timeline-dot {
  transform: scale(1.06);
}
.timeline-step:hover .timeline-title { color: rgba(255,255,255,1); font-weight: 700; }
.timeline-step:hover .timeline-body  { color: rgba(255,255,255,1); font-weight: 400; }
.timeline-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: 0;
  transition: color var(--t-fast), font-weight var(--t-fast);
}
.timeline-body {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  font-weight: 300;
  line-height: 1.6;
  transition: color var(--t-fast), font-weight var(--t-fast);
}
.metodo-cta { margin-top: 72px; text-align: center; }

/* ============ VANTAGENS FEE BASED ============ */
.vantagens {
  padding: clamp(54px, 6.6vw, 90px) 0;
  background: var(--branco);
}
.vantagens-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.vantagens-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
.vantagens-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.v-seta {
  flex-shrink: 0;
  width: 22px;
  height: auto;
  margin-top: 3px;
  display: block;
}
.vantagens-list strong { font-weight: 700; color: var(--preto); }
.vantagens-list li > div { color: var(--gray-600); font-size: 14.5px; line-height: 1.65; }

.vantagens-card {
  padding: 44px 36px;
  background: var(--preto);
  color: var(--branco);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.vantagens-card::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(120,120,120,.3) 0%, transparent 70%);
}
.vantagens-card > * { position: relative; }
.vantagens-card-title {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--azul);
  font-weight: 700;
  margin-bottom: 28px;
}
.incluso-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}
.incluso-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.incluso-list li:last-child { border-bottom: 0; }
.incluso-list img { width: 26px; height: 24px; flex-shrink: 0; }

/* ============ XP ============ */
.xp {
  padding: clamp(54px, 6.6vw, 84px) 0;
  background: var(--noite-2);
  color: var(--branco);
  position: relative;
  overflow: hidden;
}
.xp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(120,120,120,.45) 0%, transparent 60%);
}
.xp > .container { position: relative; }
.xp-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.xp-item {
  padding: 36px 28px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  transition: border-color var(--t-med), transform var(--t-med);
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  row-gap: 0;
  align-items: start;
  cursor: pointer;
}
.xp-item:hover { transform: translateY(-4px); background: var(--azul); border-color: var(--azul); }
.xp-item-2:hover { background: #007AB8; border-color: #007AB8; }
.xp-item-3:hover { background: #5A5A5A; border-color: #5A5A5A; }
.xp-item:hover .xp-icon img { filter: brightness(0) invert(1); }
.xp-item.open { background: var(--azul); border-color: var(--azul); transform: translateY(-4px); }
.xp-item-2.open { background: #007AB8; border-color: #007AB8; }
.xp-item-3.open { background: #5A5A5A; border-color: #5A5A5A; }
.xp-item.open .xp-icon img { filter: brightness(0) invert(1); }
.xp-icon {
  width: 48px; height: 48px;
  grid-column: 1; grid-row: 1;
}
.xp-icon img { width: 100%; height: 100%; }
.xp-item h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: -0.005em;
  grid-column: 2; grid-row: 1;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.xp-item h3::after {
  content: '';
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  transition: transform var(--t-med);
  margin-top: -4px;
}
.xp-item.open h3::after { transform: rotate(-135deg); margin-top: 4px; }
.xp-item p {
  font-family: 'Outfit', sans-serif;
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  line-height: 1.65;
  grid-column: 1 / -1; grid-row: 2;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow), padding-top var(--t-slow);
  padding-top: 0;
}
.xp-item.open p {
  max-height: 200px;
  padding-top: 14px;
}

/* ============ CONTATO ============ */
.contato {
  position: relative;
  padding: clamp(60px, 7.2vw, 96px) 0;
  color: var(--branco);
  overflow: hidden;
}
.contato-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
}
.contato-overlay {
  position: absolute; inset: 0;
  background:
    rgba(0,0,0,.55),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.75) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(120,120,120,.45) 0%, transparent 60%);
}
.contato-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contato-text h2 em { color: var(--azul-light); }
.contato-lead {
  margin-top: 24px;
  font-size: 15px;
  color: rgba(255,255,255,.78);
  max-width: 440px;
  line-height: 1.6;
}
.contato-bullets {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
  max-width: 440px;
}
.contato-bullets li {
  position: relative;
  padding-left: 32px;
  font-size: 14px;
  color: rgba(255,255,255,.82);
  line-height: 1.5;
}
.contato-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 17px;
  background: url('../svg/seta.svg') center/contain no-repeat;
}

/* ============ FORM ============ */
.form {
  background: rgba(10,26,42,0.60);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: var(--branco);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 18px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form label {
  display: block;
  font-size: 13px;
}
.form label > span {
  display: block;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  font-size: 11px;
  text-transform: uppercase;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: var(--branco);
  font-size: 15px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--azul);
  background: rgba(24,156,216,0.08);
  box-shadow: 0 0 0 3px rgba(24,156,216,0.15);
}
.form select option { background: var(--noite); color: var(--branco); }
.form input::placeholder,
.form textarea::placeholder { color: rgba(255,255,255,0.25); }
.form textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
  line-height: 1.5;
}
.form-check input { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); }
.form .form-check > span {
  font-weight: 300;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  text-transform: none;
  letter-spacing: 0;
  display: inline;
  margin-bottom: 0;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-feedback {
  min-height: 20px;
  font-size: 14px;
  text-align: center;
  margin-top: 4px;
}
.form-feedback.ok { color: #4ade80; }
.form-feedback.err { color: #f87171; }

/* ============ FOOTER ============ */
.footer {
  background: var(--preto);
  color: rgba(255,255,255,.6);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  max-width: 520px;
  margin-top: 14px;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.footer-nav a:hover { color: var(--azul); }
.footer-copy {
  grid-column: 1 / -1;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12px;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.02em;
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    background: rgba(10,10,10,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 30px;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform var(--t-med), visibility var(--t-med);
    border-top: 1px solid rgba(255,255,255,.06);
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-cta { margin-top: 12px; text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid .stat:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); margin: 0 auto; width: 100%; }
  .pilares-grid,
  .dores-grid,
  .xp-grid { grid-template-columns: 1fr; gap: 24px; }

  .hero-ctas { display: inline-grid; grid-template-columns: max-content; gap: 14px; }

  .origem-inner,
  .vantagens-wrap,
  .contato-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .origem-stats { flex-direction: row; flex-wrap: wrap; gap: 28px; }

  .timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .timeline-line {
    left: 30px; right: auto; top: 30px; bottom: 30px;
    width: 2px; height: auto;
    background: linear-gradient(180deg, transparent 0%, var(--azul) 10%, var(--azul) 90%, transparent 100%);
  }
  .timeline-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    text-align: left;
    align-items: start;
    padding: 0 12px;
  }
  .timeline-dot { margin: 0; grid-row: span 2; align-self: start; justify-self: center; }

  .form-row-2 { grid-template-columns: 1fr; }
  .accordion { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(20px, 5.5vw, 28px); }
  .section-title { font-size: clamp(16px, 4vw, 22px); }

  .footer-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .form { padding: 28px 22px; }
  .pilar, .dor, .xp-item { padding: 28px 22px; }
  .acc-item { padding: 10px 20px; }
  .acc-head { gap: 12px; }
  .acc-panel { padding-left: 44px; }
  .acc-title { line-height: 1.2; }
  .acc-question { line-height: 1.3; }
}
/* ============ TOUCH / MOBILE OVERRIDES ============ */
@media (hover: none) {
  /* 1. Remove animação do mouse no hero */
  .hero-scroll { display: none; }

  /* 2. Pilares — sempre com cor ativa + títulos e ícones menores */
  .xp-item { background: var(--azul); border-color: var(--azul); }
  .xp-item-2 { background: #007AB8; border-color: #007AB8; }
  .xp-item-3 { background: #5A5A5A; border-color: #5A5A5A; }
  .xp-item .xp-icon img { filter: brightness(0) invert(1); }
  .xp-item h3 { font-size: 22px; }
  .xp-icon { width: 36px; height: 36px; }

  /* 3. Situações — sem mudança de tamanho, peso ou ícone (nunca, em nenhum estado) */
  .acc-item:hover .acc-title,
  .acc-item[aria-expanded="true"] .acc-title   { font-size: 20px; font-weight: 700; }
  .acc-item:hover .acc-question,
  .acc-item[aria-expanded="true"] .acc-question { font-size: 13.5px; font-weight: 500; }
  .acc-item:hover .acc-num,
  .acc-item[aria-expanded="true"] .acc-num      { transform: none; }

  /* 4. Diagnóstico — hexágono/número sempre 100%, textos só ao clicar */
  .timeline-dot { opacity: 1; }

  /* 5. Diagnóstico — destaque ao clicar */
  .timeline-step.tapped {
    background: rgba(255,255,255,.06);
    border-radius: var(--radius-md);
    padding: 10px 16px 10px 8px;
    margin: 0 8px;
  }
  .timeline-step.tapped .timeline-title { color: rgba(255,255,255,1); font-weight: 700; }
  .timeline-step.tapped .timeline-body  { color: rgba(255,255,255,1); font-weight: 400; }
}

/* ============ ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ MODAL CONFIRMAÇÃO ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  transition: opacity var(--t-med);
}
.modal-overlay.visible { opacity: 1; }
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--gray-800);
  border: 1px solid rgba(24,156,216,.18);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem 2.5rem;
  max-width: 400px;
  width: calc(100% - 2rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transform: translateY(24px);
  transition: transform var(--t-med);
  box-shadow: 0 32px 64px rgba(0,0,0,.5);
}
.modal-overlay.visible .modal-box { transform: translateY(0); }
.modal-logo { height: 32px; width: auto; margin-bottom: 4px; }
.modal-icon { width: 80px; height: 74px; flex-shrink: 0; }
.modal-title {
  color: var(--branco);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal-msg {
  color: rgba(255,255,255,.65);
  font-size: 0.95rem;
  line-height: 1.6;
}
