/* ==========================================================================
   PENSE OFFGRID — HUB DE COMUNIDADE (LINKTREE PREMIUM)
   Acessível em: /comunidade/
   --------------------------------------------------------------------------
   Tokens de Design:
   --orange: #F7931E (Laranja Oficial OffGrid)
   --orange2: #FFC078 (Laranja Suave)
   --green-wa: #25D366 (Verde Oficial WhatsApp)
   --green-wa2: #4af286 (Verde WhatsApp Glow)
   --bg-dark: #0a0b0d (Fundo Grafite Escuro)
   ========================================================================== */

:root {
  --orange: #F7931E;
  --orange2: #FFC078;
  --green-wa: #25D366;
  --green-wa2: #4af286;
  --blue: #3b6fff;
  --blue2: #86a6ff;
  --line: rgba(255, 255, 255, 0.08);
  --line-light: rgba(255, 255, 255, 0.16);
  --muted: #9aa1ad;
  --ink: #e2e8f0;
  --bg-dark: #0a0b0d;
  --glass-bg: rgba(255, 255, 255, 0.025);
  --glass-bg-hover: rgba(255, 255, 255, 0.055);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(130% 85% at 50% -10%, rgba(59, 111, 255, 0.12) 0%, transparent 50%),
    radial-gradient(110% 70% at 50% 110%, rgba(247, 147, 30, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0b0d 0%, #08090a 45%, #050607 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(640px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ==========================================================================
   SEÇÃO 1 — HERO / CABEÇALHO
   ========================================================================== */

header.hero {
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3rem);
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 1.15rem;
  margin-bottom: 2rem;
  display: inline-block;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 1;
}

.brand span {
  color: var(--orange);
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
  text-shadow: 0 0 20px rgba(247, 147, 30, 0.25);
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  font-size: clamp(2.2rem, 6vw, 3rem);
  margin: 0 auto 16px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--muted);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  line-height: 1.6;
  max-width: 48ch;
  margin: 0 auto;
}

/* ==========================================================================
   SEÇÃO 2 — BOTÕES GIGANTES (80% ATENÇÃO VISUAL)
   ========================================================================== */

.primary-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2.5rem;
}

.btn-giant {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(18px, 4vw, 28px);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 12px 32px -16px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shimmer overlay effect */
.btn-giant::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-giant:hover::after {
  left: 150%;
}

.btn-giant-ico {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: all 0.3s ease;
}

.btn-giant-ico svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.btn-giant-content {
  flex: 1;
  text-align: left;
}

.btn-giant-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(1.15rem, 3.5vw, 1.38rem);
  line-height: 1.2;
  margin-bottom: 4px;
  color: #fff;
  letter-spacing: -0.01em;
}

.btn-giant-desc {
  color: var(--muted);
  font-size: clamp(0.82rem, 2vw, 0.92rem);
  line-height: 1.35;
}

.btn-giant-arrow {
  font-size: 1.5rem;
  color: var(--muted);
  opacity: 0.35;
  transition: all 0.3s ease;
  padding-left: 8px;
}

/* Customizações Telegram */
.btn-giant.telegram {
  border-color: rgba(247, 147, 30, 0.16);
}

.btn-giant.telegram .btn-giant-ico {
  background: linear-gradient(135deg, rgba(247, 147, 30, 0.15), rgba(255, 192, 120, 0.05));
  border: 1px solid rgba(247, 147, 30, 0.3);
  color: var(--orange);
  box-shadow: 0 8px 24px -8px rgba(247, 147, 30, 0.4);
}

.btn-giant.telegram:hover {
  transform: translateY(-4px);
  border-color: rgba(247, 147, 30, 0.45);
  box-shadow: 
    0 24px 48px -16px rgba(247, 147, 30, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(247, 147, 30, 0.03);
}

.btn-giant.telegram:hover .btn-giant-ico {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #1a1206;
  box-shadow: 0 0 24px rgba(247, 147, 30, 0.5);
}

/* Customizações WhatsApp */
.btn-giant.whatsapp {
  border-color: rgba(37, 211, 102, 0.15);
}

.btn-giant.whatsapp .btn-giant-ico {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(74, 242, 134, 0.04));
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: var(--green-wa);
  box-shadow: 0 8px 24px -8px rgba(37, 211, 102, 0.3);
}

.btn-giant.whatsapp:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, 0.4);
  box-shadow: 
    0 24px 48px -16px rgba(37, 211, 102, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(37, 211, 102, 0.025);
}

.btn-giant.whatsapp:hover .btn-giant-ico {
  background: linear-gradient(135deg, var(--green-wa), var(--green-wa2));
  color: #03210d;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.5);
}

/* Hover General Effects */
.btn-giant:hover .btn-giant-arrow {
  color: #fff;
  opacity: 1;
  transform: translateX(4px);
}

.btn-giant:hover .btn-giant-ico svg {
  transform: scale(1.1) rotate(-4deg);
}

/* ==========================================================================
   SEÇÃO 3 — OUTROS LINKS (SECUNDÁRIOS)
   ========================================================================== */

.secondary-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 2.8rem;
}

.secondary-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  padding-left: 4px;
  opacity: 0.8;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-ico {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  transition: all 0.25s;
}

.link-ico svg {
  width: 18px;
  height: 18px;
}

.link-item-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: #e2e8f0;
  text-transform: uppercase;
  flex: 1;
  text-align: left;
  transition: color 0.2s;
}

.link-arrow {
  font-size: 1.1rem;
  color: var(--muted);
  opacity: 0.25;
  transition: all 0.25s;
}

/* Hover effects */
.link-item:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 24px -12px rgba(0, 0, 0, 0.6);
}

.link-item:hover .link-ico {
  color: var(--orange);
  background: rgba(247, 147, 30, 0.08);
  border-color: rgba(247, 147, 30, 0.25);
}

.link-item:hover .link-item-title {
  color: #fff;
}

.link-item:hover .link-arrow {
  color: #fff;
  opacity: 0.8;
  transform: translateX(2px);
}

/* ==========================================================================
   SEÇÃO 4 — BLOCO DE AUTORIDADE (POR QUE ENTRAR)
   ========================================================================== */

.authority-box {
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  margin-bottom: 2.8rem;
  text-align: center;
}

.authority-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #fff;
  background: linear-gradient(180deg, #ffffff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.authority-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.25s;
}

.authority-item svg {
  width: 14px;
  height: 14px;
  color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(247, 147, 30, 0.4));
}

.authority-item:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}

/* ==========================================================================
   SEÇÃO 5 — RODAPÉ / LINKS DE APOIO
   ========================================================================== */

footer {
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  width: 100%;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.btn-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
}

.btn-footer:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-footer svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.btn-footer:hover svg {
  transform: translateX(-3px);
}

.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 10px;
}

/* ==========================================================================
   RESPONSIVIDADE E AJUSTES DE TELA
   ========================================================================== */

@media (max-width: 480px) {
  .container {
    padding: 1.5rem 0;
  }
  
  .btn-giant {
    gap: 14px;
    padding: 18px 20px;
  }
  
  .btn-giant-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  
  .btn-giant-ico svg {
    width: 22px;
    height: 22px;
  }
  
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .authority-box {
    padding: 20px;
  }
}
