/* =========================================================================
   VesteCamila — editorial sections
   Home page + Serviços (index + individual service pages).
   Design system lives in base.css. Linked as `editorial.css` (home) and
   `../editorial.css` (serviços subpages).
   ========================================================================= */

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .kicker { margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.section-head .lead { margin-top: 20px; color: var(--offblack); max-width: var(--measure); }

/* Section index number (top-right editorial folio) */
.folio {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe);
  display: flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.folio::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* =========================================================================
   COVER  (home hero)
   ========================================================================= */
.cover {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--bege);
  background-color: #2b2b2b;
  background-position: center 22%;
  background-size: cover;
  background-repeat: no-repeat;
}
/* soft grey overlay (separate layer, so the photo stays a plain background-image) */
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.30);
  z-index: 1;
}
.cover-inner { position: relative; z-index: 2; }
.cover h1, .cover .cover-sub { text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.cover-inner {
  width: 100%;
  padding-bottom: clamp(48px, 8vw, 96px);
  padding-top: 200px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.cover .kicker { color: var(--bege); margin-bottom: 22px; }
.cover h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 40px rgba(0,0,0,.35); }
.cover h1 em { color: var(--bege); }
.cover-sub {
  margin-top: 26px; max-width: 46ch; color: rgba(247,245,241,.94);
  font-size: 28px; line-height: 1.5; font-weight: 500;
}
.cover-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Magazine "cover lines" column, right side */
.cover-lines { text-align: right; display: flex; flex-direction: column; gap: 16px; padding-bottom: 6px; }
.cover-lines .cl {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(247,245,241,.85);
}
.cover-lines .cl b { color: var(--vermelho); font-weight: 700; }

/* =========================================================================
   MANIFESTO  (big editorial statement)
   ========================================================================= */
.manifesto { background: var(--bege); }
.manifesto .container { display: grid; grid-template-columns: 1fr; gap: 28px; }
.manifesto blockquote {
  margin: 0;
  font-family: 'Libre Caslon Text', serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 20ch;
}
.manifesto blockquote em { color: var(--vermelho); font-style: italic; }
.manifesto .manifesto-body {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 48px;
  max-width: 900px; margin-top: 10px;
}
.manifesto .manifesto-body p { color: var(--offblack); }
.manifesto .signature {
  font-family: 'Libre Caslon Text', serif; font-weight: 700; font-style: italic; font-size: 32px; color: var(--vermelho-deep);
}

/* =========================================================================
   SPREAD  (editorial statement — image beside a dark pull-quote panel)
   ========================================================================= */
.spread { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.spread .sp-img { background-color: #2b2b2b; background-position: center; background-size: cover; background-repeat: no-repeat; min-height: 70vh; }
.spread .sp-quote {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 7vw, 110px);
  background: var(--ink); color: var(--bege);
}
.spread .sp-quote .kicker { color: var(--vermelho); margin-bottom: 26px; }
.spread .sp-quote blockquote {
  margin: 0; font-family: 'Libre Caslon Text', serif; font-weight: 700; font-style: italic;
  font-size: 46px; line-height: 1.18; color: var(--bege);
}
.spread .sp-quote blockquote em { color: var(--vermelho); }
.spread .sp-quote .attr {
  margin-top: 30px; font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe);
}

/* =========================================================================
   SUMÁRIO  (services contents — numbered index rows)
   ========================================================================= */
.sumario .idx-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 30px 12px;
  border-top: 1px solid var(--line);
  transition: background-color .35s ease, padding-left .35s ease;
}
.sumario .idx-row:last-child { border-bottom: 1px solid var(--line); }
.sumario .idx-row:hover { background: var(--bege); padding-left: 26px; }
.idx-num {
  font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 46px;
  color: var(--taupe); min-width: 1.6em; transition: color .3s ease;
}
.sumario .idx-row:hover .idx-num { color: var(--vermelho); }
.idx-main h3 { margin: 0 0 6px; }
.idx-main p { margin: 0; font-style: italic; color: var(--taupe); font-size: 25px; }
.idx-format {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 18px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe);
  text-align: right; white-space: nowrap;
}
.idx-arrow {
  font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 32px; color: var(--ink);
  transition: transform .3s ease, color .3s ease;
}
.sumario .idx-row:hover .idx-arrow { transform: translateX(8px); color: var(--vermelho); }

/* =========================================================================
   JORNADA  (the method — 7 chapters)
   ========================================================================= */
.jornada { background: var(--ink); color: var(--bege); }
.jornada .section-head h2 { color: var(--bege); }
.jornada .section-head .kicker { color: var(--vermelho); }
.jornada .section-head .lead { color: rgba(228,226,221,.75); }
.chapters { margin-top: 20px; border-top: 1px solid var(--line-light); }
.chapter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line-light);
}
.chapter .ch-num {
  font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 62px;
  color: var(--vermelho); line-height: .9;
}
.chapter h3 { color: var(--bege); margin: 0 0 14px; }
.chapter p { color: rgba(228,226,221,.85); max-width: var(--measure); margin: 0; font-size: 24px; }

/* =========================================================================
   ABOUT teaser (home)
   ========================================================================= */
.abouts .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.abouts .abouts-img { position: relative; }
.abouts .abouts-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.abouts .abouts-img .tag {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--vermelho); color: var(--bege);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 17px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px;
}
.abouts h2 { margin: 18px 0 20px; }
.abouts p { color: var(--offblack); margin-bottom: 16px; }
.abouts .btn, .abouts .link-underline { margin-top: 16px; }

/* =========================================================================
   CLOSING CTA band
   ========================================================================= */
.closing {
  position: relative;
  color: var(--bege);
  text-align: center;
  padding: 96px 0;
  background-color: var(--ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.30);
  z-index: 1;
}
.closing .container { position: relative; z-index: 2; }
.closing h2, .closing p, .closing .kicker { text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.closing .kicker { color: var(--bege); }
.closing h2 { color: #fff; max-width: 18ch; margin: 20px auto 30px; }
.closing p { color: rgba(247,245,241,.9); max-width: 52ch; margin: 0 auto 36px; }

/* =========================================================================
   SERVICE PAGES
   ========================================================================= */
/* Hero: split — editorial title block + image */
.service-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 78vh;
}
/* Text-only hero variant (individual service pages carry their photo only in
   the closing band, so the hero is a clean typographic block on paper). */
.service-hero--text { grid-template-columns: 1fr; min-height: auto; }
.service-hero--text .sh-text {
  max-width: var(--maxw); width: 100%; margin: 0 auto;
  padding: clamp(96px, 13vw, 168px) clamp(20px, 5vw, 56px) clamp(56px, 8vw, 96px);
}
.service-hero .sh-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(60px, 9vw, 120px) clamp(24px, 5vw, 72px);
  background: var(--paper);
}
.service-hero .sh-text .kicker { margin-bottom: 22px; }
.service-hero .sh-text h1 { margin-bottom: 24px; }
.service-hero .sh-text .lead { color: var(--offblack); max-width: 40ch; }
.service-hero .sh-text .sh-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.service-hero .sh-text .sh-meta span {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe);
}
.service-hero .sh-actions { margin-top: 36px; }

/* Chapter breakdown on service pages */
.breakdown .section-head { margin-bottom: 8px; }
.chaplist { border-top: 1px solid var(--line); }
.chaplist .cl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.chaplist .cl-num { font-family: 'Libre Caslon Text', serif; font-weight: 700; font-size: 50px; color: var(--vermelho); line-height: .9; }
.chaplist h3 { margin: 0 0 6px; }
.chaplist .cl-tag {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe);
  display: block; margin-bottom: 16px;
}
.chaplist p { color: var(--offblack); max-width: var(--measure); margin: 0; font-size: 24px; }

/* Single-step service (Express, Cores) */
.single-step { background: var(--bege); }
.single-step .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,6vw,72px); align-items: center; }
.single-step .ss-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
/* Text-only variant (photo lives in the closing band instead) */
.single-step--text .container { grid-template-columns: 1fr; max-width: 900px; }
.single-step h2 { margin: 14px 0 20px; }
.single-step p { color: var(--offblack); }

/* "Como acontece / Você leva" info block */
.entrega { background: var(--ink); color: var(--bege); }
.entrega .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.entrega .en-col h4 {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 20px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--vermelho); margin: 0 0 18px;
}
.entrega .en-col p { color: rgba(228,226,221,.88); max-width: 48ch; }
.entrega .leva-list { list-style: none; margin: 0; padding: 0; }
.entrega .leva-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line-light);
  display: flex; gap: 14px; align-items: baseline; color: var(--bege); font-size: 24px;
}
.entrega .leva-list li::before { content: "—"; color: var(--vermelho); }

/* Service pager (prev / all / next) */
.service-pager {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 40px 0;
}
.service-pager a {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe);
  transition: color .2s ease;
}
.service-pager a:hover { color: var(--vermelho); }

/* =========================================================================
   MODERNIZO  (centered highlighted statement)
   ========================================================================= */
.modernizo { text-align: center; background: var(--paper); }
.modernizo .container { display: flex; flex-direction: column; align-items: center; }
.modernizo .kicker { margin-bottom: 24px; }
.modernizo__text {
  max-width: 660px; margin: 0;
  font-family: 'Libre Caslon Text', serif; font-weight: 700;
  font-size: 40px; line-height: 1.3; color: var(--ink);
}
.modernizo__text em { color: var(--vermelho-deep); font-style: italic; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* Fluid overrides for the fixed-px display sizes on smaller screens */
@media (max-width: 900px) {
  h1 { font-size: 50px; }
  h2 { font-size: 36px; }
  h3 { font-size: 28px; }
  .lead { font-size: 26px; }
  .cover-sub { font-size: 25px; }
  .manifesto blockquote { font-size: 40px; }
  .spread .sp-quote blockquote { font-size: 34px; }
  .idx-num { font-size: 36px; }
  .idx-arrow { font-size: 28px; }
  .chapter .ch-num { font-size: 46px; }
  .chaplist .cl-num { font-size: 40px; }
  .modernizo__text { font-size: 32px; }
  .persona__title { font-size: 36px; }
  .persona-row__title { font-size: 30px; }
  .persona-row__desc { font-size: 25px; }
  .persona-row::before { font-size: 38px; }
  .shift__title { font-size: 36px; }
  .shift-antes p, .shift-depois p { font-size: 26px; }
  .proof__title { font-size: 36px; }
  .quote-card blockquote { font-size: 26px; }
  .footer-top .wordmark { font-size: 40px; }
}
@media (max-width: 560px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .idx-num { font-size: 32px; }
  .chapter .ch-num { font-size: 40px; }
  .modernizo__text { font-size: 29px; }
}

@media (max-width: 900px) {
  .cover-inner { grid-template-columns: 1fr; padding-top: 160px; }
  .cover-lines { display: none; }
  .manifesto .manifesto-body { grid-template-columns: 1fr; gap: 20px; }
  .spread { grid-template-columns: 1fr; }
  .spread .sp-img { min-height: 60vh; }
  .sumario .idx-row { grid-template-columns: auto 1fr auto; gap: 16px; padding: 22px 6px; }
  .sumario .idx-row:hover { padding-left: 12px; }
  .idx-format { display: none; }
  .chapter { grid-template-columns: 64px 1fr; gap: 18px; padding: 30px 0; }
  .abouts .container { grid-template-columns: 1fr; }
  .abouts .abouts-img { max-width: 460px; }
  .service-hero { grid-template-columns: 1fr; min-height: 0; }
  .chaplist .cl-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; }
  .single-step .container { grid-template-columns: 1fr; }
  .single-step .ss-img { max-width: 460px; }
  .entrega .container { grid-template-columns: 1fr; }
}

/* Service pager: no mobile, empilhar e caber em uma linha por link */
@media (max-width: 900px) {
  .service-pager { flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px 0; }
  .service-pager a { font-size: clamp(10px, 2.8vw, 14px); letter-spacing: .03em; white-space: nowrap; }
}

/* Mobile: reduz o TEXTO DE CORPO (parágrafos, leads, listas).
   Não mexe no menu do topo nem nos títulos. */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .lead { font-size: 18px; }
  .cover-sub { font-size: 18px; }
  .chaplist p { font-size: 16px; }
  .entrega .en-col p { font-size: 17px; }
  .entrega .leva-list li { font-size: 16px; }
  .single-step p { font-size: 17px; }
  .persona-row__desc { font-size: 17px; }
  .shift-antes p, .shift-depois p { font-size: 18px; }
  .quote-card blockquote { font-size: 18px; }
  .quote-card .q-name { font-size: 13px; letter-spacing: .1em; }
  .quote-card .q-meta { font-size: 12px; }
  /* rodapé acompanha o corpo menor no mobile */
  .footer-top p { font-size: 15px; }
  .footer-col h5 { font-size: 13px; }
  .footer-col a, .footer-col span { font-size: 15px; }
  /* títulos um pouco menores no mobile */
  h1 { font-size: 33px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  /* títulos de seção da home (classes próprias) */
  .persona__title, .shift__title, .proof__title { font-size: 24px; }
  .persona-row__title { font-size: 20px; }
  .persona__foot-text { font-size: 20px; }
  .modernizo__text { font-size: 21px; }
  .spread .sp-quote blockquote { font-size: 22px; }
  .manifesto blockquote { font-size: 24px; }
  /* CTA da closing e da cover menores no mobile */
  .closing .btn, .cover .btn { font-size: 14px; padding: .85em 1.25em; letter-spacing: .12em; }
  /* link "Conheça a minha história" menor no mobile */
  .link-underline { font-size: 14px; letter-spacing: .12em; }
}
