/* ==========================================================================
   CENTURY 21 Imopredial — Landing de recrutamento
   Tokens de marca (cor, tipografia, espaçamento) + estilos de página.
   Paleta: Relentless Gold + Obsessed Grey (identidade global CENTURY 21).
   ========================================================================== */

/* -----------------  FONT FACES  ----------------- */

@font-face {
  font-family: "Typold";
  src: url("../fonts/Typold-Condensed-Book.ttf") format("truetype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold";
  src: url("../fonts/Typold-Condensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold";
  src: url("../fonts/Typold-Condensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold";
  src: url("../fonts/Typold-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold Extended";
  src: url("../fonts/TypoldExtended-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold Extended";
  src: url("../fonts/TypoldExtended-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Typold Extended";
  src: url("../fonts/TypoldExtended-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/BarlowSemiCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/BarlowSemiCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oakes";
  src: url("../fonts/Oakes-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Oakes";
  src: url("../fonts/Oakes-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* -----------------  DESIGN TOKENS  ----------------- */

:root {
  /* Brand core */
  --c21-gold: #beaf88;
  --c21-gold-deep: #a8986f;
  --c21-gold-soft: #d9cfb4;
  --c21-gold-wash: #f1ecdf;
  --c21-gold-ink: #6e6346;

  --c21-black: #252526;
  --c21-black-deep: #0e0e0f;
  --c21-charcoal: #3a3a3b;
  --c21-graphite: #5b5b5c;
  --c21-stone: #8c8c8d;
  --c21-fog: #e4e2dd;
  --c21-cream: #f6f4ee;
  --c21-white: #ffffff;

  /* Semantic foreground / background */
  --fg-1: var(--c21-black);
  --fg-2: var(--c21-charcoal);
  --fg-3: var(--c21-graphite);
  --fg-4: var(--c21-stone);
  --fg-onDark: var(--c21-cream);
  --fg-accent: var(--c21-gold-deep);

  --bg-page: var(--c21-cream);
  --bg-surface: var(--c21-white);
  --bg-sunken: var(--c21-fog);

  --border-1: rgba(37, 37, 38, 0.1);
  --border-2: rgba(37, 37, 38, 0.18);

  --status-error: #b84141;
  --status-success: #4c7a3f;

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 140ms;

  /* Type families */
  --font-display: "Typold Extended", "Arial Narrow", Arial, sans-serif;
  --font-headline: "Typold", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow Semi Condensed", "Arial", sans-serif;
  --font-editorial: "Oakes", "Times New Roman", serif;
}

/* -----------------  RESET / BASE  ----------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-headline);
  text-transform: uppercase;
}

p {
  margin: 0 0 16px 0;
  color: var(--fg-2);
}

img {
  display: block;
  max-width: 100%;
}

a.link {
  color: var(--fg-1);
  text-decoration: none;
  border-bottom: 1px solid var(--c21-gold);
  transition: color var(--dur-fast) var(--ease-out);
}
a.link:hover {
  color: var(--c21-gold-deep);
}

::selection {
  background: var(--c21-gold);
  color: var(--c21-black);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* -----------------  TYPOGRAPHY UTILITIES  ----------------- */

.eyebrow {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c21-gold-deep);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  margin-right: 14px;
}
.eyebrow--onDark {
  color: var(--c21-gold);
}

.lead {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.5;
  color: var(--fg-2);
}

.body-sm {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-3);
}

.caption {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.quote {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--fg-1);
  margin: 0;
}

/* -----------------  BUTTON  ----------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn--sm {
  font-size: 11px;
  padding: 10px 16px;
}
.btn--lg {
  font-size: 14px;
  padding: 18px 28px;
}
.btn--primary {
  background: var(--c21-gold);
  color: var(--c21-black);
}
.btn--primary:hover {
  background: var(--c21-gold-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--c21-black);
  border-color: var(--c21-black);
}
.btn--ghost:hover {
  background: var(--c21-black);
  color: var(--c21-cream);
}
.btn--ghost-light {
  background: transparent;
  color: var(--c21-cream);
  border-color: var(--c21-cream);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* -----------------  HEADER / NAV  ----------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 80px;
}
.site-header__logo {
  height: 30px;
}

/* -----------------  HERO  ----------------- */

.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(37, 37, 38, 0.85) 0%,
    rgba(37, 37, 38, 0.6) 45%,
    rgba(37, 37, 38, 0.2) 78%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  gap: 24px;
}
.hero__title {
  font: 700 84px/0.95 var(--font-display);
  text-transform: uppercase;
  color: var(--c21-cream);
  letter-spacing: -0.01em;
  max-width: 820px;
}
.hero__lead {
  color: rgba(246, 244, 238, 0.85);
  max-width: 540px;
  font-size: 20px;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

/* -----------------  SECTIONS  ----------------- */

.section {
  padding: 120px 48px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.section-header__title {
  font: 500 44px/1.05 var(--font-headline);
  text-transform: uppercase;
  color: var(--c21-black);
  max-width: 720px;
  margin: 0;
}
.section-header__title--onDark {
  color: var(--c21-cream);
}
.section-intro {
  max-width: 620px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.55;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.stat {
  padding-left: 0;
  border-left: none;
}
.stat--divider {
  border-left: 1px solid var(--border-1);
  padding-left: 32px;
}
.stat__value {
  font: 900 48px/0.95 var(--font-display);
  color: var(--c21-gold-deep);
  letter-spacing: -0.02em;
}
.stat__label {
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 12px;
}

/* Split (image + text) */
.split {
  padding: 0 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.split__content .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Perks (gold wash) */
.section--gold {
  background: var(--c21-gold-wash);
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}
.perk h4 {
  font: 500 18px/1.3 var(--font-headline);
  letter-spacing: 0.04em;
  margin: 0 0 12px 0;
}

/* Dark CTA */
.section--dark {
  background: var(--c21-black);
}
.section--dark .section-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section--dark h2 {
  font: 500 40px/1.1 var(--font-headline);
  color: var(--c21-cream);
}
.section--dark p {
  font: 400 16px/1.55 var(--font-body);
  color: rgba(246, 244, 238, 0.75);
}
.section--dark .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial__name {
  font: 500 18px/1.3 var(--font-headline);
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
}
.testimonial__meta {
  margin-top: 2px;
}

/* Contact */
.section--contact {
  background: var(--bg-sunken);
  scroll-margin-top: 80px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info .section-intro {
  max-width: 440px;
  margin-top: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.contact-details__ami {
  margin-top: 8px;
}
.contact-info .btn {
  margin-top: 16px;
  align-self: flex-start;
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: block;
}
.form-field__label {
  display: block;
  font: 500 10px/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.form-field__input,
.form-field__textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  padding: 14px 16px;
  font: 400 15px/1.2 var(--font-body);
  color: var(--fg-1);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out), padding var(--dur-fast) var(--ease-out);
}
.form-field__textarea {
  font-size: 15px;
  line-height: 1.4;
  resize: vertical;
}
.form-field__input:focus,
.form-field__textarea:focus {
  border: 2px solid var(--c21-gold);
  padding: 13px 15px;
}
.form-field__helper {
  font: 400 11px/1.4 var(--font-body);
  margin-top: 6px;
  color: var(--fg-3);
}
.form-field--error .form-field__input {
  border-color: var(--status-error);
}
.form-field--error .form-field__helper {
  color: var(--status-error);
}

.form-status {
  font: 500 13px/1.4 var(--font-body);
  display: none;
}
.form-status--success {
  display: block;
  color: var(--status-success);
}
.form-status--error {
  display: block;
  color: var(--status-error);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  background: var(--c21-black);
  color: var(--c21-cream);
  padding: 56px 48px 32px;
}
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.site-footer__logo {
  height: 26px;
}
.site-footer__legal {
  color: rgba(246, 244, 238, 0.6);
  font-size: 14px;
  line-height: 1.5;
}

/* -----------------  RESPONSIVE  ----------------- */

@media (max-width: 860px) {
  .site-header {
    padding: 0 20px;
  }
  .hero {
    height: auto;
    min-height: 560px;
  }
  .hero__inner {
    padding: 100px 20px 56px;
  }
  .hero__title {
    font-size: 44px;
  }
  .section {
    padding: 64px 20px;
  }
  .split {
    padding: 0 20px 64px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid,
  .perks-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section--dark {
    padding: 64px 20px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px;
  }
  .site-footer {
    padding: 40px 20px 24px;
  }
  .site-footer__inner {
    flex-direction: column;
  }
}
