:root {
  --orange: #d07115;
  --black: #000;
  --ink: #24211d;
  --gray: #f0f0f0;
  --text: #000;
  --white: #fff;
  --whatsapp: #25d366;
  --whatsapp-icon: #6eb12d;
  --container: 1140px;
  --font: "Roboto", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 8px 16px;
  z-index: 10000;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== NAV ===== */
.site-nav {
  background: var(--black);
  padding: 5px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-list a {
  display: flex;
  align-items: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  padding: 13px 20px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a.is-active {
  background: var(--orange);
  color: var(--white);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ===== HEADER BRAND ===== */
.site-header {
  background: var(--white);
}

.header-brand {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 12px;
  min-height: 142px;
  padding: 10px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  width: 342px;
  max-width: 100%;
  height: auto;
}

.brand-slogan {
  display: flex;
  justify-content: center;
}

.slogan-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--orange);
  font-size: 18px;
  font-weight: 500;
  line-height: 21px;
  border-radius: 20px;
  padding: 30px 35px;
  text-align: center;
  pointer-events: none;
}

.brand-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
}

.brand-phones a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

.brand-phones svg {
  width: 25px;
  height: 25px;
  fill: var(--whatsapp-icon);
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--black);
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.is-lcp {
  background-image: url("../img/banner1.webp");
}

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--orange);
  padding: 0;
}

.hero-arrow svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.hero-prev { left: 12px; }
.hero-next { right: 12px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
}

.hero-dots button.is-active {
  background: var(--orange);
}

/* ===== ABOUT ===== */
.section-about {
  margin: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-media,
.about-copy {
  background: var(--gray);
}

.about-media {
  padding: 30px 20px;
}

.about-photo-wrap {
  background: var(--ink);
  padding: 20px 0 10px;
  text-align: center;
}

.about-photo-wrap img {
  width: 89%;
  margin: 0 auto 14px;
  border: 5px solid var(--white);
  border-radius: 8px;
}

.about-whats {
  margin: 0;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}

.about-whats a {
  color: var(--white);
}

.about-whats svg {
  width: 1.1em;
  height: 1.1em;
  fill: var(--whatsapp-icon);
  vertical-align: -0.15em;
  margin: 0 4px;
}

.about-copy {
  padding: 50px 20px 30px 30px;
  text-align: center;
}

.about-kicker {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.about-title {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.about-copy p {
  margin: 0 0 14.4px;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  text-align: left;
}

.about-copy p.about-tag {
  margin: 0 0 16px;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
  text-align: center;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

/* ===== SERVICES ===== */
.section-services {
  background: var(--orange);
  padding: 50px 0 40px;
}

.section-services-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-services-head h2 {
  margin: 0 0 8px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.section-services-head p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--orange);
}

.flip-card {
  min-height: 0;
  aspect-ratio: 4 / 3;
  perspective: 800px;
  overflow: hidden;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.flip-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--ink);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  transition: opacity 0.35s ease;
}

.flip-front {
  opacity: 1;
  z-index: 1;
}

.flip-front::before,
.flip-back::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flip-front::before {
  background: rgba(0, 0, 0, 0.32);
}

.flip-back::before {
  background: rgba(0, 0, 0, 0.62);
}

.flip-back {
  opacity: 0;
  z-index: 2;
  flex-direction: column;
  text-align: center;
}

.flip-card:hover .flip-back,
.flip-card:focus-within .flip-back,
.flip-card.is-flipped .flip-back {
  opacity: 1;
}

.flip-card:hover .flip-front,
.flip-card:focus-within .flip-front,
.flip-card.is-flipped .flip-front {
  opacity: 0;
}

.flip-title {
  position: relative;
  z-index: 1;
  margin: 0;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  text-shadow: 2px 2px 8px #1e0909;
  text-transform: uppercase;
}

.flip-desc {
  position: relative;
  z-index: 1;
  margin: 8px 0 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white);
  text-shadow: 1px 1px 6px #1e0909;
  max-width: 260px;
}

.flip-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--white);
  border-radius: 3px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.flip-btn:hover,
.flip-btn:focus-visible {
  background: var(--orange);
  color: var(--white);
}

/* ===== COVERAGE ===== */
.section-coverage {
  margin: 60px 0;
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.coverage-media,
.coverage-copy {
  background: var(--gray);
}

.coverage-media {
  padding: 30px 20px;
}

.coverage-photo-wrap {
  background: var(--ink);
  padding: 20px 0 10px;
  text-align: center;
}

.coverage-photo-wrap img {
  width: 89%;
  margin: 0 auto;
  border: 5px solid var(--white);
  border-radius: 8px;
}

.coverage-copy {
  padding: 50px 20px 30px 30px;
  text-align: center;
}

.coverage-copy h2 {
  margin: 0 0 10px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.coverage-copy h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: var(--orange);
}

.coverage-copy p {
  margin: 0 0 14.4px;
  font-size: 16px;
  color: var(--black);
  text-align: left;
}

.btn-orcamento {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #198754;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  border-radius: 4px;
  padding: 16px 22px;
  text-align: left;
  transition: filter 0.2s ease;
}

.btn-orcamento svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-orcamento:hover {
  filter: brightness(1.08);
}

/* ===== MAP / FOOTER ===== */
.section-map {
  background: var(--ink);
  padding: 20px 30px 0;
}

.section-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 50px 15px 0;
}

.footer-logo img {
  width: 100%;
  max-width: 426px;
  height: auto;
}

.footer-address p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 24px;
}

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

.footer-address a:hover {
  text-decoration: underline;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-phones a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
}

.footer-phones svg {
  width: 22px;
  height: 22px;
  fill: var(--whatsapp-icon);
}

.footer-slogan {
  display: flex;
  justify-content: center;
}

.footer-copy {
  padding: 20px 50px 30px;
  text-align: center;
  font-size: 16px;
  color: var(--white);
}

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

.footer-copy a:hover {
  text-decoration: underline;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 10px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--whatsapp);
  color: var(--white);
  border-radius: 15px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.whatsapp-float:hover {
  filter: brightness(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header-brand {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }

  .brand-slogan {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 12px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }
}

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

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--black);
  }

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

  .nav-inner {
    flex-wrap: wrap;
  }

  .header-brand {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 16px 0;
  }

  .brand-logo {
    justify-content: center;
  }

  .brand-logo img {
    width: 260px;
  }

  .slogan-pill {
    padding: 16px 20px;
    font-size: 15px;
    line-height: 1.3;
  }

  .brand-phones {
    margin-top: 0;
  }

  .hero {
    height: 180px;
  }

  .hero-slide {
    background-position: right center;
  }

  .about-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .about-copy,
  .coverage-copy {
    padding: 28px 18px 24px;
  }

  .about-kicker {
    font-size: 20px;
  }

  .about-title,
  .coverage-copy h2 {
    font-size: 32px;
  }

  .about-tag {
    font-size: 1.15rem;
  }

  .section-services {
    padding: 36px 0 28px;
  }

  .section-services-head {
    margin-bottom: 20px;
  }

  .section-services-head h2 {
    font-size: 1.5rem;
  }

  .section-services-head p {
    font-size: 1rem;
  }

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

  .flip-card {
    aspect-ratio: 1 / 1;
  }

  .flip-title {
    font-size: 14px;
  }

  .section-about,
  .section-coverage {
    margin: 32px 0;
  }

  .section-map {
    padding: 12px 12px 0;
  }

  .section-map iframe {
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 32px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-copy {
    padding: 16px 16px 28px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 12px;
  }
}

@media (max-width: 375px) {
  .nav-list a {
    font-size: 16px;
    padding: 12px 16px;
  }

  .hero {
    height: 160px;
  }
}
