/* ============================================
   CSS Principal - Portfólio Cassiano Amoedo
   Tema: Azul e Cinza | Moderno e Responsivo
   ============================================ */

/* Importação de Fontes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========== RESET & VARIÁVEIS ========== */
:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e3a5f;
    --primary-900: #1e3a5f;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --white: #ffffff;
    --black: #000000;
    --green-500: #22c55e;
    --red-500: #ef4444;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;

    --max-width: 1200px;
    --header-height: 72px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--gray-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

ul, ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 3rem;
    max-width: 600px;
}

.text-center {
    text-align: center;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ========== HEADER / NAVEGAÇÃO ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover {
    color: var(--primary-600);
}

.logo span {
    color: var(--primary-600);
}

.logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.125rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-600);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-600);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    align-items: center;
}

.lang-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-link:hover {
    color: var(--primary-600);
}

.lang-link.active {
    background: var(--primary-600);
    color: white;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-100);
    color: var(--primary-700);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    width: fit-content;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green-500);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.1875rem;
    color: var(--gray-500);
    max-width: 540px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary-600);
    color: var(--primary-600);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-600);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    color: var(--white);
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

.hero-image-wrapper .initials {
    font-size: 8rem;
    font-weight: 800;
    color: var(--white);
    opacity: 0.9;
}

.hero-image-wrapper .profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-image-wrapper .decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-image-wrapper .decoration:nth-child(2) {
    width: 110%;
    height: 110%;
    border-color: rgba(59, 130, 246, 0.1);
    border-style: dashed;
    animation-duration: 30s;
    animation-direction: reverse;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

/* ========== ABOUT / SOBRE ========== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--gray-600);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-detail-item .label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-detail-item .value {
    font-size: 1rem;
    color: var(--gray-800);
    font-weight: 500;
}

/* ========== SKILLS ========== */
.skills {
    background: var(--gray-50);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-100);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.skill-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    transition: width 1s ease;
    width: 0;
}

/* ========== EXPERIÊNCIA ========== */
.experience {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-left: 4rem;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 16px;
    top: 6px;
    width: 18px;
    height: 18px;
    background: var(--primary-600);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-600);
    z-index: 1;
}

.timeline-dot.current {
    background: var(--green-500);
    box-shadow: 0 0 0 2px var(--green-500);
    animation: pulse-dot 2s infinite;
}

.timeline-content {
    background: var(--gray-50);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-100);
}

.timeline-date {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-600);
    margin-bottom: 0.5rem;
}

.timeline-role {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.timeline-company a {
    color: var(--primary-600);
}

.timeline-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ========== PORTFOLIO ========== */
.portfolio {
    background: var(--gray-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.portfolio-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-100), var(--gray-200));
}

.portfolio-card-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-100), var(--gray-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-400);
}

.portfolio-card-body {
    padding: 1.5rem;
}

.portfolio-card-category {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-600);
    background: var(--primary-50);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.portfolio-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.portfolio-card-description {
    color: var(--gray-500);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.portfolio-card-tech span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
}

/* ========== GENERAL FORM STYLES ========== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-800);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(135deg, var(--primary-800), var(--gray-900));
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item-value {
    font-size: 1.0625rem;
    color: var(--white);
    margin-top: 0.125rem;
}

.contact-item-value a {
    color: var(--white);
}

.contact-item-value a:hover {
    color: var(--primary-300);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.contact .form-group input,
.contact .form-group textarea,
.contact .form-group select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-family);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.contact .form-group input:focus,
.contact .form-group textarea:focus,
.contact .form-group select:focus {
    outline: none;
    border-color: var(--primary-400);
    background: rgba(255, 255, 255, 0.15);
}

.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact .form-group select option {
    color: var(--gray-800);
}

.contact .btn-primary {
    background: var(--white);
    color: var(--primary-700);
    box-shadow: none;
}

.contact .btn-primary:hover {
    background: var(--gray-100);
    color: var(--primary-800);
    box-shadow: var(--shadow-lg);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.whatsapp-float-tooltip {
    background: var(--white);
    color: var(--gray-800);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
    animation: slideIn 0.5s ease forwards;
    animation-delay: 1s;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--white);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

.whatsapp-float-btn .icon {
    line-height: 1;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
    padding: 1rem 0;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a,
.breadcrumb span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--primary-600);
}

.breadcrumb .separator {
    color: var(--gray-300);
}

/* ========== PAGE HEADER ========== */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gray-50), var(--primary-50));
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== PORTFOLIO DETAIL ========== */
.portfolio-detail {
    padding: 4rem 0;
}

.portfolio-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.portfolio-detail-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-100);
    margin-bottom: 2rem;
}

.portfolio-detail-image img {
    width: 100%;
    height: auto;
}

.portfolio-detail-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.portfolio-detail-content .description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.portfolio-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.portfolio-detail-sidebar .info-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--gray-100);
}

.portfolio-detail-sidebar .info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.portfolio-detail-sidebar .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.9375rem;
}

.portfolio-detail-sidebar .info-item:last-child {
    border-bottom: none;
}

.portfolio-detail-sidebar .info-item .label {
    color: var(--gray-500);
    font-weight: 500;
}

.portfolio-detail-sidebar .info-item .value {
    color: var(--gray-800);
    font-weight: 600;
    text-align: right;
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    max-width: 400px;
    margin: 0 auto;
}

/* ========== ALERTS ========== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--primary-50);
    color: var(--primary-700);
    border: 1px solid var(--primary-200);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        order: 2;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: 1;
    }

    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero-image-wrapper .initials {
        font-size: 5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--gray-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .hero-image-wrapper .initials {
        font-size: 4rem;
    }

    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .hero-stat-number {
        font-size: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .whatsapp-float-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .container {
        padding: 0 1rem;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-dot {
        left: 10px;
    }

    .timeline-content {
        padding: 1rem 1.25rem;
    }
}

/* ========== ANIMAÇÕES ========== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-delay-1 {
    animation-delay: 0.1s;
}

.animate-fade-in-delay-2 {
    animation-delay: 0.2s;
}

.animate-fade-in-delay-3 {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== UTILITY ========== */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.flex-wrap { flex-wrap: wrap; }

.w-full { width: 100%; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
