/* ==========================================================================
   HÍBRIA · APRESENTAÇÃO COMERCIAL PARA CAFÉ 35 (NATÁLIA)
   Design System & Styling for Commercial Proposal
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Global Scroll & Reset for Proposal
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
  background: #140b08;
}

/* Hero container sizing when accompanied by the announcement bar */
.hero {
  height: calc(100svh - 44px) !important;
  min-height: 560px !important;
  position: relative;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   1. Faixa Superior (Announcement Topbar)
   -------------------------------------------------------------------------- */
.hibria-topbar {
  background: linear-gradient(90deg, #1d100a 0%, #29160e 50%, #1d100a 100%);
  border-bottom: 1px solid rgba(222, 195, 162, 0.22);
  color: #eedac5;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  z-index: 20;
  padding: 8px 6%;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.topbar-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 1.35;
  flex-wrap: nowrap;
}

.topbar-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar-divider {
  color: rgba(222, 195, 162, 0.35);
  font-weight: 700;
}

.topbar-tag {
  background: rgba(223, 188, 130, 0.15);
  border: 1px solid rgba(223, 188, 130, 0.35);
  color: #dfbc82;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.topbar-main {
  font-weight: 600;
  color: #f7ede1;
  white-space: nowrap;
}

.topbar-sub {
  color: #bda58f;
  font-size: 11.5px;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(223, 188, 130, 0.12);
  border: 1px solid rgba(223, 188, 130, 0.35);
  color: #f3dfc3;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 13px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-cta:hover {
  background: rgba(223, 188, 130, 0.25);
  border-color: #dfbc82;
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   2. Estrutura Geral da Proposta & Containers
   -------------------------------------------------------------------------- */
.proposal-root {
  position: relative;
  z-index: 10;
  width: 100%;
  font-family: 'DM Sans', sans-serif;
}

.proposal-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 6%;
}

/* --------------------------------------------------------------------------
   3. SEÇÃO DE TRANSIÇÃO (Dark Espresso Warm Bridge)
   -------------------------------------------------------------------------- */
.proposal-bridge {
  background: radial-gradient(ellipse at 50% 0%, #291811 0%, #1a0f0a 60%, #120906 100%);
  color: #eedac5;
  padding: 85px 0 75px;
  border-top: 1px solid rgba(222, 195, 162, 0.16);
  border-bottom: 1px solid rgba(222, 195, 162, 0.12);
  position: relative;
}

.intro-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hibria-pill {
  background: rgba(223, 188, 130, 0.12);
  border: 1px solid rgba(223, 188, 130, 0.35);
  color: #dfbc82;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.section-eyebrow-dark {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #d8b788;
}

.bridge-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: #f7eee2;
  margin: 0 0 20px;
  max-width: 900px;
}

.bridge-title em {
  color: #dfbc82;
  font-style: italic;
}

.bridge-lead {
  font-size: clamp(15px, 1.35vw, 17.5px);
  line-height: 1.8;
  color: #cbb49e;
  max-width: 820px;
  margin: 0 0 34px;
}

.bridge-note-box {
  background: rgba(45, 26, 18, 0.55);
  border-left: 3px solid #dfbc82;
  border-radius: 0 16px 16px 0;
  padding: 22px 26px;
  backdrop-filter: blur(8px);
  max-width: 860px;
}

.bridge-note-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #dfc8b0;
}

.bridge-note-box strong {
  color: #f8efe5;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. SEÇÃO CLARA DE LARGURA TOTAL (Warm White / Editorial Canvas)
   Cria contraste visual marcante, elegante e acolhedor (#fbf8f4)
   -------------------------------------------------------------------------- */
.proposal-light-canvas {
  background: #fbf8f4;
  color: #24160f;
  padding: 100px 0 110px;
  border-top: 1px solid #ebdcd0;
  border-bottom: 1px solid #ebdcd0;
  position: relative;
}

/* Tipografia Editorial da Seção Clara */
.light-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #a0673b;
  margin-bottom: 14px;
}

.light-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: #a0673b;
}

.light-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -1px;
  color: #1f120a;
  margin: 0 0 16px;
}

.light-section-title em {
  color: #a66a3d;
  font-style: italic;
  font-weight: 500;
}

.light-section-lead {
  font-size: clamp(14.5px, 1.25vw, 17px);
  line-height: 1.75;
  color: #5c473a;
  max-width: 760px;
  margin: 0 0 36px;
}

.section-heading-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 46px;
}

.section-heading-centered .light-eyebrow {
  justify-content: center;
}

.section-heading-centered .light-eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: #a0673b;
}

/* --------------------------------------------------------------------------
   4.1 Apresentação de John e Diferencial (Seção Clara)
   -------------------------------------------------------------------------- */
.john-spotlight {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 28px;
  padding: 56px 50px;
  box-shadow: 0 16px 40px rgba(45, 26, 18, 0.04);
  margin-bottom: 90px;
}

.john-main-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
  margin: 36px 0 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ebdcd0;
}

/* Composição Tipográfica Exclusiva (Substitui foto fictícia de forma sofisticada) */
.john-editorial-crest {
  background: linear-gradient(145deg, #f7efe6 0%, #efe4d7 100%);
  border: 1px solid #dfcfc0;
  border-radius: 20px;
  padding: 34px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.john-editorial-crest::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(160, 103, 59, 0.28);
  border-radius: 14px;
  pointer-events: none;
}

.crest-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #24150e;
  color: #dfbc82;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(36, 21, 14, 0.25);
  border: 2px solid #b6894a;
}

.crest-monogram {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.crest-seal-sub {
  font-size: 6.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e5cfb3;
  margin-top: 3px;
}

.crest-info {
  margin-bottom: 18px;
}

.crest-name {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #24160f;
  letter-spacing: -0.4px;
}

.crest-dept {
  display: block;
  font-size: 11.5px;
  color: #795d4a;
  margin-top: 3px;
}

.crest-tag {
  display: inline-block;
  background: rgba(160, 103, 59, 0.12);
  color: #8c5225;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-top: 10px;
}

.crest-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13.5px;
  font-style: italic;
  line-height: 1.55;
  color: #6a4f3e;
  border-top: 1px solid rgba(160, 103, 59, 0.18);
  padding-top: 14px;
  margin-top: 4px;
}

/* Narrativa de John */
.john-narrative {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.john-lead {
  font-size: 16.5px;
  line-height: 1.8;
  color: #2b1a10;
  font-weight: 500;
  margin: 0;
}

.john-body {
  font-size: 15px;
  line-height: 1.8;
  color: #554032;
  margin: 0;
}

/* 3 Contribuições em Destaque */
.contributions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contribution-item {
  background: #fbf7f2;
  border: 1px solid #ecdfd3;
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contribution-item:hover {
  transform: translateY(-3px);
  border-color: #d1b8a2;
  box-shadow: 0 10px 24px rgba(45, 26, 18, 0.05);
}

.contrib-index {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  color: #b67d51;
  margin-bottom: 12px;
}

.contribution-item h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #22140d;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.contribution-item p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #5c473a;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4.2 Detalhamento das Entregas (O que vamos desenvolver - Ritmo Variado)
   -------------------------------------------------------------------------- */
.deliverables-editorial-section {
  margin-bottom: 95px;
}

/* Duo Editorial em Destaque */
.deliverables-feature-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}

.feature-block {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(45, 26, 18, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-block.highlight-photo {
  background: linear-gradient(160deg, #ffffff 0%, #faf3eb 100%);
  border-color: #dfcdbf;
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a0673b;
  background: rgba(160, 103, 59, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.feature-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #1f120a;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
}

.feature-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: #554032;
  margin: 0;
  flex: 1;
}

.feature-note {
  font-size: 12px;
  line-height: 1.6;
  color: #795d4a;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e3d2c3;
  font-style: italic;
}

/* Grid Editorial das Demais Entregas */
.deliverables-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.editorial-col-card {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(45, 26, 18, 0.02);
  display: flex;
  flex-direction: column;
}

.editorial-col-card.full-width-card {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.col-icon {
  font-size: 22px;
  margin-bottom: 14px;
  color: #a0673b;
}

.editorial-col-card.full-width-card .col-icon {
  margin-bottom: 0;
  font-size: 28px;
  flex-shrink: 0;
}

.editorial-col-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: #22140d;
  letter-spacing: -0.3px;
  margin: 0 0 8px;
}

.editorial-col-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5c473a;
  margin: 0;
}

.editorial-col-note {
  font-size: 11.5px;
  color: #886b57;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #ebdcd0;
}

/* --------------------------------------------------------------------------
   4.3 O Processo (Metodologia em 7 Etapas)
   -------------------------------------------------------------------------- */
.process-editorial-section {
  margin-bottom: 95px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  align-items: stretch;
  margin-bottom: 28px;
}

.timeline-step {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 16px;
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 16px rgba(45, 26, 18, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-step:hover {
  transform: translateY(-2px);
  border-color: #b67d51;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #24160f;
  color: #dfbc82;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.timeline-step h5 {
  font-size: 13px;
  font-weight: 700;
  color: #22140d;
  margin: 0 0 6px;
  line-height: 1.35;
}

.timeline-step p {
  font-size: 11px;
  line-height: 1.5;
  color: #6a5344;
  margin: 0;
}

.process-clarification-box {
  background: #f4ecdf;
  border-left: 3px solid #b67d51;
  border-radius: 0 14px 14px 0;
  padding: 18px 24px;
}

.process-clarification-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #4a3629;
}

.process-clarification-box strong {
  color: #1f120a;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   4.4 Domínio, Hospedagem e Configuração
   -------------------------------------------------------------------------- */
.infrastructure-block {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 22px;
  padding: 38px 36px;
  box-shadow: 0 12px 32px rgba(45, 26, 18, 0.03);
  margin-bottom: 40px;
}

.infra-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #a0673b;
  background: rgba(160, 103, 59, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.infra-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  color: #1f120a;
  letter-spacing: -0.4px;
  margin: 0 0 16px;
}

.infra-text {
  font-size: 14.5px;
  line-height: 1.8;
  color: #4f3a2c;
  margin: 0 0 14px;
}

.infra-text:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   4.5 Acompanhamento Técnico Exclusivo
   -------------------------------------------------------------------------- */
.maintenance-block {
  background: #ffffff;
  border: 1px solid #ebdcd0;
  border-radius: 24px;
  padding: 46px 42px;
  box-shadow: 0 14px 36px rgba(45, 26, 18, 0.04);
}

.maintenance-header {
  margin-bottom: 24px;
}

.maintenance-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 600;
  color: #1f120a;
  letter-spacing: -0.6px;
  margin: 0 0 14px;
}

.maintenance-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #2b1a10;
  font-weight: 500;
  margin: 0 0 18px;
}

.maintenance-details-copy p {
  font-size: 14px;
  line-height: 1.8;
  color: #554032;
  margin: 0 0 14px;
}

.maintenance-details-copy .maintenance-caveat {
  font-size: 12.5px;
  color: #795d4a;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* Painel Comparativo Visual: Incluído vs Orçado Separadamente */
.maintenance-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}

.comp-col {
  border-radius: 18px;
  padding: 28px 24px;
}

.comp-col.included {
  background: #f7f3ec;
  border: 1px solid #dfcebe;
}

.comp-col.budgeted {
  background: #faf6f0;
  border: 1px dashed #d9c4b1;
}

.comp-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(160, 103, 59, 0.15);
}

.comp-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.comp-col.included .comp-tag {
  color: #8c5225;
}

.comp-col.budgeted .comp-tag {
  color: #755946;
}

.comp-head h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #22140d;
  margin: 0;
}

.comp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comp-col li {
  font-size: 13.5px;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}

.comp-col.included li {
  color: #3b281c;
}

.comp-col.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #9c6031;
  font-weight: 700;
}

.comp-col.budgeted li {
  color: #5c473a;
}

.comp-col.budgeted li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #a07555;
  font-size: 10px;
  top: 3px;
}

/* --------------------------------------------------------------------------
   5. SEÇÃO DE INVESTIMENTO E PRÓXIMO PASSO (Dark Espresso Finale)
   Retoma o fundo escuro rico para recuperar destaque, prestígio e autoridade
   -------------------------------------------------------------------------- */
.proposal-dark-finale {
  background: radial-gradient(ellipse at 50% 0%, #291810 0%, #170d09 45%, #0d0604 100%);
  color: #eedac5;
  padding: 100px 0 90px;
  border-top: 1px solid rgba(222, 195, 162, 0.16);
  position: relative;
}

.investment-section {
  margin-bottom: 90px;
}

.investment-box {
  background: linear-gradient(165deg, rgba(50, 28, 19, 0.75) 0%, rgba(24, 14, 9, 0.95) 100%);
  border: 1px solid rgba(223, 188, 130, 0.3);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.investment-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(223, 188, 130, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.investment-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(222, 195, 162, 0.14);
}

.investment-badge {
  display: inline-flex;
  align-self: flex-start;
  background: rgba(223, 188, 130, 0.14);
  border: 1px solid rgba(223, 188, 130, 0.35);
  color: #edd1a1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.investment-price-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.investment-special-label {
  font-size: 16px;
  color: #dfc8b2;
  font-weight: 500;
}

.investment-price-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 600;
  letter-spacing: -1.5px;
  color: #f7dfbe;
}

.investment-reference-row {
  font-size: 14px;
  color: #a9927d;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.investment-reference-row strong {
  color: #c9b39e;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: rgba(223, 188, 130, 0.5);
}

.investment-rationale {
  font-size: 14px;
  line-height: 1.75;
  color: #dfc8b0;
  margin: 0 0 34px;
  max-width: 860px;
}

.investment-scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  background: rgba(20, 11, 7, 0.55);
  border: 1px solid rgba(222, 195, 162, 0.12);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 26px;
}

.scope-column h4 {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #d8b788;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-list li {
  font-size: 13.5px;
  line-height: 1.6;
  color: #cbb49e;
  position: relative;
  padding-left: 22px;
}

.scope-list.included li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dfbc82;
  font-weight: 700;
}

.scope-list.excluded li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #9f8773;
}

.investment-terms-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: #9f8773;
  margin: 0;
}

/* --------------------------------------------------------------------------
   5.1 Próximo Passo
   -------------------------------------------------------------------------- */
.next-step-section {
  margin-bottom: 60px;
}

.next-step-card {
  background: radial-gradient(ellipse at 50% 0%, rgba(56, 32, 22, 0.75) 0%, rgba(26, 15, 10, 0.95) 100%);
  border: 1px solid rgba(223, 188, 130, 0.28);
  border-radius: 28px;
  padding: 50px 42px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.next-step-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.8vw, 40px);
  font-weight: 500;
  letter-spacing: -0.8px;
  color: #f7eee2;
  margin: 0 0 18px;
}

.next-step-lead {
  font-size: clamp(14.5px, 1.25vw, 17px);
  line-height: 1.75;
  color: #cfb9a4;
  max-width: 650px;
  margin: 0 auto 32px;
}

.next-step-signature {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 24px;
  border-top: 1px solid rgba(222, 195, 162, 0.15);
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #d8b788;
  font-weight: 600;
}

.next-step-signature span {
  font-size: 11.5px;
  letter-spacing: 0.8px;
  color: #a18a77;
  text-transform: none;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   5.2 Rodapé da Apresentação
   -------------------------------------------------------------------------- */
.proposal-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(222, 195, 162, 0.1);
  font-size: 12px;
  line-height: 1.65;
  color: #8c7664;
  max-width: 780px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   6. Responsividade Mobile & Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .john-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contributions-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deliverables-feature-duo {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .hibria-topbar {
    padding: 8px 5%;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-wrap: wrap;
  }

  .topbar-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    font-size: 11px;
    flex-wrap: wrap;
  }

  .topbar-tag-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .topbar-tag {
    font-size: 8px;
    padding: 2px 7px;
  }

  .topbar-divider {
    display: none;
  }

  .topbar-main {
    white-space: normal;
  }

  .topbar-sub {
    font-size: 10px;
    color: #a8917c;
    display: block;
    width: 100%;
  }

  .topbar-cta {
    font-size: 10px;
    padding: 4px 11px;
    align-self: flex-start;
    margin-top: 2px;
  }

  .proposal-bridge {
    padding: 60px 0 50px;
  }

  .proposal-light-canvas {
    padding: 70px 0 80px;
  }

  .john-spotlight {
    padding: 34px 22px;
    border-radius: 20px;
    margin-bottom: 70px;
  }

  .john-editorial-crest {
    padding: 26px 18px;
  }

  .deliverables-editorial-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .editorial-col-card.full-width-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 16px;
  }

  .step-badge {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .timeline-step h5 {
    margin-bottom: 2px;
  }

  .maintenance-block {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .maintenance-comparison-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .investment-box {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .investment-scope-grid {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .next-step-card {
    padding: 36px 22px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .contribution-item,
  .timeline-step,
  .topbar-cta {
    transition: none !important;
    transform: none !important;
  }
}

/* Retrato V5 · moldura editorial e composição centralizada */
.john-main-grid {
  align-items: center;
  border-bottom: 0;
}

.john-portrait {
  align-self: center;
  width: 100%;
  height: 620px;
  margin: 0;
  overflow: visible;
  isolation: isolate;
}

.john-portrait::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 11%;
  right: 11%;
  top: 20%;
  bottom: 0;
  border: 1px solid rgba(222, 181, 137, .42);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(106, 68, 45, .08), rgba(255,255,255,.015));
  pointer-events: none;
}

.john-portrait::after {
  left: 13%;
  right: 6%;
  bottom: -1%;
  height: 9%;
  opacity: .52;
}

.john-portrait img {
  width: min(112%, 540px);
  max-width: none;
  max-height: none;
  margin: 0 0 -1px;
  filter: drop-shadow(22px 28px 26px rgba(0,0,0,.34));
}

.trusted-brands { border-top: 0; border-bottom: 0; }

@media (max-width: 960px) {
  .john-portrait { height: 560px; }
  .john-portrait img { width: min(112%, 470px); }
}

@media (max-width: 680px) {
  .john-main-grid { border-bottom: 0; }
  .john-portrait {
    width: calc(100% + 4vw);
    height: 500px;
    margin: 22px -2vw 18px;
    overflow: visible;
  }
  .john-portrait::before {
    left: 10%;
    right: 10%;
    top: 20%;
    bottom: 0;
    border-radius: 24px;
  }
  .john-portrait img {
    width: min(112%, 410px);
    max-width: none;
    height: auto;
    margin-bottom: -1px;
  }
}

/* ========================================================================== 
   REFINAMENTO EDITORIAL · fotografia, ritmo e profundidade
   ========================================================================== */
.proposal-bridge {
  background: #fff;
  color: #24160f;
  padding: 104px 0 96px;
  border: 0;
}

.proposal-bridge .hibria-pill {
  background: #24150e;
  border-color: #24150e;
  color: #f0cf99;
}

.proposal-bridge .section-eyebrow-dark { color: #8d5733; }
.proposal-bridge .bridge-title { color: #1d110b; max-width: 940px; }
.proposal-bridge .bridge-title em { color: #a9673c; }
.proposal-bridge .bridge-lead { color: #5d4738; }
.proposal-bridge .bridge-note-box {
  background: transparent;
  border: 0;
  border-top: 1px solid #d9c9bb;
  border-radius: 0;
  padding: 22px 0 0;
  backdrop-filter: none;
}
.proposal-bridge .bridge-note-box p { color: #6b5546; }
.proposal-bridge .bridge-note-box strong { color: #29170e; }

.proposal-light-canvas {
  background: radial-gradient(ellipse at 18% 6%, #3a2418 0%, #24150e 43%, #160c08 100%);
  color: #f4e8dc;
  padding: 0 0 112px;
  border: 0;
}

.john-spotlight {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 126px;
  box-shadow: none;
}

.john-main-grid {
  grid-template-columns: minmax(360px, .88fr) 1.12fr;
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
  min-height: 760px;
  margin: 0;
  padding: 0;
  border: 0;
}

.john-portrait {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: -42px 0 0;
  position: relative;
}

.john-portrait::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 3%;
  bottom: 3%;
  height: 11%;
  border-radius: 50%;
  background: #070302;
  filter: blur(28px);
  opacity: .65;
  z-index: 0;
}

.john-portrait img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 530px);
  height: auto;
  max-height: 820px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(24px 30px 30px rgba(0,0,0,.38));
}

.john-narrative { gap: 0; padding: 72px 0 44px; }
.john-narrative .light-eyebrow { color: #d9ab74; margin-bottom: 22px; }
.john-narrative .light-eyebrow::before { background: #d9ab74; }
.john-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(46px, 6vw, 76px);
  line-height: .96;
  letter-spacing: -2.6px;
  color: #fff8ef;
  margin: 0;
}
.john-role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: #d5b28c;
  margin: 17px 0 34px;
}
.john-lead { color: #f0e3d5; font-size: 17px; font-weight: 400; }
.john-body { color: #cbb6a4; margin-top: 18px; }

.trusted-brands {
  margin: -16px 0 58px;
  padding: 34px 0 38px;
  border-top: 1px solid rgba(232, 202, 171, .2);
  border-bottom: 1px solid rgba(232, 202, 171, .2);
}

.trusted-brands h4 {
  margin: 0 0 30px;
  color: #c8ad96;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.trusted-brands-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
  width: 100%;
}

.trusted-brand {
  min-width: 0;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted-brand img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  opacity: .72;
  filter: grayscale(1);
}

.trusted-brand:nth-child(1) img,
.trusted-brand:nth-child(7) img,
.trusted-brand:nth-child(8) img { max-height: 36px; }

.trusted-brand:nth-child(2) img { max-height: 24px; }

.contributions-row {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(232, 202, 171, .2);
  border-bottom: 1px solid rgba(232, 202, 171, .2);
  gap: 0;
}
.contribution-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 30px 30px 34px 0;
  box-shadow: none;
}
.contribution-item + .contribution-item {
  border-left: 1px solid rgba(232, 202, 171, .16);
  padding-left: 30px;
}
.contribution-item:hover { transform: none; border-color: rgba(232, 202, 171, .16); box-shadow: none; }
.contrib-index { color: #c58d57; }
.contribution-item h4 { color: #f6ebdf; }
.contribution-item p { color: #bfa895; }

.proposal-light-canvas .light-section-title,
.proposal-light-canvas .feature-title,
.proposal-light-canvas .editorial-col-card h4,
.proposal-light-canvas .timeline-step h5,
.proposal-light-canvas .infra-title,
.proposal-light-canvas .maintenance-title { color: #fff7ee; }
.proposal-light-canvas .light-section-title em { color: #dfad74; }
.proposal-light-canvas .light-eyebrow { color: #d9ab74; }
.proposal-light-canvas .light-eyebrow::before,
.proposal-light-canvas .section-heading-centered .light-eyebrow::after { background: #d9ab74; }
.proposal-light-canvas .light-section-lead { color: #c9b19d; }

.deliverables-editorial-section,
.process-editorial-section { margin-bottom: 118px; }
.deliverables-feature-duo {
  gap: 0;
  margin: 60px 0 14px;
  border-top: 1px solid rgba(232, 202, 171, .24);
  border-bottom: 1px solid rgba(232, 202, 171, .24);
}
.feature-block,
.feature-block.highlight-photo {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 42px 44px 42px 0;
  box-shadow: none;
}
.feature-block + .feature-block { border-left: 1px solid rgba(232, 202, 171, .18); padding-left: 44px; }
.feature-badge,
.infra-badge { background: transparent; color: #d9ab74; padding: 0; border-radius: 0; }
.feature-desc,
.editorial-col-card p,
.infra-text,
.maintenance-details-copy p { color: #c3ac99; }
.feature-note { color: #aa907b; border-color: rgba(232, 202, 171, .17); }

.deliverables-editorial-grid { gap: 0; border-bottom: 1px solid rgba(232, 202, 171, .2); }
.editorial-col-card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(232, 202, 171, .2);
  border-radius: 0;
  padding: 30px 34px 32px 0;
  box-shadow: none;
}
.editorial-col-card:nth-child(even) { border-left: 1px solid rgba(232, 202, 171, .16); padding-left: 34px; }
.editorial-col-card.full-width-card { padding-left: 0; }

.process-timeline {
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid rgba(232, 202, 171, .22);
  border-bottom: 1px solid rgba(232, 202, 171, .22);
}
.timeline-step {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 26px 14px;
  box-shadow: none;
}
.timeline-step + .timeline-step { border-left: 1px solid rgba(232, 202, 171, .14); }
.timeline-step:hover { transform: none; border-color: rgba(232, 202, 171, .14); }
.step-badge { background: transparent; color: #d8a66f; border: 1px solid rgba(216,166,111,.55); }
.timeline-step p { color: #aa917d; }
.process-clarification-box {
  background: transparent;
  border: 0;
  border-left: 2px solid #bd8150;
  border-radius: 0;
  margin-top: 28px;
}
.process-clarification-box p { color: #bba38f; }
.process-clarification-box strong { color: #f4e7da; }

.infrastructure-block,
.maintenance-block {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(232, 202, 171, .24);
  border-radius: 0;
  padding: 48px 0;
  box-shadow: none;
}
.infrastructure-block { margin-bottom: 50px; }
.maintenance-lead { color: #eadccd; }
.maintenance-details-copy .maintenance-caveat { color: #aa917d; }
.comp-col { border-radius: 3px; }

@media (max-width: 960px) {
  .john-main-grid { grid-template-columns: minmax(300px, .85fr) 1.15fr; gap: 36px; min-height: 650px; }
  .john-portrait img { max-height: 680px; }
  .process-timeline { grid-template-columns: repeat(4, 1fr); }
  .trusted-brands-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
}

@media (max-width: 680px) {
  .proposal-bridge { padding: 72px 0 66px; }
  .proposal-light-canvas { padding: 0 0 80px; }
  .john-spotlight { margin-bottom: 88px; }
  .john-main-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .john-portrait { height: 540px; margin: -18px -5vw 0; overflow: hidden; }
  .john-portrait img { width: auto; max-width: none; height: 560px; object-fit: contain; }
  .john-narrative { padding: 16px 0 46px; }
  .john-name { font-size: clamp(43px, 15vw, 64px); }
  .trusted-brands { margin: 0 0 42px; padding: 30px 0 34px; }
  .trusted-brands h4 { margin-bottom: 28px; text-align: left; }
  .trusted-brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 28px; }
  .trusted-brand { min-height: 38px; }
  .trusted-brand img { max-height: 28px; }
  .trusted-brand:nth-child(1) img,
  .trusted-brand:nth-child(7) img,
  .trusted-brand:nth-child(8) img { max-height: 34px; }
  .contributions-row { grid-template-columns: 1fr; }
  .contribution-item,
  .contribution-item + .contribution-item { padding: 24px 0; border-left: 0; border-top: 1px solid rgba(232, 202, 171, .14); }
  .deliverables-feature-duo { grid-template-columns: 1fr; }
  .feature-block,
  .feature-block + .feature-block { padding: 32px 0; border-left: 0; }
  .feature-block + .feature-block { border-top: 1px solid rgba(232, 202, 171, .18); }
  .editorial-col-card,
  .editorial-col-card:nth-child(even),
  .editorial-col-card.full-width-card { padding: 25px 0; border-left: 0; }
  .process-timeline { grid-template-columns: 1fr; }
  .timeline-step,
  .timeline-step + .timeline-step { border-left: 0; border-top: 1px solid rgba(232, 202, 171, .14); }
  .infrastructure-block,
  .maintenance-block { padding: 38px 0; }
}

/* ========================================================================== 
   REFINAMENTO V4 · cards, ícones, processo claro e entradas suaves
   ========================================================================== */
.john-main-grid {
  align-items: stretch;
  border-bottom: 1px solid rgba(232, 202, 171, .22);
}

.john-portrait {
  align-self: stretch;
  line-height: 0;
  margin-top: -42px;
  margin-bottom: 0;
}

.john-portrait img {
  align-self: flex-end;
  margin-bottom: -1px;
  transform: none;
}

.john-portrait::after { bottom: 0; }

.deliverables-feature-duo,
.deliverables-editorial-grid {
  gap: 22px;
  border: 0;
}

.deliverables-feature-duo { margin: 54px 0 22px; }

.feature-block,
.feature-block.highlight-photo,
.editorial-col-card,
.editorial-col-card:nth-child(even),
.editorial-col-card.full-width-card {
  background: linear-gradient(145deg, rgba(67, 40, 27, .88), rgba(38, 22, 15, .95));
  border: 1px solid rgba(229, 190, 146, .18);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 24px 60px rgba(7, 3, 2, .18), inset 0 1px rgba(255,255,255,.025);
}

.feature-block.highlight-photo {
  background: linear-gradient(145deg, rgba(82, 49, 31, .9), rgba(40, 23, 15, .96));
}

.editorial-col-card.full-width-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}

.feature-block + .feature-block { border-left: 1px solid rgba(229, 190, 146, .18); padding-left: 34px; }

.deliverable-icon {
  width: 44px;
  height: 44px;
  display: block;
  margin: 0 0 28px;
  color: #e0aa70;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.editorial-col-card.full-width-card .deliverable-icon { margin: 0; }
.feature-badge { margin-bottom: 14px; }

.maintenance-block {
  background: linear-gradient(145deg, rgba(58, 34, 23, .82), rgba(31, 18, 12, .94));
  border: 1px solid rgba(229, 190, 146, .16);
  border-radius: 30px;
  padding: 48px;
  box-shadow: 0 26px 70px rgba(7, 3, 2, .2);
}

.comp-col,
.comp-col.included,
.comp-col.budgeted {
  border-radius: 26px;
  padding: 30px;
  overflow: hidden;
}

.comp-col.included {
  background: #f6efe6;
  border: 1px solid #dec7b1;
}

.comp-col.budgeted {
  background: #fffaf5;
  border: 1px solid #e2cdb9;
}

.process-editorial-section {
  position: relative;
  isolation: isolate;
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  margin: 0 0 96px;
  padding: 104px 0 96px;
}

.process-editorial-section .light-eyebrow { color: #9c5e33; }
.process-editorial-section .light-eyebrow::before,
.process-editorial-section .section-heading-centered .light-eyebrow::after { background: #9c5e33; }
.process-editorial-section .light-section-title { color: #20130c; }
.process-editorial-section .light-section-title em { color: #a96538; }
.process-editorial-section .light-section-lead { color: #675043; }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 52px 0 0;
  border: 0;
}

.timeline-step,
.timeline-step + .timeline-step {
  position: relative;
  display: block;
  min-height: 180px;
  padding: 58px 25px 26px;
  text-align: left;
  background: #f7f3ee;
  border: 1px solid #eadfd5;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(52, 31, 20, .06);
}

.timeline-step:hover {
  transform: translateY(-2px);
  border-color: #d8b99e;
}

.step-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  background: transparent;
  color: #a46237;
  font-size: 22px;
  font-style: italic;
  line-height: 1;
}

.timeline-step h5 {
  color: #24150e !important;
  font-size: 15px;
  margin: 0 0 9px;
}

.timeline-step p { color: #6a5142; font-size: 12.5px; line-height: 1.6; }

.process-clarification-box {
  margin-top: 24px;
  padding: 22px 26px;
  background: #fbf8f4;
  border: 1px solid #eadfd5;
  border-left: 4px solid #b87546;
  border-radius: 18px;
}
.process-clarification-box p { color: #624b3d; }
.process-clarification-box strong { color: #23150e; }

.reveal-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.75,.25,1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-ready .john-portrait.reveal-on-scroll {
  transform: none;
  transition: opacity 560ms ease;
}

@media (max-width: 960px) {
  .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .john-main-grid { border-bottom: 1px solid rgba(232, 202, 171, .22); }
  .john-portrait {
    height: auto;
    min-height: 0;
    margin: -18px -5vw 0;
    overflow: visible;
  }
  .john-portrait img {
    width: min(100%, 430px);
    max-width: 100%;
    height: auto;
    max-height: none;
    margin-bottom: -1px;
  }
  .deliverables-feature-duo,
  .deliverables-editorial-grid { gap: 16px; }
  .feature-block,
  .feature-block + .feature-block,
  .feature-block.highlight-photo,
  .editorial-col-card,
  .editorial-col-card:nth-child(even),
  .editorial-col-card.full-width-card {
    border: 1px solid rgba(229, 190, 146, .18);
    border-radius: 26px;
    padding: 28px;
  }
  .editorial-col-card.full-width-card {
    display: block;
  }
  .editorial-col-card.full-width-card .deliverable-icon { margin-bottom: 28px; }
  .maintenance-block { padding: 30px 22px; border-radius: 28px; }
  .comp-col,
  .comp-col.included,
  .comp-col.budgeted { border-radius: 24px; padding: 25px 22px; }
  .process-editorial-section { padding: 76px 0 72px; margin-bottom: 74px; }
  .process-timeline { grid-template-columns: 1fr; gap: 14px; }
  .timeline-step,
  .timeline-step + .timeline-step {
    min-height: 0;
    padding: 54px 24px 24px;
    border: 1px solid #eadfd5;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal-on-scroll,
  .reveal-ready .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Retrato V5 · overrides finais */
.john-main-grid { align-items: center; border-bottom: 0; }
.john-portrait {
  align-self: center;
  width: 100%;
  height: 620px;
  margin: 0;
  overflow: visible;
  isolation: isolate;
}
.john-portrait::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 11%;
  right: 11%;
  top: 20%;
  bottom: 0;
  border: 1px solid rgba(222, 181, 137, .42);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(106, 68, 45, .08), rgba(255,255,255,.015));
  pointer-events: none;
}
.john-portrait::after { left: 13%; right: 6%; bottom: -1%; height: 9%; opacity: .52; }
.john-portrait img {
  width: min(112%, 540px);
  max-width: none;
  max-height: none;
  margin: 0 0 -1px;
  filter: drop-shadow(22px 28px 26px rgba(0,0,0,.34));
}
.trusted-brands { border-top: 0; border-bottom: 0; }

@media (max-width: 960px) {
  .john-portrait { height: 560px; }
  .john-portrait img { width: min(112%, 470px); }
}

@media (max-width: 680px) {
  .john-main-grid { border-bottom: 0; }
  .john-portrait {
    width: 100%;
    height: clamp(374px, calc(120vw - 58px), 458px);
    min-height: 0;
    margin: -34px 0 18px;
    overflow: visible;
    position: relative;
    z-index: 2;
  }
  .john-portrait::before { left: 10%; right: 10%; top: 20%; bottom: 0; border-radius: 24px; }
  .john-portrait img { width: 80%; max-width: none; height: auto; max-height: none; margin-bottom: -1px; }
  .trusted-brand img { transform: scale(.85); }
}
