/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
header {
    background: #7bc043;
    padding: 15px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.menu a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    background: #7bc043;
    color: #fff;
    padding: 80px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 1.4rem;
    color: #ffe066;
    margin-bottom: 15px;
}

.hero-text p {
    max-width: 520px;
    font-size: 1rem;
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    background: #ffd200;
    color: #333;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #ffbf00;
    transform: translateY(-2px);
}

/* HERO CARD */
.hero-card {
    display: flex;
    justify-content: center;
}

.card {
    width: 300px;
    height: 180px;
    background: linear-gradient(135deg, #ffd200, #ffbf00);
    border-radius: 16px;
    color: #333;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-top {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.card-bottom {
    position: absolute;
    bottom: 20px;
    width: calc(100% - 40px);
    display: flex;
    justify-content: space-between;
    font-weight: bold;
}

.card-tilt:hover {
    transform: rotateY(12deg) rotateX(6deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* WAVE */
.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    line-height: 0;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    color: #7bc043;
    margin-bottom: 20px;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.light-bg {
    background: #f5fdf0;
}

/* STEPS */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.step {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.step i {
    font-size: 2rem;
    color: #7bc043;
    margin-bottom: 10px;
}

/* BENEFITS */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 2rem;
    color: #7bc043;
    margin-bottom: 8px;
}

/* FORM */
.form {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: auto;
}

.form h3 {
    margin: 30px 0 15px;
    color: #7bc043;
}

.form input,
.form select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
}

.form input:focus,
.form select:focus {
    outline: none;
    border-color: #7bc043;
    box-shadow: 0 0 0 2px rgba(123,192,67,0.2);
}

.form button {
    margin-top: 20px;
}

/* SUCCESS & ERROR */
.success-box {
    background: #e6ffdc;
    border: 2px solid #7bc043;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.success-box h3 {
    color: #2f7d1f;
    margin-bottom: 10px;
}

.success-box p {
    font-size: 1.1rem;
}

.error-msg {
    color: #c0392b;
    text-align: center;
    margin-top: 20px;
}

/* FOOTER */
.footer {
    background: #7bc043;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero {
        padding: 140px 0 160px;
    }

    .form {
        padding: 25px;
    }
}

/* --- ESTILO CELEBRATIVO DO MODAL --- */
.modal-card-premium.success-variant {
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
    border: 3px solid #28a745;
}

.icon-celebration {
    font-size: 80px;
    margin-bottom: 20px;
    display: inline-block;
    animation: celebrate 1s infinite alternate cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-title-joy.v2 {
    color: #155724;
    font-size: 32px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
    margin-top: 5px;
}

.motivational-phrase {
    font-style: italic;
    color: #2d6a4f;
    font-size: 18px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    line-height: 1.5;
}

.btn-success-glow {
    background: linear-gradient(to right, #28a745, #218838);
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.btn-success-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(40, 167, 69, 0.6);
}

/* Animações */
@keyframes celebrate {
    0% { transform: scale(1) rotate(-5deg); }
    100% { transform: scale(1.2) rotate(5deg); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}
