@font-face {
  font-family: Newsreader;
  src: url('fontes/newsreader.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('fontes/source-sans-3.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
:root {
  --paper: #fbf7f1;
  --sand: #ebe2d9;
  --peach: #e5ab7f;
  --brand-deep: #002726;
  --ink: #232b27;
  --secondary: #526158;
  --forest: #0f482f;
  --action: var(--forest);
  --hover: #0a3323;
  --sage: #ebeedf;
  --focus: #704022;
  --line: #bac6bb;
  --reverse: #fbf7f1;
  --muted-reverse: #ecefe1;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.23,.73,.26,1);
  --gutter: clamp(1.15rem, 5.4vw, 5rem);
  --mast-height: 4.8rem;
  font: 100%/1.5 var(--sans);
  color-scheme: light;
  scroll-padding-top: calc(var(--mast-height) + .65rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; overflow-x: clip; overflow-wrap: anywhere; background: var(--paper); color: var(--ink); }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
h1, h2 {
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  font-kerning: normal;
}
h2 { font-size: clamp(2.65rem, 3.95vw, 3.75rem); line-height: 1.06; letter-spacing: -.033em; }
a { color: inherit; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: rgba(35,75,60,.13); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(78rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
:where(a, button, summary, [role=tabpanel]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
:where(main, section)[tabindex]:focus { outline: 0; }
::selection { color: var(--forest); background: #dce7bd; }
.skip { position: fixed; z-index: 12; left: .65rem; top: .5rem; padding: .6rem 1rem; transform: translateY(-170%); background: var(--paper); color: var(--forest); }
.skip:focus { transform: none; }

/* Navegação e assinatura profissional. */
.masthead { position: sticky; top: 0; z-index: 8; background: var(--paper); border-bottom: 1px solid #d7d0c4; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; min-height: var(--mast-height); }
.brand { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; text-decoration: none; }
.brand img { width: min(12rem, 45vw); }
.brand-text { font: 500 1.55rem/1 var(--serif); color: inherit; }
.brand-text small { display: block; margin-top: .25rem; font: 600 .87rem/1 var(--sans); }
.nav-links { list-style: none; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .15rem clamp(1.1rem, 2.25vw, 2.2rem); padding: 0; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 1.03rem; }
.nav-links a:not(.instagram-link) { position: relative; }
.nav-links a:not(.instagram-link)::after {
  content: ''; position: absolute; right: 0; bottom: .4rem; left: 0;
  height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-links a[aria-current]:not(.instagram-link)::after, .nav-links a:hover::after { transform: scaleX(1); }
.nav-social { border-left: 1px solid var(--line); padding-left: clamp(.8rem, 1.8vw, 1.7rem); }
.instagram-link { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; gap: .5rem; font-weight: 600; color: var(--forest); text-decoration: none; }
.instagram-link svg { flex: none; width: 1.28rem; height: 1.28rem; }
.instagram-link:hover span, .instagram-link:focus-visible span { text-decoration: underline; text-underline-offset: .23em; }
.menu-toggle { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  max-width: 100%; min-height: max(48px, 3.1rem); padding: .7rem 1.4rem;
  font: 600 1.06rem/1.25 var(--sans); text-decoration: none; border: 1px solid transparent;
  border-radius: 2rem; color: #fff; background: var(--action);
  transition: background-color .22s, border-color .22s, transform .22s var(--ease);
}
.button svg { flex: none; width: 1.19rem; height: 1.19rem; }
.button span { min-width: 0; overflow-wrap: anywhere; }
.button:hover { background: var(--hover); }
.button:active { transform: translateY(1px); }
.text-link, .top-link, .email-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--forest); font-weight: 600; text-decoration: underline;
  text-underline-offset: .32em; text-decoration-thickness: 1px;
  transition: text-decoration-color .22s, color .22s;
}
.text-link:hover { color: var(--hover); text-decoration-thickness: 2px; }
.reading, .prose p { font-size: clamp(1.09rem, 1.35vw, 1.2rem); line-height: 1.54; text-wrap: pretty; }

/* O retrato frontal se apoia em uma lombada com o símbolo fornecido por Ryan. */
.cover { background: var(--sand); }
.cover-spread { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); align-items: center; gap: clamp(2.4rem, 6vw, 5.6rem); padding-block: clamp(2.1rem, 3.7vw, 3.7rem) clamp(2.5rem, 4.3vw, 4.2rem); }
.cover-copy { padding-block: .5rem; }
.cover h1 { font-size: clamp(3.18rem, 5.45vw, 4.5rem); line-height: 1.015; letter-spacing: -.041em; margin-block: 0 1.15rem; }
.cover h1 > span { display: block; }
.cover-intro { color: var(--ink); max-width: 29.6rem; font-size: clamp(1.13rem, 1.45vw, 1.26rem); line-height: 1.5; text-wrap: pretty; }
.cover-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem 1.55rem; margin-top: 1.55rem; }
.cover-art { display: grid; grid-template-columns: minmax(0,1fr) clamp(2.7rem, 4vw, 3.6rem); min-width: 0; }
.hero-photo { position: relative; overflow: hidden; background: #382425; aspect-ratio: 1.075; border-start-start-radius: clamp(3rem, 7.3vw, 7rem); }
.hero-photo img, .about-picture img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { position: absolute; inset: 0; object-position: 50% 5%; }
.portrait-credit { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 1.38rem .35rem 1.15rem; background: var(--brand-deep); color: var(--reverse); }
.portrait-signature {
  --name-length: clamp(118px, 10.6vw, 150px);
  position: relative; width: calc(var(--name-length) * 47 / 482); height: var(--name-length);
}
.portrait-signature img {
  position: absolute; top: 0; left: 100%; width: var(--name-length); max-width: none;
  transform: rotate(90deg); transform-origin: top left;
}
.portrait-credit .symbol { width: min(1.55rem, 77%); height: auto; }

/* O serviço vem antes da galeria. Cada etapa ocupa uma linha. */
.process { background: var(--forest); color: var(--reverse); }
.process-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(3rem,7.5vw,7.4rem); padding-block: clamp(3.7rem,6vw,5.9rem); }
.process h2 { color: var(--reverse); max-width: 15ch; margin-block: 0 1rem; }
.process .reading { max-width: 23rem; color: var(--muted-reverse); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { padding: 1.2rem 0 1.25rem; border-top: 1px solid #678173; }
.steps li:first-child { padding-top: 1.15rem; }
.steps li:last-child { border-bottom: 1px solid #678173; }
.steps h3 { font: 600 clamp(1.55rem,2.1vw,2rem)/1.12 var(--serif); }
.steps p { max-width: 57ch; margin-top: .43rem; color: var(--muted-reverse); font-size: 1.1rem; line-height: 1.43; }
.process :where(a,button):focus-visible, .footer a:focus-visible { outline-color: var(--peach); }
.service-facts { display: grid; gap: 1.35rem; margin-top: 1.55rem; }
.fact-block h3 { font: 500 1.8rem/1.15 var(--serif); }
.fact-block ul, .fact-block dl { list-style: none; padding: 0; }
.fact-block li, .fact-block dl > div { border-bottom: 1px solid #678173; padding: .65rem 0; }
.fact-block h4, .fact-block dt { font-size: 1.08rem; font-weight: 600; }
.fact-block .text-link { margin-left: .4rem; color: #fff; }

.cinema-do-prato { max-width: 78rem; margin-inline: auto; }
.approach { background: var(--paper); }

/* A apresentação pessoal usa um retrato mais íntimo e uma área de leitura em verde claro. */
.about { background: var(--sage); }
.about-spread { display: grid; grid-template-areas: 'texto retrato'; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: clamp(3rem,8vw,7.5rem); align-items: center; width: min(66rem,calc(100% - 2 * var(--gutter))); padding-block: clamp(3rem,5.5vw,5.2rem); }
.about-picture { grid-area: retrato; aspect-ratio: .99; overflow: hidden; background: #cbd1cb; }
.about-picture img { object-position: 50% 9%; }
.about-picture:empty { display: none; }
.about-copy { grid-area: texto; }
.prose { margin-top: 1.22rem; }
.prose p + p { margin-top: .8rem; }
.registration { margin-top: .8rem; color: var(--secondary); font-weight: 600; }
.about-copy .instagram-link { margin-top: .75rem; }
.faq-spread { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(2.5rem,6.8vw,6.3rem); padding-block: clamp(3.6rem,6.8vw,6.3rem); }
.questions { min-width: 0; border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.08rem 0; list-style: none; min-height: 48px; font-weight: 600; font-size: 1.13rem; line-height: 1.36; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary:hover { color: var(--action); }
.plus { position: relative; flex: none; width: 1.15rem; height: 1.15rem; }
.plus::before, .plus::after { position: absolute; content: ''; left: 50%; top: 50%; width: .88rem; height: 1.5px; background: var(--forest); transform: translate(-50%,-50%); }
.plus::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .22s var(--ease); }
details[open] .plus::after { transform: translate(-50%,-50%) rotate(0); }
.answer { padding: 0 1.9rem 1.08rem 0; font-size: 1.08rem; line-height: 1.48; }
@supports selector(details::details-content) {
  .questions details { interpolate-size: allow-keywords; }
  .questions details::details-content { block-size: 0; overflow: clip; transition: block-size .25s var(--ease), content-visibility .25s allow-discrete; }
  .questions details[open]::details-content { block-size: auto; }
}
.contact { background: var(--sand); }
.contact-inner { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: center; gap: clamp(2rem,7vw,6rem); padding-block: clamp(3rem,5.3vw,5rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-logo { width: min(20rem, 95%); }
.contact-logo img { width: 100%; height: auto; }
.contact-identity .contact-note { margin-top: 1rem; }
.contact-action { justify-self: end; text-align: center; }
.contact-action .text-link { font-size: 1rem; }
.contact-note { font-size: 1.13rem; max-width: 26rem; }
[data-copy] { display: none; }
.js [data-copy] { display: inline-flex; }
.copy-status { display: block; }
.footer { color: var(--reverse); background: var(--brand-deep); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.55rem; }
.footer-links { display: flex; width: 100%; align-items: center; flex-wrap: wrap; gap: .35rem 2rem; }
.footer a { color: var(--reverse); }
.footer .top-link { font-weight: 400; margin-left: auto; }
.footer-registration { color: var(--secondary); display: block; margin-top: .5rem; }

@media (max-width: 64rem) {
  :root { --gutter: clamp(1.25rem,4.3vw,2.8rem); }
  .cover-spread, .process-layout, .faq-spread { gap: 2.4rem; }
  .cover h1 { font-size: clamp(2.62rem,5.25vw,3.55rem); }
  .cover-actions { gap: .25rem 1rem; }
  .about-spread { gap: 3.2rem; }
  .portrait-credit { padding-block: 1rem; }
}
@media (max-width: 56.25rem) {
  :root { --mast-height: 4.25rem; }
  .header-inner { flex-wrap: wrap; gap: 0 1rem; }
  .header-inner .brand img { width: min(10.5rem,45vw); }
  .nav-panel { width: 100%; }
  .nav-links { justify-content: start; flex-wrap: wrap; gap: .2rem 1rem; }
  .nav-social { padding: 0; border: 0; }
  html:not(.js) .masthead { position: static; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; gap: .55rem; padding: .35rem 0 .35rem .4rem; background: transparent; border: 0; color: var(--forest); font-weight: 600; }
  .menu-bars { position: relative; width: 1.22rem; height: 1rem; }
  .menu-bars::before, .menu-bars::after { content: ''; position: absolute; inset: .25rem 0 auto; height: 2px; background: currentColor; transition: transform .22s var(--ease); }
  .menu-bars::after { inset-block-start: .67rem; }
  [aria-expanded=true] .menu-bars::before { transform: translateY(.21rem) rotate(45deg); }
  [aria-expanded=true] .menu-bars::after { transform: translateY(-.21rem) rotate(-45deg); }
  .js .nav-panel { position: absolute; inset: 100% calc(-1 * var(--gutter)) auto; width: auto; background: var(--paper); z-index: 1; border-block: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .22s, transform .22s var(--ease), visibility 0s .22s; }
  .js .nav-panel.is-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .22s, transform .22s var(--ease); }
  .js .nav-links { display: block; max-height: calc(100svh - var(--mast-height)); overflow: auto; padding: .25rem var(--gutter) .65rem; }
  .js .nav-links li + li { border-top: 1px solid var(--line); }
  .js .nav-links a { display: flex; min-height: 48px; }
  .js .nav-links a::after { display: none; }
  .js .nav-links a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
  .js .nav-links :focus-visible { outline-offset: -2px; }
  .hero-photo { aspect-ratio: .88; }
  .cover-actions .text-link { flex-basis: 100%; }
  .process-layout { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); }
  .cover-spread { gap: 2rem; }
}
@media (max-width: 43.75rem) {
  :root { --gutter: clamp(1.2rem,5.5vw,1.8rem); --mast-height: 4rem; }
  h2 { font-size: clamp(2.38rem,8.6vw,3.05rem); }
  .cover-spread { grid-template-columns: minmax(0,1fr); gap: 1.08rem; padding-block: 1.6rem 1.55rem; }
  .cover-copy { padding: 0; }
  .cover h1 { font-size: clamp(2.48rem,10.8vw,2.75rem); line-height: 1.035; margin-block: 0 .68rem; }
  .cover-intro { font-size: 1.09rem; line-height: 1.43; }
  .cover-actions { align-items: flex-start; gap: 0 .95rem; margin-top: 1.02rem; }
  .cover-actions .text-link { flex-basis: auto; }
  .cover-art { width: 100%; max-width: 32rem; grid-template-columns: minmax(0,1fr) 2.55rem; }
  .hero-photo { aspect-ratio: 1.48; border-start-start-radius: 3.5rem; }
  .hero-photo img { object-position: 50% 5%; }
  .portrait-credit { padding-block: .8rem .7rem; }
  .portrait-signature { --name-length: clamp(96px, 30vw, 118px); }
  .portrait-credit .symbol { width: 1.2rem; }
  .process-layout, .about-spread, .faq-spread, .contact-inner { grid-template-columns: minmax(0,1fr); gap: 1.65rem; padding-block: 2.9rem; }
  .process h2 { max-width: 15ch; margin-block: 0 .75rem; }
  .reading, .prose p, .steps p, .answer, .contact-note { font-size: 1.08rem; line-height: 1.47; }
  .steps li { padding-block: 1rem; }
  .steps h3 { font-size: 1.58rem; }
  .prose { margin-top: .8rem; }
  .about-spread { grid-template-areas: 'texto' 'retrato'; }
  .about-picture { max-width: 29rem; aspect-ratio: 1.22; }
  .questions summary { font-size: 1.08rem; padding-block: .95rem; }
  .contact-logo { width: min(16rem, 89%); }
  .contact-action { justify-self: start; text-align: left; }
  .contact-inner { row-gap: 1.35rem; }
  .footer-inner { align-items: flex-start; padding-block: 1.1rem; }
  .footer-links { gap: .2rem 1.25rem; }
}
@media (max-width: 29rem) {
  .cover-actions { flex-direction: column; }
  .footer-links { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: no-preference) {
  /* A máscara pertence à linha inteira para que a acentuação e as descendentes caibam. */
  .cover h1 > span { clip-path: inset(-.14em -.1em -.16em -.08em); }
  .cover h1 > span > span { display: block; animation: levantar-linha .41s var(--ease) backwards; }
  .cover h1 > span + span > span { animation-delay: .065s; }
  .cover-intro { animation: entrada-texto .33s var(--ease) .055s backwards; }
  .cover-actions { animation: entrada-texto .32s var(--ease) .095s backwards; }
  .hero-photo { animation: revelar-capa .46s var(--ease) backwards; }
  .hero-photo img { transform-origin: 50% 22%; animation: assentar-retrato .5s var(--ease) backwards; }
  .portrait-credit { animation: abrir-assinatura .36s var(--ease) .065s backwards; }

  /* Só a navegação ativada por um link usa estas transições. */
  html.rolagem-curta { scroll-behavior: smooth; }
  html.mudar-secao .masthead { view-transition-name: topo-site; }
  html.mudar-secao::view-transition { pointer-events: none; }
  html.mudar-secao::view-transition-group(root),
  html.mudar-secao::view-transition-group(topo-site) { animation: none; }
  html.mudar-secao::view-transition-old(topo-site) { animation: none; opacity: 0; }
  html.mudar-secao::view-transition-new(topo-site) { animation: none; }
  html.mudar-secao::view-transition-old(root) {
    animation: saida-secao .16s ease-out both;
    mix-blend-mode: normal;
  }
  html.mudar-secao::view-transition-new(root) {
    animation: chegada-secao .27s var(--ease) both;
    mix-blend-mode: normal;
  }

  .button { transition-duration: .15s; }
  .button svg { transition: transform .16s var(--ease); }
  @media (hover: hover) and (pointer: fine) {
    .button:hover { transform: translateY(-2px); }
    .button:hover svg { transform: rotate(-7deg); }
  }
  .button:active { transform: translateY(1px); }
  .button:focus-visible { transform: none; }
  .questions details[open] .answer > p { animation: resposta-aberta .18s var(--ease); }
  .questions details::details-content { transition-duration: .16s; }
  .plus::after, .nav-links a::after { transition-duration: .16s; }
  .js .nav-panel, .js .nav-panel.is-open { transition-duration: .15s; }

  .reveal.seen:not(.about-picture):not(li) { animation: entrada-texto .36s var(--ease) backwards; }
  .steps li.seen { position: relative; }
  .steps li.seen:nth-child(2) { --intervalo: .035s; }
  .steps li.seen:nth-child(3) { --intervalo: .07s; }
  .steps li.seen > * { animation: entrada-texto .32s var(--ease) var(--intervalo, 0s) backwards; }
  .steps li.seen::before {
    content: '';
    position: absolute;
    inset: -1px 0 auto;
    height: 1px;
    background: var(--forest);
    pointer-events: none;
    transform-origin: right;
    transform: scaleX(0);
    animation: descobrir-filete .39s var(--ease) var(--intervalo, 0s) backwards;
  }
  .about-picture.seen { animation: abrir-retrato .44s var(--ease) backwards; }
  .about-picture.seen img { transform-origin: 50% 20%; animation: assentar-retrato .48s var(--ease) backwards; }

  @keyframes levantar-linha {
    from { transform: translateY(.68em); opacity: .78; }
    to { transform: none; opacity: 1; }
  }
  @keyframes entrada-texto {
    from { transform: translateY(.9rem); opacity: .82; }
    to { transform: none; opacity: 1; }
  }
  @keyframes chegada-secao {
    from { opacity: .32; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes saida-secao { from { opacity: 1; } to { opacity: 0; } }
  @keyframes resposta-aberta {
    from { transform: translateY(-4px); opacity: .8; }
    to { transform: none; opacity: 1; }
  }
  @keyframes revelar-capa { from { clip-path: inset(0 41% 0 0); } to { clip-path: inset(0); } }
  @keyframes assentar-retrato { from { transform: scale(1.07); } to { transform: scale(1); } }
  @keyframes abrir-assinatura { from { clip-path: inset(0 0 58% 0); } to { clip-path: inset(0); } }
  @keyframes descobrir-filete { from { transform: scaleX(1); } to { transform: scaleX(0); } }
  @keyframes abrir-retrato { from { clip-path: inset(0 0 22% 0); } to { clip-path: inset(0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .questions details::details-content { transition: none !important; }
}
