/* Variáveis de cores */
:root {
    --primary-color: #0693e3;
    --primary-dark: #0570b0;
    --secondary-color: #00d084;
    --accent-color: #25D366;
    --dark-bg: #1a1a2e;
    --card-bg: #ffffff;
    --text-dark: #1a1a2e;
    --text-light: #6c757d;
    --gradient-primary: linear-gradient(135deg, #0693e3 0%, #00d084 100%);
    --gradient-hover: linear-gradient(135deg, #0570b0 0%, #00b070 100%);
}

/* Reset e base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    padding-top: 70px;
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 90px;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(6, 147, 227, 0.4);
    color: white;
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 147, 227, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-description strong {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Steps Section */
.steps-section {
    padding: 5rem 0;
    background: white;
}

.section-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 147, 227, 0.15);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

.steps-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: white;
}

.benefits-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.benefits-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(6, 147, 227, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.benefit-icon .material-icons {
    font-size: 32px;
    color: white;
}

.benefit-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Features Wrapper */
.features-wrapper {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem;
}

.features-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .material-icons {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--gradient-primary);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Form Section */
.form-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.6s ease-out;
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Cards */
.section-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(6, 147, 227, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

/* Form Controls */
.form-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(6, 147, 227, 0.15);
}

.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Submit Button */
.btn-submit {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(6, 147, 227, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(6, 147, 227, 0.5);
    color: white;
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Check */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Confirmation Container */
.confirmation-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.confirmation-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confirmation-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.confirmation-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.confirmation-subtext {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(6, 147, 227, 0.1) 0%, rgba(0, 208, 132, 0.1) 100%);
    padding: 1rem;
    border-radius: 10px;
}

.btn-new-indication {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-new-indication:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer Octalog */
.footer-octalog {
    background: #1a1a2e;
    color: #ffffff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 150px;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-description-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.app-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.app-btn img {
    height: 40px;
    transition: transform 0.3s ease;
}

.app-btn:hover img {
    transform: scale(1.05);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom {
    padding-top: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Spinner para loading */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Responsividade */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .steps-section,
    .form-section,
    .benefits-section {
        padding: 3rem 0;
    }

    .section-title-main {
        font-size: 1.5rem;
    }

    .section-card {
        padding: 1.25rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .btn-submit {
        font-size: 1rem;
        padding: 0.875rem 2rem;
        width: 100%;
    }

    .confirmation-card {
        padding: 2rem;
    }

    .success-icon {
        font-size: 4rem;
    }

    .confirmation-title {
        font-size: 1.5rem;
    }

    .benefits-title {
        font-size: 1.5rem;
    }

    .benefit-card {
        padding: 1.5rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
    }

    .benefit-icon .material-icons {
        font-size: 28px;
    }

    .features-wrapper {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .footer-octalog {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .app-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .step-card {
        padding: 1.5rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}

