/* ===== IDV (manual Stefan Welkovic Junior): paleta de cores e tipografia =====
   Tipografia do manual: Remixa (display/título) + texto sem serifa.
   Remixa não está no Google Fonts; uso Plus Jakarta Sans como alternativa.
   Cores: substitua pelos hex da paleta do PDF (p. Paleta de cores) se tiver. */
:root {
  --primary: #0F4C5C;
  --accent: #B87333;
  --bg: #FAFAF9;
  --bg-card: #fff;
  --text: #1a1a1a;
  --text-muted: #555;
  --font: 'Plus Jakarta Sans', system-ui, Arial, sans-serif;
  --base-size: 18px;
  --line-height: 1.6;
  --space: 1.5rem;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--base-size);
  line-height: var(--line-height);
  color: var(--text);
  background: var(--bg);
}

.container { max-width: 900px; margin: 0 auto; padding: 0 var(--space); }
.container-wide { max-width: 1000px; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.logo-img {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 768px) {
  .logo-img {
    height: 32px;
  }
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(15,76,92,0.08);
}
.nav-cta { color: var(--accent); font-weight: 600; }
.nav-cta:hover { background: rgba(184,115,51,0.12); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.menu-toggle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 -7px 0 var(--primary), 0 7px 0 var(--primary);
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; position: relative; }
  .nav { display: none; }
  .nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: var(--shadow);
  }
  .nav-list { flex-direction: column; padding: 1rem; }
}

/* Imagens responsivas (bordas suaves, sem sobrecarregar o layout) */
.hero-img,
.sobre-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
}
.hero .container { max-width: 1100px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,76,92,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
  .hero-content { flex: 1; min-width: 0; }
  .hero-img-wrap {
    flex: 0 0 42%;
    max-width: 480px;
  }
}
.hero-content { position: relative; }
.hero-img-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 640px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9a6230; }
.btn-hero,
.btn-large {
  padding: 1rem 2rem;
  font-size: 1.15rem;
  min-height: 56px;
}

/* Sections */
.section { padding: 4rem 0; scroll-margin-top: 5rem; }
.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0 0 2rem;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.cards { display: grid; gap: 2rem; }
@media (min-width: 700px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
.cards-4 { gap: 1.75rem; }
@media (min-width: 700px) {
  .cards-4 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 .card-destaque { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .cards-4 { grid-template-columns: repeat(5, 1fr); }
  .cards-4 .card-destaque { grid-column: 1 / -1; }
}
.card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-secundario {
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.card-secundario .card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.card-secundario .card-intro {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}
.card-destaque {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(184,115,51,0.06) 100%);
  box-shadow: 0 2px 16px rgba(15,76,92,0.08);
  padding: 2rem 2.5rem;
}
.card-destaque .card-title { font-size: 1.75rem; margin-bottom: 0.5rem; }
.card-subtitle-destaque {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.card-destaque .card-intro { margin-bottom: 1.5rem; }
.card-destaque .card-subtitle { margin-top: 0.5rem; }
.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--primary);
}
.card-intro { margin: 0 0 1.25rem; color: var(--text-muted); }
.card-subtitle { font-size: 1.1rem; margin: 0 0 0.5rem; font-weight: 600; color: var(--primary); }
.card-list { margin: 0 0 1rem; padding-left: 1.25rem; }
.card-cta { margin: 0; font-size: 1rem; }

/* Sobre */
.section-sobre .container { max-width: 1000px; }
.sobre-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .sobre-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .sobre-img-wrap {
    flex: 0 0 320px;
    max-width: 320px;
  }
  .sobre-content { flex: 1; min-width: 0; }
}
.sobre-img-wrap {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
}
.section-sobre .sobre-content { text-align: justify; }
.sobre-nome {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.2rem;
}
.sobre-cargo {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 0.15rem;
}
.sobre-crm {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
}
.sobre-texto-pessoal { margin-top: 0; }
.sobre-list { margin: 0 0 1.5rem; padding-left: 1.25rem; }
.sobre-list li { margin-bottom: 0.5rem; }
.sobre-text { margin: 0 0 1.25rem; max-width: 640px; color: var(--text-muted); }
.sobre-cv-btn { margin-top: 0.25rem; }

/* Página de currículo */
.cv-page-main {
  padding-top: 6.5rem;
}
.section-cv .container {
  max-width: 1100px;
}
.cv-subtitle {
  margin: -1rem 0 2rem;
  color: var(--text-muted);
  max-width: 760px;
}
.cv-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .cv-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.cv-card {
  background: var(--bg-card);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.cv-card-destaque {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, rgba(184,115,51,0.06) 100%);
}
.cv-card-title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  color: var(--primary);
}
.cv-card-headline {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--primary);
}
.cv-list {
  margin: 0;
  padding-left: 1.1rem;
}
.cv-list li {
  margin-bottom: 0.65rem;
  color: var(--text-muted);
}
.cv-list-clean li {
  margin-bottom: 1rem;
}
.cv-ref,
.cv-desc {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}
.cv-ref {
  font-size: 0.93rem;
  line-height: 1.55;
}
.cv-meta {
  font-size: 0.93rem;
  color: var(--text-muted);
}
.cv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Experiência em */
.section-experiencia {
  background: #f5f4f2;
}
.experiencia-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 600px) {
  .experiencia-grid { grid-template-columns: repeat(4, 1fr); }
}
.experiencia-item {
  background: #fff;
  padding: 1.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0,0,0,0.04);
}
.experiencia-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15,76,92,0.12);
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, rgba(184,115,51,0.04) 100%);
}
.experiencia-item:hover .experiencia-icon {
  color: var(--accent);
}
.experiencia-icon {
  color: var(--primary);
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}
.experiencia-icon svg {
  width: 36px;
  height: 36px;
}
.experiencia-label {
  line-height: 1.4;
}
.experiencia-item-destaque {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff 0%, rgba(184,115,51,0.04) 100%);
  box-shadow: 0 2px 14px rgba(15,76,92,0.08);
}
.experiencia-item-destaque:hover {
  box-shadow: 0 8px 28px rgba(15,76,92,0.12);
}
.experiencia-item-destaque .experiencia-icon {
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .experiencia-item { transition: none; }
  .experiencia-item:hover { transform: none; }
}

/* Passos */
.passos { list-style: none; margin: 0; padding: 0; counter-reset: passo; }
.passo {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.passo-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
}

/* FAQ */
.faq { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.faq-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 1.5rem;
}
.faq-list { margin: 0; padding: 0; }
.faq-item { margin-bottom: 1.5rem; }
.faq-q {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.5rem;
}
.faq-a {
  margin: 0;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Local */
.section-local .container { max-width: 1000px; }
.local-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .local-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }
  .local-content { flex: 1; min-width: 0; }
  .local-map-wrap { flex: 1; min-width: 0; min-height: 280px; }
}
.local-content { max-width: 100%; }
.local-locais {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.local-bloco {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.local-bloco:hover {
  background: rgba(15,76,92,0.03);
  border-color: rgba(15,76,92,0.2);
}
.local-bloco.is-active {
  border-left: 4px solid var(--accent);
  background: rgba(184,115,51,0.06);
}
.local-nome {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 0.25rem;
  line-height: 1.3;
}
.local-bloco .local-item { margin-bottom: 0.25rem; font-size: 0.9rem; line-height: 1.35; }
.local-bloco .local-item:last-child { margin-bottom: 0; }
.local-bloco a { color: var(--primary); font-weight: 500; }
.local-bloco a:hover { text-decoration: underline; }
.local-bloco-online { cursor: default; }
.local-item { margin-bottom: 1rem; }
.link-whatsapp { color: var(--primary); font-weight: 600; }
.local-btn-mapa { margin-bottom: 0.5rem; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: rgba(15,76,92,0.08); }
.local-aviso { margin-top: 1.5rem; font-size: 0.95rem; color: var(--text-muted); }
.btn-large { margin-top: 1rem; }
.local-map-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  min-height: 220px;
}
.local-map {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Agendar */
.section-agendar { text-align: center; }
.agendar-text { margin: 0 0 1rem; font-size: 1.2rem; }

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1rem;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-instagram:hover {
  opacity: 0.9;
  transform: scale(1.08);
}
.footer-instagram svg {
  width: 26px;
  height: 26px;
}
.footer-aviso { margin: 0 0 0.5rem; font-size: 0.95rem; opacity: 0.95; }
.footer-crm { margin: 0; font-size: 0.9rem; opacity: 0.85; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float::after {
  content: '';
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}
