/* GM20 Ofertas - Estilos Globais Acessíveis */

:root {
  --bg-900: #0b161b;
  --bg-800: #0f2027;
  --bg-700: #152026;
  --card: #1b2831;
  --text-100: #ffffff;
  --text-200: #f2f2f2;
  --text-400: #cccccc;
  --text-600: #999999;
  --text-700: #777777;
  --brand-500: #fe6a00;
  --brand-600: #e55e00;
  --brand-700: #b34b00;
  --accent-telegram: #0088cc;
  --success-500: #00b34d;
  --focus: #77baff;
}

/* Reset básico + tipografia */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg-800);
  color: var(--text-100);
  line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* Acessibilidade: foco visível */
:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Link de pular conteúdo */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: var(--brand-500); color: #fff; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 20px; }
.main-content { flex: 1; padding-bottom: 40px; }

/* Navbar */
.navbar { background: var(--bg-900); padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; }
.logo img { max-height: 48px; width: auto; vertical-align: middle; }
.menu a { margin-left: 16px; font-size: 0.95rem; color: #e6e6e6; font-weight: 700; letter-spacing: .2px; }
.menu a:hover, .menu a:focus { color: var(--brand-500); }

/* Títulos */
h1, h2 { text-align: center; color: var(--brand-500); margin: 24px 0 24px; line-height: 1.2; }

/* Cards e grids reutilizáveis */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.3); border: 1px solid transparent; transition: transform .2s, border-color .2s; }
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: var(--brand-500); }
.card img { width: 100%; height: 200px; object-fit: contain; background: #fff; padding: 12px; }
.card-body { padding: 12px; text-align: center; }
.card-title { font-size: 1rem; margin-bottom: 6px; height: 2.6em; overflow: hidden; color: var(--text-100); }
.price { color: var(--success-500); font-weight: 800; font-size: 1.2rem; }

.btn, .btn-ver { display: inline-block; background: var(--brand-500); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 800; border: 0; cursor: pointer; text-align: center; transition: transform .1s, box-shadow .2s, background .2s; }
.btn:hover, .btn:focus, .btn-ver:hover, .btn-ver:focus { background: var(--brand-600); box-shadow: 0 6px 18px rgba(254,106,0,.35); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero-section { background: linear-gradient(135deg, rgba(15,32,39,0.95) 0%, rgba(32,58,67,0.8) 100%), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1950&q=80'); background-size: cover; background-position: center; padding: 80px 20px; text-align: center; border-bottom: 4px solid var(--brand-500); }
.hero-tag { background: var(--brand-500); color: white; padding: 6px 16px; border-radius: 999px; text-transform: uppercase; font-size: .85rem; font-weight: 800; letter-spacing: 1px; display: inline-block; margin-bottom: 14px; }
.hero-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-400); max-width: 740px; margin: 0 auto 28px; line-height: 1.7; }
.cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta-button { padding: 16px 32px; border-radius: 999px; font-weight: 800; text-transform: uppercase; font-size: 0.95rem; letter-spacing: .3px; transition: all .2s; box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.cta-primary { background: linear-gradient(90deg, var(--brand-500) 0%, #ff8c00 100%); color: #fff; }
.cta-secondary { background: transparent; border: 2px solid var(--brand-500); color: var(--brand-500); }
.cta-secondary:hover, .cta-secondary:focus { background: rgba(254,106,0,0.12); color: #fff; }

/* Seções informativas */
.pain-points { padding: 56px 20px; background: var(--bg-900); text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 1100px; margin: 28px auto 0; }
.feature-box { background: var(--bg-700); padding: 24px; border-radius: 12px; border: 1px solid #333; transition: transform .2s, border-color .2s; text-align: left; }
.feature-box:hover { transform: translateY(-4px); border-color: var(--brand-500); }
.icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.feature-title { color: var(--text-100); font-weight: 800; margin-bottom: 8px; font-size: 1.1rem; }
.feature-text { color: var(--text-600); font-size: .95rem; }

/* Live feed */
.live-feed { padding: 56px 20px; background: var(--bg-800); }
.section-head { text-align: center; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin-bottom: 8px; }
.section-head span { color: var(--brand-500); font-weight: 800; }

/* Zona VIP / Telegram */
.vip-section { background: linear-gradient(90deg, var(--accent-telegram) 0%, #005f8f 100%); padding: 40px 20px; text-align: center; color: white; margin: 36px 0; }
.telegram-btn { background: #fff; color: var(--accent-telegram); padding: 14px 26px; border-radius: 999px; font-weight: 800; display: inline-block; }
.telegram-btn:hover, .telegram-btn:focus { background: #eef7ff; }

/* Cupons */
.cupom-card { position: relative; background: linear-gradient(180deg, #20303a 0%, var(--card) 60%); border: 2px dashed #445; border-radius: 16px; padding: 24px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; min-height: 230px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.cupom-card:hover { border-color: var(--brand-500); transform: translateY(-3px); }
.cupom-card:focus-within { box-shadow: 0 10px 28px rgba(254,106,0,.25); border-color: var(--brand-500); }
.cupom-card::before { content: 'CUPOM'; position: absolute; top: -10px; left: 16px; background: var(--brand-500); color: #fff; font-weight: 900; font-size: .75rem; padding: 4px 10px; border-radius: 999px; letter-spacing: .6px; }
.cupom-desc { color: var(--text-400); margin-bottom: 16px; font-size: .95rem; line-height: 1.5; min-height: 48px; }
.store-pill { display: inline-block; align-self: center; background: rgba(255,255,255,0.1); color: var(--text-200); border: 1px solid #445; padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .3px; margin: 2px 0 10px; }
.cupom-sep { position: relative; height: 16px; margin: 8px 0 12px; }
.cupom-sep::before { content: ''; position: absolute; left: 12px; right: 12px; top: 8px; border-top: 2px dashed #556; }
.cupom-sep::after { content: ''; position: absolute; width: 12px; height: 12px; background: var(--bg-800); border: 2px solid #556; border-radius: 50%; top: 2px; left: -6px; box-shadow: calc(100% + 12px) 0 0 0 var(--bg-800), calc(100% + 12px) 0 0 2px #556; }
.cupom-hint { color: var(--text-600); font-size: .9rem; margin-bottom: 14px; }
.btn-cta-ver { background: var(--brand-500); color: #fff; padding: 14px; border-radius: 10px; font-weight: 800; text-transform: uppercase; cursor: pointer; border: none; width: 100%; font-size: 1rem; transition: .2s; box-shadow: 0 4px 0 var(--brand-700); }
.btn-cta-ver:hover { background: #ff7b1a; transform: translateY(2px); box-shadow: 0 2px 0 var(--brand-700); }
.btn-cta-ver:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Footer */
footer { background: var(--bg-900); padding: 36px 20px; color: var(--text-700); font-size: .85rem; border-top: 1px solid #333; margin-top: auto; }
.footer-legal { max-width: 900px; margin: 0 auto; text-align: center; line-height: 1.7; }
.footer-legal p { margin-bottom: 14px; }
.footer-links a { color: var(--brand-500); margin: 0 10px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { text-decoration: underline; }

/* Responsividade */
@media (max-width: 600px) {
  .menu a { margin-left: 10px; font-size: .9rem; }
  .card img { height: 160px; }
}

/* Modal (Cupons) */
.modal-overlay { display: none; position: fixed; z-index: 1000; inset: 0; background-color: rgba(0,0,0,0.85); justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.modal-box { background: var(--card); padding: 30px; border-radius: 15px; width: 90%; max-width: 450px; text-align: center; border: 1px solid var(--brand-500); position: relative; box-shadow: 0 0 20px rgba(254,106,0,0.3); animation: zoomIn .3s ease; }
@keyframes zoomIn { from { transform: scale(.98); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 10px; right: 15px; color: #aaa; font-size: 24px; font-weight: 800; cursor: pointer; }
.modal-close:hover, .modal-close:focus { color: #fff; }
.modal-title { color: var(--brand-500); margin-bottom: 10px; font-size: 1.5rem; }
.modal-desc { color: var(--text-400); margin-bottom: 20px; font-size: .95rem; }
.revealed-code { background: var(--success-500); color: #fff; font-size: 1.8rem; font-weight: 900; padding: 15px; border-radius: 8px; border: 2px dashed rgba(255,255,255,0.5); margin-bottom: 10px; user-select: all; }
.copy-msg { color: var(--success-500); font-weight: 800; font-size: .95rem; margin-bottom: 20px; display: block; }
.btn-loja-modal { display: block; background: #fff; color: var(--bg-900); padding: 14px; border-radius: 999px; text-decoration: none; font-weight: 800; text-transform: uppercase; transition: .2s; }
.btn-loja-modal:hover, .btn-loja-modal:focus { background: var(--brand-500); color: #fff; }
