/* SEÇÕES */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-dark {
    background: #000;
    color: #fff;
}

.section-light {
    background: #f5f5f5;
    color: #1E1E1E;
}

/* HERO */
.hero-text {
    max-width: 600px;
}

/* ÍCONES MAIORES */
.icon {
    width: 90px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.15));
}

.icon-segmento {
    width: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.15));
}

/* CARDS COM IMAGEM */
.card-img img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* TITULOS */
section h2 {
    margin-bottom: 40px;
    text-align: center;
}

section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

/* ANIMAÇÃO */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-5,
    .grid-4,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* ÍCONES DOS SEGMENTOS */
.servico-card img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease;
}

/* Animação leve */
.servico-card:hover img {
    transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 900px) {
    .servico-card img {
        max-width: 100px;
    }
}

@media (max-width: 600px) {
    .servico-card img {
        max-width: 80px;
    }
}

@media (max-width: 420px) {
    .servico-card img {
        max-width: 70px;
    }
}

/* HERO CORPORATIVO */
.hero-corp {
    padding: 80px 0;
    background: #f7f7f7;
}

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

.hero-text h1 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 20px;
}

.hero-text p {
    font-size: clamp(15px, 2.2vw, 18px);
    margin-bottom: 25px;
}

.hero-img img {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: auto;
    border-radius: 10px;
}

/* SERVIÇOS CORPORATIVOS */
.servicos-corp {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(22px, 4.5vw, 32px);
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    font-size: clamp(15px, 2.2vw, 18px);
    color: #555;
    margin-bottom: 40px;
}

.servico-card-corp {
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.25s ease;
}

.servico-card-corp:hover {
    transform: translateY(-5px);
}

.servico-card-corp img {
    width: 100%;
    max-width: 90px;
    margin-bottom: 15px;
}

/* DIFERENCIAIS CORPORATIVOS */
.diferenciais-corp {
    padding: 70px 0;
    background: #f7f7f7;
}

.lista-diferenciais {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-diferenciais li {
    margin-bottom: 15px;
    font-size: 17px;
}

/* CTA secundário (aparece após os diferenciais) */
.cta-secondary {
    text-align: center;
    margin-top: 50px;
}

/* FAQ CORPORATIVO */
.faq-corp {
    padding: 70px 0;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.faq-item summary {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    margin-left: 15px;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin: 12px 0 0 0;
    text-align: left;
    max-width: none;
}

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

    .hero-img img {
        max-width: 300px;
    }

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

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .servico-card-corp img {
        max-width: 70px;
    }

    .faq-item summary {
        font-size: 17px;
    }

    /* Reduz o espaçamento vertical das seções — no desktop, 70-100px faz
       sentido, mas no mobile deixa a página cheia de vazios entre os blocos */
    section {
        padding: 40px 0;
    }

    .hero-corp {
        padding: 40px 0;
    }

    .servicos-corp,
    .diferenciais-corp,
    .faq-corp {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 6px;
    }

    .section-sub {
        margin-bottom: 24px;
    }

    .cta-secondary {
        margin-top: 30px;
    }
}
