/* ==========================================================================
   Variáveis e reset
   ========================================================================== */
:root {
    /* Cores da marca (amostradas da logo) */
    --primary-color: #F58734;
    --primary-dark: #E0701C;
    --primary-light: #FFF4EA;
    --secondary-color: #363435;
    --secondary-dark: #262425;
    --secondary-darker: #1B1A1A;
    --text-color: #363435;
    --text-light: #5E5B5C;
    --text-on-dark: #D6D3D1;
    --bg-color: #ffffff;
    --bg-light: #FAF8F6;
    --border-color: #ECE7E3;
    --white: #ffffff;

    --font-family: 'Nunito', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-brand: 0 8px 22px -6px rgba(245, 135, 52, 0.55);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.center {
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
}

.section-title-left::after {
    margin-left: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Botões
   Texto grafite sobre laranja (como na logo): contraste ~7:1
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    gap: 0.5rem;
    font-size: 1rem;
    text-align: center;
}

.btn i {
    font-size: 1.25em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-darker);
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    color: var(--secondary-darker);
}

.btn-ghost {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

.btn-lg {
    padding: 0.95rem 1.75rem;
    font-size: 1.075rem;
}

.btn-pulse {
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 135, 52, 0.65); }
    70% { box-shadow: 0 0 0 16px rgba(245, 135, 52, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 135, 52, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    padding: 0.6rem 0;
}

.header.scrolled {
    padding: 0.4rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.header.scrolled .logo {
    height: 44px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--secondary-color);
    line-height: 1;
}

.logo-text strong {
    font-weight: 600;
    color: var(--primary-color);
    margin-left: 0.15rem;
}

.nav-menu {
    display: none;
}

.nav-list {
    display: flex;
    gap: 1.75rem;
}

.nav-link {
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
}

.nav-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease forwards;
}

.nav-menu.active .nav-list {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    padding: 110px 0 90px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(27, 26, 26, 0.92) 0%,
        rgba(38, 36, 37, 0.78) 55%,
        rgba(245, 135, 52, 0.55) 100%
    );
}

/* Elipse da logo como elemento gráfico */
.hero-orbit {
    position: absolute;
    left: 50%;
    bottom: -2%;
    width: 140%;
    max-width: 1500px;
    height: 34%;
    transform: translateX(-50%);
    color: var(--primary-color);
    opacity: 0.22;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 860px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: rgba(245, 135, 52, 0.16);
    border: 1px solid rgba(245, 135, 52, 0.6);
    color: #FFC79C;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

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

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.25rem;
    font-weight: 600;
    color: #EDEAE8;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
    max-width: 360px;
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.differentials {
    padding: 3.5rem 0;
    background-color: var(--white);
}

.differentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.diff-card {
    background-color: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid var(--border-color);
}

.diff-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 16px 32px -8px rgba(245, 135, 52, 0.22);
}

.diff-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.diff-card:hover .diff-icon {
    background-color: var(--primary-color);
    color: var(--secondary-darker);
}

.diff-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 800;
}

.diff-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   Categorias
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.category-img-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
}

.category-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245, 135, 52, 0);
    border-radius: 50%;
    transition: background var(--transition-normal);
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-wrapper {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(245, 135, 52, 0.3);
    transform: translateY(-4px);
}

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-card:hover .category-img-wrapper::after {
    background: rgba(245, 135, 52, 0.15);
}

.category-name {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1rem;
    text-align: center;
    transition: color var(--transition-fast);
}

.category-card:hover .category-name {
    color: var(--primary-dark);
}

/* ==========================================================================
   Como funciona
   ========================================================================== */
.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    counter-reset: none;
}

.step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.25rem 1.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-light);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.4rem;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Para vendedores
   ========================================================================== */
.sellers {
    background-color: var(--secondary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.sellers::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 40px solid rgba(245, 135, 52, 0.07);
    top: -180px;
    right: -200px;
    pointer-events: none;
}

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

.sellers-image {
    position: relative;
}

.sellers-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.sellers-tag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--primary-color);
    color: var(--secondary-darker);
    font-weight: 800;
    padding: 0.55rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-lg);
}

.sellers-content .section-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.sellers-lead {
    color: var(--text-on-dark);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.sellers-list {
    display: grid;
    gap: 1.1rem;
    margin-bottom: 2rem;
}

.sellers-list li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.sellers-list i {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 135, 52, 0.14);
    color: var(--primary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sellers-list strong {
    display: block;
    font-weight: 800;
    color: var(--white);
}

.sellers-list span {
    color: var(--text-on-dark);
    font-size: 0.92rem;
}

/* ==========================================================================
   Área de atendimento
   ========================================================================== */
.area {
    background: var(--primary-light);
}

.area-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.area-pin {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    flex-shrink: 0;
}

.area-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.area-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.area-chips li {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 800;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

.area-chips li:last-child {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.area-content p {
    color: var(--text-light);
    max-width: 560px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding-top: 4rem;
}

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

/* Logo sobre fundo claro: a elipse grafite some no fundo escuro */
.footer-logo-badge {
    display: inline-flex;
    background: var(--white);
    border-radius: 20px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.footer-logo {
    height: 76px;
    width: auto;
}

.footer-brand p {
    color: var(--text-on-dark);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-darker);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-title-spaced {
    margin-top: 2rem;
}

.info-list li {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-on-dark);
    font-size: 0.92rem;
}

.info-list a:hover {
    color: var(--primary-color);
}

.info-list i {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.payment-icons {
    display: flex;
    gap: 1.25rem;
    color: var(--text-on-dark);
}

.payment-icons span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.payment-icons i {
    font-size: 1.75rem;
}

.footer-muted {
    color: var(--text-on-dark);
    font-size: 0.92rem;
}

.platforms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.platforms-list img {
    width: 136px;
    height: auto;
}

.footer-bottom {
    background-color: var(--secondary-darker);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #A8A4A2;
}

.hero-software-link {
    color: #FDB813;
    font-weight: 700;
}

.hero-software-link:hover {
    color: #FFD54F;
    text-decoration: underline;
}

/* ==========================================================================
   Animação de entrada
   ========================================================================== */
/* Só esconde quando o JS está ativo (classe "js" colocada no <head>) */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn-pulse { animation: none; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (min-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero {
        background-attachment: fixed;
    }

    .differentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .area-container {
        flex-direction: row;
        text-align: left;
        justify-content: center;
        gap: 2.5rem;
    }

    .area-chips {
        justify-content: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 5.5rem 0;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-menu {
        display: block;
    }

    .hero-title {
        font-size: 4.25rem;
    }

    .differentials-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .sellers-container {
        grid-template-columns: 1fr 1.1fr;
        gap: 4rem;
    }

    .sellers-image img {
        aspect-ratio: 9 / 10;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1.1fr 1fr 0.8fr;
    }
}

/* Telas médias: menu com 6 itens não cabe ao lado da logo */
@media (min-width: 1024px) and (max-width: 1180px) {
    .nav-list {
        gap: 1.1rem;
    }

    .nav-link {
        font-size: 0.92rem;
    }
}
