/* Header */
header {
    background-color: var(--white);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
    font-size: 0.95rem;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #F5F7F6 0%, #EEF3F1 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107,76,154,0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

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

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-img img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Cards (Serviços, Depoimentos) */
.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-color);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Sobre */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-img img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Contato */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    background-color: var(--bg-color);
    font-family: inherit;
    color: var(--text-color);
    outline: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    background-color: var(--white);
}

select.form-control {
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p, .footer-col li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero .container, .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    nav ul {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
