﻿:root {
      --primary: #2563eb;
      --primary-dark: #1d4ed8;
      --secondary: #64748b;
      --accent: #f1f5f9;
      --text: #1e293b;
      --text-light: #64748b;
      --border: #e2e8f0;
      --bg: #ffffff;
      --success: #10b981;
      --warning: #f59e0b;
      --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      height: 100%;
      scroll-behavior: smooth;
    }

    body {
      background: linear-gradient(135deg, #5f7996 0%, #3c5873 100%);
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      line-height: 1.6;
      color: var(--text);
      min-height: 100vh;
      padding: 20px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      background: var(--bg);
      border-radius: 20px;
      box-shadow: var(--shadow-lg);
      overflow: hidden;
      position: relative;
    }

    /* Header Moderno */
    .header {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white;
      padding: 40px;
      position: relative;
      overflow: hidden;
    }

    .header::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
      opacity: 0.3;
    }

    .header-content {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 30px;
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .profile-info h1 {
      font-size: 2.5rem;
      font-weight: 800;
      margin-bottom: 10px;
      letter-spacing: -0.025em;
    }

    .profile-info .title {
      font-size: 1.25rem;
      font-weight: 500;
      opacity: 0.9;
      margin-bottom: 20px;
    }

    .contact-info {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin-top: 20px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      opacity: 0.9;
    }

    .contact-item i {
      width: 16px;
      text-align: center;
    }

    .profile-photo {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      object-fit: cover;
      border: 4px solid rgba(255, 255, 255, 0.3);
      box-shadow: var(--shadow-lg);
    }

    /* Conteúdo Principal */
    .main-content {
      padding: 40px;
    }

    .content-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

    /* Seções */
    .section {
      margin-bottom: 40px;
    }

    .section-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
      position: relative;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--primary);
      border-radius: 2px;
    }

    .section-title i {
      font-size: 1.1rem;
    }

    /* Cards de Experiência */
    .experience-card {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 20px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .experience-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: var(--primary);
      border-radius: 0 2px 2px 0;
    }

    .experience-card:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow);
      border-color: var(--primary);
    }

    .experience-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 15px;
    }

    .experience-title {
      font-weight: 600;
      font-size: 1.1rem;
      color: var(--text);
      margin-bottom: 5px;
    }

    .experience-company {
      color: var(--text-light);
      font-size: 0.9rem;
    }

    .experience-duration {
      background: var(--accent);
      color: var(--primary);
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .experience-period {
      color: var(--text-light);
      font-size: 0.85rem;
      margin-top: 10px;
    }

    /* Listas */
    .skill-list {
      list-style: none;
      padding: 0;
    }

    .skill-list li {
      padding: 8px 0;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .skill-list li:last-child {
      border-bottom: none;
    }

    .skill-list li::before {
      content: '▸';
      color: var(--primary);
      font-weight: bold;
    }

    .education-list {
      list-style: none;
      padding: 0;
    }

    .education-list li {
      padding: 12px 0;
      border-bottom: 1px solid var(--border);
    }

    .education-list li:last-child {
      border-bottom: none;
    }

    .education-degree {
      font-weight: 600;
      color: var(--text);
      margin-bottom: 5px;
    }

    .education-institution {
      color: var(--text-light);
      font-size: 0.9rem;
    }

    /* Sidebar */
    .sidebar {
      background: var(--accent);
      padding: 30px;
      border-radius: 12px;
      height: fit-content;
    }

    .skill-category {
      margin-bottom: 25px;
    }

    .skill-category h4 {
      font-weight: 600;
      color: var(--text);
      margin-bottom: 10px;
      font-size: 0.95rem;
    }

    .skill-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .skill-tag {
      background: var(--primary);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .skill-tag.secondary {
      background: var(--secondary);
    }

    /* Footer */
    .footer {
      background: var(--accent);
      padding: 30px 40px;
      text-align: center;
      border-top: 1px solid var(--border);
    }

    .footer-tagline {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.75rem;
      line-height: 1.35;
    }

    .footer-tagline strong {
      color: var(--primary);
    }

    .footer-description {
      color: var(--text-light);
      font-size: 0.92rem;
      line-height: 1.65;
      max-width: 720px;
      margin: 0 auto 1rem;
    }

    .footer-updated {
      font-size: 0.88rem;
      color: var(--text-light);
      margin: 0;
    }

    .footer-site-link {
      font-weight: 600;
      color: var(--primary);
      text-decoration: none;
    }

    .footer-site-link:hover {
      color: var(--primary-dark);
      text-decoration: underline;
    }

    .footer-updated-sep {
      color: var(--border);
    }

  /* Botão Flutuante do WhatsApp */
    .whatsapp-float {
      position: absolute;
      width: 60px;
      height: 60px;
      top: 90px;
      right: 215px;
      background-color: #25d366;
      color: #FFF;
      border-radius: 50px;
      text-align: center;
      font-size: 30px;
      box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease;
      text-decoration: none;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
    }

    /* Responsividade */
    @media (max-width: 768px) {
      body {
        padding: 10px;
      }

      .header {
        padding: 30px 20px;
      }

      .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
      }
      
      .whatsapp-float {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
      }

      .profile-info h1 {
        font-size: 2rem;
      }

      .contact-info {
        justify-content: center;
      }

      .main-content {
        padding: 20px;
      }

      .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .sidebar {
        padding: 20px;
      }
    }

    @media (max-width: 480px) {
      .profile-info h1 {
        font-size: 1.75rem;
      }

      .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
      }

      .experience-header {
        flex-direction: column;
        gap: 10px;
      }

      .experience-duration {
        align-self: flex-start;
      }
    }

    /* Animações */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .section {
      animation: fadeInUp 0.6s ease-out;
    }

    .experience-card {
      animation: fadeInUp 0.6s ease-out;
    }

    /* Print Styles */
    @media print {
      body {
        background: white;
        padding: 0;
      }
      
      .whatsapp-float {
        display: none;
      }

      .container {
        box-shadow: none;
        border-radius: 0;
      }

      .header {
        background: var(--primary) !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
      }
    }


/* Deploy local — link para site principal */
.site-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-back-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
