/* =====================================================================
   PALETA – ajuste as cores aqui
   ===================================================================== */
:root {
  /* Paleta da identidade visual */
  --navy: #0E1C2B;        /* azul-noite – confiança */
  --gold: #B8956A;        /* dourado – excelência */
  --beige: #D9CFC1;       /* bege – equilíbrio */
  --gray: #C9CCCF;        /* cinza – modernidade */
  /* Derivadas (tons da própria paleta) */
  --navy-2: #0B1622;      /* rodapé (azul-noite mais fechado) */
  --navy-3: #13273A;      /* gradiente das seções escuras */
  --gold-hover: #A8845A;
  --gold-dark: #8C6F45;   /* dourado escurecido para texto em fundo claro (legibilidade) */
  --beige-light: #EFE9E1; /* bege clareado para fundos de seção */
  --text: #0E1C2B;
  --muted: #4F5B66;
  --white: #fff;
  --font-title: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Montserrat", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.gold { color: var(--gold); }
.gold-dark { color: var(--gold-dark); }
.ico { width: 20px; height: 20px; flex: none; }
.ico-lg { width: 44px; height: 44px; color: var(--gold); }
.center { text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2rem; }

/* ---------- Títulos de seção ---------- */
.section-title {
  font-size: clamp(1.6rem, 3.3vw, 2.35rem);
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.section-title.light { color: var(--white); }
.lead { text-align: center; max-width: 720px; margin: 0 auto 1rem; font-size: 1.05rem; }
.lead.light { color: var(--beige); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-wa { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(184,149,106,.35); letter-spacing: .02em; }
.btn-wa:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 12px 0;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(14,28,43,.08);
  transition: padding .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { padding: 8px 0; box-shadow: 0 4px 20px rgba(14,28,43,.14); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; }
.logo img { height: 68px; width: auto; }
.site-header.scrolled .logo img { height: 56px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.nav a:hover { color: var(--gold-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  background: url("assets/hero-bg.jpg") center/cover no-repeat, var(--navy);
  color: var(--white); overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,28,43,.92) 0%, rgba(14,28,43,.7) 45%, rgba(14,28,43,.25) 100%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 32px;
  padding-top: 130px;
}
.hero-text { padding-bottom: 90px; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 600; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.1rem; max-width: 520px; color: var(--beige); margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-photo { align-self: end; }
.hero-photo img {
  width: 100%; max-width: 470px; margin-inline: auto; display: block;
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 86%, transparent 100%);
}

/* ---------- Faixa de destaques ---------- */
.stats { background: var(--navy); color: var(--beige); padding: 28px 0; border-top: 1px solid rgba(184,149,106,.35); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.stats h2 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }

/* ---------- Sobre ---------- */
.about {
  background: linear-gradient(180deg, var(--navy-3) 0%, #0a1f2c 100%);
  color: var(--white); padding: 80px 0;
}
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; margin-top: 2.5rem; }
.about-grid.solo { grid-template-columns: minmax(0, 780px); justify-content: center; text-align: center; }
.about-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.about-text p { font-size: 1.05rem; color: var(--beige); }
.credentials {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 18px;
}
.credentials li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(184,149,106,.5);
  border-radius: 12px; padding: 18px 20px; font-weight: 500;
}
.credentials .ico { color: var(--gold); width: 26px; height: 26px; }

/* ---------- Protocolo ---------- */
.protocol { padding: 90px 0; background: var(--beige-light); }
.protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.5rem; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px 22px;
  box-shadow: 0 10px 30px rgba(14,28,43,.08); border-top: 3px solid var(--gold);
}
.card h3 { font-size: 1.1rem; font-weight: 600; color: var(--navy); margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; }
.card .ico-lg { color: var(--gold); }
.quote {
  font-family: var(--font-title); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  color: var(--navy); text-align: center; margin: 3rem auto 0; max-width: 820px;
}

/* ---------- Especialidades ---------- */
.expertise { background: var(--gray); padding: 90px 0; color: var(--navy); }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.5rem; }
.exp-card {
  background: rgba(255,255,255,.72); border-radius: var(--radius); padding: 30px 24px; min-height: 208px;
  border: 1px solid rgba(14,28,43,.08);
}
.exp-card h3 { font-size: 1.1rem; font-weight: 600; margin: 14px 0 8px; }
.exp-card p { color: var(--muted); margin: 0; }

/* ---------- Onde estamos ---------- */
.location { padding: 90px 0; background: var(--beige-light); }
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 520px)); gap: 32px; justify-content: center; margin-top: 2rem; }
.unit { text-align: center; }
.unit .pin { color: var(--gold); margin: 0 auto 10px; }
.unit h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(14,28,43,.12); border: 1px solid rgba(184,149,106,.4); }
.map iframe { display: block; }
.address { font-weight: 500; margin: 18px 0 20px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-2); color: var(--beige); padding: 50px 0 20px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 32px; align-items: start; }
.footer-brand img { height: 72px; width: auto; }
.site-footer h4 { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600; margin: 0 0 12px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.contact-list .ico { color: var(--gold); margin-top: 2px; }
.contact-list a { color: inherit; text-decoration: none; }
.contact-list a:hover { color: var(--white); }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; color: var(--white); transition: background .15s;
}
.social a:hover { background: var(--gold); color: var(--navy-2); border-color: var(--gold); }
.copyright { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(184,149,106,.3); text-align: center; font-size: .8rem; color: var(--gray); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.3);
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 60% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .wa-float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .protocol-grid, .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* espaço para o botão flutuante do WhatsApp não cobrir o texto final */
  .copyright { padding-bottom: 72px; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .logo img, .site-header.scrolled .logo img { height: 46px; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-text { padding-bottom: 20px; }
  .hero-photo img { max-width: 360px; }
  .stats-grid, .about-grid, .credentials { grid-template-columns: 1fr; }
  .about-grid.solo { grid-template-columns: 1fr; text-align: left; }
  .about, .protocol, .expertise, .location { padding: 60px 0; }
}
@media (max-width: 520px) {
  .protocol-grid, .expertise-grid, .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}
