/* ===== Variáveis ===== */
:root {
  --blue: #185fa5;
  --blue-dark: #0c447c;
  --blue-mid: #378add;
  --blue-light: #e6f1fb;
  --orange: #e85d2f;

  --text: #1a1f29;
  --text-muted: #5b6573;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --border: #e3e8ef;

  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;

  --pad-x: 40px;
  --radius: 6px;
}

/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
ul, ol { list-style: none; }

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-primary { background: var(--blue); color: #fff; border: 1px solid var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-ghost:hover { background: var(--blue-light); }
.btn-white { background: #fff; color: var(--blue-dark); border: 1px solid #fff; }
.btn-white:hover { background: var(--blue-light); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline-white:hover { border-color: #fff; }

/* ===== Placeholder (dados a substituir) ===== */
.placeholder {
  background: #fff3cd;
  color: #7a5a00;
  padding: 0 4px;
  border-radius: 3px;
}

/* ===== Navegação ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad-x);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo { height: 44px; width: 44px; object-fit: contain; }
.logo { font-family: var(--font-serif); font-size: 18px; font-weight: 500; letter-spacing: 0.02em; }
.logo span { color: var(--orange); }
.logo--sm { font-size: 15px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.nav-links a:not(.btn):hover { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); }

/* ===== Hero ===== */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; align-items: stretch; }
.hero-left { padding: 60px var(--pad-x); align-self: center; }
.hero-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero-h1 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-h1 em { font-style: italic; color: var(--blue); }
.hero-sub { color: var(--text-muted); max-width: 400px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-right {
  background: var(--blue-dark);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.hero-right::before,
.hero-right::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}
.hero-right::before { top: -60px; right: -60px; width: 260px; height: 260px; }
.hero-right::after { bottom: -40px; left: -40px; width: 180px; height: 180px; }

.profile-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  width: 260px;
  position: relative;
  z-index: 1;
}
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-mid);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  object-fit: cover;
}
.profile-name { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.profile-title {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.profile-badge {
  background: rgba(55, 138, 221, 0.25);
  border: 1px solid rgba(55, 138, 221, 0.5);
  border-radius: 4px;
  padding: 8px 14px;
  color: #b5d4f4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== Destaques ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-block { padding: 24px var(--pad-x); border-right: 1px solid var(--border); }
.stat-block:last-child { border-right: none; }
.stat-block .num { font-family: var(--font-serif); font-size: 32px; color: var(--blue); line-height: 1.3; }
.stat-block .lbl { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ===== Seções ===== */
.section { padding: 56px var(--pad-x); }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 480px;
  margin-bottom: 36px;
}

/* ===== Serviços ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.service-card--wide { grid-column: span 2; }
.service-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius);
}
.service-icon svg { width: 18px; height: 18px; }
.service-card h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-muted); }

/* ===== Como funciona ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-number {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 8px;
}
.step h3 { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-muted); }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.about-left { padding: 52px var(--pad-x); border-right: 1px solid var(--border); }
.about-left p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.about-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}
.about-right { padding: 52px var(--pad-x); }
.about-right .section-tag { margin-bottom: 16px; }
.creds { display: flex; flex-direction: column; gap: 12px; }
.cred-item {
  position: relative;
  padding: 14px 16px 14px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
}
.cred-item::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}

/* ===== Chamada ===== */
.cta-section { background: var(--blue-dark); padding: 56px var(--pad-x); text-align: center; }
.cta-section h2 { font-family: var(--font-serif); font-size: 30px; font-weight: 500; color: #fff; margin-bottom: 12px; }
.cta-section p { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-bottom: 28px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ===== Contato ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-item { padding: 20px 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-item h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.contact-item p { font-size: 14px; }
.contact-item a { text-decoration: none; }

/* ===== Rodapé ===== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px var(--pad-x);
  border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo-img { height: 32px; width: 32px; object-fit: contain; }
.footer-copy { font-size: 12px; color: var(--text-muted); text-align: right; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: translateY(-2px); }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--pad-x) 24px;
  }
  .nav-menu.open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 16px; }
  .nav-links a:not(.btn) { font-size: 15px; }

  .hero, .about { grid-template-columns: 1fr; }
  .hero-right { min-height: 340px; }
  .about-left { border-right: none; border-bottom: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --pad-x: 16px; }

  .hero-left { padding-top: 40px; padding-bottom: 40px; }
  .hero-h1 { font-size: 28px; }
  .section-title, .cta-section h2 { font-size: 24px; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }

  .stats-bar { grid-template-columns: 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-block:last-child { border-bottom: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; }

  .footer { flex-direction: column; text-align: center; padding-bottom: 88px; }
  .footer-copy { text-align: center; }

  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 12px; }
}
