/* G — composição editorial assimétrica, com cabeçalho centralizado
   e rodapé fotográfico alinhado à mesma grade do miolo. */
:root { --g-content-width: min(1440px, calc(100% - clamp(48px, 8vw, 128px))); }
.site-header .header-inner { flex-direction: column; align-items: center; justify-content: center; min-height: 148px; padding-block: 20px 12px; gap: 8px; }
.site-header .brand { width: 170px; }
.site-header .main-nav { display: flex; justify-content: center; flex-wrap: wrap; max-width: 100%; gap: 8px 32px; margin: 0; }
.site-header .main-nav a { min-height: 40px; padding-block: 10px; }
@keyframes g-header-arrive {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .header-motion-ready .atelier-word,
  .header-motion-ready .main-nav a { opacity: 0; }
  .header-is-drawing .atelier-word { animation: g-header-arrive 650ms cubic-bezier(.16, 1, .3, 1) 100ms both; }
  .header-is-drawing .main-nav a { animation: g-header-arrive 680ms cubic-bezier(.16, 1, .3, 1) 1050ms both; }
  .header-is-drawing .main-nav a:nth-child(2) { animation-delay: 1170ms; }
  .header-is-drawing .main-nav a:nth-child(3) { animation-delay: 1290ms; }
  .header-motion-ready .main-nav a:focus-visible { opacity: 1; animation: none; transform: none; }
}
@media (min-width: 641px) {
  /* Mantém espaço entre o menu central e o início do retrato. */
  .hero-portrait img { top: 1%; height: 101%; }
}
@media (max-width: 640px) {
  .site-header .brand { width: 156px; }
  .site-header .main-nav { column-gap: 27px; }
}
@media (max-width: 360px) { .site-header .main-nav { column-gap: 22px; } }
.g-section {
  --g-line: #cdb9aa;
  color: var(--ink);
  background: #fffbf6;
  padding: 30px 0 100px;
}
.g-wrap, .g-results > .wrap, .ef-footer {
  width: var(--g-content-width);
  margin-inline: auto;
}
.g-section h2 { font-size: clamp(52px, 6.7vw, 102px); line-height: .99; letter-spacing: -.045em; font-weight: 500; text-wrap: pretty; }
.g-section p { font-size: 16px; line-height: 1.6; }
/* Quebras por unidade de sentido, com apoio progressivo nos diferentes navegadores. */
main p, main blockquote, main address, .ef-introduction p { text-wrap: pretty; }
main h1, main h2, main h3, .g-section h2, .g-faq .faq-item h3 { text-wrap: balance; }
.g-method-story .g-phrase, .g-insight-title .g-phrase { display: block; }
.g-section .button { font-size: 13px; letter-spacing: 0; }
.g-rail { display: flex; align-items: center; gap: 28px; width: 100%; font-size: 13px; line-height: 1.4; }
.g-rule { height: 1px; background: var(--g-line); flex: 1; }
.g-rail-end { font-size: 12px; }
.g-section a:focus-visible, .g-section summary:focus-visible { outline: 2px solid #51463f; outline-offset: 5px; }
/* Esconde o atalho fora do foco também durante capturas de página longa. */
body > .skip-link:not(:focus) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }

/* Uma abertura ampla para os casos; fotografias clínicas sem filtros. */
.g-results { background: #fffbf6; }
.g-results-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; align-items: end; margin: 90px 0 72px; }
.g-results-heading h2 { text-align: right; }
.g-results-heading > p { max-width: 31ch; padding-bottom: 6px; }
.g-results .comparison-help { text-align: left; font-size: 12px; margin: 0 0 20px; max-width: none; }
.g-results .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 26px; }
.g-results .case-grid--featured > .case:last-child { width: 100%; grid-column: auto; justify-self: stretch; }
.g-results .case figcaption { font-size: 12px; padding-top: 16px; margin-top: 0; border: 0; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.g-results .case figcaption span:first-child { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.g-results .cases-more { margin-top: 38px; }
.g-results .cases-extra-inner { padding-top: 42px; }
.g-results .results-note { font-size: 17px; margin-top: 32px; }
.g-results .comparison-label { top: 10px; padding: 3px 7px; font-size: 10px; }

/* As perguntas do consultório viram uma sequência tipográfica expansível. */
.g-listening { background: #f5e8df; padding-bottom: 0; }
.g-section-intro { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 48px; margin: 68px 0 70px; }
.g-section-intro h2 { font-size: clamp(45px, 4.9vw, 72px); }
.g-section-intro > p { text-align: right; }
.g-topics { border-top: 1px solid #bfa794; }
.g-topic { border-bottom: 1px solid #bfa794; }
.g-topic:last-child { border-bottom: 0; }
.g-topic summary { display: flex; gap: 30px; justify-content: space-between; align-items: center; cursor: pointer; padding: 28px 0; list-style: none; }
.g-topic summary::-webkit-details-marker { display: none; }
.g-topic h3 { font-size: clamp(34px, 4.9vw, 72px); letter-spacing: -.035em; line-height: 1.06; }
.g-disc { flex: 0 0 65px; width: 65px; height: 65px; display: grid; place-items: center; border: 1px solid #ac8b76; border-radius: 50%; transition: background 180ms; }
.g-disc span { display: block; font: 300 34px/1 var(--sans); transition: rotate 200ms; }
.g-topic summary:hover .g-disc, .g-topic[open] .g-disc { background: #fffbf6; }
.g-topic[open] .g-disc span { rotate: 45deg; }
.g-topic-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 0 95px 40px 0; }
.g-topic-content .g-quote { font: 500 clamp(24px, 2.5vw, 36px)/1.2 var(--serif); color: var(--ink); max-width: 28ch; }
.g-topic-content > p:last-child { max-width: 49ch; }

/* Dupla página: notas curtas, retrato vertical e título grande à direita. */
.g-method { padding-bottom: 0; }
.g-principles { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 70px; padding: 64px 0 72px; align-items: start; }
.g-principles h3 { font: 500 16px/1.3 var(--sans); margin-bottom: 24px; }
.g-principles h3::after { content: ''; display: block; width: 36px; height: 1px; background: #b69c8a; margin-top: 12px; }
.g-principles p { max-width: 33ch; font-size: 14px; }
.g-side-note { text-align: right; font-size: 13px; line-height: 1.5; color: var(--text); }
.g-method-spread { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.g-method-spread > figure { min-height: 650px; height: 53vw; max-height: 800px; overflow: hidden; }
.g-method-spread img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.g-method-story { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 0 0 35px; gap: 85px; }
.g-method-story h2 { text-align: right; font-size: clamp(45px, 5.25vw, 80px); }
.g-method-story p { max-width: 35ch; text-align: right; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.4; }
.g-method-insight { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 90px; padding: 64px 0 76px; }
.g-method-insight .g-insight-title { color: var(--ink); font: 500 clamp(32px, 3.4vw, 50px)/1.12 var(--serif); letter-spacing: -.035em; max-width: 26ch; }
.g-method-insight > p:last-child { max-width: 35ch; }

/* Três etapas em uma grade fotográfica, sem cartões ou molduras. */
.g-process { padding-top: 30px; background: #fcf6ee; }
.g-process > .g-wrap > h2 { text-align: right; width: fit-content; max-width: 780px; margin: 88px auto 100px; font-size: clamp(56px, 7.5vw, 110px); }
.g-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; }
.g-step-heading { display: flex; gap: 14px; align-items: start; margin-bottom: 22px; min-height: 48px; }
.g-step-heading > span { font-size: 12px; padding-top: 4px; }
.g-step-heading h3 { font: 500 20px/1.25 var(--sans); letter-spacing: -.025em; }
.g-steps img, .g-step-photo { width: 100%; height: 300px; object-fit: cover; }
.g-steps li:first-child img { object-position: 50% 20%; scale: -1 1; }
.g-steps li:nth-child(2) img, .g-steps li:nth-child(3) img { object-position: 50% 50%; }
.g-steps p { padding-top: 24px; font-size: 15px; }
.g-process-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--g-line); margin-top: 42px; padding-top: 25px; }
.g-process-bottom > p { font-size: 12px; }

/* Retrato e biografia compartilham uma grade assimétrica. */
.g-about { background: #f5e8df; }
.g-about-spread { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; margin-top: 70px; align-items: start; }
.g-about-title { padding-top: 18px; }
.g-about-title h2 { font-size: clamp(48px, 5.6vw, 84px); }
.g-about-title > p { max-width: 38ch; margin: 64px 0 16px; }
.g-about-title .text-link { font-size: 13px; font-weight: 400; }
.g-about-photo img { width: 100%; height: 670px; object-fit: cover; object-position: 50% 20%; }
.g-about-photo figcaption { font: 500 24px/1.3 var(--serif); margin-top: 17px; }
.g-about-bottom { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; margin-top: 78px; padding-top: 36px; border-top: 1px solid #bfa794; }
.g-about-bottom blockquote { font: 500 30px/1.25 var(--serif); max-width: 33ch; }
.g-about-bottom ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; font-size: 14px; line-height: 1.5; }

.g-offices { background: #fffbf6; }
.g-office-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: end; margin: 80px 0 65px; }
.g-office-heading > p { max-width: 31ch; justify-self: end; }
.g-office-photos { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.g-office-photos img { width: 100%; height: 570px; object-fit: cover; }
.g-office-photos figure:last-child img { height: 430px; }
.g-office-photos figcaption { font-size: 12px; color: var(--text); margin-top: 12px; }
.g-address-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; padding-top: 44px; }
.g-address-grid article { border-top: 1px solid var(--g-line); padding-top: 25px; }
.g-address-grid h3 { font-size: 32px; margin-bottom: 8px; }
.g-address-grid .building { font-size: 13px; margin-bottom: 16px; }
.g-address-grid address { font-style: normal; font-size: 14px; line-height: 1.65; color: var(--text); }
.g-address-grid .text-link { margin-top: 20px; font-size: 13px; font-weight: 400; }

.g-faq { background: #fcf6ee; }
.g-faq-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; padding-top: 80px; }
.g-faq-layout > h2 { font-size: clamp(47px, 5.2vw, 78px); }
.g-faq .faq-item { border: 0; border-top: 1px solid var(--g-line); border-radius: 0; background: transparent; margin: 0; }
.g-faq .faq-item:last-of-type { border-bottom: 1px solid var(--g-line); }
.g-faq .faq-item summary { border: 0; background: transparent; padding: 24px 0; display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 92px; }
.g-faq .faq-item summary:hover { background: transparent; color: #8b6654; }
.g-faq .faq-item h3 { font: 500 27px/1.15 var(--serif); text-wrap: pretty; }
.g-faq .faq-toggle { flex-shrink: 0; font-size: 11px; }
.g-faq .faq-answer { padding: 0 42px 26px 0; background: transparent; }
.g-faq .faq-answer p { font-size: 15px; line-height: 1.7; }
.g-faq-list > .text-link { margin-top: 30px; font-size: 13px; font-weight: 400; }

.g-contact { padding-bottom: 95px; }
.g-contact-grid { display: grid; grid-template-columns: .7fr 1.5fr 1fr; gap: 55px; align-items: start; padding-top: 80px; }
.g-contact-grid h2 { font-size: clamp(46px, 5.4vw, 82px); }
.g-contact-meta { font-size: 12px; }
.g-contact-meta > p { font-size: 13px; margin: 14px 0 35px; }
.g-contact-meta .text-link { font-size: 13px; font-weight: 400; }
.g-contact-action { align-self: end; }
.g-contact-action p { font-size: 17px; margin-bottom: 30px; }
.g-contact-action .button { white-space: nowrap; }

@media (min-width: 1600px) {
  .g-method-spread > figure { min-height: 740px; }
}
@media (max-width: 1100px) {
  .g-section { padding-bottom: 76px; }
  .g-listening, .g-method { padding-bottom: 0; }
  .g-results-heading { gap: 40px; }
  .g-results-heading h2 { font-size: 64px; }
  .g-principles { gap: 40px; }
  .g-method-spread { gap: 32px; }
  .g-method-spread > figure { min-height: 590px; }
  .g-method-story h2 { font-size: 57px; }
  .g-steps { gap: 30px; }
  .g-steps img, .g-step-photo { height: 250px; }
  .g-step-heading h3 { font-size: 18px; }
  .g-about-spread, .g-about-bottom { gap: 44px; }
  .g-about-photo img { height: 570px; }
  .g-office-photos, .g-address-grid { gap: 55px; }
  .g-office-photos img { height: 480px; }
  .g-office-photos figure:last-child img { height: 365px; }
  .g-faq-layout { gap: 45px; }
  .g-contact-grid { grid-template-columns: .6fr 1.3fr 1fr; gap: 30px; }
  .g-contact-grid h2 { font-size: 53px; }
  .g-contact-action p { font-size: 15px; }
  .g-contact-action .button { padding-inline: 20px; }
}
@media (max-width: 800px) {
  .g-section { padding-top: 24px; padding-bottom: 65px; }
  .g-rail { gap: 20px; font-size: 12px; }
  .g-rail-end { font-size: 10px; }
  .g-section h2 { font-size: 57px; }
  .g-results-heading { grid-template-columns: 1fr; gap: 24px; margin: 55px 0 40px; }
  .g-results-heading h2 { grid-row: 1; text-align: left; }
  .g-results-heading p { max-width: 42ch; }
  .g-results .case-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .g-results .case-grid--featured .case:first-child { grid-column: 1 / -1; }
  .g-section-intro { margin: 50px 0 40px; gap: 30px; }
  .g-section-intro h2 { font-size: 45px; }
  .g-topic h3 { font-size: 42px; }
  .g-disc { flex-basis: 50px; width: 50px; height: 50px; }
  .g-topic-content { gap: 30px; padding-right: 0; }
  .g-listening, .g-method { padding-bottom: 0; }
  .g-principles { grid-template-columns: 1fr 1fr; gap: 35px; padding-block: 45px 50px; }
  .g-side-note { display: none; }
  .g-method-spread { grid-template-columns: .9fr 1.1fr; gap: 28px; }
  .g-method-spread > figure { min-height: 520px; height: 520px; }
  .g-method-story { gap: 50px; padding-bottom: 24px; }
  .g-method-story h2 { font-size: 47px; }
  .g-method-story p { font-size: 17px; }
  .g-method-insight { gap: 40px; padding-block: 44px 55px; }
  .g-process > .g-wrap > h2 { font-size: 70px; margin-block: 65px 70px; }
  .g-steps { gap: 24px; }
  .g-steps img, .g-step-photo { height: 190px; }
  .g-step-heading { display: block; min-height: 82px; margin-bottom: 18px; }
  .g-step-heading > span { display: block; padding: 0 0 10px; }
  .g-step-heading h3 { font-size: 16px; }
  .g-steps p { font-size: 14px; padding-top: 18px; }
  .g-about-spread { gap: 32px; margin-top: 50px; }
  .g-about-title { padding-top: 0; }
  .g-about-title h2 { font-size: 48px; }
  .g-about-title > p { margin-top: 35px; font-size: 15px; }
  .g-about-photo img { height: 510px; }
  .g-about-bottom { gap: 30px; margin-top: 50px; }
  .g-about-bottom blockquote { font-size: 25px; }
  .g-about-bottom ul { grid-template-columns: 1fr; gap: 16px; }
  .g-office-heading { gap: 35px; margin-block: 55px 45px; }
  .g-office-heading h2 { font-size: 54px; }
  .g-office-photos, .g-address-grid { gap: 30px; }
  .g-office-photos img { height: 400px; }
  .g-office-photos figure:last-child img { height: 320px; }
  .g-faq-layout { gap: 35px; padding-top: 55px; }
  .g-faq-layout h2 { font-size: 48px; }
  .g-faq .faq-item h3 { font-size: 23px; }
  .g-faq .faq-answer { padding-right: 0; }
  .g-contact-grid { grid-template-columns: 1fr 2fr; gap: 35px; padding-top: 55px; }
  .g-contact-grid h2 { font-size: 59px; }
  .g-contact-action { grid-column: 2; max-width: 35ch; }
}
@media (max-width: 600px) {
  :root { --g-content-width: calc(100% - 40px); }
  .g-section { padding-block: 22px 55px; }
  .g-rail { gap: 18px; }
  .g-rail-end { display: none; }
  .g-section h2 { font-size: clamp(42px, 11.3vw, 63px); line-height: 1.02; letter-spacing: -.04em; }
  .g-section p { font-size: 15px; }
  .g-results-heading { margin: 42px 0 32px; gap: 24px; }
  .g-results .case-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .g-results .case figcaption { padding-top: 12px; }
  .g-results .comparison-help { font-size: 11px; line-height: 1.6; max-width: 35ch; }
  .g-results .cases-more { margin-top: 30px; }
  .g-results .results-note { font-size: 17px; }
  .g-listening { padding-bottom: 0; }
  .g-section-intro { grid-template-columns: 1fr; gap: 24px; margin: 42px 0 35px; }
  .g-section-intro > p { text-align: left; }
  .g-section-intro > p br { display: none; }
  .g-topic summary { gap: 16px; padding-block: 24px; }
  .g-topic h3 { font-size: clamp(28px, 7.8vw, 42px); max-width: 16ch; }
  .g-disc { flex-basis: 42px; width: 42px; height: 42px; }
  .g-disc span { font-size: 28px; }
  .g-topic-content { grid-template-columns: 1fr; gap: 18px; padding-bottom: 30px; }
  .g-topic-content .g-quote { font-size: 25px; }
  .g-method { padding-bottom: 45px; }
  .g-principles { gap: 25px; padding-block: 40px; }
  .g-principles h3 { font-size: 14px; line-height: 1.4; margin-bottom: 18px; }
  .g-principles p { font-size: 13px; line-height: 1.6; }
  .g-method-spread { grid-template-columns: 1fr; gap: 35px; }
  .g-method-spread > figure { height: 115vw; min-height: 0; max-height: 570px; }
  .g-method-spread img { object-position: center 14%; }
  .g-method-story { gap: 26px; padding: 0; }
  .g-method-story h2 { max-width: 12ch; }
  .g-method-story p { max-width: 31ch; font-size: 17px; }
  .g-method-insight { grid-template-columns: 1fr; padding: 38px 0 0; gap: 22px; border-top: 1px solid var(--g-line); margin-top: 38px; }
  .g-method-insight .g-insight-title { font-size: 34px; }
  .g-process > .g-wrap > h2 { font-size: clamp(45px, 12vw, 70px); margin-block: 50px 55px; }
  .g-steps { grid-template-columns: 1fr; gap: 42px; }
  .g-step-heading { display: flex; align-items: baseline; gap: 18px; min-height: 0; margin-bottom: 18px; }
  .g-step-heading > span { padding: 0; }
  .g-step-heading h3 { font-size: 19px; }
  .g-steps img, .g-step-photo { height: 84vw; max-height: 420px; }
  .g-steps p { padding-top: 20px; }
  .g-process-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
  .g-process-bottom > p { font-size: 11px; }
  .g-about-spread { grid-template-columns: 1fr; gap: 35px; margin-top: 42px; }
  .g-about-title h2 { font-size: clamp(36px, 11vw, 48px); }
  .g-about-title > p { max-width: 37ch; margin-top: 30px; }
  .g-about-photo img { height: 125vw; max-height: 620px; }
  .g-about-photo figcaption { font-size: 22px; }
  .g-about-bottom { grid-template-columns: 1fr; margin-top: 35px; gap: 30px; padding-top: 26px; }
  .g-about-bottom blockquote { font-size: 27px; }
  .g-about-bottom ul { grid-template-columns: 1fr 1fr; gap: 24px; font-size: 13px; }
  .g-office-heading { grid-template-columns: 1fr; gap: 24px; margin: 42px 0 38px; }
  .g-office-heading > p { justify-self: start; max-width: 35ch; }
  .g-office-photos { gap: 18px; grid-template-columns: 1fr 1fr; }
  .g-office-photos img { height: 65vw; }
  .g-office-photos figure:last-child img { height: 50vw; }
  .g-office-photos figcaption { font-size: 10px; }
  .g-address-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .g-address-grid h3 { font-size: 30px; }
  .g-address-grid .building { font-size: 13px; }
  .g-faq-layout { grid-template-columns: 1fr; padding-top: 42px; gap: 36px; }
  .g-faq .faq-item summary { min-height: 80px; padding-block: 23px; gap: 20px; }
  .g-faq .faq-item h3 { font-size: 25px; }
  .g-contact-grid { grid-template-columns: 1fr; padding-top: 42px; gap: 32px; }
  .g-contact-grid h2 { grid-row: 1; }
  .g-contact-meta { grid-row: 3; border-top: 1px solid var(--g-line); padding-top: 25px; }
  .g-contact-meta > p { font-size: 13px; margin: 10px 0 12px; }
  .g-contact-action { grid-column: 1; }
  .g-contact-action p { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .g-disc, .g-disc span { transition: none; }
}

/* Enquadramento do sorriso com o JPG original intacto e proporção preservada. */
.g-step-photo { position: relative; overflow: hidden; }
.g-steps .g-step-photo img { position: absolute; width: 350%; max-width: none; height: auto; max-height: none; left: -133.75%; top: 50%; translate: 0 -23.6%; object-fit: contain; }

/* Retratos de apresentação com a temperatura quente e a saturação do rodapé. */
.g-steps > li:first-child > img { filter: saturate(.62) sepia(.12) contrast(.95) brightness(1.03); }
.g-steps .g-step-photo img { filter: saturate(.58) sepia(.16) contrast(.95) brightness(.94); }
