/* =========================================================
   FREDELIN TURISMO
   SOBRE NÓS - CSS COMPLETO
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins", sans-serif;
    background: #f5f8fc;
    color: #333;
    line-height: 1.7;
}


/* =========================================================
   HEADER
========================================================= */

.topo {
    width: 100%;
    background: #003366;
    color: white;

    padding: 18px 6%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   MARCA
========================================================= */

.marca {
    display: flex;
    align-items: center;
    gap: 15px;
}


.logo {
    width: 65px;
    height: 65px;

    object-fit: contain;

    background: white;

    border-radius: 12px;

    padding: 5px;
}


.marca h1 {
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}


.marca p {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 3px;
}


/* =========================================================
   MENU
========================================================= */

.topo nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;
}


.topo nav a {
    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    padding: 9px 12px;

    border-radius: 8px;

    transition: all 0.3s ease;
}


.topo nav a:hover {
    background: rgba(255, 255, 255, 0.15);

    color: #00d4ff;

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 380px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 70px 20px;

    background:
        linear-gradient(
            rgba(0, 51, 102, 0.88),
            rgba(0, 51, 102, 0.88)
        ),
        url("../AVI(1).jpg");

    background-size: cover;

    background-position: center;

    color: white;
}


.hero h2 {
    font-size: 44px;

    font-weight: 700;

    margin-bottom: 15px;

    max-width: 900px;
}


.hero p {
    font-size: 19px;

    max-width: 750px;

    opacity: 0.95;
}


/* =========================================================
   CONTAINER SOBRE
========================================================= */

.sobre-container {
    width: 90%;

    max-width: 1200px;

    margin: 60px auto;
}


/* =========================================================
   CARD QUEM SOMOS
========================================================= */

.sobre-card {
    background: white;

    padding: 40px;

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    margin-bottom: 35px;
}


.sobre-card h2 {
    color: #003366;

    font-size: 32px;

    margin-bottom: 20px;

    position: relative;
}


.sobre-card h2::after {
    content: "";

    display: block;

    width: 60px;

    height: 4px;

    background: #00a8e8;

    margin-top: 8px;

    border-radius: 5px;
}


.sobre-card p {
    margin-bottom: 18px;

    color: #555;

    font-size: 16px;
}


.sobre-card strong {
    color: #003366;
}


/* =========================================================
   MISSÃO / VISÃO / VALORES
========================================================= */

.sobre-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.box {
    background: white;

    padding: 30px;

    border-radius: 16px;

    box-shadow:
        0 7px 25px rgba(0, 0, 0, 0.08);

    border-top: 4px solid #003366;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.box:hover {
    transform: translateY(-7px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.13);
}


.box h3 {
    color: #003366;

    font-size: 22px;

    margin-bottom: 15px;
}


.box p {
    color: #555;

    font-size: 15px;
}


/* =========================================================
   SERVIÇOS
========================================================= */

.servicos {
    width: 90%;

    max-width: 1200px;

    margin: 70px auto;
}


.servicos > h2 {
    text-align: center;

    color: #003366;

    font-size: 34px;

    margin-bottom: 35px;
}


.servicos > h2::after {
    content: "";

    display: block;

    width: 65px;

    height: 4px;

    background: #00a8e8;

    margin: 10px auto 0;

    border-radius: 5px;
}


/* =========================================================
   GRID DE SERVIÇOS
========================================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.card {
    background: white;

    padding: 30px;

    border-radius: 16px;

    box-shadow:
        0 7px 25px rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.13);
}


.card h3 {
    color: #003366;

    font-size: 19px;

    margin-bottom: 12px;
}


.card p {
    color: #666;

    font-size: 14px;
}


/* =========================================================
   ESTATÍSTICAS
========================================================= */

.estatisticas {
    width: 90%;

    max-width: 1200px;

    margin: 70px auto;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


.estatisticas .card {
    text-align: center;

    padding: 35px 20px;

    border-radius: 16px;

    background: white;

    border-bottom: 4px solid #003366;
}


.estatisticas .card h2 {
    font-size: 38px;

    color: #003366;

    font-weight: 700;

    margin-bottom: 5px;
}


.estatisticas .card p {
    color: #666;

    font-size: 14px;
}


/* =========================================================
   CREDIBILIDADE
========================================================= */

.credibilidade {
    width: 90%;

    max-width: 900px;

    margin: 70px auto;

    text-align: center;

    background: white;

    padding: 45px;

    border-radius: 18px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);
}


.credibilidade h2 {
    color: #003366;

    font-size: 32px;

    margin-bottom: 25px;
}


.credibilidade p {
    color: #555;

    font-size: 16px;

    line-height: 2.2;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #003366;

    color: white;

    text-align: center;

    padding: 30px 20px;

    margin-top: 70px;
}


footer p {
    font-size: 14px;

    opacity: 0.9;
}


/* =========================================================
   ANIMAÇÃO
========================================================= */

@keyframes aparecer {

    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


.hero h2,
.hero p {
    animation: aparecer 0.8s ease;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .topo {
        flex-direction: column;

        text-align: center;

        padding: 20px;
    }


    .marca {
        justify-content: center;
    }


    .sobre-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .estatisticas {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .hero h2 {
        font-size: 38px;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 700px) {

    .topo {
        position: relative;

        padding: 18px 15px;
    }


    .marca {
        flex-direction: column;

        gap: 8px;
    }


    .logo {
        width: 60px;
        height: 60px;
    }


    .marca h1 {
        font-size: 21px;
    }


    .marca p {
        font-size: 12px;
    }


    .topo nav {
        width: 100%;

        flex-direction: column;

        gap: 3px;
    }


    .topo nav a {
        width: 100%;

        text-align: center;

        padding: 10px;
    }


    .hero {
        min-height: 320px;

        padding: 50px 20px;
    }


    .hero h2 {
        font-size: 30px;
    }


    .hero p {
        font-size: 16px;
    }


    .sobre-container,
    .servicos,
    .estatisticas,
    .credibilidade {
        width: 92%;
    }


    .sobre-card {
        padding: 25px;
    }


    .sobre-card h2 {
        font-size: 27px;
    }


    .sobre-grid {
        grid-template-columns: 1fr;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .estatisticas {
        grid-template-columns: 1fr 1fr;

        gap: 15px;
    }


    .estatisticas .card {
        padding: 25px 10px;
    }


    .estatisticas .card h2 {
        font-size: 30px;
    }


    .credibilidade {
        padding: 30px 20px;
    }


    .credibilidade h2 {
        font-size: 27px;
    }


    footer {
        padding: 25px 15px;
    }

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 420px) {

    .hero h2 {
        font-size: 26px;
    }


    .hero p {
        font-size: 14px;
    }


    .estatisticas {
        grid-template-columns: 1fr;
    }


    .sobre-card p,
    .box p {
        font-size: 14px;
    }

}