/* -------------------------------------------------
   Reset & base
------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

:root {
  --black: #050505;
  --charcoal: #0e0d0c;
  --gold-light: #f3dfa3;
  --gold: #cda454;
  --gold-dark: #8a6a2b;
  --off-white: #f4f1ea;
  --cream: #f6f2e8;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Montserrat", sans-serif;
}

body {
  background: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section[id] {
  scroll-margin-top: 16px;
}

/* -------------------------------------------------
   Shared type helpers
------------------------------------------------- */
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--dark { color: var(--gold-dark); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--off-white);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  line-height: 1.25;
}

.section-title--dark { color: #1a1712; }
.section-title--light { color: var(--off-white); }

/* -------------------------------------------------
   Hero
------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--black);
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

/* ---------- text content ---------- */
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: max(28px, env(safe-area-inset-top)) 24px 0;
}

.hero__logo {
  width: 64px;
  height: auto;
  margin: 0 auto 20px;
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  color: var(--off-white);
  font-size: clamp(2.6rem, 11vw, 3.6rem);
  letter-spacing: 0.03em;
}

.hero__title span {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.4rem, 6.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 18px auto 0;
  max-width: 34ch;
  font-size: clamp(1.05rem, 4.2vw, 1.2rem);
  line-height: 1.5;
  color: rgba(244, 241, 234, 0.72);
}

/* ---------- CTA ---------- */
/* mobile: pushed after the stats/tags via order (desktop resets this) */
.hero__cta {
  position: relative;
  z-index: 4;
  order: 3;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.hero__cta .btn {
  max-width: 400px;
  padding: 19px 34px;
  font-size: 0.95rem;
}

/* ---------- credibility line ---------- */
.hero__credibility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 0;
}

.hero__credibility__pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(205, 164, 84, 0.09), rgba(205, 164, 84, 0.03));
  border: 1px solid rgba(205, 164, 84, 0.3);
}

.hero__credibility__icon {
  display: flex;
  flex: 0 0 auto;
  color: var(--gold);
}

.hero__credibility__icon svg {
  width: 20px;
  height: 20px;
}

.hero__credibility__text {
  margin: 0;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgba(244, 241, 234, 0.72);
}

.hero__credibility__text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- area tags ---------- */
/* mobile: moved right after the stats via order (desktop resets this) */
.hero__tags {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero__tags li {
  padding: 7px 16px;
  border: 1px solid rgba(244, 241, 234, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(244, 241, 234, 0.82);
  background: rgba(244, 241, 234, 0.04);
}

.btn--black {
  color: var(--gold-light);
  background: linear-gradient(180deg, #1a1a1a, var(--black));
  border: 1px solid rgba(205, 164, 84, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn--black:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* ---------- statue photo ---------- */
/* mobile: image fills the whole hero as a background, content sits on top */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* mobile only: slight dark mask over the statue for legibility, plus a
   short fade to black right at the bottom edge so the section boundary
   with .about (same black) doesn't read as a hard cut */
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.65) 0%,
    rgba(5, 5, 5, 0.65) 92%,
    var(--black) 100%
  );
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 340px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.btn--gold {
  color: #1a1204;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 8px 24px rgba(205, 164, 84, 0.35);
}

.btn--sm {
  width: auto;
  max-width: none;
  padding: 10px 20px;
  font-size: 0.75rem;
}

.btn--lg {
  max-width: 380px;
  padding: 18px 32px;
  font-size: 0.9rem;
}

.btn--ghost {
  color: #1a1204;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--ghost:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn--outline-dark {
  color: #1a1204;
  background: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(26, 23, 18, 0.18);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--outline-dark:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

/* -------------------------------------------------
   Mid-page CTA banner
------------------------------------------------- */
.cta-banner {
  margin-top: 44px;
  padding: 28px 24px;
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.cta-banner .btn {
  width: auto;
}

.cta-banner--light {
  background: #fff;
  border: 1px solid rgba(138, 106, 43, 0.22);
}

.cta-banner--light p { color: #1a1712; }

.cta-banner--dark {
  background: linear-gradient(180deg, rgba(205, 164, 84, 0.08), rgba(205, 164, 84, 0.02));
  border: 1px solid rgba(205, 164, 84, 0.25);
}

.cta-banner--dark p { color: var(--off-white); }

@media (min-width: 640px) {
  .cta-banner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 28px 36px;
  }
}

/* -------------------------------------------------
   Larger screens (hero)
------------------------------------------------- */
@media (min-width: 768px) {
  .hero__photo { min-height: 58vh; }
  .hero__photo img { height: 100%; }
  .btn { width: auto; }
}

@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 60px;
  }

  .hero__content {
    flex: 1 1 460px;
    max-width: 480px;
    text-align: left;
    padding: 0;
  }

  .hero__logo { margin: 0 0 20px; }

  .hero__subtitle { margin: 14px 0 0; }

  /* restore original order: cta, then tags */
  .hero__cta { order: 0; justify-content: flex-start; }

  .hero__tags { order: 0; justify-content: flex-start; margin-top: 28px; }

  .hero__credibility { margin-left: 0; justify-content: flex-start; }

  /* image sits free on the black background: no mask, no overlay text */
  .hero__photo {
    position: relative;
    inset: auto;
    z-index: 1;
    flex: 1 1 480px;
    align-self: stretch;
    min-height: 70vh;
  }

  /* no legibility mask on desktop, just a short fade to black at the very
     bottom so it doesn't cut hard into the (same black) section below */
  .hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 90%,
      var(--black) 100%
    );
    pointer-events: none;
  }

  .hero__photo img {
    inset: auto;
    top: auto;
    bottom: 0;
    left: auto;
    right: 15;
    width: 110%;
    height: 110%;
    max-width: none;
    object-fit: cover;
    object-position: bottom center;
  }
}

/* -------------------------------------------------
   Sobre a Dra. Fontanelli
------------------------------------------------- */
.about {
  background: var(--black);
  padding: 64px 0;
}

.about__inner {
  display: flex;
  flex-direction: column;
}

.about__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 60px;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--gold-light);
  text-align: center;
}

.about__eyebrow::before,
.about__eyebrow::after {
  content: "";
  flex: 1 1 auto;
  max-width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.about__eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.about__photo {
  position: relative;
  width: 100%;
  padding: 0;
  max-width: 320px;
  margin: 0 auto 36px;
}

/* flush at the bottom (0), still offset on the sides/top so the top edge
   sits underneath where the photo bleeds past the frame */
.about__photo::before {
  content: "";
  position: absolute;
  inset: -10px -10px 0 -10px;
  z-index: 0;
  border: 1px solid rgba(205, 164, 84, 0.4);
  border-radius: 4px;
}

/* the box only defines where the BOTTOM of the photo sits (flush).
   overflow stays visible so .about__photo-crop can bleed upward past
   the frame, covering the border's top line instead of a gap under it. */
.about__photo-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 1350 / 1350;
  overflow: visible;
}

/* taller than the frame on purpose (the extra height is the bleed above
   the top border); this is what actually crops the source image, so the
   bad lower edge of the photo stays hidden while the bottom still lines
   up flush with the frame */
.about__photo-crop {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 118%;
  overflow: hidden;
  border-radius: 4px;
}

.about__photo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center -65%;
  filter: grayscale(15%);
}

.about__content {
  text-align: center;
}

.about__role {
  margin: 6px 0 0;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: rgba(244, 241, 234, 0.6);
}

.about__bio {
  margin: 24px 0 0;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.72);
}

.about__credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(205, 164, 84, 0.22);
  list-style: none;
  text-align: left;
}

.about__credentials strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__credentials span {
  font-size: 0.92rem;
  color: rgba(244, 241, 234, 0.82);
}

.about__content .btn {
  margin-top: 28px;
}

@media (min-width: 1024px) {
  .about { padding: 100px 0; }

  /* photo spans both rows on the left; eyebrow sits above the content
     text in the right column, matching the mobile stacking order logic
     but keeping the eyebrow inline with the heading again */
  .about__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: 72px;
    align-items: center;
  }

  .about__eyebrow {
    display: block;
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-align: left;
  }

  .about__eyebrow::before,
  .about__eyebrow::after {
    display: none;
  }

  .about__photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    max-width: 360px;
    margin: 0;
  }

  .about__content {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
}

/* -------------------------------------------------
   Diferenciais
------------------------------------------------- */
.differentials {
  background: var(--cream);
  padding: 64px 0;
}

.differentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.diff-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid rgba(138, 106, 43, 0.18);
  border-radius: 14px;
  background: #fff;
}

.diff-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 16px;
  color: var(--gold-dark);
  background: linear-gradient(135deg, #fff6e0, #f1e2b8);
}

.diff-card__icon svg {
  width: 24px;
  height: 24px;
}

.diff-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1712;
}

.diff-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4a4436;
}

@media (min-width: 640px) {
  .differentials__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .differentials__grid { grid-template-columns: repeat(4, 1fr); }
  .differentials { padding: 90px 0; }
}

/* -------------------------------------------------
   Áreas de atuação
------------------------------------------------- */
.areas {
  background: var(--black);
  padding: 64px 0;
}

.areas__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.area-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(205, 164, 84, 0.22);
}

.area-card::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -15%;
  width: 90%;
  height: 90%;
  z-index: -1;
  mix-blend-mode: screen;
  background: radial-gradient(circle at top right, rgba(255, 238, 191, 0.4), rgba(243, 223, 163, 0.16) 40%, transparent 72%);
  filter: blur(16px);
  pointer-events: none;
}

.area-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.area-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--off-white);
}

.area-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.68);
}

.area-card__link {
  width: 100%;
  margin-top: auto;
}

@media (min-width: 640px) {
  .areas__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }
}

@media (min-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .areas { padding: 100px 0; }
}

/* -------------------------------------------------
   Equipe
------------------------------------------------- */
.team {
  background: var(--charcoal);
  padding: 64px 0;
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 380px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(205, 164, 84, 0.07), rgba(205, 164, 84, 0.02));
  border: 1px solid rgba(205, 164, 84, 0.22);
}

.team-card__photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(205, 164, 84, 0.12);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px dashed rgba(205, 164, 84, 0.55);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-light);
}

.team-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--off-white);
}

.team-card__role {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.team-card__area {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.62);
}

@media (min-width: 720px) {
  .team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
  }

  .team-card {
    flex: 0 1 calc((100% - 56px) / 3);
  }
}

@media (min-width: 1024px) {
  .team { padding: 100px 0; }
}

/* -------------------------------------------------
   CTA final / Contato
------------------------------------------------- */
.cta-final {
  position: relative;
  background: var(--black);
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(205, 164, 84, 0.18), transparent 70%);
  pointer-events: none;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}

.cta-final__title {
  margin: 0 auto 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--off-white);
}

.cta-final__subtitle {
  margin: 0 auto 32px;
  max-width: 44ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.72);
}

.cta-final .btn {
  margin: 0 auto;
}

.cta-final__info {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(244, 241, 234, 0.6);
}

@media (min-width: 640px) {
  .cta-final__info {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

/* -------------------------------------------------
   Footer
------------------------------------------------- */
.footer {
  background: #030303;
  padding: 40px 0 calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(205, 164, 84, 0.15);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--off-white);
}

.footer__brand em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.footer__mark {
  width: 26px;
  height: auto;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(244, 241, 234, 0.65);
  text-decoration: none;
}

.footer__links a:hover { color: var(--gold-light); }

.footer__copy {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(244, 241, 234, 0.4);
}

@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* -------------------------------------------------
   WhatsApp flutuante
------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 45;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
