/* =========================
VARIÁVEIS GLOBAIS
Cores, sombras, medidas
========================= */
:root {
  --navy: #13284a;
  --navy-soft: #1b355f;
  --navy-deep: #0b1930;
  --gold: #c7a24a;
  --gold-soft: #d7b76f;
  --sand: #f4f0e9;
  --paper: #faf8f4;
  --white: #ffffff;
  --text: #1a2433;
  --muted: #5e6979;
  --line: rgba(19, 40, 74, 0.12);
  --line-gold: rgba(199, 162, 74, 0.45);
  --shadow-soft: 0 22px 50px rgba(11, 25, 48, 0.08);
  --shadow-medium: 0 24px 60px rgba(11, 25, 48, 0.14);
  --radius: 22px;
  --container: 1220px;
}

/* =========================
RESET / BASE
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f5ef 0%, #f3efe8 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.05;
}

p {
  margin: 0 0 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 56px), var(--container));
  margin: 0 auto;
}

/* =========================
ELEMENTOS GERAIS
========================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  color: var(--gold-soft);
  text-transform: uppercase;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

section {
  padding: 92px 0;
}

/* =========================
HEADER / MENU
========================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 25, 48, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 18%, var(--gold) 82%, transparent 100%);
  opacity: 0.85;
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  height: 40px;
  width: auto;
}

.menu {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: var(--white);
}

.menu a:hover::after {
  transform: scaleX(1);
}

/* =========================
LOGO HEADER
========================= */
.logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* =========================
HERO / PRIMEIRA DOBRA
========================= */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 24%, rgba(199, 162, 74, 0.18) 0%, rgba(199, 162, 74, 0.02) 28%, transparent 50%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 48%, var(--navy-soft) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 104px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.18;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 18%, var(--gold-soft) 50%, var(--gold) 82%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.9rem, 5.8vw, 4.9rem);
  max-width: 620px;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 680px;
  margin-bottom: 12px;
  line-height: 1.75;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  font-size: 0.94rem;
  line-height: 1.72;
}

.hero-lead strong,
.hero-copy strong {
  color: var(--gold-soft);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.hero-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.18));
}

/* =========================
BOTÕES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
  color: var(--navy-deep);
  box-shadow: 0 18px 40px rgba(199, 162, 74, 0.25);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.btn-secondary:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

/* =========================
SEÇÃO / TÍTULOS
========================= */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 38px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
}

.section-head p {
  max-width: 700px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =========================
ÁREAS DE ATUAÇÃO
========================= */
.areas {
  background: linear-gradient(180deg, #f7f3ed 0%, #f4efe8 100%);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  min-height: 280px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.7s ease forwards;
}

.card:nth-child(2) {
  animation-delay: 0.08s;
}

.card:nth-child(3) {
  animation-delay: 0.16s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-soft) 70%, transparent 100%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--line-gold);
}

.card:hover::before {
  opacity: 1;
}

.card--featured {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 250, 241, 0.88) 100%);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(199, 162, 74, 0.13) 0%, rgba(199, 162, 74, 0.08) 100%);
  border: 1px solid rgba(199, 162, 74, 0.26);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 22px;
}

.icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.card h3 {
  font-size: clamp(1.45rem, 1.8vw, 2rem);
  margin-bottom: 14px;
  min-height: 74px;
}

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.68;
  max-width: 320px;
}

/* =========================
SEÇÃO SOBRE
========================= */
.sobre {
  background: linear-gradient(180deg, #f3eee7 0%, #f8f5ef 100%);
}

.sobre-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 28px;
  align-items: start;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.about-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.78;
  margin-bottom: 16px;
}

.about-copy strong {
  color: var(--navy);
  font-weight: 700;
}

.about-quote {
  position: relative;
  margin: 28px 0 0;
  padding: 4px 0 4px 24px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.8;
  font-style: italic;
  font-weight: 500;
  border: 0;
}

.about-quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 100%);
  border-radius: 999px;
}

/* =========================
QUADROS À DIREITA / SOBRE
========================= */
.stats {
  display: grid;
  gap: 16px;
}

.stat {
  position: relative;
  padding: 24px 24px 20px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(11, 25, 48, 0.18);
  overflow: hidden;
}

.stat::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-soft) 40%, transparent 100%);
  opacity: 0.9;
}

.stat small {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.stat strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.22;
  margin-bottom: 6px;
}

.stat span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  line-height: 1.55;
}

/* =========================
CONTATO / SEM FORMULÁRIO
========================= */
.contact {
  background: linear-gradient(180deg, #f8f5ef 0%, #f1ebe2 100%);
}

.contact-card {
  padding: 28px 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: 0 28px 60px rgba(11, 25, 48, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-card-full {
  max-width: 100%;
}

.contact-card h2 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.72;
}

.calendar-box {
  margin-top: 26px;
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 162, 74, 0.18);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-item .icon {
  margin: 0;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(199, 162, 74, 0.28);
}

.contact-item .icon svg {
  color: var(--gold-soft);
}

.contact-item strong {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.contact-item span,
.contact-item a {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1.55;
}

/* =========================
REDES SOCIAIS / CONTATO
========================= */
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(199, 162, 74, 0.25);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.contact-social-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
  color: var(--gold-soft);
  flex: 0 0 auto;
}

.contact-social-link span {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
}

.contact-social-link:hover {
  transform: translateY(-2px);
  background: rgba(199, 162, 74, 0.08);
  border-color: rgba(199, 162, 74, 0.48);
  color: var(--white);
}

/* =========================
RODAPÉ
========================= */
footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #081325 100%);
  color: var(--white);
  padding: 68px 0 28px;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold-soft) 50%, var(--gold) 80%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.footer-brand p,
.footer-col a,
.footer-col li,
.footer-col span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 360px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 3px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) saturate(100%) invert(72%) sepia(32%) saturate(420%) hue-rotate(5deg) brightness(95%) contrast(92%);
  transition: filter 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.footer-item:hover .footer-icon {
  filter: brightness(0) saturate(100%) invert(80%) sepia(38%) saturate(480%) hue-rotate(6deg) brightness(105%) contrast(95%);
  transform: translateY(-1px);
  opacity: 1;
}

.footer-item a,
.footer-item span {
  color: rgba(255, 255, 255, 0.76);
}

.footer-item a:hover {
  color: var(--gold-soft);
}

/* =========================
ANIMAÇÕES
========================= */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
FORMULÁRIO HUBSPOT
========================= */
.lead-capture {
  background: #081325;
  padding: 80px 0;
  text-align: center;
}

.lead-capture h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.lead-capture p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hs-form-frame {
  max-width: 520px;
  margin: 0 auto;
}

/* =========================
RESPONSIVIDADE
========================= */
@media (max-width: 1180px) {
  .hero-grid,
  .sobre-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .hero-logo {
    max-width: 420px;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }

  .card h3 {
    min-height: auto;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .topbar {
    position: sticky;
    top: 0;
  }

  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0 14px;
    gap: 14px;
  }

  .brand img {
    height: 34px;
  }

  .menu {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
  }

  .menu a {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 4px 0;
  }

  .menu a::after {
    bottom: -6px;
  }

  .hero {
    padding: 92px 0 56px;
  }

  section {
    padding: 64px 0;
  }

  .hero-grid,
  .sobre-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    max-width: 100%;
    margin-bottom: 16px;
    line-height: 0.98;
  }

  .hero-lead,
  .hero-copy {
    font-size: 0.98rem;
    max-width: 100%;
    line-height: 1.7;
  }

  .hero-panel {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-head h2,
  .about-copy h2,
  .contact-card h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .section-head p,
  .about-copy p,
  .card p,
  .contact-card p {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .card,
  .contact-card {
    padding: 22px;
  }

  .card {
    min-height: auto;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-item {
    grid-template-columns: 50px 1fr;
    gap: 12px;
  }

  .icon,
  .contact-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .icon svg {
    width: 22px;
    height: 22px;
  }

  .about-quote {
    padding-left: 18px;
    font-size: 0.82rem;
  }

  .contact-social {
    flex-direction: column;
    gap: 12px;
  }

  .contact-social-link {
    width: 100%;
    justify-content: center;
  }

  footer {
    padding: 56px 0 24px;
  }