/* Site do Insetinhos — mesma paleta pastel e estilo "papel recortado" do app */

:root {
    --creme: #fffaf0;
    --menta: #bfe3d0;
    --menta-escura: #8fc7ad;
    --pessego: #f7c98b;
    --rosa: #f8c9c0;
    --manteiga: #f9e2a8;
    --tinta: #4a443f;
    --texto: #5f574f;
    --texto-suave: #8f867b;
    --linha: #efe7d8;
    --marrom: #7a4a2e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--creme);
    color: var(--texto);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #3f7f62; text-underline-offset: 3px; }
a:hover { color: var(--tinta); }

.wrap {
    width: min(100% - 40px, 1040px);
    margin-inline: auto;
}

/* ---------- topo ---------- */

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--tinta);
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.top nav { display: flex; gap: 22px; font-weight: 700; }
.top nav a { color: var(--texto); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--tinta); text-decoration: underline; }

/* ---------- herói ---------- */

.hero {
    background-color: var(--menta);
    background-image:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .18) 0 9%, transparent 10%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, .13) 0 7%, transparent 8%);
    background-size: 84px 84px;
}
.hero .wrap {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    padding-block: 28px 0;
}
.hero h1 { margin: 0; }
.hero h1 img { width: min(100%, 460px); filter: drop-shadow(0 6px 8px rgba(90, 60, 30, .2)); }
.hero p.lead {
    max-width: 30em;
    margin: 18px 0 26px;
    color: #3f5a4c;
    font-size: 22px;
    line-height: 1.45;
}
.hero-phone { align-self: end; justify-self: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    padding: 14px 30px 16px;
    border-radius: 999px;
    background: var(--tinta);
    box-shadow: 0 8px 18px rgba(60, 40, 20, .28);
    color: var(--creme);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn.off { background: #a59d93; box-shadow: none; cursor: default; }
.btn.off:hover { transform: none; color: var(--creme); }
.note { margin: 12px 0 0; color: #5d7a6b; font-size: 15px; }

/* moldura de celular para as capturas */
.phone {
    width: min(300px, 70vw);
    padding: 10px;
    border-radius: 38px;
    background: var(--tinta);
    box-shadow: 0 24px 40px rgba(60, 40, 20, .28);
}
.phone img { border-radius: 29px; }
.hero-phone .phone { border-radius: 38px 38px 0 0; padding-bottom: 0; }
.hero-phone .phone img { border-radius: 29px 29px 0 0; height: 470px; object-fit: cover; object-position: top; }

/* ---------- seções ---------- */

section { padding: 64px 0; }
section h2 {
    margin: 0 0 8px;
    color: var(--tinta);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
}
section .sub { max-width: 38em; margin: 0 0 34px; color: var(--texto-suave); }

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.card {
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(110, 70, 30, .1);
}
.card .dot {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse 50% 50% at 64% 50%, transparent 0 99%, rgba(70, 35, 10, .17) 100%),
        var(--c, var(--menta));
    box-shadow: 0 4px 8px rgba(60, 40, 20, .18);
}
.card h3 { margin: 0 0 6px; color: var(--tinta); font-size: 21px; }
.card p { margin: 0; font-size: 17px; }

.band { background: #fdf1dc; }
.split {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 48px;
}
.checks { margin: 0; padding: 0; list-style: none; }
.checks li {
    position: relative;
    margin: 0 0 14px;
    padding-left: 38px;
}
.checks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .2em;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--menta-escura);
}
.checks li::after {
    content: '';
    position: absolute;
    left: 8px;
    top: calc(.2em + 5px);
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.checks b { color: var(--tinta); }

/* ---------- rodapé ---------- */

footer {
    padding: 34px 0 44px;
    border-top: 1px solid var(--linha);
    color: var(--texto-suave);
    font-size: 16px;
}
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ---------- página de texto (política de privacidade) ---------- */

.doc { width: min(100% - 40px, 760px); margin-inline: auto; padding: 36px 0 70px; }
.doc h1 { margin: 0 0 4px; color: var(--tinta); font-size: clamp(30px, 5vw, 42px); line-height: 1.15; }
.doc .date { margin: 0 0 28px; color: var(--texto-suave); }
.doc h2 { margin: 40px 0 8px; color: var(--tinta); font-size: 25px; line-height: 1.25; }
.doc p, .doc li { max-width: 40em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.summary {
    padding: 20px 24px;
    border-radius: 22px;
    background: #e6f4ec;
    color: #3f5a4c;
}
.summary p { margin: 0; }
.fill {
    padding: 1px 6px;
    border-radius: 6px;
    background: #fde9a6;
    color: #6b4a14;
    font-weight: 700;
}
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 17px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--linha); text-align: left; vertical-align: top; }
th { color: var(--tinta); }

@media (max-width: 760px) {
    body { font-size: 17px; }
    .hero .wrap { grid-template-columns: 1fr; text-align: center; gap: 24px; }
    .hero p.lead { margin-inline: auto; }
    .hero h1 img { margin-inline: auto; }
    .split { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
    .top nav { gap: 14px; font-size: 16px; }
    section { padding: 48px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
