/* Tokens extraidos do mockup "Landing - Responsabilidade Social" */
:root {
  --cream: #FDFBF6;
  --white: #FFFFFF;
  --ink: #1E2530;
  --navy: #22364F;
  --slate: #4A515B;
  --rust: #9A5632;
  --rust-dark: #7E4426;
  --rust-mid: #8C4D2C;
  --copper: #C4894B;
  --bronze: #8A5A28;
  --taupe: #AE9686;
  --olive: #6B7A45;
  --olive-dark: #5E6B3C;
  --gold: #E2B57F;
  --peach: #F2D2AE;
  --peach-soft: #F5DCC4;
  --sand: #F0E8DC;
  --line: #E8E1D6;
  --gray: #6E747C;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --container: 1280px;
  --gutter: 32px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--rust); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
section[id] { scroll-margin-top: 16px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  padding: 10px 16px; background: var(--navy); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.serif { font-family: var(--serif); }
.accent { font-style: italic; font-weight: 300; }

/* Eyebrows / rotulos */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }
.label-sm { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.section-tag { display: flex; align-items: baseline; gap: 18px; }
.section-tag__num { font-family: var(--serif); font-size: 18px; font-weight: 600; }

.h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 56px); line-height: 1.08; }

/* Botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--outline { padding: 15px 25px; border: 1px solid currentColor; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--ink); color: var(--white); }
.btn--outline-navy { color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }
.btn--cream { background: var(--cream); color: var(--rust); }
.btn--cream:hover { background: var(--white); color: var(--rust-dark); }
.btn--outline-gold { color: var(--cream); border-color: var(--gold); }
.btn--outline-gold:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--outline-ink { color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: var(--white); }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header__inner {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-header__logo { display: flex; align-items: center; padding: 6px 0; text-decoration: none; }
.site-header__logo img { height: 40px; width: auto; max-width: 72vw; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { padding: 12px 14px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--slate); }
.nav a:hover { color: var(--rust); }
.nav .nav__cta { margin-left: 8px; padding: 12px 20px; font-weight: 600; color: var(--white); background: var(--rust); }
.nav .nav__cta:hover { color: var(--white); background: var(--rust-dark); }

/* Hero */
.hero { background: var(--cream); }
.hero__inner {
  padding-top: 80px; padding-bottom: 96px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__kicker { display: flex; align-items: center; gap: 14px; }
.hero__kicker-line { width: 40px; height: 2px; background: var(--copper); flex: none; }
.hero__kicker .eyebrow { color: var(--bronze); }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5.4vw, 74px); line-height: 1.04; letter-spacing: -0.01em; color: var(--navy);
}
.hero h1 em { color: var(--rust); }
.hero__lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero__frame { position: relative; aspect-ratio: 1 / 1; max-width: 560px; margin: 0 auto; background: var(--navy); overflow: hidden; }
.hero__photo { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 24px; bottom: 24px; padding: 14px 18px; background: var(--cream);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__badge .label-sm { color: var(--bronze); }
.hero__badge-text { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--navy); }

.stripe { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); height: 10px; }
.stripe--thin { height: 6px; }
.stripe span:nth-child(1) { background: var(--navy); }
.stripe span:nth-child(2) { background: var(--slate); }
.stripe span:nth-child(3) { background: var(--rust); }
.stripe span:nth-child(4) { background: var(--taupe); }
.stripe span:nth-child(5) { background: var(--olive); }
.stripe span:nth-child(6) { background: var(--copper); }

/* Frentes */
.fronts { background: var(--white); border-bottom: 1px solid var(--line); }
.fronts__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.front {
  padding: 36px 32px; display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: var(--ink); border-top: 4px solid var(--c);
  transition: background-color .2s ease;
}
.front:hover { color: var(--ink); background: var(--cream); }
.front__num { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1; color: var(--n, var(--c)); }
.front__title { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.front__desc { font-size: 15px; color: var(--slate); }
.front--rust { --c: var(--rust); }
.front--navy { --c: var(--navy); }
.front--olive { --c: var(--olive); --n: var(--olive-dark); }

/* 01 Acolha */
.acolha { background: var(--rust); color: var(--cream); }
.acolha__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.acolha__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.acolha .section-tag, .acolha .eyebrow { color: var(--peach); }
.acolha__lead { margin: 0; max-width: 600px; font-size: 20px; line-height: 1.65; color: #FBEFE3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-outline { padding: 10px 16px; font-size: 15px; font-weight: 600; border: 1px solid rgba(253, 251, 246, 0.55); }
.acolha .btn { align-self: flex-start; margin-top: 8px; }
.acolha__cards {
  flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px; background: rgba(253, 251, 246, 0.2);
}
.acolha__card { background: var(--rust-mid); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.acolha__card--wide { grid-column: span 2; background: var(--rust-dark); padding: 36px; gap: 14px; }
.acolha__card-title { font-family: var(--serif); font-size: 21px; }
.acolha__card--wide .acolha__card-title { font-size: 28px; line-height: 1.2; }
.acolha__card-desc { font-size: 15px; line-height: 1.5; color: var(--peach-soft); }
.acolha__card--wide .acolha__card-desc { font-size: 16px; }

/* 02 Pro bono */
.probono { background: var(--cream); }
.probono__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 56px; }
.probono__head { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
.probono__title { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.probono .section-tag, .probono .eyebrow, .probono .h2 { color: var(--navy); }
.probono .h2 em { color: var(--rust); }
.probono__lead { flex: 1 1 420px; min-width: 0; margin: 0; font-size: 19px; line-height: 1.65; color: var(--slate); }
.probono__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--white); padding: 40px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 30px rgba(34, 54, 79, 0.08); }
.card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; }
.card h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.25; color: var(--ink); }
.card--edital { background: var(--navy); color: var(--cream); box-shadow: none; }
.card--edital h3 { font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--cream); }
.card--edital p { margin: 0; font-size: 16px; line-height: 1.6; color: #C9D2DD; }
.card__tag {
  align-self: flex-start; padding: 6px 12px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy); background: var(--gold);
}
.card--edital .btn { margin-top: auto; align-self: flex-start; padding: 14px 22px; color: var(--navy); background: var(--cream); }
.card--edital .btn:hover { background: var(--gold); color: var(--navy); }

/* 03 Equidade */
.equidade { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.equidade__inner { padding-top: 112px; padding-bottom: 112px; display: flex; flex-direction: column; gap: 64px; }
.equidade__top { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.equidade__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.equidade .section-tag, .equidade .eyebrow, .equidade .h2 em { color: var(--gold); }
.equidade__lead { margin: 0; max-width: 600px; font-size: 19px; line-height: 1.65; color: #D5DCE5; }
.equidade .btn { align-self: flex-start; }
.heforshe { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.heforshe__word { font-family: var(--serif); font-size: clamp(56px, 8vw, 112px); line-height: 0.95; letter-spacing: -0.02em; }
.heforshe__word--a { font-weight: 600; color: var(--copper); }
.heforshe__word--b { font-weight: 300; font-style: italic; color: var(--cream); }
.heforshe__note { margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe); }

.rebrand { background: var(--cream); color: var(--ink); display: flex; flex-wrap: wrap; }
.rebrand__text { flex: 1 1 420px; min-width: 0; padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.rebrand__text h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: var(--navy); }
.rebrand__text p { margin: 0; font-size: 18px; line-height: 1.65; color: var(--slate); }
.chips--tight { gap: 8px; }
.chip-fill { padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--navy); background: var(--sand); }
.rebrand__compare { flex: 1 1 380px; min-width: 0; background: var(--sand); padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.rebrand__row { display: flex; flex-direction: column; gap: 4px; }
.rebrand__old { font-family: var(--serif); font-size: 26px; color: var(--gray); text-decoration: line-through; text-decoration-color: var(--rust); }
.rebrand__logo { margin-top: 8px; height: 104px; width: auto; max-width: 100%; object-fit: contain; object-position: left; }

/* Contato */
.contato { background: var(--taupe); }
.contato__inner { padding-top: 104px; padding-bottom: 104px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.contato__quote { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contato__quote p { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; color: var(--ink); }
.contato__cta { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.contato__cta-text { font-size: 17px; line-height: 1.55; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #C9CDD2; }
.site-footer__inner { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-footer__logo { height: 34px; width: auto; max-width: 80vw; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.site-footer__links a { padding: 8px 0; color: #C9CDD2; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__info { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.site-footer__info a { color: inherit; }

/* Mobile: o mockup foi desenhado em 1440px; ajustes para telas pequenas */
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .site-header__inner { justify-content: center; }
  .nav { justify-content: center; }
  .nav a { padding: 10px 10px; }
  .nav .nav__cta { margin-left: 4px; padding: 10px 14px; }
  .hero__inner { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero__lead { font-size: 18px; }
  .front { padding: 28px 16px; }
  .acolha__inner, .probono__inner, .equidade__inner { padding-top: 72px; padding-bottom: 72px; gap: 40px; }
  .contato__inner { padding-top: 72px; padding-bottom: 72px; }
  .acolha__card--wide { padding: 28px; }
  .acolha__card { padding: 24px 28px; }
  .acolha__cards { grid-template-columns: minmax(0, 1fr); }
  .acolha__card--wide { grid-column: auto; }
  .card { padding: 28px; }
  .rebrand__text, .rebrand__compare { padding: 32px 20px; }
  .rebrand__logo { height: 80px; }
  .hero__text, .acolha__text, .probono__title, .equidade__text, .rebrand__text, .heforshe { flex-basis: 100%; }
  .probono__lead, .hero__media, .acolha__cards, .rebrand__compare, .contato__quote { flex-basis: 100%; }
  .probono__grid { grid-template-columns: 1fr; }
}
