/* Site institucional JOY (www.joyaplicativo.com.br) - 11/11/2026.
   Cores do folder institucional: creme, verde, azul-marinho. */
:root {
  --navy: #152548;
  --navy-2: #1f3563;
  --green: #76ba6c;
  --green-dark: #2f7d3a;
  --cream: #faf3c8;
  --cream-2: #fdf9e4;
  --text: #1d2433;
  --muted: #55607a;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(21, 37, 72, 0.35);
  --max: 1160px;
  font-family: "Raleway", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--cream-2); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
.hl { color: var(--green-dark); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dark); margin-bottom: 10px; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 4px; border-radius: 2px; background: var(--green); vertical-align: middle; margin-right: 10px; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253, 249, 228, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(21, 37, 72, 0.08); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.top .logo img { height: 34px; width: auto; }
.top nav { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--navy); font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 0.95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { background: rgba(118, 186, 108, 0.22); }
.top nav a.nav-restrita { background: var(--navy); color: var(--white); margin-left: 6px; }
.top nav a.nav-restrita:hover { background: var(--navy-2); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 14px 24px; font-size: 1rem; transition: transform 0.15s ease, box-shadow 0.15s ease; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-green { background: var(--green); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn small { display: block; font-weight: 600; font-size: 0.75rem; opacity: 0.8; }

/* Hero com a onda verde do folder */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: 64px 0 150px; }
.hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -190px; height: 300px; background: var(--green); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: rotate(-4deg); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .art { position: relative; }
.hero .art img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero .badge { position: absolute; left: -14px; bottom: 26px; background: var(--white); color: var(--navy); font-weight: 800; padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow); }
.hero .badge span { color: var(--green-dark); }

/* Faixa do outdoor "Vá de JOY!" */
.banner { padding: 40px 0; background: var(--green); }
.banner img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Seções */
section { padding: 84px 0; }
.alt { background: var(--white); }
.navy { background: var(--navy); color: #dfe6f5; }
.navy h2, .navy h3 { color: var(--white); }
.navy .lead { color: #c4cee6; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 30px -22px rgba(21, 37, 72, 0.5); border: 1px solid rgba(21, 37, 72, 0.06); }
.alt .card { background: var(--cream-2); }
.navy .card { background: var(--navy-2); border-color: rgba(255, 255, 255, 0.08); color: #dfe6f5; }
.card p { margin: 0; color: var(--muted); }
.navy .card p { color: #c4cee6; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(118, 186, 108, 0.22); color: var(--green-dark); margin-bottom: 14px; }
.navy .icon { background: rgba(118, 186, 108, 0.2); color: var(--green); }
.icon svg { width: 26px; height: 26px; }
.photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Passos */
.steps { counter-reset: s; display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.steps strong { color: var(--navy); display: block; }
.navy .steps strong { color: var(--white); }

/* Lista com check */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23152548' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Faixa de chamada */
.cta { background: var(--green); padding: 64px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin: 0; }

/* Páginas de texto (política/termos) */
.doc { padding: 56px 0 80px; }
.doc .paper { background: var(--white); border-radius: var(--radius); padding: clamp(22px, 5vw, 56px); box-shadow: 0 10px 30px -22px rgba(21, 37, 72, 0.5); }
.doc .paper * { font-family: inherit !important; font-size: inherit; color: inherit; background: none !important; }
.doc .paper h1, .doc .paper h2, .doc .paper h3 { color: var(--navy); }
.doc .paper h1 { font-size: 1.9rem; } .doc .paper h2 { font-size: 1.35rem; } .doc .paper h3 { font-size: 1.15rem; }
.doc .muted { color: var(--muted); font-size: 0.95rem; }

/* Rodapé */
footer { background: var(--navy); color: #c4cee6; padding: 56px 0 34px; font-size: 0.95rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h3 { color: var(--white); font-size: 1rem; }
footer a { color: #dfe6f5; text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--green); }
footer .logo img { height: 36px; width: auto; margin-bottom: 14px; }
footer .legal { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 34px; padding-top: 20px; font-size: 0.85rem; }

@media (max-width: 900px) {
  .hero .wrap, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .top .wrap { justify-content: space-between; }
  .top .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 40px 0 80px; }
  .hero .badge { left: 10px; }
}
.menu-btn { display: none; margin-left: auto; }
.top.open nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--cream-2); padding: 12px 20px 18px; border-bottom: 1px solid rgba(21, 37, 72, 0.1); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
