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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quicksand", sans-serif;
}

:root {
    --color-Light: #FFFFFF;
    --color-Black: #000000;
    --color-Orange: #ff6600;
    --color-Gray: #808080;
    --color-Background: rgb(208, 208, 198);
    --color-DarkGray: #4d4c4c;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-Background);
    padding-top: 85px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.header-page {
    background: var(--color-Background);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px clamp(15px, 4vw, 40px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1000;
}

.logo {
    width: clamp(110px, 15vw, 160px);
    height: auto;
}

.menu-btn {
    width: 45px;
    height: 45px;
    background: none;
    border: none;
    color: var(--color-Gray);
    cursor: pointer;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu {
    display: none;
    position: fixed;
    top: 75px;
    right: clamp(10px, 3vw, 30px);
    background: #333;
    list-style: none;
    width: min(220px, calc(100vw - 30px));
    border-radius: 5px;
    z-index: 999;
    overflow: hidden;
}

.header-menu.ativo {
    display: block;
}

.header-menu li {
    border-bottom: 1px solid #555;
}

.header-menu li:last-child {
    border-bottom: none;
}

.header-menu a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--color-Light);
}

.header-menu a:hover {
    background: var(--color-Black);
    color: var(--color-Orange);
}


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

.hero {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.3)
        ),
        url(./images/banner.png);

    width: 100%;
    min-height: calc(100vh - 85px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: var(--color-Light);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    gap: clamp(15px, 3vw, 30px);
    padding: clamp(30px, 6vw, 80px);
}


/* =========================================================
   HERO 2
========================================================= */

.hero2 {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: clamp(30px, 7vw, 100px);
    padding: clamp(60px, 10vw, 120px)
             clamp(20px, 6vw, 80px);

    background-color: var(--color-Background);

    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.hero2img {
    flex: 1 1 400px;
    max-width: 500px;
}

.hero2img img {
    width: 100%;
    height: auto;
    transition: all .3s ease;
    border-radius: 8px;
}

.hero2img img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px var(--color-Gray);
}

.hero2-content {
    flex: 1 1 400px;
    max-width: 550px;
    color: var(--color-DarkGray);
    text-align: justify;
}

.hero2-content p {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.8;
    font-weight: 400;
}

.titles-hero2 {
    font-size: clamp(24px, 3vw, 30px);
    color: var(--color-Orange);
    margin-bottom: 25px;
    font-weight: 700;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    background: var(--color-Background);
    padding: clamp(60px, 10vw, 120px)
             clamp(20px, 8vw, 100px);

    display: flex;
    justify-content: center;
}

.services-content {
    width: 100%;
    max-width: 1200px;
}

.services-content p {
    max-width: 1100px;
    width: 100%;
    color: var(--color-DarkGray);
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.7;
}

.services-content h3 {
    color: var(--color-Orange);
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 15px;
}

.services-content h2 {
    text-align: center;
    color: var(--color-DarkGray);
}

.services-title {
    color: var(--color-Orange);
    text-align: center;
    margin-bottom: 30px;
    font-size: clamp(2rem, 6vw, 4rem);
}

.services-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 40px);
}


/* =========================================================
   NOSSA HISTÓRIA
========================================================= */

.team-intro {
    background: var(--color-Background);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(60px, 10vw, 120px)
             clamp(20px, 4vw, 40px);
}

.team-photo {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto clamp(40px, 6vw, 70px);
    border-radius: 10px;
    object-fit: cover;
}

.team-title {
    color: var(--color-Orange);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 30px;
    font-weight: 700;
}

.team-text {
    color: var(--color-DarkGray);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.8;
    text-align: center;
}


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

.equipe {
    width: min(90%, 1300px);
    margin: auto;
    padding: clamp(50px, 7vw, 80px) 0;
}

.title-equipe {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.title-equipe h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--color-Orange);
    margin-bottom: 15px;
}

.title-equipe p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--color-DarkGray);
}

.cards-equipe {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 280px), 1fr)
    );
    gap: clamp(20px, 3vw, 35px);
}

.card-equipe {
    background: #4A4A4A;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--color-Gray);
    transition: .4s;
    width: 100%;
}

.card-equipe:hover {
    transform: translateY(-8px);
}

.card-equipe img {
    width: 100%;
    height: clamp(250px, 30vw, 380px);
    object-fit: cover;
}

.card-equipe h2 {
    margin: 25px 25px 8px;
    font-size: clamp(22px, 2.5vw, 28px);
    color: var(--color-Black);
}

.card-equipe h3 {
    margin: 0 25px 18px;
    color: #b68035;
    font-size: clamp(16px, 2vw, 18px);
}

.card-equipe p {
    margin: 0 25px 30px;
    color: #d9d9d9;
    line-height: 1.7;
    font-size: clamp(14px, 1.5vw, 16px);
}


/* =========================================================
   TÍTULOS
========================================================= */

.title-por,
.title-hist {
    color: var(--color-Orange);
    text-align: center;
    background-color: var(--color-Background);
}

.title-por {
    font-size: clamp(32px, 5vw, 48px);
    margin-top: 30px;
}

.title-hist {
    font-size: clamp(32px, 5vw, 48px);
}


/* =========================================================
   DIVISOR
========================================================= */

.divider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-Background);
    padding: 20px;
}

.divider {
    position: relative;
    width: min(75%, 900px);
    height: 2px;
    background: #5f5f5f;
    border-radius: 10px;
}

.divider::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: clamp(40px, 7vw, 70px);
    height: 4px;

    background: var(--color-Orange);
    border-radius: 10px;
}


/* =========================================================
   PORTFÓLIO
========================================================= */

.cards-por {
    width: min(95%, 1400px);
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(min(100%, 280px), 300px));

    justify-content: center;

    gap: clamp(20px, 3vw, 30px);

    padding: 30px 0 60px;
}

.card-por {
    background: #3C3C3C;
    border: 2px solid #3a3a3a;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 0 20px rgba(0, 0, 0, .6);
    transition: .4s ease;

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

    display: flex;
    flex-direction: column;
}

.card-por:hover {
    transform: translateY(-10px);
    border-color: var(--color-Orange);
    box-shadow: 0 0 25px rgba(255, 102, 0, .4);
}

.card-por img {
    width: 100%;
    height: clamp(180px, 20vw, 220px);
    object-fit: cover;
    transition: .4s;
}

.card-por:hover img {
    transform: scale(1.05);
}

.card-por h2 {
    margin: 25px 25px 15px;
    font-size: clamp(22px, 2.5vw, 28px);
    color: var(--color-Orange);
    text-align: center;
}

.card-por p {
    margin: 0 25px 30px;
    color: var(--color-Light);
    line-height: 1.7;
    font-size: clamp(14px, 1.5vw, 16px);
    text-align: justify;
    flex-grow: 1;
}


/* =========================================================
   LINKS DOS CARDS
========================================================= */

.card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.card-link:visited,
.card-link:hover,
.card-link:active {
    color: inherit;
    text-decoration: none;
}

.card-link:focus {
    outline: none;
}


/* =========================================================
   CONTATO
========================================================= */

.contato {
    background: #0f0f0f;
    border-top: 2px solid #2b2b2b;

    padding: clamp(50px, 8vw, 70px)
             clamp(20px, 5vw, 40px);

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contato h2 {
    color: var(--color-Orange);
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 20px;
}

.contato p {
    color: #d9d9d9;
    width: 100%;
    max-width: 650px;

    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;

    margin-bottom: 35px;
}

.network {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: clamp(12px, 3vw, 20px);
    margin-bottom: 35px;
}

.network a {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);

    background: #1c1c1c;
    border: 2px solid #333;
    border-radius: 50%;

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

    text-decoration: none;
    transition: .35s ease;
}

.network a i {
    color: var(--color-Orange);
    font-size: clamp(22px, 5vw, 28px);
}

.network a:hover {
    background: var(--color-Orange);
    transform: translateY(-6px);
    box-shadow: 0 0 20px rgba(255, 102, 0, .45);
}

.network a:hover i {
    color: #000;
}

.contato span {
    color: #8f8f8f;
    font-size: clamp(13px, 1.5vw, 15px);
}


/* =========================================================
   ÍCONE
========================================================= */

.icone {
    font-size: clamp(25px, 4vw, 32px);
    color: var(--color-Black);
    margin-top: 10px;
    margin-right: 10px;
    transition: .7s;
}

.icone:hover {
    color: var(--color-Light);
    transform: rotate(-360deg) scale(1.5);
}


/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 1024px) {

    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }

    .hero2 {
        gap: 50px;
    }

    .hero2img,
    .hero2-content {
        flex: 1 1 45%;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 768px) {

    body {
        padding-top: 75px;
    }

    .header-page {
        height: 75px;
        padding: 5px 15px;
    }

    .logo {
        width: 120px;
    }

    .header-menu {
        top: 65px;
        right: 10px;
        width: min(220px, calc(100vw - 20px));
    }


    /* HERO */

    .hero {
        min-height: calc(100vh - 75px);
        padding: 40px 20px;
        background-attachment: scroll;
        background-position: center;
    }


    /* HERO 2 */

    .hero2 {
        flex-direction: column;
        padding: 70px 20px;
        gap: 40px;
    }

    .hero2img,
    .hero2-content {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .hero2-content {
        text-align: justify;
    }

    .hero2img img {
        width: 100%;
    }


    /* SERVICES */

    .services {
        padding: 70px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }


    /* HISTÓRIA */

    .team-intro {
        padding: 70px 20px;
    }

    .team-photo {
        width: 100%;
        height: auto;
        margin-bottom: 40px;
    }

    .team-text {
        text-align: justify;
    }


    /* EQUIPE */

    .equipe {
        width: 92%;
        padding: 50px 0;
    }

    .cards-equipe {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-equipe img {
        height: 300px;
    }


    /* PORTFÓLIO */

    .cards-por {
        width: 90%;
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .card-por {
        min-height: auto;
    }

    .card-por img {
        height: 220px;
    }


    /* CONTATO */

    .contato {
        padding: 60px 20px;
    }

}


/* =========================================================
   CELULARES PEQUENOS
========================================================= */

@media (max-width: 480px) {

    .header-page {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }

    .logo {
        width: 105px;
    }

    .menu-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .header-menu {
        top: 60px;
        right: 8px;
    }


    .hero {
        min-height: calc(100vh - 70px);
        padding: 30px 15px;
    }


    .hero2 {
        padding: 55px 15px;
        gap: 30px;
    }

    .hero2-content p {
        font-size: 15px;
        line-height: 1.7;
    }


    .services {
        padding: 55px 15px;
    }

    .services-content p {
        font-size: 15px;
    }


    .team-intro {
        padding: 55px 15px;
    }

    .team-photo {
        margin-bottom: 30px;
        border-radius: 8px;
    }

    .team-text {
        font-size: 15px;
        line-height: 1.7;
    }


    .equipe {
        width: 94%;
    }

    .title-equipe {
        margin-bottom: 35px;
    }

    .card-equipe {
        border-radius: 14px;
    }

    .card-equipe img {
        height: 240px;
    }

    .card-equipe h2 {
        margin: 20px 20px 8px;
    }

    .card-equipe h3 {
        margin: 0 20px 15px;
    }

    .card-equipe p {
        margin: 0 20px 25px;
    }


    .title-por,
    .title-hist {
        padding: 0 15px;
    }


    .divider {
        width: 85%;
    }


    .cards-por {
        width: 94%;
        padding-bottom: 45px;
    }

    .card-por {
        border-radius: 14px;
    }

    .card-por h2 {
        margin: 20px 20px 12px;
    }

    .card-por p {
        margin: 0 20px 25px;
    }


    .contato {
        padding: 50px 15px;
    }

    .network {
        gap: 12px;
    }

}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 360px) {

    .logo {
        width: 95px;
    }

    .hero {
        padding: 25px 12px;
    }

    .hero2,
    .services,
    .team-intro {
        padding-left: 12px;
        padding-right: 12px;
    }

    .card-equipe img {
        height: 210px;
    }

    .card-por img {
        height: 190px;
    }

    .network a {
        width: 48px;
        height: 48px;
    }

}
