/* Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #374151;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #111827;
    --accent: #f59e0b;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px -6px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Layout */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--secondary);
    box-shadow: none;
    transition: var(--transition);
}

.top-bar.scrolled {
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.top-bar .container {
    padding: 0 24px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.menu-item {
    padding: 10px 18px;
    color: rgba(255,255,255,0.72);
    font-weight: 600;
    font-size: 0.93rem;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.menu-item:hover,
.menu-item.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.menu-item.menu-item-cta {
    background: var(--primary);
    color: #fff;
    margin-left: 12px;
    border-radius: var(--radius-md);
}

.menu-item.menu-item-cta:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-color: var(--secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 0 90px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(17,24,39,0.94) 0%, rgba(37,99,235,0.55) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-body {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.hero-heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: 42px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-head {
    text-align: center;
    margin-bottom: 52px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* Company / Sobre */
.company-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.company-text h2 {
    margin-bottom: 22px;
}

.company-about {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.85;
}

.company-about strong {
    color: var(--text-primary);
}

.mission-area {
    background: var(--bg-white);
    padding: 26px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.mission-area h3 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.mission-area p {
    color: var(--text-secondary);
}

.mission-area strong {
    color: var(--text-primary);
}

.company-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-box {
    background: var(--bg-white);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.detail-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-data {
    font-weight: 700;
    color: var(--text-primary);
}

.company-image {
    position: relative;
}

.company-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Numbers / Stats */
.numbers-section {
    padding: 80px 0;
    background: linear-gradient(155deg, var(--secondary) 0%, #1e3a5f 100%);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.number-box {
    color: #fff;
}

.number-value {
    font-size: clamp(2.5rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.95rem;
    opacity: 0.88;
    font-weight: 600;
}

/* Solutions / Serviços */
.solutions-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 28px;
}

.service-box {
    background: var(--bg-white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid transparent;
    transition: var(--transition);
    text-align: left;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary);
}

.service-icon {
    width: 54px;
    height: 54px;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.service-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Pillars / Valores */
.pillars-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pillar-box {
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.pillar-box:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--primary);
}

.pillar-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.pillar-text {
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Reviews / Depoimentos */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.reviews-slider {
    max-width: 680px;
    margin: 0 auto;
}

.reviews-track {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.review-card {
    display: none;
    text-align: center;
    padding: 38px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.review-card.active {
    display: block;
    animation: slideUp 0.5s ease;
}

.review-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 22px;
    font-style: italic;
}

.review-text strong {
    color: var(--text-primary);
    font-style: normal;
}

.review-author {
    font-weight: 700;
    color: var(--primary);
}

.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-arrow:hover {
    background: var(--primary);
    color: #fff;
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.nav-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    transition: var(--transition);
}

.nav-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 6px;
}

/* Help / FAQ */
.help-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    background: #eff6ff;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: left;
    background: transparent;
    transition: var(--transition);
}

.faq-trigger:hover {
    color: var(--primary);
}

.faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 56px;
}

.contact-info h3 {
    font-size: 1.45rem;
    margin-bottom: 28px;
    color: var(--text-primary);
    font-weight: 800;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.channel-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.channel-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

.channel-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.channel-item p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form-area {
    background: var(--bg-white);
    padding: 38px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.93rem;
}

.field input,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    transition: var(--transition);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-actions {
    margin-top: 24px;
}

.form-disclaimer {
    margin-top: 14px;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.form-disclaimer a {
    color: var(--primary);
    text-decoration: underline;
}

.form-msg {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius-sm);
    display: none;
}

.form-msg.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

.form-msg.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: #fff;
    padding: 76px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    font-weight: 800;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.88);
    font-weight: 700;
}

.footer-col p {
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
}

.footer-cnpj {
    font-size: 0.82rem;
    margin-top: 14px;
}

.footer-list,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-list li {
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-end {
    padding: 36px 0;
}

.disclaimer-box {
    margin-bottom: 28px;
    padding: 22px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
}

.disclaimer-box p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
}

.disclaimer-box strong {
    color: rgba(255,255,255,0.78);
}

.copy-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.copy-bar p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
}

.copy-location {
    font-size: 0.82rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    font-size: 0.97rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.send-btn {
    width: 100%;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.88rem;
}

/* WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* Cookie Bar */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    z-index: 9999;
    flex-wrap: wrap;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.15);
}

.cookie-bar p {
    font-size: 0.88rem;
}

.cookie-bar a {
    color: var(--accent);
    text-decoration: underline;
}

/* Utilities */
.text-user.d-none {
    display: none !important;
}

.d-none {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: slideUp 0.7s ease forwards;
}

.animate-fade-in:nth-child(2) {
    animation-delay: 0.15s;
}

.animate-fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 992px) {
    .company-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .company-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--secondary);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu-item {
        width: 100%;
        text-align: center;
        padding: 14px;
    }
    
    .menu-item.menu-item-cta {
        margin: 10px 0 0;
    }
    
    .field-row {
        grid-template-columns: 1fr;
    }
    
    .copy-bar {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 1.7rem;
    }
}
