/* ==========================================================================
   EnxadaHost - Estilos Principais
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Cores principais */
    --color-header: #4E342E;
    --color-header-light: #5D4037;
    --color-primary: #7B1FA2;
    --color-primary-dark: #6A1B9A;
    --color-primary-light: #9C27B0;
    --color-cta: #FFA000;
    --color-cta-hover: #FF8F00;
    --color-accent: #E91E63;
    --color-accent-light: #F48FB1;

    /* Texto */
    --color-text: #424242;
    --color-text-light: #757575;
    --color-text-white: #FFFFFF;

    /* Backgrounds */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F5F5F5;
    --color-bg-beige: #FFF8E1;

    /* Outros */
    --color-success: #4CAF50;
    --color-error: #F44336;
    --color-border: #E0E0E0;

    /* Tipografia */
    --font-family: 'Poppins', sans-serif;

    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);

    /* Bordas */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Transições */
    --transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.text-center { text-align: center; }
.text-white { color: var(--color-text-white); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-cta);
    color: var(--color-text);
}

.btn-primary:hover {
    background: var(--color-cta-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-text-white);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid currentColor;
    color: var(--color-header);
}

.btn-outline:hover {
    background: var(--color-header);
    color: var(--color-text-white);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--color-text-white);
    color: var(--color-text-white);
}

.btn-outline-white:hover {
    background: var(--color-text-white);
    color: var(--color-primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    background: var(--color-header);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #D7CCC8;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: #D7CCC8;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--color-text-white);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu .arrow {
    font-size: 10px;
    transition: var(--transition);
}

.nav-menu .dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: var(--color-bg-alt);
    color: var(--color-primary);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-buttons .btn-outline {
    color: #D7CCC8;
    border-color: #D7CCC8;
}

.nav-buttons .btn-outline:hover {
    background: #D7CCC8;
    color: var(--color-header);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: #D7CCC8;
    transition: var(--transition);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #87CEEB 0%, #98D8C8 50%, #7FC8A9 100%);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.hero-illustration {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features {
    padding: 80px 0;
    background: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--color-text-white);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-light);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
}

.stat-item {
    text-align: center;
    color: var(--color-text-white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Pricing Section
   -------------------------------------------------------------------------- */
.pricing {
    padding: 80px 0;
    background: var(--color-bg-alt);
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    margin-bottom: 16px;
}

.pricing-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pricing-toggle span {
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-switch:hover {
    background: var(--color-text-light);
}

.toggle-switch.active {
    background: var(--color-primary);
}

.toggle-switch.active:hover {
    background: var(--color-primary-dark);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: var(--color-bg);
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active::after {
    left: 32px;
}

.discount-badge {
    background: var(--color-success);
    color: var(--color-text-white);
    font-size: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.plan-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(123, 31, 162, 0.2);
}

.plan-card.featured {
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(123, 31, 162, 0.15);
}

.plan-card.featured:hover {
    box-shadow: 0 20px 50px rgba(123, 31, 162, 0.3);
}

.plan-card.featured::before {
    content: 'Mais vendido';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--color-success);
    color: var(--color-text-white);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 40px;
    transform: rotate(45deg);
}

.plan-illustration {
    height: 140px;
    margin: -30px -30px 20px;
    background: linear-gradient(135deg, #FFE082 0%, #FFA000 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.plan-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.plan-card.featured .plan-name {
    color: var(--color-cta);
}

.plan-price {
    margin-bottom: 20px;
}

.plan-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
}

.plan-price .period {
    font-size: 14px;
    color: var(--color-text-light);
}

.plan-price .original {
    text-decoration: line-through;
    color: var(--color-text-light);
    font-size: 14px;
    display: block;
}

.plan-features {
    margin-bottom: 24px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--color-text-light);
}

.plan-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.plan-card .btn {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Benefits Section
   -------------------------------------------------------------------------- */
.benefits {
    padding: 80px 0;
    background: var(--color-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--color-text-white);
}

.benefit-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}

.cta h2 {
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Discord Banner
   -------------------------------------------------------------------------- */
.discord-banner {
    padding: 60px 0;
    background: var(--color-bg-beige);
}

.discord-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.discord-icon {
    width: 60px;
    height: 60px;
    background: #5865F2;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.discord-icon svg {
    width: 36px;
    height: 36px;
    fill: var(--color-text-white);
}

.discord-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.discord-text p {
    color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-header);
    padding: 60px 0 30px;
    color: #D7CCC8;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    margin-bottom: 8px;
    display: block;
}

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

.footer-brand p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: #D7CCC8;
}

.footer-info {
    text-align: center;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-disclaimer {
    text-align: center;
    font-size: 11px;
    opacity: 0.6;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
}

.footer-badges {
    display: flex;
    justify-content: center;
}

.badge-reclame-aqui {
    background: var(--color-success);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
}

.badge-reclame-aqui span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
}

.badge-reclame-aqui strong {
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   Page Headers (para páginas internas)
   -------------------------------------------------------------------------- */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    text-align: center;
}

.page-header h1 {
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Location Banner
   -------------------------------------------------------------------------- */
.location-banner {
    padding: 16px 0;
    background: rgba(123, 31, 162, 0.1);
    text-align: center;
}

.location-banner p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Feature Rows (alternadas)
   -------------------------------------------------------------------------- */
.feature-row {
    padding: 80px 0;
}

.feature-row:nth-child(even) {
    background: var(--color-bg-alt);
}

.feature-row-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-row:nth-child(even) .feature-row-content {
    direction: rtl;
}

.feature-row:nth-child(even) .feature-row-content > * {
    direction: ltr;
}

.feature-row-text h2 {
    margin-bottom: 16px;
}

.feature-row-text p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.feature-row-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-illustration {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: contain;
    background: var(--color-bg-alt);
    padding: 20px;
}

/* --------------------------------------------------------------------------
   Alert Banner
   -------------------------------------------------------------------------- */
.alert-banner {
    padding: 20px 0;
    background: var(--color-primary);
    text-align: center;
}

.alert-banner p {
    color: var(--color-text-white);
    font-size: 14px;
}

.alert-banner strong {
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   Scroll Arrow Animation
   -------------------------------------------------------------------------- */
.scroll-arrow {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.scroll-arrow svg {
    width: 32px;
    height: 32px;
    fill: var(--color-primary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --------------------------------------------------------------------------
   Floating Animation (moedas)
   -------------------------------------------------------------------------- */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.floating-delay-1 {
    animation-delay: 0.5s;
}

.floating-delay-2 {
    animation-delay: 1s;
}

/* --------------------------------------------------------------------------
   Cards Genéricos
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

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

/* --------------------------------------------------------------------------
   Carrinho e Checkout Layout
   -------------------------------------------------------------------------- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.cart-sidebar .card {
    position: sticky;
    top: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 16px;
}

.section-title p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.py-1 { padding-top: 8px; padding-bottom: 8px; }
.py-2 { padding-top: 16px; padding-bottom: 16px; }
.py-3 { padding-top: 24px; padding-bottom: 24px; }
.py-4 { padding-top: 32px; padding-bottom: 32px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
