
/* =========================================================
   TIO MÁ
   PÁGINA: TRANSPORTE
   3-transporte.css
========================================================= */


/* =========================================================
   HERO
========================================================= */

.transporte-hero {

    width: 100%;

    min-height: 500px;

    padding: 80px 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background-color: #f5f5f5;

    border-bottom: 1px solid #eeeeee;
}


/* =========================================================
   HERO - CONTEÚDO
========================================================= */

.transporte-hero-conteudo {

    max-width: 800px;
}


.transporte-subtitulo {

    display: inline-block;

    padding: 8px 14px;

    margin-bottom: 22px;

    background-color: #ffc400;

    color: #111111;

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 1px;
}


.transporte-hero h1 {

    margin: 0;

    color: #111111;

    font-size: clamp(45px, 5vw, 72px);

    line-height: 0.95;

    letter-spacing: -3px;

    font-weight: 900;
}


.transporte-hero h1 span {

    color: #ffc400;

    -webkit-text-stroke: 1px #111111;
}


.transporte-hero-conteudo > p:last-child {

    max-width: 550px;

    margin-top: 30px;

    color: #555555;

    font-size: 17px;

    line-height: 1.7;
}



/* =========================================================
   NÚMERO DO HERO
========================================================= */

.transporte-hero-numero {

    width: 220px;

    height: 220px;

    flex-shrink: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background-color: #ffc400;

    color: #111111;

    transform: rotate(5deg);
}


.transporte-hero-numero span {

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.transporte-hero-numero strong {

    font-size: 80px;

    line-height: 0.9;

    letter-spacing: -5px;
}


.transporte-hero-numero small {

    font-size: 10px;

    font-weight: 900;

    letter-spacing: 2px;
}



/* =========================================================
   ESCOLAS
========================================================= */

.escolas {

    width: 100%;

    padding: 120px 6%;
}



/* =========================================================
   CARD DA ESCOLA
========================================================= */

.escola-card {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto 110px;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

    align-items: center;

    gap: 80px;
}


.escola-card:last-child {

    margin-bottom: 0;
}



/* =========================================================
   ÁREA DA IMAGEM
========================================================= */

.escola-imagem {

    width: 100%;

    height: 470px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}



/* =========================================================
   FUNDO AMARELO
========================================================= */

.escola-imagem::before {

    content: "";

    position: absolute;

    width: 85%;

    height: 85%;

    right: 0;

    bottom: 0;

    background-color: #ffc400;

    transform: rotate(5deg);

    z-index: 1;
}



/* =========================================================
   CONTAINER DA FOTO
========================================================= */

.escola-foto-container {

    width: 90%;

    height: 420px;

    position: relative;

    z-index: 2;

    overflow: hidden;

    background-color: #eeeeee;

    border: 7px solid #ffffff;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}



/* =========================================================
   IMAGEM DA ESCOLA
========================================================= */

.escola-foto-container img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center center;

    transition: transform 0.5s ease;
}


.escola-foto-container:hover img {

    transform: scale(1.05);
}



/* =========================================================
   NÚMERO DA ESCOLA
========================================================= */

.escola-numero {

    position: absolute;

    left: 0;

    top: 20px;

    z-index: 3;

    width: 65px;

    height: 65px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #111111;

    color: #ffc400;

    font-size: 18px;

    font-weight: 900;
}



/* =========================================================
   CONTEÚDO DA ESCOLA
========================================================= */

.escola-conteudo {

    padding: 20px 0;
}


.escola-label {

    margin-bottom: 15px;

    color: #d49f00;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.escola-conteudo h2 {

    margin: 0 0 35px;

    color: #111111;

    font-size: clamp(32px, 4vw, 50px);

    line-height: 1;

    letter-spacing: -2px;
}



/* =========================================================
   INFORMAÇÕES
========================================================= */

.informacoes-escola {

    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-bottom: 30px;
}


.informacao {

    display: flex;

    align-items: center;

    gap: 15px;
}


.icone {

    width: 42px;

    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: #ffc400;

    font-size: 18px;
}


.informacao strong {

    display: block;

    margin-bottom: 5px;

    color: #111111;

    font-size: 10px;

    letter-spacing: 1px;
}


.informacao p {

    margin: 0;

    color: #555555;

    font-size: 14px;
}



/* =========================================================
   DESCRIÇÃO
========================================================= */

.escola-descricao {

    max-width: 500px;

    margin-bottom: 30px;

    color: #666666;

    font-size: 15px;

    line-height: 1.7;
}



/* =========================================================
   BOTÃO GOOGLE MAPS
========================================================= */

.botao-maps {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 22px;

    background-color: #111111;

    color: #ffffff;

    font-size: 12px;

    font-weight: 900;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.botao-maps span {

    color: #ffc400;

    font-size: 20px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}


.botao-maps:hover {

    background-color: #ffc400;

    color: #111111;

    transform: translateY(-3px);
}


.botao-maps:hover span {

    color: #111111;

    transform: translate(3px, -3px);
}



/* =========================================================
   ESCOLA INVERTIDA
========================================================= */

.escola-invertida .escola-imagem {

    order: 2;
}


.escola-invertida .escola-conteudo {

    order: 1;
}



/* =========================================================
   CTA
========================================================= */

.transporte-cta {

    width: 100%;

    padding: 100px 6%;

    background-color: #ffc400;

    text-align: center;
}


.transporte-cta > p {

    margin-bottom: 18px;

    color: #111111;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.transporte-cta h2 {

    margin: 0;

    color: #111111;

    font-size: clamp(40px, 5vw, 65px);

    line-height: 0.95;

    letter-spacing: -2px;
}


.transporte-cta h2 span {

    color: #ffffff;

    -webkit-text-stroke: 1px #111111;
}


.botao-transporte {

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 35px;

    padding: 17px 25px;

    background-color: #111111;

    color: #ffffff;

    font-size: 13px;

    font-weight: 900;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.botao-transporte span {

    color: #ffc400;

    font-size: 20px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}


.botao-transporte:hover {

    background-color: #ffffff;

    color: #111111;

    transform: translateY(-3px);
}


.botao-transporte:hover span {

    color: #111111;

    transform: translateX(5px);
}



/* =========================================================
   RESPONSIVIDADE
========================================================= */


/* =========================================================
   TABLET - ATÉ 900PX
========================================================= */

@media (max-width: 900px) {

    .transporte-hero {

        padding: 70px 7%;

        flex-direction: column;

        align-items: flex-start;
    }


    .transporte-hero-numero {

        width: 170px;

        height: 170px;

        align-self: flex-end;
    }


    .transporte-hero-numero strong {

        font-size: 65px;
    }


    .escolas {

        padding: 90px 7%;
    }


    .escola-card {

        grid-template-columns: 1fr;

        gap: 50px;

        margin-bottom: 90px;
    }


    .escola-invertida .escola-imagem {

        order: 1;
    }


    .escola-invertida .escola-conteudo {

        order: 2;
    }


    .escola-imagem {

        height: 450px;
    }


    .escola-foto-container {

        width: 90%;

        height: 400px;
    }

}



/* =========================================================
   CELULAR - ATÉ 600PX
========================================================= */

@media (max-width: 600px) {

    .transporte-hero {

        padding: 55px 6% 65px;
    }


    .transporte-subtitulo {

        font-size: 10px;
    }


    .transporte-hero h1 {

        font-size: 42px;

        letter-spacing: -2px;
    }


    .transporte-hero-conteudo > p:last-child {

        font-size: 15px;

        margin-top: 25px;
    }


    .transporte-hero-numero {

        width: 145px;

        height: 145px;

        align-self: flex-end;
    }


    .transporte-hero-numero strong {

        font-size: 55px;
    }


    .transporte-hero-numero span,
    .transporte-hero-numero small {

        font-size: 9px;
    }


    /* ---------- ESCOLAS ---------- */

    .escolas {

        padding: 70px 6%;
    }


    .escola-card {

        gap: 35px;

        margin-bottom: 80px;
    }


    /* ---------- IMAGEM ---------- */

    .escola-imagem {

        width: 100%;

        height: 320px;
    }


    .escola-foto-container {

        width: 88%;

        height: 285px;

        border-width: 5px;
    }


    .escola-foto-container img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        object-position: center center;
    }


    .escola-imagem::before {

        width: 82%;

        height: 82%;
    }


    .escola-numero {

        width: 55px;

        height: 55px;

        top: 10px;

        font-size: 16px;
    }


    /* ---------- CONTEÚDO ---------- */

    .escola-conteudo h2 {

        font-size: 36px;

        letter-spacing: -1.5px;

        margin-bottom: 28px;
    }


    .informacoes-escola {

        gap: 16px;
    }


    .informacao p {

        font-size: 13px;
    }


    .escola-descricao {

        font-size: 14px;
    }


    /* ---------- MAPS ---------- */

    .botao-maps {

        width: 100%;

        justify-content: space-between;
    }


    /* ---------- CTA ---------- */

    .transporte-cta {

        padding: 70px 6%;
    }


    .transporte-cta h2 {

        font-size: 40px;
    }


    .botao-transporte {

        width: 100%;

        justify-content: space-between;
    }

}



/* =========================================================
   CELULAR PEQUENO - ATÉ 400PX
========================================================= */

@media (max-width: 400px) {

    .transporte-hero {

        padding: 45px 5% 55px;
    }


    .transporte-hero h1 {

        font-size: 36px;
    }


    .transporte-hero-numero {

        width: 125px;

        height: 125px;
    }


    .transporte-hero-numero strong {

        font-size: 48px;
    }


    .escolas {

        padding: 60px 5%;
    }


    .escola-imagem {

        height: 280px;
    }


    .escola-foto-container {

        width: 88%;

        height: 250px;
    }


    .escola-conteudo h2 {

        font-size: 32px;
    }


    .transporte-cta {

        padding: 60px 5%;
    }


    .transporte-cta h2 {

        font-size: 34px;
    }

}

