/* ==========================================================================
   STYLE.CSS - NOVO AGIR | ESPAÇO DE TERAPIA OCUPACIONAL
   Design System Mobile-First, Responsivo, Limpo e Otimizado para SEO & Conversão
   ========================================================================== */

/* --- VARIÁVEIS CSS (PALETA DA MARCA & DESIGN TOKENS) --- */
:root {
  /* Identidade Visual Novo Agir (Verde & Cinza da Marca) */
  --color-primary: #5c8617;          /* Verde principal acessível para textos e botões */
  --color-primary-hover: #48690f;    /* Verde escuro para hover */
  --color-brand-green: #a8cf45;      /* Verde vibrante original da marca */
  --color-brand-light: #f4f9ea;      /* Fundo suave com matiz verde da marca */
  --color-brand-gray: #96989a;       /* Cinza original da marca */

  /* Cores Secundárias & Neutras */
  --color-secondary: #1e293b;        /* Slate profundo para títulos e contraste */
  --color-secondary-light: #334155;
  --color-accent: #8bb326;           /* Verde de suporte */

  /* Identidade WhatsApp */
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #1ebe5d;

  /* Superfícies & Planos de Fundo */
  --bg-body: #fafbfa;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;

  /* Tipografia & Legibilidade */
  --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --text-main: #272f3d;
  --text-muted: #576577;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Bordas e Elevações */
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.08), 0 4px 8px -3px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 30px -8px rgba(0, 0, 0, 0.12), 0 8px 12px -5px rgba(0, 0, 0, 0.06);

  /* Dimensões e Layout */
  --container-max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 104px;
}

/* --- RESET CSS MODERNO --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --- UTILITÁRIOS & SEÇÕES --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background-color: var(--color-brand-light);
  color: var(--color-primary);
  border: 1px solid rgba(168, 207, 69, 0.35);
  margin-bottom: 1.25rem;
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--color-secondary);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--text-white);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -4px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-header {
  background-color: var(--color-whatsapp);
  color: var(--text-white);
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
}

.btn-whatsapp-header:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-1px);
}

.btn-whatsapp-large {
  background-color: var(--color-whatsapp);
  color: var(--text-white);
  padding: 1.15rem 2.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-large:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.02);
}

/* --- HEADER & NAVEGAÇÃO --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-img {
  height: 84px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 28px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 4px;
  transition: var(--transition);
}

/* Nav Mobile */
.nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--bg-card);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}

.nav.active {
  transform: translateX(0);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  padding-block: 0.25rem;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-cta .btn {
  width: 100%;
}

/* Animação do botão hambúrguer */
.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* --- CLASSE UTILITÁRIA DE ACESSIBILIDADE & SEO --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- SEÇÃO HERO (BANNER ROTATIVO - APENAS IMAGENS) --- */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 320px;
  background-color: var(--color-secondary);
  overflow: hidden;
  contain: layout size paint;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides-track {
  position: relative;
  width: 100%;
  height: 100%;
  contain: strict;
}

/* Cada Slide individual */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  will-change: opacity;
  contain: strict;
  transform: translateZ(0);
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Imagem do Slide */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
}

/* Ajuste de Banner Mobile (≤ 768px): Prevenção de Reflow e Estabilidade Visual */
@media (max-width: 768px) {
  .hero-slider-section {
    height: 320px;
    min-height: 320px;
    contain: layout size paint;
  }

  .slides-track {
    contain: strict;
  }

  .slide {
    will-change: opacity;
    contain: strict;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translateZ(0);
  }
}

/* Sombra inferior sutil para contraste dos dots */
.slider-bottom-shadow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Setas de Navegação (Anterior / Próximo) */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.slider-nav-btn:hover {
  background: var(--color-brand-green);
  border-color: var(--color-brand-green);
  color: var(--color-secondary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 16px rgba(168, 207, 69, 0.6);
}

.slider-nav-prev {
  left: 1.25rem;
}

.slider-nav-next {
  right: 1.25rem;
}

@media (max-width: 767px) {
  .slider-nav-btn {
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.6);
  }
  .slider-nav-prev {
    left: 0.5rem;
  }
  .slider-nav-next {
    right: 0.5rem;
  }
}

/* Indicadores de Pontos (Dots) */
.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
  padding: 0.4rem 0.85rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.slider-dot.active {
  width: 28px;
  border-radius: 6px;
  background-color: var(--color-brand-green);
  box-shadow: 0 0 12px rgba(168, 207, 69, 0.7);
}

/* --- SEÇÃO SOBRE NÓS --- */
.about {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-media {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.about-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: var(--color-secondary);
  color: var(--text-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.exp-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-brand-green);
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-text h3 {
  font-size: 1.75rem;
  color: var(--color-secondary);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.about-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-block: 1.5rem 2rem;
}

.about-checklist li {
  position: relative;
  padding-left: 2rem;
  font-weight: 500;
  color: var(--text-main);
}

.about-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.about-cta-row {
  margin-top: 1.5rem;
}

/* --- SUBSEÇÃO NOSSA EQUIPE / CORPO CLÍNICO --- */
.team-section {
  margin-top: 4.5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border-color);
}

.team-header {
  margin-bottom: 2.75rem;
}

.team-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 207, 69, 0.6);
}

.team-avatar-wrap {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--color-brand-light);
  box-shadow: var(--shadow-md);
  background-color: var(--color-brand-light);
  flex-shrink: 0;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.team-card-placeholder .team-avatar-wrap {
  border-color: #edf2f7;
  background-color: #f8fafc;
}

.team-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.team-badge-wrap {
  margin-bottom: 1.25rem;
}

.team-member-crefito {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--color-brand-light);
  color: var(--color-primary);
  border: 1px solid rgba(168, 207, 69, 0.4);
}

.team-card-placeholder .team-member-crefito {
  background-color: #f1f5f9;
  color: var(--text-muted);
  border-color: #cbd5e1;
}

.team-member-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: left;
}

/* --- SEÇÃO SERVIÇOS --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg-card);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 207, 69, 0.6);
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-brand-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(168, 207, 69, 0.3);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-link:hover {
  color: var(--color-primary-hover);
  gap: 0.6rem;
}

/* --- SEÇÃO NOSSO ESPAÇO (GALERIA DE FOTOS REAIS) --- */
.gallery-section {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-caption {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
}

.gallery-caption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.gallery-caption span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --- SEÇÃO DIFERENCIAIS --- */
.differences {
  background-color: var(--color-secondary);
  color: var(--text-white);
}

.differences .section-tag {
  color: var(--color-brand-green);
}

.differences .section-title {
  color: var(--text-white);
}

.differences-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.difference-box {
  background-color: var(--color-secondary-light);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.difference-box:hover {
  border-color: rgba(168, 207, 69, 0.4);
  transform: translateY(-2px);
}

.difference-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-brand-green);
  display: block;
  margin-bottom: 0.75rem;
}

.difference-box h4 {
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.difference-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- SEÇÃO CONTATO / ONDE ESTAMOS --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background-color: var(--color-brand-green);
  color: var(--color-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.contact-detail-item p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
}

.contact-detail-item a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

.contact-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-outline-light:hover {
  background-color: var(--color-primary);
  color: var(--text-white);
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-map-wrapper iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* --- RODAPÉ --- */
.footer {
  background-color: #0e1520;
  color: var(--text-light);
  padding-top: 4.5rem;
  font-size: 0.95rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  max-width: 190px;
  height: auto;
  object-fit: contain;
}

.footer-brand p {
  line-height: 1.6;
  max-width: 360px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--color-brand-green);
}

.footer-contact p {
  margin-bottom: 0.65rem;
}

.footer-contact a {
  color: var(--color-brand-green);
  font-weight: 600;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 62px;
  height: 62px;
  background-color: var(--color-whatsapp);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease;
  animation: whatsappPulse 3s infinite;
}

.whatsapp-floating-btn:hover {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1);
}

.whatsapp-floating-tooltip {
  position: absolute;
  right: 74px;
  background-color: var(--color-secondary);
  color: var(--text-white);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-floating-btn:hover .whatsapp-floating-tooltip {
  opacity: 1;
  visibility: visible;
  right: 78px;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- OTIMIZAÇÃO DE PERFORMANCE DE RENDERIZAÇÃO (LIGHTHOUSE) --- */
.gallery-section,
.differences,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

/* --- MEDIA QUERIES (TABLETS & DESKTOPS) --- */

/* Tablets (≥ 768px) */
@media (min-width: 768px) {
  .section-title {
    font-size: 2.35rem;
  }

  .hero-slider-section {
    height: 440px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differences-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1.5fr;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktops (≥ 1024px) */
@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    transform: none;
    border-top: none;
    overflow: visible;
  }

  .nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .nav-cta .btn {
    width: auto;
  }

  .hero-slider-section {
    height: 720px;
  }

  .about-grid {
    flex-direction: row;
    align-items: center;
    gap: 4.5rem;
  }

  .about-media,
  .about-text {
    flex: 1;
  }

  .about-image {
    height: 460px;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Telas compactas (≤ 480px) para proteção contra quebra com o menu hambúrguer */
@media (max-width: 480px) {
  :root {
    --header-height: 94px;
  }
  .logo-img {
    height: 74px;
    max-width: calc(100vw - 80px);
  }
}
