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

:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(217, 54%, 12%);
  --card: #fff;
  --primary: hsl(24, 89%, 52%);
  --primary-hover: hsl(24, 89%, 46%);
  --muted: hsl(214, 32%, 93%);
  --muted-foreground: hsl(215, 16%, 42%);
  --border: hsl(214, 24%, 88%);
  --navy: hsl(217, 54%, 12%);
  --navy-95: hsla(217, 54%, 12%, 0.95);
  --navy-deep: hsl(220, 60%, 8%);
  --navy-deep-80: hsla(220, 60%, 8%, 0.8);
  --navy-deep-30: hsla(220, 60%, 8%, 0.3);
  --white-80: hsla(0, 0%, 100%, 0.8);
  --white-75: hsla(0, 0%, 100%, 0.75);
  --white-60: hsla(0, 0%, 100%, 0.6);
  --white-40: hsla(0, 0%, 100%, 0.4);
  --white-25: hsla(0, 0%, 100%, 0.25);
  --white-15: hsla(0, 0%, 100%, 0.15);
  --white-10: hsla(0, 0%, 100%, 0.1);
  --white-5: hsla(0, 0%, 100%, 0.05);
  --primary-40: hsla(24, 89%, 52%, 0.4);
  --primary-10: hsla(24, 89%, 52%, 0.1);
  --whatsapp: #25d366;
  --radius: 0.75rem;
  --max: 80rem;
  --header-offset: 7.5rem;
  --font: "DM Sans", sans-serif;
  --display: "Archivo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--foreground);
  background: var(--background);
  overflow-x: clip;
  line-height: 1.5;
}

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

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

button,
summary {
  font-family: inherit;
}

ul {
  list-style: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.skip:focus {
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-xl {
  width: 1.75rem;
  height: 1.75rem;
}

.font-display {
  font-family: var(--display);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

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

.btn-lg {
  padding: 0.875rem 1.5rem;
}

.btn-md {
  padding: 0.625rem 1.25rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: var(--white-25);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: hsl(217, 54%, 16%);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.btn-white:hover {
  background: hsla(0, 0%, 100%, 0.9);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: hsla(0, 0%, 100%, 0.4);
}

.btn-outline-white:hover {
  background: var(--white-10);
}

/* Header */

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}

.topbar {
  background: var(--navy-deep);
  color: var(--white-80);
  font-size: 0.75rem;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-contact .icon {
  color: var(--primary);
}

.topbar-note {
  display: none;
}

.navbar {
  border-bottom: 1px solid var(--white-10);
  background: var(--navy-95);
  backdrop-filter: blur(12px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--primary);
  color: #fff;
}

.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.15;
}

.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-80);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-cta {
  display: none;
}

.menu-btn {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--white-15);
  color: #fff;
  cursor: pointer;
  background: transparent;
}

.menu-btn .icon-close {
  display: none;
}

.menu-toggle:checked ~ .navbar .icon-open {
  display: none;
}

.menu-toggle:checked ~ .navbar .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--white-10);
  background: var(--navy);
  padding: 1rem;
}

.menu-toggle:checked ~ .nav-mobile {
  display: block;
}

.nav-mobile a {
  display: block;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(0, 0%, 100%, 0.85);
}

.nav-mobile a:hover {
  background: var(--white-5);
  color: var(--primary);
}

.nav-mobile .btn-primary {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.nav-mobile .btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep), var(--navy-deep-80), var(--navy-deep-30));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--primary-40);
  background: var(--primary-10);
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero h1 span {
  color: var(--primary);
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--white-75);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 3.5rem;
  max-width: 48rem;
}

.hero-stat {
  border-radius: 0.75rem;
  border: 1px solid var(--white-10);
  background: var(--white-5);
  padding: 1rem;
  backdrop-filter: blur(4px);
}

.hero-stat .icon {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--white-60);
}

/* Shared sections */

.section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-title {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.15;
}

.section-text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.bg-white {
  background: #fff;
}

.bg-soft {
  background: var(--background);
}

/* About */

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

.about-photo {
  position: relative;
  margin-bottom: 1.5rem;
}

.about-photo img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-badge {
  position: absolute;
  right: -1rem;
  bottom: -1.5rem;
  border-radius: 0.75rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.about-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsla(0, 0%, 100%, 0.85);
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy .btn {
  margin-top: 2rem;
}

/* Services */

.services-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.services-intro .section-label {
  font-size: 1rem;
  line-height: normal;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.service-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 2rem 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
}

.service-icon {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Stats band */

.stats {
  background: var(--navy);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.stat-item {
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}

.stat-item strong {
  display: block;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.stat-item span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-60);
}

/* Coverage */

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

.coverage-lists {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.coverage-lists h3 {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.coverage-lists li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.625rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 0.125rem;
}

.dot-round {
  border-radius: 999px;
  background: hsla(24, 89%, 52%, 0.5);
}

.coverage-photo {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* CTA */

.cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 1.5rem;
  background: var(--primary);
  padding: 2.5rem;
}

.cta-box h2 {
  font-family: var(--display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.15;
}

.cta-box p {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsla(0, 0%, 100%, 0.85);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* FAQ */

.faq-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-wrap .section-title,
.faq-wrap .section-label {
  text-align: center;
}

.faq-list {
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover,
.faq-item[open] summary {
  color: var(--primary);
}

.faq-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--white-60);
}

.site-footer h3 {
  font-family: var(--display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer ul {
  margin-top: 1.25rem;
}

.site-footer li,
.site-footer li a {
  font-size: 0.875rem;
  color: var(--white-60);
}

.site-footer li + li {
  margin-top: 0.75rem;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.footer-contact .icon {
  margin-top: 0.125rem;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--white-10);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--white-40);
}

/* WhatsApp */

.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float:active {
  transform: scale(0.95);
}

/* Anchors under fixed header */

#inicio,
#quem-somos,
#servicos,
#cobertura,
#contato {
  scroll-margin-top: var(--header-offset);
}

/* Responsive */

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .btn-header-cta {
    display: inline-flex;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-title,
  .cta-box h2 {
    font-size: 2.25rem;
  }

  .about-badge {
    right: -1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-item strong {
    font-size: 3rem;
  }

  .coverage-lists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-box {
    padding: 3.5rem;
  }

  .footer-bottom .container {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .topbar-note {
    display: block;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .menu-btn,
  .nav-mobile,
  .menu-toggle:checked ~ .nav-mobile {
    display: none;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

  .about-grid,
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cta-box {
    flex-direction: row;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
