@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* ===================
   Regras Globais
   =================== */

:root {
    /* Primary Colors */
    --primary-color: hsl(33, 49%, 66%);
    --background-color: #121212;
    --text-color: #f0f0f0;

    /* Neutral Colors */
    --light-gray: #cccccc;
    --dark-gray: #13131a;

    /* Component Colors */
    --card-bg-color: #1e1e1e;
    --card-text-color: #e0e0e0;

    /* Button Colors */
    --btn-primary-bg: var(--primary-color);
    --btn-primary-text: var(--background-color);
    --btn-hover-bg: transparent;
    --btn-hover-text: var(--primary-color);
    --btn-hover-shadow: rgba(211, 173, 127, 0.4);

    /* Misc */
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    --hover-transform: translateY(-3px);
}

* {
    outline: none; border:none;
    transition: .2s linear;
    box-sizing: border-box;
    text-decoration: none;
    margin:0; padding:0;
}

html {
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Montserrat", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

body::-webkit-scrollbar {
    display: none; /* Para Chrome, Safari e Opera */
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    font-family: "Poppins", sans-serif;
}

.main {
    display: flex;
    min-height: 100vh;
    padding: 2rem;
}

/* ===================
   Conteúdo Esquerdo
   =================== */

.left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.left h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.left a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.left-image {
    max-width: 50%;
    height: auto;
    transition: transform 0.3s ease;
}

.left-image:hover {
    transform: var(--hover-transform);
}

/* ===================
   Conteúdo Direito
   =================== */

.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background-color: var(--card-bg-color);
    color: var(--card-text-color);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-align: center;
}

.text {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: justify;
}

/* Botão */

.btn {
    display: block;
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin: 1.5rem auto 0;
    width: fit-content;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.4s;
}

.btn:hover {
    background-color: var(--btn-hover-bg);
    color: var(--btn-hover-text);
    box-shadow: 0 5px 15px var(--btn-hover-shadow);
}

.btn:hover::before {
    left: 100%;
}

/* ===================
   Responsividade
   =================== */

@media (max-width: 1700px) {
    .main {
        padding: 1.5rem;
    }

    .left h1 {
        font-size: 2.5rem;
    }

    .left-image {
        max-width: 60%;
    }

    .card {
        max-width: 450px;
    }

    .card h1 {
        font-size: 2.2rem;
    }

    .text {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .main {
        padding: 1rem;
    }

    .left h1 {
        font-size: 2.2rem;
    }

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

    .card {
        max-width: 400px;
    }

    .card h1 {
        font-size: 2rem;
    }

    .text {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .main {
        flex-direction: column;
    }

    .left, .right {
        padding: 1rem 0;
    }

    .left h1 {
        font-size: 2rem;
    }

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

    .card {
        max-width: 90%;
    }
}

@media (max-width: 750px) {
    .left h1 {
        font-size: 1.8rem;
    }

    .left-image {
        max-width: 80%;
    }

    .card {
        padding: 1.5rem;
    }

    .card h1 {
        font-size: 1.8rem;
    }

    .text {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}