:root {
  --primary: #1D4ED8;
  --primary-dark: #1E3A8A;
  --secondary: #2563EB;
  --secondary-hover: #1D4ED8;
  --accent: #8FC1E3;
  --text-main: #1E2A38;
  --text-light: #5A7186;
  --bg-main: #F4F8FB;
  --white: #ffffff;
  --border: #D7E6F0;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* HEADER */
.main-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .flash { font-weight: 800; font-size: 1.25rem; font-style: italic; }
.logo-text .recarga { font-weight: 400; font-size: 0.875rem; letter-spacing: 0.1em; }

.main-nav ul { display: flex; gap: 2rem; }
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white);
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: var(--transition);
}
.login-btn:hover { background-color: rgba(255,255,255,0.2); }

/* FOOTER */
.main-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 1.5rem;
}
.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
  line-height: 1.6;
}
.footer-links h4, .footer-contact h4, .footer-payment h4 {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; opacity: 0.8; transition: var(--transition); }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-contact p { font-size: 0.875rem; opacity: 0.8; margin-bottom: 0.5rem; }
.footer-contact .phone { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; margin: 1rem 0; }
.footer-contact .hours { font-size: 0.75rem; }
.footer-payment p { font-size: 0.875rem; opacity: 0.8; margin-bottom: 1rem; }
.pix-logo { margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* BOTAO HAMBURGUER E OVERLAY */
.mobile-menu-btn {
  display: none !important;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.menu-overlay.open {
  display: block;
  opacity: 1;
}

/* RESPONSIVIDADE MOBILE - GERAL */
@media (max-width: 768px) {
  .header-container {
    flex-direction: row;
    padding: 0 1.5rem;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .mobile-menu-btn {
    display: block !important;
  }
  
  /* Sidebar Menu */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background-color: var(--primary-dark);
    padding: 5rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  .main-nav.open {
    right: 0;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-nav a {
    font-size: 1.1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .footer-links ul {
    align-items: center;
  }
  .footer-contact .phone {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

