* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #272b2e;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #272b2e;
    overflow-x: hidden;
}

.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-section {
    width: 100%;
    background-color: #272b2e;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100vh;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
    -ms-interpolation-mode: bicubic;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    top: 20%;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    -webkit-animation: float 6s infinite ease-in-out;
    animation: float 6s infinite ease-in-out;
    box-shadow:
        30px 10px 0 rgba(255, 255, 255, 0.6),
        80px 30px 0 rgba(255, 255, 255, 0.7),
        150px 50px 0 rgba(255, 255, 255, 0.5),
        220px 20px 0 rgba(255, 255, 255, 0.6),
        280px 40px 0 rgba(255, 255, 255, 0.7),
        340px 60px 0 rgba(255, 255, 255, 0.5),
        50px 70px 0 rgba(255, 255, 255, 0.6),
        120px 90px 0 rgba(255, 255, 255, 0.7),
        190px 110px 0 rgba(255, 255, 255, 0.5),
        260px 80px 0 rgba(255, 255, 255, 0.6),
        320px 100px 0 rgba(255, 255, 255, 0.7),
        380px 120px 0 rgba(255, 255, 255, 0.5);
}

.particles::after {
    animation-delay: 3s;
    animation-duration: 8s;
    box-shadow:
        60px 15px 0 rgba(255, 255, 255, 0.7),
        110px 35px 0 rgba(255, 255, 255, 0.6),
        180px 55px 0 rgba(255, 255, 255, 0.7),
        250px 25px 0 rgba(255, 255, 255, 0.5),
        310px 45px 0 rgba(255, 255, 255, 0.6),
        370px 65px 0 rgba(255, 255, 255, 0.7),
        80px 75px 0 rgba(255, 255, 255, 0.5),
        150px 95px 0 rgba(255, 255, 255, 0.6),
        220px 115px 0 rgba(255, 255, 255, 0.7),
        290px 85px 0 rgba(255, 255, 255, 0.5),
        350px 105px 0 rgba(255, 255, 255, 0.6),
        410px 125px 0 rgba(255, 255, 255, 0.7);
}

@-webkit-keyframes float {

    0%,
    100% {
        -webkit-transform: translateY(0) translateX(0);
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(150px) translateX(20px);
        transform: translateY(150px) translateX(20px);
        opacity: 0;
    }
}

@keyframes float {

    0%,
    100% {
        -webkit-transform: translateY(0) translateX(0);
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(150px) translateX(20px);
        transform: translateY(150px) translateX(20px);
        opacity: 0;
    }
}

.text-overlay {
    position: fixed;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    padding: 0 20px;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    -webkit-animation: fadeInUp 1.2s ease-out 0.3s both;
    animation: fadeInUp 1.2s ease-out 0.3s both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) translateY(30px);
        transform: translate(-50%, -50%) translateY(30px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate(-50%, -50%) translateY(0);
        transform: translate(-50%, -50%) translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) translateY(30px);
        transform: translate(-50%, -50%) translateY(30px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate(-50%, -50%) translateY(0);
        transform: translate(-50%, -50%) translateY(0);
    }
}

.title-image {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto 8px;
    -ms-interpolation-mode: bicubic;
}

.subtitle-image {
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    -ms-interpolation-mode: bicubic;
}

.button-wrapper {
    margin-top: 25px;
    text-align: left;
    padding-left: 130px;
}

.button-wrapper+.button-wrapper {
    margin-top: -25px;
}

.button-wrapper+.button-wrapper .button-link {
    pointer-events: none;
    cursor: default;
}

.button-link {
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button-link:hover {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.button-link:active {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.button-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: inline-block;
    -ms-interpolation-mode: bicubic;
}

/* Tablets e telas médias */
@media (max-width: 1024px) {
    .text-overlay {
        max-width: 500px;
    }

    .button-wrapper {
        padding-left: 100px;
    }
}

@media (max-width: 768px) {
    .text-overlay {
        top: 82%;
        max-width: 450px;
        padding: 0 15px;
    }

    .title-image {
        max-width: 85%;
    }

    .subtitle-image {
        max-width: 75%;
    }

    .button-wrapper {
        padding-left: 70px;
    }

    .button-image {
        max-width: 90%;
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .container {
        max-width: 100%;
    }

    .text-overlay {
        top: 80%;
        max-width: 90%;
        padding: 0 15px;
    }

    .title-image {
        max-width: 85%;
        margin-bottom: 8px;
    }

    .subtitle-image {
        max-width: 75%;
    }

    .button-wrapper {
        margin-top: 20px;
        padding-left: 50px;
    }

    .button-image {
        max-width: 95%;
    }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
    .text-overlay {
        top: 78%;
        max-width: 95%;
    }

    .title-image {
        max-width: 80%;
        margin-bottom: 6px;
    }

    .subtitle-image {
        max-width: 70%;
    }

    .button-wrapper {
        margin-top: 18px;
        padding-left: 40px;
    }
}

/* Smartphones muito pequenos */
@media (max-width: 375px) {
    .text-overlay {
        top: 75%;
        max-width: 95%;
        padding: 0 10px;
    }

    .title-image {
        max-width: 75%;
    }

    .subtitle-image {
        max-width: 65%;
    }

    .button-wrapper {
        margin-top: 15px;
        padding-left: 35px;
    }

    .button-image {
        max-width: 100%;
    }
}

/* Dispositivos em modo paisagem */
@media (max-height: 500px) and (orientation: landscape) {
    .text-overlay {
        top: 75%;
        max-width: 90%;
        padding: 0 15px;
    }

    .title-image {
        max-width: 60%;
        margin-bottom: 4px;
    }

    .subtitle-image {
        max-width: 50%;
    }

    .button-wrapper {
        margin-top: 10px;
        padding-left: 50px;
    }

    .button-image {
        max-width: 70%;
    }
}

/* Telas grandes */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}