:root {
  --primary: #0b3d66;
  --primary-dark: #072a47;
  --accent: #2a9df4;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --text: #2b2f36;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --border: #e5e7eb;
  --radius: 10px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  transition: background-color .2s, transform .2s;
}

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

.btn--sm {
  padding: 8px 20px;
  font-size: .9rem;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

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

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

.icon {
  width: 22px;
  height: 22px;
}

/* MENU */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.5px;
}

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

.logo--light {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a:not(.btn) {
  font-weight: 500;
  color: var(--text);
  transition: color .2s;
}

.nav a:not(.btn):hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform .2s, opacity .2s;
}

/* HERO */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(7, 42, 71, .72), rgba(11, 61, 102, .6)),
    url('../assets/img/banner1.jpg') left center / cover no-repeat,
    var(--primary);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 760px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 620px;
  opacity: .9;
  margin-bottom: 12px;
}

/* SEÇÕES */
.section {
  padding: 88px 0;
}

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

.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 48px;
}

/* SERVIÇOS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 61, 102, .08);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: .95rem;
}

/* ANTES E DEPOIS */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.photo__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo__tag {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
}

.photo__tag--before {
  left: 12px;
  background: rgba(0, 0, 0, .6);
}

.photo__tag--after {
  right: 12px;
  background: var(--accent);
}

.photo figcaption {
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
}

/* REGIÃO */
.cities {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cities li {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 500;
  color: var(--primary);
}

/* CONTATO */
.contact {
  text-align: center;
}

.contact .section__title {
  margin-bottom: 12px;
}

.contact__text {
  color: var(--muted);
  margin-bottom: 32px;
}

.contact__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 40px;
  color: var(--muted);
}

.contact__info a:hover {
  color: var(--accent);
}

/* RODAPÉ */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .75);
  padding-top: 48px;
  font-size: .95rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer__inner p {
  margin-top: 6px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__copy {
  text-align: center;
  font-size: .85rem;
  padding: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  z-index: 100;
  transition: transform .2s;
}

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

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a:not(.btn) {
    width: 100%;
    padding: 14px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .nav .btn {
    margin-top: 16px;
  }

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

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

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

  .section {
    padding: 64px 0;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }
}
