/* ===== css/index/hero.css ===== */
:root {
  --blue: #0059ab;
  --green: #13a550;
  --orange: #ff8300;
  --header-height: 148px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  color: #0d5cab;
  background: #fff;
}

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

img,
svg {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  height: var(--header-height);
  background: #fff;
  position: relative;
  z-index: 10;
}

.header-inner {
  width: min(var(--container), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 285px 1fr;
  align-items: center;
  column-gap: 94px;
}

.brand {
  width: 235px;
  align-self: center;
  margin-top: -2px;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-top {
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 86px;
  padding-top: 8px;
}

.phones {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.phones svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  margin-right: 1px;
}

.phones a:hover {
  color: var(--green);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  margin-top: 3px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 18px 0 20px;
  color: #0054a6;
  font-size: 17px;
  font-weight: 400;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  height: 682px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: #82c5e2;
  background-image: url("../assets/hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(39, 177, 226, 0.67) 0%,
    rgba(100, 190, 224, 0.46) 43%,
    rgba(255, 255, 255, 0.18) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, calc(100% - 40px));
  margin-top: -2px;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-kicker {
  margin: 0;
  font-size: clamp(38px, 3.25vw, 57px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -2.1px;
}

.hero h1 {
  margin: 5px 0 13px;
  font-size: clamp(42px, 3.5vw, 61px);
  line-height: 1.07;
  font-weight: 600;
  letter-spacing: -2.7px;
}

.hero-copy {
  margin: 0 auto 27px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.45;
  font-weight: 500;
}

.cta-button {
  min-width: 208px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(149, 75, 0, 0.07);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.cta-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 220px 1fr;
    column-gap: 42px;
  }

  .brand {
    width: 210px;
  }

  .header-top {
    gap: 38px;
  }

  .main-nav ul {
    gap: 21px;
  }

  .main-nav a {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    height: var(--header-height);
  }

  .header-inner {
    width: min(100% - 30px, var(--container));
    display: flex;
    justify-content: space-between;
  }

  .brand {
    width: 170px;
  }

  .header-content {
    height: auto;
  }

  .header-top {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 100%;
    height: 2px;
    background: var(--blue);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: #fff;
    box-shadow: 0 12px 22px rgba(0, 70, 130, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav ul {
    width: min(100% - 30px, var(--container));
    margin: 0 auto;
    padding: 12px 0 18px;
    display: block;
  }

  .main-nav a {
    padding: 11px 4px;
    font-size: 15px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: calc(100vh - var(--header-height));
    height: auto;
    background-position: 64% center;
  }

  .hero-content {
    padding: 80px 0;
  }
}

/* ===== css/index/contato.css ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    }
    .contact-section {
    position: relative;
    min-height: 492px;
    overflow: hidden;
    padding: 38px 20px 80px;
    background-image: url("../assets/contato-bg.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    font-family: "Poppins", Arial, sans-serif;
    }
    .contact-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(82, 175, 225, 0.6);
    }
    .contact-section__container {
    position: relative;
    z-index: 1;
    width: min(530px, 100%);
    margin: 0 auto;
    }
    .contact-section h2 {
    margin: 0 0 19px;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    text-align: center;
    }
    .contact-form {
    padding: 32px;
    background: rgba(255, 255, 255, 0.96);
    }
    .contact-form__group {
    margin-bottom: 12px;
    }
    .contact-form input,
    .contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #6b7380;
    border-radius: 1px;
    background: #ffffff;
    color: #404040;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    }
    .contact-form input {
    height: 33px;
    padding: 0 13px;
    }
    .contact-form textarea {
    min-height: 77px;
    padding: 9px 13px;
    resize: vertical;
    }
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
    color: #747474;
    opacity: 1;
    }
    .contact-form input:focus,
    .contact-form textarea:focus {
    border-color: #0868c5;
    box-shadow: 0 0 0 2px rgba(8, 104, 197, 0.12);
    }
    .contact-form__button {
    display: flex;
    width: 100%;
    height: 33px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 2px;
    background: #0868c5;
    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }
    .contact-form__button:hover {
    background: #0059ad;
    box-shadow: 0 5px 14px rgba(0, 73, 145, 0.22);
    transform: translateY(-1px);
    }
    .contact-form__button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
    }
    .contact-form__button svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    }
    .contact-form__status {
    min-height: 0;
    margin: 0;
    color: #0868c5;
    font-size: 11px;
    text-align: center;
    }
    .site-footer {
    padding: 62px 20px 30px;
    background: #5ea8d3;
    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    }
    .site-footer__container {
    display: grid;
    width: min(845px, 100%);
    margin: 0 auto;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    }
    .site-footer__logo {
    display: inline-block;
    margin-bottom: 22px;
    }
    .site-footer__logo img {
    display: block;
    width: 155px;
    height: auto;
    filter: brightness(0) invert(1);
    }
    .site-footer__about p {
    max-width: 215px;
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 400;
    }
    .site-footer__block + .site-footer__block {
    margin-top: 18px;
    }
    .site-footer h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    }
    .site-footer__block p {
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
    }
    .site-footer__list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    }
    .site-footer__list li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 11px;
    line-height: 1.4;
    }
    .site-footer__list svg {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    }
    .site-footer__list a {
    color: inherit;
    text-decoration: none;
    transition: opacity 180ms ease;
    }
    .site-footer__list a:hover {
    opacity: 0.75;
    }
    .site-footer__social {
    display: flex;
    margin-top: 18px;
    align-items: center;
    gap: 14px;
    }

    .site-footer__social a {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    transition: transform 180ms ease, opacity 180ms ease;
    }

    .site-footer__social a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    }

    .site-footer__social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    }
    @media (max-width: 850px) {
    .site-footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
    }
    .site-footer__about {
    grid-column: 1 / -1;
    }
    .site-footer__about p {
    max-width: 420px;
    }
    }
    @media (max-width: 620px) {
    .contact-section {
    min-height: auto;
    padding: 52px 20px 60px;
    background-position: 35% center;
    }
    .contact-section h2 {
    font-size: 27px;
    }
    .contact-form {
    padding: 24px 20px;
    }
    .site-footer {
    padding-top: 50px;
    }
    .site-footer__container {
    grid-template-columns: 1fr;
    gap: 34px;
    }
    .site-footer__about {
    grid-column: auto;
    }
    .site-footer__about p {
    max-width: 300px;
    }
    }

/* ===== css/mapa.css ===== */
.location-section {
    padding: 24px 20px;
    background: #2d70b5;
    color: #ffffff;
    font-family: "Poppins", Arial, sans-serif;
    }
    .location-section__container {
    display: grid;
    width: min(600px, 100%);
    margin: 0 auto;
    grid-template-columns: 205px 390px;
    align-items: center;
    gap: 35px;
    }
    .location-section__info h2 {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 600;
    }
    .location-section__list {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    }
    .location-section__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
    line-height: 1.45;
    font-weight: 500;
    }
    .location-section__list svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    }
    .location-section__list a {
    color: inherit;
    text-decoration: none;
    transition: opacity 180ms ease;
    }
    .location-section__list a:hover {
    opacity: 0.75;
    }
    .location-section__map {
    height: 320px;
    overflow: hidden;
    border-radius: 14px 0 14px 0;
    box-shadow: 3px 0 0 #8fd734, 0 3px 0 #8fd734;
    background: #ffffff;
    }
    .location-section__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    }
    @media (max-width: 720px) {
    .location-section {
    padding: 42px 24px;
    }
    .location-section__container {
    width: min(520px, 100%);
    grid-template-columns: 1fr;
    gap: 32px;
    }
    .location-section__info {
    text-align: left;
    }
    .location-section__map {
    height: 300px;
    }
    }
    @media (max-width: 460px) {
    .location-section {
    padding: 38px 20px;
    }
    .location-section__info h2 {
    margin-bottom: 22px;
    font-size: 18px;
    }
    .location-section__list li {
    font-size: 11px;
    }
    .location-section__map {
    height: 260px;
    border-radius: 10px 0 10px 0;
    }
    }

/* ===== Ajustes padronizados de navegação mobile ===== */
@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-inner {
    position: relative;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
  }

  .main-nav {
    z-index: 1001;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
  }

  .main-nav.is-open {
    pointer-events: auto;
  }

  .main-nav ul {
    padding: 10px 15px 18px;
  }

  .main-nav li + li {
    border-top: 1px solid rgba(0, 89, 171, 0.09);
  }

  .main-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-align: center;
  }

  .main-nav a.active {
    color: var(--green);
    font-weight: 600;
  }
}

@media (max-width: 480px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    width: 145px;
  }
}
