/* =====================================================================
   TilEvo — site (página inicial, privacidade e termos)
   Cores da marca e o azulejo de São Luís como desenho de fundo.
   ===================================================================== */
:root {
  --verde: #0e7c66;
  --verde-escuro: #0a5e4d;
  --navy: #14213d;
  --menta: #7ee2c4;
  --menta-claro: #e6f7f1;
  --papel: #f6faf8;
  --texto: #14213d;
  --suave: #4f5d6b;
  --borda: #d6e4de;
  --sol: #f2b705;
  --raio: 18px;
  --largura: 1120px;
  /* Azulejo (desenho em linha, repetido) */
  --azulejo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cg fill='none' stroke='%237ee2c4' stroke-width='2'%3E%3Cpath d='M0 0h96v96H0z' stroke-opacity='.35'/%3E%3Ccircle cx='48' cy='48' r='18'/%3E%3Cpath d='M48 14 82 48 48 82 14 48z'/%3E%3Cpath d='M0 24a24 24 0 0 0 24-24M72 0a24 24 0 0 0 24 24M96 72a24 24 0 0 0-24 24M24 96A24 24 0 0 0 0 72'/%3E%3Ccircle cx='48' cy='48' r='5' fill='%237ee2c4'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
h1, h2, h3 { font-family: "Poppins", system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--verde); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }

.envolve { max-width: var(--largura); margin: 0 auto; padding: 0 20px; }

/* ---------- Topo ---------- */
.topo { background: #0F1B33; color: #fff; position: sticky; top: 0; z-index: 5; border-bottom: 1px solid rgba(126,226,196,.12); }
.topo .envolve { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.marca { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; }
.marca img { height: 26px; width: auto; display: block; }
.marca span { font-family: "Poppins", sans-serif; font-weight: 500; color: #c9d6e6; font-size: .72rem; letter-spacing: .3em; line-height: 1; padding-left: 2px; }
.topo nav { display: flex; align-items: center; gap: 22px; }
.topo nav a { color: #dfe7f2; text-decoration: none; font-weight: 600; font-size: 1rem; }
.topo nav a:hover { color: #fff; }
.topo nav a.inicio { background: #7EE2C4; color: #0F1B33; padding: 8px 16px; border-radius: 999px; }

/* ---------- Abertura ---------- */
.abertura { background: var(--verde); color: #fff; position: relative; overflow: hidden; }
.abertura .envolve { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding-top: 48px; padding-bottom: 72px; align-items: center; }
.abertura p.sub { font-size: 1.3rem; color: #dff5ee; max-width: 34ch; }
.azulejos {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background-color: var(--verde-escuro);
  background-image: var(--azulejo);
  background-size: 96px 96px;
  position: relative;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, .06);
}
.azulejos .selo-ilha {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: #fff; color: var(--navy); border-radius: 24px; padding: 22px 28px; text-align: center;
  box-shadow: 0 18px 40px rgba(10, 40, 34, .35); width: min(78%, 300px);
}
.selo-ilha strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.5rem; }
.selo-ilha span { color: var(--suave); font-size: 1rem; }

/* Escolha: passageiro ou motorista */
.escolha { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.opcao {
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--navy); text-decoration: none;
  border-radius: var(--raio); padding: 16px 18px;
  border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
}
.opcao:hover { border-color: var(--menta); transform: translateY(-2px); }
.opcao img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.opcao strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.15rem; line-height: 1.2; }
.opcao span { color: var(--suave); font-size: .95rem; line-height: 1.3; display: block; }
.opcao.motorista { background: var(--navy); color: #fff; }
.opcao.motorista span { color: #c4cde0; }
.opcao.motorista img { box-shadow: 0 0 0 2px var(--menta); }

/* ---------- Seções ---------- */
section.bloco { padding: 72px 0; }
.lado-a-lado { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.recursos { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.recursos li { padding-left: 34px; position: relative; }
.recursos li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 5px;
  background: var(--menta); box-shadow: inset 0 0 0 4px var(--verde);
}
.recursos strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; }
.recursos span { color: var(--suave); }

.faixa-motorista { background: var(--navy); color: #fff; }
.faixa-motorista .recursos span { color: #c4cde0; }
.faixa-motorista .recursos li::before { box-shadow: inset 0 0 0 4px var(--navy); }
.numero-grande { font-family: "Poppins", sans-serif; font-weight: 700; font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; color: var(--menta); margin: 8px 0 12px; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--sol); color: var(--navy); font-weight: 700; text-decoration: none;
  font-family: "Poppins", sans-serif; font-size: 1rem;
  padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer;
}
.botao:hover { filter: brightness(1.05); }
.botao.claro { background: #fff; color: var(--verde); }
.botao.contorno { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Passo a passo de instalação (é uma sequência de verdade) */
.passos { counter-reset: passo; list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.passos li { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; counter-increment: passo; }
.passos li::before {
  content: counter(passo); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; margin-bottom: 12px;
  background: var(--verde); color: #fff; font-family: "Poppins", sans-serif; font-weight: 700;
}
.passos p { margin: 0; color: var(--suave); font-size: 1rem; }
.aviso { background: var(--menta-claro); border-radius: var(--raio); padding: 16px 20px; margin-top: 20px; font-size: 1rem; }

/* Contato */
.contato { background: var(--menta-claro); }
.contato .acoes .botao { background: var(--verde); color: #fff; }
.contato .acoes .botao.contorno { background: transparent; color: var(--verde); }

/* Rodapé */
.rodape { background: #0F1B33; color: #aebbd0; padding: 44px 0; font-size: .95rem; }
.rodape .envolve { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
.rodape .empresa { margin: 18px 0 0; line-height: 1.5; }
.rodape a { color: #fff; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

/* Páginas de texto (privacidade, termos) */
.documento { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.documento h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.documento h2 { font-size: 1.35rem; margin-top: 1.8em; }
.documento li { margin-bottom: .4em; }
.documento .atualizado { color: var(--suave); }
.pendente { background: #fff6d6; border-radius: 6px; padding: 0 .3em; }

/* ---------- Celular ---------- */
@media (max-width: 860px) {
  .abertura .envolve, .lado-a-lado { grid-template-columns: 1fr; }
  .azulejos { max-width: 360px; width: 100%; margin: 0 auto; order: -1; aspect-ratio: 16 / 9; }
  .passos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .topo nav a:not(.inicio) { display: none; }
  .escolha, .passos { grid-template-columns: 1fr; }
  section.bloco { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opcao { transition: none; }
}

.aviso-iphone { background: rgba(255,255,255,.12); border-radius: 12px; padding: 10px 14px; font-size: 1rem; color: #fff; }

[hidden] { display: none !important; }
