/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fff;
    overflow-x: hidden;
}

/* ===== UTILITÁRIOS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid {
    display: grid;
    gap: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 16px) clamp(24px, 4vw, 32px);
    border: none;
    border-radius: 8px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #FF7A00;
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e66d00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #FF7A00;
    border: 2px solid #FF7A00;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #FF7A00;
    color: white;
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    min-height: 70px;
}

.logo-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #FF7A00;
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link:focus {
    color: #FF7A00;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF7A00;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #222;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #222;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    max-width: 100%;
    height: auto;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: #fff;
}

.sobre-content {
    max-width: 800px;
    margin: 0 auto;
}

.sobre-text p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.diferencial {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.diferencial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diferencial h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
}

.diferencial p {
    color: #666;
    font-size: 1rem;
}

/* ===== SOLUÇÕES SECTION ===== */
.solucoes {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.solucao-card {
    background: #fff;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solucao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.solucao-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.solucao-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.solucao-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== INTEGRAÇÕES SECTION ===== */
.integracoes {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: #fff;
}

.integracoes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.integracoes-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.integracoes-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.beneficios {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.beneficio h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
}

.beneficio p {
    color: #666;
    font-size: 1rem;
}

.integracoes-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.integracoes-placeholder {
    max-width: 100%;
    height: auto;
}

/* ===== CASES SECTION ===== */
.cases {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: #fff;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-result {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #FF7A00;
    margin-bottom: 1rem;
}

.case-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
}

.case-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== DEPOIMENTOS SECTION ===== */
.depoimentos {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: #fff;
}

.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.depoimentos-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.depoimento {
    display: none;
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.depoimento.active {
    display: block;
}

.depoimento-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.depoimento-author strong {
    display: block;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 0.5rem;
}

.depoimento-author span {
    color: #666;
    font-size: 0.9rem;
}

.depoimentos-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.depoimento-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.depoimento-nav-btn.active,
.depoimento-nav-btn:hover {
    background-color: #FF7A00;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #222;
    transition: background-color 0.3s ease;
}

.faq-question:hover,
.faq-question:focus {
    background-color: #fff5f0;
}

.faq-icon {
    font-size: 1.5rem;
    color: #FF7A00;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* ===== CONTATO SECTION ===== */
.contato {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background-color: #fff;
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.contato-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #222;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF7A00;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.error-message.show {
    display: block;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contato-icon {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.contato-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
}

.contato-item a {
    color: #FF7A00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contato-item a:hover,
.contato-item a:focus {
    color: #e66d00;
}

.contato-item p {
    color: #666;
    line-height: 1.6;
}

.contato-map {
    margin-top: 1rem;
}

.map-placeholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #222;
    color: #fff;
    padding: clamp(3rem, 6vw, 4rem) 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo-text {
    color: #FF7A00;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: #ccc;
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a:focus {
    color: #FF7A00;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover,
.social-links a:focus {
    color: #FF7A00;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #ccc;
}

.privacy-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover,
.privacy-link:focus {
    color: #FF7A00;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .hero-content,
    .integracoes-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .integracoes-text .section-title {
        text-align: center;
    }
    
    .contato-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 122, 0, 0.1);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .diferenciais {
        grid-template-columns: 1fr;
    }
    
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para melhor acessibilidade */
.btn:focus-visible,
.nav-link:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid #FF7A00;
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background-color: #000;
        color: #fff;
    }
    
    .btn-secondary {
        border-color: #000;
        color: #000;
    }
}
