/* ═══════════════════════════════════════════
   CORE / MAIN.CSS
   Estilos compartilhados entre todas as páginas
   ═══════════════════════════════════════════ */

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

/* ── VARIÁVEIS ── */
:root {
  --navy: #0f1d2e;
  --navy2: #162437;
  --blue: #1a5fa8;
  --sky: #2f8de4;
  --accent: #f59e0b;
  --water: #38bdf8;
  --white: #f8fafc;
  --gray: #64748b;
  --light: #e2e8f0;
  --card: #1a2e42;
  --radius: 16px;
}

/* ── BASE ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 29, 46, 0.95);
  backdrop-filter: blur(12px);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.nav-logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(248, 250, 252, 0.75);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--navy);
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: opacity .2s;
  white-space: nowrap;
}

.nav-cta:hover {
  opacity: .85;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  display: block;
}

/* ── UTILITÁRIOS DE SEÇÃO ── */
.section-tag {
  display: inline-block;
  background: rgba(26, 95, 168, 0.1);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 520px;
  line-height: 1.65;
}

.text-center {
  text-align: center;
}

.text-center .section-sub {
  margin: 0 auto;
}

/* ── BOTÕES ── */
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: .85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-whatsapp,
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: transform .2s, box-shadow .2s;
}

.btn-whatsapp {
  padding: .95rem 1.9rem;
}

.btn-whatsapp:hover,
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: .9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .2s;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ── ITENS DE STATS (compartilhados) ── */
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: .85rem;
  color: rgba(248, 250, 252, 0.55);
  margin-top: .3rem;
}

/* ── BOTÃO FLUTUANTE WHATSAPP ── */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  animation: pulse-wa 2.5s infinite;
  transition: transform .2s;
}

.float-wa:hover {
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.8), 0 0 0 12px rgba(37, 211, 102, 0.12);
  }
}

/* ── REVEAL (animação de entrada) ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── FOOTER ── */
footer {
  background: #080f18;
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-cnpj {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: .82rem;
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, 0.2);
}

/* ── RESPONSIVO – NAV ── */
@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
