/* =============== COMPONENTS =============== */

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-lg);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    line-height: 1;
}

.btn-primary {
    background: var(--gradient-green);
    color: var(--text-white);
    box-shadow: 0 4px 20px var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-green);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--gradient-accent);
    border-color: var(--purple-accent);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-outline:hover {
    background: var(--accent-green);
    color: var(--text-white);
}

/* Button sizes */
.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-base);
}

.btn-lg {
    padding: 18px 40px;
    font-size: var(--fs-xl);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(26, 26, 58, 0.98);
    backdrop-filter: blur(20px);
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    height: 100%;
}

.logo {
    height: 45px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100% !important;
    width: auto;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a img {
    height: 100% !important;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: var(--fw-medium);
    transition: color var(--transition-base);
    position: relative;
    padding: var(--space-sm) 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-green);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-green);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 26, 58, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-md) 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-dropdown);
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
}

/* Seta no desktop para todos os estados */
@media (min-width: 769px) {
    .dropdown-toggle {
        display: inline-block;
        position: relative;
    }
    
    .dropdown-toggle::after {
        content: '▾';
        margin-left: 8px;
        font-size: 1rem;
        color: white;
        background: transparent;
        vertical-align: baseline;
        transition: transform var(--transition-base);
        display: inline;
        position: relative;
        top: 0;
        z-index: 10;
    }
    
    .dropdown-toggle.active::after {
        content: '▾';
        margin-left: 8px;
        font-size: 1rem;
        color: var(--accent-green);
        background: transparent;
        vertical-align: baseline;
        transition: transform var(--transition-base);
        display: inline;
        position: relative;
        top: 0;
        z-index: 10;
    }
    
    /* Para dropdown-toggle ativo, criar linha verde separada que não interfere na seta */
    .dropdown-toggle.active::before {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--accent-green);
        z-index: 1;
    }
}

.dropdown-parent:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-light);
    text-decoration: none;
    transition: all var(--transition-base);
    border-bottom: none;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-green);
}

.nav-cta {
    padding: 12px 24px;
    font-size: var(--fs-base);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    width: 100%;
    height: 3px;
    background: var(--text-white);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 200, 81, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.card:hover::before {
    opacity: 0.05;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
}

/* Service Cards */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-2xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(76, 175, 80, 0.3);
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-icon {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    position: relative;
    z-index: 2;
}

.service-content {
    padding: var(--space-xl);
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    color: var(--text-white);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: var(--space-lg);
}

.service-link {
    background: var(--gradient-green);
    color: var(--text-white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    position: relative;
    z-index: 2;
}

.service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-green);
    color: var(--text-white);
}

/* Trust Stats */
.trust-stat {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-xl) var(--space-md);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    text-align: center;
}

.trust-stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 200, 81, 0.2);
}

.trust-stat .number {
    font-size: var(--fs-5xl);
    font-weight: var(--fw-extrabold);
    color: var(--accent-green);
    margin-bottom: var(--space-sm);
    font-family: var(--font-display);
    line-height: 1;
}

.trust-stat .label {
    color: var(--text-light);
    font-weight: var(--fw-medium);
    font-size: var(--fs-base);
}

/* Differential Cards */
.differential-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-2xl);
    padding: 2.5rem var(--space-xl);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.differential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-green);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-2xl);
}

.differential-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 200, 81, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.differential-card:hover::before {
    opacity: 0.05;
}

.differential-card h3 {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-white);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    font-family: var(--font-display);
}

.differential-icon {
    width: 100%;
    height: 120px;
    margin-bottom: var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(0, 200, 81, 0.2);
    transition: all var(--transition-base);
}

.differential-card:hover .differential-icon {
    border-color: var(--accent-green);
    transform: scale(1.02);
}

.differential-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.differential-card:hover .differential-icon img {
    transform: scale(1.05);
}

.differential-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--fs-base);
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--fs-2xl);
    z-index: var(--z-toast);
    box-shadow: 0 4px 20px var(--shadow-green);
    transition: all var(--transition-base);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px var(--shadow-green);
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--fs-5xl);
    font-weight: var(--fw-extrabold);
    color: var(--text-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.section-subtitle {
    color: var(--accent-green);
    font-size: var(--fs-base);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    text-align: center;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-green);
    border-radius: 1px;
}

.section-description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.7;
    text-align: center;
}

/* Separators */
.separator {
    height: 4px;
    width: 120px;
    background: linear-gradient(90deg, var(--accent-green), #e6ff00);
    margin: var(--space-md) 0;
    border-radius: 2px;
}

.hero-left .separator {
    margin: var(--space-md) 0;
}

/* Feature Lists */
.about-features {
    list-style: none;
    margin: var(--space-xl) 0;
    padding: 0;
}

.about-features li {
    color: var(--text-light);
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    position: relative;
    line-height: 1.6;
}

.about-features li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.about-features li strong {
    color: var(--text-white);
}

/* Loading and Animation States */
@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp {
        animation: none;
    }
    
    .pulse {
        animation: none;
    }
    
    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
        }
    }
}
