@font-face {
    font-family: 'Versus Black';
    src: url('assets/fonts/Versus Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sohne';
    src: url('assets/fonts/Sohne.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sohne';
    src: url('assets/fonts/Sohne Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Paleta de Cores Oficial SS Contabilidade (Exclusivamente Azul) */
    --color-bg-deep: #091540; /* Dark Navy / Base background */
    --color-bg-card: #0c1c54; /* Slightly lighter navy for surfaces */
    --color-primary: #1B2CC1; /* Royal Blue / CTAs and main accents */
    --color-primary-hover: #1624a1;
    --color-accent-light: #7692FF; /* Soft Light Blue / Highlights */
    --color-accent-pale: #ABD2FA; /* Pale Ice Blue / Subtle texts */
    --color-slate: #3D518C; /* Slate Navy / Borders and muted accents */
    
    --color-white: #ffffff;
    --color-text-main: #f0f0f0;
    --color-text-muted: #ABD2FA; /* Usando o azul gelo para textos secundários */
    
    --font-heading: 'Versus Black', sans-serif;
    --font-body: 'Sohne', sans-serif;
    
    --transition: all 0.3s ease;
    --container-max-width: 1280px;
}

/* Reset Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-deep);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Tipografia Comum */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase; /* Forçando CAPSLOCK na Versus Black */
}

strong, b, .text-highlight {
    font-family: 'Sohne', sans-serif;
    font-weight: 700;
    color: var(--color-white);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(27, 44, 193, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 44, 193, 0.6);
}

/* Botão Customizado Hero com Formato Asimétrico e Animação Pulsante */
.btn-hero-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 1.85rem 0.85rem 1.15rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-bg-card) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 0 50px 50px 50px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(27, 44, 193, 0.4);
    animation: btn-pulse 3s infinite ease-in-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-custom:hover {
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(27, 44, 193, 0.6);
}

.btn-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: var(--color-white);
    color: #1B2CC1;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-hero-custom:hover .btn-icon-circle {
    transform: translateX(3px);
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(27, 44, 193, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(27, 44, 193, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(27, 44, 193, 0);
    }
}

/* Header & Logo Tab */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: padding 0.3s ease;
    border-bottom: none;
}

.header.scrolled {
    padding: 0.85rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 64px;
    background: rgba(9, 21, 64, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(122, 146, 255, 0.25);
    border-radius: 50px;
    padding: 0 0.5rem 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Aba da Logo que nasce na linha superior do pill e ultrapassa a linha inferior */
.logo-tab {
    position: absolute;
    top: -1px;
    left: 3rem; /* Movido levemente para a direita (era 1.5rem) */
    height: 94px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg-card) 100%);
    border: 1px solid rgba(122, 146, 255, 0.35);
    border-top: none;
    padding: 0.85rem 1.85rem 1.35rem 1.85rem;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.logo-tab .logo-img {
    height: 65px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    margin-left: 250px; /* Ajustado proporcionalmente */
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    color: var(--color-text-main);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    font-weight: 500;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background-color: var(--color-accent-light);
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 50px;
    margin-right: 1.25rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 0.5rem;
    z-index: 1002;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Floating WhatsApp Button for Mobile */
.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    animation: wa-pulse 3s infinite ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn span {
    display: none;
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
}

@keyframes wa-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5); }
    50% { transform: scale(1.08); box-shadow: 0 12px 35px rgba(37, 211, 102, 0.8); }
}

@media (max-width: 992px) {
    .header,
    .header.scrolled {
        padding: 0.85rem 0 !important;
    }
    .header-container {
        padding: 0 1rem;
        position: relative;
        overflow: visible;
    }
    .header-btn {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .logo-tab {
        position: absolute;
        left: 50%;
        top: -1px;
        transform: translateX(-50%);
        height: 88px;
        padding: 0.65rem 1.5rem 1.1rem 1.5rem;
        background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg-card) 100%);
        border: 1px solid rgba(122, 146, 255, 0.35);
        border-top: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    .logo-tab .logo-img {
        height: 58px;
    }
    .nav-links {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%) translateY(-15px);
        width: calc(100% - 2rem);
        max-width: 380px;
        background: rgba(9, 21, 64, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(122, 146, 255, 0.25);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: center;
        gap: 1.25rem;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }
    .nav-links.mobile-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    .whatsapp-float-btn {
        display: flex;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.25; /* Transparência para o texto se destacar no fundo azul escuro */
}


.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-bottom: 5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem); /* Reduzido conforme pedido */
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-title span.typewriter-word {
    display: inline-block;
    position: relative;
    white-space: nowrap;
    min-height: 1em;
    background: linear-gradient(
        110deg,
        var(--color-primary) 0%,
        var(--color-primary) 35%,
        #ffffff 50%,
        var(--color-primary) 65%,
        var(--color-primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shine 6.5s infinite ease-in-out;
}

.hero-title span.typewriter-word::after {
    content: '|';
    display: inline-block;
    margin-left: 3px;
    color: var(--color-primary);
    -webkit-text-fill-color: var(--color-primary);
    animation: blink-cursor 0.75s infinite step-start;
}

@keyframes text-shine {
    0% {
        background-position: 180% 0;
    }
    100% {
        background-position: -180% 0;
    }
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-image-inner {
    position: relative;
    display: inline-block;
}

.hero-img {
    max-height: 80vh;
    object-fit: cover;
    object-position: bottom;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Ícones 3D Flutuantes com Luz Azul */
.floating-icon {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    filter: drop-shadow(0 0 15px rgba(27, 44, 193, 0.85)) drop-shadow(0 0 30px rgba(118, 146, 255, 0.6));
    transition: transform 0.3s ease;
}

.icon-graph {
    top: 18%;
    left: 2%;
    width: 85px;
    animation: float-glow-1 4s ease-in-out infinite;
}

.icon-calculator {
    top: 32%;
    right: 2%;
    width: 95px;
    animation: float-glow-2 5.2s ease-in-out infinite 1s;
}

.icon-doc {
    bottom: 25%;
    left: -3%;
    width: 80px;
    animation: float-glow-3 4.5s ease-in-out infinite 0.5s;
}

@keyframes float-glow-1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(27, 44, 193, 0.85)) drop-shadow(0 0 25px rgba(118, 146, 255, 0.5));
    }
    50% {
        transform: translateY(-16px) rotate(4deg);
        filter: drop-shadow(0 0 25px rgba(27, 44, 193, 1)) drop-shadow(0 0 45px rgba(118, 146, 255, 0.85));
    }
}

@keyframes float-glow-2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 15px rgba(27, 44, 193, 0.85)) drop-shadow(0 0 25px rgba(118, 146, 255, 0.5));
    }
    50% {
        transform: translateY(-20px) rotate(-5deg);
        filter: drop-shadow(0 0 30px rgba(27, 44, 193, 1)) drop-shadow(0 0 50px rgba(118, 146, 255, 0.9));
    }
}

@keyframes float-glow-3 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 12px rgba(27, 44, 193, 0.8)) drop-shadow(0 0 20px rgba(118, 146, 255, 0.4));
    }
    50% {
        transform: translateY(-14px) rotate(3deg);
        filter: drop-shadow(0 0 22px rgba(27, 44, 193, 0.95)) drop-shadow(0 0 38px rgba(118, 146, 255, 0.75));
    }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 6rem;
    }
    .hero-content {
        padding-bottom: 0;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }
    .hero-image-wrapper {
        justify-content: center;
    }
}

/* Hero Ticker */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.85rem 0;
    overflow: hidden;
    display: flex;
    white-space: nowrap;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-left-ticker 65s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex-shrink: 0;
}

.ticker-unit {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-family: 'Sohne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-logo-icon {
    height: 20px;
    width: auto;
    filter: brightness(0) invert(1);
    display: inline-block;
    flex-shrink: 0;
}

@keyframes scroll-left-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Seções Gerais */
.section {
    padding: 6rem 0;
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-accent-pale);
    max-width: 600px;
    margin: 0 auto;
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background-color: var(--color-white);
    background-image: linear-gradient(to bottom, rgba(255,255,255,0) 80%, rgba(255,255,255,1) 100%), url('assets/bg4.png');
    background-size: cover;
    background-position: center;
    color: var(--color-bg-deep);
    text-align: center;
}

.partners-header {
    margin-bottom: 3.5rem;
}

.partners-title-primary {
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.partners-subtitle-sub {
    color: var(--color-bg-deep);
    font-family: var(--font-body);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.custom-shape-divider-top {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 35px;
    overflow: visible;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}

.shape-divider-svg {
    width: 140px;
    height: 35px;
    display: block;
}

.shape-divider-btn {
    position: absolute;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    pointer-events: auto;
}

.solutions-container {
    position: relative;
    z-index: 2;
    padding-top: 1rem;
}

.partners-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 1rem 0;
    animation: scroll-left-partners 50s linear infinite;
    will-change: transform;
}

.partners-marquee-container:hover .partners-track {
    animation-play-state: paused;
}

.partners-group {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding-right: 5rem;
}

.partner-logo {
    height: 85px;
    max-width: 230px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.75);
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding: 4px 0;
    position: relative;
    cursor: pointer;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
    z-index: 10;
}

@keyframes scroll-left-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Diferenciais Section (New) */
.diferenciais-section {
    background-color: var(--color-primary);
    background-image: url('assets/bg3.png');
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--color-slate);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.diferencial-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background: rgba(9, 21, 64, 0.6); /* Dark navy background for contrast */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.diferencial-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.diferencial-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    letter-spacing: 1px;
}

.diferencial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Soluções Section */
.solutions-section {
    position: relative;
    background-color: var(--color-bg-card);
    background-image: url('assets/bg2.png');
    background-size: cover;
    background-position: center;
}

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

.solution-card {
    background: rgba(9, 21, 64, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.solution-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--color-white);
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.solution-icon svg {
    width: 40px;
    height: 40px;
}

.solution-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.solution-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Sobre Section Modernizada (Revamp) */
.about-revamp-section {
    background-color: var(--color-bg-deep);
    background-image: url('assets/bg2.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-revamp-tag {
    color: var(--color-accent-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.about-revamp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

/* Galeria Assimétrica */
.about-revamp-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s ease;
}

.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-img-wrapper .img-top {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: galleryFade 12s infinite ease-in-out;
}

.img-1 .img-top { animation-delay: 0s; }
.img-2 .img-top { animation-delay: 4s; }
.img-3 .img-top { animation-delay: 8s; }

@keyframes galleryFade {
    0%, 35% { opacity: 0; }
    45%, 85% { opacity: 1; }
    95%, 100% { opacity: 0; }
}

.gallery-img-wrapper:hover {
    transform: translateY(-8px);
}

.gallery-img-wrapper:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 280px;
    transform: translateY(30px);
}

.img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    height: 400px;
}

.img-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 240px;
    transform: translateY(-20px);
}

.img-4 {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 8px solid var(--color-bg-deep);
    z-index: 2;
}

/* Conteúdo e Cards */
.about-revamp-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-revamp-text-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-revamp-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-revamp-card:hover {
    transform: translateX(10px);
    border-color: var(--color-accent-light);
}

.card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(27, 44, 193, 0.2);
    color: var(--color-accent-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-revamp-card p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.about-revamp-card strong {
    color: var(--color-white);
}

/* Estatísticas Modernizadas */
.about-revamp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-revamp-item {
    text-align: center;
}

.stat-revamp-item h4 {
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
    text-shadow: 0 0 10px rgba(118, 146, 255, 0.4);
}

.stat-revamp-item span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-pale);
    display: block;
}

@media (max-width: 992px) {
    .about-revamp-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-revamp-gallery {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-revamp-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .about-revamp-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }
    
    .img-1, .img-2, .img-3 {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 320px;
        transform: none;
    }
    
    .img-4 {
        display: none; /* Oculta a imagem circular em telas muito pequenas para não poluir visualmente */
    }
    
    .about-revamp-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
}

/* Depoimentos Section (New) */
.depoimentos-section {
    background-color: var(--color-white);
    background-image: url('assets/bg4.png');
    background-size: cover;
    background-position: center;
}

.depoimentos-section .section-title {
    color: var(--color-bg-deep);
}

.depoimentos-section .section-subtitle {
    color: var(--color-primary);
}

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

.depoimento-card {
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.depoimento-card:hover {
    transform: translateY(-5px);
}

.depoimento-top {
    background-color: var(--color-white);
    padding: 2.5rem 2.5rem;
    flex: 1;
    position: relative;
}

.depoimento-text {
    font-size: 1.05rem;
    color: #1a1a1a;
    font-weight: 500;
    line-height: 1.6;
}

.depoimento-bottom {
    background-color: var(--color-bg-card); /* Dark matching the reference style */
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.depoimento-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    color: var(--color-white);
    font-size: 1.1rem;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.05rem;
    margin: 0 0 4px 0;
    color: var(--color-white);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--color-accent-pale);
}

.stars {
    color: #FFD700; /* Yellow */
    display: flex;
    gap: 4px;
}

/* Contato Section */
.contact-section {
    background-color: var(--color-primary);
    background-image: url('assets/bg3.png');
    background-size: cover;
    background-position: center;
}

.contact-container {
    display: flex;
    justify-content: center;
}

.contact-box {
    text-align: center;
    max-width: 700px;
}

.contact-box .section-title {
    color: var(--color-white);
}

.contact-box .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.contact-btn {
    margin-top: 2rem;
    font-size: 1.25rem;
    background-color: var(--color-white);
    color: var(--color-primary);
}

.contact-btn:hover {
    background-color: var(--color-text-main);
    color: var(--color-primary-hover);
}

/* Mega Footer (New) */
.mega-footer {
    background-color: #030716; /* Fundo mais escuro possível */
    padding: 5rem 0 2rem 0;
    border-top: 2px solid var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo-img {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-title {
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

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

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-accent-light);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    color: var(--color-accent-light);
    flex-shrink: 0;
}

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

.dev-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-decoration: none;
    opacity: 0.35;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.dev-link:hover {
    opacity: 0.9;
    color: var(--color-white);
}

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

/* Media Queries Responsivas Estruturadas */
@media (max-width: 992px) {
    .hero {
        padding-top: 7.5rem;
        min-height: auto;
        padding-bottom: 5rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        padding-bottom: 0;
    }
    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image-wrapper {
        justify-content: center;
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
    }
    .hero-img {
        max-height: 55vh;
    }
    /* Ícones Flutuantes 3D - Maiores e mais próximos no Mobile */
    .icon-graph {
        width: 80px !important;
        top: 10% !important;
        left: 8% !important;
    }
    .icon-calculator {
        width: 85px !important;
        top: 14% !important;
        right: 8% !important;
    }
    .icon-doc {
        width: 75px !important;
        bottom: 16% !important;
        left: 6% !important;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
    .depoimento-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-brand .footer-logo-img {
        margin: 0 auto 1.5rem auto;
    }
    .footer-links-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-links {
        align-items: center;
        text-align: center;
    }
    .footer-links a:hover {
        transform: translateY(-2px);
    }
    .footer-contact-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .floating-icon {
        opacity: 0.95;
    }
    .icon-graph {
        width: 74px !important;
        top: 8% !important;
        left: 10% !important;
    }
    .icon-calculator {
        width: 80px !important;
        top: 12% !important;
        right: 10% !important;
    }
    .icon-doc {
        width: 70px !important;
        bottom: 14% !important;
        left: 8% !important;
    }
    .stat-modern-card {
        padding: 1.25rem 0.75rem;
    }
    .stat-number {
        font-size: 1.75rem;
    }
    .partners-group {
        gap: 3rem;
        padding-right: 3rem;
    }
    .partner-logo {
        height: 70px;
        max-width: 150px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
