/* ================================================================
   AMAZONIAX GLOBAL — Amazonia Identity Override
   Inspired by: MyAmazon CO2 Off-Seller presentation
   Palette: Dark Navy + Emerald + Gold + Teal (cores do Brasil)
   ================================================================ */

:root {
    /* Amazon palette */
    --navy: #0d1a2d;
    --navy-light: #142238;
    --navy-deep: #080f1c;
    --emerald: #00a86b;
    --emerald-dark: #008555;
    --emerald-light: #34d399;
    --gold: #e6b422;
    --gold-light: #fcd34d;
    --teal: #14b8a6;
    --sky: #38bdf8;
    
    /* Override base vars */
    --bg-primary: var(--navy-deep);
    --bg-secondary: var(--navy);
    --bg-card: rgba(13, 26, 45, 0.8);
    --bg-card-hover: rgba(20, 34, 56, 0.9);
    --bg-elevated: rgba(20, 34, 56, 0.6);
    --bg-input: rgba(8, 15, 28, 0.8);
    
    --border-color: rgba(0, 168, 107, 0.12);
    --border-hover: rgba(0, 168, 107, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.06);
    
    --text-accent: var(--emerald-light);
    --green-400: var(--emerald-light);
    --green-500: var(--emerald);
    --green-600: var(--emerald-dark);
    
    --shadow-glow: 0 0 40px rgba(0, 168, 107, 0.12);
}

/* ── Brazil stripe accent ── */
.brazil-stripe {
    width: 6px;
    background: linear-gradient(180deg, #009c3b 0%, #009c3b 33%, #002776 33%, #002776 66%, #ffdf00 66%, #ffdf00 100%);
    border-radius: 3px;
}

/* ── Hero Amazon override ── */
.hero {
    background: 
        linear-gradient(135deg, rgba(8, 15, 28, 0.92) 0%, rgba(13, 26, 45, 0.85) 50%, rgba(8, 15, 28, 0.9) 100%),
        url('https://images.unsplash.com/photo-1516026672322-bc52d61a55d5?w=1920&q=80') center/cover no-repeat;
    min-height: 100vh;
}

.hero-bg::before {
    background:
        radial-gradient(ellipse 80% 60% at 15% 50%, rgba(0, 168, 107, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 85% 30%, rgba(230, 180, 34, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
}

.hero-grid-lines {
    background-image:
        linear-gradient(rgba(0, 168, 107, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 107, 0.025) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* ── CO2 watermark ── */
.co2-watermark {
    position: absolute;
    right: -5%;
    top: 10%;
    font-size: 25vw;
    font-weight: 900;
    opacity: 0.03;
    color: var(--emerald);
    font-family: var(--font-display);
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

/* ── Amazon leaf decoration ── */
.leaf-deco {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.leaf-deco-1 {
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(ellipse at center, var(--emerald), transparent 70%);
    border-radius: 50% 0 50% 0;
    transform: rotate(-30deg);
}

.leaf-deco-2 {
    bottom: 5%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--teal), transparent 70%);
    border-radius: 0 50% 0 50%;
    transform: rotate(15deg);
}

/* ── Section with nature photo background ── */
.section-nature {
    position: relative;
    overflow: hidden;
}

.section-nature::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-nature > .container { position: relative; z-index: 1; }

.section-amazon-bg {
    background: 
        linear-gradient(180deg, var(--navy-deep) 0%, rgba(13,26,45,0.9) 20%, rgba(13,26,45,0.85) 80%, var(--navy-deep) 100%),
        url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=70') center/cover no-repeat;
}

.section-river-bg {
    background: 
        linear-gradient(180deg, var(--navy-deep) 0%, rgba(8,15,28,0.88) 30%, rgba(8,15,28,0.88) 70%, var(--navy-deep) 100%),
        url('https://images.unsplash.com/photo-1586348943529-beaae6c28db9?w=1920&q=70') center/cover no-repeat;
}

/* ── Compensator badge ── */
.compensator-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0,168,107,0.15), rgba(230,180,34,0.1));
    border: 1px solid rgba(0,168,107,0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-light);
    letter-spacing: 0.05em;
}

/* ── Impact counter ── */
.impact-counter {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 48px 0;
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--emerald-light), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-unit {
    font-size: 1rem;
    -webkit-text-fill-color: var(--gold);
    background: none;
}

.impact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── Nature feature cards ── */
.nature-card {
    background: rgba(13, 26, 45, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 168, 107, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--teal));
    opacity: 0;
    transition: var(--transition);
}

.nature-card:hover::after { opacity: 1; }
.nature-card:hover { transform: translateY(-4px); border-color: rgba(0,168,107,0.2); }

.nature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.nature-card-icon.green { background: rgba(0,168,107,0.12); }
.nature-card-icon.gold { background: rgba(230,180,34,0.12); }
.nature-card-icon.teal { background: rgba(20,184,166,0.12); }

/* ── Testimonial / quote block ── */
.quote-block {
    background: rgba(13,26,45,0.6);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 32px 40px;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 16px;
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    font-style: normal;
}

/* ── CTA with Amazon feel ── */
.cta-amazon {
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: 
        linear-gradient(180deg, var(--navy-deep), rgba(0,168,107,0.05) 50%, var(--navy-deep)),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,168,107,0.08), transparent);
}

.cta-amazon h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.cta-amazon h2 .gold { color: var(--gold); }
.cta-amazon h2 .green { color: var(--emerald-light); }

/* ── Badge overrides ── */
.badge-emerald { background: rgba(0,168,107,0.15); color: var(--emerald-light); }
.badge-gold { background: rgba(230,180,34,0.15); color: var(--gold); }
.badge-teal { background: rgba(20,184,166,0.15); color: var(--teal); }

/* ── Logo override ── */
.logo-x { color: var(--emerald) !important; }
.logo-co2 {
    font-size: 0.6em;
    vertical-align: super;
    color: var(--gold);
    font-weight: 400;
}

/* ── Stats banner Amazon ── */
.stats-amazon {
    background: linear-gradient(135deg, rgba(13,26,45,0.95), rgba(20,34,56,0.95));
    border: 1px solid rgba(0,168,107,0.15);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.stats-amazon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--teal), var(--emerald));
}

/* ── Buttons Amazon ── */
.btn-amazon {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(0,168,107,0.3);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, var(--emerald-light), var(--emerald));
    box-shadow: 0 6px 30px rgba(0,168,107,0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-gold-amazon {
    background: linear-gradient(135deg, var(--gold), #c9981a);
    color: var(--navy-deep);
    font-weight: 600;
}

.btn-gold-amazon:hover {
    box-shadow: 0 6px 30px rgba(230,180,34,0.3);
    transform: translateY(-2px);
    color: var(--navy-deep);
}

/* ── Footer Amazon ── */
.footer { background: var(--navy); }
.footer-glow {
    background: linear-gradient(90deg, transparent, var(--emerald), var(--gold), var(--emerald), transparent);
}
