/* Tadzio Valladares — equilíbrio editorial, materiais autorais e contato, 14/10/2026. */
:root {
  --muted: #56534d;
  --body-size: 1.125rem;
  --reading-size: 1.125rem;
}
body { font-size: var(--body-size); line-height: 1.65; }
h1, h2, h3, h4 { text-wrap: balance; }
h1, h2, h3 { letter-spacing: -.025em; }
h2 { font-size: clamp(1.875rem, 2.6vw, 2.25rem); line-height: 1.15; }
h3, .card h3, .method-panel h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
h4 { font: 700 1.1875rem/1.3 var(--serif); margin: 0 0 .65rem; }
p, li { text-wrap: pretty; }
.lead, .hero-copy .lead, .page-hero .lead, .section-head .lead {
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: #363a3a;
}
.content-block p, .documentary p:not(.eyebrow), .section-head > div > p:not(.eyebrow):not(.lead) {
  font-size: var(--reading-size);
  line-height: 1.7;
  max-width: 70ch;
}
.content-block h2 { margin-bottom: 1.4rem; }
.content-block h3 { margin-bottom: 1.1rem; }
.content-block p + p { margin-top: 1.1em; }
.card p, .method-panel p, .process p, .contact-choice p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #4d4b46;
}
.section.dark .lead, .section.dark .card p, .card.dark-card p { color: #e5ded1; }
.small, .price-note, .proof span, .positioning-caption, .aulas-book-meta,
.aulas-book-label p:last-child, .documentary figcaption, .teaching-quote cite {
  font-size: 1rem;
  line-height: 1.6;
}
main p.small { font-size: 1rem; }
.eyebrow { font-size: .875rem; line-height: 1.5; letter-spacing: .095em; }
.hero-copy h1, .page-hero h1 { font-size: clamp(2.5rem, 3.8vw, 3.5rem); line-height: 1.08; }
.hero-copy .lead { margin: 1.35rem 0 1.6rem; }
.button { font-size: 1rem; line-height: 1.4; min-height: 48px; text-align: center; }
.text-link { font-size: 1rem; line-height: 1.55; }
.aulas-paths .card .text-link { font-size: 1rem; }
.brand-copy strong { font-size: 1.125rem; }
.brand-copy span { font-size: .8125rem; }
nav { gap: 16px; }
nav a { font-size: 1rem; white-space: nowrap; }
.brand { flex-shrink: 0; }
.nav-wrap { gap: 22px; }
.proof strong { font-size: 1.5rem; line-height: 1.25; }
.proof span { color: #dedfe2; }
.badge { font-size: .875rem; }
.list li { font-size: var(--reading-size); line-height: 1.65; }
.list li::before { top: 1.45rem; }
.pricing-table { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.pricing-table thead th { font-size: 1.0625rem; line-height: 1.4; }
.pricing-table tbody th { font-size: 1rem; }
.pricing-table th, .pricing-table td { padding: 20px; }
.price { font-size: 2.5rem; line-height: 1.1; }
.price-card .list li { font-size: 1rem; }
summary { font-size: 1rem; line-height: 1.5; }
details p { font-size: 1rem; line-height: 1.7; }
.footer-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr) minmax(0, 1.15fr); gap: 40px; }
.site-footer { font-size: 1rem; }
.site-footer .small, .site-footer a, .footer-bottom { color: #d8d0c1; }
.site-footer .small { font-size: 1rem; }
.footer-links a { overflow-wrap: anywhere; }
.footer-bottom { font-size: 1rem; }
.stat span { font-size: .875rem; }
.stat strong { font-variant-numeric: tabular-nums; }
.cta h2 { max-width: 20ch; }
.cta p:not(.eyebrow) { font-size: 1.0625rem; line-height: 1.6; }
.cta .button-row { align-items: flex-start; }
.about-booking { margin-top: 1.75rem; }
.scope-proposal .section-head { align-items: start; margin-bottom: 0; }
.scope-proposal h2 { max-width: 15ch; }
.scope-proposal .list { margin-top: 1.65rem; }
.scope-proposal .list li { font-size: 1.125rem; padding-top: .85rem; padding-bottom: .85rem; }
.section [id] { scroll-margin-top: 125px; }
:is(a, button, summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.section.dark :is(a, button, summary):focus-visible, .cta :is(a, button, summary):focus-visible,
.site-footer a:focus-visible { outline-color: var(--ivory); }

/* Two covers are visible; companion volumes are an optional disclosure. */
.author-collection { border-top: 3px solid var(--red); padding-top: 36px; }
.collection-heading { max-width: 75ch; }
.collection-heading h3 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); color: var(--navy); }
.collection-subtitle { font-family: var(--serif); font-size: clamp(1.1875rem, 1.6vw, 1.375rem); margin: .6rem 0 1.2rem; color: var(--muted); }
.textbook-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); max-width: 640px; margin: 32px auto; }
.textbook-preview { margin: 0; }
.cover-window { position: relative; overflow: hidden; aspect-ratio: 672 / 924; background: var(--navy); box-shadow: 0 12px 24px rgba(13,32,53,.12); }
.cover-window img { position: absolute; width: 228.571429%; height: auto; max-width: none; top: -7.251082%; }
.cover-window-one img { left: -12.648810%; }
.cover-window-two { background: #672c37; }
.cover-window-two img { left: -116.220238%; }
.textbook-preview figcaption { margin-top: 18px; text-align: center; }
.textbook-preview figcaption strong { display: block; font: 700 1.25rem/1.3 var(--serif); }
.textbook-preview figcaption span { display: block; margin-top: .3rem; font-size: 1rem; color: var(--muted); }
.collection-components { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding: 30px 0; border-top: 1px solid var(--stone); }
.collection-components p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.companion-covers { padding: 0; border: 1px solid var(--stone); background: var(--ivory); }
.companion-covers .when-open { display: none; }
.companion-covers[open] .when-open { display: inline; }
.companion-covers[open] .when-closed { display: none; }
.companion-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 12px 24px 28px; }
.companion-grid figure { margin: 0; }
.companion-grid img { width: 100%; height: auto; box-shadow: 0 5px 16px rgba(13,32,53,.1); }
.companion-grid figcaption { font-size: 1rem; line-height: 1.5; text-align: center; margin-top: 12px; }
.collection-status { font-size: 1rem; line-height: 1.65; color: var(--muted); margin: 24px 0 0; }
.aulas-material-notes h3 { font-size: 1.375rem; line-height: 1.25; }
.aulas-material-notes p { font-size: 1rem; line-height: 1.65; }

@media (min-width: 981px) {
  .section-head { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
  .editorial-grid { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) 180px; }
  .scope-proposal .section-head { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
}
@media (min-width: 981px) and (max-width: 1200px) {
  nav { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; border: 2px solid var(--ink); padding: .55rem .75rem; }
  .menu[open] { position: relative; }
  .menu-links { position: absolute; right: 0; top: 48px; min-width: 280px; padding: 20px; background: var(--paper); border: 1px solid var(--stone); box-shadow: 0 14px 30px rgba(0,0,0,.12); display: grid; gap: 12px; }
  .menu-links a { text-decoration: none; font-weight: 700; font-size: 1rem; }
}
@media (max-width: 980px) {
  :root { --body-size: 1.125rem; --reading-size: 1.125rem; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { gap: 26px; }
  .section-head h2 { max-width: 26ch; }
  .companion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-booking { margin-bottom: 0; }
}
@media (max-width: 660px) {
  :root { --body-size: 1.0625rem; --reading-size: 1.0625rem; }
  .hero-copy h1, .page-hero h1, .pagina-aulas .page-hero h1 { font-size: clamp(2rem, 8vw, 2.5rem); line-height: 1.12; }
  h2 { font-size: clamp(1.625rem, 6vw, 2rem); }
  .lead, .hero-copy .lead, .page-hero .lead, .section-head .lead { font-size: 1.0625rem; }
  .small, .price-note, .positioning-caption, .proof span { font-size: 1rem; }
  .brand-character { width: 44px; min-height: 50px; }
  .brand-character img { width: 36px; height: 44px; }
  .brand-copy { padding-left: 9px; align-self: center; }
  .brand-copy strong, .pagina-aulas .brand-copy strong { font-size: 1rem; }
  .nav-wrap, .pagina-aulas .nav-wrap { gap: 10px; min-height: 80px; }
  .menu summary { font-size: 1rem; padding: .45rem .6rem; }
  .menu-links { min-width: min(280px, calc(100vw - 32px)); }
  .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .textbook-grid { gap: 20px; margin: 30px auto; max-width: 520px; }
  .textbook-preview figcaption strong { font-size: 1.125rem; }
  .textbook-preview figcaption span { font-size: 1rem; }
  .collection-components { grid-template-columns: 1fr; gap: 22px; }
  .companion-grid { gap: 20px; padding: 8px 16px 24px; }
  .scope-proposal .list li { font-size: 1rem; }
  .pricing-table { font-size: 1.0625rem; }
  .price { font-size: 2.5rem; }
}
@media (max-width: 400px) {
  .textbook-grid { grid-template-columns: 1fr; max-width: 280px; gap: 32px; }
  .companion-grid { grid-template-columns: 1fr; }
  .companion-grid figure { max-width: 280px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Restrained contact page: two channels on the existing paper background. */
.companion-covers { border-left: 0; border-right: 0; background: transparent; }
.companion-covers summary { padding: 18px 0; color: var(--navy); font-weight: 600; }
.material-anchor { display: block; scroll-margin-top: 125px; }
.contact-page { padding: clamp(48px, 7vw, 88px) 0; }
.contact-composition { max-width: 1080px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-intro h1 { font-size: clamp(2.5rem, 4vw, 3.25rem); line-height: 1.1; max-width: 12ch; }
.contact-intro .lead { max-width: 31ch; margin-top: 24px; }
.contact-channels { border-top: 2px solid var(--red); }
.contact-channel { padding: 28px 0 30px; }
.contact-channel + .contact-channel { border-top: 1px solid var(--stone); }
.contact-channel h2 { font-size: 1.625rem; line-height: 1.2; margin-bottom: 14px; }
.contact-channel p { max-width: 46ch; margin: 0 0 22px; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.contact-channel .button { min-width: 220px; font-weight: 700; }
.contact-channel .button.secondary { color: var(--navy); border-color: var(--navy); }
.contact-channel .button.secondary:hover { background: var(--navy); color: var(--ivory); }
@media (max-width: 760px) {
  .contact-composition { grid-template-columns: 1fr; gap: 28px; }
  .contact-intro .lead { max-width: 46ch; }
  .contact-intro h1 { font-size: 2.5rem; }
  .contact-channel { padding: 24px 0; }
}
