/* =========================================================
   IFMG NEVES TRANSPORTE
   MOBILE FIRST
========================================================= */


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-width: 0;

    font-family: "Poppins", sans-serif;

    background: #f4f8f5;
    color: #17201b;

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --verde: #087a39;
    --verde-principal: #005c2a;
    --verde-escuro: #00391b;
    --verde-profundo: #001f0f;

    --verde-claro: #eaf6ef;

    --branco: #ffffff;

    --texto: #17201b;
    --texto-suave: #667069;

    --whatsapp: #18ad50;
    --whatsapp-hover: #119342;

    --largura: 1180px;

    --padding-mobile: 20px;

    --sombra:
        0 15px 40px rgba(0, 45, 22, 0.12);

    --sombra-forte:
        0 25px 65px rgba(0, 35, 17, 0.18);
}


/* =========================================================
   HERO
   MOBILE
========================================================= */

.hero {
    position: relative;

    width: 100%;
    min-height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        url("FotosPerfil/ifmgCapa.webp")
        center center / cover no-repeat;

    overflow: hidden;
}


/* camada escura */

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 30, 14, 0.55) 0%,
            rgba(0, 45, 21, 0.72) 55%,
            rgba(0, 25, 12, 0.90) 100%
        );

    z-index: 1;
}


/* iluminação */

.hero::after {
    content: "";

    position: absolute;

    top: -260px;
    left: 50%;

    width: 520px;
    height: 520px;

    transform: translateX(-50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(74, 255, 153, 0.16),
            transparent 70%
        );

    z-index: 1;

    pointer-events: none;
}


.hero__overlay {
    position: relative;
    z-index: 2;

    width: 100%;

    padding: 55px var(--padding-mobile);

    text-align: center;
}


.hero__title {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    color: #ffffff;

    font-size: clamp(1.8rem, 8vw, 2.5rem);
    font-weight: 800;

    line-height: 1.1;
    letter-spacing: -0.8px;

    text-wrap: balance;

    text-shadow:
        0 5px 25px rgba(0, 0, 0, 0.35);
}


.hero__title::before {
    content: "TRANSPORTE • IFMG NEVES";

    display: block;

    width: fit-content;

    margin: 0 auto 20px;

    padding: 7px 13px;

    border:
        1px solid rgba(255, 255, 255, 0.30);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, 0.10);

    color:
        rgba(255, 255, 255, 0.95);

    font-size: 0.62rem;
    font-weight: 600;

    letter-spacing: 1.6px;

    text-shadow: none;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.hero__title::after {
    content: "";

    display: block;

    width: 52px;
    height: 3px;

    margin: 22px auto 0;

    border-radius: 50px;

    background: #ffffff;
}


/* =========================================================
   APRESENTAÇÃO
   MOBILE
========================================================= */

.apresentacao {
    width: 100%;

    padding:
        60px
        var(--padding-mobile)
        70px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faf8 100%
        );
}


.apresentacao__container {
    width: 100%;
    max-width: var(--largura);

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 32px;
}


.apresentacao__imagem {
    width: 100%;
    height: auto;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(0, 42, 20, 0.15);
}


.apresentacao__texto {
    position: relative;

    width: 100%;

    padding-left: 19px;

    color: var(--texto);
}


.apresentacao__texto::before {
    content: "";

    position: absolute;

    top: 4px;
    bottom: 4px;
    left: 0;

    width: 3px;

    border-radius: 20px;

    background:
        linear-gradient(
            to bottom,
            var(--verde),
            var(--verde-principal)
        );
}


.apresentacao__texto h2 {
    margin-bottom: 15px;

    color: var(--verde-escuro);

    font-size: clamp(1.55rem, 7vw, 1.95rem);
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.7px;

    text-wrap: balance;
}


.apresentacao__texto h2::before {
    content: "NOSSO DESTINO";

    display: block;

    margin-bottom: 10px;

    color: var(--verde);

    font-size: 0.65rem;
    font-weight: 700;

    letter-spacing: 1.8px;
}


.apresentacao__texto h2::after {
    display: none;
}


.apresentacao__texto p {
    color: var(--texto-suave);

    font-size: 0.93rem;

    line-height: 1.75;
}


/* =========================================================
   EQUIPE
   MOBILE
========================================================= */

.equipe {
    position: relative;

    width: 100%;

    padding:
        65px
        var(--padding-mobile)
        75px;

    background:
        linear-gradient(
            145deg,
            #001c0d 0%,
            #00351a 48%,
            #002411 100%
        );

    overflow: hidden;
}


.equipe::before {
    content: "";

    position: absolute;

    top: -250px;
    right: -280px;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(39, 198, 105, 0.14),
            transparent 68%
        );

    pointer-events: none;
}


.equipe::after {
    content: "";

    position: absolute;

    bottom: -300px;
    left: -250px;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(52, 211, 120, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


/* título da seção */

.equipe__titulo {
    position: relative;
    z-index: 2;

    width: 100%;

    margin-bottom: 42px;

    padding: 0 5px;

    color: #ffffff;

    text-align: center;

    font-size: clamp(1.65rem, 7vw, 2rem);
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.5px;
}


.equipe__titulo::before {
    content: "CONHEÇA QUEM FAZ A ROTA";

    display: block;

    margin-bottom: 11px;

    color: #78e3a5;

    font-size: 0.61rem;
    font-weight: 600;

    letter-spacing: 1.6px;
}


.equipe__titulo::after {
    content: "";

    display: block;

    width: 48px;
    height: 3px;

    margin: 15px auto 0;

    border-radius: 20px;

    background: #35d77c;
}


/* =========================================================
   LISTA
========================================================= */

.equipe__lista {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: var(--largura);

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 22px;
}


/* =========================================================
   CARD MOTORISTA
   MOBILE
========================================================= */

.motorista {
    position: relative;

    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 24px;

    /*
        Padding lateral propositalmente maior.
        O conteúdo não fica encostado nas bordas.
    */
    padding:
        30px
        24px
        26px;

    border:
        1px solid rgba(255, 255, 255, 0.10);

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.105),
            rgba(255, 255, 255, 0.055)
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.17);

    overflow: hidden;
}


/* detalhe verde */

.motorista::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 48px;
    height: 4px;

    transform: translateX(-50%);

    border-radius:
        0
        0
        8px
        8px;

    background: #35d77c;
}


/* =========================================================
   FOTO MOTORISTA
========================================================= */

.motorista__foto {
    width: 150px;
    height: 150px;

    flex-shrink: 0;

    object-fit: cover;
    object-position: center;

    border:
        3px solid rgba(255, 255, 255, 0.92);

    border-radius: 50%;

    background: #eeeeee;

    box-shadow:
        0 13px 32px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.motorista__info {
    width: 100%;
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: stretch;
}


/* =========================================================
   NOME
========================================================= */

.motorista__nome {
    width: 100%;

    margin-bottom: 25px;

    color: #ffffff;

    font-size: 1.22rem;
    font-weight: 700;

    line-height: 1.25;

    text-align: center;

    overflow-wrap: break-word;
}


.motorista__nome::after {
    content: "";

    display: block;

    width: 38px;
    height: 3px;

    margin: 12px auto 0;

    border-radius: 10px;

    background: #35d77c;
}


/* =========================================================
   BIO
========================================================= */

.motorista__bio {
    width: 100%;
    min-width: 0;

    margin-bottom: 18px;

    color:
        rgba(255, 255, 255, 0.79);

    font-size: 0.89rem;
    font-weight: 400;

    line-height: 1.75;

    text-align: left;

    white-space: normal;

    overflow-wrap: break-word;
    word-break: normal;
}


/* =========================================================
   ATENDIMENTO
========================================================= */

.motorista__atendimento {
    width: 100%;
    min-width: 0;

    margin-bottom: 18px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 0.89rem;
    font-weight: 400;

    line-height: 1.75;

    text-align: left;

    white-space: normal;

    overflow-wrap: break-word;
    word-break: normal;
}


.motorista__atendimento strong {
    color: #71e5a3;

    font-weight: 700;
}


/* =========================================================
   WHATSAPP
========================================================= */

.botao-whatsapp {
    width: 100%;

    min-height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-top: 5px;

    padding:
        11px
        16px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #18b653,
            #109544
        );

    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 700;

    text-align: center;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.20);
}


.botao-whatsapp::before {
    content: "";

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #b7ffd0;

    box-shadow:
        0 0 0 4px
        rgba(183, 255, 208, 0.12);
}


.divisor {
    display: none;
}


/* =========================================================
   MAPA
   MOBILE
========================================================= */

.mapa {
    width: 100%;

    padding:
        65px
        var(--padding-mobile);

    background:
        linear-gradient(
            180deg,
            #f6f9f7 0%,
            #ffffff 100%
        );
}


.mapa::before {
    content: "LOCALIZAÇÃO";

    display: block;

    width: 100%;
    max-width: var(--largura);

    margin: 0 auto 10px;

    color: var(--verde-principal);

    font-size: 0.64rem;
    font-weight: 700;

    letter-spacing: 2px;

    text-align: center;
}


.mapa::after {
    content: "IFMG Campus Ribeirão das Neves";

    display: block;

    width: 100%;
    max-width: var(--largura);

    margin:
        0
        auto
        30px;

    color: var(--verde-escuro);

    font-size: clamp(1.55rem, 7vw, 1.9rem);
    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.6px;

    text-align: center;
}


.mapa__iframe {
    display: block;

    width: 100%;
    max-width: var(--largura);

    height: 310px;

    margin: 0 auto;

    border: 0;

    border-radius: 18px;

    box-shadow:
        0 20px 50px rgba(0, 45, 22, 0.14);
}


/* =========================================================
   FOOTER
   MOBILE
========================================================= */

.rodape {
    width: 100%;
    min-height: 90px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding:
        24px
        var(--padding-mobile);

    background:
        linear-gradient(
            135deg,
            #00170b,
            #00331a
        );

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    color: #ffffff;

    text-align: center;
}


.rodape p {
    color:
        rgba(255, 255, 255, 0.65);

    font-size: 0.7rem;

    line-height: 1.6;
}


/* =========================================================
   CELULARES MUITO PEQUENOS
   Até 359px
========================================================= */

@media (max-width: 359px) {

    :root {
        --padding-mobile: 14px;
    }


    .hero__title {
        font-size: 1.65rem;
    }


    .apresentacao__texto {
        padding-left: 16px;
    }


    .motorista {
        padding:
            26px
            18px
            23px;
    }


    .motorista__foto {
        width: 130px;
        height: 130px;
    }


    .motorista__nome {
        font-size: 1.1rem;
    }


    .motorista__bio,
    .motorista__atendimento {
        font-size: 0.84rem;

        line-height: 1.7;
    }


    .botao-whatsapp {
        padding-left: 12px;
        padding-right: 12px;

        font-size: 0.82rem;
    }
}


/* =========================================================
   CELULAR GRANDE
   600px+
========================================================= */

@media (min-width: 600px) {

    :root {
        --padding-mobile: 28px;
    }


    /* HERO */

    .hero {
        min-height: 500px;
    }


    .hero__title {
        font-size: 2.8rem;
    }


    /* APRESENTAÇÃO */

    .apresentacao {
        padding-top: 75px;
        padding-bottom: 80px;
    }


    .apresentacao__imagem {
        aspect-ratio: 16 / 9;

        border-radius: 22px;
    }


    .apresentacao__texto h2 {
        font-size: 2.15rem;
    }


    /* EQUIPE */

    .equipe {
        padding-top: 80px;
        padding-bottom: 90px;
    }


    .equipe__titulo {
        font-size: 2.15rem;

        margin-bottom: 50px;
    }


    .motorista {
        padding:
            35px
            32px
            30px;
    }


    .motorista__foto {
        width: 170px;
        height: 170px;
    }


    .motorista__nome {
        font-size: 1.35rem;
    }


    .motorista__bio,
    .motorista__atendimento {
        font-size: 0.94rem;
    }


    /* MAPA */

    .mapa {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .mapa__iframe {
        height: 370px;
    }
}


/* =========================================================
   TABLET
   768px+
========================================================= */

@media (min-width: 768px) {

    :root {
        --padding-mobile: 32px;
    }


    /* HERO */

    .hero {
        min-height: 550px;

        background-position: center 60%;
    }


    .hero__overlay {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .hero__title {
        font-size: 3.3rem;
    }


    .hero__title::before {
        padding: 8px 16px;

        font-size: 0.7rem;

        letter-spacing: 2px;
    }


    /* APRESENTAÇÃO */

    .apresentacao {
        padding-top: 90px;
        padding-bottom: 95px;
    }


    .apresentacao__container {
        display: grid;

        grid-template-columns:
            minmax(0, 1.1fr)
            minmax(280px, 0.9fr);

        align-items: center;

        gap: 50px;
    }


    .apresentacao__imagem {
        height: 330px;

        aspect-ratio: auto;
    }


    .apresentacao__texto {
        padding-left: 24px;
    }


    /* EQUIPE */

    .equipe {
        padding-top: 90px;
        padding-bottom: 105px;
    }


    .equipe__titulo {
        font-size: 2.4rem;

        margin-bottom: 60px;
    }


    .equipe__lista {
        gap: 24px;
    }


    /* CARD */

    .motorista {
        display: grid;

        grid-template-columns:
            180px
            minmax(0, 1fr);

        align-items: center;

        gap: 32px;

        padding:
            30px
            32px;
    }


    .motorista::before {
        top: 50%;
        bottom: auto;
        left: 0;

        width: 4px;
        height: 50px;

        transform: translateY(-50%);

        border-radius:
            0
            8px
            8px
            0;
    }


    .motorista__foto {
        width: 180px;
        height: 180px;

        border-radius: 18px;
    }


    .motorista__info {
        align-items: flex-start;
    }


    .motorista__nome {
        text-align: left;

        font-size: 1.35rem;

        margin-bottom: 18px;
    }


    .motorista__nome::after {
        margin-left: 0;
    }


    .motorista__bio,
    .motorista__atendimento {
        font-size: 0.91rem;

        line-height: 1.7;
    }


    .botao-whatsapp {
        width: auto;

        min-width: 190px;

        padding-left: 20px;
        padding-right: 20px;
    }


    /* MAPA */

    .mapa {
        padding-top: 90px;
        padding-bottom: 90px;
    }


    .mapa::after {
        font-size: 2.2rem;

        margin-bottom: 35px;
    }


    .mapa__iframe {
        height: 400px;

        border-radius: 22px;
    }
}


/* =========================================================
   DESKTOP
   1024px+
========================================================= */

@media (min-width: 1024px) {

    /* HERO */

    .hero {
        min-height: 620px;

        background-position: center 62%;
    }


    .hero__title {
        font-size: clamp(
            3.4rem,
            5vw,
            4.6rem
        );

        letter-spacing: -1.5px;
    }


    .hero__title::before {
        margin-bottom: 24px;

        padding:
            9px
            17px;

        font-size: 0.76rem;

        letter-spacing: 2.2px;
    }


    .hero__title::after {
        width: 75px;
        height: 4px;

        margin-top: 30px;
    }


    /* APRESENTAÇÃO */

    .apresentacao {
        padding:
            105px
            30px
            115px;
    }


    .apresentacao__container {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(320px, 0.85fr);

        gap: 75px;
    }


    .apresentacao__imagem {
        height: 410px;

        border-radius: 26px;

        transition:
            transform 0.4s ease,
            box-shadow 0.4s ease;
    }


    .apresentacao__imagem:hover {
        transform: translateY(-6px);

        box-shadow:
            0 30px 70px
            rgba(0, 42, 20, 0.20);
    }


    .apresentacao__texto {
        padding-left: 32px;
    }


    .apresentacao__texto h2 {
        font-size: 3rem;
    }


    .apresentacao__texto p {
        font-size: 1.03rem;
    }


    /* EQUIPE */

    .equipe {
        padding:
            105px
            30px
            120px;
    }


    .equipe__titulo {
        margin-bottom: 70px;

        font-size: 2.8rem;
    }


    .equipe__lista {
        gap: 26px;
    }


    /* MOTORISTA */

    .motorista {
        grid-template-columns:
            210px
            minmax(0, 1fr);

        gap: 40px;

        padding:
            34px
            38px;

        transition:
            transform 0.35s ease,
            border-color 0.35s ease,
            background 0.35s ease,
            box-shadow 0.35s ease;
    }


    .motorista:hover {
        transform:
            translateY(-5px);

        border-color:
            rgba(95, 226, 150, 0.27);

        background:
            linear-gradient(
                145deg,
                rgba(255, 255, 255, 0.14),
                rgba(255, 255, 255, 0.075)
            );

        box-shadow:
            0 25px 60px
            rgba(0, 0, 0, 0.22);
    }


    .motorista__foto {
        width: 210px;
        height: 210px;

        transition:
            transform 0.4s ease,
            box-shadow 0.4s ease;
    }


    .motorista:hover
    .motorista__foto {
        transform: scale(1.025);

        box-shadow:
            0 20px 45px
            rgba(0, 0, 0, 0.34);
    }


    .motorista__nome {
        font-size: 1.45rem;
    }


    .motorista__bio,
    .motorista__atendimento {
        max-width: 830px;

        font-size: 0.96rem;

        line-height: 1.75;
    }


    .botao-whatsapp {
        transition:
            transform 0.25s ease,
            filter 0.25s ease,
            box-shadow 0.25s ease;
    }


    .botao-whatsapp:hover {
        transform:
            translateY(-2px);

        filter:
            brightness(1.08);

        box-shadow:
            0 13px 30px
            rgba(0, 0, 0, 0.27);
    }


    /* MAPA */

    .mapa {
        padding:
            105px
            30px;
    }


    .mapa::after {
        font-size: 2.6rem;

        margin-bottom: 40px;
    }


    .mapa__iframe {
        height: 440px;

        border-radius: 24px;
    }


    /* FOOTER */

    .rodape {
        min-height: 110px;
    }


    .rodape p {
        font-size: 0.82rem;
    }
}


/* =========================================================
   DESKTOP GRANDE
   1280px+
========================================================= */

@media (min-width: 1280px) {

    .hero__overlay {
        max-width: var(--largura);

        margin: 0 auto;
    }


    .motorista {
        padding:
            36px
            42px;
    }
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        animation: none !important;

        transition: none !important;
    }
}