/* ============================================================
   Designare Studio — Landing "em obra"
   Tokens replicados de colors_and_type.css.
   ============================================================ */

/* -------- Fontes locais -------- */
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playwrite GB S";
  src: url("fonts/PlaywriteGBS-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bege-claro: #F0EDE4;
  --bege-claro-soft: #F6F3EB;
  --bege-classico: #DCD3C5;
  --azul-profundo: #082640;
  --azul-profundo-hover: #06192c;
  --azul-sereno: #396A92;
  --marrom-fosco: #7E6644;

  --rule: rgba(8, 38, 64, 0.18);
  --rule-soft: rgba(8, 38, 64, 0.08);

  --fg: var(--azul-profundo);
  --fg-2: rgba(8, 38, 64, 0.7);
  --fg-3: rgba(8, 38, 64, 0.4);

  --font-sans: "Jost", "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-script: "Playwrite GB S", "Caveat", "Snell Roundhand", cursive;

  --ease-quiet: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-editorial: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bege-claro);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--azul-profundo); color: var(--bege-claro); }

a { color: inherit; text-decoration: none; }

/* ============================================================
   Layout — assimétrico editorial, respiro ≥ 1/3 da página
   ============================================================ */
.page {
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 64px 64px;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  row-gap: 96px;
}

@media (min-width: 1024px) {
  .page { padding: 64px 120px 96px; row-gap: 120px; }
}

@media (max-width: 720px) {
  .page { padding: 32px 32px 48px; row-gap: 64px; }
}

/* ============================================================
   Topbar — respiração inicial
   ============================================================ */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

/* ============================================================
   Eyebrows — uppercase tracking 0.22em
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.eyebrow--muted { color: var(--fg-3); }

/* ============================================================
   Hero — composição assimétrica, respiro lateral à direita
   ============================================================ */
.hero {
  max-width: 920px;
  display: grid;
  row-gap: 32px;
  align-content: center;
  padding-top: 32px;
}

.hero__mark {
  width: clamp(96px, 14vw, 168px);
  height: auto;
  margin-bottom: 16px;
  /* ícone original em V02 — cerimonial, vertical */
}

.hero__eyebrow {
  margin-bottom: -12px; /* aproxima do título sem colar */
}

.hero__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
  max-width: 18ch;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--marrom-fosco);
}

.hero__lede {
  margin: 0;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-2);
  text-wrap: pretty;
}

.hero__signature {
  margin: 16px 0 0;
  font-family: var(--font-script);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.4;
  color: var(--fg);
  letter-spacing: 0;
}

/* ============================================================
   Linha-régua editorial
   ============================================================ */
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ============================================================
   Contato — duas colunas, gutter 32px
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 64px;
  }
}

.contact__col {
  display: grid;
  row-gap: 16px;
  align-content: start;
}

.contact__col--right { row-gap: 20px; }

.contact__line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--fg);
  letter-spacing: -0.005em;
  transition: color 240ms var(--ease-quiet);
  width: max-content;
  max-width: 100%;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
}

.contact__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: currentColor;
}

.contact__line:hover {
  color: var(--marrom-fosco);
  border-bottom-color: var(--rule);
}

.contact__line .arrow {
  display: inline-block;
  transition: transform 240ms var(--ease-quiet);
}

.contact__line:hover .arrow { transform: translateX(6px); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 14px 24px;
  background: var(--azul-profundo);
  color: var(--bege-claro);
  border: 1px solid var(--azul-profundo);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  width: max-content;
  transition: background-color 240ms var(--ease-quiet),
              border-color 240ms var(--ease-quiet),
              color 240ms var(--ease-quiet);
}

.cta:hover {
  background: var(--azul-profundo-hover);
  border-color: var(--azul-profundo-hover);
  color: var(--bege-claro);
}

.cta .arrow {
  display: inline-block;
  transition: transform 240ms var(--ease-quiet);
}

.cta:hover .arrow { transform: translateX(4px); }

.contact__note {
  margin: 0;
  max-width: 42ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  text-wrap: pretty;
}

.contact__note--meta {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--rule-soft);
  flex-wrap: wrap;
}

/* ============================================================
   Foco acessível — outline editorial, nunca azul-sistema
   ============================================================ */
:focus-visible {
  outline: 1px solid var(--azul-profundo);
  outline-offset: 4px;
}
