/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(
        to right,
        rgb(12, 12, 12),
        goldenrod
    );
}


/* =========================================================
   NAVBAR
========================================================= */

header {
    width: 100%;
    background: #000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

header h1 {
    color: goldenrod;
}

nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: goldenrod;
}


/* =========================================================
   BOTÕES DOS CARDS
========================================================= */

.card .btn {
    background: goldenrod;
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: 100%;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0),
            rgba(12, 12, 12, 0.9)
        ),
        url('../../upload/fechandonegocio.webp');

    min-height: 600px;

    padding: 120px 20px 300px;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;

    position: relative;
}

.hero-text {
    width: 100%;
    max-width: 100%;
    padding-top: 140px;
}

.hero h2 {
    font-size: 30px;
    line-height: 1.3;
}

.hero p {
    margin: 20px 0;
    line-height: 1.5;
    font-size: 16px;
}

.gold {
    color: goldenrod;
}


/* =========================================================
   BOTÃO DO HERO
========================================================= */

.hero button {
    padding: 12px 25px;

    background: goldenrod;
    color: black;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    position: absolute;
    left: 200px;
    bottom: 40px;
}

.hero button:hover {
    background: #d4af37;
}


/* =========================================================
   IMAGEM DO HERO / MOCKUP
========================================================= */

.hero img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}


/* =========================================================
   BEM-VINDO
========================================================= */

.bv {
    text-align: center;
    margin-right: 200px;
    margin-top: 40px;

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity 0.8s ease,
        transform 1s ease;
}

.bv.show {
    opacity: 1;
    transform: translateY(0);
}

.bv h2 {
    font-size: 28px;
}


/* =========================================================
   TÍTULOS
========================================================= */

h1 {
    font-size: 2rem;
}

h2 {
    color: rgb(206, 198, 198);
    font-size: 40px;
}

h3 {
    font-size: 1.3rem;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

.section h2 {
    font-size: 28px;
    color: black;
}

.section span {
    color: goldenrod;
}


/* =========================================================
   CARDS
========================================================= */

.cards {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: stretch;

    flex-wrap: wrap;

    margin-top: 0;
}

.card {
    display: block;

    width: 400px;

    background: #000;

    padding: 30px;
    margin: 10px 4px 20px 10px;

    border-radius: 20px;

    text-decoration: none;
    color: white;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);

    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 0 20px rgba(212, 160, 23, 0.3);

    border: 1px solid #d4a017;
}

.card h3 {
    margin-bottom: 10px;
    color: goldenrod;
}

.card p {
    color: white;
}

.card button {
    margin-top: 15px;

    background: goldenrod;
    color: black;

    border: none;

    padding: 8px 15px;

    border-radius: 5px;

    cursor: pointer;
}

.card button:hover {
    background: #d4af37;
}

.card-link {
    color: #d4a017;
    font-weight: bold;
}


/* =========================================================
   CARROSSEL
========================================================= */

.carousel-container {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;
}

.carousel-inner {
    width: 90%;
    margin: 0 auto;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.seta:hover {
    color: white;
}


/* =========================================================
   LEGENDAS DO CARROSSEL
========================================================= */

.carousel-caption h5 {
    color: goldenrod;
    text-shadow: 2px 2px 5px black;
}


/* =========================================================
   CONTAINERS / IMAGENS
========================================================= */

.container {
    width: 100%;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {
    
    
.seta1 {
    width: 45px;
    height: 45px;
    background: black;
    color: goldenrod;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta1:hover {
    background: #d4af37;
    color: white;
}

.seta {
    width: 45px;
    height: 45px;
    background: goldenrod;
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta:hover {
    background: #d4af37;
    color: white;
}
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .hero {
        padding-left: 20px;
        padding-right: 20px;
    }

    .bv {
        margin-right: 0;
    }
}


/* =========================================================
   TELEMÓVEL
========================================================= */

@media (max-width: 768px) {
    
    
.seta1 {
    width: 45px;
    height: 45px;
    background: black;
    color: goldenrod;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta1:hover {
    background: #d4af37;
    color: white;
}

.seta {
    width: 45px;
    height: 45px;
    background: goldenrod;
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta:hover {
    background: #d4af37;
    color: white;
}


    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    /* CONTAINER */

    .container {
        width: 100%;
        max-width: 100%;

        padding-left: 15px;
        padding-right: 15px;
    }


    img {
        max-width: 100%;
        height: auto;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    header {
        width: 100%;

        padding: 15px;

        flex-direction: column;

        text-align: center;

        gap: 15px;
    }

    header h1 {
        font-size: 28px;
    }

    nav {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;

        gap: 10px;
    }

    nav a {
        margin-left: 0;
        font-size: 14px;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .hero {
        width: 100%;

        /*
           A imagem passa a ocupar toda a largura
           mantendo a proporção original.
        */
        background-size: 100% auto;

        background-position: center top;

        background-repeat: no-repeat;

        /*
           Espaço suficiente para a imagem e conteúdo.
        */
        min-height: 600px;

        padding: 80px 20px 80px;

        display: flex;

        justify-content: center;
        align-items: center;

        text-align: center;

        position: relative;

        /*
           Não cortar a imagem/conteúdo.
        */
        overflow: visible;
    }


    .hero-text {
        width: 100%;
        max-width: 100%;

        padding-top: 120px;
    }


    .hero h2 {
        font-size: 26px;
        line-height: 1.3;
    }


    .hero p {
        font-size: 16px;
        line-height: 1.5;

        margin: 20px 0;
    }


    /* BOTÃO HERO */

    .hero button {
        position: static;

        left: auto;
        bottom: auto;

        margin-top: 20px;

        padding: 12px 25px;

        max-width: 100%;
    }


    /* =====================================================
       BEM-VINDO
    ===================================================== */

    .bv {
        width: 100%;

        margin-right: 0;
        margin-top: 30px;

        text-align: center;
    }

    .bv h2 {
        font-size: 24px;
    }


    /* =====================================================
       SECTION
    ===================================================== */

    .section {
        width: 100%;

        padding: 40px 15px;
    }

    .section h2 {
        font-size: 26px;
    }


    /* =====================================================
       CARDS
    ===================================================== */

    .cards {
        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;
    }


    .card {
        width: 100%;

        max-width: 400px;

        margin: 10px 0 20px;

        padding: 25px 20px;
    }


    .card h3 {
        font-size: 20px;
    }


    .card p {
        font-size: 16px;
    }


    /* =====================================================
       CARROSSEL
    ===================================================== */

    .carousel-container {
        width: 100%;

        gap: 5px;

        padding: 0;
    }


    .carousel-inner {
        width: 85%;

        margin: 0 auto;
    }


    .carousel-item img {
        width: 100%;

        height: 250px;

        object-fit: contain;
    }

    /* =====================================================
       BOTÃO FINAL / BOXES
    ===================================================== */

    .boxes {
        width: 100%;

        padding: 0 15px;

        margin: 30px 0;
    }


    .boxes button {
        width: auto;

        max-width: 100%;
    }


    /* =====================================================
       TAMANHOS GERAIS
    ===================================================== */

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }
}


/* =========================================================
   TELEMÓVEIS PEQUENOS
========================================================= */

@media (max-width: 480px) {
    
    
.seta1 {
    width: 45px;
    height: 45px;
    background: black;
    color: goldenrod;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta1:hover {
    background: #d4af37;
    color: white;
}

.seta {
    width: 45px;
    height: 45px;
    background: goldenrod;
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta:hover {
    background: #d4af37;
    color: white;
}


    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }


    .container {
        width: 100%;

        padding-left: 12px;
        padding-right: 12px;
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    header {
        padding: 12px;
    }

    header h1 {
        font-size: 24px;
    }

    nav a {
        font-size: 13px;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .hero {

        /*
           Mostra a imagem completa na largura
           sem usar "cover", que cortava partes.
        */
        background-size: 100% auto;

        background-position: center top;

        background-repeat: no-repeat;

        /*
           Mantém espaço para o conteúdo.
        */
        min-height: 550px;

        padding: 70px 15px 60px;

        overflow: visible;
    }


    .hero-text {
        width: 100%;

        padding-top: 100px;
    }


    .hero h2 {
        font-size: 22px;

        line-height: 1.3;
    }


    .hero p {
        font-size: 15px;

        line-height: 1.5;
    }


    .hero button {
        position: static;

        margin-top: 20px;

        padding: 12px 20px;
    }


    /* =====================================================
       BEM-VINDO
    ===================================================== */

    .bv {
        width: 100%;

        margin-right: 0;
        margin-top: 25px;
    }


    .bv h2 {
        font-size: 21px;
    }


    /* =====================================================
       SECTION
    ===================================================== */

    .section {
        width: 100%;

        padding: 35px 12px;
    }


    .section h2 {
        font-size: 23px;
    }


    /* =====================================================
       CARDS
    ===================================================== */

    .card {
        width: 100%;

        max-width: 100%;

        padding: 20px 15px;

        margin: 10px 0 20px;
    }


    .card h3 {
        font-size: 18px;
    }


    .card p {
        font-size: 15px;
    }


    /* =====================================================
       CARROSSEL
    ===================================================== */

    .carousel-container {
        width: 100%;

        gap: 3px;
    }


    .carousel-inner {
        width: 80%;
    }


    .carousel-item img {
        width: 100%;

        height: 200px;

        object-fit: contain;
    }


    .seta,
    .seta1 {
        width: 35px;
        height: 35px;

        font-size: 16px;
    }


    /* =====================================================
       BOXES
    ===================================================== */

    .boxes {
        width: 100%;

        padding: 0 12px;
    }


    .boxes button {
        max-width: 100%;
    }


    /* =====================================================
       TAMANHOS
    ===================================================== */

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 15px;
    }
}


.seta1 {
    width: 45px;
    height: 45px;
    background: black;
    color: goldenrod;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta1:hover {
    background: #d4af37;
    color: white;
}

.seta {
    width: 45px;
    height: 45px;
    background: goldenrod;
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seta:hover {
    background: #d4af37;
    color: white;
}

.boxes {
    width: 100%;
    padding: 0 15px;
    margin: 30px 0;
    text-align: center;
}

.boxes button {
    padding: 12px 25px;
    background: goldenrod;
    color: black;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.boxes button:hover {
    background: #d4af37;
    color: white;
}
