/* ==========================================================================
   Kobenhavn — fonte oficial da marca (auto-hospedada)
   Cortes disponíveis: Light (300), Light Italic (300), Regular (400).
   A família não possui corte bold real, por isso o corte Regular cobre a
   faixa 400–800: qualquer peso pedido no CSS resolve para o desenho
   verdadeiro, sem bold sintético (falso negrito) do navegador.
   ========================================================================== */
@font-face {
  font-family: "Kobenhavn";
  src: url("font/kobenhavn-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kobenhavn";
  src: url("font/kobenhavn-light-italic.woff2") format("woff2");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Kobenhavn";
  src: url("font/kobenhavn-regular.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-brand: "Kobenhavn", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --blue: #1aa2d6;
  --blue-2: #66c1e4;
  --blue-3: #b3e0f1;
  --orange: #ea711f;
  --orange-2: #f1a06a;
  --orange-3: #f8d0b4;
  --green: #95c442;
  --graphite: #11232d;
  --gray-1: #a2acb3;
  --gray-2: #68717c;
  --gray-3: #373f4f;
  --white: #ffffff;
  --canvas: #f7f9fa;
  --line: #d9e1e5;
  --danger: #b32735;
  --success: #27834f;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 720px;
  --brand-gradient: linear-gradient(90deg, #1aa2d6 0%, #95c442 52%, #ea711f 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--graphite);
  font-family: var(--font-brand);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  /* nunca falsear negrito/itálico: usar apenas os desenhos reais da família */
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(234,113,31,.55); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: 10px 14px; border-radius: 10px;
  background: var(--graphite); color: #fff;
  transform: translateY(-160%); transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

.brand-ribbon { height: 5px; background: var(--brand-gradient); }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { flex: 0 1 184px; text-decoration: none; }
.brand img { width: 100%; height: auto; }
.event-label {
  color: var(--gray-2); font-size: .67rem; font-weight: 700;
  letter-spacing: .08em; line-height: 1.2; text-align: right; text-transform: uppercase;
}

.section { padding: 34px 0; }
.hero { overflow: hidden; padding-top: 34px; }

.brand-frame { position: relative; }
.brand-frame::after {
  content: ""; position: absolute; pointer-events: none;
  right: -33px; top: -20px; width: 98px; height: 82px;
  border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue);
  border-top-right-radius: 30px;
}

.eyebrow, .form-kicker, .mini-label {
  margin: 0 0 11px; color: var(--blue); font-size: .72rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow-light { color: var(--blue-2); }

/* O peso 800 resolve para o corte Regular do Kobenhavn (faixa 400–800).
   Se um corte bold oficial for adicionado à família, ele passa a ser usado
   aqui automaticamente, sem alteração no CSS. */
h1, h2 {
  margin: 0; font-family: var(--font-brand);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.06;
}
h1 { max-width: 13ch; font-size: clamp(2.25rem, 10.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 8vw, 3rem); }
p { margin: 0; }
.hero-copy { max-width: 34rem; margin-top: 17px; color: var(--gray-2); font-size: 1.02rem; }
/* Sem corte bold real, o destaque em texto corrido vem por cor, não por peso. */
.hero-copy strong, .meeting-content p strong { color: var(--graphite); font-weight: inherit; }
.meeting-content p strong { color: #fff; }

.ebook-showcase {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 30px 0 26px;
}

.ebook-cover-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 35, 45, .12);
  border-radius: 22px;
  background: var(--graphite);
  box-shadow: 0 18px 42px rgba(17, 35, 45, .20);
  transform: rotate(-.7deg);
}

.ebook-cover-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--brand-gradient);
}

.ebook-cover-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ebook-description {
  min-width: 0;
  padding-inline: 4px;
}

.ebook-description strong {
  display: block;
  max-width: 20ch;
  font-family: var(--font-brand);
  font-size: 1.32rem;
  letter-spacing: -.015em;
  line-height: 1.12;
}

.ebook-description > p:last-of-type {
  margin-top: 9px;
  color: var(--gray-2);
  font-size: .91rem;
  line-height: 1.4;
}

.ebook-meta {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.form-card, .success-card {
  position: relative; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--white);
  box-shadow: 0 18px 45px rgba(17,35,45,.08);
}
.form-card { padding: 30px 20px 22px; }
.form-accent { position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--brand-gradient); }
.form-heading { margin-bottom: 23px; }
.form-heading h2 { color: var(--blue); font-size: 2rem; }
.form-heading > p:last-child { margin-top: 8px; color: var(--gray-2); }
form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; font-weight: 700; }
/* O asterisco do Kobenhavn é decorativo (estrela de várias pontas) e lê como
   ícone nos labels. Aqui o marcador de campo obrigatório usa o asterisco
   convencional do sistema, em laranja da marca. */
.field label span[aria-hidden="true"] {
  flex: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.1em;
  line-height: 1;
  color: var(--orange);
}
/* corte Light (300) do Kobenhavn — contraste real com o peso do label */
.optional { color: var(--gray-2); font-size: .75rem; font-weight: 300; }
.field input {
  width: 100%; min-height: 54px; border: 1px solid #bfcbd1; border-radius: var(--radius-sm);
  background: #fbfdfe; color: var(--graphite); padding: 0 15px; font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:hover { border-color: var(--gray-1); }
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26,162,214,.12); outline: none; background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fff8f8; }
.field-error { color: var(--danger); font-size: .78rem; font-weight: 650; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check-row { display: grid; grid-template-columns: 22px 1fr; align-items: start; gap: 10px; color: var(--gray-2); cursor: pointer; font-size: .86rem; line-height: 1.4; }
.check-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }

.button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; border: 0; border-radius: 16px; padding: 13px 18px; cursor: pointer;
  font-size: .91rem; font-weight: 800; letter-spacing: .045em; line-height: 1.15;
  text-align: center; text-decoration: none; text-transform: uppercase;
  transition: transform .12s ease, background-color .15s ease, opacity .15s ease;
}
.button:active { transform: translateY(1px); }
.button[disabled] { cursor: wait; opacity: .72; }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26,162,214,.23); }
.button-primary:hover { background: #1487b4; }
.button-light { background: #fff; color: var(--graphite); }
.button-light:hover { background: var(--blue-3); }
.button-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; animation: spin .72s linear infinite; }
.button.is-loading .button-spinner { display: block; }
.privacy-copy { color: var(--gray-2); font-size: .75rem; line-height: 1.45; text-align: center; }
.privacy-copy a { color: var(--blue); font-weight: 700; }
.form-status { display: none; border-radius: 13px; padding: 12px 13px; font-size: .85rem; font-weight: 650; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #eaf6ef; color: var(--success); }
.form-status.is-error { background: #fff0f1; color: var(--danger); }

.meeting {
  position: relative;
  padding: 14px 0 48px;
  background: linear-gradient(to bottom, transparent 0 240px, var(--graphite) 240px 100%);
}
.meeting-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--graphite); color: #fff;
  box-shadow: 0 20px 50px rgba(17,35,45,.18);
}
.meeting-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: linear-gradient(145deg, #dce7ec, #b9ccd6);
}

.speaker-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.meeting-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to top, rgba(17, 35, 45, .45), transparent 46%),
    linear-gradient(to right, rgba(26, 162, 214, .10), transparent 48%);
}

.emblem {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: .58;
}

.emblem span {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 38px;
}

.emblem span:nth-child(1) {
  transform: rotate(0deg) translate(-100px, 100px);
  border-color: rgba(26,162,214,.46);
}

.emblem span:nth-child(2) {
  transform: rotate(9deg) translate(-82px, 94px);
  border-color: rgba(149,196,66,.32);
}

.emblem span:nth-child(3) {
  transform: rotate(18deg) translate(-62px, 88px);
  border-color: rgba(234,113,31,.34);
}
.meeting-content { padding: 28px 21px 24px; }
.meeting-content h2 { max-width: 12ch; color: #fff; }
.meeting-content > p:not(.eyebrow) { margin: 15px 0 22px; color: rgba(255,255,255,.72); }

.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; justify-items: center; gap: 13px; text-align: center; }
.footer-inner img { width: 176px; height: auto; }
.footer-inner p { color: var(--gray-2); font-size: .74rem; }

.thank-you-main { min-height: calc(100vh - 185px); }
.success-card { padding: 31px 20px 24px; }
.success-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--brand-gradient); }
.success-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 19px; background: var(--blue); }
.success-symbol img { width: 38px; height: auto; }
.success-card h1 { max-width: 12ch; color: var(--graphite); }
.success-card > p:not(.eyebrow) { margin: 17px 0 23px; color: var(--gray-2); }
.download-note { display: block; margin-top: 11px; color: var(--gray-2); font-size: .73rem; line-height: 1.4; }
.thank-you-meeting { margin-top: 22px; box-shadow: none; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 600px) {
  .container { width: min(100% - 48px, var(--container)); }
  .site-header { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
  .section { padding-block: 48px; }
  .hero { padding-top: 52px; }
  .ebook-showcase { grid-template-columns: minmax(0, 1.55fr) minmax(210px, .75fr); align-items: center; gap: 28px; }
  .form-card, .success-card { padding: 38px 34px 32px; }
  .meeting-card:not(.thank-you-meeting) { display: grid; grid-template-columns: .9fr 1.1fr; }
  .meeting-visual { min-height: 100%; }
  .speaker-photo { object-position: center 16%; }
  .meeting-content { padding: 42px 34px 34px; }
}

@media (min-width: 900px) {
  :root { --container: 740px; }
  body { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
