/* =========================================================
   Guias GeekMega - Light UI
   Arquivo: /assets/css/guias.css
========================================================= */

:root{
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --text: #0f172a;          /* slate-900 */
  --muted: #475569;         /* slate-600 */
  --muted-2: #64748b;       /* slate-500 */
  --border: #e6e8f0;

  --primary: #3b5bfd;       /* azul limpo */
  --primary-2: #6a5cff;     /* roxo-azulado */
  --accent: #ff6b00;        /* laranja pontual (CTA) */

  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, .06);

  --radius: 16px;
  --radius-lg: 22px;

  --container: 1200px;
  --gutter: 16px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: radial-gradient(1200px 400px at 20% 0%, rgba(59,91,253,.08), transparent 60%),
              radial-gradient(900px 400px at 90% 10%, rgba(106,92,255,.08), transparent 55%),
              var(--bg);
}

img{ max-width: 100%; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: none; }
p{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link{
  position:absolute; left:-9999px; top: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; top: 12px; outline: 3px solid rgba(59,91,253,.25); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  user-select:none;
  cursor:pointer;
}

.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(59,91,253,.18);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(59,91,253,.22);
}

.btn-soft{
  background: rgba(59,91,253,.08);
  border-color: rgba(59,91,253,.18);
  color: var(--text);
}
.btn-soft:hover{ background: rgba(59,91,253,.12); transform: translateY(-1px); }

.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ background: rgba(15,23,42,.03); }

.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(59,91,253,.08);
  border: 1px solid rgba(59,91,253,.14);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

/* =========================================================
   Header / Menu
========================================================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,247,251,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230,232,240,.8);
}

.header-inner{
  height: 72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}
.brand-mark{
  width: 38px; height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 30px rgba(59,91,253,.18);
}
.brand-title{
  display:flex;
  flex-direction:column;
  line-height: 1.1;
}
.brand-title strong{ font-size: 14px; letter-spacing: .2px; }
.brand-title span{ font-size: 12px; color: var(--muted-2); }

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  height: 40px;
  display:inline-flex;
  align-items:center;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
}
.nav a:hover{ background: rgba(15,23,42,.04); color: var(--text); }

.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.search{
  position: relative;
  width: min(460px, 42vw);
}
.search input{
  width: 100%;
  height: 44px;
  padding: 0 44px 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.8);
  outline: none;
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.search input:focus{
  border-color: rgba(59,91,253,.45);
  outline: 3px solid rgba(59,91,253,.16);
}
.search button{
  position:absolute;
  right: 6px; top: 6px;
  width: 32px; height: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor:pointer;
}
.search button:hover{ background: rgba(15,23,42,.03); }

@media (max-width: 920px){
  .nav{ display:none; }
  .search{ width: min(520px, 62vw); }
}
@media (max-width: 560px){
  .search{ display:none; }
  .brand{ min-width: unset; }
}

/* =========================================================
   Layout blocks
========================================================= */
.main{
  padding: 28px 0 40px;
}

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 10px;
}
.hero-card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.75));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow:hidden;
  position: relative;
}
.hero-card::after{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at 30% 30%, rgba(59,91,253,.22), transparent 60%);
  transform: rotate(12deg);
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.5px;
}
.hero .lead{
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.hero-mini{
  display:grid;
  gap: 12px;
}
.mini-card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.mini-card h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.mini-card p{ margin: 0; font-size: 13px; color: var(--muted); }

@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
}

/* =========================================================
   Season grid / Cards
========================================================= */
.section{
  margin-top: 18px;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin: 18px 0 12px;
}
.section-head h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: -.2px;
}
.section-head .hint{
  font-size: 13px;
  color: var(--muted-2);
}

.grid{
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

.card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-body{ padding: 14px; }
.card-title{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -.2px;
}
.card-meta{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12px;
}

.season-card{
  grid-column: span 3;
  min-height: 160px;
  position: relative;
  padding: 16px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.season-card .top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 10px;
}
.season-card .season-name{
  font-size: 16px;
  font-weight: 900;
  margin: 0;
}
.season-card .season-sub{
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}
.season-card .pill{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59,91,253,.16);
  background: rgba(59,91,253,.08);
  font-weight: 900;
  font-size: 12px;
}
.season-card .cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 12px;
}
.season-card .cta span{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

@media (max-width: 1100px){
  .season-card{ grid-column: span 4; }
}
@media (max-width: 780px){
  .season-card{ grid-column: span 6; }
}
@media (max-width: 520px){
  .season-card{ grid-column: span 12; }
}

/* =========================================================
   Footer (simple)
========================================================= */
.footer.footer-simple{
  border-top: 1px solid rgba(230,232,240,.9);
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(10px);
  margin-top: 40px;
}

.footer-row{
  padding: 16px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 240px;
}
.footer-mark{
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 22px rgba(59,91,253,.16);
}
.footer-text strong{ font-size: 13px; letter-spacing: .2px; }
.footer-text small{ display:block; color: var(--muted-2); line-height: 1.3; }

.footer-links{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-links a{
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-links a:hover{
  color: var(--text);
  background: rgba(15,23,42,.03);
}

.footer-copy small{
  color: var(--muted-2);
  font-size: 12px;
}

@media (max-width: 560px){
  .footer-brand{ min-width: unset; }
  .footer-links{ gap: 8px; }
}


/* =========================================================
   Nav: active + separator + mobile offcanvas
========================================================= */

.nav a.is-active{
  color: var(--text);
  background: rgba(59,91,253,.10);
  border: 1px solid rgba(59,91,253,.18);
}

.nav-sep{
  width: 1px;
  height: 26px;
  background: rgba(230,232,240,.9);
  display:inline-block;
  margin: 0 6px;
}

.menu-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow-soft);
  cursor:pointer;
  padding: 10px;
}
.menu-toggle span{
  display:block;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  margin: 5px 0;
  opacity: .9;
}

@media (max-width: 920px){
  .menu-toggle{ display:inline-flex; flex-direction:column; justify-content:center; }
}

.mobile-nav{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.26);
  display:flex;
  justify-content:flex-end;
  padding: 12px;
  z-index: 999;
  opacity: 0;
  transition: opacity .15s ease;
}
.mobile-nav.is-open{ opacity: 1; }

.mobile-nav-inner{
  width: min(420px, 92vw);
  height: calc(100vh - 24px);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 14px;
  overflow:auto;
  transform: translateX(10px);
  transition: transform .15s ease;
}
.mobile-nav.is-open .mobile-nav-inner{ transform: translateX(0); }

.mobile-nav-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(230,232,240,.9);
  margin-bottom: 10px;
}
.mobile-close{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor:pointer;
  font-size: 20px;
  line-height: 1;
}

.mobile-section{
  padding: 10px 4px;
}
.mobile-title{
  font-weight: 900;
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin: 2px 6px 8px;
}
.mobile-section a{
  display:flex;
  align-items:center;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
  border: 1px solid transparent;
}
.mobile-section a:hover{
  background: rgba(15,23,42,.04);
  color: var(--text);
}
.mobile-section a.is-active{
  background: rgba(59,91,253,.10);
  border-color: rgba(59,91,253,.18);
  color: var(--text);
}

/* Evita scroll do fundo com menu aberto */
html.nav-open, html.nav-open body{ overflow: hidden; }

/* =========================================================
   HEADER gmh- (novo do zero - evita conflito com CSS antigo)
========================================================= */
.gmh-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.gmh-inner{
  height: 68px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.gmh-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.gmh-logo{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 20px rgba(59,91,253,.18);
}
.gmh-brandtxt strong{
  display:block;
  font-size: 14px;
  letter-spacing: .2px;
}
.gmh-brandtxt small{
  display:block;
  font-size: 12px;
  color: var(--muted-2);
  margin-top: -2px;
}

/* Desktop nav */
.gmh-nav{
  display:flex;
  align-items:center;
  gap: 14px;
  flex: 1;
  justify-content:center;
}

.gmh-seg{
  display:flex;
  align-items:center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.gmh-seg a{
  height: 34px;
  display:inline-flex;
  align-items:center;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
}
.gmh-seg a:hover{ background: rgba(15,23,42,.04); color: var(--text); }
.gmh-seg a.is-active{
  background: rgba(59,91,253,.10);
  border-color: rgba(59,91,253,.18);
  color: var(--text);
}

.gmh-links{
  display:flex;
  align-items:center;
  gap: 8px;
}
.gmh-links a{
  height: 34px;
  display:inline-flex;
  align-items:center;
  padding: 0 10px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
}
.gmh-links a:hover{ background: rgba(15,23,42,.04); color: var(--text); }
.gmh-links a.is-active{
  background: rgba(59,91,253,.10);
  border-color: rgba(59,91,253,.18);
  color: var(--text);
}

/* Actions */
.gmh-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.gmh-search{
  position: relative;
  width: min(420px, 34vw);
}
.gmh-search input{
  width: 100%;
  height: 40px;
  padding: 0 42px 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
}
.gmh-search input:focus{
  border-color: rgba(59,91,253,.45);
  outline: 3px solid rgba(59,91,253,.14);
}
.gmh-search button{
  position:absolute;
  right: 6px;
  top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
}
.gmh-search button:hover{ background: rgba(15,23,42,.03); }

.gmh-portal{
  height: 40px;
  display:inline-flex;
  align-items:center;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  background: #fff;
}
.gmh-portal:hover{ background: rgba(15,23,42,.03); }

/* Mobile menu (details) */
.gmh-mobile{
  display:none;
  position: relative;
}
.gmh-mobile summary{
  list-style:none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap: 5px;
}
.gmh-mobile summary::-webkit-details-marker{ display:none; }
.gmh-mobile summary span{
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  opacity: .9;
}

/* Painel NÃO é overlay de tela inteira (não quebra cliques) */
.gmh-panel{
  position:absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(320px, 92vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 1100;
}
.gmh-panel-title{
  margin: 8px 8px 6px;
  font-weight: 900;
  font-size: 12px;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.gmh-panel a{
  display:flex;
  align-items:center;
  height: 42px;
  padding: 0 12px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid transparent;
}
.gmh-panel a:hover{ background: rgba(15,23,42,.04); color: var(--text); }
.gmh-panel a.is-active{
  background: rgba(59,91,253,.10);
  border-color: rgba(59,91,253,.18);
  color: var(--text);
}

/* Responsivo */
@media (max-width: 980px){
  .gmh-nav{ display:none; }
  .gmh-mobile{ display:block; }
  .gmh-search{ width: min(520px, 52vw); }
}
@media (max-width: 560px){
  .gmh-search{ display:none; }
}


