/* K Despachante - Estilos CSS Puros */

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables baseadas no design system */
:root {
    --background: hsl(0, 0%, 99%);
    --foreground: hsl(0, 0%, 20%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 20%);
    --primary: hsl(25, 95%, 53%);
    --primary-foreground: hsl(0, 0%, 98%);
    --primary-light: hsl(25, 90%, 63%);
    --primary-dark: hsl(25, 100%, 43%);
    --secondary: hsl(45, 85%, 55%);
    --secondary-foreground: hsl(0, 0%, 20%);
    --secondary-light: hsl(45, 80%, 65%);
    --muted: hsl(25, 15%, 96%);
    --muted-foreground: hsl(25, 10%, 45%);
    --accent: hsl(25, 25%, 92%);
    --accent-foreground: hsl(25, 95%, 53%);
    --border: hsl(25, 15%, 90%);
    --input: hsl(25, 15%, 96%);
    --ring: hsl(25, 95%, 53%);
    --radius: 0.75rem;
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, hsl(25, 95%, 53%) 0%, hsl(25, 90%, 63%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(45, 85%, 55%) 0%, hsl(45, 80%, 65%) 100%);
    --gradient-overlay: linear-gradient(135deg, hsla(25, 95%, 53%, 0.9) 0%, hsla(25, 90%, 63%, 0.8) 100%);
    
    /* Sombras */
    --shadow-soft: 0 4px 20px hsla(25, 95%, 53%, 0.1);
    --shadow-medium: 0 8px 30px hsla(25, 95%, 53%, 0.15);
    --shadow-strong: 0 15px 40px hsla(25, 95%, 53%, 0.2);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.top-bar {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

.main-nav {
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5rem;
}

.logo-placeholder {
    flex-shrink: 0;
}

.desktop-nav {
    display: none;
    margin-left: 2.5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: baseline;
    }
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

.desktop-cta {
    display: none;
}

@media (min-width: 768px) {
    .desktop-cta {
        display: block;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger {
    width: 1.5rem;
    height: 2px;
    background: var(--foreground);
    transition: var(--transition-fast);
}

.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--border);
    background: var(--card);
    padding: 0.5rem;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-link {
    color: var(--foreground);
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
    color: var(--primary);
}

.mobile-cta {
    padding-top: 1rem;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    text-decoration: none;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

.btn-outline {
    border: 1px solid var(--primary-foreground);
    color: var(--foreground);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-foreground);
    color: var(--primary);
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1.5rem 2rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    color: var(--primary-foreground);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-accent {
    display: block;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: hsla(0, 0%, 98%, 0.9);
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary);
    flex-shrink: 0;
}

.service-item span {
    font-size: 1.125rem;
    color: hsla(0, 0%, 98%, 0.95);
}

.font-medium {
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-image {
    position: relative;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-strong);
    transform: rotate(3deg);
    transition: var(--transition-smooth);
}

.hero-card:hover {
    transform: rotate(0deg);
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.floating-badge {
    position: absolute;
    top: -1rem;
    left: -1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-medium);
    transform: rotate(-12deg);
    text-align: center;
}

.badge-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.badge-subtitle {
    font-size: 0.875rem;
}

.hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* Seções Gerais */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--background);
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraph {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--muted-foreground);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin: 0 auto 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--muted);
}

.services-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.additional-services {
    margin-bottom: 3rem;
}

.additional-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 2rem;
}

.additional-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .additional-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.additional-item {
    background: var(--card);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    color: var(--foreground);
    font-weight: 500;
    box-shadow: var(--shadow-soft);
}

.services-cta {
    text-align: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.contact-card:hover {
    box-shadow: var(--shadow-medium);
}

.contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-content {
    flex: 1;
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    background: var(--input);
    color: var(--foreground);
    font-family: inherit;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px hsla(25, 95%, 53%, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: var(--card);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.footer-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.footer-icon {
    width: 1rem;
    height: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--primary);
}

.social-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    text-align: center;
    color: var(--muted-foreground);
}

/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow-strong);
    transform: translateX(100%);
    transition: var(--transition-smooth);
    z-index: 100;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.toast-message {
    color: var(--foreground);
    font-weight: 500;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .about-paragraph {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
}