@font-face {
    font-family: 'Semakin';
    src: url('font/Semakin.otf') format('opentype');
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    position: absolute;
    width: 100%;
    padding: 0.5rem 0;
    background-color: #000;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.logo {
    flex: 1;
}

.logo img {
    height: 50px;
    width: auto;
    margin-top: 0;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

.logo-spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover {
    color: #ff0000;
    transform: translateY(-2px);
}

/* Contate-nos Button Styles */
.botao-direita {
    margin-left: auto;
}

.botao-direita a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: transparent;
    font-size: 0.9rem;
}

.botao-direita a:hover {
    background-color: white;
    color: black;
    transform: translateY(-2px);
}

/* Sessão Home */
.home-section {
    min-height: 100vh;
    background-image: url('img/Imagem-homem-carro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: 2rem;
    text-align: right;
}

.home-content h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
    max-width: 600px;
    text-align: right;
    margin-left: auto;
}

.home-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 400px;
    text-align: right;
    margin-left: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent; 
    color: white; 
    border: 2px solid white; 
    text-decoration: none;
    border-radius: 05px;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: white; 
    color: black; 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Sessão Sobre Nós */
.about-section {
    background-color: #000;
    color: white;
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-sobre {
    display: flex;
    max-width: 1600px;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.text-content {
    flex: 1;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    color: #ffffff;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-content img {
    max-width: 100%;
    border-radius: 10px;
}

.image-caption {
    font-family: 'Montserrat', sans-serif;
    font-size: 7rem;
    color: #911717;
    font-weight: 600;
    opacity: 30%;
    margin-left: 10%;
}

/* Fim da seção sobre nos */

/* Seção de Serviços */
.services-section {
    background-color: #000;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.section-title {
    font-family: 'Semakin', sans-serif;
    font-size: 100px;
    color: #c22121;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

.cards {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    background-color: transparent;
    text-align: center;
    border: none;
    color: white;
}

.card img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #911717;
    margin-top: 1rem;
}

.card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-top: 1rem;
    color: white;
}

.text-services {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    color: #911717;
    opacity: 30%;
    text-align: right;
    width: 100%;
    margin-top: -10px;
    padding-right: 3px; 
}


/* Seção de Feedback */
.feedback-section {
    font-family: 'Epilogue', sans-serif;
    min-height: 94vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    color: #0E2A46;
    text-align: center;
    background-color: #000;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    background-image: url('img/mapa.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; 
    z-index: 1;
}

.feedback-content {
    position: relative;
    z-index: 2;
}

.feedback-content h1 {
    font-family: 'Semakin', sans-serif;
    color: #c22121;
    font-size: 6rem;
    margin-bottom: 120px;
    display: block;
    text-align: center;
    font-style: italic;
}

.cards-feedback {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    z-index: 2;
    margin-top: 50px;
    align-items: stretch;
}

.card-feedback {
    background-color: white;
    width: 360px;
    min-height: 420px;
    padding: 20px;
    border: 2px solid #17254E;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 120px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.card-feedback img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card-feedback .declarer {
    margin-top: auto;
    text-align: left;
    padding-left: 10px;
    width: 100%;
}

.card-feedback .declarer .name {
    font-family: 'Epilogue', sans-serif;
    font-size: 1rem;
    color: #000;
    font-weight: bold;
    display: block;
    margin-right: 0;
}

.card-feedback .declarer .position {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: #911717;
    font-weight: 200;
    display: block;
    margin-top: 2px;
}

.card-feedback[data-card="2"] .declarer {
    font-family: 'Epilogue', sans-serif;
    color: #0E2A46; 
    font-size: 1rem;
    font-weight: 600; 
    text-align: left;
    display: block; 
    margin-top: 100px; 
}

.card-feedback p {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
    margin-left: 0;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 20px;
}

/* Seção Contato */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    background-color: #000;
}

.contact-info {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.contact-info h2 {
    font-family: 'Epilogue', sans-serif;
    font-size: 10rem;
    margin-bottom: 30px;
    color: #FFFFFF99;
    opacity: 30%;
    margin-left: -40px;
}

.contact-form {
    width: 30%;
    margin-top: 80px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
    color: #0E2A46;
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem 0;
    border: none;
    border-bottom: 1px solid gray;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    background-color: transparent;
    color: white;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    color: #aaa;
}

textarea {
    height: 50px;
    resize: none;
}

button {
    background-color: transparent;
    color: white; 
    padding: 10px 20px;
    border: 2px solid white; 
    border-radius: 5px;
    font-family: 'Epilogue', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s; 
}

button:hover {
    background-color: #fff;
    color: #000;
    border: 2px solid #fff;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border: none;
    border-bottom: 1.5px solid gray;
    background: transparent;
    color: white;
}

.map-frame {
    width: 100%;
    height: 450px;
    border: 0;
}

.rights {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.04rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: white;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #911717;
    color: white;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 1001;
}

.sidebar.active {
    left: 0;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin: 20px 0;
    text-align: center;
}

.sidebar-links a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
}

.title-top {
    padding-left: 5px; 
    text-align: left;
    white-space: normal;
}

@media (max-width: 768px) {
    .image-content {
        display: none;
    }

    .text-services {
        display: none;
    }

    .nav-center, .botao-direita {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .home-content {
        text-align: center;
        margin: 0 auto;
    }

    .home-content h1 {
        font-size: 2rem;
        margin: 0 10%;
        margin-bottom: 1.5rem;
    }

    .home-content p {
        font-size: 1rem;
        margin: 0 10%;
        margin-bottom: 2rem;
    }

    .cards {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .card {
        max-width: 90%;
    }

    .card img {
        max-height: 50vh;
    }

    .contact-section {
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
    }

    .contact-info {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
        text-align: center;
        margin-left: 0;
        white-space: normal;
    }

    .contact-form {
        width: 100%;
    }

    .form-row {
        flex-direction: row;
        gap: 20px;
    }

    button {
        width: 80%;
        padding: 15px;
        font-size: 1rem;
        display: block;
        margin: 20px auto;
    }    

    .rights {
        font-size: 0.8rem;
        text-align: center;
    }
    .feedback-section::before {
        display: none;
    }

    .section-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .planos-section .section-title {
        font-size: 2.5rem;
    }

    .contact-info h2 {
        font-size: 2.5rem;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
    }

    .planos-section .section-title {
        font-size: 2rem;
    }
}

.planos-section {
    background: #000;
    padding: 60px 0 40px 0;
    text-align: center;
}

.planos-section .section-title {
    font-family: 'Semakin', sans-serif;
    font-size: 5rem;
    color: #b71c1c;
    margin-bottom: 40px;
    font-style: italic;
    letter-spacing: 2px;
}

.planos-cards {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.plano-card {
    background-color: #a32020;
    border-radius: 16px;
    padding: 32px 32px 24px 32px;
    min-width: 300px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    position: relative; /* Para posicionar o botão fora do card */
}


.plano-nome {
    font-family: 'Semakin', 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    font-style: italic;
    letter-spacing: 1px;
}

.plano-card p {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    margin: 10px 0 24px 0;
}

/* Ajuste do tamanho do botão */
.plano-btn {
    background-color: #27ff00; 
    color: black; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 12px 28px; /* Tamanho ajustado para um botão mais proporcional */
    font-size: 1rem; /* Tamanho da fonte ajustado */
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    position: relative;
    bottom: 20px;
    min-width: 250px; /* Tamanho mínimo ajustado */
    text-align: center; /* Centraliza o texto */
}

/* Modifica a posição do botão para que ele fique fora do card */
.plano-card .plano-btn {
    position: absolute;
    bottom: -30px; /* Coloca o botão abaixo do card */
    left: 50%;
    transform: translateX(-50%);
}

.plano-btn:hover {
    background: #1ad100;
    color: #111;
}


.cta-button svg {
    width: 20px;
    height: 20px; 
    margin-left: 5px;
    transition: all 0.3s ease;
}


.cta-button:hover svg {
    stroke: currentColor; 
}


.footer {
    background: #000;
    color: #fff;
    padding: 40px 0 20px 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo img {
    width: 300px;
    margin-bottom: 10px;
}
.footer-logo span {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 5px;
}

.footer-info, .footer-links, .footer-contact {
    flex: 1 1 200px;
    min-width: 200px;
}

.footer-info h3,
.footer-links h3,
.footer-contact h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #fff;
}

.footer-links .footer-social a {
    color: #fff;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.2s;
}
.footer-links .footer-social a:hover {
    color: #e63946;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 0.95em;
    color: #aaa;
}
.footer-bottom a {
    color: #aaa;
    margin: 0 8px;
    text-decoration: none;
}
.footer-bottom a:hover {
    color: #fff;
}
.footer-bottom span {
    display: block;
    margin-top: 8px;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-track .card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 10px;
    box-sizing: border-box;
}

.carousel-track .card img {
    width: 100%;
    border-radius: 6px;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}



/* Responsividade do Footer para dispositivos móveis */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-logo {
        flex: 1;
        text-align: center;
    }

    .footer-logo img {
        width: 200px;
        margin-bottom: 15px;
    }

    .footer-info, .footer-links, .footer-contact {
        flex: 1;
        text-align: center;
    }

    .footer-info h3,
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-social a {
        font-size: 1.3rem;
        margin-right: 10px;
    }

    .footer-bottom {
        font-size: 0.85rem;
        text-align: center;
        padding-top: 10px;
    }

    .footer-bottom a {
        font-size: 0.85rem;
    }

    .footer-logo span {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 10px;
    }

    .footer-logo img {
        width: 180px;
    }

    .footer-info, .footer-links, .footer-contact {
        font-size: 0.9rem;
    }

    .footer-social a {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    @media (max-width: 1024px) {
        .carousel-track .card {
            flex: 0 0 calc(50% - 20px); 
        }
    }

    @media (max-width: 768px) {
        .carousel-track .card {
            flex: 0 0 calc(100% - 20px); 
        }
    }

    @media (max-width: 768px) {
        .prev-btn,
        .next-btn {
            padding: 8px;
            font-size: 16px;
        }
    }

    /* --- RESPONSIVIDADE CARROSSEL E CARDS DE SERVIÇOS --- */
    @media (max-width: 1024px) {
      .carousel-track .card {
        flex: 0 0 calc(50% - 20px);
        max-width: 90vw;
      }
    }

    @media (max-width: 768px) {
      .carousel-container {
        max-width: 100vw;
        padding: 0 5px;
      }
      .carousel-track {
        gap: 0;
      }
      .carousel-track .card {
        flex: 0 0 100%;
        max-width: 90vw;
        margin: 0 3vw 0 7vw;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .card img {
        height: 280px;
        max-width: 100%;
        object-fit: cover;
        display: block;
        margin: 0 auto;
        width: 100%;
      }
      .services-section {
        padding: 2rem 0.5rem;
      }
      .section-title {
        font-size: 2.2rem;
      }
      .prev-btn, .next-btn {
        display: none;
      }
    }

    @media (max-width: 480px) {
      .carousel-track .card {
        flex: 0 0 100%;
        max-width: 85vw;
        margin: 0 2vw 0 4vw;
        display: flex;
        flex-direction: column;
        align-items: center;
      }
      .card img {
        height: 600px;
        display: block;
        margin: 0 auto;
        width: 100%;
        object-fit: cover;
      }
      .prev-btn, .next-btn {
        display: none;
      }
    }


}