/* =====================================================
   CURSO ATIVAÇÃO — LANDING PAGE STYLES
   ===================================================== */

:root {
    --primary: #1565C0;
    --primary-dark: #0d47a1;
    --primary-light: #1976d2;
    --secondary: #e65100;
    --accent: #f9a825;
    --gold: #ffc107;
    --success: #2e7d32;
    --hero-start: #0d1b4b;
    --hero-end: #1a237e;
    --dark-gradient-start: #0d1b2a;
    --dark-gradient-end: #1a237e;
    --text-gold: #ffd54f;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; overflow-x: hidden; }

/* ===== URGENCY BAR ===== */
.urgency-bar {
    background: linear-gradient(90deg, #6a8e02, #7BA302, #6a8e02);
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
    color: #fff;
    padding: 8px 0;
    font-size: .85rem;
    font-weight: 500;
    text-align: center;
}
@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== NAVBAR ===== */
#mainNav {
    background: rgba(10, 20, 60, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,.3);
    transition: all .3s;
    padding: 12px 0;
}
#mainNav .navbar-brand { padding: 0; }
.logo-img { filter: brightness(1); transition: .3s; }
.logo-img:hover { filter: brightness(1.2); }
#mainNav .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem .8rem;
    transition: .2s;
}
#mainNav .nav-link:hover { color: #fff !important; }
.btn-cta-nav {
    background: linear-gradient(135deg, #7BA302, #6a8e02);
    color: #fff !important;
    padding: .45rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .85rem;
    transition: .3s;
    text-decoration: none;
}
.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123,163,2,.4);
}

/* ===== HERO ===== */
.hero-section {
    background: linear-gradient(135deg, var(--hero-start) 0%, #1a237e 50%, #283593 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: .07;
}
.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #4fc3f7, transparent);
    top: -200px; right: -200px;
    animation: pulse 6s ease-in-out infinite;
}
.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #ce93d8, transparent);
    bottom: -150px; left: -100px;
    animation: pulse 8s ease-in-out infinite reverse;
}
.shape-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--gold), transparent);
    top: 50%; left: 40%;
    opacity: .05;
    animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.min-vh-hero { min-height: 70vh; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--text-gold);
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem 1rem;
    border-radius: 50px;
    letter-spacing: .5px;
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .75rem;
    letter-spacing: -1px;
}
.text-gradient {
    background: linear-gradient(90deg, var(--accent), #ff8f00, #f57f17);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,.85);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.hero-subtitle strong { color: var(--text-gold); }

/* Stats cards no hero */
.stat-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--border-radius);
    padding: .75rem;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: .3s;
}
.stat-card:hover { background: rgba(255,255,255,.15); transform: translateY(-3px); }
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-gold);
    line-height: 1;
}
.stat-label { font-size: .75rem; color: rgba(255,255,255,.7); margin-top: .25rem; }

/* Hero CTA buttons */
.btn-hero-primary {
    background: linear-gradient(135deg, #7BA302, #6a8e02);
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: .3s;
    border: none;
    box-shadow: 0 5px 20px rgba(123,163,2,.4);
}
.btn-hero-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(123,163,2,.5);
}
.btn-hero-secondary {
    background: transparent;
    color: rgba(255,255,255,.9);
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(255,255,255,.4);
    transition: .3s;
}
.btn-hero-secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,.8);
    background: rgba(255,255,255,.1);
}

/* PIX card visual */
.hero-visual { position: relative; }
.pix-card {
    width: 260px; height: 160px;
    background: linear-gradient(135deg, #1565C0, #7b1fa2);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    position: relative;
    z-index: 2;
}
.pix-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
}
.pix-card-inner { position: relative; z-index: 1; color: #fff; }
.pix-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 5px; }
.pix-amount { font-weight: 800; font-size: 1.2rem; letter-spacing: 2px; opacity: .8; }
.pix-value { font-size: 2rem; font-weight: 900; color: var(--text-gold); }
.pix-label { font-size: .75rem; opacity: .7; }
@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.floating { animation: floating 3s ease-in-out infinite; }

.coupon-badges { position: relative; margin-top: -30px; margin-left: 40px; }
.coupon-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gold), #ff8f00);
    color: #333;
    font-size: .78rem;
    font-weight: 700;
    padding: .4rem .8rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(249,168,37,.5);
    margin: 5px;
}
.cb-1 { animation: floating 3s 0s ease-in-out infinite; }
.cb-2 { animation: floating 3s .5s ease-in-out infinite; }
.cb-3 { animation: floating 3s 1s ease-in-out infinite; }

/* Hero wave */
.hero-wave { line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.bg-light-custom { background: #f8faff; }
.section-header { margin-bottom: 3rem; }
.section-badge {
    display: inline-block;
    background: rgba(21,101,192,.1);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: .75rem;
}
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #1a237e;
    line-height: 1.2;
    margin-bottom: .75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== STEP CARDS ===== */
.step-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: .3s;
    position: relative;
    border: 2px solid transparent;
    height: 100%;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.step-card-highlight {
    background: linear-gradient(135deg, var(--primary), #283593);
    color: #fff;
    border-color: var(--primary);
}
.step-card-highlight h5 { color: #fff; }
.step-card-highlight p { color: #fff; }
.step-card-highlight .step-number { color: rgba(255,255,255,.3); }
.step-card-highlight .step-icon { background: rgba(255,255,255,.15); color: var(--text-gold); }
.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(21,101,192,.1);
    line-height: 1;
    margin-bottom: .5rem;
    font-variant-numeric: tabular-nums;
}
.step-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(21,101,192,.1), rgba(21,101,192,.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: .3s;
}
.step-card:hover .step-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.step-card h5 { font-weight: 700; margin-bottom: .5rem;  }
.step-card p {  font-size: .9rem; margin: 0; }

/* ===== DARK SECTION ===== color: #666; color: #1a237e; */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-gradient-start), var(--dark-gradient-end));
    position: relative;
}
.text-white-70 { color: rgba(255,255,255,.7); }
.text-white-60 { color: rgba(255,255,255,.6); }
.text-white-40 { color: rgba(255,255,255,.4); }
.text-gold { color: var(--text-gold) !important; }
.section-badge-light {
    display: inline-block;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--text-gold);
    font-size: .8rem;
    font-weight: 700;
    padding: .35rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Milestone list */
.milestone-list { display: flex; flex-direction: column; gap: 12px; }
.milestone-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 14px 16px;
    transition: .3s;
}
.milestone-item:hover { background: rgba(255,255,255,.1); }
.milestone-max {
    background: rgba(249,168,37,.1);
    border-color: rgba(249,168,37,.3);
}
.milestone-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.milestone-icon.bronze { background: rgba(205,127,50,.2); color: #cd7f32; }
.milestone-icon.silver { background: rgba(150,150,150,.2); color: #c0c0c0; }
.milestone-icon.gold { background: rgba(255,193,7,.2); color: #ffc107; }
.milestone-icon.diamond { background: rgba(249,168,37,.3); color: var(--gold); }
.milestone-info { flex: 1; }
.milestone-info strong { color: #fff; font-size: .95rem; display: block; }
.milestone-info span { color: rgba(255,255,255,.6); font-size: .8rem; }
.milestone-badge {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .6rem;
    border-radius: 50px;
    white-space: nowrap;
}
.badge-gold {
    background: linear-gradient(135deg, var(--gold), #ff8f00) !important;
    color: #333 !important;
}

/* Progress card */
.progress-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.progress-card-header {
    background: linear-gradient(135deg, var(--primary), #283593);
    color: #fff;
    padding: 16px 24px;
    font-weight: 600;
    font-size: .95rem;
}
.progress-card-body { padding: 24px; }
.progress-bar-custom {
    height: 20px;
    border-radius: 10px;
    position: relative;
    overflow: visible;
}
.progress-milestone {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    z-index: 5;
}
.progress-coupons {
    background: rgba(249,168,37,.1);
    border: 1px solid rgba(249,168,37,.3);
    border-radius: 8px;
    padding: 10px;
    font-size: .9rem;
    margin-top: 12px;
}

/* ===== FORM SECTION ===== */
.form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,.1);
    overflow: hidden;
}
.form-card-header {
    background: linear-gradient(135deg, var(--primary), #283593);
    color: #fff;
    padding: 20px 28px;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}
.form-card-body { padding: 28px; }
.form-section-title {
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #555;
    margin-bottom: 1rem;
}
.form-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}
.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 1px;
    background: #e0e0e0;
}
.form-divider span {
    position: relative;
    background: #fff;
    padding: 0 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(21,101,192,.15);
}
.form-label { font-weight: 600; font-size: .9rem; color: #444; }

/* Submit button */
.btn-submit {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: #fff;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    transition: .3s;
    box-shadow: 0 5px 20px rgba(46,125,50,.4);
}
.btn-submit:hover {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46,125,50,.5);
    color: #fff;
}
.btn-submit:disabled { opacity: .7; transform: none; }

/* Success panel */
.success-panel {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(46,125,50,.05), rgba(46,125,50,.1));
    border: 2px solid rgba(46,125,50,.3);
    border-radius: 16px;
}
.success-icon { font-size: 3rem; color: var(--success); margin-bottom: .75rem; }
.success-panel h5 { color: var(--success); font-weight: 800; font-size: 1.3rem; }
.success-panel p { color: #555; margin-bottom: 1rem; }

/* Brinde banner */
.brinde-banner {
    background: linear-gradient(135deg, var(--gold), #ff8f00);
    color: #333;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: glow 1.5s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { box-shadow: 0 0 10px rgba(249,168,37,.5); }
    50% { box-shadow: 0 0 25px rgba(249,168,37,.8); }
}

/* ===== WINNERS ===== */
.winner-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .4s;
    border: 2px solid transparent;
}
.winner-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.winner-card-featured {
    border-color: var(--gold);
    box-shadow: 0 8px 30px rgba(249,168,37,.3);
}
.winner-card-featured:hover { border-color: var(--gold); }
.winner-img-wrap { position: relative; overflow: hidden; height: 280px; }
.winner-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: .5s;
}
.winner-card:hover .winner-img { transform: scale(1.05); }
.winner-badge {
    position: absolute;
    top: 15px; right: 15px;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold), #ff8f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
}
.winner-info { padding: 1.2rem; }
.winner-prize { font-weight: 700; color: var(--primary); font-size: .95rem; margin-bottom: .25rem; }
.winner-date { color: #999; font-size: .8rem; margin-bottom: .5rem; }
.winner-quote { font-style: italic; color: #555; font-size: .85rem; border-left: 3px solid var(--gold); padding-left: .75rem; }

/* ===== RULES ===== */
.rules-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid #e8eaf6;
}
.rule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
}
.rule-item:last-child { border-bottom: none; }
.rule-icon { font-size: 1.1rem; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer-section {
    background: linear-gradient(135deg, #0d1b2a, #1a237e);
    padding: 60px 0 30px;
}
.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}
.footer-contact, .footer-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li, .footer-schedule li {
    color: rgba(255,255,255,.7);
    font-size: .88rem;
    padding: .4rem 0;
    line-height: 1.5;
}
.logo-footer { filter: brightness(0) invert(1); opacity: .9; }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: .3s;
    text-decoration: none;
}
.social-link.whatsapp { background: #25d366; color: #fff; }
.social-link:hover { transform: translateY(-3px) scale(1.1); box-shadow: 0 5px 15px rgba(0,0,0,.3); }

/* ===== ALERT STYLES ===== */
#formAlert.alert-danger { border-left: 4px solid #dc3545; }
#formAlert.alert-success { border-left: 4px solid #28a745; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .section { padding: 50px 0; }
    .hero-section { padding: 50px 0 40px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .btn-hero-primary, .btn-hero-secondary { padding: .7rem 1.5rem; font-size: .9rem; }
    .form-card-body { padding: 20px; }
    .milestone-item { padding: 10px 12px; }
}
@media (max-width: 576px) {
    .urgency-bar { font-size: .75rem; }
    .stat-number { font-size: 1.4rem; }
    .winner-img-wrap { height: 220px; }
}
