/* ==========================================================================
   Odonto Zurah — abertura (hero) conforme o prompt base
   ========================================================================== */
:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, .90);
  --color-white-75: rgba(255, 255, 255, .75);
  --color-white-40: rgba(255, 255, 255, .40);
  --color-white-20: rgba(255, 255, 255, .20);
  --color-dark: #0f172a;
  --color-dark-muted: #475569;
  --color-primary-blue: #2563eb;
  --color-primary-hover: #1d4ed8;
  --shadow-btn: 0 10px 25px -3px rgba(0, 0, 0, .3), 0 4px 6px -4px rgba(0, 0, 0, .2);
  --shadow-btn-hover: 0 16px 32px -4px rgba(0, 0, 0, .4), 0 0 20px rgba(255, 255, 255, .25);
  --shadow-modal: 0 25px 50px -12px rgba(0, 0, 0, .6);
  --transition-smooth: all .35s cubic-bezier(.16, 1, .3, 1);
}

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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
  background: #0b131e;
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button { font-family: inherit; border: none; background: none; }

/* ---------- Hero shell ---------- */
.hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("https://res.cloudinary.com/dalwymbky/image/upload/v1791909596/hero_ddqmqp.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 38%;
  transform: scale(1.02);
  transition: transform .8s ease-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .35) 80%),
    linear-gradient(180deg, rgba(8, 16, 26, .25) 0%, transparent 40%, rgba(6, 14, 24, .55) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem clamp(1.5rem, 4vw, 5rem) 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

/* ---------- Headline around the focal square ---------- */
:root { --square-gap: clamp(1.8rem, 2.6vw, 3.2rem); }

.hero-headline-group {
  position: absolute;
  top: 46.5%;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
  z-index: 10;
  pointer-events: none;
}

.hero-text {
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(2.1rem, 3.8vw, 4rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--color-white);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.hero-text .text-sans { font-family: var(--font-sans); font-weight: 500; margin-right: .25em; }
.hero-text .text-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: .01em; }

.hero-text-left {
  right: calc(100% - 40.2% + var(--square-gap));
  text-align: right;
  animation: heroFadeIn 1s cubic-bezier(.16, 1, .3, 1) .15s both;
}

.hero-text-right {
  left: calc(63.8% + var(--square-gap));
  text-align: left;
  animation: heroFadeIn 1s cubic-bezier(.16, 1, .3, 1) .25s both;
}

.hero-focal-spacer { display: none; }

@keyframes heroFadeIn {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- Bottom actions ---------- */
.hero-actions-container {
  position: relative;
  z-index: 15;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: auto;
  margin-bottom: .25rem;
  padding-bottom: .5rem;
  animation: heroFadeIn 1.2s cubic-bezier(.16, 1, .3, 1) .4s both;
}

.btn-appointment {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .85rem 1.75rem;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: 9999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: var(--shadow-btn);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-appointment::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn-appointment:hover::before { left: 150%; }
.btn-appointment:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-btn-hover); color: #000; }
.btn-appointment:active { transform: translateY(0) scale(.99); }

.btn-icon { display: inline-flex; color: var(--color-primary-blue); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.btn-icon svg { width: 1.15rem; height: 1.15rem; display: block; }
.btn-appointment:hover .btn-icon { transform: rotate(-6deg) scale(1.1); }
.btn-label { position: relative; }

.hero-divider {
  width: 1px;
  height: 24px;
  margin: .95rem 0 .85rem;
  background: linear-gradient(180deg, var(--color-white-75), var(--color-white-20));
}

.hero-description {
  max-width: 530px;
  padding: 0 1rem;
  font-size: clamp(.85rem, 1.05vw, .95rem);
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-white-90);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .hero-focal-spacer { width: clamp(320px, 32vw, 420px); }
}

@media (max-width: 960px) {
  .hero-bg { background-position: center 44%; }

  .hero-content {
    padding: 2.25rem 1.25rem 1.5rem;
    justify-content: space-between;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-headline-group {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    text-align: center;
    margin-bottom: auto;
    padding: .5rem .5rem 0;
  }

  .hero-text {
    position: static;
    transform: none;
    font-size: clamp(1.75rem, 5.8vw, 2.35rem);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    justify-content: center;
    margin: 0;
  }

  .hero-actions-container { margin-top: auto; }
}

@media (max-width: 480px) {
  .hero-content { padding: 1.75rem 1rem 1.25rem; }
  .hero-headline-group { gap: .25rem; }
  .hero-text { font-size: clamp(1.5rem, 6.8vw, 1.95rem); }
  .btn-appointment { padding: .75rem 1.4rem; font-size: .88rem; }
  .hero-divider { height: 18px; margin: .65rem 0 .55rem; }
  .hero-description { font-size: .8rem; line-height: 1.5; padding: 0 .5rem; }
}

/* ==========================================================================
   Acréscimos pedidos: antes e depois (cores) e bloco da Dra. Zurah
   ========================================================================== */
.ba-section {
  --badge-bg: #2563eb;
  --badge-text: #ffffff;
  --text-title: #ffffff;
  --pill-bg: rgba(11, 19, 30, .7);
  --pill-text: #ffffff;
  --divider-color: rgba(255, 255, 255, .95);
  --handle-bg: #ffffff;
  --handle-color: #0f172a;
  --handle-shadow: 0 4px 16px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .06);
  --card-radius: 22px;
  --card-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #12314a 0%, #0b131e 70%);
  color: #ffffff;
}
.ba-section .ba-subtitle { color: rgba(255, 255, 255, .78); font-weight: 400; max-width: 640px; }
.ba-section .ba-title { font-weight: 500; }
.ba-section .ba-title .ba-line { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; }
.ba-section .ba-card { background-color: #101c2b; }
/* As fotos do consultório são horizontais (2:1): um caso em destaque e dois lado a lado */
.ba-section .ba-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.ba-section .ba-card--large { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 1030 / 518; width: 100%; max-width: 900px; margin: 0 auto; }
.ba-section .ba-card--top, .ba-section .ba-card--bottom { grid-column: auto; grid-row: auto; aspect-ratio: 1080 / 500; }
@media (max-width: 960px) {
  .ba-section .ba-grid { grid-template-columns: 1fr; }
}

.about {
  padding: clamp(56px, 8vw, 104px) 24px;
  background: linear-gradient(180deg, #0b131e 0%, #0e2233 100%);
}
.about__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}
.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .12);
}
.about__photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 20%; }
.about__kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 9999px;
  background: #2563eb;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.about__title { margin-top: 18px; font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.about__title em { font-family: var(--font-serif); font-weight: 400; font-size: 1.12em; }
.about__text { margin-top: 16px; max-width: 520px; color: rgba(255, 255, 255, .82); font-size: 1rem; font-weight: 300; line-height: 1.7; }
.about__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; list-style: none; }
.about__chips li {
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 9999px;
  background: rgba(255, 255, 255, .06);
  font-size: .82rem;
  font-weight: 500;
}
.about__info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 28px; font-style: normal; }
.about__info div { padding: 16px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; background: rgba(255, 255, 255, .04); }
.about__info span { display: block; margin-bottom: 6px; color: #7fb0ff; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about__info p, .about__info a { color: #fff; font-size: .92rem; line-height: 1.45; text-decoration: none; }
.about__info a:hover { text-decoration: underline; }

.site-footer { padding: 26px 24px 30px; border-top: 1px solid rgba(255, 255, 255, .08); background: #080e17; text-align: center; }
.site-footer p { color: rgba(255, 255, 255, .6); font-size: .8rem; line-height: 1.6; }
.site-footer .site-footer__aviso { margin-top: 10px; color: rgba(255, 255, 255, .38); font-size: .7rem; }

@media (max-width: 860px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { width: 100%; max-width: 340px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .about__info { grid-template-columns: 1fr; }
}
