:root {
  --dourado: #D4AF37;
  --preto: #111111;
  --texto-cinza: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--preto);
  background: #fff;
}

h1, h2 { font-family: 'Playfair Display', serif; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag-gold {
  display: inline-block;
  color: var(--dourado);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--preto);
  color: var(--dourado);
}
.btn-primary:hover {
  background: var(--dourado);
  color: var(--preto);
}

/* ===== FAIXA EM BREVE ===== */
.faixa-embreve {
  background: var(--dourado);
  color: var(--preto);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  letter-spacing: 0.5px;
}

/* ===== HERO (IMAGEM OU VÍDEO DE FUNDO) ===== */
.hero-embreve {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 100px 20px;
  overflow: hidden;
}

.hero-embreve::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.hero-embreve .container {
  position: relative;
  z-index: 2;
}

.hero-embreve h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.hero-subtitulo {
  max-width: 650px;
  margin: 0 auto 32px;
  color: #eee;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== HERO IMERSIVA COM VÍDEO DE FUNDO ===== */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== LOGO SOBRE A HERO ===== */
.logo-hero {
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 5;
}

.logo-hero img {
  height: 200px;
  width: auto;
}

/* ===== EXPERIÊNCIA / TECNOLOGIA ===== */
.experiencia {
  padding: 90px 0;
  background: #fff;
}

.experiencia-grid {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.experiencia-texto {
  flex: 1;
  min-width: 300px;
}

.experiencia-texto h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.experiencia-texto p {
  color: var(--texto-cinza);
  line-height: 1.8;
  margin-bottom: 16px;
}

.experiencia-imagem {
  flex: 1;
  min-width: 300px;
}

.experiencia-imagem img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* ===== EQUIPE - LAYOUT COM UM CARD PRINCIPAL ===== */
.equipe-grid.equipe-grid-single {
  grid-template-columns: 1fr;
  max-width: 320px;
}

/* ===== CREDIBILIDADE ===== */
.credibilidade {
  background: var(--preto);
  color: #fff;
  padding: 80px 0;
}
.credibilidade-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.credibilidade-texto {
  flex: 1;
  min-width: 280px;
}
.credibilidade-texto h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.credibilidade-texto p {
  color: #ccc;
  line-height: 1.7;
}
.credibilidade-selo {
  text-align: center;
  border: 1px solid var(--dourado);
  border-radius: 16px;
  padding: 32px 40px;
  flex-shrink: 0;
}
.selo-numero {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--dourado);
  font-weight: 700;
}
.selo-texto {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 6px;
}

/* ===== SERVIÇOS / PROCEDIMENTOS ===== */
.servicos {
  padding: 90px 0;
  background: #faf8f2;
}
.servicos-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.servicos-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.servicos-header p {
  color: var(--texto-cinza);
  line-height: 1.7;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.servico-card {
  background: #fff;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  padding: 32px 26px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}
.servico-icone {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.servico-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--preto);
}
.servico-card p {
  font-size: 0.9rem;
  color: var(--texto-cinza);
  line-height: 1.6;
}

/* ===== SERVIÇOS COM HOVER (CARDS INTERATIVOS) ===== */
.servico-card-hover {
  position: relative;
  background: #fff;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  padding: 32px 26px;
  text-align: left;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  overflow: hidden;
  min-height: 190px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servico-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
}

.servico-card-hover .servico-icone {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.servico-card-hover h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--preto);
}

.servico-card-hover p {
  font-size: 0.9rem;
  color: var(--texto-cinza);
  line-height: 1.6;
}

.servico-card-hover .servico-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
  font-size: 0.85rem;
  color: var(--dourado);
  font-weight: 600;
}

.servico-card-hover:hover .servico-extra {
  max-height: 60px;
  opacity: 1;
  margin-top: 12px;
}

/* Em telas sem hover (celular/tablet touch), o extra já fica visível */
@media (hover: none) {
  .servico-card-hover .servico-extra {
    max-height: 60px;
    opacity: 1;
    margin-top: 12px;
  }
}

/* ===== ESTRUTURA ===== */
.estrutura {
  padding: 90px 0;
  background: var(--preto);
  color: #fff;
}
.estrutura-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.estrutura-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.estrutura-header p {
  color: #ccc;
  line-height: 1.7;
}
.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.estrutura-item {
  text-align: center;
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 14px;
  padding: 30px 20px;
}
.estrutura-icone {
  font-size: 2rem;
  color: var(--dourado);
  margin-bottom: 12px;
}
.estrutura-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.estrutura-item p {
  font-size: 0.8rem;
  color: #ccc;
}

/* ===== EQUIPE ===== */
.equipe {
  padding: 90px 0;
}
.equipe-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.equipe-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.equipe-header p {
  color: var(--texto-cinza);
  line-height: 1.7;
}
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto 50px;
}
.equipe-card {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 14px;
}
.equipe-avatar {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: var(--preto);
  overflow: hidden;
  margin: 0 auto 18px;
  border: 3px solid var(--dourado);
}

.equipe-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equipe-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.equipe-card span {
  color: var(--dourado);
  font-size: 0.85rem;
  font-weight: 600;
}
.equipe-apoio {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--texto-cinza);
  line-height: 1.7;
  font-size: 0.95rem;
  padding: 24px;
  border-top: 1px solid #eee;
}

/* ===== AVISO INAUGURAÇÃO / CONTATO ===== */
.aviso-inauguracao {
  padding: 90px 0;
}
.aviso-grid {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.aviso-info {
  flex: 1;
  min-width: 280px;
}
.aviso-info h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.aviso-info p {
  color: var(--texto-cinza);
  line-height: 1.7;
}
.aviso-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aviso-form input {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-feedback {
  color: var(--dourado);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== SEÇÃO DE LOCALIZAÇÃO COM MAPA ===== */
.localizacao {
  padding: 60px 0;
  background: #faf8f2;
}

.localizacao-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.localizacao-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.localizacao-header p {
  color: var(--texto-cinza);
  line-height: 1.7;
}

.mapa-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.mapa-wrapper iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .mapa-wrapper iframe {
    height: 300px;
  }
}

/* ===== FOOTER COMPLETO COM DADOS DA CLÍNICA ===== */
.footer-clinica {
  background: var(--preto);
  color: #999;
  padding: 60px 0 24px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-coluna h3 {
  font-family: 'Poppins', sans-serif;
  color: var(--dourado);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-coluna p {
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 8px;
}

.footer-coluna a {
  color: #ccc;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-coluna a:hover {
  color: var(--dourado);
}

.footer-copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVO GERAL ===== */
@media (max-width: 800px) {
  .servicos-grid { grid-template-columns: 1fr; }
  .estrutura-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero-embreve h1 { font-size: 1.8rem; }
  .credibilidade-grid, .aviso-grid { flex-direction: column; }
  .experiencia-grid { flex-direction: column; }
  .logo-hero { top: 16px; left: 20px; }
  .logo-hero img { height: 60px; }
}

/* ===== CARROSSEL DE SERVIÇOS ===== */
.servicos-carousel {
  overflow: hidden;
  position: relative;
  margin: 40px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.servicos-trilha {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: rolarServicos 40s linear infinite;
}

.servicos-carousel:hover .servicos-trilha {
  animation-play-state: paused;
}

.servicos-trilha .servico-card-hover {
  min-width: 280px;
  max-width: 280px;
  flex-shrink: 0;
}

@keyframes rolarServicos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.servicos-cta {
  text-align: center;
  margin-top: 20px;
}

/* ===== MODAL - TODOS OS PROCEDIMENTOS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.75);
  z-index: 1000;
  padding: 40px 20px;
  overflow-y: auto;
}

.modal-overlay.ativo {
  display: block;
}

.modal-conteudo {
  background: #fff;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 40px;
  position: relative;
}

.modal-fechar {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--texto-cinza, #777);
  cursor: pointer;
}

.modal-fechar:hover {
  color: var(--preto, #0a0a0a);
}

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

.modal-header h2 {
  font-family: 'Playfair Display', serif;
  margin-top: 10px;
}

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

@media (max-width: 900px) {
  .modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .modal-conteudo {
    padding: 30px 20px;
  }
}

/* ===== MODAL DE AGENDAMENTO (FORMULÁRIO) ===== */
.modal-conteudo-form {
  max-width: 480px;
}

.agendamento-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agendamento-form input,
.agendamento-form select {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--texto, #333);
}

.agendamento-form select {
  background: #fff;
}

.agendamento-form button {
  margin-top: 8px;
}