/* ==========================================================================
   Dr. Rafael Pignataro — Hebiatria · Medicina do Adolescente
   Direção: Soft Brutalism Médico (neobrutalismo light)
   Assinatura: bordas pretas grossas + sombras duras offset + tipografia-bloco
   No Mapa by Cajueiro.tech
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paleta da ficha — chapadas de alto contraste */
  --blue: #3A86FF;
  --yellow: #FFD23F;
  --coral: #FF6B6B;
  --lime: #B8F73E;        /* verde-lima pontual */
  --bg: #FFF8E7;          /* fundo creme quente */
  --ink: #111111;         /* preto puro — estrutura tudo */
  --paper: #FFFFFF;

  /* Brutalismo: borda + sombra */
  --bd: 3px;
  --bd-thin: 2px;
  --border: var(--bd) solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 0px;          /* cantos retos */

  /* Tipografia */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing fluido */
  --space-section: clamp(4rem, 9vw, 8rem);
  --container: 1180px;
  --pad-x: clamp(1.1rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  overflow-x: hidden;
  /* textura sutil de pontos pra dar energia gráfica sem poluir */
  background-image: radial-gradient(var(--ink) 0.6px, transparent 0.6px);
  background-size: 26px 26px;
  background-attachment: fixed;
}
@media (prefers-reduced-motion: no-preference) {
  body { background-attachment: scroll; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

::selection { background: var(--yellow); color: var(--ink); }

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- Tipografia-bloco: utilitários ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  padding: 0.35rem 0.7rem;
  border: var(--bd-thin) solid var(--ink);
  margin-bottom: 1.1rem;
}
.eyebrow--invert { background: var(--bg); color: var(--ink); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.section-title--invert { color: var(--bg); }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* Palavra-chave em bloco colorido — a tipografia É o elemento gráfico */
.mark {
  display: inline-block;
  padding: 0.02em 0.28em;
  border: var(--bd-thin) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  line-height: 1.1;
  transform: rotate(-1.2deg);
}
.mark--blue { background: var(--blue); color: var(--paper); }
.mark--yellow { background: var(--yellow); color: var(--ink); }
.mark--coral { background: var(--coral); color: var(--paper); }
.section-title--invert .mark { box-shadow: 3px 3px 0 var(--bg); border-color: var(--bg); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s ease;
  text-align: center;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--primary { background: var(--blue); color: var(--paper); }
.btn--ghost { background: var(--bg); }
.btn--nav {
  background: var(--yellow);
  color: var(--ink);
  padding: 0.55rem 1rem;
  min-height: 44px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-arrow { font-size: 1.2em; transition: transform 0.15s ease; }
.btn--primary:hover .btn-arrow { transform: translateX(4px); }

.btn--whats {
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.25rem);
  padding: 1.1rem 1.8rem;
  width: 100%;
  box-shadow: var(--shadow);
  margin-top: 0.5rem;
}
.btn--whats:hover { box-shadow: var(--shadow-lg); }

/* ==========================================================================
   NAV
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--bd) solid var(--ink);
  transition: box-shadow 0.2s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 0 -2px var(--ink); }

.nav-inner {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding: 0.7rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.7rem; }
.nav-logo-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.05;
  display: flex;
  flex-direction: column;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.7;
  margin-top: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links > li > a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.7rem;
  border: var(--bd-thin) solid transparent;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.nav-links > li > a:not(.btn):hover {
  border-color: var(--ink);
  background: var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  margin-inline: auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-top: clamp(2.5rem, 5vw, 4rem); }
.hero-grid {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--paper);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0.9rem;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 11px; height: 11px;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.3rem + 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: clamp(1.02rem, 0.97rem + 0.4vw, 1.2rem);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-sub strong { background: var(--yellow); padding: 0 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-cred {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 42ch;
}
.hero-cred-mark {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  background: var(--lime);
  border: 2px solid var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}

/* Visual com recorte geométrico + bloco de cor */
.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  z-index: 2;
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-lg);
  background: var(--blue);
  /* recorte geométrico duro */
  clip-path: polygon(0 0, 100% 4%, 96% 100%, 4% 96%);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-blob {
  position: absolute;
  z-index: 1;
  inset: auto -14px -18px auto;
  width: 70%;
  height: 70%;
  background: var(--coral);
  border: var(--bd) solid var(--ink);
  transform: rotate(4deg);
}

.hero-chip {
  position: absolute;
  z-index: 3;
  left: -16px;
  bottom: 24px;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 0.7rem 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.1;
  max-width: 12rem;
  transform: rotate(-3deg);
}
.hero-chip-big {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

/* Stickers que giram no hover */
.sticker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  background: var(--lime);
  color: var(--ink);
  border: var(--bd) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.4rem 0.7rem;
  display: inline-block;
  z-index: 5;
  transition: transform 0.25s ease;
}
.sticker--top {
  position: absolute;
  top: -14px; right: 8px;
  transform: rotate(6deg);
}
.hero-visual:hover .sticker--top { transform: rotate(-6deg) scale(1.06); }

/* Marquee de assuntos */
.marquee {
  border-top: var(--bd) solid var(--ink);
  border-bottom: var(--bd) solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 0.7rem 0;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.4rem);
  letter-spacing: 0.02em;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee-track .sep { color: var(--yellow); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.sobre { padding-block: var(--space-section); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.sobre-visual { position: relative; }
.sobre-photo {
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-lg);
  background: var(--yellow);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 96%);
  overflow: hidden;
  aspect-ratio: 5 / 6;
}
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker--rafa {
  position: absolute;
  bottom: -16px; left: -12px;
  background: var(--coral);
  color: var(--paper);
  transform: rotate(-4deg);
  z-index: 6;
}
.sobre-visual:hover .sticker--rafa { transform: rotate(4deg) scale(1.05); }

.sobre-text { margin-bottom: 1.1rem; max-width: 56ch; }
.sobre-text strong { background: var(--blue); color: var(--paper); padding: 0 0.18em; }

.cred-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0;
}
.cred-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.4rem 0.75rem;
  border: var(--bd-thin) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.cred-tag--blue { background: var(--blue); color: var(--paper); }
.cred-tag--yellow { background: var(--yellow); }
.cred-tag--coral { background: var(--coral); color: var(--paper); }
.cred-tag--lime { background: var(--lime); }

.sobre-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.3;
  background: var(--bg);
  border-left: 8px solid var(--coral);
  border-top: var(--bd-thin) solid var(--ink);
  border-right: var(--bd-thin) solid var(--ink);
  border-bottom: var(--bd-thin) solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.3rem;
  margin-top: 1.5rem;
}

/* ==========================================================================
   SERVIÇOS — bloco escuro de alto contraste
   ========================================================================== */
.servicos {
  padding-block: var(--space-section);
  background: var(--blue);
  color: var(--bg);
  border-block: var(--bd) solid var(--ink);
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}
.servico-card {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  outline: none;
}
.servico-card:hover,
.servico-card:focus-visible {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}
.servico-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  position: absolute;
  top: -14px; left: 16px;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.servico-fala {
  font-style: italic;
  font-size: 0.92rem;
  color: #444;
  border-left: 4px solid var(--coral);
  padding-left: 0.8rem;
  margin: 0.4rem 0 1rem;
}
.servico-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.servico-desc { font-size: 0.96rem; }

.servico-card--cta {
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
}
.servico-card--cta .servico-num { background: var(--lime); }
.servico-card--cta .servico-title { color: var(--bg); }
.servico-link {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--yellow);
  align-self: flex-start;
  border-bottom: 3px solid var(--yellow);
}
.servico-link:hover { color: var(--lime); border-color: var(--lime); }

/* ==========================================================================
   COMO FUNCIONA — timeline
   ========================================================================== */
.como { padding-block: var(--space-section); }
.steps {
  list-style: none;
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
}
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 1.3rem 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.step:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.step:nth-child(odd) { background: var(--bg); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.step:nth-child(1) .step-num { background: var(--blue); }
.step:nth-child(2) .step-num { background: var(--coral); }
.step:nth-child(3) .step-num { background: var(--yellow); color: var(--ink); }
.step:nth-child(4) .step-num { background: var(--lime); color: var(--ink); }
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.step-desc { max-width: 60ch; }

/* ==========================================================================
   DEPOIMENTOS — bloco coral
   ========================================================================== */
.depo {
  padding-block: var(--space-section);
  background: var(--coral);
  color: var(--ink);
  border-block: var(--bd) solid var(--ink);
}
.depo .eyebrow--invert { background: var(--bg); }
.depo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
}
.depo-card {
  position: relative;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.depo-card:hover { transform: translate(-4px, -4px) rotate(-0.6deg); box-shadow: var(--shadow-lg); }
.depo-card:nth-child(2) { transform: rotate(-1deg); }
.depo-card:nth-child(2):hover { transform: translate(-4px, -4px) rotate(0.6deg); }
.depo-quote-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4rem;
  line-height: 0.5;
  color: var(--blue);
  position: absolute;
  top: 18px; right: 18px;
  opacity: 0.85;
}
.depo-text { font-size: 1rem; margin-bottom: 1.4rem; }
.depo-foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
  border-top: var(--bd-thin) solid var(--ink);
  padding-top: 1rem;
}
.depo-avatar {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--blue);
  color: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.depo-avatar--yellow { background: var(--yellow); color: var(--ink); }
.depo-avatar--lime { background: var(--lime); color: var(--ink); }
.depo-meta {
  font-size: 0.85rem;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
}
.depo-meta strong { font-family: var(--font-display); font-size: 1rem; }

/* ==========================================================================
   FAQ — accordion
   ========================================================================== */
.faq { padding-block: var(--space-section); }
.faq-inner { width: min(820px, 100%); }
.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.12s ease, transform 0.12s ease;
}
.faq-item.active { box-shadow: var(--shadow); transform: translate(-2px, -2px); background: var(--bg); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.15rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  min-height: 56px;
}
.faq-icon {
  position: relative;
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--yellow);
  border: var(--bd-thin) solid var(--ink);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.faq-icon::before { width: 12px; height: 3px; }
.faq-icon::after { width: 3px; height: 12px; }
.faq-item.active .faq-icon { background: var(--coral); }
.faq-item.active .faq-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 1.3rem 1.3rem;
  font-size: 0.98rem;
}

/* ==========================================================================
   AGENDAMENTO / CTA
   ========================================================================== */
.agendar { padding-block: var(--space-section); }
.agendar-card {
  position: relative;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 5vw, 3.5rem);
}
.sticker--cta {
  position: absolute;
  top: -20px; right: clamp(1rem, 5vw, 3rem);
  background: var(--blue);
  color: var(--paper);
  font-size: 1rem;
  transform: rotate(8deg);
}
.agendar-card:hover .sticker--cta { transform: rotate(-8deg) scale(1.08); }
.agendar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.2rem + 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 16ch;
}
.agendar-sub { max-width: 54ch; margin-bottom: 2rem; font-size: 1.05rem; }

.invest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.invest-item {
  position: relative;
  background: var(--paper);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.invest-item:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.invest-item--featured { background: var(--ink); color: var(--bg); }
.invest-flag {
  position: absolute;
  top: -13px; left: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  background: var(--lime);
  color: var(--ink);
  border: var(--bd-thin) solid var(--ink);
  padding: 0.2rem 0.5rem;
}
.invest-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: var(--bd-thin) solid var(--ink);
  margin-bottom: 0.8rem;
}
.invest-tag--blue { background: var(--blue); color: var(--paper); }
.invest-tag--yellow { background: var(--yellow); color: var(--ink); }
.invest-tag--coral { background: var(--coral); color: var(--paper); }
.invest-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.invest-desc { font-size: 0.9rem; margin-bottom: 1.1rem; }
.invest-item--featured .invest-desc { color: #ddd; }
.invest-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: var(--bd-thin) dashed currentColor;
}

.agendar-local {
  margin-top: 1.2rem;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  border-top: var(--bd) solid var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-logo { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.footer-logo-text span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 2px;
}
.footer-tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  max-width: 28ch;
  color: var(--yellow);
}
.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--lime);
}
.footer-nav ul,
.footer-contact ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--yellow); text-decoration: underline; }
.footer-contact li { font-size: 0.95rem; opacity: 0.9; }

.footer-bottom { border-top: var(--bd-thin) solid #333; }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  padding-block: 1.2rem;
  font-size: 0.82rem;
  opacity: 0.85;
}
.footer-bottom a { color: var(--yellow); font-weight: 600; }

/* ==========================================================================
   WHATSAPP FAB
   ========================================================================== */
.whats-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  border: var(--bd) solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.whats-fab:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.whats-fab:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { max-width: 420px; margin-inline: auto; width: 100%; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-logo-sub { display: none; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82%, 320px);
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: var(--bg);
    border-left: var(--bd) solid var(--ink);
    padding: 5.5rem 1.4rem 2rem;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
    box-shadow: -8px 0 0 -2px var(--ink);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li > a:not(.btn) {
    display: block;
    border: var(--bd-thin) solid var(--ink);
    background: var(--paper);
    box-shadow: 3px 3px 0 var(--ink);
  }
  .nav-links > li > a:not(.btn):hover { background: var(--yellow); }
  .nav-links .btn--nav { width: 100%; margin-top: 0.4rem; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-chip { left: 0; }
  .sticker--rafa { left: 0; }
  .depo-card:nth-child(2) { transform: none; }
}
