/* AFAAS - Estilo CSS Customizado baseado no design Tailwind */

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
  overflow-x: hidden;
}

.border {
    border-width: 1px;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.border-2 { border-width:2px; }
.border-t { border-top-width:1px; }
.border-nature-100 { --tw-border-opacity: 1; border-color:rgb(220 242 220 / var(--tw-border-opacity, 1)); }

.border-nature-200 {
    --tw-border-opacity: 1;
    border-color: rgb(188 229 188 / var(--tw-border-opacity, 1));
    border-top-color: rgb(188, 229, 188);
    border-right-color: rgb(188, 229, 188);
    border-bottom-color: rgb(188, 229, 188);
    border-left-color: rgb(188, 229, 188);
}

.border-nature-500 { --tw-border-opacity: 1; border-color:rgb(58 157 58 / var(--tw-border-opacity, 1)); }
.border-nature-700 { --tw-border-opacity: 1; border-color:rgb(36 99 36 / var(--tw-border-opacity, 1)); }

/* Fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap');

.font-heading {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
}

/* Cores customizadas */
:root {
  /* Nature colors */
  --nature-50: #f0f9f0;
  --nature-100: #dcf2dc;
  --nature-200: #bce5bc;
  --nature-300: #8dd38d;
  --nature-400: #5bb85b;
  --nature-500: #3a9d3a;
  --nature-600: #2d7d2d;
  --nature-700: #246324;
  --nature-800: #1f4f1f;
  --nature-900: #1a411a;

  /* Earth colors */
  --earth-50: #faf8f3;
  --earth-100: #f2eede;
  --earth-200: #e6d9bd;
  --earth-300: #d4c091;
  --earth-400: #c2a668;
  --earth-500: #b5954d;
  --earth-600: #a17e42;
  --earth-700: #866237;
  --earth-800: #6e5230;
  --earth-900: #5a4329;
  
  /* Logo colors (from Logotipo.svg) */
  --logo-primary: #35787f;
  --logo-secondary: #6cbdce;
}

/* Layout Utilities */
.container-custom {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Responsividade específica para container */
@media (max-width: 640px) {
  .container-custom {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Correções agressivas para mobile pequeno */
@media (max-width: 400px) {
  .container-custom {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
    max-width: 95vw !important;
  }
}

@media (max-width: 360px) {
  .container-custom {
    padding-left: 0.125rem !important;
    padding-right: 0.125rem !important;
    max-width: 98vw !important;
  }
}

.section-padding {
  padding: 4rem 1.5rem;
}

/* Melhorias de responsividade para textos */
@media (max-width: 768px) {
  .section-padding {
    padding: 2rem 1rem;
  }
  
  /* Ajustes de texto para mobile */
  .text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
  }
  
  .text-xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }
  
  .text-2xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
  }
  
  .text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
  }
  
  .text-4xl {
    font-size: 2rem !important;
    line-height: 2.5rem !important;
  }
  
  /* Evitar overflow de texto */
  p, div, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ajustes específicos para seção hero */
  .hero-section .grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .hero-section .text-center {
    text-align: center !important;
  }
  
  /* Ajustes para títulos grandes */
  .text-6xl {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
  }
  
  .text-5xl {
    font-size: 2.25rem !important;
    line-height: 2.75rem !important;
  }
}

/* Responsividade extra para telas muito pequenas */
@media (max-width: 480px) {
  .container-custom {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  
  .section-padding {
    padding: 1.5rem 0.75rem;
  }
  
  /* Títulos ainda menores para telas muito pequenas */
  .text-4xl {
    font-size: 1.75rem !important;
    line-height: 2.25rem !important;
  }
  
  .text-3xl {
    font-size: 1.5rem !important;
    line-height: 2rem !important;
  }
}

@media (min-width: 768px) {
  .section-padding {
    padding: 6rem 2rem;
  }
}

.min-h-screen {
  min-height:100vh;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 3rem;
  }
}

/* Navigation */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem 0;
  overflow: hidden;
}

.nav-scrolled {
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 0.5rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  color: var(--nature-700);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
  display: inline-block;
}

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

.nav-link.active {
  color: var(--nature-500);
}

.nav-link-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--nature-500);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.nav-link:hover .nav-link-underline,
.nav-link.active .nav-link-underline {
  width: 100%;
}

.mobile-menu-button {
  display: block;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--nature-700);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-button:hover {
  color: var(--nature-500);
  background-color: var(--nature-50);
}

@media (min-width: 1024px) {
  .mobile-menu-button {
    display: none;
  }
}



.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
}

.mobile-nav-link {
  text-align: left;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: var(--nature-700);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--nature-500);
  background-color: var(--nature-50);
}

.inline-flex{display:inline-flex}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--nature-500);
  color: white;
  box-shadow: 0 10px 25px -5px rgba(58, 157, 58, 0.1);
}

.btn-primary:hover {
  background: var(--nature-600);
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid var(--nature-500);
  color: var(--nature-500);
  background: transparent;
}

.btn-outline:hover {
  background: var(--nature-500);
  color: white;
}

/* Earth button styles */
.btn-earth {
  background: var(--earth-500);
  color: white;
}

.btn-earth:hover {
  background: var(--earth-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(181, 149, 77, 0.3);
}

/* Logo color utilities */
.text-logo-primary {
  color: var(--logo-primary);
}

.text-logo-secondary {
  color: var(--logo-secondary);
}

.bg-logo-primary {
  background-color: var(--logo-primary);
}

.bg-logo-secondary {
  background-color: var(--logo-secondary);
}

/* Logo hover effect */
.nav-logo img {
  transition: all 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(53, 120, 127, 0.3));
}

/* Nature 600 button styles */
.btn-nature-600 {
  background: var(--nature-600);
  color: white;
}

.btn-nature-600:hover {
  background: var(--nature-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(36, 99, 36, 0.3);
}

/* Scale hover effect for highlight cards */
.highlight-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.highlight-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(58, 157, 58, 0.15);
}

.highlight-card .btn:hover {
  transform: scale(1.05);
}

/* Background color utilities */

.bg-nature-200 {
  --tw-bg-opacity: 1;
  background-color:rgb(188 229 188 / var(--tw-bg-opacity, 1))
}

.bg-nature-500 {
    --tw-bg-opacity: 1;
    background-color: rgb(58 157 58 / var(--tw-bg-opacity, 1));
}

.bg-nature-600 {
  background-color: var(--nature-600);
}

.bg-earth-500 {
  background-color: var(--earth-500);
}

.bg-earth-600 {
  background-color: var(--earth-600);
}

/* Rounded utilities 
.rounded-full {
  border-radius: 50%;
} */


.w-16 {
  width: 4rem;
}

.h-16 {
  height: 4rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

/* Cards */
.card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px -5px rgba(58, 157, 58, 0.1), 0 4px 6px -2px rgba(58, 157, 58, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 20px 40px -10px rgba(58, 157, 58, 0.15);
  transform: scale(1.02);
}

.shadow-nature {
  box-shadow: 0 10px 25px -5px rgba(58, 157, 58, 0.1), 0 4px 6px -2px rgba(58, 157, 58, 0.05);
}

/* Additional utility classes for About page */
.leading-relaxed {
  line-height: 1.625;
}

.from-earth-50 {
  --tw-gradient-from: var(--earth-50);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.to-nature-50 {
  --tw-gradient-to: var(--nature-50);
}

.to-nature-100 {
  --tw-gradient-to: var(--nature-100);
}

.to-nature-200 {
  --tw-gradient-to: var(--nature-200);
}

.to-nature-300 {
  --tw-gradient-to: var(--nature-300);
}

.to-nature-600 {
  --tw-gradient-to: var(--nature-600);
}
  
.to-nature-700 {
  --tw-gradient-to: var(--nature-700);
}
  
.to-nature-900 {
  --tw-gradient-to: var(--nature-900);
}

.to-earth-50 {
  --tw-gradient-to: var(--earth-50);
}

.to-earth-100 {
  --tw-gradient-to: var(--earth-100);
}

.from-white {
  --tw-gradient-from: #ffffff;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.text-nature-500 {
  color: var(--nature-500);
}

.text-earth-500 {
  color: var(--earth-500);
}

.text-nature-100 {
  color: var(--nature-100);
}

.text-nature-100 {
    --tw-text-opacity: 1;
    color: rgb(220 242 220 / var(--tw-text-opacity, 1));
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Grid and layout utilities */
.grid {
  display: grid;
}

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

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gap-8 {
  padding: 2rem;
}

.items-center {
  align-items: center;
}

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

.flex {
  display: flex;
}

.flex-wrap{
  flex-wrap:wrap
}


/* Additional utility classes */


.space-y-3>:not([hidden])~:not([hidden]) { 
  --tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse))); margin-bottom:calc(.75rem * var(--tw-space-y-reverse));
}

.space-y-4>:not([hidden])~:not([hidden]) { 
  --tw-space-y-reverse: 0;
  margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(1rem * var(--tw-space-y-reverse));
}

.space-y-6>:not([hidden])~:not([hidden]) { 
  --tw-space-y-reverse: 0; 
  margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(1.5rem * var(--tw-space-y-reverse)); 
}
.space-y-8>:not([hidden])~:not([hidden]) {
  --tw-space-y-reverse: 0; 
  margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom:calc(2rem * var(--tw-space-y-reverse)); 
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}


.mb-1 {
  margin-bottom: .25rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.text-nature-800 {
  color: var(--nature-800);
}

.text-nature-600 {
  color: var(--nature-600);
}

.text-nature-500 {
  color: var(--nature-500);
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }


@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}


/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height:1.75rem}
.text-xl { font-size: 1.25rem; line-height: 1.75rem;}
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Colors */
.text-nature-500 { color: var(--nature-500); }
.text-nature-600 { --tw-text-opacity: 1; color: rgb(45 125 45 / var(--tw-text-opacity, 1)); }
.text-nature-700 { --tw-text-opacity: 1; color: rgb(36 99 36 / var(--tw-text-opacity, 1)); }
.text-nature-800 { color: var(--nature-800); }
.text-white { color: white; }

.bg-nature-50 { background-color: var(--nature-50); }
.bg-nature-100 { background-color: var(--nature-100); }
/*.bg-nature-500 { background-color: var(--nature-500); }*/
.bg-nature-600 { background-color: var(--nature-600); }
.bg-white { --tw-bg-opacity: 1; background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1)); }

/* Gradient */
.gradient-bg {
  background: linear-gradient(135deg, var(--nature-500), var(--nature-600));
}

.gradient-text {
  background: linear-gradient(135deg, var(--nature-500), var(--nature-600));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Spacing */
.m-0 { margin: 0; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.px-2 { padding-left: .5rem; padding-right:.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

/* Display */
.flex { display: flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

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

.gap-1 { gap:.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    transform: translateY(20px); 
    opacity: 0; 
  }
  to { 
    transform: translateY(0); 
    opacity: 1; 
  }
}

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

/*.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}*/

.animate-slide-up {
  animation: slideUp 0.6s ease-out;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 1023px) {
  .lg\:hidden { display: none; }
}

@media (max-width: 767px) {
  .md\:hidden { display: none; }
  .text-4xl { font-size: 2rem; }
  .text-5xl { font-size: 2.5rem; }
  .text-6xl { font-size: 3rem; }
}

/* MENU MOBILE - COPIADO DO TESTE QUE FUNCIONA */
.mobile-menu {
  display: none !important;
  background: white !important;
  border-top: 1px solid #ccc !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.mobile-menu.active {
  display: block !important;
}

.mobile-menu a {
  display: block !important;
  padding: 15px 20px !important;
  color: #333 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #eee !important;
}

.mobile-menu a:hover {
  background: #f5f5f5 !important;
}

/* DEFINIÇÕES DUPLICADAS REMOVIDAS - MANTENDO APENAS A VERSÃO QUE FUNCIONA */

/* Cards de horários - padding lateral reduzido para mobile */
@media (max-width: 768px) {
  /* Cards de horários da página contato.php - apenas padding left/right 5px */
  #agendamento .rounded-2xl {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }
}

/* Página Quem Somos - Correções sutis para mobile */
@media (max-width: 768px) {
  /* Remove limitação de largura em mobile para aproveitar melhor o espaço */
  .max-w-4xl {
    max-width: none !important;
  }
  
  /* Grid de comunidades em coluna única em mobile */
  .grid.md\\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  /* Ajusta padding lateral apenas para dar mais espaço ao texto */
  .bg-gradient-to-r.from-nature-500.to-nature-600 {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}

/* Radio buttons personalizados para formulário de contato */
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 2px solid var(--nature-300);
  background: white;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

input[type="radio"]:checked {
  border-color: var(--nature-600);
  background: var(--nature-50);
}

input[type="radio"]:checked::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nature-600);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

input[type="radio"]:hover {
  border-color: var(--nature-500);
  background: var(--nature-25);
}

input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Labels dos radio buttons com melhor UX */
label[for^="subject_"] {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  cursor: pointer;
  margin: 0 !important;
}

label[for^="subject_"]:hover {
  background: var(--nature-25);
}

/* Radio buttons responsivos para mobile */
@media (max-width: 768px) {
  label[for^="subject_"] {
    padding: 0.375rem;
    font-size: 0.9rem;
  }
  
  input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
  }
  
  input[type="radio"]:checked::after {
    width: 6px;
    height: 6px;
  }
}

/* Reduzir espaçamento entre seção de agendamento e formulário de contato */
#agendamento {
  margin-bottom: 0 !important;
  padding-bottom: 2rem !important;
}

#contato-form {
  padding-top: 0.5rem !important;
}

@media (max-width: 768px) {
  #agendamento {
    padding-bottom: 1.5rem !important;
  }
  
  #contato-form {
    padding-top: 0.25rem !important;
  }
}

/* Hero específico */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--nature-50), white, var(--nature-100));
  padding-top: 5rem;
}

/* Footer */
.bg-gradient-footer {
  background: linear-gradient(135deg, var(--nature-800), var(--nature-900));
}

.footer-link {
  color: var(--nature-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

/* Background gradients */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right,var(--tw-gradient-stops)); 
}

.bg-gradient-to-t {
  background-image: linear-gradient(to top,var(--tw-gradient-stops)); 
}

.from-nature-50 {
  --tw-gradient-from: var(--nature-50);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.from-nature-100 { 
  --tw-gradient-from: var(--nature-100);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}
  
.from-nature-200 {
  --tw-gradient-from: var(--nature-200);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.from-nature-400 {
  --tw-gradient-from: var(--nature-400);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.from-nature-500 {
  --tw-gradient-from: var(--nature-500);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.from-nature-600 { 
  --tw-gradient-from: var(--nature-600);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}
  
.from-nature-700 {
  --tw-gradient-from: var(--nature-700);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}
  
.from-nature-800 {
  --tw-gradient-from: var(--nature-800);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.to-nature-900 {
  --tw-gradient-to: var(--nature-900);
}



.from-earth-500 {
  --tw-gradient-from: var(--earth-500);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.from-earth-600 {
  --tw-gradient-from: var(--earth-600);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent);
}

.to-earth-700 {
  --tw-gradient-to: var(--earth-700);
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--nature-200);
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--nature-500);
  box-shadow: 0 0 0 3px rgba(58, 157, 58, 0.1);
}

.focus\:border-transparent:focus { 
  border-color:transparent; }

.focus\:ring-2:focus { 
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000); }

.focus\:ring-nature-500:focus { 
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(58 157 58 / var(--tw-ring-opacity, 1)); 
}

/* Contact & Social Media Colors */
.bg-green-500 {
  background-color: #10b981;
}

.bg-green-500:hover,
.hover\:bg-green-600:hover {
  background-color: #059669;
}

.bg-pink-500 {
  background-color: #ec4899;
}

.bg-pink-500:hover,
.hover\:bg-pink-600:hover {
  background-color: #db2777;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-blue-500:hover,
.hover\:bg-blue-600:hover {
  background-color: #2563eb;
}

/* Contact Info Cards */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.contact-info-item:hover {
  background-color: var(--nature-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(58, 157, 58, 0.1);
}

.contact-info-icon {
  background-color: var(--nature-100);
  padding: 0.75rem;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-item:hover .contact-info-icon {
  background-color: var(--nature-200);
  transform: scale(1.05);
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--nature-600);
}

/* Social Media Links */
.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-link svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* Footer Social Media Icons */
.footer-social-icon {
  background-color: var(--nature-700);
  padding: 0.75rem;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-icon:hover {
  transform: scale(1.1);
}

.footer-social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

/* Specific hover colors for each social media */
.footer-social-icon.instagram:hover {
  background-color: #db2777;
}

.footer-social-icon.facebook:hover {
  background-color: #2563eb;
}

.footer-social-icon.whatsapp:hover {
  background-color: #16a34a;
}

/* Enhanced visual effects */
.footer-social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-social-icon:active {
  transform: scale(1.05);
}

/* Smooth entrance animation */
.footer-social-icon {
  animation: fadeInUp 0.6s ease-out;
}

.footer-social-icon:nth-child(1) { animation-delay: 0.1s; }
.footer-social-icon:nth-child(2) { animation-delay: 0.2s; }
.footer-social-icon:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius:1.5rem; }

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-transform {
  transition: transform 0.3s ease;
}

.transition-colors {
  transition: color 0.3s ease;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:translate-x-1:hover {
  transform: translateX(0.25rem);
}

.w-full { width: 100%; }
.h-full { height: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* List utilities */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Icon sizing classes */
.h-4 {
  height: 1rem;
}

.w-4 {
  width: 1rem;
}

.h-8 {
  height: 2rem;
}

.w-8 {
  width: 2rem;
}

.text-white {
  color: white;
}

/* Community section specific styling */
.community-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-item:hover {
  transform: translateY(-2px);
}

.community-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-item:hover .community-icon {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.2);
}

/* Text sizing */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-semibold {
  font-weight: 600;
}

/* Values cards specific styling */
.values-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.values-card:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Additional missing utilities */
.mr-1 {
  margin-right: 0.25rem;
}

.mr-4 {
  margin-right: 1rem;
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}


.transition-all-smooth {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Padding utilities */
.p-3 {
  padding: 0.75rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

/* Mission page icon containers - make them larger */
.mission-icon-container {
  padding: 1rem !important;
  min-width: 4rem;
  min-height: 4rem;
}

/* Ensure community section text is visible */
.bg-gradient-to-r h4 {
  color: white !important;
}

.bg-gradient-to-r p.text-nature-100 {
  color: var(--nature-200) !important;
}

.bg-gradient-to-r .text-white {
  color: white !important;
}

/* Force visibility of community cards */
.community-item {
  display: block !important;
  visibility: visible !important;
}

.community-icon {
  display: flex !important;
  visibility: visible !important;
}
.mx-auto { margin-left: auto; margin-right: auto; }

.object-cover {
  -o-object-fit:cover;
  object-fit:cover;
}

.overflow-hidden { overflow: hidden; }

/* Backdrop blur */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* Opacity utilities */
.bg-opacity-20 { background-color: rgba(255, 255, 255, 0.2); }
.bg-opacity-50 { background-color: rgba(255, 255, 255, 0.5); }

/* Map and Route Modal Styles */
#map {
  border-radius: 0;
  box-shadow: none;
}

/* Custom marker styles */
.afaas-marker {
  border: none !important;
  background: transparent !important;
}

.origin-marker {
  border: none !important;
  background: transparent !important;
}

/* Route modal styling */
#route-modal {
  backdrop-filter: blur(8px);
  z-index: 10000;
}

#route-modal .bg-white {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.leaflet-popup-content {
  margin: 0;
  line-height: 1.4;
}

/* Route line styling */
.leaflet-routing-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.leaflet-routing-container h2,
.leaflet-routing-container h3 {
  background: var(--nature-600);
  color: white;
  margin: 0;
  padding: 10px 15px;
  border-radius: 8px 8px 0 0;
  font-size: 14px;
  font-weight: 600;
}

/* Hide routing instructions initially */
.leaflet-routing-container {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.leaflet-routing-container:hover {
  transform: translateX(0);
}

/* Contact info item styling */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--nature-100);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--nature-200), var(--nature-300));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nature-700);
  border: 2px solid var(--nature-400);
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Social link styling */
.social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
  transform: translateX(0);
}

.social-link:hover {
  transform: translateX(4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* Button hover effects */
.btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Map container responsive design */
@media (max-width: 768px) {
  #map {
    height: 400px !important;
  }
  
  .leaflet-routing-container {
    position: fixed !important;
    bottom: 20px;
    left: 20px;
    right: 20px;
    top: auto !important;
    width: auto !important;
    transform: translateY(100%);
    z-index: 1000;
  }
  
  .leaflet-routing-container:hover {
    transform: translateY(-10px);
  }
}

/* Mobile Navigation Fixes */
@media (max-width: 768px) {
  /* Logo responsivo */
  .nav-logo img {
    height: 60px !important;
  }
  
  .nav-logo h1 {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  
  .nav-logo p {
    font-size: 0.65rem !important;
    line-height: 1 !important;
  }
  
  /* Navigation container */
  .nav-container {
    min-height: 70px;
    align-items: center;
  }
  
  /* Header height adjustment */
  .nav-fixed {
    padding: 0.75rem 0;
  }
}

@media (max-width: 480px) {
  /* Logo ainda menor para telas muito pequenas */
  .nav-logo {
    gap: 0.25rem !important;
    max-width: 70% !important;
  }
  
  .nav-logo img {
    height: 40px !important;
  }
  
  .nav-logo h1 {
    font-size: 0.8rem !important;
    line-height: 1 !important;
  }
  
  .nav-logo p {
    font-size: 0.55rem !important;
    line-height: 1 !important;
    display: block !important;
  }
  
  /* Navigation container mais compacto */
  .nav-container {
    min-height: 50px;
    padding: 0;
  }
  
  .nav-fixed {
    padding: 0.25rem 0;
  }
  
  /* Mobile menu button */
  .mobile-menu-button {
    padding: 0.25rem;
    min-width: 32px;
    max-width: 32px;
  }
  
  .mobile-menu-button svg {
    width: 18px;
    height: 18px;
  }
  
  /* Mobile menu links mais compactos */
  .mobile-nav-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 400px) {
  .nav-logo {
    gap: 0.125rem !important;
    max-width: 65% !important;
  }
  
  .nav-logo img {
    height: 35px !important;
  }
  
  .nav-logo h1 {
    font-size: 0.75rem !important;
  }
  
  .nav-logo p {
    font-size: 0.5rem !important;
  }
  
  .nav-container {
    min-height: 45px;
  }
  
  .mobile-menu-button {
    min-width: 28px;
    max-width: 28px;
    padding: 0.125rem;
  }
  
  .mobile-menu-button svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 360px) {
  .nav-logo {
    max-width: 60% !important;
  }
  
  .nav-logo img {
    height: 30px !important;
  }
  
  .nav-logo h1 {
    font-size: 0.7rem !important;
  }
  
  .nav-logo p {
    font-size: 0.45rem !important;
  }
  
  .nav-container {
    min-height: 40px;
  }
}

/* Global text and element overflow prevention */
@media (max-width: 768px) {
  /* Prevent text overflow */
  p, h1, h2, h3, h4, h5, h6, span, div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Ensure all containers respect viewport width */
  .container, .container-custom, section, article, main {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Images responsive */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Tables responsive */
  table {
    width: 100%;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
  }
  
  /* Header spacing adjustments */
  .page-content-start {
    margin-top: 90px !important;
  }
}

@media (max-width: 480px) {
  .page-content-start {
    margin-top: 80px !important;
  }
}

/* Utility class for content that comes after fixed header */
.header-offset {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .header-offset {
    margin-top: 90px;
  }
}

@media (max-width: 480px) {
  .header-offset {
    margin-top: 80px;
  }
}

/* Force responsive behavior on all common elements */
@media (max-width: 768px) {
  /* Force box-sizing on all elements */
  *, *::before, *::after {
    box-sizing: border-box !important;
  }
  
  /* Prevent any element from exceeding viewport width */
  * {
    max-width: 100vw !important;
  }
  
  /* Specific overrides for common problematic elements */
  div, section, article, main, header, footer, nav {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  /* Form elements */
  input, textarea, select {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Images and media */
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Grid and flex containers */
  .grid, .flex {
    overflow-x: hidden !important;
  }
  
  /* Pre and code elements */
  pre, code {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-x: auto !important;
  }
}

/* Ultra-restrictive mobile corrections */
@media (max-width: 400px) {
  * {
    max-width: 95vw !important;
  }
  
  body, html {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  
  .container-custom, .nav-container, .mobile-menu-content {
    max-width: 95vw !important;
    width: 95vw !important;
  }
  
  /* Text elements */
  p, h1, h2, h3, h4, h5, h6, span, a {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
  }
}

@media (max-width: 360px) {
  * {
    max-width: 98vw !important;
  }
  
  .container-custom, .nav-container, .mobile-menu-content {
    max-width: 98vw !important;
    width: 98vw !important;
  }
  
  /* Even more aggressive text breaking */
  p, h1, h2, h3, h4, h5, h6, span, a {
    font-size: 0.85em !important;
    line-height: 1.2 !important;
  }
}

