:root {
  --azul: #0b2044;
  --azul-escuro: #081323;
  --dourado: #d9b168;
  --bg: #f6f6f8;
  --texto: #1b1f2b;
  --muted: #6f7583;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--texto);
  scroll-behavior: smooth;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* NAVBAR */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  display: flex;
  align-items: center;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(8, 19, 37, 0.9), rgba(8, 19, 37, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 90vw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f5f5f5;
  font-weight: 800;
  font-size: 15px;
}

.brand img {
  height: 42px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.nav-links a {
  color: #f5f5f5;
  opacity: 0.88;
  font-weight: 600;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 177, 104, 0.8);
  color: var(--dourado);
  font-weight: 700;
}

/* BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--dourado);
  color: #1b1f2b;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -20px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f5f5;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn.full {
  width: 100%;
}

/* HERO */

.hero {
  position: relative;
  min-height: 96vh;
  padding-top: 72px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, #23395e, var(--azul-escuro));
  color: #ffffff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: url("/mnt/data/4b3e7d5c-419c-4ff7-927c-6367886cbd16.png");
  background-repeat: no-repeat;
  background-position: 70% center;
  background-size: 480px auto;
  opacity: 0.14;
  filter: blur(1px);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(217, 177, 104, 0.35), transparent 70%);
  top: -80px;
  right: -120px;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 {
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 1.08;
  margin: 14px 0 12px;
  font-weight: 800;
}

.hero-text p {
  font-size: 16px;
  max-width: 48ch;
  color: rgba(245, 245, 245, 0.9);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 19, 37, 0.7);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dourado);
}

.grad {
  background: linear-gradient(90deg, #f8e2b5, var(--dourado));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(235, 235, 235, 0.88);
}

/* HERO CARD LATERAL */

.hero-card {
  max-width: 420px;
  margin-left: auto;
  position: relative;   /* NECESSÁRIO pro .hero-card-inner (absolute) */
  justify-self: end;    /* empurra para a direita no grid */
}
.hero-face {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
}
.hero-text {
  max-width: 620px;
}

.hero-card-inner {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 19, 37, 0.96);
  border: 1px solid rgba(217, 177, 104, 0.4);
  color: rgba(245, 245, 245, 0.96);
  box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.85);
}

.hero-card-title {
  margin: 0 0 4px;
  font-weight: 700;
}

.hero-card-text {
  margin: 0;
  font-size: 13px;
  color: rgba(230, 230, 230, 0.9);
}

/* SEÇÕES GERAIS */

.section {
  padding: 90px 0;
  position: relative;
}

.section-soft {
  background: #f0f2f7;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 10px;
  color: var(--azul-escuro);
  font-weight: 800;
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* CARDS / GRIDS */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.22);
  border: 1px solid #e4e7f0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -26px rgba(0, 0, 0, 0.32);
  border-color: rgba(217, 177, 104, 0.6);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(217, 177, 104, 0.9), rgba(11, 32, 68, 0.98));
  color: #fff;
  margin-bottom: 12px;
}

/* SOBRE MIM */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.about-text p {
  color: var(--muted);
  font-size: 16px;
}

.about-text p + p {
  margin-top: 8px;
}

.about-highlight {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-photo img {
  border-radius: 26px;
  box-shadow: 0 20px 42px -28px rgba(0, 0, 0, 0.6);
  object-fit: cover;
}

.about-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 22px 22px 18px;
  border: 1px solid #e4e7f0;
  box-shadow: 0 14px 34px -24px rgba(0, 0, 0, 0.25);
}

.about-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.about-card li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.about-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--dourado);
}

/* ENVELHECER SAUDÁVEL */

.aging-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.aging-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #dde2f0;
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.2);
}

.aging-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--azul-escuro);
}

/* PROCEDIMENTOS */

/* ===============================
   POPUP PROCEDIMENTOS – ANIMADO
=============================== */

.procedimentos-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 3000;
}

.procedimentos-popup.open {
  pointer-events: auto;
}

/* FUNDO ESCURO COM FADE */
.procedimentos-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.procedimentos-popup.open .procedimentos-backdrop {
  opacity: 1;
}

/* CAIXA PRINCIPAL */
.procedimentos-box {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #0b2044, #08162f);
  color: #fff;
  width: min(520px, 92vw);
  border-radius: 26px;
  padding: 28px 26px 32px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.95);

  /* ANIMAÇÃO */
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(.16,.84,.44,1);
}

.procedimentos-popup.open .procedimentos-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* TÍTULO */
.procedimentos-box h3 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.3px;
}

/* LISTA */
.procedimentos-lista {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.procedimentos-lista li {
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 15px;
  opacity: 0.95;
}

.procedimentos-lista li:last-child {
  border-bottom: none;
}

/* BOTÃO FECHAR */
.procedimentos-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 34px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.procedimentos-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* MAPA */

.map-wrapper iframe {
  width: 100%;
  height: 360px;
  border-radius: 20px;
  border: 0;
  box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.35);
}

/* FORMULÁRIO */

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid #e4e7f0;
  box-shadow: 0 16px 40px -26px rgba(0, 0, 0, 0.28);
}

.form-row {
  margin-bottom: 16px;
}

.form-row.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--azul-escuro);
  margin-bottom: 4px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d4d8e4;
  font-family: inherit;
  font-size: 14px;
  color: var(--texto);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
textarea:focus {
  border-color: var(--dourado);
  box-shadow: 0 0 0 1px rgba(217, 177, 104, 0.4);
}

/* GALERIA MODAL */

.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.gallery-modal.open {
  display: flex;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.gallery-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90vw;
  background: #050910;
  border-radius: 22px;
  padding: 18px 18px 14px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

#galleryMain {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.7;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.gallery-thumbs img.active {
  opacity: 1;
  border-color: var(--dourado);
}

.gallery-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-nav.prev {
  left: 8px;
}

.gallery-nav.next {
  right: 8px;
}

/* FOOTER */

.footer {
  background: #050910;
  color: #dde2ef;
  padding-top: 40px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-brand img {
  height: 48px;
  border-radius: 999px;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #a4acc1;
  font-size: 14px;
}

.footer-contact p {
  margin: 2px 0;
  font-size: 14px;
  color: #c6cce0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0 18px;
  text-align: center;
  font-size: 12px;
  color: #969fbc;
}

/* REVEAL ANIMATION */

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* RESPONSIVO */

@media (max-width: 820px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin: 28px auto 0;
    justify-self: center;
  }
}


@media (max-width: 720px) {
  .nav-links {
    display: none; /* nav simplificada no mobile */
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background-position: center bottom;
    background-size: 360px auto;
  }

  .section {
    padding: 70px 0;
  }

  .cards-grid,
  .aging-grid,
  .procedimentos-grid {
    grid-template-columns: 1fr;
  }

  .form-row.two {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

/* POPUP OVERLAY */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Abrir popup */
.popup-overlay.open {
  display: flex;
}

/* Conteúdo do popup */
.popup-content {
  position: relative;
  max-width: 550px;
  width: 90%;
  background: #0b1c36;
  border-radius: 12px;
  padding: 20px 20px 30px;
  box-shadow: 0 0 30px rgba(0,0,0,.6);
}

/* Foto */
.popup-image {
  width: 100%;
  max-height: 70vh;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

/* Botão fechar */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 36px;
  color: white;
  cursor: pointer;
}

/* Setas de navegação */
.popup-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: .2s;
}

.popup-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.popup-arrow.left {
  left: -50px;
}

.popup-arrow.right {
  right: -50px;
}

@media(max-width: 650px) {
  .popup-arrow.left { left: -30px; }
  .popup-arrow.right { right: -30px; }
}
/* SEÇÃO SOBRE MIM */
.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}


.procedimentos-destaque {
  font-size: 18px;
  font-weight: 700;
  color: var(--dourado);
  margin-top: 10px;
  display: inline-block;
}



}
