/* ======= RESET E CONFIGURAÇÕES GERAIS ======= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Smooch Sans', sans-serif;
}

body {
    background-color: #fff;
    color: #111;
}

/* ======= CONTAINERS ======= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 60px;
}

/* ======= CABEÇALHO ======= */

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F08121;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #F08121;
}

/* CSS Grid Layout para Missão, Visão e Valores */
.parent {
    display: grid;
    font-size: 20px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 0px;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: -80px;
}

.parent h3 {
    font-size: 35px;
    color: black;
    font-family: 'Smooch Sans', sans-serif;
}

.parent p {
    font-size: 25px;
    color: #58595b;
    font-family: 'Smooch Sans', sans-serif;
}

.div1 { 
    display: flex;
    text-align: center;
    justify-content: center; /* Centraliza horizontalmente */
    flex-direction: column;
    grid-area: 1 / 1 / 2 / 2; 
    background-color: white;
    padding: 40px;
}
.div2 { 
    display: flex;
    text-align: center;
    justify-content: center; /* Centraliza horizontalmente */
    flex-direction: column;
    grid-area: 1 / 2 / 2 / 3; 
    background-color: white;
    padding: 40px;
}
.div3 { 
    display: flex;
    text-align: center;
    justify-content: center; /* Centraliza horizontalmente */
    flex-direction: column;
    grid-area: 1 / 3 / 2 / 4; 
    background-color: white;
    padding: 40px;
}


/* ======= SEÇÃO SERVIÇOS ======= */
.services {
    background-color: #f2f2f2;
    padding: 80px 0;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 40px;
    border-bottom: 4px solid #F08121;
    display: inline-block;
    padding-bottom: 8px;
    font-family: 'Smooch Sans', sans-serif;
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.card {
    background: #fff;
    border: 2px solid #111;
    border-radius: 10px;
    width: 300px;
    padding: 25px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.card:hover {
    background-color: #1D1F21;
    color: #F08121;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Smooch Sans', sans-serif;
}

.card p {
    font-size: 1rem;
    line-height: 1.5;
    font-family: 'Smooch Sans', sans-serif;
}

/* ======= SEÇÃO DE CERTIFICAÇÕES ======= */
.certificacoes {
    background-color: #fff;
    text-align: center;
    padding: 60px 20px;
}

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

.certificacoes h2 {
    font-family: 'Smooch Sans', sans-serif;
    font-size: 2rem;
    color: #111;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 4px solid #f5811e;
    display: inline-block;
    padding-bottom: 8px;
}

/* ======= GRID DAS CERTIFICAÇÕES ======= */
.cert-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

/* ======= CARDS ======= */
.divcert {
    background-color: #f4f4f4;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex: 1 1 45%; /* ocupa metade da largura */
    min-width: 300px;
    padding: 30px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.divcert:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.divcert img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

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

.divcert h3 {
    font-family: 'Smooch Sans', sans-serif;
    color: #f5811e;
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.divcert p {
    font-family: 'Smooch Sans', sans-serif;
    color: #111;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* ======= BOTÃO DE CERTIFICADO ======= */
.btn-certificado {
    display: inline-block;
    background-color: #f5811e;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-certificado:hover {
    background-color: #111;
    color: #f5811e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ======= RESPONSIVO ======= */
@media (max-width: 768px) {
    .certificacoes h2 {
        font-size: 1.7rem;
    }

    .cert-grid {
        flex-direction: column;
        align-items: center;
    }

    .divcert {
        width: 90%;
    }
}


/* ======= SEÇÃO DIFERENCIAIS ======= */
.diferenciais {
    background-color: #1D1F21;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.diferenciais h2 {
    font-size: 2rem;
    color: #f1ab4e;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Smooch Sans', sans-serif;
}

/* ======= GRID ======= */
.diferenciais-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.diferencial-card {
    background-color: #1D1F21;
    border: 2px solid #f1ab4e;
    color: #f1ab4e;
    border-radius: 12px;
    width: 240px;
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 211, 0, 0.1);
}

.diferencial-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    transition: transform 0.3s ease;
}

.diferencial-card p {
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Smooch Sans', sans-serif;
}

/* Hover animado */
.diferencial-card:hover {
    background-color: #d78400;
    color: #111;
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(255, 211, 0, 0.3);
}

.diferencial-card:hover i {
    transform: scale(1.2);
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 768px) {
    .diferencial-card {
        width: 90%;
    }

    .diferenciais h2 {
        font-size: 1.8rem;
        font-family: 'Smooch Sans', sans-serif;
    }
}

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .service-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }
}

/* Responsividade */
@media (max-width: 900px) {
    .parent {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-row-gap: 5px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: -70px;
    }

    .div1 { grid-area: 1 / 1 / 2 / 2; }
    .div2 { grid-area: 2 / 1 / 3 / 2; }
    .div3 { grid-area: 3 / 1 / 4 / 2; }

    .services {
        margin-top: -60px;
    }

    .social-btn:focus,
    .social-btn:active {
        background-color: #f5811e !important; /* volta para o laranja */
        color: #111 !important;               /* texto preto */
        border-color: transparent;
        outline: none;
    }

    .social-btn.instagram:focus,
    .social-btn.instagram:active {
        background-color: #f5811e !important;
        color: #111 !important;
    }

    .social-btn.whatsapp:focus,
    .social-btn.whatsapp:active {
        background-color: #25D366 !important;
        color: #111 !important;
    }

    /* remove sombra azul ou cinza de toque em celulares */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* ===== BOTÃO DE CERTIFICADO ===== */

    .btn-certificado:focus,
    .btn-certificado:active {
        background-color: #f5811e !important; /* mantém o laranja */
        color: #fff !important; /* texto branco */
        transform: scale(0.97); /* leve efeito de clique */
        box-shadow: none !important;
        outline: none;
    }
}