/*
Theme Name: Vizyons
Theme URI: http://exemplo.local
Author: Vizyons Tecnologia
Author URI: http://vizyonstecnologia.com.br
Description: Tema customizado para desenvolvimento em ambiente Docker.
Version: 1.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vizyons
*/

/* =============================================
   1. IMPORTS, VARIÁVEIS E RESET GLOBAL
============================================= */

/* Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:wght@100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Variables */
:root {
    --blue: #000098;
    --red: #CB0000;
    --black: #040404;
    --gray: #474747;
    --white: #FFFFFF;
    --font: 'Inter', sans-serif;

    --carousel-dark-bg: #222;
    --carousel-text-color: #ffffff;
    --carousel-border-color: rgba(255, 255, 255, 0.7);
    --carousel-dot-inactive-color: rgba(255, 255, 255, 0.5);
    --carousel-dot-active-color: #ffffff;
    --carousel-border-radius: 15px;
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}


/* =============================================
   2. ESTILOS GLOBAIS E CLASSES UTILITÁRIAS
============================================= */

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    color: var(--red);
    font-weight: 400;
    margin-bottom: 20px;
}

.section-title {
    color: var(--black);
    font-weight: 600;
    font-size: 48px;
    margin-bottom: 40px;
}

.section-text {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* =============================================
   3. LAYOUT PRINCIPAL (HEADER & FOOTER)
============================================= */

/* --- Header --- */
.site-header {
    width: 100%;
    background-color: #ffffff;
    padding: 0 20px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 4vh 12vh 2vh 12vh;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    width: auto;
    height: 101px;
}

.menu-container {
    display: flex;
    align-items: center;
}

.menu-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: row;
    gap: 12px;
}

.nav-link {
    font-size: 16px !important;
    color: var(--black) !important;
    font-weight: 400;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--red) !important;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.menu-buttons a {
    padding: 12px 45px;
    height: 35px;
    width: 100%;
    border-radius: 25px;
    text-decoration: none;
    text-align: center;
    font-weight: 800;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-blue {
    background-color: var(--blue);
    color: var(--white);
}

.button-blue:hover {
    background-color: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
}

.button-red {
    background-color: var(--red);
    color: var(--white);
}

.button-red:hover {
    background-color: var(--white);
    color: var(--red);
    border: 1px solid var(--red);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--red);
    color: var(--white);
    padding: 4rem 0 1rem 0;
    font-size: 0.9rem;
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-footer a:hover {
    opacity: 0.8;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column .footer-logo img {
    max-width: 220px;
    height: auto;
    margin-bottom: 1.5rem;
}

.about-column address {
    font-style: normal;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-links a {
    font-size: 1.5rem;
}

.app-column p {
    margin-bottom: 1rem;
}

.app-buttons {
    display: flex;
    gap: 0.5rem;
}

.app-buttons img {
    height: 40px;
    width: auto;
}

.links-column .footer-widget-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-certifications {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-certifications img {
    height: 50px;
    max-width: 100px;
    width: auto;
}


/* =============================================
   4. SEÇÕES DA PÁGINA (HERO, ABOUT, ETC.)
============================================= */
.hero-section {
    /* Mantém o posicionamento relativo para qualquer eventualidade */
    position: relative;
    padding: 30px 0;
    /* Adiciona um espaçamento para a seção respirar */
}

/* O container do carrossel agora é o elemento principal */
.hero-carousel.swiper {
    position: relative;
    /* Essencial para posicionar a legenda e o botão */
    border-radius: 15px 15px 0 0;
    /* A borda arredondada vem para o container */
    overflow: hidden;
    /* Garante que a imagem respeite a borda arredondada */
    height: 768px;
    /* Define uma altura fixa */
    max-height: 768px
}

.swiper-slide {
    position: relative;
    /* Garante que a imagem não saia do slide */
    line-height: 0;
    /* Remove qualquer espaço extra abaixo da imagem */
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* A legenda e o botão mantêm seus estilos, agora relativos ao .hero-carousel */
.hero-caption {
    position: absolute;
    top: 45%;
    left: 10%;
    max-width: 300px;
    z-index: 2;
    /* Garante que fique acima da imagem */
}

.hero-caption span {
    color: var(--white);
    font-size: 36px;
    line-height: 1.7;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    background-color: var(--blue);
    padding: 5px 15px;
}

.hero-button {
    position: absolute;
    padding: 15px 40px;
    top: 70%;
    left: 10%;
    background: var(--red);
    color: var(--white);
    border-radius: 15px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.3s ease;
    z-index: 2;
    /* Garante que fique acima da imagem */
}

/* --- Estilização opcional para os controles do Swiper --- */
.hero-carousel .swiper-button-prev,
.hero-carousel .swiper-button-next {
    color: var(--white);
    /* Deixa as setas brancas */
}

.hero-carousel .swiper-pagination-bullet-active {
    background-color: var(--white);
    /* Deixa a bolinha ativa branca */
}

/* --- About Section --- */
.about-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 40px 100px;
    height: 611px;
    gap: 50px;
}

.about-text {
    width: 50%;
}

.about-description {
    margin-top: 30px;
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
}


.about-image {
    max-width: 508px;
    height: 100%;
}

.about-image img {
    width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 60px;
    justify-items: center;
}

.feature-item {
    padding: 20px;
    text-align: center;
    max-width: 300px;
}

.feature-item h3 {
    font-weight: 500;
    font-size: 14px;
}

.feature-item p {
    font-weight: 400;
    font-size: 12px;
    color: #808080;
    margin-top: 15px;
}

.feature-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 10px;
}

/* --- Services Section --- */
.services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.services-section .section-title {
    max-width: 700px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* --- App Section --- */
.app-section {
    height: 654px;
    width: 100%;
    padding: 60px 0;
}

.app-section .section-label {
    text-align: center;
}

.app-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 0 100px;
}

.app-text {
    flex: 1;
    z-index: 5;
    position: relative;
}

.app-text .section-label {
    text-align: left;
}

.app-text .section-title {
    max-width: 400px;
    margin-bottom: 20px;
    margin-left: 0;
}

.app-description .section-text {
    line-height: 1.8;
}

.app-image {
    flex: 1;
    position: relative;
}

.app-image img {
    width: 700px;
    max-width: none;
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    object-fit: contain;
    border-radius: 15px 15px 0 0;
}

#aplicativo .app-buttons a {
    text-decoration: none;
    color: var(--red);
    font-weight: 400;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#aplicativo .app-buttons img {
    height: 10px;
    width: auto;
    margin-right: 10px;

}

#aplicativo .app-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 198px;
    height: 35px;
    margin-top: 20px;

}

.app-section .app-buttons .app-button {
    background: none;
    /* Remove o fundo padrão do botão */
    border: none;
    /* Remove a borda padrão do botão */
    padding: 0;
    /* Remove o padding padrão do botão */
    margin: 0;
    /* Remove a margem padrão do botão */

    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--red);
    font-weight: 500;
    font-size: 14px;
    border: 1px solid var(--red);
    border-radius: 25px;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}


/*  --- Technology Section --- */
#tecnologia .section-label {
    text-align: center;
}

.tech-features {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 120px;
    margin-top: 30px;
}

.tech-features .feature-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-features .feature-description {
    margin-top: 10px;
}

/* --- Customers Section --- */
.customers-section {
    margin: 50px 0;
}

#clientes .section-label,
#clientes .section-title {
    text-align: center;
}

#clientes .section-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.customers-section .container {
    position: relative;
}

/* --- Contact Section --- */
.contact-section {
    padding: 60px 0;
    margin: 50px 0;
}

#contato .section-label,
#contato .section-title {
    text-align: center;
}

#contato .section-title {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 4rem 4rem 4rem;
}

.location-item {
    text-align: center;
}

.location-map img {
    max-width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.location-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.location-item p,
.location-item address {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
    font-style: normal;
}

.location-item p a {
    text-decoration: none;
    color: inherit;
}

.contact-form {
    margin: 0 4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: var(--gray);
}

.submit-button {
    display: block;
    padding: 0.8rem 3rem;
    border: none;
    background-color: var(--red);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


/* =============================================
   5. COMPONENTES REUTILIZÁVEIS (TEMPLATE PARTS & CAROUSELS)
============================================= */

/* --- CTA Banner --- */
.cta-banner-section {
    padding: 60px 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-banner-content {
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 20px;
}

.cta-banner-content h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 900px;
    text-align: center;
    color: var(--white);
}

.cta-banner-content p {
    font-size: 12px;
    font-weight: 400;
    color: var(--white);
    max-width: 850px;
    margin: 0 auto;
}

/* --- Content Carousel (Imagem Grande) --- */
.content-carousel-section {
    position: relative;
    border-radius: var(--carousel-border-radius);
    overflow: hidden;
    /* background-color: var(--carousel-dark-bg); */
}

.content-carousel {
    width: 100%;
    height: 483px;
    border-radius: 25px 25px 0 0;
}

.content-carousel .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: -12%;
}

.content-carousel-section .carousel-pagination {
    position: absolute;
    top: 1rem;
    left: 40%;
    z-index: 10;
}

.content-carousel-section .swiper-pagination-bullet {
    background-color: var(--carousel-dot-inactive-color);
    opacity: 0.8;
    transition: all 0.3s ease;
    height: 13px;
    width: 13px;
}

.content-carousel-section .swiper-pagination-bullet-active {
    background-color: var(--carousel-dot-active-color);
    transform: scale(1.2);
    opacity: 1;
}

.carousel-controls-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    background-color: var(--carousel-dark-bg);
    padding: 2rem;
    width: 100%;
    height: 180px;
    box-sizing: border-box;
    min-height: 120px;
}

.carousel-navigation {
    display: flex;
    gap: 0.75rem;
}

.carousel-button-prev,
.carousel-button-next {
    background: transparent;
    border: 1px solid var(--carousel-border-color);
    padding: 0;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--carousel-text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.carousel-text-wrapper {
    /* flex: 1; Removido por causa do espaçamento não deixando centralizado */
    color: var(--carousel-text-color);
}

.carousel-text-wrapper p {
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    text-align: left;
}

/* --- Customers Carousel (Logos) --- */
.customers-carousel.swiper {
    position: relative;
    /* width: 100%; */
    box-sizing: border-box;
    overflow: visible;
    margin: 0 4rem 0 4rem;
}

/* Container adicional para posicionamento relativo */
.customers-carousel-container {
    position: relative;
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
}

/* Ajuste os logos para ficarem com tamanho uniforme */
.customer-logo img {
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.customer-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Adicione um efeito sutil de hover nos botões */
.customer-carousel-button-prev:hover,
.customer-carousel-button-next:hover {
    background-color: #f8f8f8;
    transform: translateY(-50%) scale(1.1);
}

/* Destaque para o slide ativo e adjacentes */
.customers-carousel .swiper-slide-active img,
.customers-carousel .swiper-slide-next img,
.customers-carousel .swiper-slide-prev img {
    opacity: 1;
}

/* Remova a paginação automática se existir */
.customers-carousel .swiper-pagination {
    display: none;
}

.customers-carousel .swiper-wrapper {
    align-items: center;
}

.customers-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.customers-carousel .swiper-slide-active,
.customers-carousel .swiper-slide-next,
.customers-carousel .swiper-slide-prev {
    opacity: 1;
}

.customer-logo {
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.customer-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
}



.carousel-navigation-customers {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    /* Permite que os cliques passem através do container */
}

.customer-carousel-button-prev,
.customer-carousel-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #555;
    z-index: 50;
    pointer-events: auto;
    /* Restaura a interatividade dos botões */
}

.customer-carousel-button-prev {
    left: -20px;
}

.customer-carousel-button-next {
    right: -20px;
}

.customer-carousel-button-prev:hover,
.customer-carousel-button-next:hover {
    background-color: #f0f0f0;
    border-color: #aaa;
    color: #333;
}

/* =============================================
   --- PÁGINA: TRABALHE CONOSCO ---
============================================= */

.trabalhe-conosco-section {
    padding: 80px 0;
}

.trabalhe-conosco-section .container {
    max-width: 800px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Estilos do Formulário --- */
.trabalhe-conosco-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trabalhe-conosco-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

/*
 * ALTERAÇÃO 1: Adicionamos .form-group select a esta regra principal.
 * Agora, os selects terão a mesma borda, padding e fundo dos outros campos.
*/
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1rem;
    font-family: var(--font);
    /* Garante a mesma fonte */
    color: var(--gray);
}

/* Estilo para alinhar Cidade e Estado lado a lado */
.form-row {
    display: grid;
    /* ALTERAÇÃO 2: Ajuste no grid para melhor alinhamento */
    grid-template-columns: 1fr auto;
    /* Cidade ocupa o espaço disponível, Estado se ajusta ao conteúdo */
    gap: 1.5rem;
    align-items: end;
    /* Alinha os campos pela base */
}

/* Estilizando os <select> para parecerem com os <input> */
.trabalhe-conosco-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236c757d%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65em auto;
    padding-right: 2.5rem;
    /* Adiciona espaço para a seta não sobrepor o texto */
}

/* Estilizando o input de arquivo */
.input-file {
    /* ALTERAÇÃO 3: Deixa o texto padrão ("Nenhum arquivo...") com cor de placeholder */
    color: #999;
    padding-top: 12px;
    padding-bottom: 12px;
}

.input-file::-webkit-file-upload-button {
    visibility: hidden;
}

.input-file::before {
    content: 'Procurar...';
    display: inline-block;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9em;
    margin-right: 10px;
    color: #555;
}

.input-file:hover::before {
    border-color: #aaa;
}

/* Posicionamento do reCAPTCHA e do botão */
.recaptcha-group {
    display: flex;
    justify-content: center;
}

.trabalhe-conosco-form .submit-button {
    margin: 1rem auto 0 auto;
    width: auto;
    background-color: var(--blue);
    border-radius: 8px;
}

.trabalhe-conosco-form .submit-button:hover {
    background-color: var(--white);
    color: var(--blue);
    border: 1px solid var(--blue);
}

/* =============================================
   6. MEDIA QUERIES (RESPONSIVIDADE)
============================================= */

/* --- Telas de Tablet (até 992px) --- */
@media (max-width: 992px) {

    .section-title,
    .cta-banner-content h2 {
        font-size: 38px;
    }

    .header-container {
        padding: 2vh 4vh;
    }

    .about-wrapper,
    .app-wrapper {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        text-align: center;
    }

    .about-text,
    .app-text {
        width: 100%;
    }

    .about-image img {
        width: 100%;
    }

    .app-text .section-label,
    .app-text .section-title {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form {
        margin-left: 0;
        margin-right: 0;
    }

    .mobile-menu-button {
        display: flex;
        /* Mostra o botão mobile */
    }

    .menu-container {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        background-color: var(--green);
        transform: translateY(-100%);
        transition: transform 0.3s ease-out;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }

    .menu-container.menu-open {
        transform: translateY(0);
    }

    .menu-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 0 20px;
    }

    .nav-link {
        color: #ffffff !important;
        font-size: 18px !important;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }


}


/* --- Telas de Celular (até 768px) --- */
@media (max-width: 768px) {

    .swiper-slide img {
        object-fit: fill;
    }

    .section-title,
    .cta-banner-content h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    .container {
        padding: 0 15px;
        width: 100%;
    }

    /* Header */
    .header-container {
        padding: 1rem;
    }

    .site-logo {
        height: 60px;
    }

    .menu-container {
        display: none;
        /* Esconde o menu desktop. Adicione JS para um menu hamburguer */
    }

    .menu-buttons {
        gap: 8px;
    }

    .menu-buttons a {
        height: 25px;
        font-size: 10px;
        font-weight: 700;
        padding: 12px;
    }

    /* Hero */
    .hero-caption {
        left: 10%;
        top: 65%;
        font-size: 24px;
        max-width: 80%;
    }

    .hero-caption span {
        font-size: 24px;
    }

    .hero-button {
        left: 10%;
        top: 85%;
    }

    .hero-image img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
    }

    /* About & App */
    .about-wrapper,
    .app-wrapper {
        padding: 40px 0;
    }

    .app-wrapper {
        gap: 20px;
    }

    #aplicativo .app-buttons {
        margin-left: auto;
        margin-right: auto;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Carrossel de Conteúdo */
    .carousel-controls-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .content-carousel {
        height: auto;
    }

    .content-carousel .swiper-slide img {
        margin-bottom: -20px;
    }

    /* Serviços */
    .services-section {
        padding: 20px 0;
    }

    .carousel-text-wrapper p {
        font-size: 12px;
    }

    .carousel-button-prev,
    .carousel-button-next {
        width: 30px;
        height: 30px;
    }

    .carousel-controls-panel {
        height: 280px;
        justify-content: flex-start;
    }

    /*  Tecnologia */
    .tech-features {
        flex-direction: column;
        gap: 30px;
    }

    /* APP */
    .app-section {
        padding: 40px 0;
        margin-bottom: 160px;
    }

    .app-image img {
        position: static;
        /* Volta ao posicionamento normal */
        transform: none;
        /* Remove a transformação */
        width: 100%;
        /* Volta a ocupar 100% da largura */
        max-width: 100%;
        /* Garante que não ultrapasse o container */
    }



    /* Carrossel de Clientes */
    .customer-carousel-button-prev,
    .customer-carousel-button-next {
        display: none;
        /* Em telas de toque, o swipe é a principal interação */
    }

    /* Contato */
    .locations-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .site-footer {
        text-align: center;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .social-links,
    .app-buttons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* =============================================
   --- COMPONENTE: MODAL DE DOWNLOAD ---
============================================= */

/* O fundo escuro que cobre a tela inteira */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fundo preto com 70% de opacidade */
    z-index: 1000;
    /* Garante que fique acima de tudo */

    /* Centraliza o conteúdo do modal */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Lógica para esconder/mostrar com animação */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Classe que será adicionada via JS para mostrar o modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* A caixa branca do modal */
.modal-content {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    /* Para posicionar o botão de fechar */
    transform: scale(0.95);
    /* Efeito sutil de zoom na entrada */
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Botão de fechar (o "X") */
.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--black);
}

/* Botões das lojas de app */
.modal-app-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.modal-app-buttons a img {
    height: 55px;
    width: auto;
    transition: transform 0.2s ease;
}

.modal-app-buttons a:hover img {
    transform: scale(1.05);
}

/* =============================================
   --- PÁGINA: POLÍTICA DE PRIVACIDADE ---
============================================= */

.privacy-policy-section {
    padding: 80px 0;
    /* Espaçamento no topo e na base */
}

/* Título principal da página */
.entry-header .entry-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    /* Um pouco menor que o .section-title para diferenciar */
}

/* O container do conteúdo principal */
.entry-content {
    max-width: 1000px;
    /* Largura máxima para o texto, ideal para leitura */
    margin: 0 auto;
    /* Centraliza a coluna de texto */
    color: var(--gray);
}

/* Estilos para os elementos de texto que virão do editor do WordPress */
.entry-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.entry-content a {
    color: var(--red);
    text-decoration: underline;
    font-weight: 500;
}

.entry-content a:hover {
    text-decoration: none;
}

.entry-content ul,
.entry-content ol {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    right: 80px;
    bottom: 80px;
    z-index: 10;
    transition: all ease 0.5s;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 50px;
    border: 2px solid #39c641;
    padding: 7px 17px 7px 10px;
}

.whatsapp img {
    object-fit: contain;
    width: 40px;
    height: 40px;
}

.whatsapp p {
    color: #000;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    font-weight: 400;
    margin: 0 0 0 15px;
}

.whatsapp p span {
    color: #39c641;
}

@media (max-width: 768px) {
    .whatsapp {
        bottom: 100px;
        right: 20px;
    }

    .whatsapp p {
        display: none;
    }
}

/* =============================================
   --- PÁGINA: HORÁRIOS (Versão Final Híbrida) ---
============================================= */

.horarios-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    /* Fundo sutil para a página inteira */
}

.horarios-section .entry-header .entry-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* Resgatando o estilo "card" da v1, mas mais compacto */
.horarios-bloco {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    /* Padding um pouco menor que a v1 */
    margin-bottom: 2.5rem;
    /* Margem um pouco menor que a v1 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Sombra suave da v1 */
}

/* Resgatando o título com destaque da v1 */
.horarios-titulo {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--black);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--red);
}

/* Mantendo espaçamentos compactos da v2 */
.horarios-dia {
    margin-bottom: 2rem;
}

.horarios-bloco .horarios-dia:last-of-type {
    margin-bottom: 0;
}

.horarios-dia-titulo {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--gray);
    margin-bottom: 1rem;
}

/* --- Tabela de Horários Compacta --- */
.horarios-tabela {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.horarios-tabela th,
.horarios-tabela td {
    padding: 0.8rem 1rem;
    /* Mantendo a tabela compacta */
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: top;
    /* Alinha o conteúdo ao topo da célula */
}

.horarios-tabela th {
    font-weight: 600;
    color: var(--black);
    width: 25%;
    /* Define uma largura para a primeira coluna */
}

.horarios-tabela tbody tr:nth-of-type(even) {
    background-color: #fdfdfd;
}

/*
 * NOVO: Estilo "tabelinha" para os horários (li)
 * Isso transforma a lista de horários em blocos lado a lado.
*/
.horarios-tabela td ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* A mágica do alinhamento horizontal */
    flex-wrap: wrap;
    /* Permite que os itens quebrem para a próxima linha */
    gap: 8px;
    /* Espaçamento entre os horários */
}

.horarios-tabela td li {
    background-color: #e9ecef;
    color: #495057;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    white-space: nowrap;
    /* Evita que o horário quebre a linha (ex: "10:", "30") */
    margin-bottom: 0;
    /* Sobrescreve a regra global de <li> */
}

/* Legenda ao final de um bloco */
.horarios-legenda {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    font-style: italic;
}

/* --- Estilo para o Botão de Compra de Passagem --- */
.horarios-bloco-cta {
    margin-top: 2rem;
    text-align: center;
    /* Centraliza o botão */
}

.horarios-comprar-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 50px;
    /* Formato de pílula */
    transition: all 0.3s ease;

    /* Estilo 'ghost button' que você pediu */
    background-color: transparent;
    border: 2px solid var(--red);
    color: var(--red);
}

.horarios-comprar-btn:hover {
    /* Efeito de inversão no hover */
    background-color: var(--red);
    color: var(--white);
    transform: translateY(-2px);
    /* Efeito sutil de "levantar" */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* --- Responsividade para a Página de Horários --- */
@media (max-width: 768px) {
    .horarios-bloco {
        padding: 0;
        border: none;
        box-shadow: none;
        background: none;
    }

    .accordion-item {
        border-bottom: 1px solid #e0e0e0;
    }

    .accordion-header {
        padding: 1rem 0.5rem;
        cursor: pointer;
        position: relative;
        font-size: 1.1rem;
        /* Tamanho ajustado para mobile */
        margin-bottom: 0;
    }

    /* Ícone de "+" e "-" para indicar o estado */
    .accordion-header::after {
        content: '+';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        font-weight: 300;
        color: var(--red);
    }

    .accordion-header.active::after {
        content: '−';
        /* Símbolo de menos */
    }

    /* O corpo do acordeão que esconde/mostra a tabela */
    .accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
        padding: 0 0.5rem;
    }

    /* A tabela dentro do acordeão */
    .accordion-body .horarios-tabela {
        margin-bottom: 1rem;
    }

    .accordion-body .horarios-tabela th,
    .accordion-body .horarios-tabela td {
        padding: 0.6rem 0.5rem;
        /* Tabela mais compacta */
        font-size: 0.9rem;
    }
}

/* =============================================
   --- MENU MOBILE ---
============================================= */

/* O Ícone Hamburguer e sua Animação para "X" */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.mobile-menu-button span {
    width: 100%;
    height: 3px;
    background-color: var(--black);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* ALTERAÇÃO 1: Cor do ícone "X" de fechar */
.mobile-menu-button.active span {
    background-color: var(--blue);
    /* Ícone de fechar fica azul */
}


/* O Container do Menu (Overlay) quando aberto no mobile */
@media (max-width: 992px) {
    .menu-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(5px);
        height: 100vh;
        width: 100%;
        text-align: center;
        padding: 2rem;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .menu-container.is-open {
        transform: translateX(0);
    }

    .menu-links {
        flex-direction: column;
        gap: 2rem;
    }

    .menu-links .nav-link {
        font-size: 1.5rem !important;
        font-weight: 600;
        /* ALTERAÇÃO 2: Cor do texto dos links */
        color: var(--blue) !important;
        /* Texto dos links fica azul */
    }

    .mobile-menu-button {
        display: flex;
    }
}

/* Trava de Rolagem do Corpo da Página */
body.no-scroll {
    overflow: hidden;
}

/* estilo das ensagens de erro e sucesso no envio dos forms */

.success-message,
.error-message {
    padding: 20px 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-color: #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-color: var(--red);
    box-shadow: 0 4px 15px rgba(203, 0, 0, 0.2);
}

.success-message p,
.error-message p {
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.success-message,
.error-message {
    animation: messageSlideIn 0.4s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .success-message,
    .error-message {
        margin: 20px 15px;
        padding: 18px 20px;
        font-size: 14px;
        border-radius: 12px;
    }
}

.contact-section .success-message,
.contact-section .error-message {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.trabalhe-conosco-section .success-message,
.trabalhe-conosco-section .error-message {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}