/* Paleta de Cores Profissional Dev */
:root {
  /* Cores Principais */
  --primary-dark: #0d1117;
  --secondary-dark: #161b22;
  --tertiary-dark: #21262d;
  
  /* Cores de Texto */
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;
  
  /* Cores de Acento */
  --accent-blue: #58a6ff;
  --accent-green: #3fb950;
  --accent-purple: #a5a5ff;
  --accent-orange: #ff7b72;
  
  /* Cores de Estado */
  --success: #238636;
  --warning: #d29922;
  --error: #da3633;
  
  /* Cores de Fundo */
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-overlay: rgba(13, 17, 23, 0.8);
  
  /* Bordas e Sombras */
  --border-color: #30363d;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.5);
  --shadow-heavy: rgba(0, 0, 0, 0.7);
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: var(--accent-blue);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.highlight {
    color: #f39c12;
}

.hero-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

.hero-image {
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-image img:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 20px);
    max-width: 420px;
    height: calc(100% + 20px);
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0) 40%, 
        rgba(255, 255, 255, 0.1) 60%, 
        rgba(255, 255, 255, 0.3) 80%, 
        rgba(255, 255, 255, 0.5) 100%);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 40px);
    max-width: 440px;
    height: calc(100% + 40px);
    background: radial-gradient(circle, 
        transparent 0%, 
        transparent 30%, 
        rgba(102, 126, 234, 0.1) 50%, 
        rgba(102, 126, 234, 0.2) 70%, 
        rgba(102, 126, 234, 0.4) 90%, 
        rgba(102, 126, 234, 0.6) 100%);
    border-radius: 25px;
    z-index: 0;
    transition: all 0.3s ease;
}

.hero-image:hover::before {
    width: calc(100% + 30px);
    max-width: 430px;
    height: calc(100% + 30px);
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0) 35%, 
        rgba(255, 255, 255, 0.15) 55%, 
        rgba(255, 255, 255, 0.4) 75%, 
        rgba(255, 255, 255, 0.7) 100%);
}

.hero-image:hover::after {
    width: calc(100% + 60px);
    max-width: 460px;
    height: calc(100% + 60px);
    background: radial-gradient(circle, 
        transparent 0%, 
        transparent 25%, 
        rgba(102, 126, 234, 0.15) 45%, 
        rgba(102, 126, 234, 0.3) 65%, 
        rgba(102, 126, 234, 0.5) 85%, 
        rgba(102, 126, 234, 0.8) 100%);
}
/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.about-text h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.differentials {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.differentials li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.differentials i {
    color: #27ae60;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 280px; /* Aumentar de 250px para 280px */
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mostra a imagem completa sem cortes */
    object-position: center;
    transition: transform 0.3s ease;
    background: #f8f9fa; /* Cor de fundo para preencher espaços vazios */
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.project-content p {
    color: #666;
    margin-bottom: 1rem;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

/* Technologies Section */

.technologies {
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    padding: 90px 0 80px 0;
    position: relative;
    z-index: 1;
}
.tech-modern-title {
    background: linear-gradient(90deg, #1976d2 0%, #58a6ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
    font-size: 2.7rem;
}
.tech-modern-subtitle {
    text-align: center;
    color: #1976d2;
    font-size: 1.18rem;
    margin-top: -1.5rem;
    margin-bottom: 2.7rem;
    font-weight: 400;
    opacity: 0.88;
    letter-spacing: 0.5px;
}
.tech-modern-animate {
    display: flex;
    flex-wrap: wrap;
    gap: 2.7rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: techFadeIn 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes techFadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}
.tech-modern-card {
    background: rgba(255,255,255,0.85);
    border-radius: 22px;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.13), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 2.7rem 2.5rem 2rem 2.5rem;
    min-width: 220px;
    flex: 1 1 270px;
    max-width: 340px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    border-top: 4px solid #1976d2;
    backdrop-filter: blur(6px);
    overflow: hidden;
}
.tech-modern-card:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 20px 50px rgba(52,152,219,0.18);
    z-index: 2;
}
.tech-modern-glow {
    font-size: 3.2rem;
    color: #3498db;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 0 12px #58a6ff);
    animation: techGlow 2.5s infinite alternate;
}
@keyframes techGlow {
    0% { filter: drop-shadow(0 0 12px #58a6ff); }
    100% { filter: drop-shadow(0 0 24px #1976d2); }
}
.tech-modern-card h3 {
    color: #1976d2;
    margin-bottom: 1.1rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.tech-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    padding: 0;
    margin-bottom: 0;
    margin-top: 0.5rem;
}
.tech-modern-tag {
    background: linear-gradient(90deg, rgba(227,242,253,0.85) 0%, rgba(88,166,255,0.18) 100%);
    color: #1976d2;
    padding: 0.55rem 1.2rem;
    border-radius: 22px;
    font-size: 1.08rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.07);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(88,166,255,0.13);
    letter-spacing: 0.5px;
}
.tech-modern-tag:hover {
    background: linear-gradient(90deg, #1976d2 0%, #58a6ff 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(52,152,219,0.13);
    cursor: pointer;
}

.segments {
    text-align: center;
}

.segments h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.segments p {
    margin-bottom: 1rem;
    color: #666;
}

.segments-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.segment-item {
    background: #27ae60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

/* Testimonials Section */

.testimonials {
    background: #fff;
    padding: 80px 0;
}
.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 350px;
    min-width: 260px;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s;
}
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 40px rgba(52,152,219,0.10);
}
.testimonial-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 3px solid #3498db;
    box-shadow: 0 2px 8px rgba(52,152,219,0.10);
}
.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.testimonial-content {
    margin-bottom: 1.2rem;
}
.testimonial-message {
    font-style: italic;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.testimonial-name {
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}
.testimonial-position {
    color: #888;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    background: #2c3e50;
    color: white;
    text-align: center;
}

.contact .section-title {
    color: white;
}

.contact p {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}