/* ME LEVA — estilos compartilhados por todas as páginas */

/* Fontes salvas no projeto (antes vinham do Google a cada página e o texto "piscava" ao trocar de página) */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: block; src: url("../fontes/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: block; src: url("../fontes/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: block; src: url("../fontes/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: block; src: url("../fontes/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: block; src: url("../fontes/poppins-800.woff2") format("woff2"); }

:root {
  --azul: #1a6fe0;
  --azul-claro: #3d9cf5;
  --azul-fundo: #eaf4fe;
  --azul-borda: #cfe4fb;
  --amarelo: #f5b915;
  --texto: #0b1f4b;
  --texto-suave: #3b4a66;
  --branco: #fff;
  --largura: 1200px;
}

* { box-sizing: border-box; }

/* reserva sempre o espaço da barra de rolagem, para o conteúdo não "pular" entre páginas curtas e longas */
@media (min-width: 561px) { html { scrollbar-gutter: stable; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--texto);
  background: var(--branco);
  /* gotas de chuva decorativas nas laterais */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='420'%3E%3Cg fill='%233d9cf5' opacity='.55'%3E%3Cpath d='M20 30c4 8 8 12 8 16a8 8 0 0 1-16 0c0-4 4-8 8-16z'/%3E%3Cpath d='M70 150c3 6 6 9 6 12a6 6 0 0 1-12 0c0-3 3-6 6-12z'/%3E%3Cpath d='M30 300c3 6 6 9 6 12a6 6 0 0 1-12 0c0-3 3-6 6-12z'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='420'%3E%3Cg fill='%233d9cf5' opacity='.55'%3E%3Cpath d='M90 90c4 8 8 12 8 16a8 8 0 0 1-16 0c0-4 4-8 8-16z'/%3E%3Cpath d='M50 240c3 6 6 9 6 12a6 6 0 0 1-12 0c0-3 3-6 6-12z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-y, repeat-y;
  background-position: left top, right top;
}

main { flex: 1; }

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

/* ---------- Topo ---------- */

.topo {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marca {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--texto);
  text-decoration: none;
}
.marca img { width: 64px; }
.marca strong { display: block; font-size: 30px; font-weight: 800; line-height: 1; }
.marca small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.menu { display: flex; gap: 40px; }
.menu a {
  color: var(--texto);
  text-decoration: none;
  font-size: 18px;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}
.menu a:hover { color: var(--azul); }
.menu a[aria-current="page"] {
  color: var(--azul);
  font-weight: 600;
  border-bottom-color: var(--azul);
}

/* ---------- Botões ---------- */

.botao {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.botao svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.botao .icone-play { fill: currentColor; width: 16px; height: 16px; }

.botao-azul {
  background: var(--azul);
  color: var(--branco);
  box-shadow: 0 6px 16px rgb(26 111 224 / .3);
}
.botao-escuro { background: var(--texto); color: var(--branco); }
.botao-contorno { background: var(--branco); color: var(--texto); border-color: #c9d2e0; }
.botao:hover { filter: brightness(1.1); }

/* ---------- Destaque (Início) ---------- */

.destaque {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 24px 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr;
  align-items: center;
  gap: 24px;
}

.selo {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--azul-fundo);
  color: var(--azul);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.destaque h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
}

.destaque-subtitulo {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 12px 0;
}
.destaque-texto > p:not(.selo):not(.destaque-subtitulo) {
  color: var(--texto-suave);
  line-height: 1.6;
  max-width: 400px;
}

.botoes { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

.destaque-ilustracao { width: 100%; max-width: 340px; justify-self: center; }
.destaque-celular {
  width: 100%;
  max-width: 220px;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgb(11 31 75 / .2));
}

/* ---------- Faixa de vantagens ---------- */

.vantagens {
  background: var(--azul-fundo);
  padding: 32px max(24px, calc((100% - var(--largura)) / 2 + 24px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.vantagens h2 { font-size: 16px; margin: 12px 0 6px; }
.vantagens p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--texto-suave); }

.icone {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--azul-borda);
  color: var(--azul);
}
.icone svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Onda do rodapé ---------- */

.onda { line-height: 0; margin-top: 40px; }
.onda svg { width: 100%; height: 70px; fill: #8cc4f7; }

/* ---------- Páginas internas (partes comuns) ---------- */

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

.titulo-pagina {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
}
.subtitulo-pagina { margin: 8px 0 28px; font-size: 22px; font-weight: 500; line-height: 1.35; }
.texto-apoio { color: var(--texto-suave); line-height: 1.6; }
.texto-grande { font-size: 18px; color: var(--texto); }

.cartao { background: var(--azul-fundo); border-radius: 20px; }

/* ---------- Como funciona ---------- */

.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.passo {
  padding: 24px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 12px;
}
.passo-numero {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-size: 26px;
  font-weight: 700;
}
.passo h2 { margin: 14px 0 8px; font-size: 21px; line-height: 1.2; }
.passo p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--texto-suave); }
.passo img { max-height: 190px; width: auto; justify-self: center; }

.simples {
  margin-top: 28px;
  padding: 32px 56px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 24px;
}
.simples h2 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
.simples p { margin: 8px 0 24px; font-size: 22px; line-height: 1.35; }
.simples-figuras { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.simples-celular { max-width: 170px; filter: drop-shadow(0 14px 18px rgb(11 31 75 / .2)); }
.simples-guarda-chuva { max-width: 300px; }

/* ---------- App ---------- */

.app-destaque {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 32px;
}
.app-destaque .titulo-pagina { font-size: clamp(36px, 4vw, 50px); }

.lojas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.loja {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 0;
  border-radius: 12px;
  background: var(--texto);
  color: var(--branco);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.loja svg { width: 28px; height: 28px; fill: currentColor; }
.loja small { display: block; font-size: 10px; text-transform: uppercase; }
.loja strong { display: block; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.loja:hover { filter: brightness(1.3); }

.app-celular { justify-self: center; }
.app-celular img { max-width: 230px; filter: drop-shadow(0 18px 24px rgb(11 31 75 / .2)); }

.recursos { display: grid; gap: 28px; }
.recurso { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.recurso h2 { margin: 6px 0 4px; font-size: 17px; }
.recurso p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--texto-suave); }

/* faixa de vantagens em formato de cartão (dentro da largura da página) */
.vantagens.vantagens-cartao { border-radius: 20px; padding: 28px; }
.vantagens-cartao article { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; }
.vantagens-cartao .icone { grid-row: span 2; width: 56px; height: 56px; }
.vantagens-cartao h2 { margin-top: 4px; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: 1.1fr 1fr; align-items: start; gap: 40px; }
.faq-ilustracao { width: 100%; max-width: 440px; margin-top: 8px; }

.perguntas { display: grid; gap: 12px; }
.pergunta { background: var(--azul-fundo); border: 1px solid var(--azul-borda); border-radius: 14px; }
.pergunta summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary::before {
  content: "Q";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-size: 14px;
}
.pergunta summary::after {
  content: "+";
  flex: none;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--azul-borda);
  color: var(--azul);
  font-size: 22px;
  font-weight: 500;
}
.pergunta[open] summary::after { content: "−"; background: var(--azul); color: var(--branco); }
.pergunta p { margin: 0; padding: 0 20px 18px 68px; font-size: 15px; line-height: 1.6; color: var(--texto-suave); }

.contato {
  margin-top: 32px;
  padding: 24px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}
.contato-texto { display: flex; align-items: center; gap: 16px; }
.contato h2 { margin: 0; font-size: 18px; }
.contato p { margin: 4px 0 0; font-size: 14px; color: var(--texto-suave); }

/* ---------- Celular e tablet ---------- */

@media (max-width: 960px) {
  .topo { flex-wrap: wrap; }
  .menu { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
  .destaque { grid-template-columns: 1fr 1fr; }
  .destaque-texto { grid-column: 1 / -1; }
  .vantagens { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; }
  .simples { grid-template-columns: 1fr; padding: 28px; }
  .app-destaque { grid-template-columns: 1fr 1fr; }
  .app-destaque > div:first-child { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 560px) {
  body { background-image: none; }
  .topo { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .marca img { width: 40px; }
  .marca strong { font-size: 22px; }
  .marca small { font-size: 8px; }
  .menu a { font-size: 15px; }
  .botao-topo { padding: 8px 14px; font-size: 12px; gap: 6px; }
  .botao-topo svg { width: 16px; height: 16px; }
  .destaque-celular { max-width: 160px; }
  .vantagens article { display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; }
  .vantagens .icone { grid-row: span 2; width: 56px; height: 56px; }
  .vantagens h2 { margin-top: 4px; }
  .destaque { padding: 16px 16px 32px; }
  .destaque-subtitulo { font-size: 19px; }
  .botoes .botao { flex: 1; justify-content: center; }
  .vantagens { grid-template-columns: 1fr; padding: 28px 16px; gap: 24px; }
  .pagina { padding: 8px 16px 0; }
  .subtitulo-pagina { font-size: 18px; }
  .passo { padding: 20px; }
  .passo h2 { font-size: 18px; }
  .passo img { max-height: 150px; }
  .simples { padding: 24px 20px; }
  .simples p { font-size: 18px; }
  .simples-celular { max-width: 110px; }
  .simples-guarda-chuva { max-width: 180px; }
  .app-destaque { grid-template-columns: 1fr; }
  .app-celular img { max-width: 180px; }
  .lojas .loja { flex: 1; padding: 10px 12px; gap: 8px; }
  .loja strong { font-size: 16px; }
  .loja svg { width: 24px; height: 24px; }
  .pergunta summary { padding: 12px 14px; gap: 12px; font-size: 15px; }
  .pergunta p { padding: 0 14px 16px 58px; font-size: 14px; }
  .contato { padding: 24px 20px; }
  .contato .botao { width: 100%; justify-content: center; }
}
