/* ============================================
   VARIÁVEIS CSS
   ============================================ */
:root {
    --color-navy: #1a3a52;
    --color-gold: #d4af37;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-dark: #0f2535;
    --color-text: #333333;
    --color-text-light: #666666;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    --border-radius: 20px;
    --border-radius-small: 12px;
    --border-radius-large: 24px;
    
    --shadow-sm: 0 2px 8px rgba(26, 58, 82, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 58, 82, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 58, 82, 0.16);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --container-max-width: 1200px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    --header-h: 152px;
}

/* ============================================
   RESET E BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn-secondary:hover {
    background: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 58, 82, 0.1);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

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

.nav-link {
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.btn-header {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-navy);
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    padding: calc(8rem + var(--header-h)) 0 4rem;
    min-height: 90vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            var(--color-navy) 10px,
            var(--color-navy) 20px
        );
    animation: scan 20s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100px);
    }
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-navy);
    font-weight: 500;
}

.proof-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
   SEÇÕES
   ============================================ */
section {
    padding: 5rem 0;
    scroll-margin-top: var(--header-h);
}

.solucoes {
    background: var(--color-white);
}

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

.card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 58, 82, 0.1);
    transition: var(--transition);
}

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

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark) 100%);
    border-radius: var(--border-radius-small);
    margin-bottom: 1.5rem;
    color: var(--color-gold);
}

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

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

/* ============================================
   CATEGORIAS
   ============================================ */
.categorias {
    background: var(--color-light);
}

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

.categoria-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.categoria-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8941f 100%);
    border-radius: 50%;
    color: var(--color-white);
}

.categoria-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

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

.categorias-cta {
    text-align: center;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
    background: var(--color-white);
}

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

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sobre-item {
    display: flex;
    gap: 1.5rem;
}

.sobre-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark) 100%);
    border-radius: var(--border-radius-small);
    color: var(--color-gold);
}

.sobre-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.sobre-text p {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.sobre-note {
    font-size: 0.875rem;
    color: var(--color-gold);
    font-weight: 500;
}

.processo {
    background: var(--color-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.processo-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2rem;
    text-align: center;
}

.processo-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.processo-step {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.processo-number {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, #b8941f 100%);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
}

.processo-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

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

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos {
    background: var(--color-light);
}

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

.depoimento-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-gold);
}

.depoimento-stars {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.depoimento-text {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.depoimento-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.depoimento-author strong {
    color: var(--color-navy);
    font-weight: 600;
}

.depoimento-author span {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    background: var(--color-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid rgba(26, 58, 82, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--color-light);
}

.faq-question svg {
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    opacity: 0;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    padding: 5rem 0;
    text-align: center;
}

.cta-final-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-final-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.cta-final-text {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-final-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a svg {
    flex-shrink: 0;
    color: var(--color-gold);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 0.5rem;
}

.footer-links a:hover svg {
    transform: scale(1.1);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 0.25rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-policy {
    display: flex;
    gap: 1rem;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-gold);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.5);
    }
}

/* ============================================
   ANIMAÇÕES REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    :root {
        --border-radius: 16px;
        --border-radius-large: 20px;
        --header-h: 76px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: calc(6rem + var(--header-h)) 0 3rem;
    }
    
    .cards-grid,
    .categorias-grid,
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .header,
    .whatsapp-float,
    .btn {
        display: none;
    }
}

