/* ===== Variáveis e reset ===== */
:root {
  --azul: #0a5aa8;
  --azul-escuro: #0a2540;
  --agua: #1bc2c9;
  --whats: #25d366;
  --whats-dark: #1da851;
  --texto: #1f2b38;
  --texto-claro: #5a6b7b;
  --bg-alt: #f2f7fb;
  --branco: #ffffff;
  --borda: #e2e9f0;
  --sombra: 0 8px 30px rgba(10, 37, 64, 0.08);
  --sombra-hover: 0 14px 40px rgba(10, 37, 64, 0.16);
  --radius: 14px;
  --max: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--texto);
  line-height: 1.65;
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.btn--whats { background: var(--whats); color: #fff; }
.btn--whats:hover { background: var(--whats-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline:hover { background: rgba(255,255,255,.15); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

/* ===== Topbar ===== */
.topbar { background: var(--azul-escuro); color: #cfe1f2; font-size: .85rem; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; padding: 8px 20px; text-align: center; }
.topbar__contacts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.topbar__contacts a:hover { color: #fff; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); box-shadow: 0 2px 14px rgba(10,37,64,.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.header__logo img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav__list { display: flex; gap: 24px; }
.nav__list a { font-weight: 500; color: var(--texto); position: relative; transition: color .2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--agua); transition: width .25s; }
.nav__list a:hover { color: var(--azul); }
.nav__list a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--azul-escuro); border-radius: 3px; transition: .3s; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul) 55%, var(--agua) 130%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%); border-radius: 50%;
}
.hero__inner { padding: 70px 20px 80px; position: relative; z-index: 1; }
.hero__content { max-width: 720px; }
.hero__badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 500; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.hero p { font-size: 1.1rem; color: #e7f1fa; margin-bottom: 28px; max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .95rem; color: #eaf4fc; }

/* ===== Seções ===== */
.section { padding: 70px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section__tag { display: inline-block; color: var(--azul); background: #e6f0f9; padding: 5px 14px; border-radius: 50px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.section__head h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; color: var(--azul-escuro); margin-bottom: 10px; }
.section__head p { color: var(--texto-claro); }

/* ===== Cards de serviços ===== */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--borda); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--sombra); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra-hover); }
.card__icon { width: 62px; height: 62px; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; background: linear-gradient(135deg, var(--azul), var(--agua)); border-radius: 16px; margin-bottom: 18px; }
.card h3 { font-size: 1.3rem; color: var(--azul-escuro); margin-bottom: 12px; }
.card p { color: var(--texto-claro); font-size: .96rem; margin-bottom: 18px; }
.card__link { color: var(--azul); font-weight: 600; }
.card__link:hover { color: var(--agua); }

/* ===== Diferenciais ===== */
.features { display: grid; grid-template-columns: 1fr; gap: 22px; }
.feature { background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--sombra); }
.feature__icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { color: var(--azul-escuro); font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--texto-claro); font-size: .92rem; }

/* ===== Áreas ===== */
.areas { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 800px; margin: 0 auto; }
.area { background: #fff; border: 1px solid var(--borda); border-left: 4px solid var(--agua); border-radius: 10px; padding: 18px 22px; font-weight: 600; color: var(--azul-escuro); box-shadow: var(--sombra); }

/* ===== Sobre ===== */
.sobre { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.sobre__text h2 { color: var(--azul-escuro); font-size: clamp(1.6rem,4vw,2.3rem); margin-bottom: 16px; }
.sobre__text p { color: var(--texto-claro); margin-bottom: 16px; }
.sobre__text .btn { margin-top: 6px; }
.sobre__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--sombra); }
.stat strong { display: block; font-size: 2rem; color: var(--azul); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--texto-claro); font-size: .88rem; }

/* ===== Contato ===== */
.contato__grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.contato__card { background: #fff; border: 1px solid var(--borda); border-radius: var(--radius); padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: var(--sombra); transition: transform .25s, box-shadow .25s; }
.contato__card:hover { transform: translateY(-5px); box-shadow: var(--sombra-hover); }
.contato__icon { font-size: 2rem; margin-bottom: 8px; }
.contato__card strong { color: var(--azul-escuro); font-size: 1.05rem; }
.contato__card span { color: var(--texto-claro); }
.contato__hint { color: var(--whats-dark); font-weight: 600; font-size: .85rem; }
.contato__card--whats { background: linear-gradient(135deg, #eafaf0, #fff); border-color: #bfe9cf; }

/* ===== Footer ===== */
.footer { background: var(--azul-escuro); color: #b9cadb; padding-top: 50px; }
.footer__inner { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 34px; }
.footer__brand img { height: 42px; margin-bottom: 14px; }
.footer__brand p { font-size: .92rem; max-width: 340px; }
.footer__col h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer__col li { margin-bottom: 8px; }
.footer__col a:hover { color: var(--agua); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .85rem; text-align: center; }

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; background: var(--whats); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5); transition: transform .25s;
  animation: pulse 2.4s infinite;
}
.whats-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Responsivo ===== */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .areas { grid-template-columns: repeat(3, 1fr); }
  .contato__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(4, 1fr); }
  .sobre { grid-template-columns: 1.3fr 1fr; }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* Menu mobile */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%; width: min(80%, 320px); height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 90px 30px 30px; gap: 22px; box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transition: right .3s ease; z-index: 90;
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 18px; width: 100%; }
  .nav__list a { font-size: 1.1rem; }
  .nav__cta { width: 100%; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* Overlay quando menu aberto */
.nav-overlay { position: fixed; inset: 0; background: rgba(10,37,64,.5); opacity: 0; visibility: hidden; transition: .3s; z-index: 80; }
.nav-overlay.show { opacity: 1; visibility: visible; }
