/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.flex {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Cores da marca */
:root {
    --red: #4D1B1E;
    --black: #000000;
    --white: #ffffff;
    --gray-light: #A6A6A6;
    --gray-dark: #3c3c3c;
}

/* Corpo */
body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

/* Container centralizado */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Header */
.header {
    background: linear-gradient(to right, var(--gray-light), var(--white));
    padding: 1rem 0;
    color: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 10%;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
}

.logo img {
    max-height: 120px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--red);
    transition: 0.5s;
}

/* Botão hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Flex header */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--gray-light), var(--white));
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    padding-top: 14rem;
    flex-direction: column;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 2rem;
}

.hero-section h1 {
    font-size: 5rem;
    max-width: 900px;
    color: var(--red);
    text-align: left;
    font-family: "Smooch Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.btn-primary {
    background: linear-gradient(to right, var(--red), var(--black));
    color: var(--white);
    width: 40%;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--black), var(--gray-light));
}

.saber-mais {
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.saber-mais:hover {
    color: var(--red);
    transition: 0.5s;
}

.saber-mais i {
    font-size: 1.1rem;
    line-height: 1;
}

/* services-section */
.services-section {
    background: linear-gradient(to right, var(--black), var(--gray-dark));
}

.services-section h1 {
    color: var(--white);
    padding: 5%;
    text-align: center;
    font-size: 2rem;
}

.services-section ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    color: var(--gray-light);
    font-weight: 600;
}

/* Grid dos serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0;
    margin: 40px 0;
}

.services-grid li {
    background: linear-gradient(to right, var(--gray-light), var(--white));
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
}

.services-grid img {
    max-width: 100px;
    margin-bottom: 15px;
}

.services-grid h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--black);
}

.services-grid p {
    font-size: 0.95rem;
    color: var(--gray-dark);
}

/* About-section */
.about-section {
    background: linear-gradient(to right, var(--red), var(--black));
    position: relative;
    padding: 80px 0 100px;
    z-index: 1;
}

.about-section h1 {
    color: var(--white);
    padding: 5%;
    text-align: center;
    font-size: 2rem;
}

.p-about {
    flex: 1 1 500px;
    z-index: 2;
}

.about-section p {
    color: var(--gray-light);
    font-size: 1rem;
}

.about-image {
    flex: 1 1 400px;
    max-width: 700px;
    margin-bottom: -180px;
    z-index: 3;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 1);
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
}

/* Clientes-Section */
.clientes-section {
    background: linear-gradient(to right, var(--gray-light), var(--white));
    padding: 5rem 2rem 20rem 2rem;
}

.clientes-section h1 {
    color: var(--black);
    padding: 5%;
    font-size: 2rem;
}

.clientes-section img {
    max-width: 200px;
}

.clientes-section p {
    font-size: 1rem;
}

/* Carousel */

/* .carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: moveLogos 30s linear infinite;
}

.carousel-track img {
    margin: 0 40px;
    flex-shrink: 0;
}

@keyframes moveLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
} */

/* form-section */
.form {
    background: linear-gradient(to right, var(--red), var(--black));
    width: 850px;
    padding: 2.5rem;
    margin: 0 auto;
    border-radius: 2rem;
    margin-top: -20rem;
    position: relative;
    z-index: 3;
}

.form-txt {
    width: 50%;
}

.form-txt h1 {
    font-size: 1.2rem;
    color: var(--white);
}

.form-txt p {
    font-size: 1rem;
    color: var(--gray-light);
    width: 90%;
    text-align: justify;
}

.form img {
    width: 50vw;
    max-width: 400px;
}

form#leadForm {
    color: var(--white);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    max-width: 400px;
    width: 50vw;
}

form#leadForm label {
    font-weight: 600;
}

form#leadForm input {
    padding: 10px 12px;
    margin-bottom: 25px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

form#leadForm input:focus {
    border-color: #e63946;
    /* cor do foco */
}

form#leadForm button {
    margin-top: 10px;
    padding: 12px;
    background-color: #e63946;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form#leadForm button:hover {
    background-color: #b52a35;
}

#formMessage {
  font-weight: 600;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--black), var(--gray-light));
    padding: 21rem 2rem 5rem 2rem;
    z-index: 1;
    margin-top: -21rem;
}

.cta-section .container .flex {
    gap: 10rem;
}

.cta-section h1 {
    width: 40%;
    color: var(--white);
    font-size: 4rem;
    font-family: "Smooch Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    line-height: 1;
}

.cta-section p {
    width: 50%;
    color: var(--white);
    font-size: 1rem;
}


/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
    z-index: 1;
}

.footer .contact h2 {
    color: var(--red);
}

.footer .contact p {
    text-align: left;
}

.contact-icons {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.contact-icons a {
    color: var(--gray-light);
    font-size: 24px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.contact-icons a:hover {
    color: var(--red);
}

.footer .nav ul {
    list-style-type: none;
    color: var(--white);
    text-align: left;
}

.footer .nav ul li a {
    color: var(--white);
    font-size: 1rem;
}

.footer .nav ul li a:hover {
    color: var(--red);
}

/* RESPONSIVO */
/* Telas Médias (801px - 1150px) */
@media (max-width: 1150px) {

    /* About */
    .about-section .flex {
        flex-direction: column;
    }

    .p-about {
        flex: 0 0 auto;
    }

    /* Form */
    .form {
        width: 70%;
    }

    .form img {
        display: none;
    }

    .form-txt,
    .form-txt p,
    form#leadForm {
        width: 90%;
        text-align: center;
        margin: 20px auto 0px;
    }

}

/* Telas Pequenas (até 800px) */
@media (max-width: 800px) {

    /* Menu */
    .header {
        padding: 0.5rem;
        align-items: center;
    }

    .header .container {
        padding: 0px;
    }

    .logo img {
        max-height: 90px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        background-color: #000000;
        width: 50%;
        height: 100vh;
        padding: 15px 0px;
        border-radius: 10px 0px;
        z-index: 1002;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 5px;
    }

    .nav-list li{
        background: linear-gradient(to right, var(--gray-light), var(--white));
        padding: 20px;
        width: 100%;
    }
    
    .nav-list li:hover{
        background: linear-gradient(to right, var(--red), var(--black));
        padding: 20px;
        width: 100%;
    }

    .nav-list li a{ 
        color: var(--black);
    }

    .hamburger {
        display: flex;
    }

/* Hero */
.hero-section {
    padding-top: 8rem;
}

.hero-section h1 {
    font-size: 3rem;
}

.hero-section .btn-primary {
    width: 90%;
}

/* Services */
.services-section {
    padding: 0px;
}

.services-section ul {
    margin-left: 0px;
}

.services-grid {
    width: 100%;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
}

.services-grid li {
    padding: 2px;
}

.services-grid h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--black);
}

.services-grid p {
    font-size: 0.8rem;
}

/* About */
.about-section {
    padding-top: 20px;
    z-index: 1;
}

.about-section h1 {
    font-size: 1.5rem;
}

.about-section p {
    font-size: 1rem;
    text-align: justify;
}

.about-image {
    flex: 1 1 200px;
}

/* Clientes */
.clientes-section {
    padding: 5rem 0rem 20rem;
}

.clientes-section h1 {
    font-size: 1.5rem;
    padding: 0px;
}

.clientes-section p {
    padding: 1rem 0rem;
}

/* Form */
.form,
form#leadForm {
    width: 95%;
    padding: 0.5rem;
}

.form-txt h1 {
    font-size: 1rem;
}

.form-txt,
.form-txt p {
    width: 100%;
}

/* CTA */
.cta-section {
    padding: 21rem 0rem 3rem 0rem;
}


.cta-section .container .flex {
    flex-direction: column;
    gap: 3rem;
}

.cta-section h1 {
    font-size: 3rem;
    width: 95%;
}

.cta-section p {
    font-size: 1rem;
    width: 95%;
}

/* Footer */
.footer {
    font-size: 0.75rem;
}
}

/* Telas Ultrawide (acima de 3000px) */
@media (min-width: 3000px) {
    .container {
        max-width: 3000px;
        margin: 0 auto;
    }

    /* Header */
    .header .container {
        height: 90%;
    }

    .logo img {
        max-height: 200px;
    }

    .nav-link {
        font-size: 2.5rem;
    }

    .nav-link:hover {
        color: var(--red);
        transition: 0.5s;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 28rem;
    }

    .hero-section h1 {
        font-size: 10rem;
        max-width: 1800px;
    }

    .btn-primary {
        width: 50%;
        padding: 2rem 4rem;
        font-size: 2.5rem;
    }

    .saber-mais {
        font-size: 2rem;
        text-decoration: none;
    }

    .saber-mais i {
        font-size: 2rem;
    }

    /* services-section */
    .services-section h1 {
        font-size: 4rem;
    }

    /* Grid dos serviços */
    .services-grid img {
        max-width: 200px;
    }

    .services-grid h2 {
        font-size: 2.5rem;
    }

    .services-grid p {
        font-size: 2rem;
    }

    /* About-section */
    .about-section h1 {
        font-size: 4rem;
    }

    .about-section p {
        font-size: 2rem;
    }

    .about-image {
        max-width: 1000px;
    }

    /* Clientes-Section */
    .clientes-section h1 {
        font-size: 4rem;
    }

    .clientes-section p {
        font-size: 2rem;
    }

    /* form-section */
    .form {
        width: 1600px;
    }

    .form-txt h1 {
        font-size: 2.5rem;
    }

    .form-txt p {
        font-size: 2rem;
    }

    .form img {
        width: 50vw;
        max-width: 600px;
    }

    form#leadForm {
        max-width: 600px;
    }

    form#leadForm input {
        padding: 20px 24px;
        font-size: 32px;
    }

    form#leadForm button {
        padding: 24px;
        font-size: 36px;
    }

    /* CTA Section */
    .cta-section {
        padding: 44rem 2rem 5rem 2rem;
        margin-top: -44rem;
    }

    .cta-section h1 {
        font-size: 8rem;
    }

    .cta-section p {
        font-size: 2rem;
    }


    /* Footer */
    .footer {
        background: var(--black);
        color: var(--white);
        text-align: center;
        padding: 1rem 0;
        font-size: 0.9rem;
        z-index: 1;
    }

    .footer .contact h2 {
        font-size: 4rem;
    }

    .footer p {
        font-size: 36px;
    }

    .contact-icons a {
        font-size: 48px;
    }

    .footer .nav ul li a {
        font-size: 2rem;
    }
}