/* ==========================================================================
   Design System & Variáveis Globais (Dra. Cristina Prado)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Cores Principais */
  --primary: hsl(187, 45%, 26%);       /* Teal elegante */
  --primary-light: hsl(187, 45%, 36%); /* Teal mais claro */
  --primary-dark: hsl(187, 50%, 18%);  /* Teal escuro para textos */
  --accent: hsl(38, 55%, 64%);         /* Ouro suave */
  --accent-hover: hsl(38, 55%, 54%);   /* Ouro hover */
  --accent-light: hsl(38, 60%, 94%);   /* Fundo dourado sutil */
  
  /* Tons de Cinza / Neutros */
  --bg-light: hsl(0, 0%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --text-main: hsl(210, 24%, 18%);     /* Slate escuro */
  --text-muted: hsl(210, 14%, 45%);    /* Slate médio */
  --border-color: hsl(210, 14%, 90%);
  
  /* Efeitos e Tipografia */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 4px rgba(15, 76, 92, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 76, 92, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 76, 92, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* Dark Mode Preferences (Opcional, mas mantém aparência premium) */
@media (prefers-color-scheme: dark) {
  /* Mantemos o tema claro como padrão do site médico (clean), mas otimizamos contrastes */
}

/* ==========================================================================
   Resets e Configurações Básicas
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea {
  font-family: inherit;
}

/* Estilo para barra de rolagem */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ==========================================================================
   Componentes Utilitários e Layout
   ========================================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

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

/* Botões Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(15, 76, 92, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 76, 92, 0.3);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(229, 197, 131, 0.2);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 197, 131, 0.3);
}

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

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

/* ==========================================================================
   Header & Navegação (Navbar)
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 76, 92, 0.06);
  transition: var(--transition-normal);
}

.header-wrapper.scrolled {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  transition: var(--transition-normal);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  fill: var(--primary);
}

.logo-text {
  font-family: var(--font-heading);
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}

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

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

.nav-link.active {
  color: var(--primary-dark);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Hamburguer Menu (Mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition-normal);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, hsl(38, 40%, 96%) 0%, var(--bg-light) 60%);
  padding-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(229,197,131,0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: 1;
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.badge-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  border: 1px solid rgba(229, 197, 131, 0.4);
}

.badge-location svg {
  fill: var(--accent);
  width: 16px;
  height: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 450px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphing 15s ease-in-out infinite alternate;
  z-index: 1;
  opacity: 0.15;
}

.hero-img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  max-width: 100%;
  transform: rotate(2deg);
  transition: var(--transition-normal);
}

.hero-img:hover {
  transform: rotate(0deg) scale(1.02);
}

@keyframes morphing {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
  100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.badge-1 {
  bottom: 10%;
  left: -5%;
  animation: float 4s ease-in-out infinite;
}

.badge-2 {
  top: 15%;
  right: -5%;
  animation: float 4s ease-in-out infinite 2s;
}

.floating-badge .badge-icon {
  background-color: var(--accent-light);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge .badge-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.floating-badge .badge-text h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.floating-badge .badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

/* ==========================================================================
   Info Bar Section
   ========================================================================== */
.info-bar {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 30px 0;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  margin-top: -40px;
  border-radius: var(--radius-md);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.info-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(229, 197, 131, 0.3);
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.info-details h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--accent);
}

.info-details p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   Services Section (Grade de Serviços)
   ========================================================================== */
.services {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 76, 92, 0.1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  background-color: var(--accent-light);
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
}

.service-card:hover .service-icon-box svg {
  fill: #fff;
  transform: rotateY(180deg);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.service-link svg {
  width: 14px;
  height: 14px;
  fill: var(--primary);
  transition: var(--transition-fast);
}

.service-card:hover .service-link {
  color: var(--accent-hover);
}

.service-card:hover .service-link svg {
  fill: var(--accent-hover);
  transform: translateX(4px);
}

/* Modal de Serviços */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 76, 92, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.modal-close svg {
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  transition: var(--transition-fast);
}

.modal-close:hover svg {
  fill: var(--primary-dark);
}

.modal-icon {
  background-color: var(--accent-light);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--primary);
}

.modal-card h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.modal-body {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.modal-body p {
  margin-bottom: 15px;
}

/* ==========================================================================
   Fotos da Clínica (Galeria e Lightbox)
   ========================================================================== */
.gallery-section {
  background-color: #fff;
  padding-top: 140px; /* Espaço para navbar fixa */
  min-height: 80vh;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 76, 92, 0.8) 0%, rgba(15, 76, 92, 0) 80%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-info {
  color: #fff;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.gallery-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.gallery-info p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Hover da Galeria */
.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* Lightbox Fullscreen */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 48, 58, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.lightbox-caption span {
  color: var(--accent);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 3100;
}

.lightbox-nav:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==========================================================================
   Sobre & Equipe
   ========================================================================== */
.about {
  background-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: var(--primary);
  color: #fff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--accent);
  max-width: 250px;
}

.about-img-badge h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 5px;
}

.about-img-badge p {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-features {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary-dark);
}

.about-features li svg {
  fill: var(--accent);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Contato & Agendamento
   ========================================================================== */
.contact {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-card {
  background-color: var(--primary-dark);
  color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(229,197,131,0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-method-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.contact-method-details h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.contact-method-details p,
.contact-method-details a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.contact-method-details a:hover {
  color: var(--accent);
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-main);
  outline: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(15, 76, 92, 0.1);
}

textarea.form-control {
  resize: vertical;
}

/* ==========================================================================
   Footer & Rodapé
   ========================================================================== */
.footer {
  background-color: hsl(210, 24%, 12%);
  color: #fff;
  padding: 70px 0 30px 0;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .logo-title {
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 25px;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  font-size: 1.2rem;
  color: var(--accent);
}

.footer-contact-list {
  list-style: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list svg {
  fill: var(--accent);
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition-normal);
  animation: pulse-green 2s infinite;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #20ba5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   Media Queries & Responsividade
   ========================================================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

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

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    padding: 40px 0;
    gap: 25px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: block;
  }

  /* Hamburger animado */
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-cta {
    display: none; /* Esconde CTA no menu em celular para simplificar */
  }

  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    margin: 0 auto;
  }

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

  .hero-image-wrapper {
    margin-top: 20px;
    max-width: 380px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .badge-1 {
    left: 0;
  }
  .badge-2 {
    right: 0;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-bar {
    margin-top: -20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-box {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
  }

  .about-img-badge {
    padding: 20px;
    bottom: -15px;
    right: -15px;
  }

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

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

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

  .section-header h2 {
    font-size: 1.8rem;
  }
}
