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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8fafc;
}

.container {
    max-width: 448px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Background */
.hero-bg {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    min-height: 100vh;
    position: relative;
}

/* Top Bar */
.top-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    width: 100%;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.schedule {
    color: rgba(255, 255, 255, 0.9);
}

.whatsapp-header {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* Title Section */
.title-section {
    text-align: center;
    padding: 32px 0;
    space-y: 24px;
}

.main-title {
    color: white;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.title-lider {
    font-size: 5rem;
    letter-spacing: 0.15em;
    font-weight: 900;
    line-height: 0.9;
}

.title-cacamba {
    font-size: 2.5rem;
    letter-spacing: 0.12em;
    font-weight: 900;
    line-height: 0.9;
    margin-top: -8px;
    color: #fbbf24;
    max-width: 100%;
    overflow: hidden;
}

.state-name {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.9);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.service-title {
    font-size: 2rem;
    font-weight: bold;
    color: #fde047;
    margin-top: 24px;
}

.service-description {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-top: 16px;
    line-height: 1.5;
}

.main-desc {
    color: #bfdbfe;
}

.sub-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 4px;
}

/* Cards */
.urgency-card, .trust-card, .cep-card, .info-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: #1f2937;
    margin: 24px 0;
    padding: 24px;
}

.urgency-card {
    margin-top: 24px;
    padding: 20px;
}

.urgency-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: #dc2626;
}

.urgency-subtitle {
    font-size: 14px;
    margin-top: 4px;
    color: #374151;
}

.legal-text {
    font-size: 12px;
    margin-top: 8px;
    color: #6b7280;
    line-height: 1.5;
}

.trust-card {
    padding: 16px;
}

.trust-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    color: #374151;
}

.highlight {
    color: #2563eb;
    font-weight: bold;
}

/* CEP Section */
.cep-section {
    margin: 32px 0;
}

.cep-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 16px;
    text-align: center;
}

.cep-input-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cep-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    background: white;
}

.cep-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cep-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cep-button:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cep-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cep-error {
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    margin-top: 8px;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin: 0 auto 24px;
}

.loading-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Disponibilidade Page Styles */
.availability-container {
    padding: 32px 0;
}

.status-header {
    text-align: center;
    margin-bottom: 24px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #16a34a;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.status-text {
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-title {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-title {
    font-size: 1.125rem;
    font-weight: bold;
    color: #374151;
    margin-bottom: 12px;
}

.location-details {
    color: #374151;
}

.location-main {
    font-weight: 600;
    font-size: 1.125rem;
}

.location-sub {
    margin-top: 2px;
}

.location-cep {
    font-size: 14px;
    color: #6b7280;
    margin-top: 2px;
}

.availability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.availability-item {
    text-align: center;
}

.availability-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2563eb;
}

.availability-number.online {
    color: #16a34a;
}

.availability-label {
    font-size: 14px;
    color: #6b7280;
}

.delivery-info {
    padding: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #166534;
    font-weight: 600;
    font-size: 14px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.service-item {
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.service-item.construction {
    background: #fff7ed;
    color: #ea580c;
}

.service-item.renovation {
    background: #eff6ff;
    color: #2563eb;
}

.service-item.cleaning {
    background: #f0fdf4;
    color: #16a34a;
}

.service-icon {
    font-weight: 600;
    margin-bottom: 4px;
}

.service-name {
    font-weight: 500;
}

.services-desc {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.company-header {
    text-align: center;
    color: #374151;
    margin-bottom: 16px;
}

.company-experience {
    font-weight: 600;
    color: #2563eb;
}

.company-credentials {
    font-size: 14px;
    margin-top: 4px;
}

.equipment-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.equipment-img {
    width: 100%;
    border-radius: 6px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    width: 32px;
    height: 32px;
}

.feature-label {
    font-size: 12px;
    color: #6b7280;
}

.benefits-container {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    padding: 16px;
    border-radius: 6px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-check {
    color: #16a34a;
    font-weight: bold;
}

.cta-section {
    margin: 32px 0;
    text-align: center;
}

.whatsapp-cta {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-cta:hover {
    transform: scale(1.02);
}

.cta-image {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.cta-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 16px;
}

/* Footer */
.footer {
    padding: 16px 0 24px;
}

.copyright {
    font-size: 12px;
    color: #d1d5db;
    text-align: center;
    padding: 0 24px;
}

/* Responsive */
@media (max-width: 320px) {
    .title-lider {
        font-size: 4rem;
    }
    
    .title-cacamba {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.5rem;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}