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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

#root, #__next {
  isolation: isolate;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: 'Magnisa Sans';
  src: url('../fonts/MagnisaSans-Regular.woff2') format('woff2');
  font-weight: 300 500;
  font-display: swap;
}

@font-face {
  font-family: 'Magnisa Sans';
  src: url('../fonts/MagnisaSans-Bold.woff2') format('woff2');
  font-weight: 600 900;
  font-display: swap;
}

html {
  font-size: 16px;
  margin: 0;
  padding: 0;
}

:root {
  --color-verde-cedro: #1c4132;
  --color-areia-rose: #E6CFBE;
  --color-cinza-escuro: #333231;
  --color-off-white: #FFF6EF;
  --color-black: #000000;
  --color-grey: #7F7F7F;
  --color-light-rose: #F8EBE3;
  --color-light-orange: #BC9F85;
  --color-white: #FFFBF8;
  --color-title: #CBA990;
  --color-btn-variant: #AB9583;
  --color-quotes: #AE8A67;

  --font-dm-sans: 'DM Sans', sans-serif;
  --font-magnisa-sans: 'Magnisa Sans', sans-serif;

  --font-xs: 0.75rem;
  --font-large: 4.8rem;
  --font-medium: 1rem;
  --font-md: 1.25rem;
}

body {
  font-family: var(--font-dm-sans);
  color: var(--color-cinza-escuro);
  background-color: var(--color-verde-cedro);
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

/* Previne scroll quando menu mobile está aberto */
html.menu-open {
  overflow: hidden;
}

html.menu-open body {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

header {
  position: fixed;
  top: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: background 0.3s ease, left 0.3s ease, right 0.3s ease, width 0.3s ease;
  /* Transitions are handled in liquid-glass.css */
}

/* Liquid glass scrolled state is now handled in liquid-glass.css */

header > nav {
  font-family: var(--font-dm-sans);
  font-size: var(--font-xs);
  color: var(--color-off-white);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  gap: 2rem;
}

header > nav img {
  height: 2rem;
  display: block;
  justify-self: center;
}

header > nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

header > nav ul:first-child {
  justify-content: flex-end;
}

header > nav ul:last-child {
  justify-content: flex-start;
}

header > nav ul li {
  list-style: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
}

header > nav ul li a {
  color: var(--color-off-white);
  text-decoration: none;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  height: 100%;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

header > nav ul li a:hover {
  border-bottom-color: var(--color-off-white);
}

.btn-consulta {
  border: 1px solid var(--color-off-white);
  background-color: var(--color-off-white);
  color: var(--color-grey);
  border-radius: 4px;
  padding: 0.4rem 1rem;
  font-family: var(--font-dm-sans);
  font-size: var(--font-xs);
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-consulta:hover {
  background-color: transparent;
  color: var(--color-off-white);
}

/* Toggle (Hamburger) - escondido no desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  border-radius: 12px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-off-white);
  transition: all 0.3s ease;
  position: absolute;
}

.nav__toggle span:nth-child(1) {
  top: 12px;
}

.nav__toggle span:nth-child(2) {
  top: 19px;
}

.nav__toggle span:nth-child(3) {
  top: 26px;
}

/* Animação para X quando aberto */
header.menu-open .nav__toggle span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

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

header.menu-open .nav__toggle span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* Menu Mobile (drawer) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh; /* iOS Safari fix */
  width: min(84vw, 360px);
  background: var(--color-off-white);
  color: var(--color-cinza-escuro);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.mobile-menu__logo {
  width: 120px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(18%) saturate(1547%) hue-rotate(119deg) brightness(94%) contrast(92%);
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s ease;
}

.mobile-menu__close:hover {
  transform: rotate(90deg);
}

.mobile-menu__close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--color-verde-cedro);
  transition: all 0.3s ease;
}

.mobile-menu__close span:first-child {
  transform: rotate(45deg);
}

.mobile-menu__close span:last-child {
  transform: rotate(-45deg);
}

.mobile-menu__link {
  text-decoration: none;
  color: var(--color-cinza-escuro);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: var(--color-verde-cedro);
}

.mobile-menu__cta {
  align-self: flex-start;
  margin-top: 1rem;
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

/* Esconde completamente menu mobile no desktop */
@media (min-width: 1367px) {
  .mobile-menu,
  .mobile-menu__overlay {
    display: none !important;
  }
}

/* Responsivo: Tablet e Mobile */
@media (max-width: 1366px) {
  /* Header fixo no topo com fundo verde cedro */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-verde-cedro);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    z-index: 100;
    overflow: hidden;
  }

  /* Nav como flex container: logo centralizado, hamburger à direita */
  header > nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  /* Esconde links do desktop */
  header > nav .nav__links {
    display: none !important;
  }

  /* Logo centralizado */
  header > nav .nav__logo {
    height: 1.75rem;
    filter: brightness(0) invert(1); /* Branco */
  }

  /* Mostra hamburger no mobile, posicionado à direita */
  .nav__toggle {
    display: flex;
    position: absolute;
    right: 1.5rem;
  }

  /* Garante que spans do hamburger sejam brancos */
  .nav__toggle span {
    background: var(--color-off-white);
  }

  /* Ajusta a cor do botão CTA dentro do menu mobile */
  .mobile-menu .btn-consulta {
    background: var(--color-verde-cedro);
    color: var(--color-off-white);
    border-color: var(--color-verde-cedro);
  }

  .mobile-menu .btn-consulta:hover {
    background: transparent;
    color: var(--color-verde-cedro);
  }

  /* Mostra estrutura do menu apenas em telas <= 1024px */
  .mobile-menu,
  .mobile-menu__overlay {
    display: block;
    visibility: visible;
  }

  /* Animação de abertura do menu */
  header.menu-open .mobile-menu {
    transform: translateX(0);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
  }

  header.menu-open .mobile-menu__overlay {
    opacity: 1;
    pointer-events: all;
  }

  /* Previne clique/toque através do overlay */
  header.menu-open .mobile-menu__overlay {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Mobile específico (768px and below) */
@media (max-width: 768px) {
  .mobile-menu {
    width: min(90vw, 320px);
  }

  .mobile-menu__content {
    padding: 1.5rem 1rem;
  }

  .mobile-menu__logo {
    width: 100px;
  }

  .mobile-menu__close {
    width: 36px;
    height: 36px;
  }

  .mobile-menu__close span {
    width: 20px;
  }

  .mobile-menu__link {
    font-size: 0.8125rem;
    letter-spacing: 1.2px;
  }

  /* Ajustes do header e nav */
  header > nav {
    padding: 0.75rem 1rem;
  }

  header > nav .nav__logo {
    height: 1.5rem;
  }

  .nav__toggle {
    width: 44px;
    height: 44px;
    right: 1rem;
  }

  .nav__toggle span {
    width: 20px;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .mobile-menu {
    width: min(100vw, 280px);
  }

  .mobile-menu__content {
    padding: 1.5rem 0.875rem;
    gap: 1.25rem;
  }

  .mobile-menu__header {
    margin-bottom: 0.5rem;
  }

  .mobile-menu__logo {
    width: 90px;
  }

  .mobile-menu__close {
    width: 32px;
    height: 32px;
  }

  .mobile-menu__close span {
    width: 18px;
  }

  .mobile-menu__link {
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.375rem 0;
  }

  .mobile-menu__cta {
    margin-top: 0.5rem;
  }

  .mobile-menu .btn-consulta {
    font-size: 0.6875rem;
    padding: 0.5rem 1rem;
  }

  /* Ajustes do header e nav para telas pequenas */
  header > nav {
    padding: 0.625rem 1rem;
  }

  header > nav .nav__logo {
    height: 1.375rem;
  }

  .nav__toggle {
    width: 40px;
    height: 40px;
    right: 1rem;
  }

  .nav__toggle span {
    width: 18px;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  opacity: 0.3;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-off-white);
}

.hero__information {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: 56.25rem;
}

.hero__information > p {
  font-family: var(--font-magnisa-sans);
  font-size: var(--font-large);
  text-align: center;
  font-weight: 700;
}

.btn_outline {
  border: 1px solid var(--color-off-white);
  font-family: var(--font-dm-sans);
  letter-spacing: 0.4rem;
  background-color: transparent;
  padding: 1rem 3rem;
  border-radius: 2rem;
  text-transform: uppercase;
  color: var(--color-off-white);
  max-width: 50rem;
  cursor: pointer;
  text-decoration: none;
}

.btn_outline_variant {
  border: 1px solid var(--color-btn-variant);
  font-family: var(--font-dm-sans);
  background-color: transparent;
  padding: 1rem 3rem;
  border-radius: 1rem;
  text-transform: uppercase;
  color: var(--color-light-orange);
  max-width: 23rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.section__about-us {
  min-height: 70vh;
  background-color: var(--color-verde-cedro);
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section__about-us__title {
  font-size: var(--font-medium);
  color: var(--color-areia-rose);
  letter-spacing: 0.75rem;
  font-weight: 500;
}

.section__about-us__subject {
  font-size: var(--font-large);
  font-family: var(--font-magnisa-sans);
  color: var(--color-areia-rose);
  font-weight: 700;
  max-width: 80rem;
  text-align: center;
  text-transform: uppercase;
  margin-top: 2rem;
  line-height: 4.5rem;
}

.section__about-us__subtitle {
  font-size: var(--font-md);
  color: var(--color-off-white);
  max-width: 51rem;
  font-family: var(--font-dm-sans);
  text-align: center;
  margin: 4rem 0;
}

.section__about-us > img {
  width: 4.5rem;
  animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.section__services {
  min-height: 100vh;
  background-color: var(--color-off-white);
  padding: 4rem 2rem;
}

.section__testimonials {
  min-height: 50vh;
  background-color: var(--color-white);
}

.section__galery {
  min-height: 100vh;
  background-color: var(--color-off-white);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.galery__label {
  font-size: var(--font-xs);
  letter-spacing: 0.5rem;
  color: var(--color-cinza-escuro);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.section {
  width: 100%;
  padding: 2rem 8rem;
}

.section__header {
  margin-bottom: 8rem;
  margin-top: 4rem;
}

.section__header > .section__title,
.section__header > .section__subtitle {
  max-width: 100%;
}

.section__title {
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  color: var(--color-title);
  font-family: var(--font-dm-sans);
}

.section__subtitle {
  font-family: var(--font-magnisa-sans);
  font-size: 4rem;
  color: var(--color-cinza-escuro);
  font-weight: 500;
  line-height: 1.2;
  margin-top: 2rem;
  max-width: 900px;
}

.bento-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 390px 579px 360px;
  grid-template-rows: repeat(20, 1fr);
  gap: 1.25rem;
  aspect-ratio: 1400 / 1200;
}

.bento-grid__item {
  position: relative;
  overflow: hidden;
}

.bento-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center;
}

.bento-grid__item--1 {
  /* Coluna 1, Linha 1: metade da altura da Coluna 2 Linha 1 */
  grid-column: 1 / 2;
  grid-row: 1 / 6; /* 5/20 = 50% do item 2 */
}

.bento-grid__item--2 {
  /* Coluna 2, Linha 1: metade do grid inteiro (10/20) */
  grid-column: 2 / 3;
  grid-row: 1 / 11; /* 50% da altura total */
  transform: translateY(-0.75rem); /* sobe para sair da linha do item 1 */
  z-index: 1;
}

.bento-grid__item--3 {
  /* Coluna 3, Linha 1: 80% da altura do item 2 */
  grid-column: 3 / 4;
  /* 80% da altura do item 2 e centralizado dentro do range do item 2 */
  grid-row: 2 / 10; /* ocupa 8 linhas, com 1 linha de folga acima/abaixo do item2 */
  transform: translateY(-0.75rem); /* acompanha a subida do item 2 para ficar centralizado */
}

.bento-grid__item--4 {
  /* Coluna 1, Linha 2: centralizado verticalmente em relação ao item 2 e mais esticado */
  grid-column: 1 / 2;
  grid-row: 6 / 14; /* ocupa o miolo do grid superior */
}

.bento-grid__item--5 {
  /* Coluna 2, Linha 2: outra metade do grid e 2 colunas */
  grid-column: 2 / 4; /* pega colunas 2 e 3 */
  grid-row: 11 / 21; /* segunda metade do grid */
}

.bento-grid__item--6 {
  /* Coluna 1, Linha 3: aproximar formato quadrado */
  grid-column: 1 / 2;
  grid-row: 14 / 20; /* sobe um pouco mantendo proporção próxima de quadrado */
}

/* Ajuste de enquadramento fino por imagem */
.bento-grid__item--2 img {
  /* sobe um pouco o ponto focal da imagem */
  object-position: 50% 42%;
}

/* Tablet grande: ajustes do bento-grid */
@media (max-width: 1366px) and (min-width: 1025px) {
  .bento-grid {
    aspect-ratio: auto;
    min-height: 900px;
  }

  .bento-grid__item--2 {
    transform: translateY(-0.5rem);
  }

  .bento-grid__item--3 {
    transform: translateY(-0.5rem);
  }
}

/* Tablet médio: ajustes do bento-grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .bento-grid {
    aspect-ratio: auto;
    min-height: 700px;
  }

  .bento-grid__item--2 {
    transform: translateY(-0.4rem);
  }

  .bento-grid__item--3 {
    transform: translateY(-0.4rem);
  }
}

.section__articles {
  min-height: 50vh;
  background-color: var(--color-light-rose);
}

.section__services_description {
  font-size: 1.25rem;
  color: var(--color-cinza-escuro);
  max-width: 705px;
  margin-top: 1rem;
}

.section__services__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bold {
  font-weight: 700;
}

.section_services__item_container {
  display: flex;
  gap: 2rem;
}

.section__services__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 450px;
  gap: 1rem;
}

.section__services__item > h3 { 
  font-family: var(--font-magnisa-sans);
  font-weight: 400;
  font-size: 3rem;
}

.section__services__item > button {
  border: 1px solid var(--color-btn-variant);
  font-family: var(--font-dm-sans);
  background-color: transparent;
  padding: 1rem 3rem;
  border-radius: 1rem;
  text-transform: uppercase;
  color: var(--color-cinza-escuro);
  letter-spacing: 3px;
  max-width: 23rem;
  cursor: pointer;
}

footer {
  min-height: 50vh;
  background-color: var(--color-verde-cedro);
}

/* ===================== */
/* Responsividade global */
/* ===================== */

/* Tablet (1366px and below, above mobile) */
@media (max-width: 1366px) and (min-width: 769px) {
  .section { padding: 2rem 3rem; }
  .section__subtitle { font-size: 3rem; }
  .section__services__header { gap: 2rem; }

  /* Section header spacing */
  .section__header {
    margin-bottom: 5rem;
    margin-top: 3rem;
  }

  /* Hero adjustments */
  .hero__information > p {
    font-size: 3.5rem;
    padding: 0 2rem;
  }

  .btn_outline {
    padding: 0.875rem 2.5rem;
    letter-spacing: 0.3rem;
    font-size: 0.875rem;
  }

  /* About Us adjustments - adiciona padding horizontal */
  .section__about-us {
    padding: 0 4rem;
  }

  .section__about-us__subject {
    font-size: 3.5rem;
    line-height: 3.75rem;
    padding: 0 2rem;
  }

  .section__about-us__subtitle {
    font-size: 1.125rem;
    padding: 0 2rem;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .section { padding: 1.5rem 1rem; }
  .section__subtitle { font-size: 2.25rem; }
  .section__about-us__subject {
    font-size: 2.5rem;
    line-height: 2.75rem;
    padding: 0 1rem;
  }
  .section__services__header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Section header spacing */
  .section__header {
    margin-bottom: 3rem;
    margin-top: 2rem;
  }

  /* Hero mobile */
  .hero__information > p {
    font-size: 2.5rem;
    padding: 0 1rem;
    line-height: 1.1;
  }

  .btn_outline {
    padding: 0.75rem 2rem;
    letter-spacing: 0.2rem;
    font-size: 0.75rem;
    width: 90%;
    max-width: 320px;
  }

  /* About Us mobile */
  .section__about-us {
    padding: 3rem 0;
  }

  .section__about-us__title {
    font-size: 0.875rem;
    letter-spacing: 0.5rem;
  }

  .section__about-us__subtitle {
    font-size: 1rem;
    padding: 0 1rem;
    margin: 2rem 0;
  }

  /* Services mobile */
  .section__services {
    padding: 3rem 1rem;
  }

  .section__title {
    font-size: 1.125rem;
    letter-spacing: 0.3rem;
  }

  .section__services_description {
    font-size: 1rem;
  }

  .btn_outline_variant {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    max-width: 100%;
    text-align: center;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .section { padding: 1.5rem 0.75rem; }

  /* Section header spacing */
  .section__header {
    margin-bottom: 2.5rem;
    margin-top: 1.5rem;
  }

  /* Hero extra small */
  .hero__information > p {
    font-size: 2rem;
    padding: 0 0.75rem;
  }

  .btn_outline {
    padding: 0.625rem 1.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.15rem;
  }

  /* About Us extra small */
  .section__about-us__subject {
    font-size: 2rem;
    line-height: 2.25rem;
  }

  .section__about-us__subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .section__subtitle {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .section__title {
    font-size: 1rem;
    letter-spacing: 0.25rem;
  }

  .section__services_description {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
/* Hero Carousel Styles */

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0s 0.8s;
  z-index: 0;
}

.hero-carousel__slide--active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease-in-out, visibility 0s 0s;
  z-index: 1;
}

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

/* Garante que overlay e conteúdo fiquem sobre o carrossel */
.hero .hero__overlay {
  z-index: 2;
}

.hero .hero__content {
  z-index: 3;
}

/* Navigation Arrows */
.hero-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-carousel__btn--prev {
  left: 40px;
}

.hero-carousel__btn--next {
  right: 40px;
}

.hero-carousel__btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* Carousel Indicators (dots) */
.hero-carousel__indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-carousel__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-carousel__indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.hero-carousel__indicator--active {
  background: #FFFFFF;
  width: 14px;
  height: 14px;
}

/* Responsive */
@media (max-width: 1366px) {
  .hero-carousel__btn {
    width: 50px;
    height: 50px;
  }

  .hero-carousel__btn--prev {
    left: 30px;
  }

  .hero-carousel__btn--next {
    right: 30px;
  }

  .hero-carousel__btn img {
    width: 18px;
    height: 18px;
  }

  .hero-carousel__indicators {
    bottom: 30px;
    gap: 10px;
  }

  .hero-carousel__indicator {
    width: 10px;
    height: 10px;
  }

  .hero-carousel__indicator--active {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 768px) {
  .hero-carousel__btn {
    width: 40px;
    height: 40px;
  }

  .hero-carousel__btn--prev {
    left: 20px;
  }

  .hero-carousel__btn--next {
    right: 20px;
  }

  .hero-carousel__btn img {
    width: 16px;
    height: 16px;
  }

  .hero-carousel__indicators {
    bottom: 80px;
    gap: 8px;
  }

  .hero-carousel__indicator {
    width: 8px;
    height: 8px;
  }

  .hero-carousel__indicator--active {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero-carousel__btn {
    width: 36px;
    height: 36px;
  }

  .hero-carousel__btn--prev {
    left: 15px;
  }

  .hero-carousel__btn--next {
    right: 15px;
  }

  .hero-carousel__btn img {
    width: 14px;
    height: 14px;
  }

  .hero-carousel__indicators {
    bottom: 70px;
  }
}
/* Carrossel de Serviços */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden; /* evita quebrar a página com largura extra */
  width: 100%;
  padding-right: 0;
  touch-action: pan-y; /* permite rolar a página vertical enquanto arrasta horizontalmente */
}

.section_services__item_container {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.section__services__item {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  flex-grow: 0;
  display: flex;
  flex-direction: column;
}

/* Garantir que todas as imagens tenham o mesmo tamanho */
.section__services__item img {
  width: 100%;
  height: 432px;
  object-fit: cover;
  object-position: center;
}

/* Garantir que os títulos tenham a mesma altura (base - mobile) */
.section__services__item .section__services__title {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Desktop e Tablet: 4 serviços por vez */
@media (min-width: 769px) {
  .section__services__item {
    width: calc((100% - 120px) / 4); /* 4 items com 40px de gap entre eles (3 gaps = 120px) */
    min-width: calc((100% - 120px) / 4);
    max-width: calc((100% - 120px) / 4);
  }

  /* Ajustar título para não quebrar */
  .section__services__item .section__services__title {
    font-size: 1.125rem; /* 18px */
    min-height: 60px;
    padding: 0 0.5rem;
    line-height: 1.3;
  }
}

/* Desktop maior: permite fontes maiores */
@media (min-width: 1200px) {
  .section__services__item .section__services__title {
    font-size: 1.25rem; /* 20px */
    min-height: 70px;
  }
}

/* Controles de navegação - posicionados nas laterais */
.carousel-btn {
  position: absolute;
  top: 216px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, left 0.3s ease;
  width: 87px;
  height: 87px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 1;
  visibility: visible;
}

.carousel-btn--prev {
  left: 0;
}

.carousel-btn--prev:disabled {
  left: -120px;
}

.carousel-btn--next {
  right: 0;
}

.carousel-btn:hover:not(:disabled) {
  opacity: 0.8;
}

.carousel-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0;
  visibility: hidden;
  cursor: not-allowed;
}

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

/* Responsividade: ajusta alturas/controles */
@media (max-width: 1200px) {
  .section__services__item img { height: 400px; }
  .carousel-btn { top: 200px; }
}

@media (max-width: 768px) {
  .carousel-btn { display: none !important; }
  .section__services__item img { height: 350px; }
  .carousel-btn { width: 60px; height: 60px; top: 175px; }
  .section_services__item_container { gap: 24px; }
}

@media (max-width: 480px) {
  .section__services__item img { height: 250px; }
  .carousel-btn { width: 50px; height: 50px; top: 125px; }
}
.service-details {
  width: 100%;
}

.service-details__back {
  background: transparent;
  border: 2px solid #1C4132;
  color: #1C4132;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 32px;
  transition: all 0.3s ease;
  border-radius: 4px;
  align-self: flex-start;
}

.service-details__back:hover {
  background: #1C4132;
  color: #FFF6EF;
}

.service-details__container {
  position: relative;
  width: 100%;
}

.service-details__content {
  display: flex;
  gap: 60px;
  align-items: stretch;
}

.service-details__image {
  flex: 0 0 auto;
  max-width: 500px;
  width: 500px;
  display: flex;
}

.service-details__image img {
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.service-details__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
  max-width: 450px;
}

.service-details__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-details__main-title {
  font-size: 60px;
  font-weight: 500;
  color: var(--color-cinza-escuro);
  font-family: var(--font-magnisa-sans);
  line-height: 1.1;
}

.service-details__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-light-orange);
  letter-spacing: 1.5px;
}

.service-details__description {
  font-size: 16px;
  line-height: 1.8;
  color: #726e67;
  min-height: 200px;
}

/* Botões de navegação nos detalhes */
.service-details__container .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: all 0.3s ease;
}

.service-details__container .carousel-btn--prev {
  left: 0;
}

.service-details__container .carousel-btn--prev:disabled {
  left: -120px;
}

.service-details__container .carousel-btn--next {
  right: 0;
}

.service-details__container .carousel-btn--next:disabled {
  right: -120px;
}

.service-details__container .carousel-btn:disabled {
  opacity: 0;
  visibility: hidden;
}

/* Responsividade */
@media (max-width: 1366px) {
  .service-details__content {
    gap: 40px;
  }

  .service-details__image {
    width: 400px;
    max-width: 400px;
  }

  .service-details__image img {
    height: 600px;
  }

  .service-details__main-title {
    font-size: 48px;
  }

  .service-details__info {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .service-details__content {
    flex-direction: column;
    gap: 30px;
  }

  .service-details__image {
    width: 100%;
    max-width: 100%;
  }

  .service-details__image img {
    height: 500px;
  }

  .service-details__main-title {
    font-size: 36px;
  }

  .service-details__title {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .service-details__description {
    font-size: 15px;
    min-height: auto;
  }

  .service-details__info {
    gap: 30px;
  }

  .service-details__container .carousel-btn {
    top: 250px;
  }
}

@media (max-width: 480px) {
  .service-details {
    padding: 20px 0;
  }

  .service-details__back {
    font-size: 11px;
    padding: 8px 16px;
  }

  .service-details__image img {
    height: 350px;
  }

  .service-details__main-title {
    font-size: 28px;
  }

  .service-details__title {
    font-size: 16px;
    letter-spacing: 0.8px;
  }

  .service-details__description {
    font-size: 14px;
    line-height: 1.6;
  }

  .service-details__section {
    gap: 10px;
  }

  .service-details__info {
    gap: 24px;
  }

  .service-details__container .carousel-btn {
    width: 50px;
    height: 50px;
    top: 175px;
  }
}
/* Modal de Detalhes do Serviço */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-modal.active {
  display: block;
  opacity: 1;
}

.service-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.service-modal__content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  margin: 7.5vh auto;
  background: #FFF6EF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.service-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid #726e67;
  border-radius: 50%;
  color: #726e67;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-modal__close:hover {
  background: #726e67;
  color: #FFF6EF;
  transform: rotate(90deg);
}

.service-modal__body {
  display: flex;
  height: 100%;
  gap: 40px;
  padding: 60px 40px 40px;
  overflow: hidden;
}

.service-modal__image {
  flex: 0 0 45%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.service-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-modal__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  padding-right: 20px;
}

.service-modal__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #1C4132;
  letter-spacing: 1px;
}

.service-modal__description {
  font-size: 16px;
  line-height: 1.6;
  color: #726e67;
}

/* Carrossel interno do modal */
.service-modal__carousel {
  margin-top: 20px;
  padding-top: 32px;
  border-top: 2px solid #D8C3B3;
}

.service-modal__carousel-title {
  font-size: 18px;
  font-weight: 700;
  color: #1C4132;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.service-modal__carousel-container {
  position: relative;
  width: 100%;
}

.service-modal__carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.service-modal__carousel-items {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.service-modal__carousel-item {
  min-width: calc(50% - 8px);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service-modal__carousel-item:hover {
  transform: scale(1.02);
}

.service-modal__carousel-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.service-modal__carousel-item h5 {
  font-size: 14px;
  font-weight: 600;
  color: #1C4132;
  text-align: center;
}

.service-modal__carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal__carousel-btn--prev {
  left: -60px;
}

.service-modal__carousel-btn--next {
  right: -60px;
}

.service-modal__carousel-btn:disabled {
  opacity: 0;
  visibility: hidden;
}

.service-modal__carousel-btn:hover:not(:disabled) {
  opacity: 0.8;
}

.service-modal__carousel-btn img {
  width: 100%;
  height: 100%;
}

/* Scrollbar customizada */
.service-modal__info::-webkit-scrollbar {
  width: 8px;
}

.service-modal__info::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.service-modal__info::-webkit-scrollbar-thumb {
  background: #D8C3B3;
  border-radius: 4px;
}

.service-modal__info::-webkit-scrollbar-thumb:hover {
  background: #1C4132;
}

/* Responsividade */
@media (max-width: 768px) {
  .service-modal__content {
    width: 95%;
    height: 90vh;
    margin: 5vh auto;
  }

  .service-modal__body {
    flex-direction: column;
    gap: 24px;
    padding: 50px 20px 20px;
    overflow-y: auto;
  }

  .service-modal__image {
    flex: 0 0 300px;
    width: 100%;
  }

  .service-modal__info {
    overflow-y: visible;
  }

  .service-modal__carousel-item {
    min-width: 100%;
  }
}
/* Fonte TBJ Orcherum para aspas */
@font-face {
  font-family: 'TBJ Orcherum';
  src: url('../fonts/TBJOrcherumMini-HighRegular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* Container principal dos depoimentos */
.testimonials-carousel {
  position: relative;
  width: 100%;
  padding: 80px 0;
  overflow: visible;
}

.testimonials-carousel__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px;
  min-height: 300px;
}

/* Item do depoimento */
.testimonials-carousel__item {
  flex: 0 0 auto;
  transition: all 0.5s ease;
  text-align: center;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Item ativo (central) */
.testimonials-carousel__item--active {
  position: relative;
  flex: 0 0 600px;
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

/* Item lateral direito (próximo) - 50% visível */
.testimonials-carousel__item--next {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  opacity: 0.5;
  transform: translateX(50%);
  z-index: 1;
  pointer-events: none;
}

/* Item anterior (esquerdo) - 50% visível */
.testimonials-carousel__item--prev {
  position: absolute;
  left: 0;
  top: 0;
  width: 400px;
  opacity: 0.5;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}

/* Aspas decorativas */
.testimonials-carousel__quote {
  position: relative;
  padding: 40px 0;
  max-width: 550px;
  margin: 0 auto;
}

.testimonials-carousel__quote::before {
  content: '"';
  font-family: 'TBJ Orcherum', serif;
  font-size: 30rem;
  color: var(--color-quotes);
  position: absolute;
  top: -135px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  opacity: 0.15;
  line-height: 1;
}

/* Aspas vivas no item ativo */
.testimonials-carousel__item--active .testimonials-carousel__quote::before {
  opacity: 1;
}

/* Item próximo tem aspas menores */
.testimonials-carousel__item--next .testimonials-carousel__quote::before {
  font-size: 20rem;
  opacity: 0.15;
  top: -60px;
}

/* Item anterior tem aspas menores */
.testimonials-carousel__item--prev .testimonials-carousel__quote::before {
  font-size: 20rem;
  opacity: 0.15;
  top: -60px;
}

/* Texto do depoimento */
.testimonials-carousel__text {
  font-size: 2rem;
  line-height: 1.3;
  color: var(--color-verde-cedro);
  font-family: var(--font-dm-sans);
  font-weight: 400;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Texto do próximo é menor */
.testimonials-carousel__item--next .testimonials-carousel__text {
  font-size: 1.4rem;
}

/* Texto do anterior é menor */
.testimonials-carousel__item--prev .testimonials-carousel__text {
  font-size: 1.4rem;
}

/* Nome do autor */
.testimonials-carousel__author {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-verde-cedro);
  font-family: var(--font-dm-sans);
  letter-spacing: 0.5px;
}

.testimonials-carousel__item--next .testimonials-carousel__author {
  font-size: 1rem;
}

.testimonials-carousel__item--prev .testimonials-carousel__author {
  font-size: 1rem;
}

/* Botões de navegação */
.testimonials-carousel__buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

.testimonials-carousel__btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 38px;
  height: 40px;
  transition: all 0.3s ease;
}

.testimonials-carousel__btn:hover:not(:disabled) {
  opacity: 0.7;
}

.testimonials-carousel__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonials-carousel__btn img {
  width: 100%;
  height: 100%;
}

/* Responsividade */
@media (max-width: 1200px) {
  .testimonials-carousel__wrapper {
    padding: 0 80px;
  }

  .testimonials-carousel__item--active {
    flex: 0 0 500px;
  }

  .testimonials-carousel__item--next {
    width: 300px;
  }

  .testimonials-carousel__quote::before {
    font-size: 20rem;
    top: -60px;
  }

  .testimonials-carousel__item--next .testimonials-carousel__quote::before {
    font-size: 15rem;
    top: -40px;
  }

  .testimonials-carousel__item--prev .testimonials-carousel__quote::before {
    font-size: 15rem;
    top: -40px;
  }

  .testimonials-carousel__text {
    font-size: 1.6rem;
  }

  .testimonials-carousel__item--next .testimonials-carousel__text {
    font-size: 1.2rem;
  }

  .testimonials-carousel__item--prev .testimonials-carousel__text {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .testimonials-carousel__wrapper {
    padding: 0 60px;
  }

  .testimonials-carousel__item--active {
    flex: 0 0 100%;
  }

  .testimonials-carousel__item--next {
    display: none;
  }

  .testimonials-carousel__item--prev {
    display: none;
  }

  .testimonials-carousel__quote::before {
    font-size: 15rem;
    top: -50px;
  }

  .testimonials-carousel__text {
    font-size: 1.4rem;
  }

  .testimonials-carousel__author {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .testimonials-carousel {
    padding: 60px 0;
  }

  .testimonials-carousel__wrapper {
    padding: 0 20px;
  }

  .testimonials-carousel__quote::before {
    font-size: 10rem;
    top: -30px;
  }

  .testimonials-carousel__text {
    font-size: 1.2rem;
  }

  .testimonials-carousel__btn {
    width: 30px;
    height: 32px;
  }

  .testimonials-carousel__buttons {
    margin-top: 40px;
    gap: 24px;
  }
}
/* Seção de Artigos e Vídeos */
.articles__videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.articles__video-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.articles__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.articles__video-wrapper:hover {
  transform: scale(1.02);
}

.articles__video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.articles__video-wrapper:hover .articles__video-thumbnail {
  opacity: 0.8;
}

.articles__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: #AE8A67;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.articles__play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #9a7556;
}

.articles__play-btn svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

.articles__video-title {
  max-width: 400px;
  font-size: 18px;
  font-weight: 400;
  color: var(--color-cinza-escuro);
  font-family: var(--font-dm-sans);
  line-height: 1.4;
}

/* Player embutido do YouTube */
.articles__video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* Responsividade */
@media (max-width: 1366px) and (min-width: 769px) {
  .articles__videos {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .articles__videos {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .articles__play-btn {
    width: 70px;
    height: 70px;
  }

  .articles__play-btn svg {
    width: 28px;
    height: 28px;
  }

  .articles__video-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .articles__play-btn {
    width: 60px;
    height: 60px;
  }

  .articles__play-btn svg {
    width: 24px;
    height: 24px;
  }

  .articles__video-title {
    font-size: 15px;
  }
}
/* Galeria responsiva (Mobile/Tablet) */
.gallery-carousel { display: none; position: relative; width: 100%; }

.gallery-carousel__wrapper { overflow: hidden; width: 100%; }
.gallery-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 400ms ease;
  will-change: transform;
  touch-action: pan-y;
}

.gallery-carousel__item { flex: 0 0 auto; width: 100%; }
.gallery-carousel__item img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; display: block; }

.gallery-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  width: 54px;
  height: 54px;
  cursor: pointer;
}
.gallery-carousel__btn--prev { left: 0; }
.gallery-carousel__btn--next { right: 0; }
.gallery-carousel__btn img { width: 100%; height: 100%; display: block; }

/* Tablet grande: ajustar bento-grid com proporções adequadas */
@media (max-width: 1366px) and (min-width: 1025px) {
  .bento-grid {
    max-width: 100%;
    padding: 0 2rem;
    grid-template-columns: 29% 44% 27%;
    gap: 1rem;
  }
}

/* Tablet médio: ajustar proporções */
@media (max-width: 1024px) and (min-width: 769px) {
  .bento-grid {
    max-width: 100%;
    padding: 0 1.5rem;
    grid-template-columns: 28% 46% 26%;
    gap: 0.875rem;
  }
}

/* Mobile: exibir carrossel e ocultar bento-grid */
@media (max-width: 768px) {
  .bento-grid { display: none; }
  .gallery-carousel { display: block; }

  .gallery-carousel__btn { display: none !important; }
  .gallery-carousel__item { width: 100%; }
  .gallery-carousel__item img { height: 240px; }
}
/* Footer */
.footer {
  background: var(--color-verde-cedro);
  padding: 80px 0 0;
  color: #E6CFBE;
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 100px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 60px;
}

/* Coluna Logo */
.footer__column--logo {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  width: 180px;
  height: auto;
}

/* Coluna Social */
.footer__column--social {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

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

.footer__social-link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer__social-link span {
  font-size: 14px;
  font-weight: 400;
  color: #E6CFBE;
  font-family: var(--font-dm-sans);
}

/* Coluna Links */
.footer__column--links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: #E6CFBE;
  font-family: var(--font-dm-sans);
  letter-spacing: 1px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__nav a {
  font-size: 14px;
  font-weight: 400;
  color: #E6CFBE;
  font-family: var(--font-dm-sans);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer__nav a:hover {
  opacity: 0.7;
}

/* Coluna Formulário - Apenas Desktop */
/* Desktop (≥1367px): visível no footer */
/* Tablet/Mobile (<1367px): escondida (formulário fica em seção separada) */
.footer__column--contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 1366px) {
  .footer__column--contact {
    display: none;
  }
}

.footer__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__input,
.footer__textarea {
  width: 100%;
  padding: 12px 16px;
  background: #F8EBE3;
  border: 1px solid #F8EBE3;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-dm-sans);
  color: #515051;
  transition: border-color 0.3s ease;
}

.footer__input:focus,
.footer__textarea:focus {
  outline: none;
  border-color: #D8C3B3;
}

.footer__input::placeholder,
.footer__textarea::placeholder {
  color: #999;
}

.footer__textarea {
  resize: vertical;
  min-height: 100px;
}

.footer__submit {
  padding: 14px 28px;
  background: #E6CFBE;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-verde-cedro);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-dm-sans);
  letter-spacing: 0.5px;
}

.footer__submit:hover {
  background: #D8C3B3;
  transform: translateY(-2px);
}

.footer__submit:active {
  transform: translateY(0);
}

/* Copyright */
.footer__copyright {
  padding: 24px 100px;
  text-align: center;
}

.footer__copyright p {
  font-size: 13px;
  font-weight: 400;
  color: #E6CFBE;
  font-family: var(--font-dm-sans);
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 1366px) {
  .footer__container {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    padding: 0 80px 60px;
  }

  .footer__copyright {
    padding: 24px 80px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 60px 40px;
  }

  .footer__logo {
    width: 150px;
  }

  .footer__social-link img {
    width: 22px;
    height: 22px;
  }

  .footer__social-link span {
    font-size: 13px;
  }

  .footer__copyright {
    padding: 20px 60px;
  }

  .footer__copyright p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer__container {
    padding: 0 20px 30px;
    gap: 32px;
  }

  .footer__logo {
    width: 130px;
  }

  .footer__title {
    font-size: 14px;
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__copyright {
    padding: 16px 20px;
  }

  .footer__copyright p {
    font-size: 11px;
  }
}
/* Seção de Agendamento - Apenas Tablet e Mobile */
/* Desktop (≥1367px): escondida (formulário fica no footer) */
/* Tablet/Mobile (<1367px): visível (formulário em seção separada) */

@media (min-width: 1367px) {
  .section__appointment {
    display: none;
  }
}

.section__appointment {
  background: var(--color-verde-cedro);
  padding: 80px 0;
  color: #E6CFBE;
}

.appointment__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.appointment__title {
  font-size: 24px;
  font-weight: 700;
  color: #E6CFBE;
  font-family: var(--font-dm-sans);
  text-align: center;
  line-height: 1.4;
}

.appointment__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.appointment__input,
.appointment__textarea {
  width: 100%;
  padding: 12px 16px;
  background: #F8EBE3;
  border: 1px solid #F8EBE3;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-dm-sans);
  color: #515051;
  transition: border-color 0.3s ease;
}

.appointment__input::placeholder,
.appointment__textarea::placeholder {
  color: #515051;
  opacity: 0.7;
}

.appointment__input:focus,
.appointment__textarea:focus {
  outline: none;
  border-color: #E6CFBE;
}

.appointment__textarea {
  resize: vertical;
  min-height: 100px;
}

.appointment__submit {
  background: transparent;
  border: 2px solid #E6CFBE;
  color: #E6CFBE;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
  font-family: var(--font-dm-sans);
  transition: all 0.3s ease;
  align-self: center;
}

.appointment__submit:hover {
  background: #E6CFBE;
  color: var(--color-verde-cedro);
}

/* Responsividade */
@media (max-width: 1366px) {
  .appointment__container {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .section__appointment {
    padding: 60px 0;
  }

  .appointment__container {
    padding: 0 60px;
    gap: 32px;
  }

  .appointment__title {
    font-size: 20px;
  }

  .appointment__input,
  .appointment__textarea {
    padding: 10px 14px;
    font-size: 13px;
  }

  .appointment__submit {
    padding: 10px 24px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .section__appointment {
    padding: 40px 0;
  }

  .appointment__container {
    padding: 0 20px;
    gap: 24px;
  }

  .appointment__title {
    font-size: 18px;
  }

  .appointment__input,
  .appointment__textarea {
    padding: 10px 14px;
    font-size: 13px;
  }

  .appointment__submit {
    padding: 10px 24px;
    font-size: 13px;
    width: 100%;
  }
}
/* Liquid glass effects - apenas para desktop */
@media (min-width: 1367px) {
  header {
    will-change: backdrop-filter, background-color, box-shadow, border, padding;
    transition:
      background-color 600ms cubic-bezier(0.4, 0.0, 0.2, 1),
      box-shadow 600ms cubic-bezier(0.4, 0.0, 0.2, 1),
      backdrop-filter 600ms cubic-bezier(0.4, 0.0, 0.2, 1),
      border 600ms cubic-bezier(0.4, 0.0, 0.2, 1),
      padding 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
  }

  header.scrolled {
    background-color: color-mix(in srgb, var(--color-off-white) 20%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid color-mix(in srgb, var(--color-off-white) 20%, transparent);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.35);
    padding: 0.75rem 0;
    left: 2rem;
    right: 2rem;
    width: auto;
    animation: removeWillChange 800ms forwards;
  }

  @keyframes removeWillChange {
    to {
      will-change: auto;
    }
  }

  header {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    perspective: 1000px;
  }

  /* Texto cinza escuro quando scrolled (após about-us) */
  header.scrolled nav ul li a {
    color: var(--color-cinza-escuro);
  }

  header.scrolled nav ul li a:hover {
    border-bottom-color: var(--color-verde-cedro);
  }

  header.scrolled .btn-consulta {
    background-color: var(--color-cinza-escuro);
    border-color: var(--color-cinza-escuro);
    color: var(--color-off-white);
  }

  /* Aumenta gap entre menus e logo quando scrolled */
  header nav {
    transition: gap 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
  }

  header.scrolled nav {
    gap: 4rem;
  }

  /* Logo verde cedro quando scrolled - mantém tamanho fixo */
  header.scrolled nav img {
    filter: brightness(0) saturate(100%) invert(24%) sepia(18%) saturate(1547%) hue-rotate(119deg) brightness(94%) contrast(92%);
    transition: filter 600ms cubic-bezier(0.4, 0.0, 0.2, 1);
    height: 2rem; /* Mantém o mesmo tamanho da logo sem scroll */
  }
}

/* Liquid glass effects são apenas para desktop (≥1367px) */
/* Mobile e Tablet usam header fixo verde simples sem liquid glass */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
  transform: scale(1.05);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

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