/* AR ENG — landing page */
:root {
  --azul: #2563b8;
  --azul-claro: #3a8bd6;
  --azul-fundo: #eef5fc;
  --escuro: #070b14;
  --escuro-2: #0f1a2e;
  --texto: #1d2433;
  --texto-suave: #5a6478;
  --borda: #dfe5ee;
  --verde: #1fa855;
  --verde-hover: #178a45;
  --branco: #fff;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(15, 26, 46, .10);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--azul-fundo); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--texto-suave); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--azul); margin-bottom: 10px;
}
.icon { width: 1.2em; height: 1.2em; flex: none; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--wa { background: var(--verde); color: #fff; box-shadow: 0 6px 18px rgba(31, 168, 85, .35); }
.btn--wa:hover { background: var(--verde-hover); }
.btn--azul { background: var(--azul); color: #fff; }
.btn--azul:hover { background: #1d4f95; }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn--ghost:hover { border-color: #fff; }
.btn--outline { background: transparent; color: var(--azul); border: 2px solid var(--azul); }
.btn--outline:hover { background: var(--azul); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 28px; font-size: 1.1rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--escuro);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.header__logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: #c9d3e3; text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: #fff; }
.header__cta { display: flex; gap: 10px; align-items: center; }
.header__tel { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.header .btn { padding: 10px 18px; font-size: .95rem; }

/* Hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7,11,20,.95) 0%, rgba(15,26,46,.88) 50%, rgba(37,99,184,.55) 100%),
    url("../img/about/1.jpg") center / cover no-repeat;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
.hero h1 span { color: #7fbaf0; }
.hero__lead { font-size: 1.2rem; color: #d3dcea; max-width: 560px; }
.hero__bullets { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.hero__bullets li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.hero__bullets .icon { color: #5fd38d; margin-top: 3px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formulário */
.form-card {
  background: #fff; color: var(--texto); border-radius: 18px; padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.form-card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.form-card__sub { color: var(--texto-suave); font-size: .95rem; margin-bottom: 18px; }
.lead-form { display: grid; gap: 12px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 4px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--texto);
  border: 1.5px solid var(--borda); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { resize: vertical; min-height: 70px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--azul-claro); box-shadow: 0 0 0 3px rgba(58,139,214,.18);
}
.lead-form .invalid { border-color: #d64545; }
.tipo-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.lead-form .tipo-toggle input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; padding: 0; }
.tipo-toggle label {
  margin: 0; text-align: center; padding: 10px; border: 1.5px solid var(--borda);
  border-radius: 10px; cursor: pointer; font-weight: 600; font-size: .95rem;
}
.tipo-toggle input:checked + label { border-color: var(--azul); background: var(--azul-fundo); color: var(--azul); }
.tipo-toggle input:focus-visible + label { box-shadow: 0 0 0 3px rgba(58,139,214,.3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .8rem; color: var(--texto-suave); text-align: center; margin: 4px 0 0; display: flex; gap: 6px; justify-content: center; align-items: center; }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-msg.ok { display: block; background: #e7f7ee; color: #145c33; }
.form-msg.erro { display: block; background: #fdecec; color: #8a1f1f; }
.lead-form button[disabled] { opacity: .7; cursor: wait; }

/* Faixa de números */
.stats { background: var(--escuro-2); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-top: 32px; padding-bottom: 32px; gap: 16px; }
.stats strong { display: block; font-size: 2rem; font-weight: 800; color: #7fbaf0; line-height: 1.1; }
.stats span { color: #b9c5d8; font-size: .95rem; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.service {
  background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.service:hover { box-shadow: var(--sombra); transform: translateY(-3px); }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.service__body p { color: var(--texto-suave); font-size: .95rem; flex: 1; }
.service__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--azul-fundo); color: var(--azul); margin-bottom: 12px;
}
.service__icon .icon { width: 24px; height: 24px; }
.service .btn { align-self: flex-start; padding: 10px 18px; font-size: .9rem; }

/* Sinais / dor */
.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signs__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.signs__list li {
  display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px;
  padding: 14px 18px; box-shadow: 0 2px 10px rgba(15,26,46,.06); font-weight: 600;
}
.signs__list .icon { color: #d9822b; width: 24px; height: 24px; }
.signs__img { border-radius: 18px; box-shadow: var(--sombra); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: passo; }
.step { text-align: center; padding: 28px 22px; border-radius: var(--raio); border: 1px solid var(--borda); position: relative; }
.step::before {
  counter-increment: passo; content: counter(passo);
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--azul); color: #fff; font-weight: 800; font-size: 1.3rem;
}
.step p { color: var(--texto-suave); margin: 0; }

/* Marcas e clientes */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; margin-bottom: 48px; }
.brands span { font-size: 1.35rem; font-weight: 800; color: #8a96aa; letter-spacing: .02em; }
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.client {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--borda);
  border-radius: 12px; padding: 16px 18px; font-weight: 600;
}
.client .icon { color: var(--azul); width: 24px; height: 24px; }
.client small { display: block; font-weight: 400; color: var(--texto-suave); font-size: .82rem; }

/* Portfólio */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery button {
  padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #ddd;
}
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 90vh; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--borda); border-radius: 12px; padding: 0 20px; }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--azul); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texto-suave); padding-bottom: 18px; margin: 0; }

/* CTA final */
.cta-final { background: linear-gradient(120deg, var(--escuro-2), var(--azul)); color: #fff; }
.cta-final__inner { display: grid; grid-template-columns: 1fr .85fr; gap: 48px; align-items: center; }
.cta-final p { color: #d3dcea; font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact-list a { color: #fff; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }

/* Footer */
.footer { background: var(--escuro); color: #8a96aa; padding: 36px 0 100px; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer img { height: 48px; width: auto; }
.footer a { color: #b9c5d8; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: pulso 2.4s infinite;
}
.wa-float .icon { width: 34px; height: 34px; }
@keyframes pulso {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 8px 24px rgba(0,0,0,.25); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.25); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 8px 24px rgba(0,0,0,.25); }
}

/* Barra fixa mobile */
.mobile-bar { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
  .btn, .service, .gallery img { transition: none; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero__inner, .signs, .cta-final__inner { grid-template-columns: 1fr; gap: 36px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .header__inner { height: 60px; }
  .header__logo img { height: 44px; }
  .header__tel span, .header .btn--wa { display: none; }
  .hero__inner { padding-top: 28px; padding-bottom: 36px; gap: 24px; }
  .hero__bullets { display: none; }
  .services { gap: 12px; }
  .service__body { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .service__icon { margin: 0; grid-row: span 2; }
  .service__body h3 { margin: 0 0 4px; align-self: center; }
  .service__body p { margin-bottom: 10px; font-size: .92rem; }
  .service .btn { grid-column: 2; }
  .stats strong { font-size: 1.4rem; }
  .hero__lead { font-size: 1.05rem; }
  .hero__actions { display: none; }
  .form-card { padding: 22px 18px; }
  .lead-form .row2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.12); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .mobile-bar .btn { padding: 13px 10px; }
}
