/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #efefef;
    --identity-color: #623382;
    --social-color: #4d8e16;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-green: #6CB52F;
    --accent-yellow: #CCBD1F;
    --accent-light-green: #F0FFE3;
    --accent-light-purple: #F4E3FF;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--identity-color), var(--social-color));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--identity-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--identity-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent-light-purple), var(--accent-light-green));
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--identity-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #4a2661;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--social-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #3d6b11;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.section-title.identity {
    color: var(--identity-color);
}

.section-title.social {
    color: var(--social-color);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--identity-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card.social {
    border-top-color: var(--social-color);
}

.card-icon {
    font-size: 3rem;
    color: var(--identity-color);
    margin-bottom: 1rem;
}

.card.social .card-icon {
    color: var(--social-color);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--identity-color);
    background: transparent;
    color: var(--identity-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--identity-color);
    color: var(--white);
}

.filter-btn.social {
    border-color: var(--social-color);
    color: var(--social-color);
}

.filter-btn.social:hover,
.filter-btn.social.active {
    background: var(--social-color);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    background: var(--accent-light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--identity-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--identity-color);
    width: 20px;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--identity-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--social-color);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--identity-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}



/* Carrossel de Depoimentos */
.testimonials-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5 slides */
}

.testimonial-slide {
    width: 20%; /* 100% / 5 slides */
    flex-shrink: 0;
    padding: 3rem 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--identity-color);
    position: absolute;
    top: -1rem;
    left: 0;
    font-family: serif;
}

.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: var(--identity-color);
    position: absolute;
    bottom: -2rem;
    right: 0;
    font-family: serif;
}

.testimonial-author h4 {
    color: var(--identity-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.testimonial-author span {
    color: var(--text-dark);
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.testimonial-author small {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Indicadores do carrossel */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--identity-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--identity-color);
    opacity: 0.7;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--identity-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.carousel-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

/* Responsividade do carrossel */
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 2rem 1rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .testimonial-content p::before,
    .testimonial-content p::after {
        font-size: 3rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 0.5rem;
    }
    
    .next-btn {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        margin: 0 1rem;
    }
    
    .testimonial-content p::before,
    .testimonial-content p::after {
        display: none;
    }
    
    .testimonial-content p {
        padding: 0;
    }
}



/* Página de Orçamento */
.orcamento-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.orcamento-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.consultation-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(70%);
    transition: transform 0.3s ease;
}

.orcamento-image:hover .image-overlay {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.benefits-list i {
    color: var(--social-color);
    margin-right: 0.5rem;
}

.orcamento-form-container {
    display: flex;
    flex-direction: column;
}

.form-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-hover);
    border-top: 4px solid var(--identity-color);
}

.form-card h2 {
    color: var(--identity-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.orcamento-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-row:has(.form-group:nth-child(2)) {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--identity-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(98, 51, 130, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 1rem;
    text-align: center;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-large i {
    margin-right: 0.5rem;
}

/* Mensagens de Sucesso e Erro */
.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.success-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: #155724;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.success-content p {
    color: #155724;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #721c24;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #dc3545;
}

/* Responsividade */
@media (max-width: 768px) {
    .orcamento-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-row:has(.form-group:nth-child(2)) {
        grid-template-columns: 1fr;
    }
    
    .image-overlay {
        transform: translateY(0);
        position: relative;
        background: rgba(0, 0, 0, 0.8);
        margin-top: -4px;
    }
    
    .consultation-image {
        border-radius: 15px 15px 0 0;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 1rem;
    }
    
    .form-card h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Animações */
.form-card {
    animation: slideInRight 0.6s ease-out;
}

.orcamento-image {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estados de hover para melhor UX */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c8d0d8;
}

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

/* Indicador visual para campos obrigatórios */
.form-group label::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.form-group:has(textarea) label::after {
    display: none;
}

