/* Variáveis de cores */
:root {
    --primary-color: #3b6581;
    --secondary-color: #3e3e3f;
    --accent-color: #d6dab7;
    --white: #ffffff;
}

/* Reset e estilos globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-contato {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.btn-contato:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
    margin-top: 2rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

/* Sobre Section */
.sobre {
    padding: 100px 0;
    background-color: var(--white);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.sobre-imagem img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sobre-texto h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.sobre-texto .crefito {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Formações Lista */
.formacoes-lista {
    list-style: none;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.formacoes-lista li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.formacoes-lista li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.sobre-texto .destaque {
    background-color: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    font-weight: 500;
}

/* Processo Section */
.processo {
    padding: 100px 0;
    background-color: var(--white);
}

.processo h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.processo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.processo-card {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.processo-numero {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.processo-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.processo-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.processo-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.processo-card ul li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .processo-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 1rem;
        padding: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .processo-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .processo-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        margin-right: 0;
    }

    /* Adiciona indicadores de navegação */
    .processo-nav {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .processo-nav .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(59, 101, 129, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .processo-nav .dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
}

/* Serviços Section */
.servicos {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.servicos h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.servicos-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.servico-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.servico-card:hover {
    transform: translateY(-10px);
}

.servico-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .servicos-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 1rem;
        gap: 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .servicos-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .servico-card {
        flex: 0 0 85%;
        max-width: none;
        scroll-snap-align: center;
        margin-right: 0;
    }

    /* Adiciona indicadores de navegação */
    .servicos-nav {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .servicos-nav .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(59, 101, 129, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .servicos-nav .dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
}

/* Locais Section */
.locais {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.locais h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.locais-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
}

.local-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.local-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.local-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.local-card p {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contato-local {
    margin: 1.5rem 0;
}

.contato-local p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.btn-mapa {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.btn-mapa:hover {
    transform: translateY(-3px);
    background-color: var(--secondary-color);
}

.mapa-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--white);
}

.mapa-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .locais-grid {
        grid-template-columns: 1fr;
    }

    .mapa-container {
        margin-top: 2rem;
    }
}

/* Depoimentos Section */
.depoimentos {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c4c66 100%);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.depoimentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>') repeat;
    opacity: 0.1;
}

.depoimentos h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    position: relative;
}

.depoimentos-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 2rem;
}

.depoimentos-wrapper {
    position: relative;
    height: 500px;
    overflow: hidden;
    touch-action: pan-y; /* Permite rolagem vertical mas captura gestos horizontais */
    -webkit-user-select: none; /* Impede seleção de texto durante o swipe */
    user-select: none;
}

.depoimento-card {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
}

.depoimento-card.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.depoimento-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--secondary-color);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.aspas-icon {
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
}

.depoimento-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    font-style: italic;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 1.5rem;
}

.depoimento-content p::-webkit-scrollbar {
    width: 6px;
}

.depoimento-content p::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.depoimento-content p::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: auto;
}

.autor-info {
    text-align: right;
}

.autor-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.autor-status {
    color: #666;
    font-size: 0.9rem;
}

.depoimentos-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.prev-btn,
.next-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.depoimentos-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .depoimentos {
        padding: 60px 0;
    }

    .depoimentos h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .depoimentos-container {
        padding: 0 1rem;
    }
    
    .depoimentos-wrapper {
        height: 600px;
        cursor: grab; /* Indica que o elemento é "arrastável" */
    }
    
    .depoimentos-wrapper:active {
        cursor: grabbing; /* Muda o cursor quando está arrastando */
    }
    
    .depoimento-content {
        padding: 2rem;
    }
    
    .depoimento-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .aspas-icon {
        font-size: 6rem;
        top: -15px;
        left: 20px;
    }

    .depoimento-autor {
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .autor-info h4 {
        font-size: 1.1rem;
    }

    .autor-status {
        font-size: 0.8rem;
    }

    .depoimentos-controls {
        margin-top: 1.5rem;
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.faq-item h3 {
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3:after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item.active h3:after {
    content: '-';
}

.faq-item p {
    display: none;
    margin-top: 1rem;
    line-height: 1.6;
}

.faq-item.active p {
    display: block;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }
    
    .faq h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
}

/* Contato Section */
.contato {
    padding: 100px 0;
    background-color: var(--accent-color);
}

.contato h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contato-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 5px;
    background-color: var(--white);
}

.contato-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.menu-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .menu-close {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(62, 62, 63, 0.95);
        padding: 4rem 2rem;
        transition: 0.3s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.2rem;
    }

    .nav-links .btn-contato {
        background-color: var(--accent-color);
        color: var(--secondary-color) !important;
    }

    .sobre-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

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

    .hero h2 {
        font-size: 1.5rem;
    }
}
