@font-face {
  font-family: Fredoka;
  src: url("fredoka.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --papel: #fff7e5;
  --tinta: #193b2c;
  --texto: #395448;
  --verde: #204a36;
  --ouro: #ffcb59;
  --borda: #e1d9bd;
  --titulos: Fredoka, 'Trebuchet MS', sans-serif;
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--tinta); background: var(--papel); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #086a56; outline-offset: 5px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--titulos); line-height: 1.02; font-weight: 650; }
.limite { width: min(100% - 5rem, 74rem); margin-inline: auto; }
.barra { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; }
.barra nav { display: flex; align-items: center; gap: .4rem clamp(.85rem, 2.5vw, 2rem); flex-wrap: wrap; }
.barra nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .91rem; font-weight: 670; }
.topo .barra { min-height: 76px; }
.topo { border-bottom: 1px solid var(--borda); }
.topo a { text-decoration-color: transparent; }
.topo a:hover { text-decoration-color: currentColor; }
.marca { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.marca img { border-radius: 25%; }

.abertura { padding-block: clamp(2.6rem, 5.8vw, 5.5rem); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.6rem, 4vw, 4rem); }
.hero-texto { min-width: 0; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 6rem); line-height: .93; letter-spacing: -.026em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: #38664a; }
.hero-texto > p:not(.acesso) { max-width: 29rem; margin: 1.5rem 0; color: var(--texto); font-size: clamp(1.05rem, 1.58vw, 1.3rem); }
.acoes { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.4rem; }
.botao {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  padding: .65rem 1.15rem;
  border: 2px solid var(--tinta);
  border-radius: 14px;
  background: var(--ouro);
  box-shadow: 0 4px 0 var(--tinta);
  text-decoration: none;
  font-weight: 800;
}
.botao:hover { background: #ffdc78; }
.botao:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--tinta); }
.link-guia { display: inline-flex; align-items: center; gap: .34rem; min-height: 44px; font-weight: 720; }
.acesso { margin: .95rem 0 0; color: var(--texto); font-size: .9rem; }

.cena {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.17;
  border: 1px solid #a5be89;
  border-radius: clamp(1.5rem, 3vw, 2.9rem);
  background: radial-gradient(circle, #fff7dc72 1px, transparent 2px) 4px 5px / 22px 22px, #d6e4b6;
  box-shadow: 0 9px 0 #e5e1c5;
}
.cena > * { position: absolute; }
.cena img { height: auto; }
.sol { top: 9%; left: 17%; width: 65%; aspect-ratio: 1; border-radius: 50%; background: #ffd47a; }
.morro { inset: 55% -16% -28% 5%; border-radius: 50% 54% 0 0; background: #6e9761; transform: rotate(-13deg); }
.chao { inset: 66% 3% -28% -30%; border-radius: 52% 60% 0 0; background: #8eb477; transform: rotate(12deg); }
.cena-capivara { width: 77%; left: 10%; bottom: 10%; transform: rotate(-7deg); filter: drop-shadow(0 11px 0 #31543843); }
.cena-pombo { width: 25%; right: 4%; top: 8%; transform: rotate(15deg); filter: drop-shadow(0 5px 0 #31543825); }
.cena-arbusto { width: 32%; right: -5%; bottom: -8%; transform: rotate(-8deg); }
.cena-milho { width: 12%; left: 7%; top: 17%; transform: rotate(-19deg); }

.guia { padding-block: clamp(2.7rem, 5vw, 4.7rem); background: #edf1d8; border-top: 1px solid #dce4c4; }
.guia h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 1.55rem; }
.guias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cartao { padding: 1.1rem 1.45rem 1.45rem; border: 1px solid #d2dcb7; border-radius: 22px; background: #fbf9e9; }
.cartao img { width: auto; height: 72px; margin: 0 0 .6rem -.24rem; }
.cartao h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.cartao p { margin: .72rem 0 0; color: var(--texto); }
.rodape { padding-block: 1rem; color: #fff7e5; background: var(--verde); }
.rodape a:focus-visible { outline-color: var(--ouro); }

.politica { width: min(100% - 3rem, 47rem); margin-inline: auto; padding-block: clamp(2.6rem, 6vw, 5rem); }
.politica h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.02em; }
.politica h2 { margin-top: 2rem; font-size: clamp(1.6rem, 4vw, 2.15rem); }
.politica p { color: var(--texto); font-size: 1.05rem; }
.politica a { overflow-wrap: anywhere; }

@media (max-width: 940px) {
  .limite { width: min(100% - 3rem, 74rem); }
  .hero h1 { font-size: clamp(2.9rem, 6.3vw, 4.9rem); }
}

@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero h1 { font-size: clamp(2.5rem, 10.8vw, 5rem); }
  .cena { width: min(100%, 33rem); }
  .guias { grid-template-columns: 1fr; }
  .cartao { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: .22rem .85rem; padding: 1rem; }
  .cartao img { width: 100%; height: auto; align-self: start; margin: 0; grid-row: span 2; }
  .cartao p { margin: .28rem 0 0; }
  .rodape .barra { flex-wrap: wrap; }
}

@media (max-width: 415px) {
  .limite { width: calc(100% - 2rem); }
  .topo .barra { padding-block: .55rem; min-height: 66px; gap: .55rem; }
  .topo .marca { font-size: .84rem; }
  .topo .marca img { width: 32px; height: 32px; }
  .topo nav { gap: .5rem; }
  .topo nav a { font-size: .8rem; }
  .acoes { gap: .55rem .95rem; }
  .botao { min-height: 50px; padding-inline: .65rem; }
  .acoes a { font-size: .94rem; }
}
