/* =====================
   MAIN.CSS — VISÃO CENTRAL
===================== */

/* =====================
   VARIÁVEIS
===================== */
:root {
  --font-titulo: "poppins", sans-serif;
  --font-corpo: "figtree", sans-serif;

  --cor-dourado: #b8965a;
  --cor-dourado-hover: #9e7d46;
  --cor-texto: #2c2c2c;
  --cor-texto-claro: #4a4a4a;
  --cor-branco: #ffffff;
  --cor-fundo-claro: #f5f0ea;

  --max-width: 80rem;
  --radius-pill: 50px;
}

/* =====================
   RESET & BASE
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-style: normal;
  color: var(--cor-texto);
  background-color: var(--cor-branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
}

/* =====================
   TIPOGRAFIA BASE
===================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-style: normal;
  line-height: 1.05;
}

p {
  font-family: var(--font-corpo);
  font-weight: 300;
  line-height: 1.6;
}

/* =====================
   GRID CONTAINER
===================== */
.grid-container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media screen and (min-width: 40em) {
  .grid-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media screen and (min-width: 64em) {
  .grid-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* =====================
   UTILITÁRIOS
===================== */
.u-texto-centro {
  text-align: center;
}

.u-texto-esquerda {
  text-align: left;
}

.u-texto-direita {
  text-align: right;
}

.u-mb-sm {
  margin-bottom: 0.75rem;
}

.u-mb-md {
  margin-bottom: 1.5rem;
}

.u-mb-lg {
  margin-bottom: 2.5rem;
}

.u-mb-xl {
  margin-bottom: 4rem;
}

.u-mt-sm {
  margin-top: 0.75rem;
}

.u-mt-md {
  margin-top: 1.5rem;
}

.u-mt-lg {
  margin-top: 2.5rem;
}

/* =====================
   BOTÃO BASE
===================== */
.btn {
  display: inline-block;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.85rem 2.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn--dourado {
  background-color: var(--cor-dourado);
  color: var(--cor-branco);
}

.btn--dourado:hover {
  background-color: var(--cor-dourado-hover);
  color: var(--cor-branco);
}

.btn--outline {
  background-color: transparent;
  color: var(--cor-dourado);
  border: 1px solid var(--cor-dourado);
}

.btn--outline:hover {
  background-color: var(--cor-dourado);
  color: var(--cor-branco);
}

.btn--block {
  display: block;
  width: 100%;
}

/* =====================
   HERO
===================== */
.hero {
  background: linear-gradient(to bottom, #A2968B 60%, #ffffff 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-narrow {
  width: 75%;
  margin: 0 auto;
}

.hero-logo img {
  height: 52px;
  width: auto;
}

.hero-menu {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.25rem;
}

.hero-menu span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--cor-branco);
  border-radius: 2px;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
  width: 75%;
}

/* hero-imagem: apenas propriedades comuns a todos os breakpoints */
.hero-imagem {
  overflow: hidden;
  flex-shrink: 0;
}

.hero-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-content {
  text-align: left;
}

.hero-titulo {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.0;
  color: var(--cor-branco);
  margin-bottom: 1rem;
}

.hero-subtitulo {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: clamp(0.875rem, 3vw, 0.95rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 400px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  background-color: var(--cor-dourado);
  color: var(--cor-branco);
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  text-decoration: none;
  text-align: center;
  border-radius: var(--radius-pill);
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: var(--cor-dourado-hover);
  color: var(--cor-branco);
}

/* =====================
   MENU DRAWER
===================== */
.menu-drawer {
  background-color: #A2968B;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  transition: right 0.35s ease;
}

.menu-drawer--aberto {
  right: 0;
}

.menu-drawer-fechar {
  color: var(--cor-branco);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.menu-drawer-lista {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  list-style: none;
}

.menu-drawer-link {
  color: var(--cor-branco);
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-drawer-link:hover {
  color: var(--cor-branco);
  opacity: 0.7;
}

.menu-drawer-link--cta {
  display: inline-block;
  background-color: var(--cor-dourado);
  color: var(--cor-branco);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  text-align: center;
}

.menu-drawer-link--cta:hover {
  background-color: var(--cor-dourado-hover);
  color: var(--cor-branco);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.menu-overlay--visivel {
  opacity: 1;
  pointer-events: all;
}

/* =====================
   PRODUTOS
===================== */
.produtos {
  background-color: #ffffff;
  padding-bottom: 4rem;
}

.produtos-header {
  margin-bottom: 2.5rem;
}

.produtos-titulo {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cor-dourado);
  margin-bottom: 0.4rem;
}

.produtos-subtitulo {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--cor-texto-claro);
}

.produtos-carrossel {
  overflow: hidden;
}

.produtos-track {
  display: flex;
  gap: 3.5rem;
  transition: transform 0.4s ease;
}

.produto-card {
  flex: 0 0 calc(33.333% - 1rem);
}

.produto-card-imagem {
  position: relative;
  width: 80%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.produto-card-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0% 0% 0% 50%;
}

.produto-card-label {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--cor-branco);
}

.produtos-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.produtos-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #D2C7BD;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.produtos-dot--ativo {
  background-color: #D2C7BD;
}

/* =====================
   UNIDADES
===================== */
.unidades {
  background-color: var(--cor-branco);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.unidades-header {
  text-align: center;
  margin-bottom: 3rem;
}

.unidades-titulo {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  color: var(--cor-dourado);
  line-height: 1.0;
  margin-bottom: 1rem;
}

.unidades-subtitulo {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--cor-texto-claro);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

.unidades-carrossel {
  overflow: hidden;
}

.unidades-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
}

.unidade-card {
  flex: 0 0 calc(33.333% - 1.5rem);
}

.unidade-card-imagem {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
  /* filter: grayscale(100%); */
}

.unidade-card-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.unidade-card-info {
  text-align: center;
}

.unidade-card-nome {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--cor-dourado);
  margin-bottom: 0.75rem;
}

.unidade-card-endereco,
.unidade-card-telefone,
.unidade-card-horario {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--cor-texto-claro);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.unidade-card-mapa {
  display: inline-block;
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--cor-texto-claro);
  text-decoration: underline;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.unidade-card-mapa:hover {
  color: var(--cor-dourado);
}

.unidades-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.unidades-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #D2C7BD;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.unidades-dot--ativo {
  background-color: #D2C7BD;
}

/* =====================
   DIFERENCIAIS
===================== */
.diferenciais {
  background-color: #D2C7BD;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.diferenciais-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.diferenciais-content {
  flex: 1;
  max-width: 520px;
}

.diferenciais-label {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #BB996B;
  margin-bottom: 1rem;
}

.diferenciais-titulo {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--cor-branco);
  line-height: 1.0;
  margin-bottom: 1.5rem;
}

.diferenciais-texto {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--cor-branco);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 440px;
}

.diferenciais-imagem {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diferenciais-circulo {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background-color: var(--cor-dourado);
  opacity: 0.15;
  z-index: 0;
}

.diferenciais-imagem img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  object-fit: contain;
}

.marcas {
  background-color: var(--cor-dourado);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.marcas-lista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  list-style: none;
}

.marcas-item {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.marcas-item img {
  max-height: 100%;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  will-change: opacity;
}

.marcas-item img:hover {
  opacity: 1;
}

/* =====================
   DEPOIMENTOS
===================== */
.depoimentos {
  background-color: var(--cor-branco);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.depoimentos-inner {
  text-align: center;
}

.depoimentos-titulo {
  font-family: var(--font-titulo);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--cor-dourado);
  margin-bottom: 1rem;
}

.depoimentos-aspas {
  font-size: 6rem;
  color: var(--cor-dourado);
  line-height: 1;
  margin-bottom: 2rem;
  letter-spacing: -0.1em;
}

.depoimentos-carrossel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.depoimentos-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.depoimentos-track {
  display: flex;
  transition: transform 0.4s ease;
}

.depoimento {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.depoimento-texto {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--cor-texto-claro);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}

.depoimento-autor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.depoimento-foto {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #B8965A;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.depoimento-nome {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--cor-texto-claro);
}

.depoimentos-seta {
  background: none;
  border: 1px solid var(--cor-dourado);
  color: var(--cor-dourado);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.depoimentos-seta:hover {
  background-color: var(--cor-dourado);
  color: var(--cor-branco);
}

/* =====================
   FOOTER
===================== */
.footer {
  background-color: var(--cor-dourado);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-topo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
}

.footer-link {
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cor-branco);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-link--cta {
  border: 1px solid var(--cor-branco);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-link--cta:hover {
  background-color: var(--cor-branco);
  color: var(--cor-dourado);
  opacity: 1;
}

.footer-divisor {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
}

.footer-rodape {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-link {
  color: var(--cor-branco);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.footer-social-link:hover {
  opacity: 0.7;
}

/* =====================
   MEDIA QUERIES — MOBILE
===================== */
@media screen and (max-width: 1023px) {

  /* HERO */
  .hero {
    min-height: auto;
  }

  .hero-narrow {
    width: 100%;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding-top: 0;
    padding-bottom: 2rem;
    padding-left: 0;
    padding-right: 0;
  }

  .hero-imagem {
    order: -1;
    width: 356px;
    height: 370px;
    border-radius: 0;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-imagem img {
    object-position: center top;
  }

  .hero-content {
    text-align: left;
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-titulo {
    font-size: clamp(2.25rem, 8vw, 3rem);
    text-align: left;
  }

  .hero-subtitulo {
    font-size: 1rem;
    text-align: left;
    max-width: 100%;
  }

  .hero-cta {
    font-size: 0.9rem;
    display: block;
    width: 100%;
    text-align: center;
  }

  /* PRODUTOS */
  .produtos {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .produtos-track {
    gap: 0;
  }

  .produto-card {
    flex: 0 0 100%;
  }

  .produto-card-imagem {
    width: 100%;
  }

  .produtos-titulo {
    font-size: clamp(1.75rem, 6vw, 2rem);
  }

  .produtos-subtitulo {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
  }

  .produto-card-label {
    font-size: 0.85rem;
  }

  /* UNIDADES */
  .unidades {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .unidades-track {
    gap: 0;
  }

  .unidade-card {
    flex: 0 0 100%;
  }

  .unidades-titulo {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .unidades-subtitulo {
    font-size: 0.95rem;
  }

  .unidade-card-nome {
    font-size: 1.05rem;
  }

  .unidade-card-endereco,
  .unidade-card-telefone,
  .unidade-card-horario {
    font-size: 0.9rem;
  }

  .unidade-card-mapa {
    font-size: 0.9rem;
  }

  /* DIFERENCIAIS */
  .diferenciais {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .diferenciais-label {
    font-size: 0.85rem;
  }

  .diferenciais-titulo {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .diferenciais-texto {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .marcas-lista {
    flex-wrap: nowrap;
  }

  .marcas-item {
    height: 60px;
  }


  /* DEPOIMENTOS */
  .depoimentos {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .depoimentos-titulo {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .depoimentos-aspas {
    font-size: 4.5rem;
  }

  .depoimento-texto {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .depoimento-nome {
    font-size: 0.8rem;
  }

  /* FOOTER */
  .footer-topo {
    align-items: center;
    gap: 2rem;
  }

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

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-link {
    font-size: 0.8rem;
  }

  .footer-link--cta {
    font-size: 0.8rem;
  }

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

}

/* =====================
   MEDIA QUERIES — DESKTOP
===================== */
@media screen and (min-width: 1024px) {

  .hero {
    min-height: auto;
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    padding-bottom: 4rem;
    gap: 2rem;
  }

  .hero-imagem {
    order: 1;
    width: 420px;
    height: 480px;
    border-radius: 0;
    align-self: auto;
    flex-shrink: 0;
  }

  .hero-content {
    flex: 1;
    max-width: 550px;
  }

  .diferenciais-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }

  .diferenciais-imagem {
    width: 45%;
    max-width: 480px;
  }

  .diferenciais-circulo {
    width: 400px;
    height: 400px;
  }

  /*.marcas-lista {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }*/

  .marcas-item {
    max-width: 150px;
  }

  .footer-topo {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

}