/* =========================================
   IBV – Instituto Brasileiro da Visão
   Folha de estilos unificada
   site/css/estilo.css
========================================= */

/* =========================================
   VARIÁVEIS CSS
========================================= */
:root {
  --blue: #024277;
  --blue-dark: #012d52;
  --blue-light: #5BB8F5;
  --blue-bg: #deedf8;
  --blue-50: #f4f8fc;
  --gray-50: #f4f8fc;
  /* alias de --blue-50 */
  --gray-100: #d4e4f0;
  --gray-200: #deedf8;
  /* alias de --blue-bg */
  --gray-400: #7A9BB8;
  --gray-500: #5a6a7a;
  --green: #045137;
  --green-tag: #5bf5b4;
  --white: #ffffff;
  --text-dark: #1a2a3a;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: var(--font-sans);
}

/* =========================================
   HEADER
========================================= */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 60px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-placeholder {
  background: var(--blue-50);
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.header-nav a {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 400;
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--blue);
  font-weight: 500;
}

.btn-agendar {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-agendar:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-agendar i {
  font-size: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--blue);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s;
  cursor: pointer;
}

.menu-toggle:hover {
  background-color: var(--blue-50);
}

.menu-close {
  display: none;
  cursor: pointer;
}

.side-menu-cta {
  display: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================
   PAGE HERO — base + variantes de cor
   .page-hero--green  → convênios, faq, patologias
   .page-hero--blue   → especialistas, serviços
   .page-hero--yellow → projetos
========================================= */
.page-hero {
  padding: 56px 60px 52px;
  position: relative;
  overflow: hidden;
}

.page-hero--green {
  background: linear-gradient(to right, rgba(4, 81, 55, 0.97) 55%, rgba(4, 81, 55, 0.85) 100%), #045137;
}

.page-hero--blue {
  background: linear-gradient(to right, rgba(2, 66, 119, 0.97) 55%, rgba(2, 66, 119, 0.82) 100%), var(--blue);
}

.page-hero--blue::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 56px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-hero--blue::after {
  content: '';
  position: absolute;
  right: 120px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.page-hero--yellow {
  background: linear-gradient(to right, rgba(252, 197, 4, 0.97) 55%, rgba(252, 197, 4, 0.85) 100%), #fcc504;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.page-hero>p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  line-height: 1.65;
}

.page-hero--blue>p {
  color: #A8C5E0;
}

/* =========================================
   BREADCRUMB
========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--blue-light);
}

.breadcrumb i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.page-hero--green .breadcrumb,
.page-hero--yellow .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero--green .breadcrumb a,
.page-hero--yellow .breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero--green .breadcrumb a:hover,
.page-hero--yellow .breadcrumb a:hover {
  color: #fff;
}

/* =========================================
   HERO STAT ROW (páginas internas)
========================================= */
.hero-stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.page-hero--blue .hero-stat-num {
  color: var(--blue-light);
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 3px;
}

/* =========================================
   HOME — HERO PRINCIPAL
========================================= */
.hero {
  background:
    linear-gradient(to right, rgba(2, 66, 119, 0.97) 48%, rgba(2, 66, 119, 0.70) 100%),
    #024277;
  padding: 96px 60px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -120px;
  top: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: 80px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #A8C5E0;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-tag i {
  font-size: 13px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--blue-light);
}

.hero-sub {
  font-size: 16px;
  color: #A8C5E0;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero {
  background: var(--white);
  color: var(--blue);
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-hero:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero i {
  font-size: 17px;
}

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue-light);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: #A8C5E0;
  margin-top: 4px;
}

.hero-photo {
  width: 400px;
  height: 320px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.hero-photo i {
  font-size: 48px;
}

.hero-photo span {
  font-size: 13px;
  letter-spacing: 0.5px;
}

.hero-photo-slider {
  width: 700px;
  height: 420px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow-lg);
  transition-property: width;
  transition-duration: 0.35s;
  transition-timing-function: ease;
  transition-delay: 0.1s;
  -webkit-transition-property: width;
  -webkit-transition-duration: 0.35s;
  -webkit-transition-timing-function: ease;
}

.hero-photo-slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 66, 119, 0.45) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  border: 2px solid #ffffff;
  border-radius: 12px;
  transition: opacity 1.2s ease-in-out;
}

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

@media (max-width: 1500px) {
  .hero-photo-slider {
    width: 500px;
  }
}

@media (max-width: 1280px) {
  .hero-photo-slider {
    width: 400px;
  }
}


/* =========================================
   HOME — DIFERENCIAIS
========================================= */
.section-diferenciais {
  padding: 56px 60px;
  background: var(--white);
}

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

.dif-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.dif-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.dif-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dif-icon i {
  color: var(--blue);
  font-size: 22px;
}

.dif-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.dif-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* =========================================
   HOME — SEÇÃO SERVIÇOS (fundo verde)
========================================= */
.section-servicos {
  background: var(--green);
  padding: 52px 60px;
}

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

.svc-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 240px;
  cursor: pointer;
}

.svc-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.svc-card:hover .svc-card-bg {
  transform: scale(1.04);
}

.svc-card-bg i {
  font-size: 80px;
  opacity: 0.14;
  color: var(--white);
}

.svc-card:nth-child(1) .svc-card-bg {
  background: linear-gradient(135deg, #035e40, #047a54);
}

.svc-card:nth-child(2) .svc-card-bg {
  background: linear-gradient(135deg, #024a34, #056644);
}

.svc-card:nth-child(3) .svc-card-bg {
  background: linear-gradient(135deg, #023b29, #045738);
}

.svc-card:nth-child(4) .svc-card-bg {
  background: linear-gradient(135deg, #034530, #056040);
}

.svc-card:nth-child(5) .svc-card-bg {
  background: linear-gradient(135deg, #023020, #044530);
}

.svc-card:nth-child(6) .svc-card-bg {
  background: linear-gradient(135deg, #025038, #037050);
}

.svc-photo-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.3px;
  z-index: 2;
}

.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 25, 16, 0.97) 0%, rgba(2, 25, 16, 0.65) 52%, transparent 100%);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.svc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(91, 245, 180, 0.15);
  border: 1px solid rgba(91, 245, 180, 0.30);
  color: var(--green-tag);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.svc-tag i {
  font-size: 11px;
}

.svc-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.svc-card p {
  font-size: 12px;
  color: #a8d5c5;
  line-height: 1.5;
  margin-bottom: 14px;
}

.svc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: none;
  width: fit-content;
  transition: background 0.2s, transform 0.15s;
}

.svc-btn:hover {
  background: #82cbf7;
  transform: translateY(-1px);
}

.svc-btn i {
  font-size: 13px;
}

/* =========================================
   HOME — O INSTITUTO
========================================= */
.section-instituto {
  background: var(--white);
  padding: 80px 60px;
}

.inst-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.inst-content {
  display: flex;
  flex-direction: column;
}

.inst-description {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-top: 20px;
  margin-bottom: 28px;
}

.inst-recommendation {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-light);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.inst-rec-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.inst-rec-icon i {
  color: var(--blue);
  font-size: 18px;
}

.inst-rec-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-dark);
}

.inst-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inst-visual-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inst-visual-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--shadow);
}

.inst-visual-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.inst-visual-info {
  display: flex;
  flex-direction: column;
}

.inst-visual-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
}

.inst-visual-label {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
  line-height: 1.4;
}

/* Destaque para o card principal no visual */
.inst-visual-card.main-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border: none;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(2, 66, 119, 0.15);
}

.inst-visual-card.main-card .inst-visual-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.inst-visual-card.main-card .inst-visual-num {
  color: var(--white);
}

.inst-visual-card.main-card .inst-visual-label {
  color: rgba(255, 255, 255, 0.85);
}

/* Cores específicas dos outros cards */
.inst-visual-card.sec-card .inst-visual-icon {
  background: rgba(91, 184, 245, 0.12);
  color: var(--blue);
}

.inst-visual-card.third-card .inst-visual-icon {
  background: rgba(4, 81, 55, 0.06);
  color: var(--green);
}

/* =========================================
   HOME — DEPOIMENTOS
========================================= */
.section-depoimentos {
  background: var(--gray-50);
  padding: 64px 60px;
  text-align: center;
}

.dep-title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 40px;
}

.dep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.dep-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.dep-card:hover {
  box-shadow: var(--shadow);
}

.dep-stars {
  color: #F5C842;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.dep-text {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 18px;
}

.dep-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eef2f7;
  padding-top: 14px;
}

.dep-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}

.dep-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

.dep-loc {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 1px;
}

.google-badge {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.google-score {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 16px 32px;
  box-shadow: var(--shadow);
}

.g-num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1;
}

.g-stars {
  color: #F5C842;
  font-size: 20px;
  letter-spacing: 2px;
}

.g-label {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 3px;
}

/* =========================================
   SEÇÕES INTERNAS — labels e títulos comuns
========================================= */
.section-label {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 8px;
  font-weight: 500;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.5);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
}

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

.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 8px;
  margin-bottom: 40px;
  max-width: 640px;
}

.section-sub.light {
  color: #a8d5c5;
}

.section-header {
  margin-bottom: 40px;
}

/* =========================================
   CONVÊNIOS
========================================= */
.section-aviso {
  background: var(--blue-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.aviso-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aviso-icon i {
  color: var(--blue);
  font-size: 20px;
}

.aviso-text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}

.aviso-text strong {
  color: var(--blue);
  font-weight: 600;
}

.aviso-link {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}

.aviso-link:hover {
  background: var(--blue-dark);
}

.section-convenios {
  padding: 52px 60px 64px;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-count {
  font-size: 13px;
  color: var(--gray-400);
  background: var(--blue-bg);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.logo-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 110px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.logo-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.logo-card img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.2s;
}

.logo-card:hover img {
  filter: grayscale(0%);
}

.logo-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray-400);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.section-nao-encontrou {
  background: var(--blue);
  margin: 0 60px 64px;
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nao-text h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.nao-text p {
  font-size: 14px;
  color: #A8C5E0;
  line-height: 1.6;
}

.nao-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* =========================================
   ESPECIALISTAS — filtros e grid
========================================= */
.section-filtros {
  padding: 36px 60px 0;
  background: var(--white);
}

.filtros-label {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 12px;
  font-weight: 500;
}

.filtros-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-sans);
  font-weight: 400;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  font-weight: 500;
}

.section-especialistas {
  padding: 32px 60px 64px;
  background: var(--white);
}

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

.esp-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s;
}

.esp-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.esp-photo {
  height: 180px;
  background: linear-gradient(145deg, #012d52 0%, #024277 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.esp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.esp-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  font-family: var(--font-serif);
  letter-spacing: 1px;
}

.esp-photo-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.40);
}

.esp-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.esp-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
}

.esp-crm {
  font-size: 11px;
  color: var(--gray-400);
}

.esp-spec {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}

.esp-spec i {
  font-size: 12px;
}

/* =========================================
   BOTÕES COMPARTILHADOS
========================================= */
.btn-white {
  background: var(--white);
  color: var(--blue);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
}

.btn-white:hover {
  background: #f0f7ff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.20);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
  white-space: nowrap;
}

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

/* =========================================
   CTA AZUL ENCAIXOTADA (faq, patologias, projetos, serviços)
========================================= */
.section-cta {
  background: var(--blue);
  margin: 0 60px 64px;
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.section-cta .cta-text h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.section-cta .cta-text p {
  font-size: 14px;
  color: #A8C5E0;
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* CTA FAIXA CLARA (especialistas) */
.section-cta-strip {
  background: var(--blue-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 48px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.section-cta-strip .cta-text h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 6px;
}

.section-cta-strip .cta-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* =========================================
   FAQ — ACCORDION
========================================= */
.section-faq {
  padding: 64px 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
  border-color: #b2dccb;
  box-shadow: 0 2px 12px rgba(4, 81, 55, 0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-sans);
  text-align: left;
}

.faq-question-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.4;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.faq-icon i {
  color: var(--blue);
  font-size: 16px;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon {
  background: #d4ede5;
}

.faq-item.open .faq-icon i {
  color: var(--green);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
}

.faq-answer-inner p {
  padding-top: 16px;
}

/* =========================================
   PATOLOGIAS
========================================= */
.section-pat {
  padding: 64px 60px;
}

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

.pat-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}

.pat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: #b2dccb;
}

.pat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.pat-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pat-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* =========================================
   PROJETOS
========================================= */
.section-projetos {
  padding: 64px 60px;
}

.projeto-card {
  padding: 48px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 28px;
  transition: box-shadow 0.2s;
}

.projeto-card:hover {
  box-shadow: var(--shadow);
}

.projeto-card:last-child {
  margin-bottom: 0;
}

.projeto-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}

.projeto-tag.blue {
  background: var(--blue-bg);
  color: var(--blue);
}

.projeto-tag.green {
  background: #d4ede5;
  color: #045137;
}

.projeto-content h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.3;
}

.projeto-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 14px;
}

.projeto-content p:last-of-type {
  margin-bottom: 0;
}

.projeto-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--blue-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}

.projeto-stat i {
  color: var(--blue);
  font-size: 18px;
}

.projeto-stat-num {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
}

.projeto-stat-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 1px;
}

/* =========================================
   SERVIÇOS — seções específicas
========================================= */
.section {
  padding: 64px 60px;
}

.section.alt {
  background: var(--blue-50);
}

.section.dark {
  background: var(--green);
}

.section-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 60px;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.section-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  padding: 16px 22px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.section-nav a:hover {
  color: var(--blue);
}

.section-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.consulta-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.consulta-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.consulta-icon i {
  color: var(--blue);
  font-size: 26px;
}

.consulta-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}

.consulta-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

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

.exame-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.exame-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.exame-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
  margin-top: 5px;
}

.exame-card span {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.5;
}

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

.cir-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 220px;
  cursor: pointer;
}

.cir-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.cir-card:hover .cir-card-bg {
  transform: scale(1.04);
}

.cir-card-bg i {
  font-size: 80px;
  opacity: 0.13;
  color: var(--white);
}

.cir-card:nth-child(1) .cir-card-bg {
  background: linear-gradient(135deg, #035e40, #047a54);
}

.cir-card:nth-child(2) .cir-card-bg {
  background: linear-gradient(135deg, #024a34, #056644);
}

.cir-card:nth-child(3) .cir-card-bg {
  background: linear-gradient(135deg, #023b29, #045738);
}

.cir-card:nth-child(4) .cir-card-bg {
  background: linear-gradient(135deg, #034530, #056040);
}

.cir-card:nth-child(5) .cir-card-bg {
  background: linear-gradient(135deg, #023020, #044530);
}

.cir-card:nth-child(6) .cir-card-bg {
  background: linear-gradient(135deg, #025038, #037050);
}

.cir-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 25, 16, 0.97) 0%, rgba(2, 25, 16, 0.65) 50%, transparent 100%);
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cir-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(91, 245, 180, 0.15);
  border: 1px solid rgba(91, 245, 180, 0.30);
  color: var(--green-tag);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 8px;
  width: fit-content;
}

.cir-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.cir-card p {
  font-size: 11px;
  color: #a8d5c5;
  line-height: 1.4;
}

.cirurgias-menor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.cir-menor {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cir-menor i {
  color: var(--green-tag);
  font-size: 15px;
  flex-shrink: 0;
}

.cir-menor span {
  font-size: 12px;
  color: #c8e8d8;
  line-height: 1.4;
}

.outros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.outro-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 40px;
  transition: box-shadow 0.2s;
}

.outro-card:hover {
  box-shadow: var(--shadow);
}

.outro-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.outro-icon i {
  color: var(--blue);
  font-size: 24px;
}

.outro-card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.outro-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--blue-dark);
  padding: 56px 60px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 48px;
}

.footer-logo {
  cursor: pointer;
}

.footer-logo-placeholder {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px dashed rgba(255, 255, 255, 0.32);
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}

.fc {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #A8C5E0;
  font-size: 13px;
  line-height: 1.5;
}

.fc>i {
  color: var(--blue-light);
  font-size: 15px;
  margin-top: 1px;
  flex-shrink: 0;
}

.fc-addr-label {
  font-size: 10px;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--blue-light);
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #A8C5E0;
}

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

.footer-copy {
  font-size: 12px;
  color: #4a6a80;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 17px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-socials a:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: rgba(91, 184, 245, 0.08);
}

/* =========================================
   WHATSAPP FAB
========================================= */
.whats-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  z-index: 200;
}

.whats-fab-label {
  background: var(--white);
  color: #128c4e;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 18px 12px 20px;
  border-radius: 28px 0 0 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  white-space: nowrap;
  border: 1px solid #e0f0e8;
  border-right: none;
}

.whats-fab-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  border: 3px solid var(--white);
  position: relative;
  flex-shrink: 0;
}

.whats-fab-btn i {
  color: var(--white);
  font-size: 28px;
}

.whats-fab-btn::after {
  content: '';
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.30);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  70% {
    transform: scale(1.6);
    opacity: 0;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* =========================================
   GALERIA DE FOTOS (PREVIEW NA HOME)
========================================= */
.section-galeria-preview {
  background: var(--white);
  padding: 80px 60px;
  margin-bottom: 64px;
}

.gal-header {
  margin-bottom: 40px;
  text-align: center;
}

.gal-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 20px;
  height: 380px;
}

.gal-mobile-show {
  display: none;
}

.gal-preview-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.gal-preview-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.gal-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gal-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 66, 119, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gal-preview-item:hover .gal-item-overlay {
  opacity: 1;
}

.gal-item-overlay i {
  color: var(--white);
  font-size: 32px;
}

.gal-preview-item-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.gal-preview-item-stack .gal-preview-item {
  height: calc(50% - 10px);
}

.gal-preview-item.link-card {
  position: relative;
}

.gal-link-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 45, 82, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.btn-gal-more {
  background: var(--white);
  color: var(--blue);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-gal-more:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gal-more i {
  font-size: 16px;
}

@media screen And (max-width: 1024px) {
  .btn-gal-more {
    height: 56px;
  }
}


/* =========================================
   GALERIA DE FOTOS (PÁGINA DEDICADA)
========================================= */
.section-galeria-page {
  padding: 64px 60px;
  background: var(--white);
}

.gal-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gal-grid-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gal-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow);
}

.gal-item a {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

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

.no-photos {
  text-align: center;
  font-size: 16px;
  color: var(--gray-500);
  padding: 40px 0;
}

/* =========================================
   RESPONSIVO — TABLET ≤ 1280px (Sidebar Menu)
========================================= */
@media (max-width: 1280px) {
  .menu-toggle {
    display: block;
  }

  .nav-container {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    transition: right 0.3s ease;
  }

  .nav-container.open {
    right: 0;
  }

  .menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--gray-500);
    margin-bottom: 24px;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
  }

  .menu-close:hover {
    background-color: var(--gray-100);
    color: var(--blue);
  }

  .header-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header-nav a {
    font-size: 15px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: block;
    transition: background-color 0.2s, color 0.2s;
  }

  .header-nav a:hover,
  .header-nav a.active {
    background-color: var(--blue-50);
    color: var(--blue);
  }

  .side-menu-cta {
    display: block;
    margin-top: 20px;
    padding: 0 16px;
  }

  .side-menu-cta .btn-agendar {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
  }
}

/* =========================================
   RESPONSIVO — TABLET ≤ 1200px
========================================= */
@media (max-width: 1200px) {
  .logos-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

/* =========================================
   RESPONSIVO — TABLET ≤ 1100px
========================================= */
@media (max-width: 1100px) {
  .especialistas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================
   RESPONSIVO — TABLET ≤ 1024px
========================================= */
@media (max-width: 1024px) {
  .header {
    padding: 0 32px;
  }

  .hero {
    padding: 64px 32px 56px;
    grid-template-columns: 1fr;
  }

  .hero-photo,
  .hero-photo-slider {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .page-hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-diferenciais,
  .section-servicos,
  .section-instituto,
  .section-galeria-preview,
  .section-galeria-page,
  .section-depoimentos,
  .section-aviso,
  .section-convenios,
  .section-filtros,
  .section-especialistas,
  .section-faq,
  .section-pat,
  .section-projetos,
  .section {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-nav {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-cta {
    margin-left: 32px;
    margin-right: 32px;
  }

  .section-cta-strip {
    padding-left: 32px;
    padding-right: 32px;
  }

  .section-nao-encontrou {
    margin-left: 32px;
    margin-right: 32px;
  }

  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

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

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

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

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

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

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

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

  .consulta-card {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .gal-preview-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 20px;
  }

  .gal-mobile-show {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }


  .gal-link-overlay {
    display: none;
  }

  .gal-preview-item {
    height: 260px;
  }

  .gal-preview-item-stack {
    height: auto;
    gap: 20px;
  }

  .gal-preview-item-stack .gal-preview-item {
    height: 260px;
  }

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

/* =========================================
   RESPONSIVO — MOBILE ≤ 640px
========================================= */
@media (max-width: 640px) {
  .header {
    padding: 0 20px;
  }

  .header-btn-agendar {
    display: none;
  }

  /* Home */
  .hero {
    padding: 48px 20px 44px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-sub {
    font-size: 14px;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .btn-hero {
    font-size: 13px;
    padding: 12px 18px;
  }

  .section-diferenciais,
  .section-servicos,
  .section-instituto,
  .section-galeria-preview,
  .section-galeria-page,
  .section-depoimentos {
    padding-left: 20px;
    padding-right: 20px;
  }

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

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

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

  /* Páginas internas */
  .page-hero {
    padding: 40px 20px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .hero-stat-row {
    gap: 24px;
    flex-wrap: wrap;
  }

  .section-aviso {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .aviso-link {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .section-convenios {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .logo-card {
    padding: 14px 10px;
    min-height: 90px;
  }

  .section-nao-encontrou {
    margin: 0 20px 48px;
    flex-direction: column;
  }

  .nao-btns {
    width: 100%;
    flex-direction: column;
  }

  .section-filtros {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-especialistas {
    padding-left: 20px;
    padding-right: 20px;
  }

  .especialistas-grid {
    gap: 12px;
  }

  .esp-photo {
    height: 140px;
  }

  .section-cta-strip {
    flex-direction: column;
    padding: 24px 20px;
  }

  .section-cta-strip .cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .section-faq {
    padding: 40px 20px;
  }

  .section-cta {
    margin: 0 20px 48px;
    flex-direction: column;
    padding: 28px 24px;
  }

  .cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .section-pat {
    padding: 40px 20px;
  }

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

  .section-projetos {
    padding: 40px 20px;
  }

  .projeto-card {
    padding: 28px 24px;
  }

  .section {
    padding: 40px 20px;
  }

  .section-nav {
    padding: 0 20px;
  }

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

  .cirurgias-menor-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .footer-contacts {
    grid-template-columns: 1fr;
  }

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

  .whats-fab-label {
    display: none;
  }

  .gal-grid-masonry {
    grid-template-columns: 1fr;
  }

  .gal-item {
    height: 200px;
  }
}