/* =========================================================
   FABIANO JAROCZINSKI
   STYLE.CSS
   ========================================================= */


/* =========================================================
   CORES
========================================================= */

:root {

    --principal: #0B1F3A;

    --fundo: #F8FAFC;

    --azul-aco: #2F6FAE;

    --retangulo: #F1F3F5;

    --branco: #FFFFFF;

    --texto: #13253B;

    --texto-claro: #536273;

    --borda: #AEB9C5;

    --sombra-azul:
        rgba(47, 111, 174, 0.38);

}


/* =========================================================
   RESET
========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

    scroll-padding-top: 82px;

}


body {

    background: var(--fundo);

    color: var(--texto);

    font-family:
        "Roboto",
        Arial,
        sans-serif;

    line-height: 1.45;

}


img {

    display: block;

    max-width: 100%;

}


a {

    color: inherit;

    text-decoration: none;

}


.container {

    width:
        min(
            1120px,
            calc(100% - 48px)
        );

    margin: 0 auto;

}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    z-index: 1000;

    top: 0;

    left: 0;

    width: 100%;

    height: 76px;

    background:
        var(--principal);

    box-shadow:
        0 3px 16px
        rgba(11, 31, 58, 0.16);

}


.nav-container {

    width:
        min(
            1120px,
            calc(100% - 48px)
        );

    height: 100%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 30px;

}


/* =========================================================
   LOGO / NOME
========================================================= */

.brand {

    display: flex;

    flex-direction: column;

    min-width: 205px;

}


.brand-name {

    color: var(--branco);

    font-family:
        "Oswald",
        sans-serif;

    font-size: 21px;

    line-height: 1.05;

    font-weight: 500;

}


.brand-subtitle {

    color: #DCE4EC;

    font-size: 11px;

    margin-top: 3px;

}


/* =========================================================
   LINKS NAVBAR
========================================================= */

.nav-links {

    display: flex;

    align-items: center;

    gap: 28px;

    font-size: 13px;

    font-weight: 500;

    color: var(--branco);

}


.nav-links
a:not(.nav-button) {

    transition:
        color .2s ease;

}


.nav-links
a:not(.nav-button):hover {

    color: #83B7E4;

}


/* BOTÃO NAVBAR */

.nav-button {

    background:
        var(--azul-aco);

    padding:
        10px 27px;

    border-radius:
        20px;

    box-shadow:
        0 0 18px
        var(--sombra-azul);

    transition:
        transform .2s ease,
        box-shadow .2s ease;

}


.nav-button:hover {

    transform:
        translateY(-1px);

    box-shadow:
        0 0 25px
        rgba(47, 111, 174, .55);

}


/* MENU MOBILE */

.menu-button {

    display: none;

    background: transparent;

    border: none;

    color: white;

    font-size: 24px;

    cursor: pointer;

}


/* =========================================================
   ESTRUTURA
========================================================= */

main {

    padding-top: 76px;

}


.section {

    padding: 90px 0;

    border-bottom:
        1px solid #D7DDE3;

}


.eyebrow {

    display: inline-block;

    color:
        var(--azul-aco);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        .15px;

    margin-bottom:
        13px;

}


/* =========================================================
   TÍTULOS
========================================================= */

h1,
h2,
h3 {

    font-family:
        "Oswald",
        sans-serif;

    font-weight: 500;

    color:
        var(--principal);

}


h1 {

    font-size:
        clamp(
            42px,
            5vw,
            65px
        );

    line-height: .98;

    letter-spacing:
        -1.3px;

}


h2 {

    font-size:
        clamp(
            34px,
            4.2vw,
            54px
        );

    line-height: 1.04;

    letter-spacing:
        -.7px;

}


h2 span {

    color:
        var(--azul-aco);

}


p {

    font-size: 16px;

}


/* =========================================================
   BOTÕES
========================================================= */

.button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-height: 44px;

    padding:
        10px 28px;

    border-radius:
        22px;

    border:
        1px solid transparent;

    font-family:
        "Oswald",
        sans-serif;

    font-size: 14px;

    text-align: center;

    transition:
        .2s ease;

}


/* BOTÃO AZUL */

.button-primary {

    background:
        var(--azul-aco);

    color:
        white;

    box-shadow:
        0 5px 20px
        var(--sombra-azul);

}


.button-primary:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 25px
        rgba(47, 111, 174, .5);

}


/* BOTÃO CINZA */

.button-secondary {

    background:
        #BEC5CD;

    color:
        var(--principal);

}


.button-secondary:hover {

    background:
        #AEB7C1;

}


.button-group {

    display: flex;

    gap: 20px;

    margin-top: 25px;

}


.wide-button {

    min-width: 330px;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height:
        calc(100vh - 76px);

    display: flex;

    align-items: center;

}


.hero-grid {

    display: grid;

    grid-template-columns:
        1fr .75fr;

    align-items: center;

    gap: 80px;

}


.hero-content p {

    max-width: 540px;

    margin-top: 18px;

    color:
        #34465A;

}


/* FOTO */

.hero-photo-frame {

    width:
        min(
            100%,
            390px
        );

    aspect-ratio: .87;

    justify-self: center;

    padding: 28px;

    background:
        #D9D9D9;

    border-radius:
        19px;

}


.hero-photo-inner {

    width: 100%;

    height: 100%;

    padding: 14px;

    background:
        white;

    border-radius:
        17px;

}


.hero-photo-inner img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position:
        center top;

    border-radius:
        15px;

}


/* =========================================================
   SOBRE
========================================================= */

.about-content {

    margin-top: 25px;

}


.about-content > div {

    max-width: 1020px;

}


.about-content p {

    margin-bottom: 11px;

}


.about-list {

    padding-left: 22px;

    margin:
        5px 0 12px;

}


.about-list li {

    margin-bottom: 8px;

    font-size: 15px;

}


/* TAGS */

.tag-row {

    display: flex;

    justify-content: center;

    gap: 120px;

    margin-top: 28px;

}


.tag-row span {

    background:
        #BEC5CD;

    border-radius:
        18px;

    padding:
        8px 25px;

    font-family:
        "Oswald",
        sans-serif;

    font-size: 12px;

}


/* =========================================================
   SERVIÇOS
========================================================= */

.section-intro {

    max-width: 610px;

    margin-top: 14px;

    color:
        var(--texto-claro);

    font-size: 14px;

}


.cards-grid {

    display: grid;

    gap: 16px;

}


.services-grid,
.method-grid {

    grid-template-columns:
        repeat(4, 1fr);

    margin-top: 46px;

}


/* CARD */

.info-card {

    background:
        var(--retangulo);

    border:
        1px solid var(--borda);

    border-radius:
        8px;

    padding:
        17px 16px 19px;

    min-height: 235px;

}


/* PARTE SUPERIOR DO CARD */

.card-top {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 13px;

}


/* =========================================================
   ÍCONES
========================================================= */

.card-icon {

    width: 29px;

    height: 29px;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    flex:
        0 0 29px;

    background:
        var(--principal);

    color:
        var(--branco);

    font-size: 12px;

}


.card-icon i {

    line-height: 1;

}


/* NÚMERO */

.card-number {

    font-family:
        "Oswald",
        sans-serif;

    color:
        #637084;

    font-size: 13px;

}


/* TÍTULO CARD */

.info-card h3 {

    font-size: 17px;

    line-height: 1.08;

    margin-bottom: 10px;

}


/* TEXTO CARD */

.info-card p {

    font-size: 14px;

    line-height: 1.3;

    color:
        #34465A;

}


/* BOTÃO CENTRAL */

.center-button {

    display: flex;

    justify-content: center;

    margin-top: 22px;

}


/* =========================================================
   FORMAÇÃO / MÉTODO
========================================================= */

.section-heading-split {

    display: grid;

    grid-template-columns:
        1.25fr .75fr;

    align-items: center;

    gap: 70px;

}


.section-heading-split > p {

    padding-left: 25px;

    border-left:
        1px solid #C7CFD7;

    color:
        #405064;

    font-size: 14px;

}


/* =========================================================
   FORMAÇÃO
========================================================= */

.formation-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 45px;

    margin-top: 35px;

}


.formation-column {

    display: flex;

    flex-direction: column;

    gap: 20px;

}


/* CARD FORMAÇÃO */

.formation-card {

    background:
        var(--retangulo);

    border:
        1px solid var(--borda);

    border-radius:
        10px;

    padding:
        18px 20px;

    display: flex;

    gap: 15px;

    align-items: flex-start;

    min-height: 100px;

}


/* ÍCONE FORMAÇÃO */

.formation-icon {

    width: 29px;

    height: 29px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex:
        0 0 29px;

    background:
        var(--principal);

    color:
        white;

    font-size: 12px;

}


.formation-icon i {

    line-height: 1;

}


/* TÍTULO */

.formation-card h3 {

    font-size: 16px;

    margin-bottom: 15px;

}


/* TEXTO */

.formation-card p,
.formation-card li {

    font-size: 14px;

    color:
        #34465A;

}


/* ESPECIALIZAÇÕES */

.specializations {

    min-height: 245px;

}


.specializations ul {

    padding-left: 17px;

}


.specializations li {

    margin-bottom: 6px;

}


/* =========================================================
   MÉTODO
========================================================= */

.method-cta {

    margin:
        12px auto 0;

    max-width: 880px;

    padding:
        10px 14px;

    border:
        1px solid var(--borda);

    border-radius:
        8px;

    background:
        var(--retangulo);

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 20px;

}


.method-cta h3 {

    font-size: 18px;

}


.method-cta p {

    font-size: 13px;

    color:
        #405064;

}


.method-cta .button {

    flex:
        0 0 auto;

}


/* =========================================================
   CONTATO
========================================================= */

.contact-section {

    min-height: 520px;

    display: flex;

    align-items: center;

}


.contact-box {

    max-width: 880px;

    margin: 0 auto;

    padding:
        45px 42px;

    background:
        var(--retangulo);

    border:
        1px solid var(--borda);

    border-radius:
        12px;

}


.contact-box h2 {

    margin-bottom: 20px;

}


.contact-box p {

    max-width: 700px;

    font-size: 17px;

    color:
        #34465A;

    margin-bottom: 30px;

}


.contact-button {

    min-width: 280px;

}


/* =========================================================
   FOOTER
========================================================= */

footer {

    background:
        var(--principal);

    color:
        white;

    padding:
        28px 0;

}


.footer-content {

    display: flex;

    justify-content:
        space-between;

    align-items: center;

    gap: 30px;

}


.footer-content div {

    display: flex;

    flex-direction: column;

}


.footer-content strong {

    font-family:
        "Oswald",
        sans-serif;

    font-size: 19px;

}


.footer-content span,
.footer-content p {

    font-size: 11px;

    color:
        #D8E0E8;

}

.contact-box p a {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVO - TABLET
========================================================= */

@media (max-width: 950px) {


    .nav-links {

        gap: 15px;

        font-size: 12px;

    }


    .hero-grid {

        gap: 45px;

    }


    .services-grid,
    .method-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .section-heading-split {

        grid-template-columns:
            1fr;

        gap: 25px;

    }


    .section-heading-split > p {

        padding-left: 0;

        padding-top: 15px;

        border-left: 0;

        border-top:
            1px solid #C7CFD7;

    }

}


/* =========================================================
   RESPONSIVO - CELULAR
========================================================= */

@media (max-width: 760px) {


    .navbar {

        height: 70px;

    }


    main {

        padding-top: 70px;

    }


    .nav-links {

        display: none;

    }


    .menu-button {

        display: block;

    }


    .hero {

        min-height: auto;

    }


    .hero-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .hero-content {

        text-align: left;

    }


    .hero-photo-frame {

        width:
            min(
                100%,
                350px
            );

    }


    .formation-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .tag-row {

        flex-wrap: wrap;

        gap: 10px;

    }


    .method-cta {

        flex-direction: column;

        align-items: stretch;

    }


    .method-cta .button {

        width: 100%;

    }


    .footer-content {

        flex-direction: column;

        align-items: flex-start;

    }

}




/* =========================================================
   RESPONSIVO - CELULAR PEQUENO
========================================================= */

@media (max-width: 520px) {


    .container,
    .nav-container {

        width:
            min(
                100% - 30px,
                1120px
            );

    }


    .section {

        padding:
            65px 0;

    }


    h1 {

        font-size: 41px;

    }


    h2 {

        font-size: 35px;

    }


    .services-grid,
    .method-grid {

        grid-template-columns: 1fr;

    }


    .button-group {

        flex-direction: column;

        align-items: stretch;

    }


    .wide-button {

        min-width: 0;

        width: 100%;

    }


    .hero-photo-frame {

        padding: 18px;

    }


    .contact-box {

        padding:
            30px 23px;

    }


    .contact-button {

        width: 100%;

        min-width: 0;

    }


    .desktop {

        display: none;

    }

}