/* GS Consig — estilos globais */
:root {
  --color-bg: #0d1b2a;
  --color-bg-elevated: #132339;
  --color-accent: #1e90ff;
  --color-accent-hover: #4aa3ff;
  --color-text: #f8fafc;
  --color-text-muted: #cbd5e1;
  --color-border: rgba(30, 144, 255, 0.25);
  --font-heading: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-height: 4.25rem;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--color-accent);
  color: var(--color-bg);
  z-index: 10000;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s, box-shadow var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #0c6ebe);
  color: #fff;
  box-shadow: 0 8px 28px rgba(30, 144, 255, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover), #1a7fd4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(30, 144, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(30, 144, 255, 0.12), transparent 50%),
    linear-gradient(165deg, #0d1b2a 0%, #0a1522 50%, #0d1b2a 100%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 144, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-visual {
  position: relative;
  min-height: 220px;
}

.hero-card {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(100%, 340px);
  padding: 1.5rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-bottom: 0.5rem;
}

.hero-card p {
  margin: 0;
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--color-bg-elevated);
  border-block: 1px solid var(--color-border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin-bottom: 0.5rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Como funciona */
.steps {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 1.5rem;
  background: rgba(13, 27, 42, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 100%;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(30, 144, 255, 0.2);
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

/* Grid duas colunas */
.two-col {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.info-box {
  padding: 1.5rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.info-box dl {
  margin: 0;
}

.info-box dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-top: 1rem;
}

.info-box dt:first-child {
  margin-top: 0;
}

.info-box dd {
  margin: 0.25rem 0 0;
  color: var(--color-text-muted);
}

/* Cards serviços */
.cards-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  padding: 1.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
  height: 100%;
}

.section-alt .card {
  background: rgba(13, 27, 42, 0.5);
}

.card:hover {
  border-color: rgba(30, 144, 255, 0.45);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(30, 144, 255, 0.15);
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Lista benefícios */
.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.benefits svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--color-accent);
  margin-top: 2px;
}

/* Contato */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.map-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 280px;
  background: var(--color-bg-elevated);
}

.map-box iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.address-block {
  padding: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.address-block strong {
  color: var(--color-text);
}

/* Footer */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: #0a1522;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Legal page */
.legal {
  padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.legal article {
  max-width: 800px;
}

.legal h1 {
  margin-bottom: 0.25rem;
}

.legal .updated {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
}

.legal ul {
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.legal li {
  margin-bottom: 0.35rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* WhatsApp flutuante */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow var(--transition);
}

.wa-float:hover {
  transform: scale(1.06);
  color: #fff;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: rgba(13, 27, 42, 0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(30, 144, 255, 0.12);
  }

  .hero-visual {
    min-height: 200px;
  }

  .hero-card {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    margin-top: 1rem;
  }
}
