/* ========== Fontes da marca ========== */
@font-face { font-family: "Cinzel"; src: url("assets/fonts/Cinzel.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Visby"; src: url("assets/fonts/VisbyLight.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Visby"; src: url("assets/fonts/VisbyRegular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Visby"; src: url("assets/fonts/VisbyMedium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Visby"; src: url("assets/fonts/VisbySemibold.otf") format("opentype"); font-weight: 600 700; font-display: swap; }

/* ========== Cores da marca ========== */
:root {
  --navy: #1F2D47;
  --navy-2: #2A3B5A;
  --blue: #8A9FB8;
  --blue-soft: #DCE3EC;
  --pink: #F4CBC8;
  --pink-soft: #FBEDEB;
  --rose: #B88A93;
  --wine: #6B1E30;
  --cream: #F7F3F0;
  --white: #FFFFFF;
  --text: #2B3448;
  --muted: #5E6A7E;

  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Visby", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(31, 45, 71, .35);
  --header-h: 76px;
}

/* ========== Base ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--navy); }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
}

/* ========== Botões ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9em 1.6em;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .02em;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: var(--pink-soft); }
.btn--small { padding: .55em 1.2em; font-size: .88rem; }

/* ========== Cabeçalho ========== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(31, 45, 71, .4); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__icon { width: auto; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.brand__sub { font-size: .78rem; color: var(--blue); letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .95rem; color: var(--text); position: relative; padding: .3em 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--rose); transition: width .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--navy); font-weight: 500; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--pink-soft) 100%);
  overflow: hidden;
}
.hero__deco {
  position: absolute; left: -60px; bottom: -80px; height: 520px; opacity: .1; pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 500; margin-bottom: .3em; }
.hero__specialty { font-size: 1.15rem; color: var(--blue); letter-spacing: .03em; margin-bottom: 1.4rem; }
.hero__lead { max-width: 34em; color: var(--muted); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero__place { display: flex; align-items: center; gap: .5rem; color: var(--navy); font-weight: 500; margin: 0; }
.hero__place svg { width: 20px; height: 20px; fill: none; stroke: var(--rose); stroke-width: 1.8; }

.photo-frame { position: relative; max-width: 380px; margin-left: auto; }
.photo-frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1.5px solid var(--blue); border-radius: 220px 220px var(--radius) var(--radius);
}
.photo-frame::after {
  content: ""; position: absolute; width: 130px; height: 130px; left: -34px; bottom: 40px;
  background: var(--pink); border-radius: 50%; opacity: .7; z-index: 0;
}
.photo-frame img {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: 220px 220px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* ========== Seções ========== */
.section { padding: 6rem 0; }
.section__head { margin-bottom: 3rem; }
.section__head--center { text-align: center; max-width: 680px; margin-inline: auto; }
.section__intro { color: var(--muted); }

/* Sobre */
.about__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: 3rem; align-items: start; }
.about__text p { color: var(--muted); }
.about__text strong { color: var(--navy); }

.highlights {
  list-style: none; padding: 0; margin: 4rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.highlight {
  background: var(--cream); border-radius: var(--radius); padding: 2rem;
  border-top: 3px solid var(--pink);
}
.highlight svg { width: 36px; height: 36px; fill: none; stroke: var(--navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.highlight h3 { font-size: 1.05rem; }
.highlight p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Currículo */
.cv { background: var(--white); }
.treatments { background: var(--cream); }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; background: var(--blue);
  opacity: .5;
}
.timeline__item { position: relative; padding: 0 0 2.8rem 2.8rem; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--rose);
}
.timeline__item:first-child::before { background: var(--rose); }
.timeline__date {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); background: var(--navy); padding: .25em .9em; border-radius: 999px; margin-bottom: .7rem;
}
.timeline__item h3 { font-size: 1.25rem; margin-bottom: .2em; }
.timeline__place { color: var(--rose); font-weight: 500; font-size: .95rem; margin-bottom: .7rem; }
.timeline__item > p:last-child { color: var(--muted); }
.timeline__list { padding-left: 1.1rem; margin: 0; color: var(--muted); }
.timeline__list li { margin-bottom: .6rem; }
.timeline__list li::marker { color: var(--rose); }

.accordion { max-width: 820px; margin: 1rem auto 0; display: grid; gap: .8rem; }
.accordion details {
  border: 1px solid var(--blue-soft);
  background: var(--white); border-radius: 14px; padding: 0 1.5rem;
  box-shadow: 0 6px 20px -16px rgba(31, 45, 71, .4);
}
.accordion summary {
  cursor: pointer; list-style: none; padding: 1.2rem 0;
  font-family: var(--serif); font-size: 1.05rem; color: var(--navy); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; color: var(--rose); transition: transform .3s;
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion ul { margin: 0 0 1.4rem; padding-left: 1.1rem; color: var(--muted); font-size: .95rem; }
.accordion li { margin-bottom: .7rem; }
.accordion li::marker { color: var(--rose); }

/* Tratamentos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--blue-soft);
  border-radius: var(--radius); padding: 2.2rem 2rem 2rem;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink); }
.card__num { font-family: var(--serif); font-size: 2.4rem; color: var(--pink); line-height: 1; margin-bottom: 1rem; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card__when {
  margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--blue-soft); font-size: .9rem !important;
}
.card--cta {
  background: var(--navy); border-color: var(--navy); color: var(--white); overflow: hidden; justify-content: center;
}
.card--cta h3 { color: var(--white); }
.card--cta p { color: rgba(255, 255, 255, .78); margin-bottom: 1.6rem; }
.card--cta .btn { align-self: flex-start; position: relative; }
.card__deco { position: absolute; right: -20px; bottom: -30px; height: 200px; opacity: .14; }

/* Localização */
.location { background: var(--pink-soft); padding: 4.5rem 0; }
.location__inner { display: flex; align-items: center; gap: 2.5rem; max-width: 820px; }
.location__icon {
  flex: none; width: 96px; height: 96px; border-radius: 50%; background: var(--white);
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.location__icon svg { width: 42px; height: 42px; fill: none; stroke: var(--navy); stroke-width: 1.5; }
.location h2 { margin-bottom: .3em; }
.location p:last-child { color: var(--muted); margin: 0; }

/* Contato */
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.contact__item {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem;
  padding: 2rem 1rem; border-radius: var(--radius); background: var(--cream); text-decoration: none;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.contact__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); }
.contact__item svg {
  width: 30px; height: 30px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: .6rem;
}
.contact__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); font-weight: 600; }
.contact__value { color: var(--navy); font-weight: 500; word-break: break-word; }

/* Rodapé */
.footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { width: auto; height: 60px; }
.footer__name { font-family: var(--serif); font-size: 1.3rem; color: var(--white); margin: 0; }
.footer__sub { color: var(--blue); margin: 0; }
.footer__info { text-align: right; }
.footer__info p { margin: 0 0 .2rem; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.2rem; padding-top: 1.2rem; font-size: .8rem; opacity: .7; }
.footer__bottom p { margin: 0; }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  transition: transform .25s;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* Animação ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ========== Responsivo ========== */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: .5rem 16px 1.5rem;
    box-shadow: 0 16px 30px -20px rgba(31, 45, 71, .4);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s, opacity .35s, visibility .35s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--blue-soft); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }

  .hero { padding: calc(var(--header-h) + 2rem) 0 4rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__photo { order: -1; }
  .photo-frame { margin: 0 auto; max-width: 300px; }
  .hero__text { text-align: center; }
  .hero__actions, .hero__place { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__deco { height: 360px; left: auto; right: -80px; top: 40px; bottom: auto; }

  .section { padding: 4.5rem 0; }
  .about__inner { grid-template-columns: 1fr; gap: 0; }
  .section__head { margin-bottom: 2rem; }
  .highlights { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .location__inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__info { text-align: center; }
  .footer__bottom { text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__item { flex-direction: row; text-align: left; padding: 1.2rem 1.4rem; gap: 1rem; }
  .contact__item svg { margin: 0; flex: none; }
  .contact__label { display: none; }
  .hero__actions .btn { width: 100%; }
  .brand__sub { display: none; }
  .timeline__item { padding-left: 2.2rem; }
  .photo-frame::before { inset: 14px -14px -14px 14px; }
}
