/* Reset e variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0078d4;
    --secondary-color: #107c10;
    --accent-color: #ffc107;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #ffffff;
}

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

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
}

header .subtitle {
    font-size: 1.1em;
    opacity: 0.9;
}

/* Main */
main {
    padding: 20px 0;
}

/* Seções */
section {
    margin-bottom: 60px;
    padding: 50px 30px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s, box-shadow 0.3s;
}

section:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

section h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 15px;
    text-align: center;
}

/* Hero */
.hero {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 50px 30px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h2 {
    color: white;
    border-bottom-color: var(--accent-color);
    text-align: left;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.hero-img:hover {
    transform: scale(1.05);
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    padding: 14px 40px;
    font-size: 1.05em;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.cta-button:hover {
    background-color: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
    border-left: 5px solid var(--primary-color);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
    border-left-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3em;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

/* Infrastructure */
.infrastructure-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Info Box */
.info-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--secondary-color);
    box-shadow: var(--box-shadow);
    transition: all 0.3s;
}

.info-box:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateX(5px);
}

.info-box h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2em;
}

.info-box ul, .info-box ol {
    margin-left: 20px;
}

.info-box li {
    margin-bottom: 12px;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-box code {
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9em;
}

/* Logos Section */
.logos {
    background: white;
    padding: 50px 30px;
}

.logos h2 {
    text-align: center;
    margin-bottom: 40px;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: all 0.3s;
    min-height: 180px;
}

.logo-item:hover {
    background: white;
    box-shadow: var(--box-shadow-hover);
    transform: scale(1.05);
}

.tech-logo {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s;
}

.logo-item:hover .tech-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff9800 100%);
    color: var(--text-dark);
}

.cta h2 {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
}

.cta p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.cta code {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    border: none;
    padding: 14px 35px;
    font-size: 1em;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.btn-primary:hover {
    background-color: #005a9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 120, 212, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 4px solid var(--primary-color);
}

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

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

footer p {
    margin-bottom: 10px;
}

footer small {
    color: #999;
}

/* Responsivo */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

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

    header h1 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 20px;
    }

    .logo {
        width: 60px;
        height: 60px;
    }

    header h1 {
        font-size: 1.8em;
    }

    section {
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    section h2 {
        font-size: 1.6em;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .hero-image {
        margin-top: 20px;
    }

    .logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .logo-item {
        min-height: 140px;
        padding: 15px;
    }

    .tech-logo {
        max-height: 120px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }

    header h1 {
        font-size: 1.5em;
    }

    header .subtitle {
        font-size: 0.95em;
    }

    section h2 {
        font-size: 1.3em;
        padding-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 1.1em;
    }

    .feature-card p {
        font-size: 0.9em;
    }

    .info-box {
        padding: 20px;
    }

    .info-box h3 {
        font-size: 1.1em;
    }

    .info-box li {
        font-size: 0.9em;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-in;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: slideInLeft 0.8s ease-in;
}

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

.hero-image {
    animation: slideInRight 0.8s ease-in;
}
