/* ===================================
   Rapiduu - Site Institucional CSS
   =================================== */

/* Reset e Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #22C55E;
    color: #ffffff;
    border-color: #22C55E;
}

.btn-primary:hover {
    background-color: #16A34A;
    border-color: #16A34A;
}

.btn-outline {
    background-color: transparent;
    color: #22C55E;
    border-color: #22C55E;
}

.btn-outline:hover {
    background-color: #22C55E;
    color: #ffffff;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ===================================
   Header
   =================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a:hover {
    color: #22C55E;
}

.nav-menu .fa-chevron-down {
    font-size: 10px;
    transition: transform 0.2s ease;
}

/* Dropdown Menu */
.nav-menu .has-dropdown {
    position: relative;
}

.nav-menu .has-dropdown > a {
    cursor: pointer;
}

.nav-menu .has-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    margin-top: 12px;
    z-index: 1000;
}

.nav-menu .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563 !important;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #22C55E;
    color: #ffffff !important;
}

.dropdown-menu a.active {
    background-color: #22C55E;
    color: #ffffff !important;
}

.dropdown-menu a.active:hover {
    background-color: #16A34A;
    color: #ffffff !important;
}

/* Ensure parent link stays visible */
.nav-menu .has-dropdown > a.active {
    color: #22C55E !important;
}

.nav-menu .has-dropdown:hover > a.active {
    color: #22C55E !important;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #6b7280;
    font-size: 18px;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #22C55E;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1f2937;
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #dcfce7;
    color: #16A34A;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 24px;
}

.text-green {
    color: #22C55E;
}

.hero-description {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* App Download */
.app-download {
    border-top: 1px solid #e5e7eb;
    padding-top: 32px;
}

.download-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.store-badges {
    display: flex;
    gap: 12px;
}

.store-badge {
    display: flex;
    align-items: center;
    height: 44px;
    transition: opacity 0.2s ease;
}

.store-badge:hover {
    opacity: 0.8;
}

.store-badge img {
    height: 100%;
    width: auto;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    min-height: 400px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

/* ===================================
   How it Works Section
   =================================== */
.how-it-works-section {
    padding: 80px 0;
    background-color: #ecfdf5;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: #f0fdf4;
    border-radius: 16px;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #374151;
}


.feature-list li i {
    color: #22C55E;
    font-size: 16px;
    flex-shrink: 0;
}

/* ===================================
   Advantages Section
   =================================== */
.advantages-section {
    padding: 80px 0 0;
    background-color: #ffffff;
    position: relative;
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.advantages-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 40px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
}

.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #f0fdf4;
    border-radius: 12px;
    flex-shrink: 0;
}

.advantage-icon svg {
    width: 24px;
    height: 24px;
}

.advantage-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.advantage-content p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.advantages-image {
    position: relative;
}

.advantages-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advantages-bar {
    height: 8px;
    background-color: #22C55E;
    margin-top: 80px;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 80px 0;
    background-color: #16A34A;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-white {
    background-color: #ffffff;
    color: #16A34A;
    border-color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: #f0fdf4;
    border-color: #f0fdf4;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-white:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-dark {
    background-color: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
    background-color: #0f172a;
    border-color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-dark:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background-color: #ffffff;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 380px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    display: flex;
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #1e3a5f;
}


.footer-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #374151;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #22C55E;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #374151;
    font-size: 18px;
    transition: color 0.2s ease;
}

.footer-social a:hover {
    color: #22C55E;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.footer-app-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-badge-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.app-badge-link:hover {
    opacity: 0.8;
}

.app-badge-link img {
    height: 44px;
    width: auto;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 15px;
    color: #6b7280;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #22C55E;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .app-download {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .advantages-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .advantages-text h2 {
        font-size: 32px;
        text-align: center;
    }

    .advantages-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #ffffff;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-actions .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .social-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-section {
        padding: 40px 0 60px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-app-badges {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        height: 70px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .store-badges {
        flex-direction: column;
        align-items: center;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .cta-section {
        padding: 60px 0;
    }
}

/* ===================================
   Empresas Page Specific Styles
   =================================== */
.empresas-hero {
    background-color: #f8faf9;
}

.empresas-hero .hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
}

.empresas-hero .hero-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 480px;
}

.empresas-hero .hero-buttons {
    margin-bottom: 0;
}

.empresas-hero-image img {
    border-radius: 16px;
    min-height: 450px;
    object-fit: cover;
    object-position: center top;
}

.nav-menu a.active {
    color: #22C55E;
    font-weight: 600;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.why-choose-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.why-choose-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.why-choose-section .section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #ecfdf5;
    border-radius: 12px;
    margin-bottom: 20px;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Why Choose Section */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .why-choose-section .section-header h2 {
        font-size: 32px;
    }
}

/* ===================================
   Benefits Section (Empresas Page)
   =================================== */
.benefits-section {
    padding: 80px 0;
    background-color: #f8faf9;
}

.benefits-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.benefits-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.benefits-section .section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.benefit-check {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #ecfdf5;
    border-radius: 50%;
}

.benefit-check svg {
    width: 28px;
    height: 28px;
}

.benefit-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Responsive for Benefits Section */
@media (max-width: 768px) {
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
    }

    .benefits-section .section-header h2 {
        font-size: 32px;
    }
}

/* ===================================
   Diferencial Section (Empresas Page)
   =================================== */
.diferencial-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.diferencial-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.diferencial-section .section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.diferencial-section .section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.diferencial-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.diferencial-card {
    background-color: #f8faf9;
    border-left: 4px solid #22C55E;
    border-radius: 8px;
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.diferencial-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.diferencial-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.diferencial-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Responsive for Diferencial Section */
@media (max-width: 768px) {
    .diferencial-section .section-header h2 {
        font-size: 32px;
    }

    .diferencial-card {
        padding: 24px;
    }
}

/* ===================================
   Repositores Page Specific Styles
   =================================== */
.repositores-hero {
    background-color: #f8faf9;
}

.repositores-hero .hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
}

.repositores-hero .hero-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 480px;
}

.repositores-hero .hero-buttons {
    margin-bottom: 0;
}

.repositores-hero-image img {
    border-radius: 16px;
    min-height: 450px;
    object-fit: cover;
    object-position: center top;
}

.repositores-badge {
    background-color: #dcfce7;
    color: #16a34a;
}

/* Repositores Steps Section */
.repositores-steps {
    padding: 80px 0;
    background-color: #ffffff;
}

.repositores-steps .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.repositores-steps .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.repositores-steps .section-header p {
    font-size: 18px;
    color: #6b7280;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #22C55E;
    color: white;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Steps Flow Animation */
.steps-grid {
    position: relative;
}

.step-card {
    position: relative;
}

.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #22C55E 0%, #86efac 50%, #22C55E 100%);
    background-size: 200% 100%;
    animation: flowLine 2s ease-in-out infinite;
}

@keyframes flowLine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.step-number {
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
}

/* CTA Repositores */
.cta-repositores {
    background-color: #16A34A;
}

.cta-repositores .cta-content h2 {
    font-size: 32px;
}

.cta-repositores .cta-content p {
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-repositores .btn-white {
    background-color: #ffffff;
    color: #16A34A;
    border: none;
}

.cta-repositores .btn-white:hover {
    background-color: #f0fdf4;
}

.cta-repositores .btn-dark {
    background-color: #1f2937;
    color: white;
    border: none;
}

.cta-repositores .btn-dark:hover {
    background-color: #374151;
}

/* Responsive for Repositores Page */
@media (max-width: 768px) {
    .repositores-hero .hero-text h1 {
        font-size: 32px;
    }
    
    .repositores-hero-image img {
        min-height: 300px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .step-card:not(:last-child)::after {
        display: none;
    }

    .repositores-steps .section-header h2 {
        font-size: 28px;
    }

    .cta-repositores .cta-content h2 {
        font-size: 24px;
    }
}

/* ===================================
   Sobre Page Specific Styles
   =================================== */
.sobre-hero {
    background-color: #f8faf9;
}

.sobre-hero .hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #1f2937;
}

.sobre-hero .hero-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 480px;
}

.sobre-hero .hero-buttons {
    margin-bottom: 0;
}

.sobre-hero-image img {
    border-radius: 16px;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

.sobre-badge {
    background-color: #dbeafe;
    color: #2563eb;
}

/* Nossa História Section */
.historia-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.historia-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.historia-section .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
}

.historia-content {
    max-width: 800px;
    margin: 0 auto;
}

.historia-content p {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 24px;
}

.historia-content p:last-child {
    margin-bottom: 0;
}

/* Missão, Visão e Valores Section */
.mvv-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px;
    border-top: 4px solid #22C55E;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mvv-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.mvv-icon {
    width: 56px;
    height: 56px;
    background-color: #ecfdf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.mvv-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* O Que Fazemos Section */
.o-que-fazemos-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.o-que-fazemos-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.o-que-fazemos-section .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
}

.fazemos-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.fazemos-card {
    background-color: #ffffff;
    border-left: 4px solid #22C55E;
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.fazemos-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fazemos-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.fazemos-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

/* Nosso Impacto Section */
.impacto-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.impacto-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.impacto-section .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.impacto-section .section-header p {
    font-size: 16px;
    color: #6b7280;
}

.impacto-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.impacto-item {
    text-align: center;
}

.impacto-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: #22C55E;
    line-height: 1;
    margin-bottom: 8px;
}

.impacto-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* Counter Animation */
.impacto-number {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.impacto-number.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Nossa Equipe Section */
.equipe-section {
    padding: 80px 0;
    background-color: #f9fafb;
}

.equipe-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.equipe-icon {
    width: 80px;
    height: 80px;
    background-color: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.equipe-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.equipe-content p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
}

/* CTA Sobre */
.cta-sobre {
    background-color: #16A34A;
}

.cta-sobre .cta-content h2 {
    font-size: 32px;
}

.cta-sobre .cta-content p {
    font-size: 16px;
    margin-bottom: 32px;
}

.cta-sobre .btn-white {
    background-color: #ffffff;
    color: #16A34A;
    border: none;
}

.cta-sobre .btn-white:hover {
    background-color: #f0fdf4;
}

/* Responsive for Sobre Page */
@media (max-width: 768px) {
    .sobre-hero .hero-text h1 {
        font-size: 32px;
    }
    
    .sobre-hero-image img {
        min-height: 300px;
    }

    .historia-section .section-header h2 {
        font-size: 28px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mvv-card {
        padding: 24px;
    }

    .o-que-fazemos-section .section-header h2 {
        font-size: 28px;
    }

    .fazemos-card {
        padding: 20px 24px;
    }

    .impacto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .impacto-number {
        font-size: 36px;
    }

    .equipe-content h2 {
        font-size: 26px;
    }

    .cta-sobre .cta-content h2 {
        font-size: 24px;
    }
}

/* ===================================
   Contato Page Specific Styles
   =================================== */
.contato-hero {
    background-color: #f8faf9;
    padding: 60px 0 80px;
}

.contato-hero-content {
    justify-content: center;
    text-align: center;
}

.contato-hero .hero-text {
    max-width: 700px;
    margin: 0 auto;
}

.contato-hero .hero-text h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: #1f2937;
}

.contato-hero .hero-description {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.contato-badge {
    background-color: #fef3c7;
    color: #d97706;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: #ecfdf5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-text a {
    font-size: 15px;
    color: #6b7280;
    transition: color 0.2s ease;
}

.contact-text a:hover {
    color: #22C55E;
}

.contact-social h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #f3f4f6;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background-color: #22C55E;
    color: #ffffff;
}

/* Contact Form */
.contact-form-container {
    background-color: #f9fafb;
    border-radius: 16px;
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===================================
   NEW Contato Page Styles
   =================================== */
.contato-hero-new {
    background-color: #16A34A;
    padding: 60px 0;
    text-align: center;
}

.contato-hero-new h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.contato-hero-new p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin: 0 auto;
}

/* Contact Section New */
.contact-section-new {
    padding: 60px 0 80px;
    background-color: #f9fafb;
}

.contact-grid-new {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Contact Form Card */
.contact-form-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 28px;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Contact Info Side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 24px;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background-color: #ecfdf5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22C55E;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contact-info-text span,
.contact-info-text a {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.contact-info-text a:hover {
    color: #22C55E;
}

/* Ajuda Rápida Card */
.ajuda-rapida-card {
    background-color: #22C55E;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
}

.ajuda-rapida-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.ajuda-rapida-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-outline-green {
    display: inline-block;
    padding: 12px 24px;
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-green:hover {
    background-color: #ffffff;
    color: #22C55E;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-section .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question span {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.faq-question i {
    color: #9ca3af;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
}

.faq-answer a {
    color: #22C55E;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive for NEW Contato Page */
@media (max-width: 768px) {
    .contato-hero-new h1 {
        font-size: 28px;
    }

    .contact-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-card {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-info-card {
        padding: 24px;
    }

    .faq-section .section-header h2 {
        font-size: 26px;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-item.open .faq-answer {
        padding: 0 20px 16px;
    }
}

/* Responsive for Contato Page (old) */
@media (max-width: 768px) {
    .contato-hero .hero-text h1 {
        font-size: 28px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        padding: 24px;
    }

    .social-buttons {
        flex-direction: column;
    }
}

/* ===================================
   Login Page Styles
   =================================== */
.login-section {
    min-height: calc(100vh - 80px - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 50%, #ecfdf5 100%);
}

.login-wrapper {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.login-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #6b7280;
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 16px;
    pointer-events: none;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.input-wrapper input::placeholder {
    color: #9ca3af;
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #6b7280;
}

.form-options {
    display: flex;
    justify-content: flex-end;
}

.forgot-password {
    font-size: 14px;
    font-weight: 500;
    color: #22C55E;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #16A34A;
    text-decoration: underline;
}

.login-form .btn-block {
    margin-top: 8px;
}

/* Login Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.login-divider span {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
}

.login-info {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin-top: 24px;
}

/* ===================================
   Modal Styles (Login Page)
   =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-container {
    transform: translateY(0);
}

.modal-container.modal-lg {
    max-width: 640px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

.modal-body {
    padding: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-grid .form-group.full-width {
    grid-column: span 2;
}

.form-grid .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.form-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Checkbox Wrapper */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #22C55E;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.checkbox-label a {
    color: #22C55E;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 0 0 16px 16px;
}

/* ===================================
   Toast Notification
   =================================== */
.toast-notification {
    position: fixed;
    top: 24px;
    right: 24px;
    background-color: #1f2937;
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content i {
    color: #fbbf24;
    font-size: 18px;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #ffffff;
}

/* Responsive for Login Page */
@media (max-width: 768px) {
    .login-section {
        padding: 40px 0;
    }

    .login-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .form-group.full-width {
        grid-column: span 1;
    }

    .modal-container {
        margin: 20px;
        max-height: calc(100vh - 40px);
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }

    .toast-notification {
        left: 16px;
        right: 16px;
        top: 16px;
    }
}

/* ===================================
   Registration Page Styles
   =================================== */
.register-section {
    min-height: 100vh;
    padding: 60px 0;
    background-color: #f9fafb;
}

.register-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Register Header */
.register-header {
    text-align: center;
    margin-bottom: 32px;
}

.register-icon {
    width: 64px;
    height: 64px;
    background-color: #22C55E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.register-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.register-header p {
    font-size: 16px;
    color: #6b7280;
}

/* Register Card */
.register-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.register-card .card-header {
    margin-bottom: 24px;
}

.register-card .card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.register-card .card-header p {
    font-size: 14px;
    color: #6b7280;
}

/* Account Type Toggle */
.account-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: transparent;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.type-btn:first-child {
    border-right: 1px solid #e5e7eb;
}

.type-btn:hover:not(:disabled):not(.active) {
    background-color: #e5e7eb;
}

.type-btn.active {
    background-color: #ffffff;
    color: #1f2937;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    z-index: 1;
    border-radius: 8px;
    margin: 3px;
    border-right: none !important;
}

.type-btn:disabled {
    cursor: default;
}

.type-btn:disabled:not(.active) {
    opacity: 0.5;
}

.type-btn svg {
    flex-shrink: 0;
}

/* CNPJ Section */
.cnpj-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===================================
   Legal Pages (Termos e Privacidade)
   =================================== */
.legal-content-section {
    padding: 60px 0 80px;
    background-color: #ffffff;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 16px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.legal-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
}

.legal-section ul li:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: #22C55E;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #16A34A;
}

.legal-section strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content-section {
        padding: 40px 0 60px;
    }

    .legal-section {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 15px;
    }
}

/* ===================================
   Repositor Registration - Biometry & Camera
   =================================== */
.cpf-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.biometry-section {
    padding: 0;
}

.biometry-title {
    font-size: 16px;
    font-weight: 600;
    color: #22C55E;
    margin-bottom: 4px;
    display: block;
}

.biometry-description {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.camera-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.camera-preview {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background-color: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.camera-preview video,
.camera-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.camera-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-placeholder svg {
    opacity: 0.5;
}

.btn-camera {
    min-width: 180px;
}

.btn-camera i {
    margin-right: 8px;
}

/* Document Upload Section */
.document-upload-section {
    padding: 0;
}

.document-upload-section .file-upload-area {
    min-height: 150px;
}

/* Address Form */
.address-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Repositor Form */
.repositor-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Responsive Camera */
@media (max-width: 768px) {
    .camera-preview {
        max-width: 100%;
    }
    
    .btn-camera {
        width: 100%;
    }
}

/* Form Group (Registration) */
.register-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.register-card .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.register-card .form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.register-card .form-group input:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.register-card .form-group input::placeholder {
    color: #9ca3af;
}

.register-card .form-hint {
    font-size: 13px;
    color: #22C55E;
    margin-top: 4px;
}

/* Form Row */
.register-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Repositor Form */
.repositor-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Company Data Display */
.company-data {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.data-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.data-field.full-width {
    width: 100%;
}

.data-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.data-value {
    font-size: 15px;
    color: #6b7280;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.data-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Socios Table */
.socios-table {
    margin-top: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.socios-table table {
    width: 100%;
    border-collapse: collapse;
}

.socios-table th {
    background-color: #f9fafb;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.socios-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.socios-table tr:last-child td {
    border-bottom: none;
}

.socios-table .text-center {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
}

/* Contact Form Section */
.contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

/* Password Form Section */
.password-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.password-form-section .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-form-section .input-wrapper input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.password-form-section .input-wrapper input:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.password-form-section .toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.password-form-section .toggle-password:hover {
    color: #6b7280;
}

/* Form Actions */
.form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.form-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-back {
    background-color: #ffffff;
    color: #374151;
    border-color: #e5e7eb;
}

.btn-back:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

/* Toast Success State */
.toast-notification.success .toast-content i {
    color: #22C55E;
}

/* Bank Data Section */
.bank-data-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.bank-data-section .section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

/* Select Styling */
.register-card .form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.register-card .form-group select:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Document Section */
.document-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

/* File Upload Area */
.file-upload-area {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fafafa;
}

.file-upload-area:hover {
    border-color: #22C55E;
    background-color: #f0fdf4;
}

.file-upload-area.has-file {
    border-color: #22C55E;
    background-color: #f0fdf4;
}

.file-upload-area.dragover {
    border-color: #22C55E;
    background-color: #f0fdf4;
    transform: scale(1.02);
}

.upload-icon {
    margin-bottom: 12px;
}

.upload-text {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 13px;
    color: #22C55E;
}

.file-name {
    font-size: 14px;
    font-weight: 500;
    color: #22C55E;
    margin-top: 12px;
    padding: 8px 16px;
    background-color: #dcfce7;
    border-radius: 6px;
    display: inline-block;
}

/* Textarea Styling */
.register-card .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background-color: #ffffff;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.register-card .form-group textarea:focus {
    outline: none;
    border-color: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.register-card .form-group textarea::placeholder {
    color: #9ca3af;
}

/* Terms Section */
.terms-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.terms-box {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
}

.terms-box .terms-icon {
    margin-bottom: 12px;
}

.terms-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.terms-box p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 12px;
}

.terms-box p:last-of-type {
    margin-bottom: 0;
}

.terms-box strong {
    color: #374151;
}

/* Terms Checkbox - Fix overflow */
.terms-checkbox {
    width: 100%;
    overflow: visible;
}

.terms-checkbox .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.terms-checkbox .checkbox-wrapper input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
}

.terms-checkbox .checkbox-label {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    word-wrap: break-word;
}

.terms-checkbox .checkbox-label a {
    color: #22C55E;
    text-decoration: none;
    font-weight: 500;
}

.terms-checkbox .checkbox-label a:hover {
    text-decoration: underline;
}

/* Success Content */
.success-content {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin-bottom: 24px;
}

.success-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.success-message {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 8px;
}

.success-instructions {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 24px;
}

.success-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #f0fdf4;
    border: 1px solid #22C55E;
    border-radius: 8px;
    margin-bottom: 32px;
}

.success-email i {
    color: #22C55E;
    font-size: 18px;
}

.success-email span {
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

/* Responsive for Registration Page */
@media (max-width: 768px) {
    .register-section {
        padding: 40px 16px;
    }

    .register-card {
        padding: 24px 20px;
    }

    .register-header h1 {
        font-size: 26px;
    }

    .account-type-toggle {
        grid-template-columns: 1fr;
    }

    .type-btn:first-child {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .register-card .form-row,
    .data-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .form-actions .btn-back {
        order: 2;
    }

    .form-actions .btn-primary {
        order: 1;
    }

    .socios-table {
        overflow-x: auto;
    }

    .socios-table table {
        min-width: 400px;
    }

    .file-upload-area {
        padding: 24px 16px;
    }

    .terms-box {
        padding: 20px 16px;
    }

    .success-content {
        padding: 30px 16px;
    }

    .success-content h2 {
        font-size: 24px;
    }
}
