/* =========================================================================
   VesteCamila — EDITORIAL design system  (Vol. 01)
   A fashion-magazine take on Camila's identity: Didone display (Bodoni Moda),
   Garamond running text, mono labels, and her terracota/bege palette.

   Linked by EVERY page: `base.css` on home, `../base.css` on subpages.
   Section styles live in editorial.css (home + serviços) and sobre/sobre.css.
   ========================================================================= */

:root {
  /* --- Palette (Camila's tokens + editorial neutrals) ------------------ */
  --vermelho:      #db4a2b;              /* terracota — the accent           */
  --vermelho-deep: #b23a1f;              /* darker terracota for text/hover  */
  --ink:           #1c1a19;              /* editorial near-black             */
  --offblack:      #2b2b2b;
  --bege:          #e4e2dd;              /* offwhite / warm panel            */
  --bege-2:        #efece6;              /* lighter warm panel               */
  --taupe:         #8c8478;              /* secondary meta (from the carta)  */
  --paper:         #f7f5f1;              /* page background                  */
  --line:          rgba(28, 26, 25, .16);
  --line-light:    rgba(247, 245, 241, .28);
  --maxw:          1240px;
  --measure:       62ch;                 /* readable text column            */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

strong red {
  font-color: var(--vermelho);
  font-style: italic;
}
body {
  margin: 0px;
  background: var(--bege);
  color: var(--ink);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 26px;
  line-height: 1.72;
  font-weight: 500;
  font-feature-settings: "liga" 1, "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a   { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--vermelho); color: var(--bege); }

/* --- Display / headings: Libre Caslon Text (legible editorial serif) --- */
h1, h2, h3, h4 {
  font-family: 'Libre Caslon Text', 'EB Garamond', serif;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h1 { font-size: 70px; font-weight: 500; }
h2 { font-size: 46px; font-weight: 600; }
h3 { font-size: 32px; }
h4 { font-size: 26px; line-height: 1.3; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
em, i { font-style: italic; }

/* --- Editorial label / kicker (mono, tracked, uppercase) -------------- */
.kicker {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--vermelho);
  display: inline-block;
}
.kicker--taupe { color: var(--taupe); }
.kicker--light { color: var(--bege); }

.meta {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
}

.lead { font-size: 30px; line-height: 1.55; font-weight: 500; }

/* --- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding:clamp(20px, 5vw, 56px); }
.page { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
.rule { height: 1px; background: var(--ink); border: 0; }
.rule--thin { background: var(--line); }

/* --- Buttons (mono, letter-spaced — the "editorial" CTA) -------------- */
.btn {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.05em 1.7em;
  background: var(--vermelho);
  color: var(--bege);
  border: 1px solid var(--vermelho);
  border-radius: 0;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--bege); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bege); }
.btn--light { background: transparent; color: var(--bege); border-color: var(--bege); }
.btn--light:hover { background: var(--bege); color: var(--ink); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Text link with underline sweep */
.link-underline {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--vermelho-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color .2s ease, letter-spacing .2s ease;
}
.link-underline:hover { color: var(--ink); letter-spacing: .22em; }

/* =========================================================================
   MASTHEAD  (top ribbon + navigation)
   Overlay (white) over the home cover; solid (paper) on inner pages.
   ========================================================================= */
.siteheader { position: relative; z-index: 30; }

.ribbon {
  background: var(--ink);
  color: var(--bege);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 18px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.masthead .wordmark {
  grid-column: 2;
  justify-self: center;
  font-family: 'Libre Caslon Text', serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: .01em;
  color: var(--ink);
}
.masthead .nav-links {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.masthead .nav-links a { color: var(--ink); position: relative; padding-bottom: 3px; transition: color .2s ease; }
.masthead .nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--vermelho); transition: right .25s ease;
}
.masthead .nav-links a:hover::after,
.masthead .nav-links a.active::after { right: 0; }
.masthead .nav-links a.active { color: var(--vermelho-deep); }
.masthead .nav-cta { grid-column: 3; justify-self: end; }
.masthead .nav-cta .btn { padding: .8em 1.3em; font-size: 17px; }

/* Overlay variant — sits over the dark cover image on the home page */
.siteheader--overlay { position: absolute; top: 0; left: 0; width: 100%; }
.siteheader--overlay .ribbon { background: transparent; color: var(--bege); border-bottom: 1px solid var(--line-light); }
.siteheader--overlay .masthead { border-bottom: 1px solid var(--line-light); }
.siteheader--overlay .wordmark,
.siteheader--overlay .nav-links a { color: var(--bege); }
.siteheader--overlay .nav-links a.active { color: #fff; }
.siteheader--overlay .nav-links a::after { background: var(--bege); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--bege); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 72px clamp(20px, 5vw, 56px) 48px;
  border-bottom: 1px solid var(--line-light);
}
.footer-top .wordmark { font-family: 'Libre Caslon Text', serif; font-weight: 600; font-size: 48px; color: var(--bege); margin-bottom: 14px; }
.footer-top p { color: rgba(228,226,221,.75); font-size: 19px; line-height: 1.6; }
.footer-col h5 {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--vermelho); margin: 0 0 18px;
}
.footer-col a, .footer-col span {
  display: block; margin-bottom: 12px; font-size: 20px; color: var(--bege);
  transition: color .2s ease;
}
.footer-col a:hover { color: var(--vermelho); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px clamp(20px, 5vw, 56px);
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(228,226,221,.65);
}
.footer-bottom .credit { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .credit img { height: 18px; width: auto; filter: brightness(0) invert(1); opacity: .8; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  body { font-size: 24px; }
  .masthead { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 12px 16px; padding: 14px 20px; }
  .masthead .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .masthead .nav-cta { grid-column: 2; grid-row: 1; }
  .masthead .nav-links {
    grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap;
    gap: 12px 18px; padding-top: 12px; border-top: 1px solid var(--line);
  }
  .siteheader--overlay .masthead .nav-links { border-top: 1px solid var(--line-light); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding: 56px 20px 40px; }
  .footer-top .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ribbon { font-size: 17px; letter-spacing: .22em; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn { padding: .95em 1.4em; font-size: 19px; }
}
/* =========================================================================
   PERSONA · "É pra você?"  — índice editorial de para quem é o trabalho
   ========================================================================= */
.persona { padding: 72px 0; background: var(--paper); }

.persona__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.persona__head .kicker { margin-bottom: 22px; }
.persona__title { font-size: 46px; margin-bottom: 28px; }
.persona__lead { color: var(--offblack); max-width: var(--measure); }

.persona-list {
  list-style: none; margin: 0; padding: 0;
  counter-reset: persona;
  border-top: 1px solid var(--ink);
}

.persona-row {
  counter-increment: persona;
  display: grid;
  grid-template-columns: auto 1fr minmax(220px, 300px);
  align-items: start;
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(28px, 4vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease;
}

/* número automático 01–04 */
.persona-row::before {
  content: counter(persona, decimal-leading-zero);
  font-family: 'Libre Caslon Text', serif;
  font-weight: 500;
  font-size: 46px;
  line-height: 1;
  color: var(--taupe);
  transition: color .3s ease;
}

.persona-row__title {
  font-size: 34px;
  font-weight: 500; line-height: 1.14;
  margin-bottom: .5em; max-width: 24ch;
}
.persona-row__desc {
  font-size: 26px; line-height: 1.6;
  color: var(--offblack); margin: 0; max-width: 46ch;
}

.persona-row__result {
  align-self: center; margin: 0;
  font-size: 24px; line-height: 1.45; font-style: italic;
  color: var(--ink);
  padding-left: clamp(16px, 2vw, 28px);
  border-left: 2px solid var(--vermelho);
}
.persona-row__result-label {
  display: block;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 18px; font-style: normal; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--vermelho); margin-bottom: 8px;
}

/* hover: número e acento ganham vida */
.persona-row:hover { background: var(--bege-2); }
.persona-row:hover::before { color: var(--vermelho); }

.persona__foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-top: clamp(34px, 5vw, 60px);
}
.persona__foot-text {
  font-family: 'Libre Caslon Text', serif; font-style: italic;
  font-size: 30px; color: var(--ink); margin: 0;
}

/* responsivo */
@media (max-width: 860px) {
  .persona-row { grid-template-columns: auto 1fr; gap: 8px 20px; }
  .persona-row__result {
    grid-column: 1 / -1;
    border-left: 0; border-top: 1px solid var(--line);
    padding-left: 0; padding-top: 18px; margin-top: 6px;
  }
}
@media (max-width: 480px) {
  .persona-row { grid-template-columns: 1fr; }
  .persona-row::before { font-size: 38px; }
}
/* =========================================================================
   SHIFT · "O que muda"  — spread editorial antes → depois (fundo escuro)
   ========================================================================= */
.shift { padding: 72px 0; background: var(--ink); color: var(--bege); }

.shift__head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 70px); }
.shift__head .kicker { margin-bottom: 22px; }
.shift__title { color: var(--bege); font-size: 46px; margin-bottom: 24px; }
.shift__lead { color: rgba(228, 226, 221, .72); max-width: var(--measure); }

.shift-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }

.shift-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  padding: clamp(26px, 3.6vw, 44px) 0;
  border-bottom: 1px solid var(--line-light);
}

.shift-label {
  display: block;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 18px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 12px;
}
.shift-antes .shift-label { color: var(--taupe); }
.shift-depois .shift-label { color: var(--vermelho); }

.shift-antes p { margin: 0; font-size: 30px; line-height: 1.5; color: rgba(228, 226, 221, .55); }

.shift-depois p {
  margin: 0;
  font-family: 'Libre Caslon Text', serif;
  font-size: 30px;
  font-weight: 500; line-height: 1.2;
  color: var(--bege);
}
.shift-depois em { color: var(--vermelho); font-style: italic; }

.shift-arrow {
  font-size: 32px;
  color: var(--vermelho); line-height: 1;
  transition: transform .3s ease;
}
.shift-row:hover .shift-arrow { transform: translateX(6px); }

/* responsivo — empilha e gira a seta pra baixo */
@media (max-width: 760px) {
  .shift-row { grid-template-columns: 1fr; gap: 14px; }
  .shift-arrow { justify-self: start; transform: rotate(90deg); }
  .shift-row:hover .shift-arrow { transform: rotate(90deg) translateX(6px); }
}
/* =========================================================================
   PROOF · Depoimentos — mural terracota, rolagem horizontal (sem fotos)
   ========================================================================= */
.proof { background: var(--ink); color: var(--bege); padding: 72px 0; overflow: hidden; }

.proof__head { max-width: 900px; margin-bottom: clamp(30px, 4vw, 48px); }
.proof__head .kicker { color: var(--bege); margin-bottom: 20px; }
.proof__title { color: var(--bege); font-size: 46px; margin-bottom: 18px; }
.proof__hint {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 19px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(228, 226, 221, .8);
}

.proof-track {
  display: flex;
  gap: clamp(18px, 2.5vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px clamp(20px, 5vw, 56px) 30px;
  scrollbar-width: none;
}
.proof-track::-webkit-scrollbar { display: none; }

.quote-card {
  scroll-snap-align: start;
  flex: 0 0 min(86vw, 460px);
  display: flex; flex-direction: column;
  background: var(--bege); color: var(--ink);
  border-top: 3px solid var(--vermelho-deep);
  padding: clamp(30px, 3.4vw, 44px);
  margin: 0;
}
.quote-card .q-mark {
  font-family: 'Libre Caslon Text', serif; font-weight: 700;
  font-size: 60px; line-height: .9; color: var(--vermelho);
  margin-bottom: 12px;
}
.quote-card blockquote {
  flex: 1; margin: 0 0 26px;
  font-family: 'Libre Caslon Text', serif; font-style: italic; font-weight: 500;
  font-size: 28px; line-height: 1.34; color: var(--ink);
}
.quote-card figcaption { border-top: 1px solid var(--line); padding-top: 16px; }
.quote-card .q-name {
  display: block;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-weight: 700; font-size: 19px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vermelho-deep);
}
.quote-card .q-meta {
  display: block; margin-top: 6px;
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe);
}

@media (max-width: 560px) { .quote-card { flex-basis: 84vw; } }

/* =========================================================================
   WORDMARK LOGO  (substitui o wordmark de texto pela logo-vestecamila.png)
   ========================================================================= */
.wordmark-logo { display: block; width: auto; max-width: none; }
.masthead .wordmark { line-height: 0; }
.masthead .wordmark-logo { height: 42px; }
.siteheader--overlay .wordmark-logo { filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.5)); }
.footer-top .wordmark { line-height: 0; }
.footer-top .wordmark-logo { height: 52px; }
@media (max-width: 900px) {
  .masthead .wordmark-logo { height: clamp(28px, 8.2vw, 40px); }
  .footer-top .wordmark-logo { height: 44px; }
  /* menu em UMA linha: sem quebra, distribuído e com fonte fluida */
  .masthead .nav-links {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
    font-size: clamp(11px, 3.2vw, 13px);
    letter-spacing: .06em;
  }
  /* botão do menu compacto pra caber ao lado da logo */
  .masthead .nav-cta .btn { font-size: 12px; padding: .6em .9em; letter-spacing: .08em; }
}
@media (max-width: 560px) {
  .masthead .nav-cta .btn { font-size: 11px; padding: .55em .75em; }
}
