:root {
  --petroleo-900: #0e2a2e;
  --petroleo-700: #1a4a4e;
  --petroleo-500: #2f6f72;
  --ambar-500: #ffc56b;
  --ambar-700: #9a6412;
  --fundo: #faf7f2;
  --superficie: #ffffff;
  --borda: #e6dfd3;
  --texto: #1b2a2c;
  --texto-suave: #4a5b5c;
  --texto-sobre-escuro: #f3efe8;
  --texto-suave-sobre-escuro: #c3d3d3;

  --largura: 1080px;
  --leitura: 68ch;
  --raio: 20px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--fundo);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

main {
  flex: 1;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--petroleo-700);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--petroleo-700);
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--petroleo-500);
}

a:focus-visible {
  outline: 3px solid var(--ambar-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}

/* Cabeçalho */

.topo {
  background: var(--petroleo-900);
}

.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-sobre-escuro);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.marca img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.topo nav {
  display: flex;
  gap: 20px;
}

.topo nav a,
.marca:hover {
  color: var(--texto-sobre-escuro);
}

.topo nav a {
  font-size: 0.9375rem;
  text-decoration: none;
}

.topo nav a:hover,
.topo nav a[aria-current="page"] {
  color: var(--ambar-500);
}

/* Hero */

.hero {
  background:
    radial-gradient(60% 70% at 50% 110%, rgba(255, 197, 107, 0.22), transparent 70%),
    linear-gradient(180deg, var(--petroleo-900), var(--petroleo-700));
  color: var(--texto-sobre-escuro);
  text-align: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 48px;
  padding-bottom: 72px;
}

.hero-icone {
  width: 128px;
  height: 128px;
  border-radius: 22.5%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 6vw, 3.25rem);
  max-width: 18ch;
}

.hero h1 span {
  color: var(--ambar-500);
}

.hero p {
  max-width: 52ch;
  color: var(--texto-suave-sobre-escuro);
  font-size: 1.125rem;
}

.selo {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 197, 107, 0.6);
  border-radius: 999px;
  color: var(--ambar-500);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* Seções */

.secao {
  padding: 64px 0;
}

.secao-titulo {
  max-width: 24ch;
  margin-bottom: 32px;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.beneficios {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beneficios li {
  padding: 24px;
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}

.beneficios .passo {
  display: block;
  margin-bottom: 8px;
  color: var(--ambar-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.beneficios h3 {
  margin-bottom: 8px;
  font-size: 1.1875rem;
}

.beneficios p {
  color: var(--texto-suave);
}

.telas {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72%, 300px);
  gap: 16px;
  margin: 0 -24px;
  padding: 0 24px 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  list-style: none;
}

.telas li {
  scroll-snap-align: center;
}

.telas img {
  width: 100%;
  border-radius: var(--raio);
}

.destaque {
  padding: 32px 24px;
  background: var(--petroleo-900);
  border-radius: var(--raio);
  color: var(--texto-suave-sobre-escuro);
}

.destaque h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
}

.destaque p {
  max-width: 60ch;
}

.destaque a {
  color: var(--ambar-500);
}

/* Páginas de texto */

.texto {
  max-width: calc(var(--leitura) + 48px);
  padding-top: 48px;
  padding-bottom: 72px;
}

.texto h1 {
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
}

.texto .vigencia {
  margin-bottom: 32px;
  color: var(--texto-suave);
  font-size: 0.9375rem;
}

.texto h2 {
  margin: 40px 0 12px;
  font-size: 1.3125rem;
}

.texto h3 {
  margin: 24px 0 8px;
  font-size: 1.0625rem;
}

.texto p + p {
  margin-top: 12px;
}

.texto ul {
  margin: 12px 0 0;
  padding-left: 1.25em;
}

.texto li + li {
  margin-top: 6px;
}

.cartao-contato {
  margin-top: 24px;
  padding: 24px;
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}

.cartao-contato a {
  font-size: clamp(0.875rem, 4vw, 1.125rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.cartao-contato p + p {
  color: var(--texto-suave);
  font-size: 0.9375rem;
}

/* Rodapé */

.rodape {
  background: var(--petroleo-900);
  color: var(--texto-suave-sobre-escuro);
  font-size: 0.9375rem;
}

.rodape .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 32px;
  padding-bottom: 32px;
}

.rodape nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rodape a {
  color: var(--texto-sobre-escuro);
}

.rodape a:hover {
  color: var(--ambar-500);
}

@media (min-width: 720px) {
  .hero .container {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .hero-icone {
    width: 152px;
    height: 152px;
  }

  .secao {
    padding: 88px 0;
  }

  .beneficios {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .telas {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .destaque {
    padding: 48px;
  }

  .rodape .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
