:root {
  --paper: #f1e9dc;
  --paper-light: #fbf8f1;
  --paper-soft: #f6f0e6;
  --paper-deep: #e8dece;
  --olive: #3f4a31;
  --olive-dark: #303a25;
  --olive-mid: #687052;
  --gold: #ad8749;
  --ink: #34372e;
  --muted: #777568;
  --line: rgba(63, 74, 49, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper-light); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 14px; background: white; color: var(--olive); }
.skip-link:focus { left: 10px; }
[hidden] { display: none !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 241, .94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(63,74,49,.10); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 250px; }
.brand-logo { width: 86px; height: 42px; object-fit: contain; mix-blend-mode: multiply; }
.brand-name { max-width: 185px; color: var(--olive); font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.05; }
.main-nav { display: flex; align-items: center; gap: 30px; color: #666858; font-size: 12px; letter-spacing: .035em; }
.main-nav a { transition: color .2s ease, background .2s ease; }
.main-nav a:hover { color: var(--olive-dark); }
.main-nav .nav-cta { padding: 10px 17px; border: 1px solid rgba(63,74,49,.36); color: var(--olive); }
.main-nav .nav-cta:hover { background: var(--olive); color: #fffdf7; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 24px; height: 1px; margin: 6px; display: block; background: var(--olive); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: 69px 0 30px; }
.hero::before { content: ""; position: absolute; width: 470px; height: 470px; right: -220px; top: -250px; border: 1px solid rgba(104,112,82,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(104,112,82,.025), 0 0 0 58px rgba(104,112,82,.02); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .84fr; align-items: center; gap: 84px; }
.hero-copy { max-width: 625px; padding: 10px 0 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--olive-mid); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.45; }
.eyebrow-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--olive); font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { max-width: 660px; margin: 23px 0 18px; font-size: clamp(54px, 6.2vw, 78px); line-height: .98; }
h1 em, h2 em { color: var(--olive-mid); font-weight: 400; }
.hero-lead { max-width: 500px; margin: 0 0 27px; color: #69685d; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 19px; border: 1px solid transparent; border-radius: 2px; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .025em; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--olive); border-color: var(--olive); color: #fffdf7; }
.button-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.button-secondary { background: rgba(255,255,255,.22); border-color: rgba(63,74,49,.28); color: var(--olive); }
.button-secondary:hover { background: rgba(255,255,255,.56); }
.whatsapp-icon { font-size: 14px; line-height: 1; }
.hero-note { margin: 14px 0 0; color: #898475; font-size: 10px; letter-spacing: .06em; }
.hero-visual { position: relative; width: min(100%, 405px); justify-self: end; padding: 0 20px 25px 0; }
.portrait-frame { overflow: hidden; position: relative; z-index: 1; aspect-ratio: .79; background: #ddd5c8; border-radius: 2px; box-shadow: 0 18px 42px rgba(47,51,34,.12); }
.portrait-frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.50); pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.portrait-caption { position: absolute; z-index: 2; left: -54px; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 11px 15px; background: var(--paper-light); color: var(--olive-mid); font-family: var(--serif); font-size: 16px; box-shadow: 0 6px 20px rgba(48,52,34,.07); }
.caption-rule { width: 23px; height: 1px; background: var(--gold); }
.portrait-stamp { position: absolute; z-index: 2; right: -1px; top: 31px; display: grid; place-items: center; width: 67px; height: 67px; border: 1px solid rgba(173,135,73,.58); background: rgba(241,233,220,.95); color: var(--olive); border-radius: 50%; font-family: var(--serif); font-size: 25px; letter-spacing: -.08em; }
.credentials-strip { position: relative; display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 49px; padding-top: 20px; border-top: 1px solid rgba(63,74,49,.14); }
.credentials-strip div { display: flex; align-items: baseline; gap: 9px; }
.credentials-strip strong { color: var(--olive); font-family: var(--serif); font-size: 19px; font-weight: 500; }
.credentials-strip span { color: #858071; font-size: 10px; letter-spacing: .025em; }
.credentials-strip i { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: var(--gold); }

/* Sections */
.section-pad { padding: 99px 0; }
.about { background: var(--paper-light); }
.about-grid { display: grid; grid-template-columns: .78fr 1.12fr .72fr; gap: 42px; align-items: center; }
.section-heading h2, .center-heading h2, .tele-copy h2, .contact-copy h2 { margin: 17px 0 0; font-size: clamp(43px, 5vw, 61px); line-height: 1.02; }
.section-heading h2 { max-width: 430px; }
.about-text { max-width: 600px; color: #706e62; font-size: 13px; line-height: 1.9; }
.about-photo { width: 100%; max-width: 278px; margin: 0; justify-self: end; }
.about-photo-frame { position: relative; width: 100%; aspect-ratio: 3 / 4; }
.about-photo-frame::after { content: ""; position: absolute; z-index: 0; top: 12px; left: 12px; right: 0; bottom: 0; border: 1px solid rgba(173,135,73,.48); pointer-events: none; }
.about-photo img { position: absolute; z-index: 1; top: 0; left: 0; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; object-position: center 31%; }
.about-photo figcaption { margin-top: 12px; color: #898475; font-size: 9px; line-height: 1.6; letter-spacing: .015em; }
.about-text .intro { margin-bottom: 17px; color: #424737; font-family: var(--serif); font-size: 24px; line-height: 1.35; }
.credential-line { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.credential-line div { display: flex; flex-direction: column; gap: 3px; }
.credential-line strong { color: var(--olive); font-family: var(--serif); font-size: 23px; font-weight: 500; }
.credential-line span { color: #817d70; font-size: 10px; letter-spacing: .035em; }
/* Marca d’água botânica: monograma RRF suave, integrado ao fundo da seção. */
.approach {
  background-color: #eee6d9;
  background-image: url("assets/monstera-watermark.png");
  background-repeat: no-repeat;
  background-position: right -62px bottom -72px;
  background-size: 320px auto;
}
.center-heading { max-width: 680px; margin: 0 auto 43px; text-align: center; }
.center-heading h2 { margin-bottom: 14px; }
.center-heading p { max-width: 590px; margin: 0 auto; color: #777365; font-size: 13px; line-height: 1.8; }
.approach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.approach-card { position: relative; min-height: 245px; padding: 29px 27px; background: rgba(251,248,241,.76); border: 1px solid rgba(63,74,49,.09); }
.card-number { position: absolute; top: 21px; right: 23px; color: rgba(63,74,49,.36); font-family: var(--serif); font-size: 18px; }
.card-accent { display: block; width: 31px; height: 1px; margin: 13px 0 22px; background: var(--gold); }
.approach-card h3 { margin: 0 0 9px; color: var(--olive); font-family: var(--serif); font-size: 28px; font-weight: 500; }
.approach-card p { margin: 0; color: #777365; font-size: 12px; line-height: 1.8; }
/* Modalidades de atendimento */
.attendance { background: var(--paper-light); }
.attendance-heading { margin-bottom: 38px; }
.attendance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 970px; margin: 0 auto; }
.attendance-card { position: relative; min-height: 275px; padding: 34px 36px 31px; border: 1px solid rgba(63,74,49,.13); background: #f7f2e9; }
.attendance-presential { background: #eee6d9; }
.attendance-kicker { display: inline-block; margin-bottom: 15px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.attendance-card h3 { margin: 0 0 12px; color: var(--olive); font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.05; }
.attendance-card p { max-width: 520px; margin: 0 0 21px; color: #777365; font-size: 12px; line-height: 1.85; }
.attendance-link { display: inline-flex; align-items: center; gap: 9px; color: var(--olive); border-bottom: 1px solid rgba(63,74,49,.36); padding-bottom: 3px; font-size: 11px; font-weight: 600; }
.attendance-note { max-width: 970px; margin: 18px auto 0; color: #898475; font-size: 10px; line-height: 1.65; }
.reviews { background: #eee6d9; padding-top: 58px; padding-bottom: 58px; }
.reviews-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 38px; border: 1px solid rgba(63,74,49,.11); background: rgba(251,248,241,.56); }
.reviews-copy h2 { margin: 10px 0 8px; color: var(--olive); font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 400; line-height: 1.05; letter-spacing: -.03em; }
.reviews-copy h2 em { color: var(--olive-mid); font-weight: 400; }
.reviews-copy p { max-width: 570px; margin: 0; color: #777365; font-size: 12px; line-height: 1.8; }
.reviews-button { flex: 0 0 auto; }
.telemedicine { background: var(--paper-light); }
.tele-grid { display: grid; grid-template-columns: .94fr 1fr; align-items: center; gap: 76px; }
.tele-copy h2 { max-width: 450px; margin-bottom: 17px; }
.tele-copy > p { max-width: 490px; color: #777365; font-size: 13px; line-height: 1.85; }
.tele-cta { margin-top: 10px; }
.tele-steps-panel { padding: 31px 34px; background: var(--paper); border: 1px solid rgba(63,74,49,.09); }
.tele-steps-panel h3 { margin-bottom: 20px; color: var(--olive); font-family: var(--serif); font-size: 27px; font-weight: 500; }
.steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 29px 1fr; gap: 13px; align-items: start; }
.steps li > span { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid rgba(63,74,49,.24); color: var(--olive); border-radius: 50%; font-family: var(--serif); font-size: 15px; }
.steps strong { display: block; margin-bottom: 3px; color: var(--olive); font-size: 12px; font-weight: 600; }
.steps small { display: block; color: #7b786b; font-size: 11px; line-height: 1.65; }

/* Contact and footer */
.contact { padding-top: 68px; padding-bottom: 68px; background: #eee6d9; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 22px 55px; align-items: center; padding: 39px 44px; background: #e6dccb; border: 1px solid rgba(63,74,49,.10); }
.contact-copy h2 { margin: 11px 0 10px; font-size: clamp(39px, 4.7vw, 55px); }
.contact-copy > p { max-width: 550px; margin: 0; color: #777365; font-size: 12px; line-height: 1.8; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.button-large { min-height: 51px; padding-inline: 23px; }
.doctoralia-link { color: var(--olive); font-size: 11px; border-bottom: 1px solid rgba(63,74,49,.32); padding-bottom: 2px; }
.contact-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid rgba(63,74,49,.13); color: #898475; font-size: 10px; line-height: 1.6; }
.site-footer { padding: 31px 0 18px; background: #e9e0d2; color: var(--olive); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; gap: 25px; align-items: center; padding-bottom: 23px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; color: var(--olive); font-family: var(--serif); font-size: 15px; }
.footer-logo { display: block; width: 145px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.footer-identity { display: flex; flex-direction: column; gap: 3px; color: #777365; font-size: 10px; }
.footer-identity strong { color: var(--olive); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 17px; color: #777365; font-size: 10px; }
.footer-links a:hover { color: var(--olive-dark); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; padding-top: 15px; border-top: 1px solid rgba(63,74,49,.13); color: #898575; font-size: 9px; }

/* Privacy page */
.privacy-page { min-height: 70vh; padding: 78px 0 100px; background: var(--paper-light); }
.privacy-page .content { max-width: 780px; }
.privacy-page h1 { font-size: clamp(42px, 6vw, 64px); }
.privacy-page p, .privacy-page li { color: #716e62; font-size: 13px; line-height: 1.85; }
.privacy-page h2 { margin-top: 31px; font-size: 30px; }

@media (max-width: 900px) {
  .hero-grid { gap: 48px; grid-template-columns: 1fr .82fr; }
  h1 { font-size: clamp(48px, 6.4vw, 65px); }
  .about-grid { grid-template-columns: .78fr 1.22fr; gap: 35px 42px; }
  .about-photo { grid-column: 2; width: min(100%, 290px); justify-self: start; }
  .tele-grid { gap: 45px; }
  .contact-inner { padding: 32px; gap: 20px 28px; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 38px, var(--max)); }
  .nav-wrap { min-height: 70px; }
  .brand { min-width: 0; gap: 8px; }
  .brand-logo { width: 65px; height: 34px; }
  .brand-name { max-width: 123px; font-size: 15px; }
  .menu-toggle { display: block; cursor: pointer; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 19px 18px; background: rgba(251,248,241,.98); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(63,74,49,.08); }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; border: 1px solid rgba(63,74,49,.28); }
  .hero { padding: 44px 0 22px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 31px; }
  .hero-copy { padding: 0; }
  h1 { margin: 19px 0 15px; font-size: clamp(46px, 12.3vw, 62px); }
  .hero-lead { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { justify-self: auto; width: min(82%, 350px); align-self: center; padding: 0 13px 24px 0; }
  .portrait-caption { left: -15px; bottom: 0; padding: 9px 11px; font-size: 13px; }
  .portrait-stamp { width: 58px; height: 58px; right: -6px; top: 24px; font-size: 22px; }
  .credentials-strip { display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 32px; padding-top: 17px; }
  .credentials-strip div { justify-content: space-between; gap: 12px; }
  .credentials-strip strong { font-size: 18px; }
  .credentials-strip span { text-align: right; font-size: 9px; }
  .credentials-strip i { display: none; }
  .section-pad { padding: 69px 0; }
  .about-grid, .tele-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { grid-column: 1; width: min(100%, 340px); justify-self: center; margin-top: 4px; }
  .section-heading h2, .center-heading h2, .tele-copy h2 { font-size: 47px; }
  .about-text .intro { font-size: 22px; }
  .credential-line { gap: 13px; }
  .credential-line strong { font-size: 19px; }
  .center-heading { margin-bottom: 30px; }
  .approach { background-position: right -105px bottom -55px; background-size: 280px auto; }
  .approach-cards { grid-template-columns: 1fr; gap: 11px; }
  .approach-card { min-height: 0; padding: 25px 23px; }
  .approach-card h3 { font-size: 26px; }
  .attendance-grid { grid-template-columns: 1fr; gap: 12px; }
  .attendance-card { min-height: 0; padding: 27px 24px; }
  .attendance-card h3 { font-size: 30px; }
  .reviews { padding: 43px 0; }
  .reviews-inner { display: block; padding: 26px 23px; }
  .reviews-button { width: 100%; margin-top: 20px; }
  .tele-grid { gap: 31px; }
  .tele-steps-panel { padding: 25px 22px; }
  .contact { padding: 52px 0; }
  .contact-inner { display: block; padding: 29px 23px; }
  .contact-copy h2 { font-size: 45px; }
  .contact-actions { align-items: stretch; margin-top: 22px; }
  .contact-actions .button { width: 100%; }
  .contact-note { margin-top: 20px; padding-top: 14px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 19px 14px; }
  .footer-logo { width: 126px; }
  .footer-links { grid-column: 1 / -1; justify-content: flex-start; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
