/* ============================================
   CameloWeb - Styles
   Comercio Popular na Internet
   Paleta: Laranja, amarelo, branco
   ============================================ */

:root {
    --primary: #ea580c;
    --primary-light: #f97316;
    --primary-dark: #c2410c;
    --accent: #eab308;
    --accent-light: #facc15;
    --accent-dark: #ca8a04;
    --warm: #fff7ed;
    --warm-light: #ffedd5;
    --white: #ffffff;
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;
    --gray-800: #292524;
    --gray-900: #1c1917;
    --shadow-sm: 0 2px 8px rgba(234, 88, 12, 0.08);
    --shadow-md: 0 6px 24px rgba(234, 88, 12, 0.12);
    --shadow-lg: 0 12px 40px rgba(234, 88, 12, 0.18);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Libre Baskerville', Georgia, serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--gray-700);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a:hover {
    color: var(--primary-dark);
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--warm-light);
    transition: var(--transition);
}

#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.logo:hover {
    color: var(--primary);
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-list a {
    color: var(--gray-600);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--warm) 0%, var(--white) 50%, var(--warm-light) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(234, 88, 12, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(234, 179, 8, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(234, 88, 12, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4.5vw, 2.9rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.85;
    max-width: 720px;
}

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

.section-alt {
    background: var(--warm);
}

.section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.section-intro {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 32px;
    font-weight: 400;
}

/* --- Content --- */
.content-block {
    max-width: 800px;
}

.content-block p {
    margin-bottom: 20px;
    color: var(--gray-700);
    line-height: 1.85;
    font-size: 0.98rem;
}

/* --- Benefits Grid --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.benefit-card {
    padding: 30px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--gray-500);
    font-size: 0.93rem;
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.7;
}

/* --- Steps Grid --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--warm);
    border-radius: var(--radius-md);
    border: 2px solid var(--warm-light);
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 18px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray-500);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.7;
}

/* --- Stats Grid --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    padding: 32px 20px;
    text-align: center;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 2px solid var(--warm-light);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* --- CTA --- */
.cta-block {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.cta-block p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* --- Footer --- */
#main-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-col .logo-icon {
    font-size: 1.3rem;
}

.footer-col .logo-text {
    color: var(--white);
    font-size: 1.3rem;
}

.footer-col > p {
    margin-top: 12px;
    color: var(--gray-400);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: var(--gray-400);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 400;
}

.footer-col ul a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--gray-500);
}

/* --- WhatsApp --- */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(14px);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        border-bottom: 2px solid var(--warm-light);
    }

    #main-nav.active {
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--warm-light);
    }

    .nav-list a {
        display: block;
        padding: 14px 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .section {
        padding: 56px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

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

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 0.7s ease forwards;
}
