/* =============================================
   BEATRIZ MARTINS - ESTÉTICA & SAÚDE
   Design System | Azul Pastel (cor da logo)
   ============================================= */

/* --- VARIÁVEIS GLOBAIS --- */
:root {
  --cor-primaria: #98B4D4;
  --cor-primaria-hover: #7A9BBE;
  --cor-primaria-suave: rgba(152, 180, 212, 0.15);
  --cor-fundo: #FAFAFA;
  --cor-texto: #2d2d2d;
  --cor-texto-meio: #6c757d;
  --fonte-titulos: 'Cormorant Garamond', serif;
  --fonte-textos: 'Inter', sans-serif;
  --sombra: 0 4px 20px rgba(0, 0, 0, 0.06);
  --sombra-forte: 0 15px 40px rgba(152, 180, 212, 0.25);
  --raio: 24px;
}

/* --- BASE --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--fonte-textos);
  background: var(--cor-fundo);
  color: var(--cor-texto);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, .titulo-serif {
  font-family: var(--fonte-titulos);
  line-height: 1.15;
}

/* --- NAVBAR --- */
.navbar-custom {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(152, 180, 212, 0.25);
}

.nav-link-custom {
  color: var(--cor-texto);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  transition: color 0.3s;
  padding: 0 4px !important;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--cor-primaria);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.nav-link-custom:hover { color: var(--cor-primaria); }
.nav-link-custom:hover::after { width: 100%; }

/* --- BOTÕES --- */
.btn-principal {
  background: var(--cor-primaria);
  color: #fff;
  border-radius: 50px;
  padding: 13px 30px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  box-shadow: 0 8px 20px rgba(152, 180, 212, 0.4);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-principal:hover {
  background: var(--cor-primaria-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(152, 180, 212, 0.5);
}

.btn-secundario {
  background: transparent;
  color: var(--cor-texto);
  border: 2px solid rgba(152, 180, 212, 0.6);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secundario:hover {
  background: var(--cor-primaria-suave);
  border-color: var(--cor-primaria);
  color: var(--cor-primaria-hover);
  transform: translateY(-2px);
}

/* --- ÍCONE CIRCULAR (redes sociais) --- */
.icone-circular {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cor-primaria-suave);
  color: var(--cor-primaria);
  transition: all 0.3s;
  flex-shrink: 0;
}

.icone-circular:hover {
  background: var(--cor-primaria);
  color: #fff;
  transform: scale(1.1);
}

/* ======================
   HERO SECTION
   ====================== */
.hero-section {
  padding: 20px 0 20px;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cor-primaria-suave);
  color: var(--cor-primaria-hover);
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.ponto-pulsante {
  width: 8px; height: 8px;
  background: var(--cor-primaria);
  border-radius: 50%;
  position: relative;
}

.ponto-pulsante::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: var(--cor-primaria);
  animation: pulsar 1.8s infinite ease-out;
}

@keyframes pulsar {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3); opacity: 0; }
}

.hero-img-container {
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra-forte);
  position: relative;
  z-index: 1;
}

.hero-img-container img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img-container:hover img { transform: scale(1.02); }

/* ======================
   SEÇÃO SOBRE (BEATRIZ)
   Principle: Authority Bias + Social Proof
   ====================== */
.sobre-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #f0f6fd 0%, #fafafa 100%);
}

.sobre-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(152, 180, 212, 0.4);
  color: var(--cor-primaria-hover);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: var(--sombra);
}

/* Grid de fotos: 1 foto grande à esquerda + 2 menores à direita */
.foto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 688px;
}

.foto-principal {
  grid-row: 1 / 3;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra-forte);
  position: relative;
  height: 100%;
  width: 100%;
}

.foto-secundaria {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sombra);
  position: relative;
  background: rgba(152, 180, 212, 0.12);
  height: 100%;
  width: 100%;
}

.foto-principal img,
.foto-secundaria img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.foto-principal:hover img,
.foto-secundaria:hover img { transform: scale(1.04); }

/* Placeholder de foto (quando não há imagem) */
.foto-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(152, 180, 212, 0.1);
  color: var(--cor-primaria);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  gap: 10px;
}

.foto-placeholder .material-symbols-outlined { font-size: 36px; opacity: 0.5; }

/* Indicadores de credibilidade */
.credencial-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sombra);
  border-left: 3px solid var(--cor-primaria);
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.credencial-item:hover { transform: translateX(4px); }

.credencial-item .material-symbols-outlined {
  color: var(--cor-primaria);
  font-size: 22px;
  flex-shrink: 0;
}

/* ======================
   PROCEDIMENTOS
   ====================== */
.procedimentos-section { padding: 90px 0; }

.card-procedimento {
  background: #fff;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 60px;
  transition: box-shadow 0.3s ease;
}

.card-procedimento:hover { box-shadow: var(--sombra-forte); }

/* Antes & Depois lado a lado */
.img-comparativa-wrapper {
  display: flex;
  height: 100%;
  min-height: 460px;
}

.img-comparativa {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
}

.img-comparativa:first-child {
  border-right: 3px solid #fff;
}

.badge-foto {
  position: absolute;
  bottom: 18px;
  left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  color: var(--cor-texto);
  white-space: nowrap;
}

.divider-comparativa {
  position: absolute;
  top: 0; bottom: 0;
  right: -1px;
  width: 4px;
  background: #fff;
  z-index: 1;
}

.label-antes-depois {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  background: var(--cor-primaria);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.card-body-proc {
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-ciencia {
  color: var(--cor-primaria);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.beneficios-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.beneficios-list div {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-weight: 500;
}

.beneficios-list .material-symbols-outlined { color: var(--cor-primaria); font-size: 20px; }

/* ======================
   CONTATO + REDES SOCIAIS
   Principle: Fitts' Law - botões grandes e acessíveis
   ====================== */
.contato-section {
  padding: 100px 0;
  background: #fff;
}

.card-contato {
  background: #fff;
  border-radius: var(--raio);
  padding: 40px;
  box-shadow: var(--sombra);
  border: 1px solid rgba(0,0,0,0.04);
  height: 100%;
}

.contato-icone-wrapper {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cor-primaria-suave);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contato-icone-wrapper .material-symbols-outlined { color: var(--cor-primaria); font-size: 24px; }

/* Botão Instagram */
.btn-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(220,39,67,0.25);
}

.btn-instagram:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(220,39,67,0.35);
}

/* Botão WhatsApp */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: #1eb855;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.4);
}

.btn-contato-icone {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Card do Instagram/WhatsApp */
.card-redes {
  background: linear-gradient(135deg, #eef4fb, #f8fbfe);
  border-radius: var(--raio);
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(152,180,212,0.2);
}

/* ======================
   MAPA & LOCALIZAÇÃO
   ====================== */
.mapa-container {
  border-radius: var(--raio);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--sombra);
  border: 1px solid rgba(0,0,0,0.06);
}

.mapa-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.btn-mapa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-mapa-primario {
  background: var(--cor-primaria);
  color: #fff;
  box-shadow: 0 8px 20px rgba(152,180,212,0.35);
}
.btn-mapa-primario:hover {
  background: var(--cor-primaria-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn-mapa-secundario {
  background: #f5f5f5;
  color: var(--cor-texto);
  border: 1px solid #e0e0e0;
}
.btn-mapa-secundario:hover {
  background: #ebebeb;
  color: var(--cor-texto);
  transform: translateY(-2px);
}

/* ======================
   FOOTER
   ====================== */
footer {
  background: #1a1a1a;
  color: #909090;
  padding: 70px 0 35px;
}

footer h5 {
  color: #fff;
  margin-bottom: 22px;
  font-size: 1.2rem;
}

footer a {
  color: #909090;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover { color: var(--cor-primaria); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.82rem;
}

/* ======================
   WHATSAPP FLUTUANTE
   ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 60px; right: 36px;
  background: #25D366;
  color: #fff;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(37,211,102,0.55);
}

/* ======================
   ACESSIBILIDADE
   ====================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ======================
   RESPONSIVO
   ====================== */
@media (max-width: 991px) {
  .hero-section { padding: 30px 0; }
  .hero-img-container { max-width: 100%; margin: 0 auto; width: 100%; }
  .hero-img-container img { height: 420px; object-position: center 20%; }
  
  .sobre-section { padding: 70px 0; }
  
  /* Grid vira coluna única centralizada */
  .foto-grid { 
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
  }
  .foto-principal, .foto-secundaria {
    width: 100%;
    max-width: 100%;  /* Nunca ultrapassa a tela */
    margin: 0 auto;
    height: auto;
    box-sizing: border-box;
  }
  
  .foto-principal { aspect-ratio: 3 / 4; grid-row: auto; }
  .foto-secundaria { aspect-ratio: 1 / 1; }

  .img-comparativa-wrapper { min-height: 300px; }
  .img-comparativa { background-position: center top; }
  .foto-principal img, .foto-secundaria img { object-position: center 20%; }
  .card-body-proc { padding: 36px 28px; }
  .beneficios-list { grid-template-columns: 1fr; }
  .card-redes { padding: 28px; }
  .card-contato { padding: 30px; }
  .mapa-container { height: 320px; }
}

@media (max-width: 575px) {
  .hero-img-container img { height: auto; aspect-ratio: 4 / 5; object-position: center 12%; }
  .btn-instagram, .btn-whatsapp { font-size: 0.9rem; padding: 15px 18px; }
  .card-body-proc { padding: 28px 20px; }
}
