/* ===== Identidade visual Dr. Fillipe Agra =====
   Verde profundo #00231F · Creme #FCEAD3 · Montserrat */
:root {
  --green: #00231F;
  --green-2: #0B342E;
  --green-3: #164A42;
  --cream: #FCEAD3;
  --cream-2: #F6DFC2;
  --paper: #FFFAF3;
  --ink: #00231F;
  --muted: #4B5F5B;
  --line: rgba(0, 35, 31, .14);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(0, 35, 31, .45);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto evita que imagens com width/height no HTML fiquem distorcidas */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.kicker, .eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--green-3);
  margin-bottom: 1rem;
}
.kicker--light { color: var(--cream); opacity: .8; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.8em;
  border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--green); color: var(--cream); box-shadow: var(--shadow); }
.btn--dark:hover { background: var(--green-3); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--green); }
.btn--cream:hover { background: #fff; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.header__logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: .85rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--green-3); text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { padding: .8em 1.4em; }
.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--green); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero { position: relative; padding: 70px 0 90px; background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%); overflow: hidden; }
.hero__watermark { position: absolute; right: -6%; top: -4%; width: 560px; opacity: .06; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
.hero__badges { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .9rem; font-weight: 500; }
.hero__badges .icon { color: var(--green-3); font-size: .6em; vertical-align: middle; margin-right: 6px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__photo { position: relative; justify-self: center; }
.arch {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5.2;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  background: var(--green);
  border: 10px solid var(--green);
  box-shadow: 0 40px 80px -40px rgba(0, 35, 31, .7);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; border-radius: 999px 999px 16px 16px; }
.hero__seal {
  position: absolute; left: -36px; bottom: 48px;
  background: var(--cream); border: 1px solid var(--line);
  padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.3;
}
.hero__seal strong { font-size: 1.2rem; font-weight: 600; }
.hero__seal span { font-size: .75rem; color: var(--muted); }

/* ===== Strip ===== */
.strip { background: var(--green); color: var(--cream); padding: 34px 0; }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.strip strong { display: block; font-size: 1.7rem; font-weight: 500; }
.strip span { font-size: .8rem; opacity: .75; }

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green); color: var(--cream); }
.section--dark p { color: rgba(252, 234, 211, .82); }
.texture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .05; pointer-events: none; z-index: 0; }

/* Identificação */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.pain { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.pain:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain__n { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--cream); background: var(--green); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.pain p { margin: 0; font-weight: 500; }

/* Sobre */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.about__arch {
  background: var(--cream); color: var(--green);
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px; box-shadow: 0 30px 60px -30px #000; text-align: center;
}
.about__arch img { width: 45%; margin-bottom: 32px; }
.section--dark .about__arch p { color: var(--green); margin: 0; font-size: .95rem; }
.about__arch strong { display: block; font-size: 2.2rem; font-weight: 500; }
.sub-title { margin: 80px 0 28px; font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.creds li { border: 1px solid rgba(252, 234, 211, .2); border-radius: 14px; padding: 20px 22px; font-size: .92rem; }
.creds span { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }

/* Tabs */
.tabs { margin-top: 40px; }
.tabs__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; background: var(--paper); padding: 8px; border-radius: 999px; width: fit-content; margin: 0 auto 40px; border: 1px solid var(--line); }
.tabs__list button {
  font-family: inherit; font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  border: 0; background: transparent; color: var(--green); padding: .8em 1.6em; border-radius: 999px; cursor: pointer; transition: .2s;
}
.tabs__list button[aria-selected="true"] { background: var(--green); color: var(--cream); }
.tabs__panel { animation: fade .45s ease; }
.tabs__panel h3 { text-align: center; font-size: 1.5rem; margin-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 30px; border-top: 4px solid var(--green); }
.step h4 { font-size: 1.05rem; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Tratamentos */
.treat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.treat { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; background: #fff; transition: .25s; }
.treat:hover { background: var(--green); color: var(--cream); transform: translateY(-4px); }
.treat:hover p { color: rgba(252, 234, 211, .8); }
.treat:hover img { filter: invert(91%) sepia(10%) saturate(600%) hue-rotate(330deg); }
.treat img { width: 36px; margin-bottom: 20px; transition: .25s; }
.treat p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Procedimentos */
.proc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.proc { background: var(--paper); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.proc p { color: var(--muted); }
.proc--dark { background: var(--green); color: var(--cream); }
.proc--dark p { color: rgba(252, 234, 211, .82); }
.proc .checks { margin-bottom: 0; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; text-decoration: none; display: flex; flex-direction: column; transition: .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post img { aspect-ratio: 1200 / 630; object-fit: cover; width: 100%; background: var(--cream); }
.post div { padding: 22px 24px; }
.post time { font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.post h3 { font-size: 1.05rem; margin: 8px 0 0; }

/* CTA band */
.cta-band { background: var(--green-2); color: var(--cream); padding: 90px 0; position: relative; overflow: hidden; }
.cta-band p { opacity: .85; margin-bottom: 2rem; }

/* Locais */
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.places .place { padding: 30px 26px; }
.places .place h3 { font-size: 1.1rem; }
.place--wide { margin-top: 20px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.place--wide .btn { margin-top: 0; }

/* Widget de avaliações do Google */
.reviews { margin: 40px auto 48px; }
.reviews__fallback { text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); padding: 36px 24px; background: var(--cream); }
.reviews__fallback p { color: var(--muted); }
.place { background: var(--paper); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; align-items: flex-start; }
.place--dark { background: var(--green); color: var(--cream); }
.place--dark p { color: rgba(252, 234, 211, .82); }
.place .btn { margin-top: auto; }
.tag { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; margin-bottom: 18px; }
.map { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-bottom: 24px; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* Avaliações / Instagram */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__card { background: var(--cream); border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden; }
.split__card--dark { background: var(--green); color: var(--cream); }
.split__card--dark p { color: rgba(252, 234, 211, .82); }
.split__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.split__badge { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .12; }

/* FAQ */
.faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 500; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--green-3); font-weight: 600; margin-right: 10px; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 300; transition: .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Agendamento */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks--light li { color: rgba(252, 234, 211, .9); }
.muted a { color: var(--cream); font-weight: 600; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 40px; box-shadow: 0 40px 80px -40px #000; }
.form h3 { font-size: 1.4rem; margin-bottom: .2em; }
.form__hint { color: var(--muted) !important; font-size: .9rem; }
.form label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 14px 16px; font: inherit; font-weight: 400; font-size: .95rem;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green-3); outline-offset: 1px; }
.form .invalid { border-color: #b3261e; }
.form__privacy { font-size: .75rem; color: var(--muted) !important; text-align: center; margin: 14px 0 0; }

/* Footer */
.footer { background: #001A17; color: var(--cream); padding: 70px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__logo { width: 220px; height: auto; margin-bottom: 20px; }
.footer p { opacity: .7; font-size: .9rem; }
.footer__crm { font-size: .8rem !important; letter-spacing: .06em; }
.footer h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; margin-bottom: 18px; }
.footer a { display: block; text-decoration: none; opacity: .75; font-size: .9rem; margin-bottom: 10px; }
.footer a:hover { opacity: 1; }
.footer__legal { border-top: 1px solid rgba(252, 234, 211, .15); margin-top: 50px; padding-top: 26px; }
.footer__legal p { font-size: .75rem; opacity: .55; }

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

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s 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: 1100px) {
  .nav { gap: 18px; }
  .nav a { font-size: .8rem; }
}
@media (max-width: 1024px) {
  .places { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .treat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .nav__cta { margin-top: 16px; border: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 70px; }
  .hero__watermark { width: 300px; right: -90px; top: auto; bottom: -40px; opacity: .05; }
  .hero__grid, .about, .booking, .split, .proc-grid, .posts, .place--wide { grid-template-columns: 1fr; gap: 40px; }
  .place--wide { gap: 8px; }
  .hero__photo { order: -1; }
  .arch { width: min(320px, 80vw); }
  .hero__seal { left: -10px; bottom: 24px; }
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .about__img { max-width: 420px; margin: 0 auto; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .cards-4, .creds, .treat-grid, .places { grid-template-columns: 1fr; }
  .header__logo img { height: 42px; }
  .tabs__list { border-radius: 18px; width: 100%; }
  .tabs__list button { flex: 1 1 45%; padding: .8em .6em; }
  .split__card, .place, .form, .proc { padding: 28px 22px; }
  .hero__ctas .btn { width: 100%; }
}
