/* ===== Tokens ===== */
:root {
  --blue: #0A5CAD;
  --blue-dark: #063A72;
  --navy: #0D1B2A;
  --yellow: #F5B400;
  --white: #FFFFFF;
  --gray-900: #1C1F26;
  --gray-600: #5B6472;
  --gray-200: #E7E9EE;
  --gray-100: #F5F6F8;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--gray-600); }

.icon { width: 22px; height: 22px; stroke: currentColor; }
.icon-lg { width: 42px; height: 42px; color: var(--blue); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .6em;
  text-align: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(245, 180, 0, .35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(245, 180, 0, .45); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

.link-underline {
  color: var(--gray-900);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
}
.link-underline:hover { color: var(--blue); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand img { height: 130px; width: auto; }

.header-actions { display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
}
.nav a:hover { color: var(--blue); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--gray-900); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 88px 24px;
  min-height: 640px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  color: var(--white);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.78);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 20ch;
  margin: 0 auto 48px;
  text-align: center;
}

.grid { display: grid; gap: 28px; }
.grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--blue); transform: translateY(-3px); }
.card h3 { font-size: 1.1rem; margin-top: 18px; }
.card p { margin: 0; font-size: .95rem; }

/* ===== Serviços (bloco de contraste) ===== */
.section-dark {
  background: linear-gradient(160deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: var(--white);
}
.section-dark p { color: rgba(255,255,255,.72); }
.eyebrow-light { color: var(--yellow); }

.servicos-header {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.servicos-header h2 { color: var(--white); margin-bottom: 16px; }
.servicos-header p { margin: 0 auto 28px; max-width: 46ch; }

.servicos-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.servico-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.servico-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .2s ease;
}
.servico-icon .icon { width: 34px; height: 34px; color: var(--yellow); }
.servico-item:hover .servico-icon { background: rgba(245,180,0,.2); }

.servico-item h3 { color: var(--white); font-size: 1.15rem; margin: 0 0 8px; }
.servico-item p { margin: 0; font-size: .95rem; }

/* ===== Como funciona ===== */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--gray-100);
}
.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-200);
  line-height: 1;
}
.step h3 { font-size: 1.05rem; margin-top: 16px; }
.step p { font-size: .92rem; margin: 0; }

/* ===== CTA final ===== */
.cta-final {
  position: relative;
  padding: 110px 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,.88), rgba(6,58,114,.92));
  z-index: 1;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-content p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 50ch; margin: 0 auto 32px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-brand img { margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,.6); margin: 0; }

.footer-brands {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  max-width: 300px;
}
.footer-brands li {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 10px 6px;
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: rgba(255,255,255,.5);
}

.footer-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.footer-contact a:hover { color: var(--yellow); }
.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: rgba(255,255,255,.85);
}
.footer-map iframe { border-radius: var(--radius); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.7); font-weight: 600; text-decoration: none; }
.footer-bottom a:hover { color: var(--yellow); }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  z-index: 90;
  text-decoration: none;
}
.whatsapp-float .icon { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.06); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding: 56px 24px; min-height: auto; }
  .hero-media { order: -1; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-contact, .footer-map {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-brands { margin-left: auto; margin-right: auto; }
  .footer-address {
    justify-content: center;
    max-width: 280px;
    margin: 0 auto;
    text-align: left;
  }
  .servicos-grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  html { font-size: 17.5px; }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.05rem; }
  .menu-toggle { display: flex; }
  .header-actions { display: none; }
  .grid-6 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .servicos-grid-cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .eyebrow { font-size: .88rem; }
  .card p, .servico-item p, .step p { font-size: 1rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .footer-brand p { font-size: 1rem; }
  .footer-brands li { font-size: .8rem; padding: 12px 6px; }
  .footer-contact a, .footer-address { font-size: 1rem; }
  .footer-bottom p { font-size: .9rem; }
}
