:root {
  --header-height: 84px;
  --blue-light: #cfeeff; /* light blue */
  --blue: #0a97e6;       /* regular blue */
  --blue-dark: #075c88;  /* dark blue */
  --text-default: #334155;
}

html, body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* Helpers visuais para ficar próximo do PDF */
.bg-hero-gradient {
  background: radial-gradient(1200px 700px at 20% 30%, rgba(255,255,255,0.14), transparent 55%),
              linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 65%, #064a6e 100%);
}

.bg-band-gradient {
  background: radial-gradient(900px 600px at 10% 30%, rgba(255,255,255,0.10), transparent 55%),
              linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 70%, #064a6e 100%);
}

.bg-dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 12px 12px;
}

.safe-top {
  padding-top: var(--header-height);
}

/* Header sticky com blur leve */
.site-header {
  backdrop-filter: saturate(1.3) blur(8px);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(2,27,61,0.04);
}

/* Header scrolled state (finer shadow and border) */
.site-header.shadow-soft {
  box-shadow: 0 8px 24px rgba(2,27,61,0.08);
  border-bottom-color: rgba(2,27,61,0.06);
}

.site-header .navlink {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 500;
}

.site-header .navlink:hover {
  background: rgba(10,151,230,0.06);
}

.site-header .navlink[aria-current="page"] {
  font-weight: 600;
}

/* Footer specific tweaks to match PDF */
.site-footer {
  position: relative;
  z-index: 30;
}
.site-footer a { color: inherit; }
.site-footer a:hover { color: #ffffff; opacity: 0.95; }
.site-footer .shadow-sm { box-shadow: 0 6px 18px rgba(2,27,61,0.08); }

/* Floating WhatsApp FAB */
.whatsapp-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;

  width: 56px;
  height: 56px;

  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 120ms ease;
}

.whatsapp-fab:hover{ transform: translateY(-2px); }
.whatsapp-fab:active{ transform: translateY(0px); }

.whatsapp-fab:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.35);
}

@media print { .whatsapp-fab { display: none !important; } }

/* Ajuste de offset ao navegar por âncoras (header fixo) */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* “Card” padrão com borda suave */
.card {
  background: #fff;
  border: 1px solid rgba(2,27,61,0.06);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 27, 61, 0.08);
}

/* Card estilo lista (GED) */
.card-list {
  background: #fff;
  border: 1px solid rgba(2,27,61,0.07);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(2,27,61,0.05);
}

/* Hero image shape (curva parecida com o PDF) */
.hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -28px -28px auto auto;
  width: 180px;
  height: 180px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
}

.hero-media::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}

/* Contact section overlays and stacking to avoid floating card over footer */
.contact-section { position: relative; }
.contact-section > .absolute { z-index: -1; }
.contact-section .card { position: relative; z-index: 20; }

/* Small decorative corner dots used in PDF */
.decor-corner {
  position: absolute;
  width: 64px;
  height: 64px;
  background-image: radial-gradient(var(--blue-light) 2px, transparent 2px);
  background-size: 8px 8px;
  opacity: 0.22;
  pointer-events: none;
}

/* Global image refinements used across the site to match PDF */
.img-rounded {
  border-radius: 16px;
  overflow: hidden;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.hero-media.shadow-soft {
  box-shadow: 0 20px 50px rgba(2,27,61,0.12);
}

/* Slightly stronger image card style used in sections */
.img-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(2,27,61,0.08);
}

/* Mobile menu (injetado via JS) */
.mobile-menu[data-open="false"] { display: none; }
.mobile-menu[data-open="true"] { display: block; }