/* ============================================================
   Conselho Real Consultoria Tributária — style.css
   Paleta: Azul escuro #0F2A44 | Dourado #C8A75B | Branco #FFFFFF
============================================================ */

/* ─── 1. VARIÁVEIS ─────────────────────────────────────────── */
:root {
  --azul:        #0F2A44;
  --azul-deep:   #071927;
  --gold:        #C8A75B;
  --gold-light:  #DFC27F;
  --gold-dark:   #A8893A;
  --white:       #FFFFFF;
  --gray-light:  #F4F6F8;
  --gray-mid:    #6B7280;
  --gray-border: #E5E7EB;

  --font-head:  'Cinzel', 'Playfair Display', serif;
  --font-body:  'Montserrat', 'Poppins', sans-serif;

  --sh-sm:   0 2px 8px  rgba(15,42,68,.08);
  --sh-md:   0 8px 24px rgba(15,42,68,.12);
  --sh-lg:   0 16px 48px rgba(15,42,68,.18);
  --sh-gold: 0 4px 20px rgba(200,167,91,.35);

  --radius:    12px;
  --radius-lg: 20px;
  --ease:      0.3s ease;
}

/* ─── 2. BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-body);
  color: #1a2535;
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
img   { max-width: 100%; height: auto; }
.py-section { padding: 100px 0; }

/* ─── 3. TIPOGRAFIA GLOBAL ──────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 600; }

.text-gold      { color: var(--gold) !important; }

.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  color: var(--azul);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title-sm {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  color: var(--azul);
}

.section-subtitle {
  font-size: .97rem;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto 18px;
}

.divider-gold {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 3px;
  margin-top: 14px;
}

.section-header { margin-bottom: 48px; }

/* ─── 4. BOTÕES ─────────────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--azul-deep) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .4px;
  border: none;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: var(--sh-gold);
  transition: all var(--ease);
  cursor: pointer;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,167,91,.5);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--gold) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .875rem;
  border: 2px solid var(--gold);
  padding: 11px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: all var(--ease);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--azul-deep) !important;
  transform: translateY(-2px);
}

/* ─── 5. HEADER FIXO ────────────────────────────────────────── */
.header-fixed {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
}

.header-fixed .navbar {
  background: transparent;
  padding: 22px 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}

.header-fixed.scrolled .navbar {
  background: rgba(7,25,39,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* Logo */
.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   LOGO — horizontal · abordagem simples e centralizada
   ══════════════════════════════════════════════════════════ */

/* ── Navbar: badge glassmorphism ─────────────────────────── */
.logo-brand { overflow: visible; }

.navbar-logo-crop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  border: 1px solid rgba(200,167,91,.30);
  box-shadow: 0 2px 14px rgba(0,0,0,.30);
  transition: padding var(--ease), box-shadow var(--ease);
  flex-shrink: 0;
}
.header-fixed.scrolled .navbar-logo-crop {
  padding: 4px 10px;
}

.navbar-logo {
  height: 44px;
  width: auto;
  display: block;
  position: static;
  object-fit: contain;
  transition: height var(--ease);
}
.header-fixed.scrolled .navbar-logo {
  height: 36px;
}

/* ── Footer logo: glassmorphism badge (igual ao navbar) ────── */
.flc {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 14px;
  border: 1px solid rgba(200,167,91,.30);
  box-shadow:
    0 6px 28px rgba(0,0,0,.40),
    0 0 0 1px rgba(200,167,91,.20);
  margin-bottom: 22px;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 220px;
  height: auto;
  display: block;
  position: static;
  object-fit: contain;
}

/* ── Responsivo: celular ──────────────────────────────────── */
@media (max-width: 575px) {
  .flc {
    padding: 8px 14px;
  }
  .footer-logo-img {
    width: 180px;
  }
  .navbar-logo-crop {
    padding: 4px 10px;
  }
  .navbar-logo {
    height: 38px;
  }
}

/* Fallback textual (exibido apenas se a imagem falhar) */
.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: .6rem;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

/* Footer: fallback também em branco */
.footer-logo .logo-fallback { display: none; }
.footer-logo .logo-main     { color: var(--white); }
.footer-logo .logo-sub      { color: var(--gold); }

/* Nav links */
.navbar .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-family: var(--font-body);
  font-size: .83rem;
  font-weight: 500;
  letter-spacing: .4px;
  padding: 8px 14px !important;
  position: relative;
  transition: color var(--ease);
}
.navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--gold) !important; }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

/* Mobile toggle */
.navbar-toggler {
  border: 1px solid rgba(200,167,91,.45);
  padding: 6px 10px;
  background: transparent;
}
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--azul-deep);
    margin: 10px -12px 0;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(200,167,91,.2);
  }
  .navbar-collapse .btn-gold {
    width: 100%;
    justify-content: center;
    margin-top: 12px !important;
  }
}

/* ─── 6. HERO ───────────────────────────────────────────────── */
.hero-section {
  position: relative;
  background: var(--azul-deep);
  min-height: 100vh;
  overflow: hidden;
}

/* Overlay gradiente */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(7,25,39,.98)   0%,
    rgba(15,42,68,.88) 55%,
    rgba(7,25,39,.96)  100%
  );
  z-index: 1;
}

/* Padrão diagonal dourado */
.hero-diagonal-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(
      -52deg,
      transparent        0,
      transparent        58px,
      rgba(200,167,91,.045) 58px,
      rgba(200,167,91,.045) 60px
    ),
    repeating-linear-gradient(
      38deg,
      transparent        0,
      transparent        100px,
      rgba(15,42,68,.45) 100px,
      rgba(15,42,68,.45) 102px
    );
}

/* Círculo decorativo */
.hero-section::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,167,91,.07) 0%, transparent 65%);
  top: -180px;
  right: -180px;
  z-index: 1;
  pointer-events: none;
}

.hero-container { position: relative; z-index: 2; }

/* Badge topo */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(200,167,91,.12);
  border: 1px solid rgba(200,167,91,.38);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .8px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.4vw, 3.1rem);
  color: var(--white);
  line-height: 1.22;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  border-top: 1px solid rgba(200,167,91,.28);
  padding-top: 30px;
}
.stat-item { flex: 1; text-align: center; padding: 0 8px; }
.stat-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(200,167,91,.25);
  margin: 4px 0;
  flex-shrink: 0;
}
.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  font-family: var(--font-head);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-value i     { font-size: 2rem; display: flex; align-items: center; }
.stat-prefix      { font-size: 1rem; font-weight: 600; color: var(--gold-light); }
.stat-number      { font-size: 2.1rem; font-weight: 700; }
.stat-symbol      { font-size: 1.4rem; font-weight: 700; }
.stat-label {
  font-size: .68rem;
  color: rgba(255,255,255,.58);
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.4;
  margin: 0;
}

/* Card Dr. Vinícius */
.hero-right {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.doctor-card {
  position: relative;
  width: 320px;
  max-width: 100%;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(15,42,68,.85), rgba(7,25,39,.95));
  border: 1px solid rgba(200,167,91,.28);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(200,167,91,.1);
}

.card-top-glow {
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  filter: blur(1px);
  z-index: 2;
}

.doctor-photo-wrapper {
  position: relative;
  height: 370px;
  overflow: hidden;
}

.doctor-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15,42,68,.9), rgba(7,25,39,1));
}
.doctor-placeholder i { font-size: 110px; color: rgba(200,167,91,.25); }

.doctor-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity .3s;
}

.doctor-info-bar {
  padding: 18px 22px;
  background: rgba(7,25,39,.97);
  border-top: 1px solid rgba(200,167,91,.18);
}
.doctor-name {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}
.doctor-role {
  font-size: .77rem;
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin: 0;
}

/* ─── HERO CHART CARD ───────────────────────────────────── */
.hero-chart-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(160deg, rgba(15,42,68,.82), rgba(7,25,39,.95));
  border: 1px solid rgba(200,167,91,.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 24px 70px rgba(0,0,0,.55),
    0 0 0 1px rgba(200,167,91,.1),
    inset 0 1px 0 rgba(255,255,255,.05);
}

/* Linha dourada topo */
.hcc-top-glow {
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 40%, var(--gold-light) 60%, transparent 95%);
  opacity: .9;
}

/* Cabeçalho */
.hcc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(200,167,91,.12);
  position: relative;
}
.hcc-header-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(200,167,91,.15);
  border: 1px solid rgba(200,167,91,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.hcc-title {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .5px;
  margin: 0;
}
.hcc-subtitle {
  font-size: .68rem;
  color: rgba(255,255,255,.5);
  margin: 2px 0 0;
  letter-spacing: .3px;
}

/* Dot "ao vivo" pulsante */
.hcc-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: livePulse 2s ease infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  70%  { box-shadow: 0 0 0 7px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Área do gráfico SVG */
.hcc-chart-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 16px 22px 12px;
}
.hcc-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2px;
  width: 34px;
  flex-shrink: 0;
}
.hcc-y-axis span {
  font-size: .6rem;
  color: rgba(255,255,255,.35);
  font-family: var(--font-body);
  text-align: right;
  padding-right: 6px;
  line-height: 1;
}
.hcc-svg-box {
  flex: 1;
  position: relative;
}
.hcc-svg {
  width: 100%;
  height: 120px;
  display: block;
  overflow: visible;
}

/* Linhas de grade */
.hcc-grid {
  stroke: rgba(255,255,255,.06);
  stroke-width: 1;
}

/* Área preenchida (gradiente) */
.hcc-area {
  fill: url(#areaGrad);
  opacity: .6;
}

/* Linha principal */
.hcc-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  /* Animação de desenho da linha */
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawLine 1.8s cubic-bezier(.4,0,.2,1) .4s forwards;
  filter: drop-shadow(0 0 4px rgba(200,167,91,.5));
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Pontos nas extremidades */
.hcc-dot {
  opacity: 0;
  animation: dotAppear .3s ease forwards;
}
.hcc-dot--red  { fill: #ef4444; animation-delay: .4s; }
.hcc-dot--gold { fill: var(--gold); animation-delay: 2.1s; filter: drop-shadow(0 0 4px rgba(200,167,91,.8)); }
@keyframes dotAppear { to { opacity: 1; } }

/* Anéis pulsantes nos pontos */
.hcc-pulse {
  fill: none;
  stroke-width: 1.5;
  opacity: 0;
  animation: dotAppear .3s ease forwards, ringPulse 2s ease 2.4s infinite;
}
.hcc-pulse--red  { stroke: #ef4444; animation-delay: .4s, 2.4s; }
.hcc-pulse--gold { stroke: var(--gold); animation-delay: 2.1s, 2.4s; }
@keyframes ringPulse {
  0%   { r: 10; opacity: .6; }
  100% { r: 20; opacity: 0; }
}

/* Rótulos flutuantes no gráfico */
.hcc-tag {
  position: absolute;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  background: rgba(7,25,39,.85);
  border: 1px solid rgba(200,167,91,.2);
  border-radius: 6px;
  padding: 5px 9px;
  opacity: 0;
  animation: tagIn .4s ease forwards;
}
.hcc-tag--start { top: -4px;  left: 0;   animation-delay: .5s; }
.hcc-tag--end   { bottom: -6px; right: 0; animation-delay: 2.2s; }
@keyframes tagIn { to { opacity: 1; } }

.hcc-tag-val {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.hcc-tag-gold { color: var(--gold) !important; }
.hcc-tag-lab  {
  font-size: .58rem;
  color: rgba(255,255,255,.5);
  margin-top: 2px;
}

/* Barras comparativas */
.hcc-bars {
  padding: 4px 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hcc-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hcc-bar-lbl {
  font-size: .67rem;
  color: rgba(255,255,255,.55);
  width: 76px;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.hcc-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  overflow: hidden;
}
.hcc-bar {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.hcc-bar--before {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 6px rgba(239,68,68,.4);
}
.hcc-bar--after {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  box-shadow: 0 0 6px rgba(200,167,91,.4);
}
.hcc-bar-pct {
  font-size: .68rem;
  font-weight: 700;
  width: 32px;
  text-align: right;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.hcc-pct--before { color: #f87171; }
.hcc-pct--after  { color: var(--gold); }

/* Métricas rápidas */
.hcc-metrics {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 14px 22px;
  border-top: 1px solid rgba(200,167,91,.1);
  border-bottom: 1px solid rgba(200,167,91,.1);
}
.hcc-metric { text-align: center; }
.hcc-m-val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
  filter: drop-shadow(0 0 6px rgba(200,167,91,.4));
}
.hcc-m-lab {
  font-size: .62rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-body);
  letter-spacing: .5px;
}
.hcc-m-sep {
  width: 1px;
  height: 36px;
  background: rgba(200,167,91,.15);
}

/* Rodapé */
.hcc-footer {
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-body);
}
.hcc-footer i { color: var(--gold); font-size: .85rem; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(200,167,91,.45);
  border-radius: 14px;
  position: relative;
}
.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollAnim 1.6s ease infinite;
}
@keyframes scrollAnim {
  0%   { top: 5px; opacity: 1; }
  80%  { top: 18px; opacity: 0; }
  100% { top: 5px; opacity: 0; }
}

/* ─── 7. SERVIÇOS ───────────────────────────────────────────── */
.section-services {
  background: var(--gray-light);
  position: relative;
}
.section-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -52deg,
    transparent 0,
    transparent 50px,
    rgba(15,42,68,.025) 50px,
    rgba(15,42,68,.025) 52px
  );
  pointer-events: none;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px;
  height: 100%;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(15,42,68,.055);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(200,167,91,.2);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  background: rgba(200,167,91,.1);
  border: 1px solid rgba(200,167,91,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 18px;
  transition: background var(--ease), box-shadow var(--ease), color var(--ease);
}
.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--azul-deep);
  box-shadow: var(--sh-gold);
}

.service-title {
  font-family: var(--font-head);
  font-size: .95rem;
  color: var(--azul);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
}
.service-desc {
  font-size: .85rem;
  color: var(--gray-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}
.service-sep {
  height: 1px;
  background: var(--gray-border);
  margin-bottom: 14px;
}
.service-cta {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease), color var(--ease);
}
.service-cta:hover { color: var(--gold-dark); gap: 9px; }

/* ─── 8. SOBRE ──────────────────────────────────────────────── */
.section-about { background: var(--white); overflow: hidden; }

.about-visual {
  position: relative;
  padding-bottom: 50px;
}
.about-accent-corner {
  position: absolute;
  top: 16px;
  left: -18px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, rgba(200,167,91,.13), rgba(15,42,68,.08));
  border-radius: var(--radius);
  border: 2px solid rgba(200,167,91,.18);
}
.about-img-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--azul), var(--azul-deep));
  min-height: 320px;
}
.about-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-placeholder i { font-size: 90px; color: rgba(200,167,91,.22); }
.about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .3s;
}
.about-float-badge {
  position: absolute;
  bottom: 0;
  right: -16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--sh-lg);
  text-align: center;
  border: 1px solid rgba(200,167,91,.18);
  z-index: 2;
  font-size: .88rem;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 18px;
}
.about-body {
  font-size: .93rem;
  line-height: 1.85;
  color: #4b5563;
  margin-bottom: 20px;
}
.about-highlight-box {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(200,167,91,.08), rgba(15,42,68,.04));
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.about-highlight-box p { font-size: .97rem; color: var(--azul); }

.pillar-item {
  display: flex;
  align-items: center;
  font-size: .88rem;
  color: #374151;
  font-weight: 500;
  padding: 6px 0;
}

/* ─── 9. DIFERENCIAIS ───────────────────────────────────────── */
.section-diferenciais {
  background: var(--gray-light);
  position: relative;
}
.section-diferenciais::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -52deg,
    transparent 0,
    transparent 75px,
    rgba(15,42,68,.022) 75px,
    rgba(15,42,68,.022) 77px
  );
  pointer-events: none;
}

.dif-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  height: 100%;
  text-align: center;
  box-shadow: var(--sh-sm);
  border: 1px solid rgba(15,42,68,.05);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.dif-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(200,167,91,.22);
}
.dif-icon {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, var(--azul), var(--azul-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.45rem;
  color: var(--gold);
  box-shadow: 0 4px 14px rgba(15,42,68,.28);
  transition: background var(--ease), color var(--ease), box-shadow var(--ease);
}
.dif-card:hover .dif-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--azul-deep);
  box-shadow: var(--sh-gold);
}
.dif-card h4 {
  font-size: .92rem;
  color: var(--azul);
  margin-bottom: 8px;
  font-weight: 600;
}
.dif-card p {
  font-size: .82rem;
  color: var(--gray-mid);
  line-height: 1.72;
  margin: 0;
}

/* Timeline */
.timeline-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--sh-md);
  border: 1px solid rgba(15,42,68,.06);
}
.timeline-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.timeline-step  { flex: 1; min-width: 200px; text-align: center; }
.timeline-num {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.timeline-body  { padding: 0 18px; }
.timeline-ico {
  font-size: 2rem;
  color: var(--azul);
  display: block;
  margin-bottom: 10px;
}
.timeline-body h4 {
  font-size: .95rem;
  color: var(--azul);
  margin-bottom: 8px;
}
.timeline-body p {
  font-size: .82rem;
  color: var(--gray-mid);
  line-height: 1.7;
}
.timeline-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  padding-top: 60px;
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .timeline-steps  { flex-direction: column; align-items: center; gap: 24px; }
  .timeline-arrow  { transform: rotate(90deg); padding-top: 0; }
  .timeline-wrapper{ padding: 36px 20px; }
}

/* ─── 10. DEPOIMENTOS ───────────────────────────────────────── */
.section-testimonials { background: var(--white); overflow: hidden; }

.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
}
.testimonial-slide { min-width: 100%; padding: 8px 16px; }

.testimonial-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 46px 48px;
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid rgba(15,42,68,.06);
  box-shadow: var(--sh-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 34px;
  font-size: 72px;
  color: var(--gold);
  opacity: .25;
  font-family: Georgia, serif;
  line-height: 1;
}

.t-stars {
  color: var(--gold);
  display: flex;
  gap: 3px;
  font-size: .95rem;
  margin-bottom: 14px;
}
.t-text {
  font-size: .97rem;
  color: #374151;
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 22px;
  padding-left: 10px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-border);
}
.t-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--azul-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.t-author strong {
  display: block;
  font-size: .88rem;
  color: var(--azul);
  font-family: var(--font-head);
}
.t-author span {
  font-size: .76rem;
  color: var(--gray-mid);
}

/* Controles slider */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.t-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}
.t-btn:hover { background: var(--gold); color: var(--azul-deep); }

.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(15,42,68,.2);
  cursor: pointer;
  transition: all var(--ease);
}
.t-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

@media (max-width: 575px) {
  .testimonial-card { padding: 30px 22px; }
  .testimonial-card::before { font-size: 50px; }
}

/* ─── 11. CTA FINAL ─────────────────────────────────────────── */
.section-cta {
  position: relative;
  background: var(--azul-deep);
  overflow: hidden;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(7,25,39,.98), rgba(15,42,68,.88));
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -52deg,
    transparent 0,
    transparent 60px,
    rgba(200,167,91,.05) 60px,
    rgba(200,167,91,.05) 62px
  );
}
.cta-inner    { position: relative; z-index: 1; }
.cta-gem-icon { font-size: 2.2rem; color: var(--gold); opacity: .75; display: block; margin-bottom: 18px; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 18px;
}
.cta-subtitle {
  font-size: .97rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 34px;
}

/* ─── 12. FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--azul-deep);
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(200,167,91,.14);
}
.footer-top { padding: 68px 0 48px; }
.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.footer-desc {
  font-size: .85rem;
  line-height: 1.82;
  color: rgba(255,255,255,.58);
  margin-bottom: 22px;
}
.footer-contacts { display: flex; flex-direction: column; gap: 10px; }
.fcontact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.68);
  text-decoration: none;
  transition: color var(--ease);
}
.fcontact-item:hover { color: var(--gold); }
.fcontact-item i { color: var(--gold); width: 18px; font-size: .97rem; flex-shrink: 0; }

.footer-heading {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,167,91,.18);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: .83rem;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--ease), padding-left var(--ease);
}
.footer-links a::before { content: '›'; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.055);
}
.footer-bottom p { color: rgba(255,255,255,.42); }

/* ─── 13. BOTÕES FLUTUANTES ─────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white) !important;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(37,211,102,.55);
  animation: pulseWA 2.8s ease infinite;
  transition: transform var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulseWA {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,.55); }
  50%      { box-shadow: 0 4px 28px rgba(37,211,102,.8), 0 0 0 10px rgba(37,211,102,.1); }
}

.back-to-top {
  position: fixed;
  bottom: 98px;
  right: 28px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--azul);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease), background var(--ease), color var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover   { background: var(--gold); color: var(--azul-deep); }

/* ─── 14. ANIMAÇÕES DE SCROLL ───────────────────────────────── */
.animate-fade-up {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-fade-left {
  opacity: 0;
  transform: translateX(-38px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-fade-right {
  opacity: 0;
  transform: translateX(38px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-fade-up.visible,
.animate-fade-left.visible,
.animate-fade-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ─── 15. RESPONSIVO ────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-right { padding-top: 20px; }
  .about-float-badge { right: 0; }
  .about-accent-corner { display: none; }
}

@media (max-width: 767px) {
  .py-section   { padding: 70px 0; }
  .hero-section { padding-top: 80px; }
  .hero-title   { font-size: 1.75rem; }
  .doctor-photo-wrapper { height: 300px; }
  .hero-stats   { gap: 0; }
  .stat-number  { font-size: 1.75rem; }
  .whatsapp-float, .back-to-top { right: 16px; }
  .whatsapp-float { bottom: 16px; width: 50px; height: 50px; font-size: 1.5rem; }
  .back-to-top  { bottom: 80px; }
}

@media (max-width: 479px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-gold,
  .hero-buttons .btn-outline-gold { width: 100%; justify-content: center; }
  .timeline-wrapper { padding: 28px 16px; }
}


/* ============================================================
   PAGE BANNER — topo padrão das páginas internas
   Usado em: equipe, contato (e qualquer futura página)
============================================================ */
.page-banner {
  position: relative;
  background: var(--azul-deep);
  padding: 160px 0 80px;
  overflow: hidden;
  text-align: center;
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(7,25,39,.97), rgba(15,42,68,.88));
}

.page-banner-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -52deg,
      transparent 0, transparent 58px,
      rgba(200,167,91,.045) 58px, rgba(200,167,91,.045) 60px
    );
  pointer-events: none;
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1.2;
  margin: 10px 0 14px;
}

.page-banner-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ============================================================
   SEÇÃO DE CONTATO — layout split premium
============================================================ */
.section-contact {
  display: block;
  overflow: hidden;
}

/* Grid split: painel escuro | card branco */
.ct-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  min-height: 680px;
}

/* ── Painel esquerdo (azul escuro com padrão) ── */
.ct-panel {
  background: var(--azul-escuro);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ct-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -52deg,
      rgba(200,167,91,.05) 0px,
      rgba(200,167,91,.05) 1px,
      transparent 1px,
      transparent 44px
    );
  pointer-events: none;
}

/* decoração circular */
.ct-panel::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(200,167,91,.10);
  bottom: -120px;
  left: -100px;
  pointer-events: none;
}

.ct-panel-inner {
  position: relative;
  z-index: 1;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
}

.ct-panel-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin: 14px 0 16px;
}

.ct-panel-sub {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 36px;
}

/* Lista de informações de contato */
.ct-info-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background var(--ease);
}

a.ct-info-item:hover {
  background: rgba(200,167,91,.08);
}

.ct-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(200,167,91,.12);
  border: 1px solid rgba(200,167,91,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--gold);
  flex-shrink: 0;
}

.ct-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-info-text strong {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.ct-info-text:not(a *) {
  color: rgba(255,255,255,.75);
}

.ct-info-item span.ct-info-text,
a.ct-info-item .ct-info-text {
  font-size: .875rem;
  color: rgba(255,255,255,.78);
}

.ct-wa-btn {
  align-self: flex-start;
  padding: 14px 28px;
  font-size: .9rem;
}

/* ── Painel direito (card claro) ── */
.ct-form-side {
  background: #f7f6f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}

.ct-form-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(0,0,0,.04),
    0 20px 60px rgba(15,42,68,.10);
  padding: 44px 40px;
  width: 100%;
  max-width: 560px;
}

/* Cabeçalho do card */
.ct-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ede9df;
}

.ct-form-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ct-form-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin: 0 0 2px;
}

.ct-form-subtitle {
  font-size: .78rem;
  color: #9a9186;
  margin: 0;
}

/* Campos do formulário */
.cf-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.cf-row-2 .cf-group { margin-bottom: 0; }

.cf-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6b6259;
}

.cf-req { color: var(--gold); }

.cf-input {
  background: #faf9f7;
  border: 1.5px solid #e2ddd5;
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--azul-escuro);
  font-size: .9rem;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  width: 100%;
}

.cf-input::placeholder { color: #b8b0a5; }

.cf-input:focus {
  border-color: var(--gold);
  background: #fffdf6;
  box-shadow: 0 0 0 3px rgba(200,167,91,.14);
}

.cf-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #faf9f7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8A75B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.cf-select option { background: #ffffff; color: var(--azul-escuro); }

.cf-textarea { resize: vertical; min-height: 110px; }

/* Botão submit */
.cf-submit {
  width: 100%;
  padding: 14px;
  margin-top: 4px;
  background: linear-gradient(135deg, #C8A75B, #b8943d);
  color: var(--azul-deep);
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .06em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(200,167,91,.35);
}

.cf-submit:hover {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(200,167,91,.45);
}

.cf-submit:active { transform: translateY(0); }
.cf-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* Alert */
.cf-alert {
  border-radius: 10px;
  padding: 13px 16px;
  font-size: .875rem;
  font-weight: 500;
  margin-top: 12px;
}

.cf-alert.cf-success {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.cf-alert.cf-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ── Responsivo ── */
@media (max-width: 1100px) {
  .ct-wrap { grid-template-columns: 360px 1fr; }
  .ct-panel-inner { padding: 52px 36px; }
  .ct-panel-title { font-size: 1.7rem; }
}

@media (max-width: 900px) {
  .ct-wrap { grid-template-columns: 1fr; }
  .ct-panel { min-height: auto; }
  .ct-panel-inner { padding: 52px 32px; }
  .ct-panel::after { display: none; }
  .ct-form-side { padding: 48px 24px; }
  .ct-form-card { padding: 32px 28px; }
}

@media (max-width: 560px) {
  .cf-row-2 { grid-template-columns: 1fr; }
  .ct-form-card { padding: 28px 20px; }
}


/* ============================================================
   BANNER LGPD / CONSENT MODE V2
============================================================ */
.cr-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 760px;
  margin: 0 auto;
  background: #0F2A44;
  color: #fff;
  border: 1px solid rgba(200, 167, 91, .35);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  padding: 18px 22px;
  font-family: var(--font-body, 'Montserrat', system-ui, sans-serif);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease;
}
.cr-consent.is-open {
  opacity: 1;
  transform: translateY(0);
}
.cr-consent-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cr-consent-text {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
  flex: 1 1 280px;
  color: rgba(255, 255, 255, .9);
}
.cr-consent-text strong {
  color: #C8A75B;
  font-weight: 600;
}
.cr-consent-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
.cr-consent-btn {
  border: 0;
  border-radius: 8px;
  padding: 9px 20px;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: filter .2s ease, transform .15s ease, background .2s ease;
}
.cr-consent-btn:hover { transform: translateY(-1px); }
.cr-consent-btn--gold {
  background: #C8A75B;
  color: #0F2A44;
}
.cr-consent-btn--gold:hover { filter: brightness(1.08); }
.cr-consent-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
}
.cr-consent-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
@media (max-width: 560px) {
  .cr-consent { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cr-consent-actions { width: 100%; }
  .cr-consent-btn { flex: 1; }
}


/* ============================================================
   FOOTER — LINKS LEGAIS
============================================================ */
.footer-legal-links {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  font-size: .82rem;
}
.footer-legal-links li {
  display: flex;
  align-items: center;
}
.footer-legal-links li + li::before {
  content: '·';
  margin: 0 12px;
  opacity: .45;
}
.footer-legal-links a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal-links a:hover {
  color: var(--gold, #C8A75B);
  text-decoration: underline;
}


/* ============================================================
   PÁGINAS LEGAIS — Política de Privacidade / Termos de Uso
============================================================ */
.legal-section {
  background: #fff;
  padding: 70px 0 90px;
}
.legal-doc {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--font-body, 'Montserrat', system-ui, sans-serif);
  color: #2b3340;
  line-height: 1.75;
  font-size: 1rem;
}
.legal-doc p,
.legal-doc ul {
  margin: 0 0 18px;
}
.legal-meta {
  display: inline-block;
  background: rgba(200, 167, 91, .12);
  color: #8a7038;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .85rem;
  margin-bottom: 24px !important;
  border-left: 3px solid var(--gold, #C8A75B);
}
.legal-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #41495a;
  border-left: 3px solid var(--gold, #C8A75B);
  padding: 4px 0 4px 18px;
  margin-bottom: 36px !important;
  background: linear-gradient(90deg, rgba(200, 167, 91, .04), transparent);
}
.legal-h2 {
  font-family: var(--font-head, 'Cinzel', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--azul-escuro, #0F2A44);
  margin: 42px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(200, 167, 91, .25);
  position: relative;
}
.legal-h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--gold, #C8A75B);
}
.legal-doc .legal-list {
  list-style: none;
  padding-left: 0;
}
.legal-doc .legal-list li {
  position: relative;
  padding: 4px 0 4px 26px;
}
.legal-doc .legal-list li::before {
  content: '\f26b';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--gold, #C8A75B);
  font-size: .9rem;
}
.legal-doc a {
  color: var(--azul-escuro, #0F2A44);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(200, 167, 91, .55);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.legal-doc a:hover {
  color: var(--gold, #C8A75B);
}
.legal-doc strong {
  color: var(--azul-escuro, #0F2A44);
}
@media (max-width: 640px) {
  .legal-section { padding: 50px 0 60px; }
  .legal-doc { font-size: .96rem; }
  .legal-h2 { font-size: 1.18rem; margin-top: 32px; }
}


/* ============================================================
   FOOTER — LINHA LEGAL (abaixo dos créditos)
============================================================ */
.footer-legal-line {
  margin: 10px 0 0;
  text-align: center;
  font-size: .76rem;
  color: rgba(255, 255, 255, .38);
  letter-spacing: .02em;
}
.footer-legal-line a,
.footer-legal-line .cr-consent-trigger {
  color: rgba(255, 255, 255, .38);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal-line a:hover,
.footer-legal-line .cr-consent-trigger:hover {
  color: var(--gold, #C8A75B);
}
.footer-legal-line [aria-hidden] {
  margin: 0 8px;
  opacity: .5;
}

/* Botão "Gerenciar Cookies" — parece link, sem estilo de botão */
.cr-consent-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
  line-height: inherit;
  vertical-align: baseline;
}
.cr-consent-trigger:focus-visible {
  outline: 2px solid var(--gold, #C8A75B);
  border-radius: 2px;
}
