/* Extend the approved opening to the existing homepage. Content and routes stay
   in index.html; these rules are deliberately scoped to the local preview. */
.refined-site {
  --editorial-paper: #fcfaf6;
  --editorial-tint: #ebe4d7;
  --editorial-cool: #e8eeec;
  --editorial-ink: #142832;
  --editorial-muted: #5d6465;
  --editorial-accent: #85673c;
  --editorial-rule: #d4d1c7;
  --editorial-dark-rule: #2d3c44;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  background: var(--editorial-paper);
}
.refined-site main > section:not(.refined-hero):not(.refined-intro) .site-shell,
.refined-site .site-footer .site-shell {
  width: min(1200px, calc(100% - 120px));
}
.refined-site .site-section,
.refined-site .evidence-section {
  padding: clamp(76px, 8vw, 116px) 0;
  background: var(--editorial-paper);
}
.refined-site :is(.site-section, .evidence-section, .newsletter-section, .final-cta) h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--editorial-ink);
  text-wrap: pretty;
}
.refined-site :is(.kicker, .board-label, .article-meta) {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .23em;
  color: var(--editorial-accent);
}
.refined-site .kicker { margin-bottom: 22px; }
.refined-site :is(.site-section, .evidence-section, .newsletter-section, .final-cta) .kicker {
  display: flex;
  align-items: center;
  gap: 16px;
}
.refined-site :is(.site-section, .evidence-section, .newsletter-section, .final-cta) .kicker::before {
  content: '';
  width: 32px;
  height: 1px;
  flex: 0 0 32px;
  background: currentColor;
}
.refined-site :is(.split-heading, .process-layout, .evidence-layout, .responsibility-grid, .faq-layout) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 108px);
}
.refined-site :is(.section-heading > p, .process-intro > p:not(.kicker), .evidence-copy > p:not(.kicker), .authority-copy > p:not(.kicker), .responsibility-copy p, .final-cta p:not(.kicker)) {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--editorial-muted);
  max-width: 58ch;
}
.refined-site .section-heading > p { margin: 38px 0 0; max-width: 48ch; }
.refined-site .credibility-band { background: var(--preview-ivory); border: 0; padding: 0 0 40px; }
.refined-site .credibility-grid { gap: 64px; border-top: 1px solid #d3c6b4; }
.refined-site .credibility-grid p { padding: 24px 0 0; border: 0; color: var(--editorial-muted); font-size: 13px; line-height: 1.85; }
.refined-site .credibility-grid strong { font-weight: 500; color: var(--editorial-ink); }

/* Brief introductory answers share one surface, with no enclosing cards. */
.refined-site #respostas-rapidas { padding-bottom: 88px; }
.refined-site #respostas-rapidas .service-grid { gap: 44px; margin-top: 48px; }
.refined-site #respostas-rapidas .service-card { display: block; min-height: 0; padding: 26px 0 0; }
.refined-site #respostas-rapidas .service-card h3 { margin: 0 0 16px; font-size: 28px; }

/* An editorial service index: consistent weight, generous rows, fine rules. */
.refined-site .services-section { background: var(--editorial-tint); }
.refined-site .services-section .section-heading h2 { max-width: 18ch; }
.refined-site .services-section .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 58px; }
.refined-site .service-card {
  border: 0;
  border-top: 1px solid var(--editorial-rule);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--editorial-ink);
}
.refined-site .services-section .service-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 0 20px;
  padding: 34px 0 36px;
  min-height: 0;
  align-content: start;
}
.refined-site .service-number { grid-row: 1 / 4; font: 400 23px/1.3 var(--serif); color: var(--editorial-accent); padding-top: 4px; }
.refined-site .service-card h3 { font: 400 clamp(27px, 2.65vw, 35px)/1.13 var(--serif); letter-spacing: -.012em; color: var(--editorial-ink); }
.refined-site .services-section .service-card h3 { grid-column: 2; margin: 0 0 18px; max-width: 23ch; }
.refined-site .service-card p { color: var(--editorial-muted); font-size: 13px; line-height: 1.9; }
.refined-site .services-section .service-card p { grid-column: 2; }
.refined-site .service-card .service-link {
  grid-column: 2;
  justify-self: start;
  align-self: end;
  justify-content: flex-start;
  margin-top: 24px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid #b3a184;
  border-radius: 0;
  background: transparent;
  color: #634c2d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}
.refined-site .service-link:hover { color: var(--editorial-ink); border-bottom-color: var(--editorial-ink); }

/* Quiet dark interlude, echoing the opening. */
.refined-site .process-section { background: var(--preview-night); }
.refined-site .process-section h2 { color: var(--preview-ivory); max-width: 15ch; }
.refined-site .process-section .kicker { color: var(--preview-gold); }
.refined-site .process-section .process-intro p:not(.kicker) { color: #bdc3c3; margin-top: 28px; }
.refined-site .process-list li { border-color: var(--editorial-dark-rule); padding: 27px 0 29px 62px; }
.refined-site .process-list li::before { color: #c5a473; font: 400 25px/1.3 var(--serif); top: 30px; }
.refined-site .process-list strong { font: 400 29px/1.2 var(--serif); color: var(--preview-ivory); margin-bottom: 12px; }
.refined-site .process-list span { font-size: 13px; line-height: 1.9; color: #bdc3c3; }

/* Expertise uses typography and a divider rather than nested panels. */
.refined-site .evidence-section { background: var(--editorial-cool); }
.refined-site .evidence-layout { align-items: start; }
.refined-site .evidence-copy { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.refined-site .evidence-copy .area-list { margin-top: 28px; padding: 0; gap: 0 24px; }
.refined-site .area-list li { min-height: 54px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; font-size: 13px; font-weight: 400; line-height: 1.65; color: var(--editorial-ink); }
.refined-site .specialty-board { min-height: 0; padding: 0 0 0 42px; border: 0; border-left: 1px solid var(--editorial-rule); border-radius: 0; box-shadow: none; background: transparent; color: var(--editorial-ink); overflow: visible; }
.refined-site .specialty-board::before { display: none; }
.refined-site .specialty-board h3 { max-width: 20ch; margin: 22px 0; font: 400 clamp(32px, 3.1vw, 44px)/1.08 var(--serif); letter-spacing: -.02em; color: var(--editorial-ink); }
.refined-site .specialty-board p { font-size: 13px; line-height: 1.9; color: var(--editorial-muted); }
.refined-site .specialty-list { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
.refined-site .specialty-list li { min-height: 0; padding: 18px 0; border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.refined-site .specialty-list strong { color: var(--editorial-ink); font-size: 15px; font-weight: 500; }
.refined-site .specialty-list span { margin-top: 5px; color: var(--editorial-muted); font-size: 13px; line-height: 1.7; }

/* Existing portraits, given breathing room and a restrained editorial layout. */
.refined-site .authority-section { background: var(--editorial-paper); }
.refined-site .authority-layout-single { max-width: none; }
.refined-site .authority-copy { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 76px; }
.refined-site .authority-copy > :not(.team-photo) { grid-column: 1; }
.refined-site .authority-copy > h2 { max-width: 16ch; }
.refined-site .authority-copy > p:not(.kicker) { margin-top: 26px; font-size: 14px; }
.refined-site .team-photo { grid-column: 2; grid-row: 1 / 5; align-self: center; width: 100%; height: auto; border-radius: 2px; box-shadow: none; margin: 0; }
.refined-site .team-grid { grid-template-columns: 1fr; gap: 0; margin-top: 32px; }
.refined-site .team-card { grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; padding: 22px 0; border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; }
.refined-site .team-card img { grid-row: 1 / 4; width: 52px; height: 52px; margin: 2px 0 0; }
.refined-site .team-card strong { font: 400 26px/1.18 var(--serif); color: var(--editorial-ink); }
.refined-site .team-card span { grid-column: 2; color: var(--editorial-muted); font-size: 12px; line-height: 1.7; }
.refined-site .team-card:hover strong { color: var(--editorial-accent); }
.refined-site .responsibility-section { background: var(--editorial-tint); border: 0; padding-block: 72px; }
.refined-site .responsibility-grid { border: 0; padding-top: 0; }
.refined-site .responsibility-section .kicker { color: var(--editorial-accent); }
.refined-site .responsibility-copy p { font-size: 14px; }

/* Articles read as a journal, with original photography and no card shadows. */
.refined-site .articles-list { margin-top: 52px; gap: 0; }
.refined-site .article-preview { grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); gap: 52px; align-items: center; min-height: 0; padding: 34px 0; border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; background: transparent; box-shadow: none; transition: none; }
.refined-site .article-preview:hover { transform: none; box-shadow: none; border-color: var(--editorial-rule); }
.refined-site .article-preview img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 2px; filter: none; }
.refined-site .article-preview div { padding: 0; }
.refined-site .article-preview h3 { font: 400 clamp(27px, 2.9vw, 40px)/1.12 var(--serif); letter-spacing: -.015em; color: var(--editorial-ink); max-width: 30ch; }
.refined-site .article-preview:hover h3 { color: var(--editorial-accent); }
.refined-site .article-preview p:not(.article-meta) { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--editorial-muted); }
.refined-site .articles-more { margin-top: 20px; }
.refined-site .articles-more .button { padding: 10px 0; min-height: 44px; border: 0; border-bottom: 1px solid #a38b67; border-radius: 0; color: var(--editorial-ink); font-size: 13px; font-weight: 500; }
.refined-site .article-index-section { padding: 0 0 72px; background: var(--editorial-paper); border: 0; }
.refined-site .article-index-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; border-top: 1px solid var(--editorial-rule); padding-top: 32px; }
.refined-site .article-index-grid a { min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font: 400 23px/1.25 var(--serif); color: var(--editorial-ink); gap: 18px; justify-content: flex-start; }
.refined-site .article-index-grid span { font: 500 10px/1.6 var(--sans); letter-spacing: .16em; color: var(--editorial-accent); }
.refined-site .article-index-grid a:hover { color: var(--editorial-accent); }

.refined-site .newsletter-section { padding: 66px 0; background: var(--editorial-cool); border: 0; }
.refined-site .newsletter-layout { gap: 70px; }
.refined-site .newsletter-section h2 { font-size: 42px; max-width: 20ch; }
.refined-site .newsletter-section .kicker { color: var(--editorial-accent); }
.refined-site .newsletter-form label { color: var(--editorial-muted); font-size: 12px; }
.refined-site .newsletter-field { gap: 12px; }
.refined-site .newsletter-field input { border: 1px solid #bdb7aa; border-radius: 2px; min-height: 52px; padding: 12px 16px; background: var(--editorial-paper); font-size: 14px; }
.refined-site .newsletter-field .button { min-height: 52px; padding: 12px 22px; border-radius: 2px; box-shadow: none; background: var(--editorial-ink); color: var(--preview-ivory); font-size: 13px; font-weight: 500; }

.refined-site .faq-list { gap: 0; }
.refined-site .faq-list details { background: transparent; border: 0; border-top: 1px solid var(--editorial-rule); border-radius: 0; }
.refined-site .faq-list details:last-child { border-bottom: 1px solid var(--editorial-rule); }
.refined-site .faq-list summary { padding: 24px 0; font: 400 25px/1.3 var(--serif); color: var(--editorial-ink); }
.refined-site .faq-list summary::marker { font-size: 12px; color: var(--editorial-accent); }
.refined-site .faq-list details p { padding: 0 0 26px 18px; font-size: 13px; line-height: 1.9; color: var(--editorial-muted); }
.refined-site .faq-list details[open] summary { color: #735733; }

.refined-site .final-cta { background: var(--preview-night); border: 0; padding: 100px 0 88px; }
.refined-site .final-cta-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 80px; }
.refined-site .final-cta h2 { font-size: clamp(42px, 4.6vw, 64px); color: var(--preview-ivory); max-width: 16ch; }
.refined-site .final-cta .kicker { color: var(--preview-gold); }
.refined-site .final-cta p:not(.kicker) { color: #bdc3c3; font-size: 14px; }
.refined-site .final-actions { flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; }
.refined-site .final-actions .button { max-width: 100%; min-height: 52px; font-size: 14px; font-weight: 500; line-height: 1.6; white-space: normal; border-radius: 2px; box-shadow: none; padding: 14px 22px; text-align: center; }
.refined-site .final-actions .button-gold { color: var(--preview-night); background: var(--preview-ivory); }
.refined-site .final-actions .button-quiet { color: var(--preview-gold); padding: 10px 0; border: 0; border-bottom: 1px solid #9c8057; background: transparent; }
.refined-site .site-footer { padding: 54px 0 48px; background: var(--preview-night); border-color: var(--editorial-dark-rule); }
.refined-site .footer-layout { grid-template-columns: 1.35fr .7fr .9fr; gap: 84px; }
.refined-site .footer-brand { align-content: start; gap: 22px; }
.refined-site .footer-logo { width: 185px; }
.refined-site .site-footer h2 { font: 500 10px/1.7 var(--sans); letter-spacing: .2em; color: var(--preview-gold); margin-bottom: 22px; }
.refined-site .site-footer :is(p, a) { color: #bdc3c3; font-size: 12px; line-height: 1.9; }
.refined-site .site-footer a { white-space: normal; overflow-wrap: anywhere; }
.refined-site .site-footer a:hover { color: var(--preview-ivory); }
.refined-site .footer-contato a { display: inline; }
.refined-site .mobile-menu summary { font-family: var(--sans); }
.refined-site :is(.site-section, .evidence-section, .newsletter-section, .article-index-section) :focus-visible { outline: 2px solid #75562d; outline-offset: 5px; }
.refined-site :is(.process-section, .final-cta, .site-footer) :focus-visible { outline-color: var(--preview-gold); }

@media (max-width: 1100px) {
  .refined-site main > section:not(.refined-hero):not(.refined-intro) .site-shell,
  .refined-site .site-footer .site-shell { width: calc(100% - 72px); }
  .refined-site .authority-copy { column-gap: 44px; }
  .refined-site .services-section .service-grid { column-gap: 40px; }
  .refined-site .newsletter-layout { gap: 40px; }
  .refined-site .footer-layout { gap: 44px; }
}
@media (max-width: 860px) {
  .refined-site :is(.split-heading, .process-layout, .evidence-layout, .responsibility-grid, .faq-layout, .newsletter-layout, .final-cta-layout) { grid-template-columns: 1fr; gap: 36px; }
  .refined-site .section-heading > p { margin: 0; max-width: 62ch; }
  .refined-site #respostas-rapidas .service-grid { grid-template-columns: 1fr; gap: 30px; }
  .refined-site .services-section .service-grid { grid-template-columns: 1fr; }
  .refined-site .services-section .service-card h3 { max-width: none; }
  .refined-site .specialty-board { padding: 40px 0 0; border-left: 0; border-top: 1px solid var(--editorial-rule); }
  .refined-site .authority-copy { grid-template-columns: 1fr; }
  .refined-site .authority-copy > :not(.team-photo) { grid-column: auto; }
  .refined-site .team-photo { grid-column: 1; grid-row: auto; width: min(100%, 600px); margin-top: 34px; }
  .refined-site .article-preview { gap: 30px; }
  .refined-site .article-index-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 40px; }
  .refined-site .footer-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refined-site .footer-brand { grid-column: 1 / -1; max-width: 54ch; margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .refined-site main > section:not(.refined-hero):not(.refined-intro) .site-shell,
  .refined-site .site-footer .site-shell { width: calc(100% - 40px); }
  .refined-site .site-section, .refined-site .evidence-section { padding: 66px 0; }
  .refined-site :is(.site-section, .evidence-section, .newsletter-section, .final-cta) h2 { font-size: 39px; line-height: 1.08; }
  .refined-site .credibility-grid { grid-template-columns: 1fr; gap: 0; }
  .refined-site .credibility-grid p { font-size: 12px; padding-top: 22px; }
  .refined-site #respostas-rapidas { padding-bottom: 66px; }
  .refined-site .kicker { font-size: 11px; letter-spacing: .2em; margin-bottom: 18px; }
  .refined-site :is(.section-heading > p, .process-intro > p:not(.kicker), .evidence-copy > p:not(.kicker), .authority-copy > p:not(.kicker), .responsibility-copy p) { font-size: 14px; line-height: 1.85; }
  .refined-site .services-section .service-grid { margin-top: 38px; }
  .refined-site .services-section .service-card { grid-template-columns: 28px minmax(0, 1fr); gap: 0 16px; padding: 28px 0 30px; }
  .refined-site .service-card h3 { font-size: 29px; }
  .refined-site .service-number { font-size: 20px; }
  .refined-site .service-card .service-link { font-size: 12px; }
  .refined-site .process-list li { padding-left: 44px; }
  .refined-site .process-list strong { font-size: 27px; }
  .refined-site .area-list { gap: 0 16px; }
  .refined-site .area-list li { font-size: 12px; }
  .refined-site .specialty-board h3 { font-size: 35px; }
  .refined-site .responsibility-section { padding-block: 54px; }
  .refined-site .responsibility-grid { padding-top: 0; }
  .refined-site .article-preview { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .refined-site .article-preview h3 { font-size: 31px; }
  .refined-site .article-preview p:not(.article-meta) { font-size: 13px; }
  .refined-site :is(.service-card p, .process-list span, .specialty-board p, .article-preview p:not(.article-meta), .faq-list details p) { font-size: 14px; }
  .refined-site .article-index-grid { column-gap: 24px; }
  .refined-site .article-index-grid a { font-size: 22px; }
  .refined-site .newsletter-section { padding: 50px 0; }
  .refined-site .newsletter-field { grid-template-columns: 1fr; }
  .refined-site .newsletter-field .button { justify-self: start; }
  .refined-site .faq-list summary { font-size: 24px; }
  .refined-site .final-cta { padding: 72px 0 60px; }
  .refined-site .final-actions { width: 100%; }
  .refined-site .final-actions .button { font-size: 13px; }
  .refined-site .site-footer { padding: 44px 0; }
  .refined-site .footer-layout { gap: 36px 24px; }
}
