/* ==========================================================================
   Skills BV — base: fontes, tokens, reset, tipografia e botões
   ========================================================================== */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Covered By Your Grace';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/covered-by-your-grace-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Covered By Your Grace';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/covered-by-your-grace-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/schibsted-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Cor — tokens do arquivo Figma */
  --laranja: #f77911;
  --laranja-escuro: #a34a00;
  --tinta-900: #1e1b18;
  --tinta-700: #4d4945;
  --tinta-600: #5f5a54;
  --tinta-400: #8c867e;
  --tinta-300: #d2cdc7;
  --branco: #ffffff;
  --preto: #14120f;
  --preto-tipo: #100f0d;
  --creme: #fffbf8;
  --verde: #157f3b;
  --borda-card: #ededed;
  --borda-faq: #ede7de;
  --chip: #f4f1ed;

  /* Fundos dos cards do bento — amostrados do render do Figma */
  --bento-01: #fbedee;
  --bento-02: #eaf1ec;
  --bento-03: #f5eee2;
  --bento-04: #fcefe1;
  --bento-05: #eaeff6;
  --bento-06: #f6e7e2;

  /* Layout */
  --container: 1248px;
  --gutter: 96px;
  --radius-btn: 16px;
  --radius-card: 20px;
  --radius-grande: 24px;

  --manuscrita: 'Covered By Your Grace', 'Segoe Script', cursive;

  /* Motion */
  --ease-saida: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-rapida: 150ms;
  --dur-normal: 300ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--tinta-900);
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.625;
  letter-spacing: -0.32px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Layout base
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.secao {
  padding-block: 120px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Tipografia — escala do Figma
   -------------------------------------------------------------------------- */

.h1 {
  font-size: 60px;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: -2.6px;
}

.h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 50.88px;
  letter-spacing: -2.1px;
}

.h3 {
  font-size: 40px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: -1.5px;
}

.h4 {
  font-size: 32px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: -2.1px;
}

.corpo-grande {
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: -0.2px;
  color: var(--tinta-600);
}

.corpo {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.32px;
  color: var(--tinta-600);
}

.centro {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Botões — raio 16, sombra na própria cor (receita do guia)
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 32px;
  border-radius: var(--radius-btn);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.33;
  letter-spacing: -0.2px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-rapida) var(--ease-saida),
    box-shadow var(--dur-rapida) var(--ease-saida),
    background-color var(--dur-rapida) var(--ease-saida);
}

.btn--primario {
  background: var(--laranja);
  color: var(--preto-tipo);
  box-shadow: 0 8px 20px -6px rgb(247 121 17 / 55%);
}

.btn--primario:hover {
  background: #ff8721;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgb(247 121 17 / 65%);
}

.btn--primario:active {
  background: #e06c0c;
  transform: translateY(0);
  box-shadow: 0 4px 12px -4px rgb(247 121 17 / 50%);
}

.btn--escuro {
  padding: 16px 24px;
  font-size: 16px;
  line-height: 18px;
  background: var(--tinta-900);
  color: #fffbf8;
  box-shadow: 0 8px 20px -8px rgb(30 27 24 / 45%);
}

.btn--escuro:hover {
  background: #2c2825;
  transform: translateY(-2px);
}

.btn--escuro:active {
  background: #141210;
  transform: translateY(0);
}

.btn--largo {
  width: 300px;
  height: 64px;
}

/* --------------------------------------------------------------------------
   Marcadores de lista
   -------------------------------------------------------------------------- */

.lista {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lista__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.lista__item svg,
.lista__item .marcador {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 5px;
}

.lista__item b,
.lista__item strong {
  font-weight: 700;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  :root {
    --gutter: 40px;
  }

  .secao {
    padding-block: 80px;
  }

  .h1 {
    font-size: 44px;
    line-height: 48px;
    letter-spacing: -1.8px;
  }

  .h2 {
    font-size: 38px;
    line-height: 42px;
    letter-spacing: -1.5px;
  }

  .h3 {
    font-size: 32px;
    line-height: 36px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 15px;

    /* clip corta o transbordo horizontal igual ao overflow-x:hidden do topo
       do arquivo, mas sem transformar o body em contêiner de rolagem — e
       é justamente isso que mantém o position:sticky da pilha de frentes
       funcionando no Chrome e no Samsung Internet do Android. Navegador que
       não entende clip ignora a linha e continua no hidden. */
    overflow-x: clip;
  }

  .secao {
    padding-block: 56px;
  }

  .h1 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -1.4px;
  }

  .h2 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -1px;
  }

  .h3 {
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -0.8px;
  }

  .h4 {
    font-size: 22px;
    line-height: 27px;
    letter-spacing: -0.9px;
  }

  .corpo-grande {
    font-size: 16px;
    line-height: 24px;
  }

  .btn {
    padding: 17px 26px;
    font-size: 16px;
  }

  .btn--largo {
    width: 100%;
    max-width: 340px;
    height: 58px;
  }
}
