:root {
  --blue: #1e7fb8;
  --blue-dark: #124b6e;
  --ink: #12181f;
  --ink-soft: #1b232c;
  --cream: #f4f1ea;
  --amber: #e8a33d;
  --text: #1b1f24;
  --text-soft: #4b535c;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 12px 30px -14px rgba(18, 24, 31, 0.35);
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

ul, ol, dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 200;
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-filled {
  fill: currentColor;
  stroke: none;
}

.icon-lg {
  width: 34px;
  height: 34px;
  stroke-width: 1.5;
  color: var(--blue);
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: #f0b458;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.02rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(45, 140, 195, 1);
  backdrop-filter: blur(6px);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
  padding: 10px 0;
}

.site-header.is-scrolled {
  padding: 8px 0;
  box-shadow: 0 6px 24px -10px rgba(0, 0, 0, 0.6);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.brand strong {
  color: var(--amber);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

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

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

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

.nav-cta {
  color: var(--ink) !important;
  border-radius: 999px;
  padding: 8px 20px;
}

.hero {
  position: relative;
  background: #1a70a2;
  overflow: hidden;
  padding-top: 152px;
  padding-bottom: 96px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 30, 45, 0.88) 0%, rgba(10, 30, 45, 0.6) 45%, rgba(10, 30, 45, 0.25) 100%);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
  max-width: 640px;
}

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin-bottom: 0.35em;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-actions .btn {
  border-radius: 999px;
  flex: 1 1 260px;
  justify-content: center;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--cream);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 20ch;
  color: var(--blue);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
  counter-reset: step;
}

.step {
  border-top: 3px solid var(--blue);
  padding-top: 18px;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.step-top .icon-lg {
  margin-bottom: 0;
}

.step-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.step p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin-top: 48px;
  perspective: 1000px;
}

.card {
  background: var(--white);
  padding: 30px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: perspective(800px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
  box-shadow: 0 18px 34px -14px rgba(18, 24, 31, 0.45);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
  perspective: 1000px;
}

.testimonial {
  background: var(--white);
  padding: 26px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial:hover {
  transform: perspective(800px) rotateX(4deg) rotateY(-4deg) translateY(-6px);
  box-shadow: 0 18px 34px -14px rgba(18, 24, 31, 0.45);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-size: 0.98rem;
}

.stars {
  display: flex;
  gap: 2px;
  margin-top: 3px;
}

.stars svg {
  width: 14px;
  height: 14px;
  fill: var(--amber);
}

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

.testimonials-more {
  display: inline-flex;
  margin-top: 32px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--ink);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.atendimento-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 52ch;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.city-list li {
  background: var(--white);
  border: 1px solid rgba(18, 24, 31, 0.12);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hours-card {
  background: var(--blue);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}

.hours-card h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.98rem;
}

.hours-list dt {
  color: rgba(255, 255, 255, 0.7);
}

.hours-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--white);
}

.hours-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.cta-final {
  background: linear-gradient(160deg, var(--blue-dark), var(--ink) 70%);
  color: var(--white);
  text-align: center;
}

.cta-final-inner {
  max-width: 680px;
}

.cta-final h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-final > .container > p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  font-size: 0.95rem;
}

.contact-details a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.contact-details a:hover {
  color: var(--white);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  font-size: 0.85rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.footer-copy {
  margin: 0;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
  font-size: 0.8rem;
}

.footer-credit {
  margin: 6px 0 0;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.45);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float .icon {
  width: 28px;
  height: 28px;
  stroke: none;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 40px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.4rem;
  line-height: 1;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .atendimento-grid {
    grid-template-columns: 1fr;
  }
}

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

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 105;
    background: rgba(26, 112, 162, 0.97);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 22px;
    padding: 96px 32px 40px;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .nav-cta {
    margin-top: 10px;
  }
}

@media (max-width: 1024px) and (min-width: 761px) {
  .steps,
  .cards,
  .testimonials,
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 0;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 48px;
    min-height: 90vh;
  }

  .hero-bg-img {
    object-position: 63% 80%;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 30, 45, 0.35) 0%, rgba(10, 30, 45, 0.70) 50%, rgba(10, 30, 45, 0.35) 100%);
  }

  .hero-content {
    max-width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .footer-row {
    justify-content: center;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
