/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    padding: 6px;
    border-radius: 5px;
    text-decoration: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 80px !important;
    font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Oxygen\", \"Ubuntu\", \"Cantarell\", \"Fira Sans\", \"Droid Sans\", \"Helvetica Neue\", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    color: #0f172a;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-medium {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.85) !important;
}

.navbar .nav-link {
    font-weight: 500;
    color: #334155;
}

.navbar .nav-link:hover {
    color: #2563eb;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e293b;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e293b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #0f172a;
    color: white;
    width: 100%;
    justify-content: center;
}

.btn-secondary:hover {
    background: #1e293b;
}

.btn-outline {
    background: transparent;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f1f5f9;
}

.btn-outline-small {
    padding: 0.5rem 1rem;
    background: transparent;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.btn-outline-small:hover {
    background: #f1f5f9;
}

.btn-whatsapp {
    background: #16a34a;
    color: white;
}

.btn-whatsapp:hover {
    background: #15803d;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero-section {
    padding: 8rem 1rem 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.1;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #475569;
}

.hero-description {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.2), rgba(168, 85, 247, 0.2));
    border-radius: 1.5rem;
    transform: rotate(6deg);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
    background: #2563eb;
    padding: 4rem 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #bfdbfe;
    font-size: 1rem;
}

/* Section */
.section {
    padding: 5rem 1rem;
}

.section-gray {
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0f172a;
    margin-bottom: 1rem;
}

.section-divider {
    width: 5rem;
    height: 4px;
    background: #2563eb;
    margin: 0 auto;
}

.section-description {
    font-size: 1.25rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
}

/* About Card */
.about-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
}

.about-text {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
    transform: translateY(-4px);
}

.service-image-wrapper {
    width: 100%;
    height: 12rem;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image {
    transform: scale(1.1);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 1.5rem 1rem;
    transition: all 0.3s ease;
}

.service-icon svg {
    color: #2563eb;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    background: #2563eb;
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0f172a;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: #64748b;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
}

.service-features svg {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-card .btn-secondary {
    margin: 0 1.5rem 1.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars svg {
    color: #fbbf24;
}

.testimonial-text {
    color: #475569;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.author-name {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #64748b;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-button:hover {
    color: #2563eb;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f1f5f9;
}

.contact-item-whatsapp {
    background: #dcfce7;
}

.contact-item-whatsapp:hover {
    background: #bbf7d0;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: #dbeafe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.contact-icon svg {
    color: #2563eb;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: #2563eb;
}

.contact-item:hover .contact-icon svg {
    color: white;
}

.contact-icon-whatsapp {
    background: #bbf7d0;
}

.contact-icon-whatsapp svg {
    color: #16a34a;
}

.contact-item-whatsapp:hover .contact-icon-whatsapp {
    background: #16a34a;
}

.contact-item-whatsapp:hover .contact-icon-whatsapp svg {
    color: white;
}

.contact-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 600;
    color: #0f172a;
}

.contact-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-description {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-text {
    color: #94a3b8;
}

.footer-heading {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: #1e293b;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.social-icon svg {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    max-width: 400px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-title {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.toast-description {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 400px;
    }

    .services-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .toast {
        left: 1rem;
        right: 1rem;
    }
}

/* Selection */
::selection {
    background: #2563eb;
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}