
/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --nortelab-red: #C53030;
    --nortelab-red-dark: #9B2C2C;
    --nortelab-red-light: #FC8181;
    --nortelab-gray: #2D3748;
    --nortelab-gray-light: #4A5568;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--nortelab-gray);
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-100);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--nortelab-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--nortelab-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--nortelab-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--nortelab-gray);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--nortelab-gray);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-100);
}

.nav-mobile.active {
    display: flex;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.text-accent {
    color: var(--nortelab-red);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--nortelab-gray-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--nortelab-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--nortelab-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--nortelab-red);
    border: 2px solid var(--nortelab-red);
}

.btn-outline:hover {
    background: var(--nortelab-red);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.hero-image {
    opacity: 0;
    animation: slideInRight 0.8s ease 0.6s forwards;
}

.image-container {
    position: relative;
}

.bg-decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--nortelab-red), var(--nortelab-red-light));
    border-radius: 1.5rem;
    transform: rotate(6deg);
    opacity: 0.2;
}

.image-card {
    position: relative;
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.image-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.image-text p {
    color: var(--nortelab-gray-light);
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--nortelab-gray);
}

.section-description {
    font-size: 1.25rem;
    color: var(--nortelab-gray-light);
    max-width: 42rem;
    margin: 0 auto;
}

/* Results Section */
.results-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.results-form-container {
    max-width: 28rem;
    margin: 0 auto;
}

.form-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
}

.form-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(197, 48, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--nortelab-red);
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--nortelab-gray);
}

.form-header p {
    color: var(--nortelab-gray-light);
}

.results-form {
    padding: 0 2rem 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--nortelab-gray);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-300);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input {
    padding-left: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--nortelab-red);
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.1);
}

.form-footer {
    text-align: center;
    padding: 1rem 2rem 2rem;
}

.form-footer p {
    font-size: 0.875rem;
    color: var(--nortelab-gray-light);
}

/* Units Section */
.units-section {
    padding: 5rem 0;
    background: var(--white);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.unit-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.unit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.unit-header {
    padding: 1.5rem 1.5rem 1rem;
}

.unit-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.unit-badge.matriz {
    background: var(--nortelab-red);
    color: var(--white);
}

.unit-badge.posto,
.unit-badge.unidade {
    background: rgba(197, 48, 48, 0.1);
    color: var(--nortelab-red);
}

.unit-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--nortelab-gray);
}

.unit-location {
    color: var(--nortelab-red);
    font-weight: 600;
}

.unit-info {
    padding: 0 1.5rem 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.info-icon {
    color: var(--nortelab-red);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.info-item span {
    font-size: 0.875rem;
    color: var(--nortelab-gray-light);
    line-height: 1.4;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.quote-icon {
    color: rgba(197, 48, 48, 0.2);
}

.stars span {
    color: #F59E0B;
    font-size: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--nortelab-gray-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.testimonial-author h4 {
    font-weight: 600;
    color: var(--nortelab-gray);
    margin-bottom: 0.25rem;
}

.specialty {
    color: var(--nortelab-red);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.location {
    color: var(--nortelab-gray-light);
    font-size: 0.75rem;
}

/* Footer */
.footer {
    background: var(--nortelab-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 24rem;
}

.footer-logo-img {
    height: 3rem;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-description {
    color: #CBD5E0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.social-link {
    background: var(--nortelab-red);
    color: var(--white);
    padding: 0.5rem;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: var(--nortelab-red-dark);
    transform: translateY(-2px);
}

.footer-contact h3,
.footer-hours h3 {
    color: var(--nortelab-red);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-info,
.hours-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item,
.hours-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-icon,
.hours-icon {
    color: var(--nortelab-red);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-item span {
    color: #CBD5E0;
    line-height: 1.4;
}

.hours-day {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.hours-time {
    color: #CBD5E0;
    font-size: 0.875rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
}

.footer-bottom p {
    color: #9CA3AF;
}

/* Toast */
.toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    max-width: 20rem;
    animation: slideInRight 0.3s ease;
}

.toast.success {
    border-left: 4px solid #10B981;
}

.toast.error {
    border-left: 4px solid var(--nortelab-red);
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--gray-300);
    margin-left: 1rem;
}

.toast-close:hover {
    color: var(--nortelab-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .units-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

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

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

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

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

    .results-form-container {
        margin: 0 -0.75rem;
    }

    .form-card {
        border-radius: 0;
    }
}
