/* 
  Fisiocentro - Design System & Stylesheet
  Aesthetic Concept: Bold Wellness Modern
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- DESIGN TOKENS --- */
:root {
  /* Brand Colors */
  --color-primary: #3a4771;
  --color-primary-rgb: 58, 71, 113;
  --color-primary-dark: #27304f;
  --color-secondary: #4090cd;
  --color-secondary-rgb: 64, 144, 205;
  --color-secondary-dark: #2e73a6;
  --color-accent: #f6eb55;
  --color-accent-rgb: 246, 235, 85;
  
  /* Neutral Palette */
  --color-bg-light: #f8fafc;
  --color-bg-dark: #111625;
  --color-bg-card: #ffffff;
  --color-text-dark: #1c2135;
  --color-text-light: #f8fafc;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-border-hover: rgba(64, 144, 205, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(58, 71, 113, 0.08), 0 8px 10px -6px rgba(58, 71, 113, 0.04);
  --shadow-lg: 0 20px 40px -5px rgba(58, 71, 113, 0.12), 0 12px 20px -8px rgba(58, 71, 113, 0.06);
  --shadow-glow: 0 0 25px rgba(64, 144, 205, 0.2);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Font Families */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700; /* Bold headings */
  line-height: 1.25;
  color: var(--color-primary);
}

h1 {
  font-weight: 800; /* Extra bold */
}

h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.85rem;
  font-weight: 700;
}

p {
  font-size: 1.05rem;
  font-weight: 400; /* Medium weight body for better contrast */
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
}

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

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

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

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

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

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

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-dark h2, .section-dark h3, .section-dark p {
  color: var(--color-text-light);
}

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

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

.section-dark .section-header p {
  color: #a0aec0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* --- HEADER & NAVIGATION --- */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 95px; /* Larger header to accommodate bigger logo */
}

.logo img {
  height: 75px; /* Larger logo size as requested */
  width: auto;
  transition: var(--transition-normal);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

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

.nav-links a.active {
  color: var(--color-secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

/* --- HERO SLIDER --- */
.hero {
  position: relative;
  height: calc(100vh - 95px);
  min-height: 600px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  padding: 0 2rem;
  text-align: center;
  color: var(--color-text-light);
  z-index: 3;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.hero-slide.active .hero-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.hero-slide.active .hero-content p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.hero-slide.active .hero-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-indicator.active {
  background-color: var(--color-secondary);
  width: 32px;
}

/* --- A CLÍNICA --- */
.about-text {
  position: relative;
}

.about-tag {
  display: inline-block;
  padding: 0.4rem 1.15rem;
  background-color: rgba(64, 144, 205, 0.12);
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-quote {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
  border-left: 5px solid var(--color-secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.8;
}

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

.gallery-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-slide.active {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.gallery-btn {
  background-color: rgba(58, 71, 113, 0.9);
  color: var(--color-text-light);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 1.1rem;
}

.gallery-btn:hover {
  background-color: var(--color-secondary);
}

/* --- SERVIÇOS VIEWPORT --- */
.services-viewport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.services-visual-pane {
  position: sticky;
  top: 135px;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.services-visual-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.03);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.services-visual-pane img.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

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

.service-item-line {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.service-item-line:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-sm);
}

.service-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-header-row h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.service-arrow {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  transition: var(--transition-normal);
}

.service-details-pane {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.service-details-pane ul {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--color-border);
  margin-top: 1.25rem;
}

.service-details-pane li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  padding-left: 1.75rem;
}

.service-details-pane li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: bold;
}

/* Active Service Accordion States */
.service-item-line.active {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.service-item-line.active .service-header-row h3 {
  color: var(--color-secondary);
}

.service-item-line.active .service-arrow {
  transform: rotate(90deg);
  color: var(--color-secondary);
}

.service-item-line.active .service-details-pane {
  max-height: 500px;
}

/* --- CONVÊNIOS GRID & CARROSSEL MOBILE --- */
.convenios-grid-container {
  width: 100%;
  position: relative;
}

.convenios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1rem 0.5rem;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .convenios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.convenio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.convenio-logo-img {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: white;
  width: 100%;
}

.convenio-logo-img img {
  max-height: 100%;
  max-width: 85%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform var(--transition-normal);
}

.convenio-card:hover .convenio-logo-img img {
  transform: scale(1.05);
}

.convenio-card h4 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.convenio-card p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Dots navigation indicators (visible only on mobile) */
.convenios-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.convenios-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.convenios-dots .dot.active {
  background-color: var(--color-secondary);
  transform: scale(1.2);
}

/* Mobile carousel rules */
@media (max-width: 768px) {
  .convenios-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 1.25rem;
    padding: 1rem 0;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  
  .convenios-grid::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }
  
  .convenio-card {
    flex: 0 0 82%; /* Show card + peek on the right */
    scroll-snap-align: center;
  }
  
  .convenio-logo-img img {
    filter: grayscale(0%); /* Keep logos colored on mobile for ease of recognition */
    opacity: 1;
  }
  
  .convenios-dots {
    display: flex;
  }
}

/* --- O TIME --- */
.team-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  aspect-ratio: 1/1;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  margin-top: 1.5rem;
  text-align: center;
}

.team-info h4 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-info .job {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-info .job-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-top: 0.25rem;
}

.team-commitment h3 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.team-commitment p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
  color: inherit;
}

.team-commitment strong {
  color: var(--color-secondary);
}

.section-dark .team-info h4 {
  color: var(--color-text-light);
}

.section-dark .team-info .job-sub {
  color: #cbd5e1;
}

/* --- SEDE E DIFERENCIAIS --- */
.section-sede {
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.hq-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hq-card-item {
  display: flex;
  gap: 1.25rem;
  background-color: var(--color-bg-card);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.hq-card-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary-dark);
}

.hq-card-icon {
  background-color: rgba(64, 144, 205, 0.1);
  color: var(--color-secondary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.hq-card-item:hover .hq-card-icon {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.hq-card-content h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.hq-card-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Painel de Diferenciais (Lado Direito) */
.diferenciais-pane {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.metric-card {
  position: relative;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary);
}

.metric-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 90% 10%, rgba(64, 144, 205, 0.04) 0%, transparent 60%);
  z-index: 1;
}

.metric-icon {
  position: relative;
  z-index: 2;
  color: var(--color-secondary);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.metric-number {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

.metric-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-secondary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.metric-desc {
  position: relative;
  z-index: 2;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* --- CONTATOS --- */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

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

.map-frame iframe {
  display: block;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.contact-card-item {
  display: flex;
  gap: 1.25rem;
  background-color: var(--color-bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  background-color: rgba(58, 71, 113, 0.08);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-card-text p, .contact-card-text a {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin: 0;
}

.contact-card-text a:hover {
  color: var(--color-secondary);
}

.contact-form-panel {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-panel h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: 2px solid var(--color-border);
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(64, 144, 205, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- FOOTER & WHATSAPP --- */
/* --- FOOTER & WHATSAPP --- */
.footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 6rem 0 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--color-text-light);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-info-list li {
  font-size: 0.95rem;
  color: #cbd5e1;
  display: flex;
  gap: 0.75rem;
  line-height: 1.6;
  font-weight: 500;
}

.footer-info-list li i {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.footer-info-list a {
  color: #cbd5e1;
  transition: var(--transition-fast);
}

.footer-info-list a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: #a0aec0;
  font-weight: 500;
}

.developer-signature {
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.85rem !important;
  color: #a0aec0;
  text-align: center !important;
  display: block;
}

.developer-signature a {
  color: var(--color-accent) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.developer-signature a:hover {
  color: var(--color-secondary) !important;
  text-decoration: underline;
}

.heart-pulse {
  color: #ef4444;
  display: inline-block;
  animation: heartPulse 1.4s infinite ease-in-out;
  margin: 0 2px;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.25); }
  60% { transform: scale(1); }
  100% { transform: scale(1); }
}

.footer-copyright a {
  color: var(--color-text-light);
  font-weight: 700;
}

.footer-copyright a:hover {
  color: var(--color-secondary);
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Floating WhatsApp Badge */
.whatsapp-float {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: var(--transition-fast);
  animation: pulse-ring 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-ring {
  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); }
}

/* --- ANIMATION CLASS (SCROLL REVEAL) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  h2 { font-size: 2.35rem; }
  .grid-2, .services-viewport-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .services-visual-pane {
    position: relative;
    top: 0;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    height: 80px;
  }
  .logo img {
    height: 60px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background-color: var(--color-bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    transition: max-height var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal), padding var(--transition-normal);
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--color-border);
    z-index: 99;
  }
  .nav-links.active {
    max-height: 380px;
    opacity: 1;
    visibility: visible;
    padding: 1rem 0;
  }
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .hero-content p {
    font-size: 1.15rem;
  }
  .contact-form-panel {
    padding: 2.5rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-info-list li {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   GALERIA DE FOTOS (Nossa Estrutura)
   ========================================================================== */
.structure-slider-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.structure-slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.structure-slider-track {
  display: flex;
  transition: transform var(--transition-normal);
}

.structure-slide-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  background-color: var(--color-bg-card);
  display: flex;
  flex-direction: column;
}

.structure-img-wrapper {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.structure-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.structure-slide-card:hover .structure-img-wrapper img {
  transform: scale(1.03);
}

.structure-caption {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.structure-caption h4 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.structure-caption p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Controls */
.structure-slider-wrapper .slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.structure-slider-wrapper .slider-control:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  border-color: var(--color-primary);
}

.structure-slider-wrapper .slider-control.prev {
  left: -24px;
}

.structure-slider-wrapper .slider-control.next {
  right: -24px;
}

/* Indicators */
.slider-indicators {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.slider-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-normal);
}

.slider-indicators .indicator.active {
  background-color: var(--color-primary);
  width: 24px;
}

/* ==========================================================================
   NOVA SEÇÃO DE EQUIPE (Corpo Clínico)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  background-color: #1a2035; /* Fundo escuro elegante para o card */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  cursor: pointer;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent); /* Destaque em amarelo/ouro no hover */
}

.team-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 34, 60, 0.85); /* Overlay escura */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.view-profile-btn {
  color: var(--color-text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-full);
  background-color: rgba(246, 235, 85, 0.1);
  transition: var(--transition-normal);
}

.view-profile-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
}

.team-card-info {
  padding: 1.5rem;
  text-align: center;
}

.team-card-info h4 {
  font-size: 1.25rem;
  color: #ffffff; /* Nome em branco com excelente contraste */
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.team-card-info .role {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-accent); /* Especialidade em Dourado/Amarelo */
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.team-card-info .reg {
  font-size: 0.8rem;
  color: #94a3b8; /* Registro em cinza azulado claro */
  display: block;
  margin-top: 0.25rem;
}

/* Forçar contrastes em seções escuras para anular heranças indesejadas */
.section-dark .team-card-info h4 {
  color: #ffffff;
}

.section-dark .team-card-info .reg {
  color: #94a3b8;
}

/* ==========================================================================
   MODAL DE DETALHES DO PROFISSIONAL (LEITURA APERFEIÇOADA)
   ========================================================================== */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.team-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.team-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
}

.team-modal-content {
  position: relative;
  background-color: #ffffff; /* Fundo branco puro para máxima legibilidade */
  width: 90%;
  max-width: 850px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
  z-index: 10;
  transform: translateY(30px);
  transition: transform var(--transition-normal);
  border: 1px solid var(--color-border);
}

.team-modal.active .team-modal-content {
  transform: translateY(0);
}

.team-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1e293b;
  font-size: 1.1rem;
  z-index: 12;
  transition: all 0.2s ease;
}

.team-modal-close:hover {
  background-color: #e2e8f0;
  color: #000000;
}

.team-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
}

.team-modal-left {
  background-color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-modal-image-wrapper {
  width: 100%;
  height: 100%;
}

.team-modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-modal-right {
  padding: 3.5rem 3rem;
  background-color: #ffffff;
}

.team-modal-right h2 {
  font-size: 2.2rem;
  color: #1c2135; /* Título escuro de alto contraste */
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.team-modal-right .modal-role {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary); /* Azul escuro da marca */
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

.team-modal-right .modal-crefito {
  font-size: 0.9rem;
  color: #475569; /* Cinza escuro */
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

.team-modal-right .modal-sub {
  font-size: 0.85rem;
  color: #64748b;
  display: block;
  margin-top: 0.15rem;
  font-style: italic;
}

.modal-details-section {
  margin-top: 1.75rem;
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.modal-details-section h4 {
  font-size: 0.95rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-details-section p {
  color: #334155; /* Texto principal em cinza escuro de alto contraste */
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 500;
}

.modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.modal-badges span {
  background-color: #f1f5f9;
  color: var(--color-primary);
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.modal-action {
  margin-top: 2.25rem;
}

.modal-action .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  white-space: nowrap; /* Impede quebra de linha do texto do botão */
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: background-color var(--transition-normal), border-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
  max-width: 300px;
  width: 100%;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background-color: #20ba5a;
  border-color: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Body scroll lock when modal open */
body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   RESPONSIVIDADE DAS NOVAS SEÇÕES
   ========================================================================== */
@media (min-width: 992px) {
  .structure-slide-card {
    flex-direction: row;
    height: 440px;
  }
  
  .structure-img-wrapper {
    width: 60%;
    height: 100%;
    aspect-ratio: auto;
  }
  
  .structure-caption {
    width: 40%;
    padding: 3.5rem;
  }
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .structure-slider-wrapper .slider-control.prev {
    left: 10px;
  }
  
  .structure-slider-wrapper .slider-control.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .structure-caption {
    padding: 1.5rem;
  }
  
  .structure-caption h4 {
    font-size: 1.35rem;
  }
  
  .team-modal-grid {
    grid-template-columns: 1fr;
  }
  
  .team-modal-left {
    height: 250px;
  }
  
  .team-modal-right {
    padding: 2.5rem 1.75rem;
  }
  
  .team-modal-right h2 {
    font-size: 1.9rem;
  }
  
  .team-modal-content {
    width: 95%;
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   SEÇÃO DE MAPA ADAPTATIVO (LOCALIZAÇÃO)
   ========================================================================== */
.map-section {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-light);
}

/* Estilos para Desktop (Iframe) */
.map-desktop-container {
  width: 100%;
  height: 450px;
  position: relative;
  display: block;
}

/* Evitar zoom/trava de scroll acidental no desktop */
.map-desktop-container iframe {
  display: block;
  pointer-events: none; /* Desativa rolagem e gestos por padrão */
  width: 100%;
  height: 100%;
}

.map-desktop-container:hover iframe,
.map-desktop-container:focus-within iframe {
  pointer-events: auto; /* Habilita ao passar o mouse ou dar foco */
}

/* Estilos para Mobile (Card de GPS) */
.map-mobile-container {
  display: none; /* Ocultado no desktop */
  width: 100%;
  padding: 3rem 1.5rem;
  box-sizing: border-box;
}

.map-mobile-link {
  text-decoration: none;
  display: block;
}

.map-mobile-card {
  position: relative;
  background-color: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-normal);
}

.map-mobile-card:active {
  transform: scale(0.98); /* Feedback tátil de clique no mobile */
}

.map-mobile-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 20%, rgba(64, 144, 205, 0.15) 0%, transparent 50%), 
                    radial-gradient(circle at 10% 80%, rgba(246, 235, 85, 0.1) 0%, transparent 40%);
  z-index: 1;
}

.map-mobile-content {
  position: relative;
  z-index: 2;
}

.map-mobile-icon {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  animation: mapPulse 2s infinite ease-in-out;
}

.map-mobile-card h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.map-mobile-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 500;
}

.map-mobile-card .btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  font-size: 1.05rem;
  padding: 0.95rem 2rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(246, 235, 85, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* ==========================================================================
   OTIMIZAÇÕES GLOBAIS DE MOBILE UX/UI (MELHORES PRÁTICAS)
   ========================================================================== */
@media (max-width: 768px) {
  /* Alterna exibição do mapa desktop para card mobile */
  .map-desktop-container {
    display: none;
  }
  
  .map-mobile-container {
    display: block;
  }
  
  /* Ajuste de Paddings de Seção para reduzir rolagem excessiva no celular */
  .section {
    padding: 3.5rem 0 !important;
  }
  
  /* Aumentar área de clique (Touch Target >= 48px) */
  .slider-control, .gallery-btn {
    min-width: 48px;
    min-height: 48px;
  }
  
  .menu-toggle {
    width: 48px;
    height: 48px;
    display: block;
    padding: 14px 11.5px;
    box-sizing: border-box;
  }
  
  /* Otimizar visualização de imagem da galeria de estrutura no celular */
  .structure-img-wrapper {
    aspect-ratio: 16/11;
  }
  
  /* Links de menu com espaçamento correto de toque */
  .nav-links a {
    padding: 0.85rem 2rem;
    display: block;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    border-left: 4px solid transparent;
    transition: all var(--transition-fast);
  }
  
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--color-secondary);
    background-color: rgba(64, 144, 205, 0.08);
    border-left-color: var(--color-secondary);
  }

  .nav-links a::after {
    display: none !important;
  }

  /* Redesenhar Diferenciais Grid no celular (Coluna única para não espremer textos) */
  .diferenciais-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
  
  .diferenciais-pane {
    padding: 2.25rem 1.25rem !important;
  }

  /* Ocultar setas da galeria de estrutura no celular (foco total no swipe e dots) */
  .structure-slider-wrapper .slider-control {
    display: none !important;
  }

  /* Footer Alinhado à Esquerda no celular (corrige desalinhamento de ícones flex) */
  .footer-grid {
    text-align: left !important;
    gap: 2.25rem !important;
  }
  
  .footer-col h3::after {
    left: 0 !important;
    transform: none !important;
  }
  
  .footer-info-list li {
    justify-content: flex-start !important;
  }
  
  .footer-bottom {
    text-align: left !important;
    align-items: flex-start !important;
  }

  /* Carrossel por gestos (scroll snapping) nativo no mobile para a Galeria de Estrutura */
  .structure-slider-viewport {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Oculta no Firefox */
  }
  
  .structure-slider-viewport::-webkit-scrollbar {
    display: none; /* Oculta no Chrome/Safari */
  }
  
  .structure-slider-track {
    display: flex !important;
    width: auto !important;
    transform: none !important; /* Desativa deslocamentos JS inline no celular */
    gap: 0;
  }
  
  .structure-slide-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    scroll-snap-align: center;
  }
}



