/* ============================================================
   Winfo Sistemas — One Page
   Paleta: #0D5B7C · #094360 · #073E59 · #06364D · #042B3D
   ============================================================ */

:root {
    --blue-1: #0D5B7C;
    --blue-2: #094360;
    --blue-3: #073E59;
    --blue-4: #06364D;
    --blue-5: #042B3D;
    --orange: #F97316;
    --orange-light: #FB923C;
    --orange-dark: #EA580C;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-400: #94A3B8;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(4, 43, 61, 0.12);
    --shadow-lg: 0 12px 48px rgba(4, 43, 61, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Tipografia ─────────────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(249, 115, 22, 0.1);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--blue-5);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 600px;
}

/* ── Botões ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-blue {
    background: var(--blue-1);
    color: var(--white);
    border-color: var(--blue-1);
}
.btn-blue:hover {
    background: var(--blue-2);
    border-color: var(--blue-2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 91, 124, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--blue-1);
    border-color: var(--blue-1);
}
.btn-ghost:hover {
    background: var(--blue-1);
    color: var(--white);
}

/* ── Header ─────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(4, 43, 61, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    justify-self: start;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    justify-self: center;
}

.nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover { color: var(--orange-light); }

.nav-cta { white-space: nowrap; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-3) 50%, var(--blue-5) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-h);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(249,115,22,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-title span { color: var(--orange-light); }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 440px;
    justify-self: end;
}

.hero-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.hero-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.hero-card-icon--alt {
    background: var(--blue-1);
    border: 2px solid rgba(255,255,255,0.3);
}

.hero-card-body {
    flex: 1;
    min-width: 0;
}

.hero-card h3 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ── Stats ──────────────────────────────────────────────── */
.stats {
    background: var(--blue-5);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange-light);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ── Sobre ──────────────────────────────────────────────── */
.about {
    padding: 6rem 0;
    background: var(--gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-subtitle { margin-bottom: 2rem; }

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(13, 91, 124, 0.1);
    color: var(--blue-1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.about-feature h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--blue-5);
    margin-bottom: 0.2rem;
}

.about-feature p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.about-visual {
    position: relative;
}

.about-box {
    background: linear-gradient(135deg, var(--blue-1), var(--blue-4));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.about-box-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.about-box-list li:last-child { border-bottom: none; }

.check-icon {
    color: var(--orange-light);
    font-weight: 700;
}

/* ── Produtos ───────────────────────────────────────────── */
.products {
    padding: 6rem 0;
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-header .section-subtitle {
    margin: 0 auto;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-card.reverse { direction: rtl; }
.product-card.reverse > * { direction: ltr; }

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.badge-agenda {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-dark);
}

.badge-weduc {
    background: rgba(13, 91, 124, 0.1);
    color: var(--blue-1);
}

.product-name {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--blue-5);
    margin-bottom: 0.5rem;
}

.product-domain {
    font-size: 0.9rem;
    color: var(--blue-1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-desc {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-800);
}

.product-feature::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-agenda {
    background: linear-gradient(135deg, var(--blue-1) 0%, var(--blue-3) 100%);
}

.visual-weduc {
    background: linear-gradient(135deg, var(--blue-3) 0%, var(--blue-5) 100%);
}

.product-mockup {
    width: 85%;
    background: rgba(255,255,255,0.95);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.mockup-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-200);
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #28CA41; }

.mockup-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mockup-row:last-child { border-bottom: none; }

.mockup-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue-1);
    opacity: 0.7;
    flex-shrink: 0;
}

.mockup-text {
    flex: 1;
}

.mockup-line {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 4px;
}

.mockup-line.short { width: 60%; }
.mockup-line.orange { background: rgba(249,115,22,0.3); width: 40%; }

.mockup-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    background: rgba(13,91,124,0.1);
    color: var(--blue-1);
}

.mockup-badge.confirmed {
    background: rgba(34,197,94,0.1);
    color: #16A34A;
}

/* ── Diferenciais ───────────────────────────────────────── */
.why {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--blue-5) 0%, var(--blue-4) 100%);
}

.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-header .section-title { color: var(--white); }
.why-header .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto; }

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: var(--orange);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.why-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.why-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

/* ── Contato ────────────────────────────────────────────── */
.contact {
    padding: 6rem 0;
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info .section-subtitle { margin-bottom: 2rem; }

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--blue-1);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-item p, .contact-item a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blue-5);
}

.contact-item a:hover { color: var(--orange); }

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-1);
    box-shadow: 0 0 0 3px rgba(13, 91, 124, 0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}

.form-alert {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: none;
}

.form-alert.success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803D;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-alert.error {
    background: rgba(239, 68, 68, 0.1);
    color: #B91C1C;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-alert.show { display: block; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
    background: var(--blue-5);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-col ul li { margin-bottom: 0.5rem; }

.footer-col a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--orange-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom a { color: var(--orange-light); }

/* ── Animações scroll ───────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .product-card,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .product-card.reverse { direction: ltr; }

    .hero-visual { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .why-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--blue-5);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        justify-self: unset;
    }

    .nav.open { display: flex; }

    .nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        width: 100%;
    }

    .header-actions .nav-cta {
        padding: 0.65rem 1.1rem;
        font-size: 0.85rem;
    }

    .menu-toggle { display: flex; }

    .about-features,
    .product-features,
    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

    .why-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .product-card { padding: 1.5rem; margin-bottom: 3rem; }

    .contact-form-wrap { padding: 1.5rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .product-actions { flex-direction: column; }
    .product-actions .btn { width: 100%; justify-content: center; }
}
