/* ==========================================================
   Lotérica Pedro Taques — estilos
   ========================================================== */

:root {
  --green: #209869;
  --green-dark: #14724d;
  --blue: #133984;
  --blue-dark: #0c2657;
  --orange: #F78100;
  --yellow: #ffc700;
  --ink: #1c2430;
  --gray: #5b6472;
  --light: #f4f6f9;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(16, 42, 67, 0.10);
  --font: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-primary {
  background: var(--yellow);
  color: var(--blue-dark);
  box-shadow: 0 6px 16px rgba(255, 199, 0, 0.35);
}
.btn-primary:hover { background: #ffd333; }
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline-dark {
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }

/* ---------- Verificação de idade ---------- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 26, 62, 0.92);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.age-gate[hidden] { display: none; }
.age-gate-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.age-gate-badge {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid var(--yellow);
  color: var(--blue);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.age-gate-card h2 {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.age-gate-card p {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.age-gate-actions .btn { cursor: pointer; border: 0; font-family: var(--font); }
.btn-gate-no {
  background: var(--light);
  color: var(--gray);
  border: 2px solid #d8dee7 !important;
}
.btn-gate-no:hover { background: #e8ecf2; }
.age-gate-card small { color: #9aa3b0; font-size: 0.75rem; }

body.age-gate-open { overflow: hidden; }

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  padding: 0.45rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  text-decoration: none;
}
.topbar-whats { margin-left: auto; color: #4ade80; font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.logo-text em {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.nav { display: flex; gap: 1.4rem; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover { color: var(--green); border-color: var(--green); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 55%, #071a3e 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
  padding: 4.5rem 0;
}
.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 34rem;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-balls {
  position: relative;
  height: 320px;
}
.ball {
  position: absolute;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--blue-dark);
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #e8ecf2 45%, #b9c3d1 100%);
  box-shadow: inset -6px -8px 14px rgba(12, 38, 87, 0.25), 0 14px 28px rgba(0, 0, 0, 0.35);
  animation: float 5s ease-in-out infinite;
}
.ball-1 { width: 110px; height: 110px; font-size: 2rem; top: 8%; left: 12%; animation-delay: 0s; }
.ball-2 { width: 80px; height: 80px; font-size: 1.5rem; top: 52%; left: 0; animation-delay: 0.7s; }
.ball-3 { width: 130px; height: 130px; font-size: 2.4rem; top: 34%; left: 40%; animation-delay: 1.3s;
  background: radial-gradient(circle at 32% 28%, #ffe27a 0%, var(--yellow) 55%, #d9a400 100%); }
.ball-4 { width: 74px; height: 74px; font-size: 1.35rem; top: 4%; right: 8%; animation-delay: 1.9s; }
.ball-5 { width: 96px; height: 96px; font-size: 1.7rem; bottom: 2%; right: 14%; animation-delay: 2.5s;
  background: radial-gradient(circle at 32% 28%, #7fe0b6 0%, var(--green) 55%, var(--green-dark) 100%); color: #fff; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* ---------- Seções ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--light); }
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.section-head p { color: var(--gray); }

/* ---------- Jogos ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem;
}
.game-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e6eaf0;
  border-top: 5px solid var(--game-color);
  padding: 1.4rem 1.3rem;
  box-shadow: 0 3px 12px rgba(16, 42, 67, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game-card h3 {
  color: var(--game-color);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.game-card p { font-size: 0.85rem; color: var(--gray); }

/* ---------- Resultados ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.result-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 3px 12px rgba(16, 42, 67, 0.06);
  overflow: hidden;
}
.result-card header {
  background: var(--game-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
}
.result-card h3 { font-size: 1rem; font-weight: 800; }
.result-contest { font-size: 0.78rem; opacity: 0.9; }
.result-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.2rem;
}
.result-numbers span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--light);
  border: 2px solid var(--game-color);
  color: var(--game-color);
  font-weight: 800;
  font-size: 0.9rem;
}
.result-date {
  padding: 0 1.2rem 1.1rem;
  font-size: 0.8rem;
  color: var(--gray);
}
.results-note { text-align: center; margin-top: 1.6rem; font-size: 0.85rem; color: var(--gray); }
.results-note a { color: var(--green); font-weight: 700; }

/* ---------- Bolões ---------- */
.boloes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}
.bolao-card {
  background: var(--white);
  border: 1px solid #e6eaf0;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 3px 12px rgba(16, 42, 67, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
}
.bolao-badge {
  background: var(--game-color);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
}
.bolao-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.bolao-card ul { list-style: none; flex: 1; }
.bolao-card li {
  font-size: 0.88rem;
  color: var(--gray);
  padding-left: 1.3rem;
  position: relative;
  margin-bottom: 0.35rem;
}
.bolao-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 12px rgba(16, 42, 67, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  display: grid;
  place-items: center;
}
.service-card h3 { font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: 0.4rem; }
.service-card p { font-size: 0.85rem; color: var(--gray); }

/* ---------- Sobre ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 1rem;
}
.about-text p { color: var(--gray); margin-bottom: 0.9rem; }
.about-list { list-style: none; margin-top: 1.2rem; }
.about-list li {
  padding-left: 1.6rem;
  position: relative;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}
.about-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--yellow);
}
.about-highlight { display: flex; flex-direction: column; gap: 1rem; }
.highlight-card {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.highlight-card strong { font-size: 1.9rem; font-weight: 900; color: var(--yellow); }
.highlight-card span { font-size: 0.85rem; opacity: 0.9; }

/* ---------- Jogo Responsável ---------- */
.section-responsible {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border-top: 4px solid var(--yellow);
  border-bottom: 4px solid var(--yellow);
  padding: 3rem 0;
}
.responsible-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.responsible-img { flex-shrink: 0; }
.responsible-text { max-width: 560px; }
.responsible-text h2 {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.responsible-text p { color: #5a5340; margin-bottom: 1.1rem; font-size: 0.95rem; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; align-items: flex-start; }
.contact-item { display: flex; gap: 0.9rem; }
.contact-item svg { color: var(--green); flex-shrink: 0; margin-top: 0.2rem; }
.contact-item strong { display: block; color: var(--blue); font-size: 0.95rem; }
.contact-item p { color: var(--gray); font-size: 0.9rem; }
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- Rodapé ---------- */
.footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--yellow);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-col a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-brand p { font-size: 0.88rem; margin: 1rem 0 1.2rem; }
.logo-footer .logo-text strong { color: var(--white); }
.logo-footer .logo-text em { color: var(--yellow); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background 0.15s, transform 0.15s;
}
.footer-social a:hover { background: var(--green); transform: translateY(-2px); }
.footer-contact li { color: rgba(255, 255, 255, 0.75); }
.footer-18 {
  display: inline-grid;
  place-items: center;
  margin-top: 0.8rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--yellow);
  color: var(--yellow);
  font-weight: 900;
  font-size: 0.95rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  z-index: 60;
  transition: transform 0.15s;
}
.whats-float:hover { transform: scale(1.08); }

/* ---------- Responsivo ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3.2rem 0; }
  .hero-balls { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-highlight { flex-direction: row; flex-wrap: wrap; }
  .highlight-card { flex: 1 1 160px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .topbar-inner { justify-content: center; }
  .topbar-whats { margin-left: 0; }

  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: 0 12px 20px rgba(16, 42, 67, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.open { max-height: 420px; }
  .nav a { padding: 0.9rem 1.4rem; border-bottom: 1px solid #eef1f5; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
