:root {
  --bg: #0c0f14;
  --bg-elevated: #141922;
  --surface: #1a2230;
  --text: #e8ecf4;
  --text-muted: #aab7c8;
  --accent: #f5b800;
  --accent-hover: #ffc81a;
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 32px 72px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Compensa o header fixo ao navegar pelas âncoras */
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Foco visível para navegação por teclado */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  background: var(--accent);
  color: #0c0f14;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

img {
  max-width: 100%;
}

strong {
  color: var(--text);
  font-weight: 600;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: none;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 0.65rem 0;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-nav a:hover {
  color: var(--text);
}

.mobile-nav .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .nav,
  .header-cta {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #0c0f14;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-elevated);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(245, 184, 0, 0.35);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-ghost:hover {
  background: rgba(245, 184, 0, 0.1);
  border-color: var(--accent);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  background: radial-gradient(
      ellipse 80% 60% at 70% 0%,
      rgba(245, 184, 0, 0.12),
      transparent
    ),
    radial-gradient(
      ellipse 60% 50% at 0% 100%,
      rgba(59, 130, 246, 0.08),
      transparent
    ),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    /* A foto recebe mais peso que o texto */
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
  }
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badges {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-badges li {
  padding-left: 1.35rem;
  position: relative;
}

.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-visual {
  position: relative;
}

/* Halo de destaque atrás da foto */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(245, 184, 0, 0.2),
    transparent 70%
  );
  filter: blur(32px);
  pointer-events: none;
}

.hero-photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 184, 0, 0.18);
  box-shadow: var(--shadow-lg);
}

/* Degradê inferior para o cartão flutuante manter legibilidade */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(8, 11, 15, 0.75),
    rgba(8, 11, 15, 0)
  );
  pointer-events: none;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(420px, 52vw, 600px);
  object-fit: cover;
  object-position: center 62%;
}

.hero-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  width: calc(100% - 2.5rem);
  max-width: 320px;
  padding: 1.25rem;
  background: rgba(26, 34, 48, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero-card-route {
  margin: 0.5rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.hero-card-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .hero-card {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0 auto 2.5rem;
  max-width: 52ch;
  color: var(--text-muted);
  text-align: center;
}

.section-intro.left {
  margin-left: 0;
  text-align: left;
  max-width: 48ch;
}

.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem 1.5rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(245, 184, 0, 0.25);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
  }
}

.checklist {
  margin: 0;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist li:first-child {
  padding-top: 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta-section {
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-box {
  display: grid;
  gap: 2rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(
    145deg,
    var(--surface) 0%,
    var(--bg-elevated) 100%
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3rem;
  }
}

.cta-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 42ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
