/* ===========================
   VARIÁVEIS E RESET GLOBAL
   =========================== */

:root {
    --primary-color: #001a4d;      /* Azul Marinho Escuro */
    --primary-light: #003d99;      /* Azul Marinho Médio */
    --primary-lighter: #0057e8;    /* Azul Marinho Claro */
    --accent-color: #00d4ff;       /* Ciano/Azul Neon */
    --accent-light: #39ffff;       /* Ciano Claro */
    --text-dark: #0a0e27;          /* Quase Preto */
    --text-light: #ffffff;         /* Branco */
    --text-gray: #a0a0a0;          /* Cinza Médio */
    --bg-dark: #0a0e27;            /* Fundo Escuro */
    --bg-light: #f8f9fa;           /* Fundo Claro */
    --border-color: #00d4ff33;     /* Azul com Transparência */
    --success-color: #00c853;      /* Verde */
    --warning-color: #ff9100;      /* Laranja */
    --error-color: #d32f2f;        /* Vermelho */

    --transition: all 0.3s ease;
    --box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
    --box-shadow-hover: 0 12px 48px rgba(0, 212, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   NAVBAR
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    backdrop-filter: blur(10px);
    background-color: rgba(0, 26, 77, 0.95);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 212, 255, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--box-shadow);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.nav-logo:hover {
    color: var(--accent-light);
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    margin-top: 80px;
    padding: 100px 20px;
    min-height: calc(100vh - 80px);
    background-image:
        linear-gradient(135deg, rgba(0, 12, 35, 0.78) 0%, rgba(0, 20, 60, 0.78) 50%, rgba(0, 12, 35, 0.78) 100%),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1400&q=80");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out reverse;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
}

.btn-primary:active,
.btn-primary:focus {
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-secondary:active,
.btn-secondary:focus {
    outline: none;
    background: transparent;
    color: var(--accent-color);
    box-shadow: none;
}

.hero-visual {
    position: relative;
    height: 400px;
    animation: slideInRight 0.8s ease-out;
}

.animated-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--accent-color), 
        var(--primary-lighter), 
        var(--accent-color));
    background-size: 300% 300%;
    animation: gradient 8s ease infinite;
    border-radius: 20px;
    opacity: 0.2;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
}

.code-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    color: var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
    z-index: 2;
}

/* ===========================
   SOCIAL ICONS HERO
   =========================== */

.social-icons-hero {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.social-icon-hero {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-icon-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: var(--transition);
    z-index: -1;
}

.social-icon-hero:hover {
    color: var(--primary-color);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    border-color: var(--accent-light);
}

.social-icon-hero:hover::before {
    left: 0;
}

/* Cores específicas para cada rede social */
.social-icon-hero.instagram {
    border-color: #E4405F;
    color: #E4405F;
}

.social-icon-hero.instagram::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%);
}

.social-icon-hero.instagram:hover {
    color: white;
    border-color: #E4405F;
}

.social-icon-hero.linkedin {
    border-color: #1E90FF;
    color: #1E90FF;
}

.social-icon-hero.linkedin::before {
    background: linear-gradient(135deg, #1E90FF, #4DA6FF);
}

.social-icon-hero.linkedin:hover {
    color: white;
    border-color: #4DA6FF;
}

.social-icon-hero.github {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.social-icon-hero.github::before {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
}

.social-icon-hero.github:hover {
    color: var(--primary-color);
}

.social-icon-hero.whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.social-icon-hero.whatsapp::before {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.social-icon-hero.whatsapp:hover {
    color: white;
    border-color: #25D366;
}

/* ===========================
   SEÇÕES GERAIS
   =========================== */

section {
    padding: 100px 20px;
    position: relative;
}

section:nth-child(even) {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
    width: 100%;
}

section:nth-child(even) .section-title {
    color: var(--text-light);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 2px;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    animation: slideInLeft 0.8s ease-out;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--accent-color);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 150px;
    color: white;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.profile-placeholder:hover {
    box-shadow: 0 0 90px rgba(0, 212, 255, 0.6), inset 0 0 30px rgba(0, 212, 255, 0.1);
    border-color: var(--accent-light);
}

.profile-img {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    animation: fadeInUp 0.8s ease-out;
}

.social-icons-about {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-icon-about {
    width: 45px;
    height: 45px;
}

#profileIcon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   SKILLS SECTION
   =========================== */

.skills {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.skill-category:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.skill-tag:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* ===========================
   PROJECTS SECTION
   =========================== */

.projects {
    background-color: var(--bg-light);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-lighter), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

.project-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;

}

.project-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
    align-items: center;
    justify-content: center;
}

.project-tags span {
    background: var(--bg-light);
    color: var(--primary-light);
    padding: 5px 50px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.project-links {
    display: inline-flex;
    gap: 1rem;
    justify-content: center;
}

.project-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.project-link:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.project-link:active,
.project-link:focus {
    outline: none;
    background: linear-gradient(135deg, var(--primary-lighter), var(--primary-light));
    box-shadow: none;
}


/* ===========================
   CERTIFICATIONS SECTION
   =========================== */

.certifications {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
    overflow: hidden;
    position: relative;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.cert-card:hover::before {
    transform: scaleX(1);
}

.cert-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--accent-color);
}

.cert-header {
    position: relative;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cert-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cert-icon.security {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

.cert-icon.dev {
    background: linear-gradient(135deg, #4ecdc4, #44a5a8);
}

.cert-icon.network {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.cert-icon.docker {
    background: linear-gradient(135deg, #00d4ff, #2dd4bf);
}

.cert-icon.ml {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.cert-badge {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.cert-content {
    padding: 0 20px 20px 20px;
}

.cert-content h3 {
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.cert-issuer {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.cert-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cert-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cert-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.cert-date i {
    color: var(--accent-color);
}

.cert-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.cert-status.verified {
    color: #00c853;
}

.cert-status.pending {
    color: #ff9100;
}

.cert-status i {
    font-size: 1rem;
}

.cert-link {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: var(--primary-color);
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.cert-link:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.cert-link:active,
.cert-link:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 45, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: min(100%, 980px);
    max-height: min(100%, 90vh);
    background: rgba(8, 14, 34, 0.98);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.modal-body {
    padding: 32px;
}

.modal-title {
    margin: 0 0 12px;
    color: var(--accent-light);
    font-size: 1.8rem;
}

.modal-description {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.modal-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 18px rgba(0, 212, 255, 0.12);
}

.modal-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 200px;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
    animation: slideInLeft 0.8s ease-out;
}

.contact-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.2);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    color: var(--accent-light);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

.contact-form {
    animation: slideInRight 0.8s ease-out;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-gray);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
} 

/* ===========================
   FOOTER
   =========================== */

.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 50px 20px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 100px;
    margin-bottom: 30px;
    justify-content: center;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--accent-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
}

/* ===========================
   ANIMAÇÕES
   =========================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   RESPONSIVO
   =========================== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: var(--primary-color);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 20px;
        border-bottom: 1px solid var(--border-color);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 80px 20px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-visual {
        height: 300px;
    }

    .code-icon {
        font-size: 6rem;
    }

    .social-icons-hero {
        gap: 15px;
        bottom: 20px;
    }

    .social-icon-hero {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        min-height: auto;
    }

    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.3rem;
    }

    .hero {
        padding: 60px 15px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .social-icons-hero {
        gap: 12px;
        bottom: 15px;
    }

    .social-icon-hero {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 15px;
    }

    .project-image {
        height: 150px;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 100px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        margin-top: 2rem;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cert-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cert-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .cert-badge {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .cert-content h3 {
        font-size: 1rem;
    }

    .cert-meta {
        flex-direction: column;
        gap: 8px;
    }
}
