/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gray: #5a5a5a;
    --secondary-gray: #6c6c6c;
    --primary-turquoise: #40e0d0;
    --dark-turquoise: #20b2aa;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow-light: rgba(64, 224, 208, 0.1);
    --shadow-medium: rgba(64, 224, 208, 0.2);
    --shadow-heavy: rgba(64, 224, 208, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--primary-gray);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--shadow-light); }
    50% { box-shadow: 0 0 40px var(--shadow-medium), 0 0 60px var(--shadow-light); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Futurístico */
header {
    padding: 40px 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(64, 224, 208, 0.1), 
        transparent);
    animation: shimmer 3s infinite;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.logo img {
    width: 220px;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 6s ease-in-out infinite;
}

.logo img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(64, 224, 208, 0.3);
}

.header-text {
    flex: 1;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 15px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--secondary-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInUp 0.8s ease-out;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--primary-turquoise);
    font-weight: 500;
    letter-spacing: 0.01em;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

/* Container principal dos serviços */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: calc(100vh - 300px);
    gap: 2px;
    margin: 0;
    position: relative;
}

/* Divisórias turquesa entre as colunas */
.services-container::before,
.services-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 2px;
    height: 80%;
    background: linear-gradient(to bottom,
        transparent,
        var(--primary-turquoise),
        transparent);
    transform: translate(-50%, -50%);
    z-index: 3;
}

.services-container::before {
    left: 33.333%;
}

.services-container::after {
    left: 66.666%;
}

/* Cards de serviço futurísticos */
.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 50%, 
        rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(64, 224, 208, 0.05) 0%, 
        rgba(32, 178, 170, 0.05) 100%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.service-card:hover::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 50%, 
        rgba(248, 249, 250, 0.95) 100%);
}

.service-card:hover::after {
    opacity: 1;
}

.office365 {
    background: linear-gradient(135deg, 
        var(--primary-gray) 0%, 
        var(--secondary-gray) 100%);
}

.azure {
    background: linear-gradient(135deg, 
        var(--primary-turquoise) 0%, 
        var(--dark-turquoise) 100%);
}

.devops {
    background: linear-gradient(135deg,
        var(--dark-turquoise) 0%,
        var(--primary-gray) 100%);
}

.service-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 450px;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-content {
    transform: translateY(-10px);
}

/* Ícones futurísticos */
.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, 
        var(--primary-turquoise) 0%, 
        var(--dark-turquoise) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 40px var(--shadow-medium),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 25px 60px var(--shadow-heavy),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: glow 2s ease-in-out infinite;
}

.service-card:hover .service-icon::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.service-icon svg {
    width: 50px;
    height: 50px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

/* Textos sofisticados */
.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--secondary-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-content p {
    font-size: 1.2rem;
    color: var(--secondary-gray);
    margin-bottom: 35px;
    line-height: 1.8;
    font-weight: 400;
}

/* Lista de recursos futurística */
.service-features {
    list-style: none;
    text-align: left;
    space-y: 4;
}

.service-features li {
    padding: 12px 0;
    color: var(--secondary-gray);
    position: relative;
    padding-left: 35px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--dark-turquoise) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px var(--shadow-light);
    transition: all 0.3s ease;
}

.service-features li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.service-features li:hover {
    color: var(--primary-gray);
    transform: translateX(5px);
}

.service-features li:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Botão WhatsApp futurístico */
.whatsapp-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 
        0 15px 40px rgba(37, 211, 102, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.whatsapp-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: all 0.6s ease;
}

.whatsapp-button a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(37, 211, 102, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.whatsapp-button a:hover::before {
    left: 100%;
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Seção do Arquiteto */
.architect {
    padding: 100px 0;
    position: relative;
}

.architect-card {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(64, 224, 208, 0.2);
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.architect-avatar {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--dark-turquoise) 100%);
    box-shadow:
        0 15px 40px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    animation: float 6s ease-in-out infinite;
}

/* Foto com anel turquesa (o gradiente do avatar vira a borda) */
.architect-avatar {
    padding: 5px;
}

.architect-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 40%;
    border-radius: 50%;
    border: 4px solid var(--white);
}

.architect-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-gray);
    background: rgba(64, 224, 208, 0.1);
    border: 1px solid rgba(32, 178, 170, 0.35);
}

.badge svg {
    width: 18px;
    height: 18px;
    color: var(--dark-turquoise);
    flex-shrink: 0;
}

.architect-info {
    flex: 1;
}

.architect-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-turquoise);
    margin-bottom: 10px;
}

.architect-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-gray);
    line-height: 1.2;
}

.architect-role {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--dark-turquoise);
    margin-bottom: 20px;
}

.architect-bio {
    font-size: 1.15rem;
    color: var(--secondary-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.architect-stats {
    display: flex;
    gap: 50px;
}

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

.stat strong {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary-turquoise) 0%, var(--dark-turquoise) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat span {
    font-size: 0.95rem;
    color: var(--secondary-gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .architect {
        padding: 60px 0;
    }

    .architect-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 25px;
    }

    .architect-avatar {
        width: 130px;
        height: 130px;
        font-size: 3rem;
    }

    .architect-info h2 {
        font-size: 2rem;
    }

    .architect-badges {
        justify-content: center;
    }

    .architect-stats {
        justify-content: center;
        gap: 30px;
    }

    .stat strong {
        font-size: 2rem;
    }
}

/* Footer sofisticado */
footer {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(20px);
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
}

footer p {
    color: var(--secondary-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* Responsividade avançada */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .logo img {
        width: 180px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 60px 40px;
        border-bottom: 1px solid var(--glass-border);
    }

    /* Três colunas ficam apertadas abaixo de 1024px: empilha */
    .services-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .services-container::before,
    .services-container::after {
        display: none;
    }
}

@media (max-width: 768px) {
    
    .service-card {
        padding: 50px 30px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .service-content h2 {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }
    
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-button {
        bottom: 30px;
        right: 30px;
    }
    
    .whatsapp-button a {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .whatsapp-button span {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    header {
        padding: 30px 0;
    }
    
    .logo img {
        width: 150px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .service-content {
        max-width: 100%;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .service-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .service-content h2 {
        font-size: 1.8rem;
    }
    
    .service-content p {
        font-size: 1.1rem;
    }
    
    .service-features li {
        font-size: 1rem;
        padding: 10px 0;
    }
}

/* Animações de entrada */
.service-card {
    animation: slideInUp 0.8s ease-out;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

.service-card:nth-child(3) {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

/* Efeitos de performance */
.service-card,
.service-icon,
.whatsapp-button a {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

