/*
 * estilo.css
 * Descrição: Estilo do portal "Soluções Digitais para Família".
 *            Hero turquesa + Organização (amarelo) + Em breve (laranja)
 *            + Conhecimento (verde).
 * Depende de: imagens em assets/
 * Última atualização: 2026-06-22
 */

:root {
  --turquesa: #21d1dd;
  --amarelo: #ffde59;
  --laranja: #ffb753;
  --verde: #7ed957;
  --azul: #2b6cb0;
  --azul-claro: #38b6ff;
  --branco: #ffffff;
  --texto: #1f2937;
  --fonte: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--fonte);
  color: var(--texto);
  background: #1f2937;
}

/* ===== Hero (imagem única) ===== */
.hero {
  background: var(--turquesa);
}

.hero__interno {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  line-height: 0;
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__botao-area {
  position: absolute;
  left: 4%;
  bottom: 6%;
  width: 22%;
  height: 9%;
}

/* ===== Rótulo de seção (Por onde começar? / Em) ===== */
.secao-rotulo {
  text-align: center;
  color: var(--azul-claro);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-size: clamp(0.7rem, 2.6vw, 1rem);
  padding-top: 1.8rem;
}

.secao-rotulo--claro {
  color: var(--branco);
}

/* ===== Organização (amarelo) ===== */
.organizacao {
  background: var(--amarelo);
  padding-bottom: 2.6rem;
}

.organizacao__titulo {
  display: block;
  margin: 0.2rem auto 1.6rem;
  width: 70%;
  max-width: 360px;
  height: auto;
}

.apps-icones {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}

.app-icone {
  flex: 1 1 130px;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.app-icone:hover,
.app-icone:focus-visible {
  transform: translateY(-4px);
  outline: none;
}

.app-icone img {
  width: 100%;
  max-width: 130px;
  height: auto;
}

.app-icone__nome {
  color: var(--azul);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  font-size: clamp(0.8rem, 3vw, 1rem);
}

/* ===== Em breve (laranja) ===== */
.em-breve {
  background: var(--laranja);
  padding-bottom: 2.8rem;
  text-align: center;
}

.em-breve__titulo {
  display: block;
  margin: 0.1rem auto 1.6rem;
  width: 55%;
  max-width: 300px;
  height: auto;
}

.apps-breve {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.2rem, 7vw, 4rem);
  flex-wrap: wrap;
}

.app-breve {
  display: flex;
  align-items: center;
}

.app-breve img {
  display: block;
  height: clamp(120px, 36vw, 200px);
  width: auto;
}

/* ===== Conhecimento (verde) — artigo ===== */
.secao {
  padding: 2.4rem 1.2rem 2.8rem;
  text-align: center;
}

.secao--conhecimento {
  background: linear-gradient(160deg, #ff7a2f 0%, #ff2f8e 48%, #8b2be0 100%);
  padding-bottom: 3rem;
}

.secao__titulo {
  color: var(--branco);
  font-weight: 800;
  font-size: clamp(1.4rem, 5.5vw, 2.2rem);
  max-width: 600px;
  margin: 0 auto;
}

.secao__sub {
  color: rgba(255, 255, 255, 0.95);
  margin: 0.25rem auto 0;
  max-width: 600px;
  font-size: clamp(0.8rem, 3vw, 1rem);
}

.conhecimento__figura {
  display: block;
  width: 62%;
  max-width: 300px;
  height: auto;
  margin: 1.6rem auto 1.4rem;
}

.conhecimento__botao {
  display: inline-block;
  background: var(--branco);
  color: #7c2db5;
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.9rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.conhecimento__botao:hover,
.conhecimento__botao:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

/* ===== Rodapé ===== */
.rodape {
  background: #1f2937;
  color: var(--branco);
  text-align: center;
  padding: 1.4rem;
  font-size: 0.85rem;
}
