/* ════════════════════════════════════════════════
   SISTEMA DE DESIGN — PlenaPsi
   Paleta: Marrom-terra + Verde-Sálvia
   ════════════════════════════════════════════════ */
:root {
  /* CORES */
  --verde:        #3D6B35;
  --verde-hover:  #2E5228;
  --verde-light:  #E8F0E4;

  --marrom:       #5C3A1E;
  --marrom-medio: #7A4F2E;
  --marrom-fundo: #2C1F14;
  --marrom-light: #F0E6DA;

  --bege:         #F5EFE6;
  --bege-borda:   #E0D2C3;
  --off-white:    #FAF6F0;
  --white:        #ffffff;

  --text:         #2C1F14;
  --text-soft:    #7A6558;
  --text-muted:   #A8947F;

  /* RAIOS */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-pill: 50px;

  /* ESPAÇAMENTO */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* TIPOGRAFIA */
  --fs-xs:   0.75rem;
  --fs-sm:   0.825rem;
  --fs-base: 0.9375rem;
  --fs-md:   1rem;
  --fs-lg:   1.125rem;

  /* SOMBRAS */
  --shadow:       0 2px 20px rgba(44,31,20,0.07);
  --shadow-hover: 0 8px 32px rgba(44,31,20,0.13);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bege);
}

img { max-width: 100%; }

button,
input,
textarea,
select {
  font: inherit;
}

/* ════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  height: 80px;
  background: rgba(250,246,240,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(92,58,30,0.10);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 16px rgba(44,31,20,0.09); }

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: 0.82; }

.nav-logo-svg {
  height: 58px;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--marrom); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: .55rem 1rem;
  border-radius: var(--r-pill);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--verde);
  background: var(--verde-light);
}

.nav-cta {
  background: var(--verde) !important;
  color: white !important;
  padding: .55rem 1.4rem !important;
  border-radius: var(--r-pill) !important;
  font-size: var(--fs-base) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  box-shadow: 0 3px 14px rgba(61,107,53,0.30) !important;
}
.nav-cta:hover {
  background: var(--verde-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 20px rgba(61,107,53,0.38) !important;
  color: white !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: var(--sp-1);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ════════════════════════════════════════════════
   TOKENS GLOBAIS DE SEÇÃO
   ════════════════════════════════════════════════ */
section { padding: clamp(3.5rem, 7vw, 5.5rem) 5%; }
.container { max-width: 1100px; margin: 0 auto; }
body .container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.section-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.7;
  max-width: 560px;
}

.section-intro {
  max-width: 640px;
  margin-bottom: var(--sp-10);
}

.section-intro-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-intro-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

#pericia .section-title,
#sobre   .section-title  { color: #ffffff; }
#pericia .section-label  { color: rgba(255,255,255,0.45); }
#sobre   .section-label  { color: rgba(255,255,255,0.50); }
#pericia .section-subtitle { color: rgba(255,255,255,0.75); max-width: 100%; }

/* ════════════════════════════════════════════════
   BOTÕES GLOBAIS
   ════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--verde);
  color: white;
  padding: .7rem 1.7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(61,107,53,0.22);
}
.btn-primary:hover {
  background: var(--verde-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(61,107,53,0.28);
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--marrom);
  color: var(--marrom);
  padding: .7rem 1.7rem;
  border-radius: var(--r-pill);
  font-size: var(--fs-base);
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--marrom); color: white; }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
#home {
  padding-top: 140px;
  padding-bottom: var(--sp-12);
  background: linear-gradient(155deg, var(--verde-light) 0%, var(--bege) 55%);
  position: relative;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-waves svg {
  position: absolute;
  width: 160%;
  height: 100%;
  top: 0;
  left: -30%;
}

.wave-g1 { animation: waveDrift1 18s ease-in-out infinite; }
.wave-g2 { animation: waveDrift2 24s ease-in-out infinite; }
.wave-g3 { animation: waveDrift3 30s ease-in-out infinite; }
.wave-lines { animation: waveDrift1 20s ease-in-out infinite reverse; }

@keyframes waveDrift1 {
  0%, 100% { transform: translateX(0) scaleY(1); }
  30%       { transform: translateX(3%) scaleY(1.03); }
  60%       { transform: translateX(-2%) scaleY(0.97); }
}
@keyframes waveDrift2 {
  0%, 100% { transform: translateX(0) scaleY(1); }
  40%       { transform: translateX(-4%) scaleY(1.05); }
  70%       { transform: translateX(2%) scaleY(0.96); }
}
@keyframes waveDrift3 {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50%       { transform: translateX(2.5%) scaleY(1.04); }
}

/* ── ALTERAÇÃO 1: hero de uma coluna, centralizado ── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--verde-light);
  color: var(--verde);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
}
.hero-tag::before { content: '●'; font-size: .45rem; }

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--marrom-fundo);
  margin-bottom: var(--sp-5);
}
.hero-title em { font-style: italic; color: var(--verde); }

.hero-subtitle {
  font-size: var(--fs-md);
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-visual { display: none; }

/* ════════════════════════════════════════════════
   SERVIÇOS — ALTERAÇÃO 2: fundo bege-marrom quente
   ════════════════════════════════════════════════ */
#servicos { background: #EDE3D8; }

.services-header { margin-bottom: var(--sp-10); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  background: var(--off-white);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--bege-borda);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.service-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: var(--sp-5);
}

.service-card h3 {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--marrom);
  margin-bottom: var(--sp-2);
}
.service-card p { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.65; }

/* ════════════════════════════════════════════════
   PALESTRAS
   ════════════════════════════════════════════════ */
#palestras { background: var(--off-white); }

.palestras-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .95fr);
  gap: clamp(var(--sp-6), 4vw, var(--sp-10));
  align-items: stretch;
  max-width: 1040px;
  margin: var(--sp-10) auto 0;
}

.palestras-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  min-width: 0;
}

.format-cards { display: grid; gap: var(--sp-4); }

.format-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--bege-borda);
  box-shadow: var(--shadow);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  min-height: 136px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.format-card:hover {
  transform: translateY(-3px);
  border-color: rgba(122,79,46,0.25);
  box-shadow: var(--shadow-hover);
}

.format-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.format-card h4 { font-size: var(--fs-base); font-weight: 500; color: var(--marrom); margin-bottom: var(--sp-1); }
.format-card p  { font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.6; }

.topics-box {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  border: 1px solid var(--bege-borda);
  box-shadow: var(--shadow);
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topics-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--marrom);
  margin-bottom: var(--sp-5);
}

.topic-pill {
  display: inline-block;
  background: var(--verde-light);
  color: var(--verde);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: .3rem .75rem;
  border-radius: var(--r-pill);
  margin: .2rem;
  transition: background .2s, color .2s;
}
.topic-pill:hover { background: var(--verde); color: white; }

.topics-note {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--bege-borda);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-style: italic;
}

.topics-meta {
  margin-top: auto;
  padding-top: var(--sp-5);
}

.topics-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.topics-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.publicos-wrap { margin-top: 0; }
.publicos-title {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-3);
}
.publicos-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.publico-tag {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--marrom-light);
  color: var(--marrom);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: .35rem .9rem;
  border-radius: var(--r-pill);
}

.palestras-cta {
  display: flex;
  justify-content: flex-start;
}

/* ════════════════════════════════════════════════
   PERÍCIA
   ════════════════════════════════════════════════ */
#pericia {
  background: linear-gradient(155deg, var(--marrom-fundo) 0%, #3A2710 100%);
}

.pericia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: start;
}

.pericia-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.80);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-5);
}

.pericia-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}
.pericia-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.pericia-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: rgba(61,107,53,0.40);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  color: #a5d19a;
  margin-top: 2px;
}

.pericia-cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.pericia-info-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  transition: background .2s;
}
.pericia-info-card:hover { background: rgba(255,255,255,0.12); }

.pericia-info-card h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.pericia-info-card h4::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--verde);
  flex-shrink: 0;
}

.pericia-info-card p {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   SOBRE
   ════════════════════════════════════════════════ */
#sobre { background: var(--marrom-fundo); }

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-16);
  align-items: start;
}

.sobre-photo-placeholder {
  background: linear-gradient(145deg, var(--verde-light), var(--marrom-light));
  border-radius: var(--r-lg);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}

.crp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--verde-light);
  color: var(--verde);
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: .3rem .9rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
  letter-spacing: .02em;
}

.sobre-bio {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.88);
  line-height: 1.80;
  margin-top: var(--sp-4);
  font-weight: 300;
}

.formacoes { margin-top: var(--sp-6); }

.formacoes-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.60);
  margin-bottom: var(--sp-3);
}

.formacao-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.78);
}
.formacao-item:last-child { border-bottom: none; }

.formacao-year {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.42);
  min-width: 34px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.mvv-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  border-left: 3px solid #ffffff;
}
.mvv-card h5 {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-2);
}
.mvv-card p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
#faq { background: var(--off-white); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr);
  gap: clamp(var(--sp-6), 4vw, var(--sp-10));
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-heading {
  max-width: 1040px;
  margin: 0 auto var(--sp-6);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 100%;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--bege-borda);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(44,31,20,0.02);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.faq-item:hover,
.faq-item.open {
  border-color: rgba(122,79,46,0.25);
  box-shadow: 0 8px 26px rgba(44,31,20,0.08);
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--marrom);
  gap: var(--sp-4);
  user-select: none;
  transition: background .22s ease, color .22s ease;
}
.faq-q:hover { background: rgba(245,239,230,0.72); }

.faq-arrow {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--verde-light);
  color: var(--verde);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem;
  transition: transform .28s ease, background .22s ease, color .22s ease;
}
.faq-item.open .faq-arrow {
  background: var(--verde);
  color: white;
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 var(--sp-5);
  max-height: 0;
  overflow: hidden;
  transition: max-height .36s ease, padding .28s ease;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 var(--sp-5) var(--sp-5); }

.faq-cta {
  background: var(--white);
  border: 1px solid var(--bege-borda);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow);
}
.faq-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--marrom);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
}
.faq-cta p { font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: var(--sp-6); line-height: 1.7; }

.faq-whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 44px;
  padding: .72rem 1.25rem;
  border-radius: var(--r-pill);
  background: var(--verde);
  color: white;
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: 0 5px 18px rgba(61,107,53,0.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq-whatsapp-link:hover {
  background: var(--verde-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,107,53,0.32);
}

.faq-values {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--bege-borda);
}

.faq-values-title {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.faq-values-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

/* ════════════════════════════════════════════════
   CONTATO
   ════════════════════════════════════════════════ */
#contato { background: var(--verde-light); }

.contato-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

#contato .section-label {
  color: #2f1b10;
  font-weight: 600;
  opacity: .78;
}

#contato .section-title {
  color: #2f1b10;
}

#contato p {
  font-size: var(--fs-md);
  color: #3b2416;
  line-height: 1.7;
  margin-top: var(--sp-3);
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  font-weight: 400;
}

.contato-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  max-width: 480px;
  margin: var(--sp-8) auto 0;
}

.contato-options > a,
.contato-options button,
.contato-btn,
.contact-button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-4);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  padding: 1rem 1.35rem;
  text-align: left;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  box-shadow: 0 5px 20px rgba(44,31,20,0.10);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}

.contato-options > a {
  color: white;
}

.contato-btn:visited,
.contact-button:visited {
  text-decoration: none;
}

.contato-options > a:visited,
.contato-options > a:hover,
.contato-options > a:focus {
  text-decoration: none;
}

.contato-options button {
  font-family: inherit;
}

.contato-options > a i,
.contato-options button i,
.contato-btn i,
.contact-button i {
  width: 34px;
  min-width: 34px;
  text-align: center;
  font-size: 1.45rem;
}

.contato-options > a > div,
.contato-options button > div,
.contato-btn > div,
.contact-button > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contato-options > a span,
.contato-options button span,
.contato-btn span,
.contact-button span {
  font-size: var(--fs-base);
  font-weight: 600;
  color: inherit;
}

.contato-options > a small,
.contato-options button small,
.contato-btn small,
.contact-button small {
  font-size: var(--fs-xs);
  color: inherit;
  opacity: .84;
  word-break: break-word;
}

.contato-options > a:hover,
.contato-options button:hover,
.contato-btn:hover,
.contact-button:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(44,31,20,0.16);
}

.contato-options > a[href*="wa.me"],
.contato-btn.whats,
.contact-button-whatsapp {
  background: #198754;
  color: white;
}
.contato-options > a[href*="wa.me"]:hover,
.contato-btn.whats:hover,
.contact-button-whatsapp:hover {
  background: #146c43;
  color: white;
}

.contato-options button,
.contato-btn.email,
.contact-button-email {
  background: var(--white);
  color: #2f1b10;
  border-color: rgba(92,58,30,0.18);
}
.contato-options button:hover,
.contato-btn.email:hover,
.contact-button-email:hover {
  background: #f4f8f0;
  color: #2f1b10;
  border-color: rgba(61,107,53,0.28);
}

.contato-options > a[href*="instagram"],
.contato-btn.insta,
.contact-button-instagram {
  background: #dc3545;
  color: white;
}
.contato-options > a[href*="instagram"]:hover,
.contato-btn.insta:hover,
.contact-button-instagram:hover {
  background: #bb2d3b;
  color: white;
}

.contato-foto {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--bege-borda);
  box-shadow: var(--shadow);
  background: var(--white);
}
.contato-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.email-btn-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.email-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  transform: translateY(-50%);
  background: var(--marrom);
  color: white;
  font-size: var(--fs-xs);
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 10;
}
.email-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: var(--marrom);
}
.email-tooltip.show { opacity: 1; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
footer {
  background: var(--marrom-fundo);
  color: rgba(255,255,255,0.62);
  padding: var(--sp-16) 5% var(--sp-8);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, .9fr) minmax(170px, .9fr) minmax(260px, 1.35fr);
  gap: clamp(var(--sp-8), 5vw, var(--sp-16));
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: center;
}

.footer-brand {
  order: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  text-align: right;
}
.footer-brand img {
  width: clamp(260px, 24vw, 340px);
  height: auto;
  display: block;
  margin-bottom: 0;
  image-rendering: auto;
}
.footer-brand p { font-size: var(--fs-sm); line-height: 1.65; max-width: 260px; color: rgba(255,255,255,0.50); }

.footer-column {
  min-width: 0;
}

.footer-column-services {
  order: 1;
  justify-self: start;
}

.footer-column-links {
  order: 2;
  justify-self: start;
}

.footer-nav-title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,0.32);
  margin-bottom: var(--sp-4);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); padding: 0; margin: 0; }
.footer-links a { color: rgba(255,255,255,0.58); text-decoration: none; font-size: var(--fs-sm); transition: color .2s, transform .2s; display: inline-flex; }
.footer-links a:hover { color: white; }

.footer-bottom {
  max-width: 1100px;
  margin: var(--sp-6) auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.28);
}

/* ════════════════════════════════════════════════
   MOBILE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .palestras-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .topics-box,
  .faq-cta {
    height: auto;
  }

  .palestras-cta,
  .publicos-row,
  .topics-meta-row {
    justify-content: center;
  }

  .palestras-content,
  .topics-box,
  .faq-heading,
  .faq-cta {
    text-align: center;
  }

  .format-card {
    text-align: left;
  }

  .faq-values-row {
    justify-content: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    text-align: center;
  }

  .footer-brand,
  .footer-column-services,
  .footer-column-links {
    justify-self: center;
    align-items: center;
    text-align: center;
  }

  .footer-column-services { order: 1; }
  .footer-column-links { order: 2; }
  .footer-brand { order: 3; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--off-white);
    padding: var(--sp-6) 5%;
    box-shadow: var(--shadow);
    gap: var(--sp-4);
  }

  section { padding: var(--sp-10) 5%; }
  .hero-inner     { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .pericia-inner  { grid-template-columns: 1fr; }
  .palestras-grid { grid-template-columns: 1fr; }
  .sobre-inner    { grid-template-columns: 1fr; }
  .contato-inner  { grid-template-columns: 1fr; }
  .faq-grid       { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; }
  .mvv-grid       { grid-template-columns: 1fr; }
  .footer-brand img { width: clamp(220px, 70vw, 300px); }

  .services-header,
  .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .services-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .contato-btn,
  .contact-button {
    min-height: 64px;
    padding: .9rem 1rem;
  }

  .email-tooltip {
    top: auto;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
  }
  .email-tooltip::before {
    top: 100%;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    border-right-color: transparent;
    border-top-color: var(--marrom);
  }
}

/* ════════════════════════════════════════════════
   REVEAL ANIMATION
   ════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
