/* ===== Reset e variáveis ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-whatsapp: #25d366;
  --green-dark: #128c7e;
  --green-light: #dcf8c6;
  --blue-deep: #0f172a;
  --blue-mid: #1e293b;
  --blue-light: #334155;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --accent: #0ea5e9;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-green: 0 8px 24px rgba(37, 211, 102, 0.35);
  --transition: 0.25s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 360px) {
  .container {
    padding: 0 1rem;
  }
}

/* ===== Header (sempre preto) ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, background var(--transition);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
  transition: background var(--transition), border-color var(--transition);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap;
}

.nav-list li {
  flex-shrink: 0;
}

.nav-list a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--green-whatsapp);
  border-bottom-color: var(--green-whatsapp);
}

@media (min-width: 769px) {
  .nav-list .nav-item--faq {
    display: none;
  }
}

.header-cta {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--green-whatsapp) 0%, var(--green-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-whatsapp:hover {
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-whatsapp);
}

.btn-outline:hover {
  background: rgba(37, 211, 102, 0.12);
  color: var(--green-dark);
}

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, var(--green-whatsapp) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: 50px;
  box-shadow: var(--shadow-green);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.whatsapp-float-icon {
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.5rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.75) 100%), url('../background.webp') center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

.hero-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-badge {
  font-size: 0.8rem;
  color: var(--green-whatsapp);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-badge a {
  color: var(--green-light);
  text-decoration: underline;
  font-weight: 600;
}

.hero-badge a:hover {
  color: var(--white);
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-brand {
  display: block;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.25rem;
  background: linear-gradient(180deg, #fff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gray-200);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-recupere {
  display: block;
  font-size: 1rem;
  color: var(--gray-300);
  margin-bottom: 0.5rem;
}

.hero-destaques {
  display: block;
  position: relative;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  margin-bottom: 1.25rem;
  min-height: 1.4em;
}

.hero-word {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  color: #facc15;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 0 30px rgba(250, 204, 21, 0.4);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-word.active {
  opacity: 1;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-desc strong {
  color: var(--gray-200);
}

.hero-badge-2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.hero-phone {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--green-whatsapp);
  margin: 0.5rem 0;
  transition: color var(--transition);
}

.hero-phone:hover {
  color: var(--green-light);
}

/* ===== Seções genéricas ===== */
.section {
  padding: 4rem 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-whatsapp);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-desc {
  color: var(--gray-600);
  margin-bottom: 1rem;
  max-width: 720px;
}

.section-desc a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.section-desc a:hover {
  color: var(--green-whatsapp);
}

/* ===== Diferenciais ===== */
.section-diferenciais {
  background: var(--gray-50);
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

.diferenciais-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.diferenciais-text {
  max-width: 560px;
}

.diferenciais-img-wrap {
  flex-shrink: 0;
}

.diferenciais-img {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .diferenciais-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .diferenciais-text { max-width: none; }
  .diferenciais-img { width: 100%; max-width: 400px; margin: 0 auto; display: block; }
}

.diferenciais-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.diferenciais-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--gray-700);
}

.diferenciais-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--green-whatsapp);
  border-radius: 50%;
}

/* ===== Tratamentos ===== */
.section-tratamentos {
  background: var(--white);
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.tratamentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tratamento-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.tratamento-card:hover {
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: var(--shadow-sm);
}

.tratamento-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tratamento-card-unidade {
  padding: 1.75rem;
}

.tratamento-card:has(.tratamento-card-img) .tratamento-card-title,
.tratamento-card:has(.tratamento-card-img) p,
.tratamento-card:has(.tratamento-card-img) .btn,
.tratamento-card:has(.tratamento-card-img) .tratamento-card-badge {
  margin-left: 1.75rem;
  margin-right: 1.75rem;
}

.tratamento-card:has(.tratamento-card-img) .tratamento-card-title {
  padding-top: 1.25rem;
}

.tratamento-card:has(.tratamento-card-img) .tratamento-card-badge {
  margin-bottom: 1.75rem;
}

.tratamento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--green-dark);
}

.tratamento-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tratamento-card-badge {
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

.tratamento-card-badge a {
  color: var(--green-whatsapp);
  text-decoration: underline;
}

.tratamento-card-unidade-text {
  font-weight: 700;
  color: var(--gray-900) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tratamento-card-unidade .btn {
  margin-top: 0.5rem;
}

/* ===== Unidade - Carrossel infinito ===== */
.section-unidade {
  background: var(--white);
  padding-bottom: 2rem;
  content-visibility: auto;
}

.unidade-carousel {
  overflow: hidden;
  margin: 2rem 0;
  padding: 0.5rem 0;
}

.unidade-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: unidade-scroll 45s linear infinite;
}

.unidade-carousel-track:hover {
  animation-play-state: paused;
}

.unidade-carousel-slide {
  flex: 0 0 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 600px) {
  .unidade-carousel-slide {
    flex: 0 0 220px;
    height: 160px;
  }
}

.unidade-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes unidade-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.unidade-cta {
  text-align: center;
  margin-top: 1.5rem;
}

/* ===== Missão ===== */
.section-areas {
  background: var(--white);
  content-visibility: auto;
}

.section-areas .section-desc {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-missao {
  background: var(--gray-50);
  content-visibility: auto;
}

.missao-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.missao-texto {
  max-width: 560px;
}

.missao-titulo {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 1.25rem;
}

.missao-text {
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.missao-text strong {
  color: var(--gray-800);
}

.missao-img-wrap {
  flex-shrink: 0;
}

.missao-img {
  max-width: 100%;
  width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .missao-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .missao-texto { max-width: none; }
  .missao-img { width: 100%; max-width: 400px; margin: 0 auto; display: block; }
}

/* ===== Depoimentos ===== */
.section-depoimentos {
  background: var(--white);
  content-visibility: auto;
}

/* ===== FAQ (SEO) ===== */
.section-faq {
  background: var(--gray-50);
  content-visibility: auto;
}

.section-faq .section-title {
  margin-bottom: 1.5rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto 2rem;
  list-style: none;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-bottom: none;
  background: var(--white);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:first-of-type {
  border-radius: var(--radius) var(--radius) 0 0;
}

.faq-item:last-of-type {
  border-radius: 0 0 var(--radius) var(--radius);
}

.faq-item:first-of-type:last-of-type {
  border-radius: var(--radius);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
  background: var(--gray-50);
  color: var(--green-dark);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325d366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

.faq-item.is-open .faq-question {
  color: var(--green-dark);
  background: var(--gray-50);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

.faq-answer > div {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
  font-weight: 400;
  border-top: 1px solid var(--gray-100);
}

.faq-item.is-open .faq-answer > div {
  border-top-color: var(--gray-200);
}

.faq-answer a {
  color: var(--green-dark);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--green-whatsapp);
}

.faq-cta {
  text-align: center;
  color: var(--gray-700);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

.faq-cta a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.faq-cta a:hover {
  color: var(--green-whatsapp);
}

@media (max-width: 480px) {
  .faq-question {
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
  .faq-answer > div {
    padding: 0 1rem 1rem;
  }
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.depoimento-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color var(--transition);
}

.depoimento-card:hover {
  border-color: rgba(37, 211, 102, 0.3);
}

.depoimento-idade {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

.depoimento-nome {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.depoimento-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.depoimento-rating {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.depoimento-texto {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
  font-style: italic;
  border-left: 3px solid var(--green-whatsapp);
  padding-left: 1rem;
  margin: 0;
}

/* ===== Plantão / CTA ===== */
.section-plantao {
  background: var(--gray-50);
  text-align: center;
  content-visibility: auto;
}

.plantao-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-whatsapp);
  margin-bottom: 0.5rem;
}

.plantao-phone {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.plantao-phone a {
  color: var(--green-dark);
  font-weight: 700;
}

.plantao-phone a:hover {
  color: var(--green-whatsapp);
}

.plantao-desc {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.plantao-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--gray-600);
}

.plantao-list a {
  color: var(--green-whatsapp);
  font-weight: 600;
}

.plantao-cta-text {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.footer-sobre p,
.footer-links ul {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.footer-sobre a,
.footer-links a {
  color: var(--green-dark);
}

.footer-sobre a:hover,
.footer-links a:hover {
  color: var(--green-whatsapp);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.footer-copy,
.footer-credits {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.25rem;
}

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .tratamentos-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }

  .logo {
    max-width: 140px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem 1.5rem 1.5rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .header-cta {
    margin-top: 0.5rem;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links ul {
    align-items: center;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float {
    padding: 1rem;
    bottom: 1rem;
    right: 1rem;
    min-width: 56px;
    min-height: 56px;
  }

  .btn {
    min-height: 44px;
    padding: 0.85rem 1.25rem;
  }

  .plantao-phone {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .tratamento-card:has(.tratamento-card-img) .tratamento-card-title,
  .tratamento-card:has(.tratamento-card-img) p,
  .tratamento-card:has(.tratamento-card-img) .btn,
  .tratamento-card:has(.tratamento-card-img) .tratamento-card-badge {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

  .tratamento-card:has(.tratamento-card-img) .tratamento-card-title {
    padding-top: 1rem;
  }

  .tratamento-card:has(.tratamento-card-img) .tratamento-card-badge {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 5.5rem 1rem 2.5rem;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-destaques {
    font-size: clamp(1.4rem, 6vw, 2rem);
    min-height: 1.3em;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .tratamentos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tratamento-card-img {
    height: 180px;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .depoimento-card {
    padding: 1.25rem;
  }

  .footer {
    padding-top: 2rem;
  }

  .footer-bottom {
    padding: 1.25rem 0;
  }

  .diferenciais-img {
    width: 100%;
    max-width: 100%;
  }

  .missao-img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 360px) {
  .hero-brand {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .hero-sub {
    font-size: clamp(0.95rem, 4vw, 1.1rem);
  }

  .hero-destaques {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  .btn-lg {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .whatsapp-float {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}

/* ===== Aviso de cookies (LGPD) ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--blue-deep);
  color: var(--gray-200);
  padding: 1rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease;
}

.cookie-bar.is-hidden,
html.cookie-consent-given .cookie-bar {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-bar-text {
  flex: 1;
  min-width: 260px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-bar-text a {
  color: var(--green-whatsapp);
  text-decoration: underline;
}

.cookie-bar-text a:hover {
  color: var(--green-light);
}

.cookie-bar-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--green-whatsapp);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-bar-btn:hover {
  background: var(--green-light);
}

.cookie-bar-btn:focus {
  outline: 2px solid var(--green-light);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .cookie-bar-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-bar-text {
    min-width: 0;
  }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .cookie-bar {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Safe area para dispositivos com notch */
@supports (padding: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
  }
}

@supports (padding: env(safe-area-inset-top)) {
  .hero {
    padding-top: max(7rem, calc(5rem + env(safe-area-inset-top)));
  }
  @media (max-width: 480px) {
    .hero {
      padding-top: max(5.5rem, calc(4rem + env(safe-area-inset-top)));
    }
  }
}
