/* =========================================
   VARIÁVEIS CSS (cores, fontes, etc.)
========================================= */
:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --accent-color: #ff0076;
    --text-color: #f8f9fa;
    --bg-dark: #1a1a1a;
    --bg-light: #2d2d2d;
    --gradient: linear-gradient(
      135deg,
      var(--primary-color) 0%,
      var(--secondary-color) 100%
    );
    --transition: 0.4s ease-in-out;
  }
  
  /* RESET E BASE */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Poppins", sans-serif;
    background: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.5;
  }
  
  /* =======================
         HEADER
  ======================= */
  .header {
    min-height: 100vh;
    background: var(--gradient);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 3rem;
  }
  
  /* NAVBAR */
  .navbar {
    width: 100%;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
  }
  
  .nav-logo span {
    color: var(--accent-color);
  }
  
  .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  
  .nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: var(--accent-color);
  }
  
  .nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
  }
  
  /* HERO CONTENT */
  .hero-content {
    margin-top: 7rem; /* para compensar o navbar fixo */
    text-align: center;
    padding: 0 5%;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
  }
  
  .hero-buttons {
    display: inline-flex;
    gap: 1rem;
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    background: var(--accent-color);
    color: #fff;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .btn.btn-outline {
    background: transparent;
    border: 2px solid var(--text-color);
  }
  
  /* =======================
         SEÇÃO: PORTFÓLIO
  ======================= */
  .portfolio-section {
    padding: 5rem 5%;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
  }
  
  .section-title::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .portfolio-item:hover {
    transform: translateY(-8px);
  }
  
  .portfolio-img {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
  }
  
  .portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    text-align: center;
    padding: 1rem;
  }
  
  .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
  }
  
  .portfolio-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }
  
  .portfolio-overlay a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--text-color);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
  }
  
  .portfolio-overlay a:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
  }
  
  /* =======================
         SEÇÃO: SKILLS
  ======================= */
  .skills-section {
    padding: 5rem 5%;
    background: var(--bg-light);
  }
  
  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .skill-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
  }
  
  .skill-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
  }
  
  .skill-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
  }
  
  /* =======================
         FOOTER
  ======================= */
  footer {
    background: var(--bg-light);
    padding: 4rem 5% 2rem;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .footer-logo span {
    color: var(--accent-color);
  }
  
  .footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
  }
  
  .contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
  }
  
  .social-links a {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-right: 1rem;
    transition: color 0.3s;
  }
  
  .social-links a:hover {
    color: var(--accent-color);
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    position: relative;
  }
  
  .back-to-top {
    position: absolute;
    right: 20px;
    top: -35px;
    background: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .back-to-top:hover {
    transform: translateY(-5px);
  }
  
  /* =======================
         ANIMAÇÕES
  ======================= */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .fade-up.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
  }
  
  /* =======================
         RESPONSIVIDADE
  ======================= */
  @media (max-width: 768px) {
    .hero-content h1 {
      font-size: 2.2rem;
    }
  
    .hero-content p {
      font-size: 1rem;
    }
  
    .nav-menu {
      position: fixed;
      top: 80px;
      right: 0;
      background: rgba(0, 0, 0, 0.9);
      flex-direction: column;
      gap: 1.5rem;
      width: 200px;
      height: 0;
      overflow: hidden;
      transition: height 0.3s;
    }
  
    .nav-toggle {
      display: block;
    }
  }
  
  @media (max-width: 480px) {
    .hero-content h1 {
      font-size: 1.8rem;
    }
  
    .hero-content {
      margin-top: 6rem;
    }
  }
  