:root {
    --primary-blue: #006FBA;
    --brand-blue: #005BBB;
    --brand-cyan: #008E9B;
    --lime-green: #83C51B;
    --leaf-green: #32A64A;
    --deep-blue: #004B8F;
    --light-gray: #f4f9fc;
    --dark-gray: #1f3448;
    --muted-gray: #607386;
    --border-gray: #d9e6ee;
    --surface: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    background: var(--surface);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.96);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-gray);
    box-shadow: 0 6px 22px rgba(14, 74, 138, 0.06);
    backdrop-filter: blur(12px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

.nav-logo {
    width: 250px;
    height: 58px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--brand-cyan);
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 111, 196, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--brand-blue);
    border: 1px solid rgba(255, 255, 255, 0.72);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.18);
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(131, 197, 27, 0.28), transparent 32%),
        linear-gradient(135deg, rgba(0, 75, 143, 0.96), rgba(0, 142, 155, 0.9));
    color: white;
    padding: 96px 0 88px;
    text-align: left;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: 52px;
}

.hero-content h1 {
    max-width: 780px;
    font-size: 52px;
    margin-bottom: 18px;
    line-height: 1.08;
}

.hero-content .tagline {
    max-width: 720px;
    font-size: 20px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-content .subtitle {
    max-width: 680px;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-product-card {
    position: relative;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    box-shadow: 0 24px 70px rgba(0, 45, 86, 0.28);
}

.hero-product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    display: block;
}

.product-badge {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 12px 16px;
    border-radius: 6px;
    background: rgba(0, 75, 143, 0.92);
    color: white;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 180px;
}

/* Sections General */
section {
    padding: 80px 0;
}

section h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--brand-blue);
    text-align: center;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted-gray);
    text-align: center;
    margin-bottom: 50px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Totem Section */
.totem {
    background: var(--light-gray);
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 42px;
    align-items: center;
    margin: 48px 0 56px;
    padding: 28px;
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 16px 44px rgba(0, 75, 143, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(131, 197, 27, 0.35);
    border-radius: 8px;
    pointer-events: none;
}

.product-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    display: block;
}

.product-copy h3 {
    max-width: 620px;
    margin-bottom: 16px;
    color: var(--brand-blue);
    font-size: 30px;
    line-height: 1.18;
}

.product-copy p {
    margin-bottom: 20px;
    color: var(--muted-gray);
    font-size: 16px;
}

.eyebrow-dark {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--brand-cyan);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-points {
    list-style: none;
}

.product-points li {
    position: relative;
    padding: 10px 0 10px 22px;
    color: var(--dark-gray);
    font-size: 14px;
    border-bottom: 1px solid var(--border-gray);
}

.product-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--lime-green), var(--brand-cyan));
}

.product-points li:last-child {
    border-bottom: none;
}

.totem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.totem-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid var(--border-gray);
    box-shadow: 0 8px 28px rgba(14, 74, 138, 0.07);
    transition: all 0.3s;
}

.totem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(26, 111, 196, 0.12);
}

.card-index {
    width: 42px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(0, 111, 186, 0.12), rgba(131, 197, 27, 0.14));
    color: var(--brand-blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.totem-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--brand-blue);
}

.totem-card p {
    color: var(--muted-gray);
    font-size: 14px;
}

/* Apps Section */
.apps {
    background: white;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.app-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s;
}

.app-card:hover {
    border-color: rgba(0, 142, 155, 0.36);
    box-shadow: 0 12px 30px rgba(14, 74, 138, 0.1);
    transform: translateY(-5px);
}

.app-card h3 {
    font-size: 22px;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.app-tag {
    display: inline-block;
    background: rgba(131, 197, 27, 0.14);
    color: var(--leaf-green);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
}

.app-card > p {
    color: var(--muted-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.features {
    list-style: none;
    text-align: left;
}

.features li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--muted-gray);
    border-bottom: 1px solid #eee;
}

.features li::before,
.pain-points li::before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    margin-right: 9px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--lime-green), var(--brand-cyan));
    vertical-align: middle;
}

.features li:last-child {
    border-bottom: none;
}

/* Tecnico Section */
.tecnico {
    background: var(--light-gray);
}

.tecnico-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.tecnico-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.benefit-item {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    border-left: 4px solid var(--brand-cyan);
    transition: all 0.3s;
}

.benefit-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.benefit-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--brand-blue);
}

.benefit-item p {
    font-size: 14px;
    color: var(--muted-gray);
}

.contract-panel {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 8px 28px rgba(14, 74, 138, 0.07);
}

.contract-panel h3 {
    color: var(--brand-blue);
    margin-bottom: 12px;
    font-size: 20px;
}

.contract-panel p {
    margin-bottom: 22px;
    color: var(--muted-gray);
    font-size: 15px;
}

/* About Section */
.sobre {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 50px;
}

.big-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--brand-blue);
    margin-bottom: 15px;
}

.about-text p {
    font-size: 15px;
    color: var(--muted-gray);
    margin-bottom: 15px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.mvv-card,
.news-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(14, 74, 138, 0.07);
}

.mvv-card h3,
.news-card h3 {
    margin-bottom: 10px;
    color: var(--brand-blue);
    font-size: 18px;
}

.mvv-card p,
.news-card p {
    color: var(--muted-gray);
    font-size: 14px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(26, 111, 196, 0.15);
}

.stat h3 {
    font-size: 32px;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.stat p {
    font-size: 13px;
    color: var(--muted-gray);
}

/* News Section */
.novidades {
    background: var(--light-gray);
}

.blog-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 360px);
    gap: 20px;
    margin-top: 34px;
    padding: 4px 4px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
}

.blog-manager {
    margin-top: 34px;
}

.blog-auth {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px) auto auto;
    gap: 12px;
    align-items: center;
    padding: 18px;
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(14, 74, 138, 0.07);
}

.blog-auth h3 {
    margin-bottom: 4px;
    color: var(--brand-blue);
    font-size: 18px;
}

.blog-auth p {
    color: var(--muted-gray);
    font-size: 13px;
}

.blog-auth input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
}

.blog-auth input:focus {
    border-color: var(--brand-cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 142, 155, 0.12);
}

.blog-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(260px, 2fr) auto;
    gap: 12px;
    align-items: start;
    padding: 18px;
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(14, 74, 138, 0.07);
    margin-top: 16px;
}

.blog-form input,
.blog-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--dark-gray);
    resize: vertical;
}

.blog-form input:focus,
.blog-form textarea:focus {
    border-color: var(--brand-cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 142, 155, 0.12);
}

.blog-form .btn {
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.blog-scroll .news-card {
    min-height: 260px;
    scroll-snap-align: start;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.post-meta time {
    color: var(--muted-gray);
    font-size: 12px;
}

.post-link {
    display: inline-block;
    margin-top: 18px;
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.post-link:hover {
    color: var(--brand-cyan);
}

.post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.post-edit,
.post-delete {
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.post-edit {
    color: var(--brand-blue);
    background: rgba(0, 111, 186, 0.08);
    border: 1px solid rgba(0, 111, 186, 0.2);
}

.post-edit:hover {
    background: rgba(0, 111, 186, 0.14);
}

.post-delete {
    color: #9f1d1d;
    background: #fff5f5;
    border: 1px solid #f3c6c6;
}

.post-delete:hover {
    background: #ffe8e8;
}

.empty-news {
    min-width: 280px;
    padding: 22px;
    color: var(--muted-gray);
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
}

.is-hidden {
    display: none !important;
}

.blog-scroll::-webkit-scrollbar {
    height: 10px;
}

.blog-scroll::-webkit-scrollbar-track {
    background: var(--border-gray);
    border-radius: 999px;
}

.blog-scroll::-webkit-scrollbar-thumb {
    background: var(--brand-cyan);
    border-radius: 999px;
}

/* Contact Section */
.contato {
    background:
        radial-gradient(circle at 12% 10%, rgba(131, 197, 27, 0.26), transparent 32%),
        linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
    color: white;
}

.contato h2 {
    color: white;
}

.contato .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contato-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contato-form input,
.contato-form textarea,
.contato-form select {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Helvetica', 'Arial', sans-serif;
}

.contato-form input:focus,
.contato-form textarea:focus,
.contato-form select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.contact-info {
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-info a {
    color: var(--lime-green);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.pain-points {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.pain-points h4 {
    margin-bottom: 12px;
}

.pain-points ul {
    list-style: none;
}

.pain-points li {
    font-size: 13px;
    padding: 5px 0;
}

.solution {
    margin-top: 15px;
    font-size: 14px;
    color: var(--lime-green);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

.notification.success {
    background: var(--lime-green);
}

.notification.error {
    background: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: var(--deep-blue);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 15px;
    font-size: 14px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social {
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.social:hover {
    color: var(--lime-green);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 200;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--leaf-green);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:hover {
    background: var(--lime-green);
}

/* Responsive Design */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 36px;
    }

    .tecnico-content {
        grid-template-columns: 1fr;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero-product-card {
        max-width: 520px;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 15px;
        font-size: 12px;
    }

    .nav-logo {
        width: 220px;
        height: 52px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .tagline {
        font-size: 16px;
    }

    .hero-content .subtitle {
        font-size: 14px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-product-card {
        padding: 24px;
    }

    .product-copy h3 {
        font-size: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .totem-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tecnico-benefits {
        grid-template-columns: 1fr;
    }

    .app-card {
        padding: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .blog-form {
        grid-template-columns: 1fr;
    }

    .blog-auth {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }

    section h2 {
        font-size: 22px;
    }

    .container {
        padding: 0 10px;
    }

    .navbar .container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-brand {
        width: 100%;
        justify-content: center;
    }

    .nav-logo {
        width: 210px;
        height: 50px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content .tagline {
        font-size: 14px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-product-card {
        padding: 18px;
    }

    .product-badge {
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .product-showcase {
        padding: 16px;
        margin: 34px 0 40px;
    }

    .product-copy h3 {
        font-size: 21px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .totem-card,
    .app-card {
        padding: 15px;
    }

    .card-index {
        width: 38px;
        height: 30px;
    }

    .totem-card h3,
    .app-card h3 {
        font-size: 16px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat h3 {
        font-size: 24px;
    }

    .blog-scroll {
        grid-auto-columns: minmax(250px, 86vw);
    }

    .contato-wrapper {
        gap: 20px;
    }

    .contact-info {
        padding: 15px;
    }

    .notification {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 12px;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        padding: 11px 14px;
        font-size: 12px;
    }
}
