@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/cormorant-italico.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

/* Fontes reserva com medidas ajustadas: enquanto Cormorant e Inter carregam, o texto ocupa quase o mesmo espaço e não "pula". */
@font-face { font-family: "Cormorant Reserva"; src: local("Times New Roman"), local("Liberation Serif"); size-adjust: 95.65%; ascent-override: 96.6%; descent-override: 30%; line-gap-override: 0%; }
@font-face { font-family: "Cormorant Reserva"; font-style: italic; src: local("Times New Roman Italic"), local("TimesNewRomanPS-ItalicMT"), local("Liberation Serif Italic"); size-adjust: 87.95%; ascent-override: 105.06%; descent-override: 32.63%; line-gap-override: 0%; }
@font-face { font-family: "Inter Reserva"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"); size-adjust: 109.38%; ascent-override: 88.57%; descent-override: 22.05%; line-gap-override: 0%; }

:root {
  color-scheme: light;
  --bordeaux: #5a1f2d;
  --plum: #4b2e4f;
  --aubergine: #61405f;
  --paper: #f6f1ee;
  --taupe: #b6a79e;
  --graphite: #26232a;
  --muted: #665b58;
  --whatsapp-height: 50px;
  --whatsapp-offset: clamp(.9rem, 1.6vw, 1.5rem);
  --whatsapp-green: #183a2d;
  --whatsapp-green-hover: #10291f;
  --serif: "Cormorant Garamond", "Cormorant Reserva", "Palatino Linotype", Georgia, serif;
  --sans: Inter, "Inter Reserva", "Segoe UI", sans-serif;
}

/* Editorial additions use the site's existing palette, type and fine rules. */
.situation-section, .commitments, .faq-section { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
.situation-section h2, .commitments h2, .faq-section h2, .profile-research h2 { font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.05; color: var(--bordeaux); margin-bottom: 1.8rem; }
.situation-grid, .commitment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.situation-link, .commitment-grid article { padding: 1.5rem 0; border-top: 1px solid var(--taupe); }
.situation-link { display: block; text-decoration: none; }
.situation-link h3, .commitment-grid h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--bordeaux); line-height: 1.15; margin-bottom: .6rem; }
.situation-link p, .commitment-grid p { max-width: 52ch; color: var(--muted); }
.situation-link span { display: inline-block; margin-top: 1rem; font-size: .875rem; text-decoration: underline; text-underline-offset: .25em; }
.situation-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.commitments { border-top: 1px solid var(--taupe); }
.faq-section { border-top: 1px solid var(--taupe); }
.faq-list { max-width: 900px; }
.faq-list details { border-bottom: 1px solid var(--taupe); padding-block: 1.2rem; }
.faq-list summary { cursor: pointer; font-weight: 500; color: var(--bordeaux); padding-right: 1rem; }
.faq-list details p { max-width: 75ch; padding-top: 1rem; color: var(--muted); }
.contact-reassurance { border-left: 2px solid var(--bordeaux); padding-left: 1rem; margin-block: 1.5rem; font-size: .95rem; }
.editorial-cta { display: inline-block; border: 1px solid var(--bordeaux); padding: .75rem 1rem; color: var(--bordeaux); }
.author-signature { max-width: 760px; margin: 2.5rem auto; border-top: 1px solid var(--taupe); padding-top: 1.5rem; color: var(--muted); font-size: .875rem; }
.author-signature p + p { margin-top: .5rem; }
.profile-research { padding-block: 2rem; max-width: 760px; }
.profile-research p + p { margin-top: 1rem; }
.editorial-source { font-size: .875rem; color: var(--muted); }
.subpage .situation-section { padding-block: 1.5rem 2.5rem; }
@media (max-width: 620px) {
  .situation-grid, .commitment-grid { grid-template-columns: 1fr; }
  .editorial-cta { width: 100%; text-align: center; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--whatsapp-height) + var(--whatsapp-offset) + env(safe-area-inset-bottom, 0px));
}
body { display: flex; min-height: 100vh; flex-direction: column; margin: 0; background: var(--paper); color: var(--graphite); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; }
p, figure { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(90%, 1360px); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset: 1rem auto auto 1rem; padding: .65rem 1rem; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.header { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--taupe); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--bordeaux); }
.brand img { flex: none; object-fit: cover; mix-blend-mode: multiply; }
.brand > span { font: 600 1.95rem/.8 var(--serif); letter-spacing: -.035em; white-space: nowrap; }
.brand small { display: block; margin-top: .4rem; font: 600 .55rem/1 var(--sans); letter-spacing: .23em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.5vw, 3.25rem); }
.nav a, .back-top { font-size: .81rem; font-weight: 500; text-decoration: none; }
.nav a { white-space: nowrap; }
.nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav .nav-contact { border: 1px solid var(--bordeaux); padding: .62rem .9rem; color: var(--bordeaux); }
.nav-contact span, .back-top span { margin-left: .45rem; }
.menu { display: none; }

.opening { padding-top: 1.5rem; }
.folio { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; color: var(--muted); font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.folio-line { flex: 1; height: 1px; background: var(--taupe); opacity: .6; }
.hero { display: grid; grid-template-columns: 1.14fr 1fr; margin-block: .85rem; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: clamp(460px, 43vw, 640px); padding: clamp(2.75rem, 5.3vw, 6rem); background: var(--bordeaux); color: var(--paper); }
.hero-copy::after { position: absolute; inset: 13px; border: 1px solid rgb(246 241 238 / .25); pointer-events: none; content: ""; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #e1ccc6; font-size: .65rem; font-weight: 600; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow span { width: 1.5rem; height: 1px; background: currentColor; }
h1 { margin-top: 1.7rem; font-size: clamp(3.4rem, 6.1vw, 6.4rem); line-height: .93; letter-spacing: -.037em; }
h1 em { color: #e7c9c5; }
.hero-text { max-width: 32ch; margin-top: 1.65rem; color: #f0e1df; font-size: .96rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 1.35rem; margin-top: 2rem; padding-bottom: .4rem; border-bottom: 1px solid #d2b6b4; font-size: .78rem; font-weight: 600; text-decoration: none; }
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover span { transform: translate(3px, 3px); }
.hero-photo { position: relative; min-height: 0; background: var(--taupe); overflow: hidden; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-caption { letter-spacing: .09em; }
.hero-caption a { text-decoration: none; }
.hero-caption a:hover { text-decoration: underline; text-underline-offset: .25em; }

.intro, .contact, .testimonials { display: grid; grid-template-columns: minmax(11rem, .73fr) minmax(0, 1.65fr); gap: 1.5rem; padding-block: clamp(2.5rem, 4.5vw, 4.25rem); }
.section-index { display: flex; align-items: center; gap: .85rem; align-self: start; padding-top: .75rem; color: var(--bordeaux); font-size: .69rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.section-index span { border-bottom: 1px solid currentColor; padding-bottom: .05rem; }
h2 { color: var(--bordeaux); font-size: clamp(2.6rem, 5.45vw, 5.7rem); line-height: .98; letter-spacing: -.035em; }
h2 em { color: var(--aubergine); }
.intro h2 + p, .intro p + p, .contact h2 + p { max-width: 58ch; margin-top: 1.4rem; color: var(--muted); }
.practice { padding-top: clamp(2.5rem, 4.5vw, 4.25rem); }
.practice .section-index { margin-bottom: 1.5rem; padding-top: 0; }
.practice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(1.6rem, 4vw, 3.5rem); }
.practice-area { border-top: 1px solid var(--taupe); padding-top: 1.5rem; }
.practice-area h3 { color: var(--bordeaux); font-size: clamp(2.05rem, 3.3vw, 3.25rem); line-height: 1; }
.practice-area > p { max-width: 45ch; margin-top: .8rem; color: var(--muted); }
.practice-area a { color: var(--bordeaux); font-size: .85rem; font-weight: 600; }
.practice-area a:hover { color: var(--aubergine); }
.practice-topics { margin: 1.55rem 0 0; }
.practice-topics > div { padding: .95rem 0; border-top: 1px solid rgb(182 167 158 / .6); }
.practice-topics dt { font-size: .9rem; font-weight: 600; }
.practice-topics dd { max-width: 53ch; margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.practice-topics dd + dd { margin-top: .55rem; }
.intro { grid-template-areas: "index bio" "portrait bio"; grid-template-rows: auto 1fr; margin-top: clamp(1rem, 2.5vw, 2.25rem); border-top: 1px solid var(--taupe); }
.intro .section-index { grid-area: index; }
.profile-portrait { grid-area: portrait; align-self: start; width: min(100%, 17.5rem); padding: .5rem; border: 1px solid var(--taupe); }
.profile-portrait img { width: 100%; height: auto; }
.profile-copy { grid-area: bio; align-self: center; }
.profile-links, .contact-links { display: flex; flex-wrap: wrap; gap: .65rem 1.75rem; margin-top: 1.25rem; }
.profile-links a, .contact-links a { padding-block: .25rem; color: var(--bordeaux); font-size: .85rem; font-weight: 600; text-underline-offset: .3em; }
.approach { background: var(--plum); color: var(--paper); }
.approach-inner { padding-block: clamp(2.75rem, 5vw, 4.75rem); }
.approach .section-index { padding-top: 0; margin-bottom: 1.55rem; color: #e2cacc; }
.approach h2 { color: var(--paper); }
.approach h2 em { color: #e2cacc; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.75rem; border-top: 1px solid rgb(246 241 238 / .34); }
.steps article { padding: 1.65rem clamp(1rem, 3vw, 3rem) 0; }
.steps article:first-child { padding-left: 0; }
.steps article + article { border-left: 1px solid rgb(246 241 238 / .34); }
.step-number { color: #e2cacc; font-size: .72rem; letter-spacing: .15em; }
.steps h3 { margin-top: .5rem; font-size: 2.3rem; line-height: 1; }
.steps p { max-width: 34ch; margin-top: .65rem; color: #eadfea; font-size: .9rem; }

.testimonials { padding-block: clamp(2.25rem, 4vw, 3.75rem); border-bottom: 1px solid var(--taupe); }
.testimonials > div { max-width: 44rem; }
.testimonials h2 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); }
.testimonial-controls { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: .85rem; }
.testimonial-count { margin-right: .45rem; color: var(--muted); font-size: .77rem; }
.testimonial-controls button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--taupe); border-radius: 50%; background: transparent; color: var(--bordeaux); font: inherit; cursor: pointer; }
.testimonial-controls button:hover { background: var(--bordeaux); color: var(--paper); }
.testimonial-slides { display: grid; gap: .75rem; margin-top: .65rem; }
[data-carousel-ready] .testimonial { grid-area: 1 / 1; }
.testimonial[aria-hidden="true"] { visibility: hidden; }
.testimonial { display: flex; flex-direction: column; justify-content: center; padding: clamp(1rem, 2.4vw, 1.85rem); border-top: 1px solid var(--bordeaux); border-bottom: 1px solid var(--taupe); background: #f0e9e4; }
.testimonial blockquote { margin: 0; color: var(--graphite); font: 500 clamp(1.18rem, 1.65vw, 1.45rem)/1.32 var(--serif); }
.testimonial figcaption { margin-top: .85rem; color: var(--bordeaux); font-size: .78rem; font-weight: 600; letter-spacing: .06em; }

.office-address { margin-top: 1.1rem; color: var(--muted); font-style: normal; }
.office-address strong { color: var(--graphite); font-weight: 600; }
.contact-form { display: grid; gap: 1.15rem; width: 100%; max-width: 640px; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid rgb(90 31 45 / .18); border-top: 2px solid var(--bordeaux); background: rgb(255 255 255 / .55); }
.form-field { display: grid; gap: .35rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field > label, .form-field legend { color: var(--graphite); font-size: .9rem; font-weight: 600; }
.form-required, .form-optional { color: var(--muted); font-size: .78rem; font-weight: 400; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form input[type="email"] { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid var(--taupe); border-radius: 0; background: #fff; color: var(--graphite); font: 1rem/1.3 var(--sans); }
.contact-form input::placeholder { color: #9a8e89; }
.contact-form input:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 1px; border-color: var(--bordeaux); }
.contact-form input:user-invalid { border-color: #9b2c2c; }
.form-choices { gap: .1rem; }
.form-choices legend { margin-bottom: .35rem; padding: 0; }
.form-choices label { display: flex; align-items: center; gap: .6rem; min-height: 40px; color: var(--graphite); font-size: .95rem; cursor: pointer; }
.form-choices input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--bordeaux); }
.form-submit { justify-self: start; min-height: 48px; padding: .85rem 1.4rem; border: 0; background: var(--bordeaux); color: var(--paper); font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.form-submit:hover, .form-submit:focus-visible { background: var(--plum); }
.form-submit:focus-visible { outline-color: var(--bordeaux); }
.form-submit:disabled { opacity: .7; cursor: progress; }
.form-status:empty { display: none; }
.form-status { color: var(--bordeaux); font-size: .9rem; font-weight: 600; }
.form-note { color: var(--muted); font-size: .8rem; }
.form-note a { color: var(--bordeaux); }
@media (max-width: 620px) {
  .form-submit { justify-self: stretch; }
  /* No celular, a página de agendamento mostra o formulário logo na primeira tela:
     abertura mais baixa e o texto explicativo depois dos campos. */
  .booking-page .subpage-masthead { padding: 1.6rem 1.5rem; }
  .booking-page .subpage-masthead h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .booking-page .subpage-masthead > p:last-child { margin-top: .6rem; font-size: .92rem; }
  .booking-page .booking-form { gap: .9rem; margin-top: 1.5rem; }
  .booking-page .booking-form .subpage-copy { display: contents; }
  .booking-page .booking-form .section-index { order: 1; }
  .booking-page .booking-form h2 { order: 2; margin-top: 0; }
  .booking-page .booking-form .contact-form { order: 3; }
  .booking-page .booking-form .subpage-copy > p:not(.section-index) { order: 4; margin-top: 0; }
  .booking-page .booking-form .profile-links { order: 5; margin-top: 0; }
}
.profile-links:has(.booking-link) { align-items: center; }
.profile-links .booking-link { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem .85rem; background: var(--bordeaux); color: var(--paper); text-decoration: none; }
.profile-links .booking-link:hover { background: var(--plum); }
.booking-link:focus-visible { outline-color: var(--bordeaux); }
.booking-form { scroll-margin-top: 1rem; }
.booking-info { padding-top: clamp(1.5rem, 4vw, 3rem); border-top: 1px solid var(--taupe); }
.booking-form h2 { margin-top: 1rem; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.contact-links a span { margin-left: .3rem; }
.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-block: 1.35rem;
  border-top: 1px solid var(--taupe);
  color: var(--bordeaux);
}
.footer-identity p { margin-top: .7rem; color: var(--muted); font-size: .75rem; }
.back-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 44px;
}

.whatsapp-float {
  position: fixed;
  z-index: 3;
  right: calc(var(--whatsapp-offset) + env(safe-area-inset-right, 0px));
  bottom: calc(var(--whatsapp-offset) + env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: var(--whatsapp-height);
  padding: .55rem .8rem;
  border: 1px solid var(--whatsapp-green);
  border-radius: .25rem;
  background: var(--whatsapp-green);
  color: var(--paper);
  box-shadow: 0 3px 10px rgb(38 35 42 / .22);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.whatsapp-float svg { flex: none; width: 20px; height: 20px; }
.whatsapp-float:hover { border-color: var(--whatsapp-green-hover); background: var(--whatsapp-green-hover); color: var(--paper); }
.whatsapp-float:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--paper);
}

.subpage { padding-block: clamp(1.25rem, 3vw, 3rem) clamp(3rem, 5.5vw, 5rem); }
.subpage-masthead { position: relative; padding: clamp(1.8rem, 5vw, 4.75rem); background: var(--bordeaux); color: var(--paper); }
.subpage-masthead::after { position: absolute; inset: 12px; border: 1px solid rgb(246 241 238 / .25); pointer-events: none; content: ""; }
.subpage-masthead h1 { max-width: 24ch; margin-top: .8rem; font-size: clamp(2.75rem, 6.1vw, 6rem); line-height: .97; text-wrap: balance; }
.subpage-masthead > p:last-child { margin-top: 1.1rem; color: #f0e1df; }
.subpage-section { display: grid; grid-template-columns: minmax(9rem, .73fr) minmax(0, 1.65fr); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3.75rem); }
.subpage-copy { max-width: 64rem; }
.subpage-copy h3 { margin-top: 1.65rem; color: var(--bordeaux); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.subpage-copy p:not(.section-index) { max-width: 65ch; margin-top: .8rem; color: var(--muted); }
.profile-page { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 4.5vw, 4.5rem) clamp(0rem, 4vw, 4rem); }
.profile-page-intro h1 { margin-top: .8rem; color: var(--bordeaux); font-size: clamp(3.25rem, 7.8vw, 7rem); line-height: .87; }
.profile-page-intro h1 em { display: block; color: var(--aubergine); }
.profile-registration { margin-top: 1.5rem; color: var(--bordeaux); font-size: .73rem; font-weight: 600; letter-spacing: .12em; }
.profile-summary { max-width: 47ch; margin-top: 1rem; color: var(--muted); }
.profile-page-photo { width: min(100%, 21rem); justify-self: center; padding: .5rem; border: 1px solid var(--taupe); box-shadow: .5rem .5rem 0 var(--plum); }
.profile-page-photo img { width: 100%; height: auto; }
.profile-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); padding-top: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--taupe); }
.profile-details h2 { margin-top: .8rem; font-size: clamp(2.6rem, 4.5vw, 4.75rem); }
.profile-details dl { margin: 1.3rem 0 0; }
.profile-details dl > div { padding-block: .9rem; border-top: 1px solid rgb(182 167 158 / .6); }
.profile-details dt { font-weight: 600; }
.profile-details dd { margin: .2rem 0 0; color: var(--muted); font-size: .9rem; }
.publication-list { margin: 2rem 0 0; padding: 0; list-style: none; }
.publication-list li { padding-block: 1.35rem; border-top: 1px solid var(--taupe); }
.publication-list .section-index { padding-top: 0; }
.publication-list h3 { margin-top: .5rem; line-height: 1.1; }
.publication-list a:hover, .article-reading a:hover { color: var(--aubergine); }
.article-masthead h1 { max-width: 31ch; font-size: clamp(2.15rem, 5.3vw, 5rem); line-height: 1.04; }
.masthead-actions { position: relative; z-index: 1; margin-top: clamp(1.1rem, 2.5vw, 1.6rem); }
.article-byline { font-size: .86rem; }
.article-reading { max-width: 65ch; margin: clamp(2.25rem, 5vw, 4.5rem) auto 0; line-height: 1.72; overflow-wrap: anywhere; }
.article-reading h2 { margin-top: 2.15rem; font-size: clamp(1.8rem, 3.2vw, 2.8rem); line-height: 1.12; text-wrap: balance; }
.article-reading h3 { line-height: 1.18; }
.article-reading ul, .article-reading ol { padding-inline-start: 1.35em; }
.article-reading li + li { margin-top: .3em; }
.article-reading a { color: var(--bordeaux); }
.article-reading .guidance-box { margin-block: 2.4rem; padding: clamp(1.15rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.75rem); background: #efe6e1; border-left: 4px solid var(--bordeaux); }
.article-reading .guidance-box h2 { margin-top: 0; }
.article-reading .guidance-box > :last-child { margin-bottom: 0; }
.article-back { display: inline-block; margin-bottom: 1.1rem; color: var(--bordeaux); font-size: .85rem; text-underline-offset: .22em; }

@media (min-width: 621px) {
  @supports (grid-template-rows: subgrid) {
    .practice-grid, .profile-details { row-gap: 0; }
    .practice-area, .practice-topics, .profile-details > section, .profile-details dl { display: grid; grid-template-rows: subgrid; }
    .practice-area { grid-row: span 7; }
    .practice-topics { grid-row: span 4; }
    .profile-details > section { grid-row: span 6; }
    .profile-details dl { grid-row: span 4; }
  }
}

@media (max-width: 800px) {
  .nav { gap: 1.1rem; }
  .hero { grid-template-columns: 1fr .8fr; }
  .hero-copy { min-height: 420px; padding-inline: 2.4rem; }
  h1 { font-size: clamp(2.9rem, 7.4vw, 4.5rem); }
}

@media (max-width: 850px) {
  .header { position: relative; flex-wrap: wrap; min-height: 70px; gap: .75rem; padding-block: .85rem; }
  .menu { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--bordeaux); padding: .48rem .72rem; background: transparent; color: var(--bordeaux); font: 500 .85rem/1.2 var(--sans); cursor: pointer; }
  .menu span { font-size: 1.1rem; line-height: 1; }
  .menu[aria-expanded="true"] span { transform: rotate(45deg); }
  .menu[aria-expanded="false"]:not([hidden]) + .nav { display: none; }
  .nav { flex: 1 0 100%; flex-wrap: wrap; gap: .3rem 1.15rem; padding-top: .45rem; }
  .nav a { display: inline-flex; align-items: center; min-height: 40px; }
  .nav .nav-contact { padding: .38rem .55rem; }
}

@media (max-width: 620px) {
  .footer { grid-template-columns: 1fr; justify-items: center; gap: .3rem; padding-block: 1.2rem; }
  .footer-identity { text-align: center; }
  .footer-identity .brand { text-align: left; }
  :root { --whatsapp-height: 56px; }
  .whatsapp-float { width: var(--whatsapp-height); justify-content: center; gap: 0; padding: 0; border-radius: 50%; font-size: 0; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .opening { padding-top: 1rem; }
  .folio { gap: .5rem; font-size: .55rem; letter-spacing: .06em; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 360px; padding: 2.7rem 1.95rem; }
  .hero-copy::after { inset: 9px; }
  h1 { margin-top: 1.2rem; font-size: clamp(2.9rem, 11vw, 4.6rem); }
  .hero-text { margin-top: 1.2rem; }
  .link-arrow { margin-top: 1.45rem; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .subpage-masthead::after { inset: 9px; }
  .practice-grid { grid-template-columns: 1fr; gap: 1.85rem; }
  .intro, .contact, .testimonials { grid-template-columns: 1fr; gap: 1rem; }
  .profile-page, .profile-details, .subpage-section { grid-template-columns: 1fr; }
  .profile-page { padding-inline: 0; }
  .profile-page-photo { width: min(85%, 15.5rem); }
  .intro { grid-template-areas: "index" "portrait" "bio"; grid-template-rows: auto; gap: 1.5rem; }
  .section-index { padding-top: 0; }
  .steps { grid-template-columns: 1fr; margin-top: 1.85rem; }
  .steps article { padding: 1.3rem 0; }
  .steps article + article { border-left: 0; border-top: 1px solid rgb(246 241 238 / .34); }
  .steps article:last-child { padding-bottom: 0; }
}

@media (max-width: 360px) {
  .header .brand img { width: 44px; height: auto; }
  .brand > span { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .link-arrow span { transition: none; }
}

/* Contact and editorial presentation */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.6rem; margin-top: 2rem; }
.hero-actions .link-arrow { margin-top: 0; min-height: 44px; align-items: center; gap: .7rem; padding-bottom: 0; border-bottom: 0; color: #e7c9c5; font-weight: 500; }
.hero-actions .link-arrow:hover { color: var(--paper); text-decoration: underline; }
.hero-contact { display: inline-flex; align-items: center; justify-content: space-between; gap: .95rem; min-height: 44px; padding: .58rem .8rem; border: 1px solid var(--paper); background: var(--paper); color: var(--bordeaux); font-size: .82rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; }
.hero-contact span { font-size: 1rem; line-height: 1; }
.hero-contact:hover { border-color: #fff; background: #fff; }
.hero-contact:focus-visible { outline-color: var(--paper); }
.article-byline a { text-underline-offset: .2em; }
.article-byline span { white-space: nowrap; }
.publication-list .publication-meta { margin-top: .65rem; font-size: .8rem; }
.article-toc { padding: 1.2rem 1.4rem; margin-bottom: 2rem; border: 1px solid var(--taupe); background: #f0e9e4; }
.article-toc > p { margin-top: 0 !important; color: var(--bordeaux) !important; font-weight: 600; }
.article-toc ol { margin-bottom: 0; }
.article-reading h2[id] { scroll-margin-top: 1.5rem; }
.office-address a { display: inline-block; margin-top: .45rem; color: var(--bordeaux); font-size: .85rem; }

.cookie-notice {
  position: fixed;
  z-index: 3;
  left: calc(var(--whatsapp-offset) + env(safe-area-inset-left, 0px));
  bottom: calc(var(--whatsapp-offset) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: .85rem;
  max-width: 28rem;
  padding: .55rem .7rem .55rem .85rem;
  border: 1px solid var(--taupe);
  border-radius: .25rem;
  background: var(--paper);
  box-shadow: 0 2px 7px rgb(38 35 42 / .12);
  font-size: .78rem;
  line-height: 1.45;
}
.cookie-notice button {
  flex: none;
  min-height: 44px;
  padding: .35rem .65rem;
  border: 1px solid var(--bordeaux);
  border-radius: .2rem;
  background: var(--paper);
  color: var(--bordeaux);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.cookie-notice button:hover { background: var(--bordeaux); color: var(--paper); }

@media (max-width: 620px) {
  .hero-actions { flex-direction: column; align-items: flex-start; gap: .4rem; margin-top: 1.45rem; }
  .hero-photo { aspect-ratio: 16 / 7; }
  .footer { padding-bottom: calc(var(--whatsapp-height) + var(--whatsapp-offset) + 1rem); }
}

@media (620px < width <= 760px) {
  .cookie-notice {
    right: calc(var(--whatsapp-offset) + env(safe-area-inset-right, 0px));
    bottom: calc(var(--whatsapp-height) + var(--whatsapp-offset) + env(safe-area-inset-bottom, 0px) + .5rem);
  }
}

@media (max-width: 620px) {
  .cookie-notice {
    --notice-height: 32px;
    --notice-right: calc(var(--whatsapp-offset) + var(--whatsapp-height) + env(safe-area-inset-right, 0px) + .5rem);
    left: auto;
    right: var(--notice-right);
    bottom: calc(var(--whatsapp-offset) + env(safe-area-inset-bottom, 0px) + (var(--whatsapp-height) - var(--notice-height)) / 2);
    max-width: calc(100% - var(--notice-right) - var(--whatsapp-offset) - env(safe-area-inset-left, 0px));
    height: var(--notice-height);
    gap: .35rem;
    padding: 0 0 0 .45rem;
    font-size: clamp(.56rem, 2.9vw, .64rem);
    line-height: 1.05;
  }
  .cookie-notice button {
    align-self: stretch;
    min-height: 0;
    padding: 0 .45rem;
    border-width: 0 0 0 1px;
    border-radius: 0 .2rem .2rem 0;
    font-size: .66rem;
  }
}

/* Versão 2.1: notas dentro de "Como funciona o atendimento" e link das dúvidas. */
.approach-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 3rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(246, 241, 238, .3); }
.approach-notes p { max-width: 52ch; color: var(--paper); }
.approach-notes strong { color: #e2cacc; font-weight: 500; }
.faq-more { margin-top: 1.5rem; }
.faq-more a { color: var(--bordeaux); }
@media (max-width: 620px) { .approach-notes { grid-template-columns: 1fr; } }

