/* ============================================= */
/* FONTES E CONFIGURAÇÕES GLOBAIS                */
/* ============================================= */
@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Rubik";
  src: url("../fonts/Rubik-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  ascent-override: 90%;
  descent-override: 20%;
  line-gap-override: 0%;
}

:root {
  --primary: #0f352e;
  --secondary: #f4f0e4;
  --secondary-hover: #e0d7c1;
  --bg-color: #fffaf2;

  --font-family: "Rubik", Arial, sans-serif;
  --text-color: #f3efe8;
  --font-regular-400: 400;
  --font-medium-500: 500;
  --font-bold-700: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  font-family: var(--font-family);
}

.no-scroll {
  overflow: hidden;
}

/* ============================================= */
/* ESTILOS BASE (MOBILE-FIRST)                   */
/* ============================================= */

/* --------------------------------------------- /
/ SEÇÃO: HEADER /
/ --------------------------------------------- */

/* HOME HEADER (hero grande) */
.header-nav#inicio {
  background-color: var(--primary);
  color: var(--text-color);
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  opacity: 0.19;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.nav,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content {
  contain: layout paint;
  content-visibility: auto;
}

/* --- Navegação --- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
}

/* --------------------------------------------- /
/ HEADER DAS PÁGINAS INTERNAS /
/ --------------------------------------------- */

header.header-nav:not(#inicio) {
  background-color: var(--primary);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

header.header-nav:not(#inicio) .nav {
  width: 100%;
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

header.header-nav:not(#inicio)::before {
  content: none;
}

/* --- Menu Hambúrguer (Mobile) --- */
.hamburger-button {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 3;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-button.is-active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-button.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger-button.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Lista do Menu (Mobile) --- */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 200
}

.menu.menu-open {
  transform: translateX(0);
}

.menu a {
  color: var(--text-color);
  font-size: 1.5rem;
  text-decoration: none;
}

.menu a.btn-contact {
  display: inline-block;
  color: black;
  font-weight: var(--font-medium-500);
  background-color: var(--secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 14px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.menu a.btn-contact:hover {
  transform: translateY(-2px);
  background-color: var(--secondary-hover);
}

.menu a:not(.btn-contact) {
  display: inline-block;
  position: relative;
  transition: transform 0.3s ease;
}

.menu a:not(.btn-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-in-out;
}

.menu a:not(.btn-contact):hover {
  transform: translateY(-3px);
}

.menu a:not(.btn-contact):hover::after {
  transform: scaleX(1);
}

/* --- Seção Hero --- */
.hero-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: block;
  width: max-content;
  margin: 0 auto;
  background-color: var(--bg-color);
  color: var(--primary);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: var(--font-medium-500);
  padding: 1rem 1.5rem;
  text-decoration: none;
  transform: translateZ(0);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--secondary-hover);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  opacity: 1;
}

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

/* --------------------------------------------- */
/* COMPONENTES REUTILIZÁVEIS                     */
/* --------------------------------------------- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --------------------------------------------- */
/* SEÇÃO: SOBRE NÓS                              */
/* --------------------------------------------- */
.about-us {
  background-color: var(--bg-color);
  padding: 4rem 1.5rem;
  color: var(--primary);
}

.about-us h2 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
}

.about-us p {
  font-size: 1.125rem;
  line-height: 1.6;
  text-align: center;
}

.about-us p + p {
  margin-top: 1.5rem;
}

/* --------------------------------------------- */
/* SEÇÃO: ATUAÇÃO                                */
/* --------------------------------------------- */
.valores-section {
  width: 100%;
  background-color: var(--primary);
}

.valores-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  position: relative;
  padding: 0;
  background: url("/assets/atuacao.webp") center/cover no-repeat;
}

.valores-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 60%;
}

.valores-imagem {
  display: none;
}

.valores-texto {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 90%;
  color: var(--text-color);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 1);
}

.valores-texto .texto-menor {
  font-size: 1.6rem;
}

.valores-texto h3 {
  font-size: 1.9rem;
  font-weight: var(--font-bold-700);
  line-height: 1.25;
  margin: 0;
}

.valores-texto .descricao {
  font-size: 1.15rem;
  line-height: 1.5;
}

/* ============================================= */
/* SEÇÃO: SERVIÇOS                               */
/* ============================================= */
.servicos-section {
  background-color: var(--bg-color);
  padding: 4rem 1.5rem;
}

.servicos-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.servicos-titulo {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: var(--font-bold-700);
  line-height: 1.25;
  color: var(--primary);
  text-align: center;
}

.servicos-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.accordion-item {
  display: flex;
  flex-direction: column;
}

.accordion-header {
  width: 100%;
  background-color: #f4f0e4;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  text-align: left;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: var(--font-bold-700);
  color: var(--primary);
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-image: url("../images/seta.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
  transform: rotate(0deg);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 1rem;
  margin-top: 0.4rem;
}

.accordion-content p {
  font-size: 1rem;
  line-height: 1.55;
  padding: 0.5rem 0;
}

/* ============================================= */
/* SEÇÃO: CARROSSEL DE PASSOS                    */
/* ============================================= */
.steps-carousel {
  background-color: var(--bg-color);
  padding: 1.5rem 0;
}

.steps-carousel h2 {
  color: var(--primary);
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  gap: 1.5rem;
  padding: 1rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.step-card {
  flex: 0 0 80%;
}

.step-card--active {
  background-color: var(--primary);
  color: var(--text-color);
}

.step-card--active p {
  color: var(--text-color);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f4f0e4;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.carousel-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--secondary-hover);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.carousel-button:hover::after {
  opacity: 1;
}

.carousel-button::before {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("../images/seta.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-button--left::before {
  transform: rotate(-90deg);
}

.carousel-button--right::before {
  transform: rotate(90deg);
}

.carousel-button:hover {
  background-color: var(--secondary-hover);
}

.carousel-button--left {
  left: -14px;
}

.carousel-button--right {
  right: -14px;
}

.service-card {
  background-color: var(--secondary);
  color: var(--primary);
  padding: 2rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.35rem;
  font-weight: var(--font-bold-700);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 1.1rem;
  color: black;
  line-height: 1.6;
}

.service-card.step-card--active {
  background-color: var(--primary);
  color: var(--text-color);
}

.service-card.step-card--active p {
  color: var(--text-color);
}

/* ============================================= */
/* SEÇÃO: CONTATO                                */
/* ============================================= */
.contact-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-icon {
  height: clamp(60px, 10vw, 120px);
  width: auto;
  display: block;
}

.contact-section {
  background-color: var(--bg-color);
  padding: 4rem 1.5rem;
}

.contact-promo {
  background-color: var(--secondary);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 2rem 6rem;
  color: var(--primary);
}

.promo-text {
  font-size: 4rem;
  font-weight: var(--font-bold-700);
  color: var(--primary);
}

.contact-form-container {
  background-color: var(--primary);
  color: var(--text-color);
  padding: 3rem 1.5rem;
}

.contact-form-container h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #f0f4f8;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--primary);
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: #6c757d;
}

.btn-submit {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: var(--font-bold-700);
  font-size: 1rem;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--secondary-hover);
}

/* ============================================= */
/* MODAL DE CONTATO (OVERLAY)                    */
/* ============================================= */
.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 53, 46, 0.4);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 2rem;
  cursor: pointer;
}

.contact-overlay.open {
  display: flex;
}

.contact-container {
  cursor: default;
}

.contact-overlay .contact-container {
  max-width: 620px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.contact-overlay .contact-promo {
  display: none !important;
}

.contact-overlay .contact-form-container {
  border-radius: 6px;
  padding: 3rem 2rem;
  background-color: var(--primary);
  color: var(--text-color);
  width: 100%;
}

.contact-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: var(--text-color);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.3s;
}

.contact-close:hover {
  transform: scale(1.15);
}

/* ============================================= */
/* SEÇÃO: FOOTER                                 */
/* ============================================= */
.site-footer {
  background-color: var(--primary);
  color: var(--text-color);
  padding: 4rem 1.5rem 2rem;
  font-size: 0.9rem;
}

/* --- Grade Principal (Mobile) --- */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: center;
}

.footer-column h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: var(--font-bold-700);
}

.footer-column p {
  line-height: 1.6;
  opacity: 0.8;
}

.footer-column a {
  text-decoration: none;
  color: var(--text-color);
}

.footer-column a:hover {
  text-decoration: underline;
  color: var(--secondary);
}

.footer-column li > a:hover,
.footer-links a:hover {
  text-decoration: none;
}

/* --- Coluna com a Logo --- */
.footer-logo-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: block;
  height: clamp(60px, 4vw, 40px);
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-logo-column p {
  max-width: 300px;
  line-height: 1.55;
}

/* --- Coluna de Links de Navegação --- */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-nav a::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--secondary);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.footer-nav a:hover::after {
  opacity: 1;
}

.footer-sub {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  opacity: 0.7;
  border-top: 1px solid rgba(243, 239, 232, 0.2);
  padding-top: 2rem;
  margin-top: 3rem;
}

.copyright .highlight {
  color: #03e2bb;
  font-weight: var(--font-medium-500);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  position: relative;
  color: var(--text-color);
  text-decoration: none;
  transform: translateZ(0);
}

.footer-links a::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--secondary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.footer-links a:hover::after {
  opacity: 1;
}

/* ============================================= */
/* PÁGINAS INTERNAS (TERMOS DE USO)              */
/* ============================================= */
.internal-page .header-nav {
  min-height: auto;
  height: auto;
}

.internal-page .hero-section {
  display: none;
}

.legal-content {
  background-color: var(--bg-color);
  color: var(--primary);
  padding: 4rem 1.5rem;
}

.legal-content h1 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.legal-content .version {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
  line-height: 1.7;
  text-align: justify;
}

.legal-content ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-content a {
  color: var(--primary);
  font-weight: var(--font-medium-500);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

/* ============================================= */
/* AJUSTES RESPONSIVOS (DESKTOP)                 */
/* ============================================= */
@media (min-width: 992px) {
  /* --- Header (Desktop) --- */
  .header-nav {
    height: auto;
    min-height: 100vh;
  }

  .nav {
    padding: 3.5rem 6.875rem;
  }

  .hamburger-button {
    display: none;
  }

  .menu {
    position: static;
    flex-direction: row;
    height: auto;
    width: auto;
    background-color: transparent;
    transform: translateX(0);
    gap: 4.375rem;
  }

  .menu a {
    font-size: 1.313rem;
  }

  .hero-section {
    justify-content: flex-start;
    padding: clamp(4rem, 12vh, 10rem) 6.875rem clamp(3rem, 8vh, 6rem);
  }

  .hero-content {
    max-width: 700px;
  }

  .hero-content h1 {
    font-size: 3.125rem;
  }

  .hero-content p {
    font-size: 2.125rem;
    max-width: 630px;
  }

  .btn-primary {
    display: inline-block;
    margin: 0;
    font-size: 1.5rem;
  }

  /* --- Sobre Nós (Desktop) --- */
  .about-us {
    padding: 6rem 1rem;
  }

  .about-us h2 {
    font-size: 2.5rem;
  }

  .about-us p {
    font-size: 1.5rem;
  }

  /* --- Atuação (Desktop) --- */
  .valores-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 560px;
    padding: 0;
    background: none !important;
    background-color: var(--primary);
  }

  .valores-grid::before {
    opacity: 0%;
  }

  .valores-imagem {
    display: flex;
    overflow: hidden;
    align-items: center;
  }

  .valores-imagem img {
    height: 80%;
    width: auto;
    object-fit: contain;
    display: block;
  }

  .valores-texto {
    padding: 5rem 6rem;
    margin: 0;
    text-align: left;
    max-width: 650px;
    text-shadow: none;
  }

  .valores-texto .texto-menor {
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
  }

  .valores-texto h3 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.25;
  }

  .valores-texto .descricao {
    font-size: clamp(1.3rem, 1.8vw, 1.5rem);
    line-height: 1.55;
    max-width: 90%;
  }

  /* --- Serviços (Desktop) --- */
  .servicos-section {
    padding: 6rem 1.5rem;
  }

  .servicos-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.1fr;
    gap: 4rem;
    align-items: center;
  }

  .servicos-titulo {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .servicos-accordion {
    margin-top: 0;
  }

  /* --- Carrossel de Cards (Desktop) --- */
  .steps-carousel h2 {
    font-size: 2.5rem;
  }

  .carousel-track {
    gap: 2rem;
  }

  .step-card {
    flex-basis: 30%;
  }

  .carousel-button--left {
    left: -30px;
  }

  .carousel-button--right {
    right: -30px;
  }

  /* --- Seção de Contato (Desktop) --- */
  .contact-container {
    max-width: 1220px;
    height: 700px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
    height: 100%;
  }

  .contact-promo {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary);
    gap: 2.5rem;
  }

  .promo-inner {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    transform: translateY(-20px);
  }

  .contact-icon {
    height: 4.6em;
    width: auto;
  }

  .contact-promo h2 {
    font-size: 1em;
    line-height: 1.25;
    margin: 0;
    max-width: 22ch;
  }

  .contact-promo,
  .contact-form-container {
    display: flex;
    flex: 1;
  }

  .contact-form-container {
    padding: 4rem 3rem;
  }

  .contact-form-container h2 {
    font-size: 2.4rem;
    text-align: left;
  }

  .contact-form-container input,
  .contact-form-container textarea {
    background-color: #f4f0e4;
  }

  /* --- Contato Overlay (Desktop) --- */
  .contact-overlay .contact-container {
    max-width: 780px;
    width: 100%;
  }

  .contact-overlay .contact-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
  }

  .contact-overlay .contact-form-container {
    padding: 4rem 3rem;
    border-radius: 10px;
  }

  .contact-overlay .contact-form-container h2 {
    font-size: 2.25rem;
    text-align: left;
    line-height: 1.25;
    margin-bottom: 2.5rem;
  }

  .contact-overlay .contact-form-container form {
    gap: 1.25rem;
  }

  .contact-overlay input,
  .contact-overlay textarea {
    font-size: 1.1rem;
    padding: 1.1rem;
  }

  .contact-overlay .btn-submit {
    font-size: 1.2rem;
    padding: 1.15rem;
  }

  /* --- Footer (Desktop) --- */
  .footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    align-items: flex-start;
    text-align: left;
    gap: 4rem;
  }

  .footer-logo-column {
    align-items: flex-start;
  }

  /* --- Sub-footer (Desktop) --- */
  .footer-sub {
    flex-direction: row;
    align-items: center;
  }

  .footer-links {
    flex-grow: 1;
    justify-content: flex-end;
  }

  /* --- Termos de Uso (Desktop) --- */
  .legal-content {
    padding: 6rem 1rem;
  }
  .legal-content h1 {
    font-size: 2.75rem;
  }
  .legal-content h2 {
    font-size: 1.75rem;
  }
}
