:root {
    --primary: #2b4c8c;
    --primary-dark: #1a3366;
    --accent: #00b4d8;
    --accent-hover: #0096b0;
    --gradient-hero: linear-gradient(135deg, #1a3366 0%, #2b4c8c 50%, #3a6ab5 100%);
    --light: #f0f4f8;
    --dark: #1a1a2e;
    --text: #4a4a6a;
    --text-light: #8888a8;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 0 0 8px 8px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-link:focus { top: 0; }

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar.scrolled { box-shadow: var(--shadow-md); }

.logo {
    height: 80px;
    width: auto;
    transition: var(--transition);
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 12px;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover, .nav-link:focus { color: var(--primary); }
.nav-link:hover::after, .nav-link:focus::after { width: 100%; }

.navbar .btn-primary {
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .navbar .btn-primary {
        display: block;
        width: 100%;
        margin-top: 8px;
    }
}

/* Hero */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, var(--light), transparent);
}

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

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
    opacity: 0.9;
}

.hero .btn-primary {
    background: var(--accent);
    border: none;
    padding: 16px 36px;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: all var(--transition);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.35);
}

.hero .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.45);
}

.hero img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 600 / 400;
}

/* Section Titles */
.section-title { text-align: center; margin-bottom: 60px; }

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    letter-spacing: -0.3px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    margin: 16px auto 0;
    border-radius: 4px;
}

/* Slider Section */
.slider-section {
    padding: 80px 0;
    background: var(--light);
}

.slider-item {
    background: white;
    border-radius: var(--radius);
    padding: 35px 30px;
    margin: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide .slider-item { width: 100%; }

.solutions-slider { overflow: hidden; }

.slider-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.slider-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(0, 180, 216, 0.1);
    padding: 16px;
    border-radius: 16px;
}

/* Swiper customization */
.swiper-pagination-bullet { width: 10px; height: 10px; background: var(--accent); opacity: 0.3; }
.swiper-pagination-bullet-active { opacity: 1; width: 28px; border-radius: 5px; }

/* Cards */
.services-section .row { overflow: hidden; }

.card {
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    margin-bottom: 30px;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    aspect-ratio: 400 / 220;
}

.card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-body .card-text {
    flex: 1;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.card-text { color: var(--text); margin-bottom: 16px; line-height: 1.7; }

.card-badges { margin-top: auto; padding-top: 8px; }

.badge {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    padding: 6px 14px;
    font-weight: 500;
    font-size: 0.8rem;
    margin-right: 6px;
    margin-bottom: 6px;
    border-radius: 20px;
    color: white;
}

/* Apps Section */
.apps-section { padding: 80px 0; }

.app-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    cursor: pointer;
    transition: transform var(--transition);
    will-change: transform;
}

.app-logo:hover { transform: scale(1.1); }

.app-item {
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), padding var(--transition);
    padding: 14px 12px;
    border-radius: var(--radius);
    border-left: 3px solid transparent;
}

.app-item:hover {
    background: rgba(0, 180, 216, 0.06);
    padding-left: 18px;
    border-left-color: var(--accent);
}

.app-item.active {
    background: rgba(0, 180, 216, 0.12);
    border-left-color: var(--accent);
    border-left-width: 4px;
}

.phone-mockup {
    width: 300px;
    height: 610px;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.35),
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 0 0 1px rgba(255,255,255,0.04);
    margin: 0 auto;
    position: relative;
    flex-shrink: 0;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    background: #fff;
}

.phone-screenshot.active {
    opacity: 1;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #0a0a0a;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .phone-mockup {
        width: 260px;
        height: 530px;
        border-radius: 36px;
        padding: 10px;
    }
    .phone-screen { border-radius: 26px; }
    .phone-notch {
        width: 90px;
        height: 22px;
        top: 12px;
    }
}

/* Benefits */
.benefits-section { padding: 80px 0; }

.benefit-item {
    padding: 28px;
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

.benefit-icon i { color: var(--accent); }

.benefit-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--light);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow-sm);
    margin: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card .testimonial-text {
    flex: 1;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--light);
}

.testimonial-name { font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.testimonial-role { font-size: 0.85rem; color: var(--text-light); }

/* Team Section */
.team-section { padding: 80px 0; }

.team-card {
    text-align: center;
    padding: 35px 20px;
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--light);
}

.team-name { font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--text-light); }

/* Contact */
.contact-section {
    padding: 80px 0;
    background: var(--light);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.form-control {
    height: 52px;
    border-radius: 8px;
    border: 2px solid #e8ecf0;
    margin-bottom: 20px;
    padding: 0 16px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}

textarea.form-control { height: auto; padding: 16px; }

.contact-info { padding: 40px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 12px;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 24px;
}

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

.footer-links h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-links h5::after {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--accent);
    margin-top: 10px;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 6px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-radius: 50%;
    margin-right: 8px;
    transition: all var(--transition);
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

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

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    z-index: 998;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 16px 24px;
    z-index: 9999;
    display: none;
    font-size: 0.9rem;
}

.cookie-banner.show { display: block; }

.cookie-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner p { margin: 0; line-height: 1.5; }

.cookie-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition);
}

.cookie-btn:hover { background: var(--accent-hover); }

/* LGPD Banner */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-dark);
    color: white;
    padding: 18px 0;
    z-index: 9999;
    display: none;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.lgpd-banner.show { display: block; }

.lgpd-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.lgpd-banner p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    min-width: 200px;
}

.lgpd-banner a { color: var(--accent); }

.lgpd-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.lgpd-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero { padding: 100px 0 80px; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.05rem; }
    .section-title h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; }
    .logo { height: 48px; }
    .section-title h2 { font-size: 1.7rem; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
    .back-to-top { bottom: 80px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 576px) {
    .hero { padding: 60px 0 40px; }
    .hero h1 { font-size: 1.6rem; }
    .section-title h2 { font-size: 1.4rem; }
    .contact-form, .contact-info { padding: 24px; }
    .card-body { padding: 20px; }
}
