/* ===============================================
   ÁGATHA ZACCA – Premium Lawyer Website CSS
   Color Palette: Dark Navy #1B2332 + Gold #C9A84C
   =============================================== */

:root {
  --gold: #C9A84C;
  --gold-light: #E2C269;
  --gold-dark: #9A7A30;
  --gold-gradient: linear-gradient(135deg, #9A7A30 0%, #C9A84C 40%, #E2C269 60%, #C9A84C 80%, #9A7A30 100%);
  --gold-glow: rgba(201, 168, 76, 0.35);
  --dark: #111820;
  --dark2: #161E2A;
  --dark3: #1B2332;
  --dark4: #222C3C;
  --dark5: #2A3548;
  --text: #F0EDE8;
  --text-muted: #9BA8BE;
  --border: rgba(201, 168, 76, 0.18);
  --radius: 16px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}

/* ——— SCROLLBAR ——— */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--dark2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 999px;
}

/* ——— CUSTOM CURSOR ——— */
#cursor {
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.25s, height 0.25s, background 0.25s;
  mix-blend-mode: difference;
}

#cursor-trail {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.18s var(--transition);
  opacity: 0.5;
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
  width: 24px;
  height: 24px;
}

body:has(a:hover) #cursor-trail,
body:has(button:hover) #cursor-trail {
  width: 56px;
  height: 56px;
  opacity: 0.2;
}

@media (hover: none) {

  #cursor,
  #cursor-trail {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* ——— PARTICLES CANVAS ——— */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}

/* ——— LOADER ——— */
/* SEO note: loader uses pointer-events:none so it never blocks interactivity
   measurements (FID/INP). Bots skip it entirely via JS. */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  pointer-events: none;
  /* never block click/touch metrics */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: loaderPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}

.loader-logo img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--border);
  animation: loaderSpin 3s linear infinite;
}

.loader-bar {
  width: 220px;
  height: 2px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 999px;
  /* Match JS timer: fill completes in 0.7s (loader hides at 0.8s) */
  animation: loaderFill 0.7s ease forwards;
}

@keyframes loaderPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes loaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFill {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

/* ——— NAVBAR ——— */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(17, 24, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.04);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 60%;
}

.nav-cta {
  background: var(--gold-gradient);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.25) 60%, transparent 80%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.nav-cta:hover {
  box-shadow: 0 6px 24px var(--gold-glow);
  transform: translateY(-1px);
}

.nav-cta:hover::before {
  transform: translateX(100%);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  background: rgba(17, 24, 32, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-menu a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color 0.25s ease;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mm-cta {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

/* ——— HERO ——— */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 0% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 100% 20%, rgba(201, 168, 76, 0.03) 0%, transparent 60%),
    var(--dark2);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

.hero-name .line-reveal {
  display: block;
  overflow: hidden;
}

.hero-name .line-reveal span {
  display: block;
}

.hero-role {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ——— BUTTONS ——— */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold-gradient);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 35%, rgba(255, 255, 255, 0.3) 55%, transparent 75%);
  transform: translateX(-150%);
  transition: transform 0.6s ease;
}

.btn-gold:hover {
  box-shadow: 0 8px 32px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-gold:hover::before {
  transform: translateX(150%);
}

.btn-gold.full-width {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn-gold.mt-2 {
  margin-top: 1.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.12);
}

.btn-outline.full-width {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

.btn-outline.mt-1 {
  margin-top: 0.75rem;
}

/* ——— HERO PHOTO ——— */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo-frame {
  position: relative;
  z-index: 2;
  width: min(420px, 90%);
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}

.hero-photo-frame:hover .hero-photo {
  transform: scale(1.04);
}

.hero-photo-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
  z-index: 1;
}

.ring2 {
  width: 540px;
  height: 540px;
  border-color: rgba(201, 168, 76, 0.07);
  animation-direction: reverse;
  animation-duration: 30s;
}

@keyframes ringRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-photo-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
  animation: scrollHintFade 2s ease-in-out infinite;
}

.hero-scroll-hint span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.6;
}

@keyframes scrollHintFade {

  0%,
  100% {
    opacity: 0.4;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ——— STATS BAR ——— */
#stats-bar {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ——— SECTION LAYOUT ——— */
/* content-visibility:auto lets browsers skip rendering off-screen sections,
   improving LCP and overall page speed score */
#sobre,
#atuacao,
#previdenciario,
#quote-section,
#contato,
#footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
  /* prevents layout shift while hidden */
}

.section-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 999px;
  margin: 1.5rem 0;
}

.gold-line.center {
  margin: 1.5rem auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ——— SOBRE ——— */
#sobre {
  position: relative;
  z-index: 2;
  background: var(--dark);
  overflow: hidden;
}

#sobre::before {
  content: '';
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre-image-wrap {
  position: relative;
}

.sobre-img-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.sobre-img-card img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.sobre-img-card:hover img {
  transform: scale(1.02) rotate(-0.5deg);
}

.sobre-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--gold-glow);
  z-index: 2;
}

.sobre-img-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-content {
  padding-left: 1rem;
}

.sobre-text {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.sobre-text strong {
  color: var(--text);
}

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.tag {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.tag:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
}

/* ——— ATUAÇÃO ——— */
#atuacao {
  position: relative;
  background: var(--dark2);
  overflow: hidden;
}

#atuacao::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.atuacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.atuacao-card {
  position: relative;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--transition);
  overflow: hidden;
  cursor: default;
}

.atuacao-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.atuacao-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.atuacao-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(201, 168, 76, 0.1), inset 0 0 40px rgba(201, 168, 76, 0.02);
}

.atuacao-card:hover::before {
  opacity: 1;
}

.atuacao-card:hover::after {
  transform: scaleX(1);
}

.atuacao-card.featured {
  background: linear-gradient(135deg, var(--dark3) 0%, rgba(201, 168, 76, 0.06) 100%);
  border-color: rgba(201, 168, 76, 0.25);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.atuacao-card:hover .card-icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  transform: scale(1.1) rotate(5deg);
}

.atuacao-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.atuacao-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.25s ease;
}

.card-link:hover {
  gap: 0.8rem;
}

.card-link span {
  transition: transform 0.25s ease;
}

.card-link:hover span {
  transform: translateX(4px);
}

/* ——— PREVIDENCIÁRIO ——— */
#previdenciario {
  position: relative;
  z-index: 2;
  background: var(--dark);
  overflow: hidden;
}

.prev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.prev-item {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s var(--transition);
  position: relative;
  overflow: hidden;
}

.prev-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.prev-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(201, 168, 76, 0.08);
}

.prev-item:hover::before {
  opacity: 1;
}

.prev-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.4s ease;
  color: var(--gold);
}

.prev-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
  transition: transform 0.4s ease;
}

.prev-item:hover .prev-icon {
  background: rgba(201, 168, 76, 0.16);
  border-color: var(--gold);
  box-shadow: 0 0 18px var(--gold-glow);
  transform: scale(1.1);
}

.prev-item:hover .prev-icon svg {
  transform: scale(1.1) rotate(-8deg);
}

.prev-item h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.prev-item p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ——— QUOTE / PARALLAX ——— */
#quote-section {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-parallax-bg {
  position: absolute;
  inset: -80px;
  background: linear-gradient(135deg, var(--dark4) 0%, var(--dark3) 40%, var(--dark5) 100%);
  z-index: 0;
}

.quote-parallax-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 0% 100%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(201, 168, 76, 0.05) 0%, transparent 50%);
}

.quote-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  padding: 4rem 2rem;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.25;
  display: block;
  margin-bottom: 1.5rem;
}

blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

cite {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
}

/* ——— CONTATO ——— */
#contato {
  position: relative;
  z-index: 2;
  background: var(--dark2);
  overflow: hidden;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contato-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contato-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.contato-item:hover .contato-icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  transform: scale(1.1);
}

.contato-item h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.contato-item a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.contato-item a:hover {
  color: var(--gold);
}

.contato-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contato-cta-card {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
}

.cta-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: block;
  border: 2px solid var(--border);
}

.contato-cta-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.contato-cta-card h3 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.contato-cta-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ——— FOOTER ——— */
#footer {
  position: relative;
  background: var(--dark);
  border-top: 1px solid var(--border);
  z-index: 2;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-logo img {
  height: 48px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ——— WHATSAPP FLOAT ——— */
#whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: waPop 0.6s 3s both;
}

#whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: waPulse 2s ease-in-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

@keyframes waPop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* ——— AOS (SCROLL ANIMATIONS via JS) ——— */
[data-aos] {
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
}

[data-aos="fade-right"] {
  opacity: 0;
  transform: translateX(-50px);
}

[data-aos="fade-left"] {
  opacity: 0;
  transform: translateX(50px);
}

[data-aos="fade-in"] {
  opacity: 0;
}

[data-aos="zoom-in"] {
  opacity: 0;
  transform: scale(0.85);
}

[data-aos].aos-in {
  opacity: 1;
  transform: none;
}

[data-aos-delay="60"].aos-in {
  transition-delay: 0.06s;
}

[data-aos-delay="100"].aos-in {
  transition-delay: 0.1s;
}

[data-aos-delay="120"].aos-in {
  transition-delay: 0.12s;
}

[data-aos-delay="180"].aos-in {
  transition-delay: 0.18s;
}

[data-aos-delay="200"].aos-in {
  transition-delay: 0.2s;
}

[data-aos-delay="240"].aos-in {
  transition-delay: 0.24s;
}

[data-aos-delay="300"].aos-in {
  transition-delay: 0.3s;
}

[data-aos-delay="360"].aos-in {
  transition-delay: 0.36s;
}

[data-aos-delay="420"].aos-in {
  transition-delay: 0.42s;
}

/* ——— HERO INTRO ANIMATIONS ——— */
.line-reveal {
  clip-path: inset(0 0 100% 0);
  animation: revealLine 0.9s var(--transition) both;
}

.line-reveal.delay-1 {
  animation-delay: 0.25s;
}

@keyframes revealLine {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0 0 0% 0);
  }
}

.fade-up-el {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpEl 0.8s var(--transition) forwards;
  animation-delay: 0.5s;
}

.fade-up-el.delay-1 {
  animation-delay: 0.6s;
}

.fade-up-el.delay-2 {
  animation-delay: 0.7s;
}

@keyframes fadeUpEl {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— CHAR REVEAL ——— */
.char-reveal {
  opacity: 0;
  animation: charReveal 0.8s var(--transition) 0.45s forwards;
}

@keyframes charReveal {
  from {
    opacity: 0;
    letter-spacing: 0.4em;
  }

  to {
    opacity: 1;
    letter-spacing: 0.18em;
  }
}

/* ——— TILT 3D ——— */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .prev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .hero-photo-wrap {
    display: none !important;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 6.5rem 1.5rem 3.5rem;
    gap: 2rem;
    text-align: center;
  }

  /* Texto primeiro no mobile */
  .hero-text {
    order: 1;
  }

  .hero-photo-wrap {
    order: 2;
  }

  .hero-desc,
  .hero-actions {
    justify-content: center;
  }

  /* Foto circular compacta no mobile */
  .hero-photo-wrap {
    flex-direction: column;
    gap: 0;
  }

  .hero-photo-frame {
    width: 200px;
    height: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 6px rgba(201, 168, 76, 0.08), 0 16px 48px rgba(0, 0, 0, 0.4);
  }

  .hero-photo {
    object-position: center top;
  }

  /* Oculta rings decorativos no mobile */
  .hero-photo-ring,
  .ring2,
  .hero-photo-glow {
    display: none;
  }

  /* Nome menor para não exceder */
  .hero-name {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-img-badge {
    right: -8px;
    bottom: -16px;
    width: 76px;
    height: 76px;
  }

  .sobre-content {
    padding-left: 0;
  }

  .atuacao-grid {
    grid-template-columns: 1fr;
  }

  .prev-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contato-cta-wrap {
    width: 100%;
    min-width: 0;
  }

  .contato-cta-card {
    padding: 2rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .stats-container {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .section-container {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .prev-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  .footer-links {
    gap: 1rem;
  }
}

/* ═══════════════════════════════════════════════
   COMO FUNCIONA – Timeline
═══════════════════════════════════════════════ */
#como-funciona {
  position: relative;
  z-index: 2;
  background: var(--dark2);
}

.timeline-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  position: relative;
  padding: 0 0.5rem;
}

.timeline-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.timeline-icon {
  width: 56px;
  height: 56px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.timeline-step:hover .timeline-icon {
  background: rgba(201, 168, 76, 0.16);
  border-color: var(--gold);
}

.timeline-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
}

.timeline-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.timeline-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-connector {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  align-self: center;
  margin-top: -3rem;
  opacity: 0.4;
  position: relative;
}

.timeline-connector::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid var(--gold);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

@media (max-width: 768px) {
  .timeline-grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .timeline-connector {
    width: 2px;
    height: 30px;
    flex: 0 0 30px;
    background: linear-gradient(180deg, var(--gold-dark), var(--gold));
    margin-top: 0;
  }

  .timeline-connector::after {
    right: -4px;
    top: auto;
    bottom: -6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--gold);
    border-bottom: none;
  }
}

/* ═══════════════════════════════════════════════
   TRIAGEM – Multi-step interactive form
═══════════════════════════════════════════════ */
#triagem {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark4) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.triagem-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.triagem-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1.5rem;
}

.triagem-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(10px);
}

.triagem-step {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.triagem-step.active {
  display: block;
}

.triagem-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.triagem-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.triagem-opt {
  background: rgba(201, 168, 76, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.triagem-opt:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(4px);
}

.triagem-result-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.triagem-result-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
}

#triagem-result h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  text-align: center;
}

#triagem-result p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.5rem;
}

#triagem-result .btn-gold,
#triagem-result .btn-outline {
  width: 100%;
  justify-content: center;
}

.triagem-restart {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  justify-content: center;
}

.triagem-progress {
  height: 3px;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 999px;
  margin-top: 2rem;
  overflow: hidden;
}

.triagem-progress-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 999px;
  width: 33%;
  transition: width 0.4s var(--transition);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .triagem-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  #cursor,
  #cursor-trail {
    display: none !important;
  }

  .triagem-form {
    padding: 2rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .triagem-question {
    font-size: 1.25rem;
  }

  #triagem-result h3 {
    font-size: 1.35rem;
  }

  .triagem-opt {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  .triagem-result-icon {
    width: 50px;
    height: 50px;
  }

  #triagem-result .btn-gold,
  #triagem-result .btn-outline {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

/* ═══════════════════════════════════════════════
   EDUCACIONAL – 3 knowledge cards
═══════════════════════════════════════════════ */
#educacional {
  position: relative;
  z-index: 2;
  background: var(--dark);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.edu-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.edu-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.edu-card:hover::before {
  transform: scaleX(1);
}

.edu-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
}

.edu-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.edu-tag {
  display: inline-block;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  width: fit-content;
}

.edu-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.edu-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.edu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: gap 0.25s ease;
  margin-top: 0.5rem;
}

.edu-link:hover {
  gap: 0.7rem;
}

@media (max-width: 900px) {
  .edu-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   DIGITAL – Full-width banner
═══════════════════════════════════════════════ */
#digital {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, #0d1520 0%, #1a2436 50%, #0d1520 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

#digital::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.digital-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.digital-content .gold-line {
  margin-bottom: 1.5rem;
}

.digital-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.digital-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.digital-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.digital-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--gold);
}

.digital-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.digital-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.digital-badge:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.digital-badge svg {
  width: 36px;
  height: 36px;
  stroke: var(--gold);
}

.digital-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .digital-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ═══════════════════════════════════════════════
   FAQ – Accordion
═══════════════════════════════════════════════ */
#faq {
  position: relative;
  z-index: 2;
  background: var(--dark2);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(201, 168, 76, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-item.open .faq-question {
  color: var(--gold);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.4s var(--transition);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  transition: transform 0.4s var(--transition);
}

.faq-item.open .faq-icon {
  background: rgba(201, 168, 76, 0.18);
}

.faq-item.open .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--transition), padding 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* content-visibility for new sections */
#como-funciona,
#triagem,
#educacional,
#digital,
#avaliacoes,
#faq {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ═══════════════════════════════════════════════
   AVALIAÇÕES – Google Reviews
═══════════════════════════════════════════════ */
#avaliacoes {
  position: relative;
  z-index: 2;
  background: var(--dark3);
  border-top: 1px solid var(--border);
}

/* Aggregate score row */
.reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.reviews-rating-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.reviews-stars {
  display: flex;
  gap: 3px;
}

.reviews-stars svg,
.review-stars svg {
  width: 18px;
  height: 18px;
}

.reviews-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.google-logo {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

/* ── Carousel wrapper ── */
.reviews-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  position: relative;
}

.rc-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.rc-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Review card ── */
.review-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 0 0 calc(100% - 0px);
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  box-sizing: border-box;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.review-card.rc-active {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.review-card.rc-active::before {
  transform: scaleX(1);
}

/* ── Arrows ── */
.rc-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--border);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.rc-arrow:hover {
  background: rgba(201, 168, 76, 0.18);
  border-color: var(--gold);
  transform: scale(1.08);
}

.rc-arrow svg {
  width: 22px;
  height: 22px;
}

/* ── Dots ── */
.rc-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
}

.rc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.25);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, width 0.3s ease;
  padding: 0;
}

.rc-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
  transform: none;
}

/* Reviewer header */
.review-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.reviewer-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.reviewer-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Star row inside card */
.review-stars {
  display: flex;
  gap: 3px;
}

.review-stars svg {
  width: 17px;
  height: 17px;
}

/* Review text */
.review-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

/* Mobile */
@media (max-width: 600px) {
  .rc-arrow {
    width: 38px;
    height: 38px;
  }

  .rc-arrow svg {
    width: 18px;
    height: 18px;
  }

  .reviews-aggregate {
    gap: 1rem;
  }

  .review-card {
    padding: 1.6rem 1.2rem;
  }
}