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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffffff;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 200px;
}

.parceiro-text {
    font-size: 1.1rem;
    color: #e74c3c;
    font-weight: 700;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: none;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: left 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #e74c3c;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: #e74c3c;
    transition: all 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
    left: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/fundo.jpg') center center/cover no-repeat;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(30, 58, 138, 0.15));
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: -1;
}

.hero-content {
    display: none;
}

/* Hero Text Section */
.hero-text {
    padding: 4rem 0;
    background: #ffffff;
    color: #333;
}

.hero-text .container {
    max-width: 800px;
}

.hero-text-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: #333;
    text-align: center;
}

.hero-text-description {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
    text-align: center;
}

.hero-text-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    line-height: 1.7;
    color: #666;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #4169E1, #1E3A8A);
    color: white;
    box-shadow: 0 8px 30px rgba(65, 105, 225, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(65, 105, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-outline {
    background: transparent;
    color: #4169E1;
    border: 2px solid #4169E1;
}

.btn-outline:hover {
    background: #4169E1;
    color: white;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #4169E1, #1E3A8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 450px;
}

.product-card.featured {
    border-color: #4169E1;
    transform: scale(1.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.product-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(45deg, #4169E1, #1E3A8A);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.product-header {
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.product-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #4169E1;
    margin-bottom: 1rem;
}

.product-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.product-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-features li i {
    color: #27ae60;
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
    justify-self: flex-end;
}

/* Strategy Section */
.strategy {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.strategy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.strategy-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.strategy-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.strategy-point {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.point-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4169E1, #1E3A8A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.point-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.point-content p {
    color: #666;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4169E1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #4169E1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-weight: 600;
    color: #333;
}

.author-role {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4169E1, #1E3A8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    color: rgba(255,255,255,0.8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #4169E1;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4169E1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #4169E1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #4169E1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */

/* Tablet e Mobile grande */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-text-title {
        font-size: 2.5rem;
    }
    
    .hero-text-description {
        font-size: 1.2rem;
    }
    
    .strategy-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 60px;
        right: 0;
        left: auto;
        width: 220px;
        flex-direction: column;
        background: #fff;
        text-align: left;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 1rem 0.5rem;
        gap: 1rem;
        border-radius: 0 0 12px 12px;
        display: none;
        z-index: 9999;
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 10000;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-brand {
        max-width: 300px;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    .parceiro-text {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .empresas-text {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }
    
    .hero {
        height: 45vh;
        min-height: 280px;
        margin-top: 70px;
    }
    
    .hero-text {
        padding: 3rem 0;
    }
    
    .hero-text-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-text-description {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-text-subtitle {
        font-size: 1rem;
    }
    
    .products {
        padding: 4rem 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .product-card.featured {
        transform: none;
        border-width: 3px;
    }
    
    .product-header h3 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .strategy {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }
    
    .navbar .container {
        padding: 0 12px;
    }
    
    .nav-brand {
        max-width: 240px;
    }
    
    .parceiro-text {
        font-size: 0.9rem;
    }
    
    .empresas-text {
        font-size: 0.8rem !important;
    }
    
    .hero {
        height: 35vh;
        min-height: 250px;
        margin-top: 65px;
    }
    
    .hero-text {
        padding: 2.5rem 0;
    }
    
    .hero-text-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-text-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-text-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 0.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .products {
        padding: 3rem 0;
    }
    
    .product-card {
        padding: 1.5rem 1.2rem;
    }
    
    .product-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .product-price {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .product-features li {
        padding: 0.4rem 0;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .feature-card {
        padding: 1.8rem 1.2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .strategy-point {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .point-number {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .point-content h3 {
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        font-size: 0.95rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar .container {
        padding: 0 10px;
    }
    
    .nav-brand {
        max-width: 200px;
    }
    
    .parceiro-text {
        font-size: 0.85rem;
    }
    
    .empresas-text {
        font-size: 0.75rem !important;
    }
    
    .hero-text-title {
        font-size: 1.5rem;
    }
    
    .hero-text-description {
        font-size: 0.95rem;
    }
    
    .hero-text-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .product-card {
        padding: 1.2rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form validation */
.form-group input:invalid {
    border-color: #4169E1;
}

.form-group input:valid {
    border-color: #4169E1;
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn {
        min-height: 48px;
        padding: 14px 28px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .nav-menu a {
        padding: 12px 16px;
        display: block;
        margin: 4px 0;
    }
    
    .hamburger {
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve tap targets */
    .contact-item {
        padding: 16px 0;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
    
    .contact-item:active {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .feature-card:active,
    .product-card:active {
        transform: scale(0.98);
    }
    
    /* Fix text legibility */
    .hero-text-title,
    .section-title {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    
    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .btn-primary {
            border: 2px solid currentColor;
        }
        
        .product-card {
            border: 1px solid #333;
        }
    }
}
}