/* ===================================
   RESET & BASE
=================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #1a2e44;
  background: #ffffff;
  overflow-x: hidden;
}

/* ===================================
   VARIÁVEIS CSS
=================================== */
:root {
  --primary:       #00B4D8;
  --primary-dark:  #0077B6;
  --primary-light: #90E0EF;
  --primary-pale:  #CAF0F8;
  --text:          #1a2e44;
  --text-muted:    #6B7280;
  --bg-hero:       #EEF4F9;
  --white:         #ffffff;
  --shadow:        0 4px 20px rgba(0, 180, 216, 0.35);
  --shadow-hover:  0 8px 30px rgba(0, 180, 216, 0.55);
  --radius-btn:    50px;
  --transition:    0.3s ease;
}

/* ===================================
   NAVBAR
=================================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
  animation: navSlideDown 0.6s ease forwards;
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: rgba(0, 180, 216, 0.12);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-specialty {
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav links */
.nav-menu { display: flex; }

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Botão CTA global */
.btn-primary {
  padding: 11px 26px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* Hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover { background: rgba(0,180,216,0.08); }

.bar {
  width: 25px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}

.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5.5px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5.5px); }

/* ===================================
   HERO SECTION
=================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-hero) 0%, #f0f8ff 55%, var(--white) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 100px 2rem 60px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* ===================================
   HERO — TEXTO
=================================== */
.hero-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards 0.4s;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  animation: expandWidth 0.5s ease forwards 1.2s;
  transform-origin: left;
  transform: scaleX(0);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.7s ease forwards 0.8s;
}

/* Botão hero primário (maior) */
.hero-buttons .btn-primary {
  padding: 15px 34px;
  font-size: 15px;
}

/* Botão secundário */
.btn-secondary {
  padding: 13px 32px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-btn);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* ===================================
   HERO — IMAGEM
=================================== */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  opacity: 0;
  animation: fadeSlideRight 0.9s ease forwards 0.5s;
}

.image-decoration {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(144, 224, 239, 0.35),
    rgba(0, 180, 216, 0.12) 60%,
    transparent 100%);
  bottom: -30px;
  right: -20px;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite;
}

.image-decoration::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(202, 240, 248, 0.6);
  top: 30px;
  left: 30px;
  animation: blobFloat 6s ease-in-out infinite reverse;
}

.doctor-photo {
  max-height: 570px;
  width: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0, 119, 182, 0.22));
  animation: float 6s ease-in-out infinite;
  object-fit: contain;
}

/* ===================================
   BLOBS DE FUNDO
=================================== */
.hero-bg-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-container,
.hero-image,
.hero-text {
  position: relative;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.13;
}

.blob1 {
  width: 520px;
  height: 520px;
  background: var(--primary-light);
  top: -220px;
  right: -80px;
  animation: blobFloat 11s ease-in-out infinite;
}

.blob2 {
  width: 320px;
  height: 320px;
  background: var(--primary);
  bottom: -80px;
  left: -80px;
  animation: blobFloat 13s ease-in-out infinite reverse;
  animation-delay: 2s;
}

.blob3 {
  width: 220px;
  height: 220px;
  background: var(--primary-dark);
  top: 45%;
  left: 28%;
  animation: blobFloat 9s ease-in-out infinite;
  animation-delay: 4s;
}

/* ===================================
   KEYFRAMES
=================================== */
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0);    }
}

@keyframes float {
  0%, 100% { transform: translateY(0px);    }
  50%       { transform: translateY(-18px); }
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1);       }
  33%       { transform: translate(28px, -28px) scale(1.06); }
  66%       { transform: translate(-18px, 18px) scale(0.94); }
}

@keyframes expandWidth {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ===================================
   PLACEHOLDER SOBRE
=================================== */
.placeholder-section {
  padding: 120px 2rem;
  text-align: center;
  background: var(--white);
}

.placeholder-section h2 {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.placeholder-section p {
  color: var(--text-muted);
}

/* ===================================
   RESPONSIVIDADE
=================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    gap: 2.5rem;
    grid-template-columns: 1fr 1fr;
  }
  .hero-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
  .nav-list { gap: 1.3rem; }
  .doctor-photo { max-height: 460px; }
}

/* Mobile */
@media (max-width: 768px) {
  /* Hamburguer */
  .hamburger { display: flex; }

  /* Botão CTA na navbar: ocultar no mobile */
  .navbar-cta { display: none; }

  /* Menu mobile */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    padding: 2.5rem 2rem;
    flex-direction: column;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 4px 0 20px rgba(0,0,0,0.06);
    overflow-y: auto;
  }

  .nav-menu.active { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(0,180,216,0.1);
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 17px;
  }

  .nav-link::after { display: none; }

  /* Hero mobile */
  .hero {
    padding: 100px 1.5rem 60px;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
    justify-content: center;
  }

  .doctor-photo { max-height: 320px; }

  .image-decoration {
    width: 280px;
    height: 280px;
  }

  .hero-description {
    margin: 0 auto 2rem;
    font-size: 1rem;
  }

  .hero-buttons { justify-content: center; }

  .blob1 { width: 300px; height: 300px; }
  .blob2 { width: 200px; height: 200px; }
  .blob3 { display: none; }
}

/* Pequeno mobile */
@media (max-width: 480px) {
  .hero { padding: 95px 1rem 50px; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }

  .hero-title { font-size: 1.65rem; }
  .navbar-container { padding: 0 1rem; }
  .logo-name { font-size: 11px; }
  .logo-specialty { font-size: 8px; }
}
/* ===================================
   SEÇÃO SOBRE
=================================== */
.sobre {
    background: var(--white);
    padding: 110px 2rem;
    position: relative;
    overflow: hidden;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.sobre-header {
    text-align: center;
    margin-bottom: 70px;
}

.sobre-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.sobre-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.2;
}

.sobre-title span {
    color: var(--primary);
}

.sobre-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Corpo: grid foto + cards */
.sobre-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
    margin-bottom: 60px;
}

/* Wrapper da foto */
.sobre-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 480px;
}

/* Blob verde animado */
.sobre-blob {
    position: absolute;
    width: 420px;
    height: 420px;
    background: radial-gradient(ellipse at 40% 40%,
        rgba(200, 240, 210, 0.85),
        rgba(180, 230, 200, 0.5) 60%,
        transparent 100%);
    border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    animation: sobreBlob 9s ease-in-out infinite, sobreFloat 7s ease-in-out infinite;
}

@keyframes sobreBlob {
    0%, 100% { border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%; }
    33%       { border-radius: 40% 60% 30% 70% / 60% 40% 70% 30%; }
    66%       { border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%; }
}

@keyframes sobreFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(-14px); }
}

/* Foto do médico */
.sobre-photo {
    position: relative;
    z-index: 2;
    max-height: 510px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 119, 182, 0.18));
    animation: sobreFloat 7s ease-in-out infinite;
}

/* Cards 2x2 */
.sobre-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.sobre-card {
    background: var(--white);
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 180, 216, 0.08);
    border-left: 3px solid transparent;
    transition: transform var(--transition),
                box-shadow var(--transition),
                border-left-color var(--transition);
    cursor: default;
    opacity: 0;
    transform: translateY(20px);
}

.sobre-card.card-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease,
                box-shadow var(--transition), border-left-color var(--transition),
                transform var(--transition);
}

.sobre-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.18);
    border-left-color: var(--primary);
}

/* Ícone do card */
.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-pale);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--primary);
    transition: background var(--transition), transform var(--transition);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.sobre-card:hover .card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.08);
}

.sobre-card:hover .card-icon svg {
    color: var(--white);
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Parágrafo descritivo */
.sobre-paragraph {
    text-align: center;
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.85;
    border-top: 1px solid rgba(0, 180, 216, 0.12);
    padding-top: 50px;
}

/* ===================================
   CLASSES DE ANIMAÇÃO (reveal)
=================================== */
.reveal {
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up    { transform: translateY(48px); }
.reveal-left  { transform: translateX(-55px); }
.reveal-right { transform: translateX(55px); }

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delays escalonados para o header */
.sobre-header.reveal { transition-delay: 0.1s; }

/* ===================================
   RESPONSIVIDADE — SOBRE
=================================== */
@media (max-width: 1024px) {
    .sobre-body { gap: 3rem; }
    .sobre-blob { width: 340px; height: 340px; }
    .sobre-photo { max-height: 420px; }
}

@media (max-width: 768px) {
    .sobre { padding: 80px 1.5rem; }

    .sobre-body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .sobre-image-wrapper {
        min-height: 340px;
        order: -1;
    }

    .sobre-blob { width: 280px; height: 280px; }
    .sobre-photo { max-height: 320px; }

    .sobre-cards { gap: 14px; }

    .sobre-card {
        padding: 20px 18px;
    }
}

@media (max-width: 480px) {
    .sobre { padding: 70px 1rem; }

    .sobre-cards {
        grid-template-columns: 1fr;
    }

    .sobre-title { font-size: 1.75rem; }

    .sobre-paragraph { font-size: 0.97rem; }

    .sobre-image-wrapper { min-height: 270px; }
    .sobre-photo { max-height: 270px; }
    .sobre-blob { width: 230px; height: 230px; }
}
/* Botão interno — card Psiquiatria Infantil */
.card-btn-psiq {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    padding: 9px 18px;
    background: transparent;
    color: var(--primary);
    border: 1.8px solid var(--primary);
    border-radius: var(--radius-btn);
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: background var(--transition),
                color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
    white-space: nowrap;
}

.card-btn-psiq::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: pulseDot 2s ease infinite;
}

.card-btn-psiq:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* O hover do card já muda o ícone — garantir que o botão não conflite */
.sobre-card:hover .card-btn-psiq {
    border-color: var(--white);
    color: var(--white);
}

.sobre-card:hover .card-btn-psiq:hover {
    background: var(--white);
    color: var(--primary);
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(37, 211, 102, 0);  }
}
/* ===================================
   SEÇÃO ESPECIALIDADES
=================================== */
.especialidades {
    background: #f4f8fb;
    padding: 110px 2rem;
    position: relative;
    overflow: hidden;
}

/* Blobs de fundo */
.esp-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.esp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.09;
}

.esp-blob1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -180px;
    left: -120px;
    animation: blobFloat 13s ease-in-out infinite;
}

.esp-blob2 {
    width: 380px;
    height: 380px;
    background: var(--primary-dark);
    bottom: -100px;
    right: -80px;
    animation: blobFloat 10s ease-in-out infinite reverse;
    animation-delay: 3s;
}

.esp-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Cabeçalho */
.esp-header {
    text-align: center;
    margin-bottom: 48px;
}

.esp-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.esp-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.esp-title span {
    color: var(--primary);
}

.esp-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Pills de categoria */
/* ===================================
   PILLS — DESKTOP (comportamento original)
=================================== */
.esp-pills-wrapper {
    margin-bottom: 56px;
    transition-delay: 0.15s;
}

/* Desktop: flex normal centralizado */
.esp-pills-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.esp-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: rgba(144, 224, 239, 0.22);
    border: 1.5px solid rgba(0, 180, 216, 0.25);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    cursor: default;
    transition: background var(--transition),
                border-color var(--transition),
                transform var(--transition);
}

.esp-pill svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.esp-pill:hover {
    background: rgba(0, 180, 216, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* No desktop: ocultar as pills duplicadas */
.esp-pill[aria-hidden="true"] {
    display: none;
}

/* ===================================
   PILLS — MOBILE (carrossel infinito)
=================================== */
@media (max-width: 768px) {

    .esp-pills-wrapper {
        overflow: hidden;
        /* Sombras laterais para dar efeito de fade nas bordas */
        mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
        -webkit-mask-image: linear-gradient(
            to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
        margin-bottom: 40px;
    }

    /* Track vira uma linha contínua que rola */
    .esp-pills-track {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        width: max-content;
        animation: pillsScroll 14s linear infinite;
    }

    /* Pausar ao tocar */
    .esp-pills-wrapper:active .esp-pills-track,
    .esp-pills-wrapper:focus-within .esp-pills-track {
        animation-play-state: paused;
    }

    /* Mostrar as duplicadas no mobile */
    .esp-pill[aria-hidden="true"] {
        display: inline-flex;
    }

    /* Remover hover no mobile (sem mouse) */
    .esp-pill:hover {
        transform: none;
    }
}

@keyframes pillsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Grid de cards */
.esp-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

/* Card base */
.esp-card {
    background: var(--white);
    border-radius: 22px;
    padding: 32px 28px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(0, 180, 216, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
                border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Linha decorativa animada no topo do card */
.esp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0 0 3px 0;
    transition: width 0.4s ease;
}

.esp-card:hover::before {
    width: 100%;
}

.esp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 180, 216, 0.16);
    border-color: rgba(0, 180, 216, 0.2);
}

/* Card destaque (Psiquiatria) */
.esp-card--destaque {
    background: linear-gradient(145deg,
        #f0fbff 0%,
        #e6f7fd 60%,
        #f0fbff 100%);
    border-color: rgba(0, 180, 216, 0.2);
}

.esp-card--destaque::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(135deg,
        rgba(0, 180, 216, 0.04) 0%,
        transparent 60%);
    pointer-events: none;
}

.esp-card--destaque:hover {
    box-shadow: 0 16px 48px rgba(0, 180, 216, 0.25);
}

/* Badge destaque */
.esp-card-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 50px;
    z-index: 2;
}

/* Ícone do card */
.esp-card-icon {
    width: 58px;
    height: 58px;
    background: var(--primary-pale);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--primary);
    flex-shrink: 0;
    transition: background var(--transition),
                transform var(--transition),
                color var(--transition);
}

.esp-card-icon svg {
    width: 28px;
    height: 28px;
}

.esp-card:hover .esp-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(-4deg);
}

/* Corpo do card */
.esp-card-body {
    flex: 1;
}

.esp-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.3;
}

/* Lista de bullets */
.esp-card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
}

.esp-card-list li {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
    transition: color var(--transition), padding-left var(--transition);
}

.esp-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    background: var(--primary-light);
    border-radius: 50%;
    transition: background var(--transition), transform var(--transition);
}

.esp-card:hover .esp-card-list li::before {
    background: var(--primary);
    transform: scale(1.2);
}

/* Link do card */
.esp-card-bottom {
    margin-top: auto;
    padding-top: 6px;
    border-top: 1px solid rgba(0, 180, 216, 0.1);
}

.esp-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0 2px;
    transition: gap var(--transition), color var(--transition);
}

.esp-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.esp-card-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.esp-card-link:hover svg {
    transform: translateX(4px);
}

/* Link destaque (Psiquiatria) */
.esp-card-link--destaque {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 13.5px;
}

/* CTA Final */
.esp-cta {
    display: flex;
    justify-content: center;
    transition-delay: 0.2s;
}

.esp-cta-btn {
    padding: 17px 42px;
    font-size: 16px;
    gap: 12px;
    border-radius: var(--radius-btn);
}

.esp-cta-btn svg {
    flex-shrink: 0;
}

/* ===================================
   ANIMAÇÕES REVEAL COM DELAY
=================================== */
.esp-card.reveal {
    transition-delay: var(--card-delay, 0s) !important;
}

/* ===================================
   RESPONSIVIDADE — ESPECIALIDADES
=================================== */
@media (max-width: 1024px) {
    .esp-cards { gap: 18px; }
}

@media (max-width: 768px) {
    .especialidades { padding: 80px 1.5rem; }

    .esp-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .esp-pills { gap: 8px; }

    .esp-pill {
        font-size: 12px;
        padding: 7px 14px;
    }

    .esp-card { padding: 26px 22px 20px; }

    .esp-card-badge {
        top: 14px;
        right: 14px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .especialidades { padding: 70px 1rem; }

    .esp-title { font-size: 1.75rem; }

    .esp-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .esp-pills::-webkit-scrollbar { display: none; }

    .esp-pill { flex-shrink: 0; }

    .esp-cta-btn {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 15px 28px;
    }
}
/* ===================================
   SEÇÃO DIFERENCIAIS
=================================== */
.diferenciais {
    background: linear-gradient(160deg, #f7fbff 0%, #eef4f9 50%, #f7fbff 100%);
    padding: 110px 2rem;
    position: relative;
    overflow: hidden;
}

/* Blobs de fundo */
.dif-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.dif-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.08;
}

.dif-blob1 {
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    top: -250px;
    right: -150px;
    animation: blobFloat 14s ease-in-out infinite;
}

.dif-blob2 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    bottom: -120px;
    left: -100px;
    animation: blobFloat 11s ease-in-out infinite reverse;
    animation-delay: 2s;
}

/* Grid pattern sutil */
.dif-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,180,216,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,180,216,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.dif-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===================================
   CABEÇALHO
=================================== */
.dif-header {
    text-align: center;
    margin-bottom: 64px;
}

.dif-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.dif-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.dif-title span {
    color: var(--primary);
}

.dif-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===================================
   CARDS HORIZONTAIS
=================================== */
.dif-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 56px;
}

.dif-card {
    background: var(--white);
    border-radius: 22px;
    padding: 34px 24px 28px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(0, 180, 216, 0.07);
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease;
}

/* Brilho de fundo no hover */
.dif-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%,
        rgba(144, 224, 239, 0.18) 0%,
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 22px;
}

.dif-card:hover::before { opacity: 1; }

.dif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.18);
    border-color: rgba(0, 180, 216, 0.22);
}

/* Ícone circular */
.dif-card-icon {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, var(--primary-pale), rgba(144, 224, 239, 0.4));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    transition: background 0.4s ease,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

.dif-card-icon svg {
    width: 30px;
    height: 30px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Anel pulsante ao redor do ícone no hover */
.dif-card-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.dif-card:hover .dif-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.35);
}

.dif-card:hover .dif-card-icon::after {
    opacity: 1;
    transform: scale(1);
}

.dif-card:hover .dif-card-icon svg {
    transform: scale(1.05) rotate(6deg);
}

.dif-card-title {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
}

.dif-card:hover .dif-card-title { color: var(--primary-dark); }

.dif-card-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Linha decorativa inferior no hover */
.dif-card-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 0 3px 3px 0;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dif-card:hover .dif-card-line { width: 100%; }

/* ===================================
   BLOCO DE CITAÇÃO
=================================== */
.dif-quote {
    transition-delay: 0.3s;
}

.dif-quote-inner {
    background: var(--white);
    border-radius: 28px;
    padding: 52px 60px;
    box-shadow: 0 8px 40px rgba(0, 180, 216, 0.1);
    border: 1.5px solid rgba(0, 180, 216, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.dif-quote-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--primary-pale),
        var(--primary),
        var(--primary-light),
        var(--primary-pale));
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.dif-quote-inner:hover {
    box-shadow: 0 16px 60px rgba(0, 180, 216, 0.16);
    transform: translateY(-4px);
}

@keyframes gradientShift {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

/* Ícone de aspas */
.dif-quote-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 28px;
    color: var(--primary);
    opacity: 0.6;
}

.dif-quote-icon svg {
    width: 56px;
    height: 56px;
}

/* Texto da citação */
.dif-quote-text {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-style: italic;
    color: var(--text);
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto 36px;
    font-weight: 400;
    position: relative;
    quotes: "\201C" "\201D";
}

/* Autor da citação */
.dif-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.dif-quote-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-pale);
    flex-shrink: 0;
    transition: border-color var(--transition), transform var(--transition);
}

.dif-quote-inner:hover .dif-quote-avatar {
    border-color: var(--primary);
    transform: scale(1.05);
}

.dif-quote-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dif-quote-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dif-quote-info strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.dif-quote-info span {
    font-size: 12.5px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ===================================
   REVEAL DELAYS — DIFERENCIAIS
=================================== */
.dif-card.reveal {
    transition-delay: var(--dif-delay, 0s) !important;
}

/* ===================================
   RESPONSIVIDADE — DIFERENCIAIS
=================================== */
@media (max-width: 1024px) {
    .dif-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .diferenciais { padding: 80px 1.5rem; }

    .dif-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .dif-card { padding: 26px 18px 22px; }

    .dif-card-icon {
        width: 58px;
        height: 58px;
    }

    .dif-card-icon svg { width: 25px; height: 25px; }

    .dif-quote-inner {
        padding: 36px 28px;
        border-radius: 22px;
    }

    .dif-quote-author {
        flex-direction: column;
        gap: 12px;
    }

    .dif-quote-info { text-align: center; }
}

@media (max-width: 480px) {
    .diferenciais { padding: 70px 1rem; }

    .dif-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dif-title { font-size: 1.75rem; }

    .dif-quote-inner { padding: 28px 18px; }

    .dif-quote-text { font-size: 1rem; }

    .dif-quote-icon { width: 40px; height: 40px; }
    .dif-quote-icon svg { width: 40px; height: 40px; }
}
/* ===================================
   SEÇÃO DEPOIMENTOS
=================================== */
.depoimentos {
    background: #f7f9fc;
    padding: 110px 2rem;
    position: relative;
    overflow: hidden;
}

/* Blobs de fundo */
.dep-bg-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.dep-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.07;
}

.dep-blob1 {
    width: 560px;
    height: 560px;
    background: var(--primary-light);
    top: -200px;
    right: -100px;
    animation: blobFloat 12s ease-in-out infinite;
}

.dep-blob2 {
    width: 360px;
    height: 360px;
    background: var(--primary-dark);
    bottom: -100px;
    left: -80px;
    animation: blobFloat 9s ease-in-out infinite reverse;
    animation-delay: 3s;
}

.dep-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===================================
   CABEÇALHO
=================================== */
.dep-header {
    text-align: center;
    margin-bottom: 60px;
}

.dep-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.dep-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.2;
}

.dep-title span {
    color: var(--primary);
}

.dep-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ===================================
   BARRA DE RATING
=================================== */
.dep-rating-bar {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid rgba(0, 180, 216, 0.15);
    border-radius: 20px;
    padding: 20px 36px 22px;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.08);
    transition: box-shadow var(--transition), transform var(--transition);
}

.dep-rating-bar:hover {
    box-shadow: 0 8px 32px rgba(0, 180, 216, 0.15);
    transform: translateY(-2px);
}

/* Ícone de pessoas */
.dep-rating-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.dep-rating-icon svg {
    width: 40px;
    height: 40px;
}

/* Info de rating */
.dep-rating-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Estrelas do contador */
.dep-rating-stars {
    display: flex;
    gap: 3px;
    color: #FBBF24;
}

.dep-rating-stars svg {
    width: 17px;
    height: 17px;
}

.dep-rating-count {
    font-size: 15px;
    color: var(--text);
    letter-spacing: 0.2px;
}

.dep-rating-count strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-right: 3px;
}

/* Botão "Ver todas as avaliações" */
.dep-ver-mais {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: transparent;
    color: var(--primary);
    border: 1.8px solid var(--primary);
    border-radius: var(--radius-btn);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 4px;
    transition: background var(--transition),
                color var(--transition),
                transform var(--transition),
                box-shadow var(--transition);
    white-space: nowrap;
}

.dep-ver-mais svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.dep-ver-mais .dep-arrow {
    transition: transform var(--transition);
}

.dep-ver-mais:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.dep-ver-mais:hover .dep-arrow {
    transform: translateX(4px);
}

/* ===================================
   GRID DE CARDS
=================================== */
.dep-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* Card individual */
.dep-card {
    background: var(--white);
    border-radius: 22px;
    padding: 28px 26px 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(0, 180, 216, 0.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s ease;
}

/* Linha superior animada */
.dep-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aspas decorativas no fundo */
.dep-card::after {
    content: '\201C';
    position: absolute;
    bottom: -20px;
    right: 16px;
    font-size: 110px;
    line-height: 1;
    color: rgba(0, 180, 216, 0.06);
    font-family: Georgia, serif;
    pointer-events: none;
    transition: color 0.35s ease, transform 0.35s ease;
}

.dep-card:hover::before { width: 100%; }

.dep-card:hover::after {
    color: rgba(0, 180, 216, 0.1);
    transform: scale(1.05) rotate(-3deg);
}

.dep-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(0, 180, 216, 0.14);
    border-color: rgba(0, 180, 216, 0.2);
}

/* Topo do card: avatar + meta */
.dep-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Avatar com inicial */
.dep-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--av-color, var(--primary));
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dep-card:hover .dep-avatar {
    transform: scale(1.12) rotate(-4deg);
}

/* Meta do card */
.dep-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dep-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

/* Estrelas do card */
.dep-stars {
    display: flex;
    gap: 2px;
    color: #FBBF24;
}

.dep-stars svg {
    width: 14px;
    height: 14px;
}

/* Texto da citação */
.dep-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
    font-style: italic;
    flex: 1;
    position: relative;
    z-index: 1;
    transition: color var(--transition);
}

.dep-card:hover .dep-text {
    color: #4B5563;
}

/* Rodapé do card */
.dep-card-footer {
    border-top: 1px solid rgba(0, 180, 216, 0.08);
    padding-top: 12px;
}

.dep-platform {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.dep-platform svg {
    color: var(--primary);
}

/* ===================================
   REVEAL DELAYS — DEPOIMENTOS
=================================== */
.dep-card.reveal {
    transition-delay: var(--dep-delay, 0s) !important;
}

/* ===================================
   RESPONSIVIDADE — DEPOIMENTOS
=================================== */
@media (max-width: 1024px) {
    .dep-cards { gap: 18px; }
}

@media (max-width: 768px) {
    .depoimentos { padding: 80px 1.5rem; }

    .dep-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .dep-rating-bar {
        padding: 18px 24px 20px;
        width: 100%;
        max-width: 340px;
    }

    .dep-ver-mais {
        width: 100%;
        justify-content: center;
    }

    .dep-card { padding: 24px 20px 18px; }
}

@media (max-width: 480px) {
    .depoimentos { padding: 70px 1rem; }

    .dep-title { font-size: 1.75rem; }

    .dep-rating-bar {
        max-width: 100%;
        padding: 16px 18px 18px;
    }

    .dep-rating-count { font-size: 14px; }
    .dep-rating-count strong { font-size: 20px; }
}
/* ===================================
   SEÇÃO CONTATO
=================================== */
.contato {
    background: linear-gradient(145deg, #0077B6 0%, #023E8A 60%, #03045E 100%);
    padding: 110px 2rem 100px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

/* Partículas decorativas flutuantes */
.ctt-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.ctt-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(144, 224, 239, 0.15);
    animation: cttFloat 0s ease-in-out infinite;
}

.p1 { width: 320px; height: 320px; top: -100px; left: -80px;  animation-duration: 12s; }
.p2 { width: 200px; height: 200px; top: 50%;   right: -60px;  animation-duration: 9s;  animation-delay: 1s;   }
.p3 { width: 140px; height: 140px; bottom: 40px; left: 20%;   animation-duration: 7s;  animation-delay: 2s;   }
.p4 { width: 90px;  height: 90px;  top: 20%;   left: 45%;    animation-duration: 6s;  animation-delay: 3s;   }
.p5 { width: 60px;  height: 60px;  bottom: 15%; right: 25%;  animation-duration: 5s;  animation-delay: 1.5s; }

@keyframes cttFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 15px) scale(0.95); }
}

.ctt-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Cabeçalho */
.ctt-header { text-align: center; margin-bottom: 56px; }

.ctt-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.ctt-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.ctt-title span {
    color: var(--primary-light);
    position: relative;
}

.ctt-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===================================
   GRID DE CARDS DE CONTATO
=================================== */
.ctt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 44px;
}

.ctt-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 24px 20px;
    text-decoration: none;
    color: var(--white);
    transition: background 0.35s ease,
                transform 0.35s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.ctt-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(144,224,239,0.1) 0%,
        transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 20px;
}

.ctt-card:hover {
    background: rgba(255,255,255,0.13);
    border-color: rgba(144,224,239,0.4);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}

.ctt-card:hover::before { opacity: 1; }

/* Card WhatsApp — destaque */
.ctt-card--whats {
    background: rgba(37,211,102,0.12);
    border-color: rgba(37,211,102,0.25);
}

.ctt-card--whats:hover {
    background: rgba(37,211,102,0.2);
    border-color: rgba(37,211,102,0.5);
    box-shadow: 0 20px 48px rgba(37,211,102,0.15);
}

/* Ícone do card */
.ctt-card-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

.ctt-card-icon svg { width: 24px; height: 24px; }

.ctt-card--whats .ctt-card-icon { color: #25D366; }

.ctt-card:hover .ctt-card-icon {
    background: rgba(255,255,255,0.18);
    transform: scale(1.1) rotate(-5deg);
}

/* Informações do card */
.ctt-card-info { flex: 1; }

.ctt-card-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 4px;
}

.ctt-card-value {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

/* Badge do card */
.ctt-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #25D366;
    background: rgba(37,211,102,0.12);
    border-radius: 20px;
    padding: 3px 10px;
}

.ctt-card-badge--neutral {
    color: var(--primary-light);
    background: rgba(144,224,239,0.1);
}

/* Ponto online pulsante */
.ctt-online-dot {
    width: 7px;
    height: 7px;
    background: #25D366;
    border-radius: 50%;
    animation: onlinePulse 2s ease infinite;
    flex-shrink: 0;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
    50%       { box-shadow: 0 0 0 5px rgba(37,211,102,0); }
}

/* Seta do card */
.ctt-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
    transition: border-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s ease;
}

.ctt-card-arrow svg { width: 15px; height: 15px; }

.ctt-card:hover .ctt-card-arrow {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
    transform: translateX(4px);
}

/* Delay cards */
.ctt-card.reveal { transition-delay: var(--ctt-delay, 0s) !important; }

/* ===================================
   SELO DE CONFIANÇA
=================================== */
.ctt-selo {
    transition-delay: 0.3s;
}

.ctt-selo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px 40px;
    position: relative;
    overflow: hidden;
}

.ctt-selo-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-light),
        transparent);
    animation: seloGlow 3s ease-in-out infinite;
}

@keyframes seloGlow {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 1; }
}

.ctt-selo-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 36px;
    flex: 1;
    min-width: 160px;
    transition: transform 0.3s ease;
}

.ctt-selo-item:hover { transform: scale(1.04); }

.ctt-selo-icon {
    width: 44px;
    height: 44px;
    background: rgba(144,224,239,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.ctt-selo-icon svg { width: 22px; height: 22px; }
.ctt-selo-item:hover .ctt-selo-icon { background: rgba(144,224,239,0.22); }

.ctt-selo-item div:last-child {
    display: flex;
    flex-direction: column;
}

.ctt-selo-item strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.ctt-selo-item span {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

.ctt-selo-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

/* ===================================
   FOOTER
=================================== */
.footer {
    background: #0a1628;
    color: rgba(255,255,255,0.75);
    position: relative;
    padding-top: 0;
}

/* Onda no topo */
.footer-wave {
    width: 100%;
    line-height: 0;
    display: block;
    color: #0a1628;
    margin-top: -1px;
}

.footer-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 2rem 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 3rem;
}

/* Coluna marca */
.footer-brand {}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.2;
}

.footer-logo-specialty {
    font-size: 9px;
    color: var(--primary-light);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.85;
    color: rgba(255,255,255,0.55);
    margin-bottom: 24px;
}

/* Botões de redes sociais */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: background 0.3s ease,
                border-color 0.3s ease,
                color 0.3s ease,
                transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.footer-social-btn:hover {
    background: rgba(0,180,216,0.15);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-3px) scale(1.08);
}

.footer-social-btn--wa:hover {
    background: rgba(37,211,102,0.12);
    border-color: #25D366;
    color: #25D366;
}
.footer-social-btn--ig:hover {
    background: linear-gradient(135deg,
        rgba(253,88,73,0.15) 0%,
        rgba(214,36,159,0.15) 50%,
        rgba(88,81,219,0.15) 100%);
    border-color: #E1306C;
    color: #E1306C;
}

/* Colunas de links */
.footer-col {}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.footer-col:hover .footer-col-title::after { width: 50px; }

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    font-size: 13.5px;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: block;
}

.footer-link:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

/* Links de contato com ícone */
.footer-contact-item {
    display: flex !important;
    align-items: center;
    gap: 9px;
}

.footer-contact-item svg { flex-shrink: 0; color: var(--primary); }

/* Card de mapa */
.footer-map-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    transition: background 0.3s ease,
                border-color 0.3s ease,
                transform 0.3s ease;
}

.footer-map-card:hover {
    background: rgba(0,180,216,0.08);
    border-color: rgba(0,180,216,0.3);
    transform: translateY(-3px);
    color: rgba(255,255,255,0.8);
}

.footer-map-pin {
    width: 38px;
    height: 38px;
    background: rgba(0,180,216,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: background 0.3s ease;
}

.footer-map-pin svg { width: 20px; height: 20px; }
.footer-map-card:hover .footer-map-pin { background: rgba(0,180,216,0.2); }

.footer-address {
    font-size: 13px;
    line-height: 1.8;
    font-style: normal;
    color: inherit;
}

.footer-address strong {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-map-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    transition: gap 0.25s ease;
}

.footer-map-card:hover .footer-map-cta { gap: 9px; }

/* ===================================
   RODAPÉ INFERIOR
=================================== */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 12.5px;
    color: rgba(255,255,255,0.3);
    line-height: 1.5;
}

/* ===================================
   RESPONSIVIDADE — CONTATO + FOOTER
=================================== */
@media (max-width: 1024px) {
    .ctt-grid { grid-template-columns: 1fr; gap: 14px; }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .ctt-selo-item { padding: 0 20px; min-width: 140px; }
}

@media (max-width: 768px) {

    /* === CONTATO GERAL === */
    .contato { padding: 80px 1.5rem 80px; }
    .ctt-grid { grid-template-columns: 1fr; }
    .ctt-card { padding: 20px 16px; }

    /* === SELO: container em coluna === */
    .ctt-selo-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 16px;
        gap: 0;
    }

    /* Divisores viram linhas horizontais */
    .ctt-selo-divider {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
        margin: 0;
    }

    /* Cada item: ícone à esquerda, texto à direita */
    .ctt-selo-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 20px 10px;       /* <— padding restaurado aqui, sem conflito */
        min-width: unset;
        width: 100%;
        transition: transform 0.3s ease;
    }

    .ctt-selo-item:hover { transform: scale(1.02); }

    /* Ícone compacto */
    .ctt-selo-icon {
        width: 42px;
        height: 42px;
        flex-shrink: 0;
        border-radius: 11px;
    }

    .ctt-selo-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Texto alinhado à esquerda */
    .ctt-selo-item div:last-child {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 2px;
    }

    .ctt-selo-item strong { font-size: 15px; }
    .ctt-selo-item span   { font-size: 12px; }

    /* ====================================================
       DESTAQUE: "30+ anos de cuidado infantil" (1º item)
    ==================================================== */
    .ctt-selo-item:first-child {
        background: rgba(144, 224, 239, 0.1);
        border: 1px solid rgba(144, 224, 239, 0.22);
        border-radius: 14px;
        margin: 10px 0 4px;        /* respiro acima e abaixo */
        padding: 20px 16px;
        position: relative;
        overflow: hidden;
    }

    /* Barra lateral teal */
    .ctt-selo-item:first-child::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, var(--primary-light), var(--primary));
        border-radius: 3px 0 0 3px;
    }

    /* Ícone maior e mais saturado */
    .ctt-selo-item:first-child .ctt-selo-icon {
        background: rgba(0, 180, 216, 0.28);
        width: 48px;
        height: 48px;
    }

    /* Número grande em teal */
    .ctt-selo-item:first-child strong {
        font-size: 21px;
        font-weight: 800;
        color: var(--primary-light);
        letter-spacing: -0.4px;
        line-height: 1.1;
    }

    /* Subtexto mais visível */
    .ctt-selo-item:first-child span {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.82);
        font-weight: 500;
    }

    /* Divisor logo após o item de destaque fica invisível
       (evita linha dupla por causa do margin-bottom) */
    .ctt-selo-item:first-child + .ctt-selo-divider {
        opacity: 0;
        height: 0;
    }

    /* === FOOTER === */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 48px 1.5rem 36px;
    }

    .footer-brand { grid-column: auto; }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        padding: 16px 1.5rem;
    }

    .footer-wave svg { height: 50px; }
}

@media (max-width: 480px) {
    .contato { padding: 70px 1rem 70px; }
    .ctt-title { font-size: 1.9rem; }
    .footer-container { padding: 40px 1rem 32px; }
    .footer-bottom-inner { padding: 16px 1rem; }
}