/* ==========================================================================
   Camila Campello Estética — estilos
   Mobile-first. Paleta inspirada no catálogo: bege/creme + dourado + marrom.
   ========================================================================== */

:root {
  --cor-fundo: #fbf8f3;
  --cor-fundo-alt: #f3ead9;
  --cor-texto: #4a3f35;
  --cor-texto-suave: #6b5d4f;
  --cor-dourado: #a9895f;
  --cor-dourado-escuro: #8a6d45;
  --cor-borda: #d9c9ab;
  --cor-branco: #ffffff;
  --fonte-titulo: "Cormorant Garamond", Georgia, serif;
  --fonte-corpo: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --sombra: 0 10px 30px rgba(74, 63, 53, 0.08);
  --raio: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  color: var(--cor-texto);
  background: var(--cor-fundo);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--cor-texto);
  margin: 0 0 .5em;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3.categoria-title { font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--cor-dourado-escuro); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

a { color: inherit; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  color: var(--cor-dourado-escuro);
  font-weight: 600;
  margin-bottom: .6em;
}

.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--cor-texto-suave); }
.lead-small { color: var(--cor-texto-suave); max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--cor-dourado-escuro);
  color: #fff;
}
.btn-primary:hover { background: #75592f; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--cor-dourado-escuro);
  color: var(--cor-dourado-escuro);
}
.btn-outline:hover { background: var(--cor-dourado-escuro); color: #fff; }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
.btn-nav {
  padding: .55em 1.3em;
  background: var(--cor-dourado-escuro);
  color: #fff !important;
  font-size: .85rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cor-borda);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  font-family: var(--fonte-titulo);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cor-texto);
  white-space: nowrap;
}
.brand span { color: var(--cor-dourado-escuro); }

.main-nav {
  display: none;
  align-items: center;
  gap: 26px;
}
.main-nav a:not(.btn-nav) {
  text-decoration: none;
  font-size: .92rem;
  color: var(--cor-texto);
}
.main-nav a:not(.btn-nav):hover { color: var(--cor-dourado-escuro); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cor-texto);
  border-radius: 2px;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
}

.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cor-fundo);
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 20px 24px;
  gap: 16px;
  border-bottom: 1px solid var(--cor-borda);
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 60px; }
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.hero-photo img {
  border-radius: 50%;
  width: min(280px, 70vw);
  height: min(280px, 70vw);
  object-fit: cover;
  border: 4px solid var(--cor-branco);
  box-shadow: var(--sombra);
  margin: 0 auto;
}
.hero-text { text-align: center; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 1.5em;
}

@media (min-width: 780px) {
  .hero-inner { flex-direction: row; text-align: left; }
  .hero-text { text-align: left; }
  .hero-ctas { justify-content: flex-start; }
  .hero-photo img { width: 320px; height: 320px; margin: 0; }
}

/* ---------- Sections genéricas ---------- */
.section { padding: 60px 0; }
.section:nth-of-type(odd) { background: var(--cor-fundo-alt); }

/* ---------- Sobre ---------- */
.sobre-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.sobre-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sobre-photos img {
  border-radius: var(--raio);
  object-fit: cover;
  height: 100%;
  box-shadow: var(--sombra);
}
.credenciais {
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.credenciais li {
  padding-left: 1.6em;
  position: relative;
  color: var(--cor-texto-suave);
  font-size: .95rem;
}
.credenciais li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--cor-dourado);
}

@media (min-width: 860px) {
  .sobre-inner { flex-direction: row; align-items: flex-start; }
  .sobre-text, .sobre-photos { flex: 1; }
}

/* ---------- Consultório ---------- */
.consultorio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.consultorio-grid img {
  border-radius: var(--raio);
  height: 260px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--sombra);
}
@media (min-width: 700px) {
  .consultorio-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Procedimentos ---------- */
.categoria { margin-top: 48px; }
.categoria-title {
  border-bottom: 2px solid var(--cor-borda);
  padding-bottom: .4em;
  margin-bottom: 24px;
}
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 620px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--cor-branco);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.card img { height: 200px; width: 100%; object-fit: cover; }
.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body p { color: var(--cor-texto-suave); font-size: .93rem; flex: 1; }
.card-body .btn { align-self: flex-start; }

/* ---------- Avaliações ---------- */
.avaliacoes-placeholder { margin-top: 28px; }
.rating-summary {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.review-card { padding: 24px; }
.review-stars { color: #f5b301; letter-spacing: 2px; margin: 0 0 8px; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--cor-texto-suave); }
.review-author { font-weight: 600; margin: 0; }
.avaliacoes-placeholder > .btn { display: block; width: fit-content; margin: 8px auto 0; }

/* ---------- Contato ---------- */
.contato-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.nap { margin: 1.6em 0; }
.nap dt {
  font-weight: 600;
  color: var(--cor-dourado-escuro);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 1em;
}
.nap dd { margin: .2em 0 0; }
.contato-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 1.4em 0;
}
.crf-footer { font-size: .85rem; color: var(--cor-texto-suave); }
.contato-mapa iframe {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}

@media (min-width: 900px) {
  .contato-inner { flex-direction: row; }
  .contato-info, .contato-mapa { flex: 1; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cor-texto);
  color: #ece4d8;
  padding: 40px 0 28px;
  font-size: .9rem;
}
.footer-inner { text-align: center; }
.footer-inner p { margin: 0 0 .5em; }
.brand-footer {
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
  color: #fff;
}
.footer-inner a { color: #f0dfc0; text-decoration: none; }
.footer-inner p.footer-links { font-size: .8rem; opacity: .85; max-width: 640px; margin: 1em auto; }
.footer-crf { opacity: .8; font-size: .82rem; }
.copy { opacity: .6; font-size: .78rem; margin-top: 1.2em; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .82rem;
  color: var(--cor-texto-suave);
  padding: 14px 0;
  margin: 0;
}
.breadcrumb a { color: var(--cor-dourado-escuro); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Página de procedimento (landing interna) ---------- */
.page-hero {
  padding: 20px 0 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.page-hero img {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: 50% 30%;
}
.page-hero .eyebrow { margin-bottom: .3em; }

@media (min-width: 860px) {
  .page-hero { flex-direction: row; align-items: center; }
  .page-hero-text, .page-hero img { flex: 1; }
  .page-hero img { height: 340px; }
}

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin-top: 1.6em; }
.article-content h2:first-child { margin-top: 0; }
.article-content ul { padding-left: 1.3em; color: var(--cor-texto-suave); }
.article-content li { margin-bottom: .4em; }

/* Subseção de procedimento dentro de página com vários itens */
.proc-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 2.2em 0;
  padding-top: 1.6em;
  border-top: 1px solid var(--cor-borda);
}
.proc-section:first-of-type { border-top: none; padding-top: 0; }
.proc-section img {
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.proc-section h2 { margin-top: 0; }
@media (min-width: 700px) {
  .proc-section { flex-direction: row; align-items: flex-start; }
  .proc-section img { width: 260px; height: 180px; flex-shrink: 0; }
}

.cta-banner {
  background: var(--cor-fundo-alt);
  border-radius: var(--raio);
  padding: 32px 28px;
  text-align: center;
  margin: 2.4em 0;
}
.cta-banner h3 { margin-bottom: .5em; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--cor-branco);
  border: 1px solid var(--cor-borda);
  border-radius: 10px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.3rem;
  color: var(--cor-dourado-escuro);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--cor-texto-suave); padding-bottom: 14px; margin: 0; }

/* Links cruzados entre pilares */
.cross-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 760px;
  margin: 2em auto 0;
}
@media (min-width: 700px) {
  .cross-links { grid-template-columns: repeat(3, 1fr); }
}
.cross-links a {
  display: block;
  background: var(--cor-branco);
  border: 1px solid var(--cor-borda);
  border-radius: 10px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
  color: var(--cor-texto);
  transition: border-color .15s ease, transform .15s ease;
}
.cross-links a:hover { border-color: var(--cor-dourado-escuro); transform: translateY(-2px); }

.categoria-cta { margin-top: 4px; }
.categoria-cta a { font-size: .9rem; color: var(--cor-dourado-escuro); text-decoration: none; font-weight: 500; }
.categoria-cta a:hover { text-decoration: underline; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
