/* Reset e Base */
* {
    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;
}

/* Variáveis CSS */
:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --transition: all 0.3s ease;
}

/* Botões */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-100);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Indicador de progresso de scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.nav-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-stats {
    display: inline-flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Calendar Preview */
.calendar-preview {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    color: var(--gray-800);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.calendar-header h3 {
    color: var(--gray-800);
    margin-bottom: 8px;
}

.calendar-header p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Calendário Funcional */
.calendar-container {
    margin-bottom: 24px;
}

.calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.nav-btn {
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

#current-month {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-600);
    padding: 8px 4px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.calendar-day.other-month {
    color: var(--gray-400);
    cursor: not-allowed;
}

.calendar-day.today {
    background: var(--gray-200);
    color: var(--gray-800);
    font-weight: 600;
}

.calendar-day.available {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-300);
}

.calendar-day.available:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: 600;
}

.calendar-day.past {
    color: var(--gray-400);
    cursor: not-allowed;
    background: var(--gray-100);
}

.calendar-day.future_excedeed {
    color: var(--gray-400);
    cursor: not-allowed;
    background: var(--gray-100);
}

/* Seleção de Horários */
.time-selection {
    margin-bottom: 24px;
}

.time-selection h4 {
    margin-bottom: 16px;
    color: var(--gray-800);
    font-size: 1rem;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 4px;
}

.time-slot {
    padding: 8px 4px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-700);
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}


/* Botão de Agendamento */
.booking-button {
    text-align: center;
}

/* Modais */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.modal-header h3 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--gray-800);
}

.modal-body {
    padding: 0 24px 24px;
}

/* Resumo do Agendamento */
.booking-summary {
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
}

.selected-date-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.selected-date-time:last-child {
    margin-bottom: 0;
}

.selected-date-time i {
    color: #dc2626;
    width: 16px;
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
    box-sizing: border-box;
}

.form-group select {
    background-color: var(--white);
    cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Seletor de Empresas */
.company-selector {
    position: relative;
    width: 100%;
}

.company-select-btn {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--gray-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.company-select-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.company-select-btn i:first-child {
    margin-right: 8px;
    color: #dc2626;
}

.company-select-btn i:last-child {
    margin-left: 8px;
    transition: var(--transition);
}

.company-select-btn.active i:last-child {
    transform: rotate(180deg);
}

.company-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
    display: none;
}

.company-dropdown.active {
    display: block;
}

.company-search {
    position: relative;
    padding: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.company-search input {
    width: 100%;
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.company-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.company-list {
    max-height: 300px;
    overflow-y: auto;
}

.company-item {
    padding: 12px;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-item:hover {
    background: var(--gray-50);
}

.company-item:last-child {
    border-bottom: none;
}

.company-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
}

.company-item-info {
    flex: 1;
}

.company-item-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.company-item-address {
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.company-item-location {
    color: var(--gray-500);
    font-size: 0.75rem;
}

.company-item-distance {
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: auto;
}

.selected-company {
    margin-top: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 2px solid #dc2626;
}

.selected-company-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.selected-company-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dc2626;
}

.selected-company-details {
    flex: 1;
}

.selected-company-details h4 {
    color: var(--gray-800);
    margin-bottom: 4px;
    font-size: 1rem;
}

.selected-company-details p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.remove-company {
    background: #dc2626;
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.remove-company:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

/* Loading para empresas */
.company-loading {
    padding: 20px;
    text-align: center;
    color: var(--gray-500);
}

.company-loading i {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

/* Modal de Confirmação */
.success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 4rem;
    color: #dc2626;
}

.confirmation-details {
    background: var(--gray-100);
    border-radius: var(--border-radius);
    padding: 16px;
    margin: 20px 0;
}

.confirmation-details p {
    margin-bottom: 8px;
    color: var(--gray-700);
}

.confirmation-details p:last-child {
    margin-bottom: 0;
}

.confirmation-note {
    text-align: center;
    color: var(--gray-600);
    font-style: italic;
    margin: 20px 0;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-600);
}

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

.feature-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Companies Preview Section */
.companies-preview {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    z-index: 10;
}

.companies-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.company-preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.company-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #dc2626;
}

.company-preview-card .company-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.company-preview-card:hover .company-logo img {
    border-color: #dc2626;
    transform: scale(1.1);
}

.company-preview-card .company-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.company-preview-card .company-info p {
    color: var(--gray-600);
    font-size: 0.85rem;
    margin: 0;
}

.companies-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    border-radius: var(--border-radius-lg);
    color: var(--white);
}

.companies-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    text-align: center;
}

.companies-stats .stat {
    text-align: center;
}

.companies-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--white);
}

.companies-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.companies-cta .btn-primary {
    background: var(--white);
    color: #dc2626;
    border: 2px solid var(--white);
}

.companies-cta .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.companies-cta .btn-primary i {
    margin-right: 8px;
}

/* Responsividade para preview de empresas */
@media (max-width: 768px) {
    .companies-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }
    
    .company-preview-card {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .companies-stats {
        gap: 24px;
        justify-content: center;
        align-items: center;
    }
    
    .companies-stats .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .companies-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-stats {
        flex-direction: column;
        gap: 16px;
        justify-content: center;
        align-items: center;
    }
}

.show_all_companies {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 10;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.company-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transform: scaleX(0);
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #dc2626;
}

.company-card:hover::before {
    transform: scaleX(1);
}

.company-logo {
    margin-bottom: 24px;
    position: relative;
}

.company-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.company-logo img[src=""] {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img[src=""]::before {
    content: '🏢';
    font-size: 2rem;
}

.company-card:hover .company-logo img {
    border-color: #dc2626;
    transform: scale(1.1);
}

.company-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.company-info p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.company-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid #dc2626;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 0.9rem;
}

.company-link:hover {
    background: #dc2626;
    color: var(--white);
    transform: translateY(-2px);
}

.company-link i {
    font-size: 0.8rem;
}

/* Indicadores de Loading e Fim */
.companies-loading {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #dc2626;
    font-weight: 500;
}

.loading-spinner i {
    font-size: 1.2rem;
}

.companies-end {
    text-align: center;
    padding: 40px 20px;
}

.end-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.end-message i {
    color: #28a745;
    font-size: 1.2rem;
}

/* Botão para mostrar todas as empresas */
.show_all_companies {
    text-align: center;
    padding: 40px 0;
    background: var(--gray-50);
    margin-top: 40px;
}

/* Mensagem de erro */
.companies-error {
    text-align: center;
    padding: 40px 20px;
}

.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #dc3545;
    font-weight: 500;
}

.error-message i {
    font-size: 1.2rem;
}

/* Página de Empresas - Estilos Específicos */
.companies-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: var(--white);
    text-align: center;
}

.companies-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.companies-hero p {
    font-size: 1.2rem;
    margin-bottom: 48px;
    opacity: 0.9;
}

.companies-filters {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.filters-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filters-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* Busca de Endereço */
.address-search-container {
    position: relative;
    width: 100%;
}

.address-search {
    position: relative;
    width: 100%;
    /* max-width: 500px; */
}

.address-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc2626;
    z-index: 2;
}

.address-search input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.address-search input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.address-search input::placeholder {
    color: var(--gray-500);
    font-weight: 500;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    box-shadow: var(--shadow);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.address-suggestion {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-suggestion:hover {
    background: var(--gray-50);
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion i {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.address-suggestion-content {
    flex: 1;
}

.address-suggestion-title {
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.address-suggestion-subtitle {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.selected-address {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid #dc2626;
    border-radius: var(--border-radius);
    margin-top: 8px;
}

.selected-address i {
    color: #dc2626;
    font-size: 1.1rem;
}

.selected-address span {
    flex: 1;
    color: var(--gray-800);
    font-weight: 500;
}

.clear-address {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: var(--transition);
}

.clear-address:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.clear-address i {
    font-size: 0.8rem;
}

.search-box {
    position: relative;
    flex: 1;
    /* max-width: 400px; */
}

/* Layout responsivo para filtros */
@media (max-width: 768px) {
    .filters-content {
        gap: 16px;
    }
    
    .address-search {
        max-width: none;
    }
    
    .search-box {
        max-width: none;
    }
    
    .filter-buttons {
        justify-content: center;
    }

    .filter-category-buttons {
        justify-content: center;
    }
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
}

.search-box input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.search-box input::placeholder {
    color: var(--gray-500);
    font-weight: 500;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-category-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.filter-btn.active {
    background: #dc2626;
    color: var(--white);
    border-color: #dc2626;
}

.companies-section {
    /* padding: 60px 0; */
    padding: 0px 0;
    background: var(--gray-50);
}

/* Grid de empresas na página dedicada - Layout Compacto */
.companies-section .companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 16px;
}

.companies-section .company-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 140px;
    width: 100%;
}

.companies-section .company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #dc2626;
}

.companies-section .company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc2626, #991b1b);
    transform: scaleX(0);
    transition: var(--transition);
}

.companies-section .company-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #dc2626;
}

.companies-section .company-card:hover::before {
    transform: scaleX(1);
}

.companies-section .company-logo {
    flex-shrink: 0;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 16px;
    overflow: hidden;
}

.companies-section .company-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #dc2626, #991b1b, #dc2626);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.companies-section .company-card:hover .company-logo::after {
    opacity: 1;
}

.companies-section .company-logo img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    transform-origin: center;
    display: block;
}

.companies-section .company-logo img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.companies-section .company-logo img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 1;
}

.companies-section .company-logo img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
    z-index: 2;
}

/* Efeito de loading para imagens */
.companies-section .company-logo img[src*="unsplash"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.companies-section .company-card:hover .company-logo img {
    border-color: #dc2626;
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3), 0 0 0 1px rgba(220, 38, 38, 0.1);
    filter: brightness(1.1) contrast(1.05);
}

.companies-section .company-card:hover .company-logo img::before {
    opacity: 1;
}

.companies-section .company-card:hover .company-logo img::after {
    opacity: 1;
}

.companies-section .company-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.companies-section .company-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    color: var(--gray-800);
    line-height: 1.3;
    text-align: center;
    max-width: 100%;
}

.companies-section .company-info p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
    text-align: center;
    max-width: 100%;
}

.company-category {
    margin: 0;
}

.category-tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.category-tech {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.category-innovation {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.category-digital {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

.category-startup {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.companies-section .company-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 8px;
    border: 1px solid #dc2626;
    border-radius: 6px;
    transition: var(--transition);
    font-size: 0.8rem;
    margin: 0;
    align-self: center;
}

.companies-section .company-link:hover {
    background: #dc2626;
    color: var(--white);
    transform: translateY(-1px);
}

.companies-section .company-link i {
    font-size: 0.7rem;
}

/* Informações adicionais no card */
.company-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-600);
    flex-wrap: wrap;
    min-height: 20px;
    width: 100%;
}

.company-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.company-rating i {
    color: #fbbf24;
    font-size: 0.8rem;
}

.company-distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.company-distance i {
    color: var(--gray-500);
    font-size: 0.7rem;
}

.detail-separator {
    color: var(--gray-400);
    font-weight: bold;
    flex-shrink: 0;
    margin: 0 4px;
}

/* Categoria inline */
.company-details .category-inline {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Garantir que elementos não quebrem durante filtros */
.company-details > * {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.company-details .detail-separator {
    display: inline-block;
    margin: 0 4px;
    flex-shrink: 0;
}

/* Badge de distância */
.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 8px;
}

.distance-badge i {
    font-size: 0.7rem;
}

/* Responsividade para página de empresas */
@media (max-width: 768px) {
    .companies-hero h1 {
        font-size: 2.5rem;
    }
    
    .filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-category-buttons {
        justify-content: center;
    }
    
    .companies-section .companies-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .companies-section .company-card {
        padding: 12px;
        gap: 12px;
    }
    
    .companies-section .company-logo {
        width: 80px;
        height: 80px;
    }
    
    .companies-section .company-logo img {
        width: 100%;
        height: 100%;
    }
    
    .companies-section .company-info h3 {
        font-size: 1rem;
    }
    
    .companies-section .company-info p {
        font-size: 0.85rem;
    }
    
    .company-details {
        font-size: 0.75rem;
        gap: 6px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        min-height: 18px;
    }
}

@media (max-width: 480px) {
    .companies-hero h1 {
        font-size: 2rem;
    }
    
    .companies-section .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 4px;
    }

    .filter-category-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .filter-btn {
        text-align: center;
    }
    
    .companies-section .company-card {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        align-items: center;
    }
    
    .companies-section .company-logo {
        align-self: center;
    }
    
    .companies-section .company-logo {
        width: 90px;
        height: 90px;
    }
    
    .companies-section .company-logo img {
        width: 100%;
        height: 100%;
    }
    
    .company-details {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px;
        font-size: 0.7rem;
    }
    
    .company-details .detail-separator {
        display: none;
    }
    
    .company-details > * {
        margin-right: 8px;
    }
    
    .company-details > *:last-child {
        margin-right: 0;
    }
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 15px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Botão WhatsApp nos Cards */
.company-actions {
    margin: 12px 0 8px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366, #20BA5A);
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.whatsapp-btn:hover::before {
    left: 100%;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20BA5A, #1DA851);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.whatsapp-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.whatsapp-btn i {
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.whatsapp-btn span {
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Responsividade do botão flutuante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.6rem;
    }
    
    .whatsapp-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn i {
        font-size: 1.4rem;
    }
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--gray-100);
    position: relative;
    z-index: 10;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: var(--transition);
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.discount {
    background: var(--success-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    text-align: center;
    position: relative;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    color: var(--white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-800);
}

.price {
    margin-bottom: 16px;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #dc2626;
}

.period {
    font-size: 1rem;
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features i {
    color: var(--success-color);
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
    z-index: 10;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section a[href^="https://"] {
    color: #dc2626;
    font-weight: 500;
}

.footer-section a[href^="https://"]:hover {
    color: #991b1b;
}

.social-links {
    display: flex;
    gap: 6px;
    margin-top: 20px;
    min-height: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Ajustar horários para mobile */
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .time-slot {
        padding: 6px 2px;
        font-size: 0.75rem;
        min-height: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 24px 16px;
    }
    
    /* Ajustar horários para telas muito pequenas */
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .time-slot {
        padding: 4px 2px;
        font-size: 0.7rem;
        min-height: 28px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de foco para acessibilidade */
button:focus,
.nav-link:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Estilos adicionais para navegação responsiva */
@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 0 0 8px 8px;
    }
    
    .nav-menu.active .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active .nav-link.active::after {
        display: none;
    }
}

input[readonly],
input.readonly {
  background-color: var(--readonly-bg);
  border: 1px solid var(--readonly-border);
  color: var(--readonly-text);
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  border-radius: var(--readonly-radius);
  outline: none;
  caret-color: transparent;
  cursor: not-allowed;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.03) inset;
  transition: background-color .12s ease, border-color .12s ease, box-shadow .12s ease;
  user-select: text;
}

/* Placeholder */
input[readonly]::placeholder,
input.readonly::placeholder {
  color: var(--readonly-muted);
}

/* Ícone cadeado */
input[readonly],
input.readonly {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%239ca3af' d='M17 8h-1V6a4 4 0 0 0-8 0v2H7a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-8a2 2 0 0 0-2-2zM9 6a3 3 0 0 1 6 0v2H9V6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 16px 16px;
}

/* Foco */
input[readonly]:focus,
input.readonly:focus {
  border-color: var(--readonly-border);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.06);
  outline: none;
}

/* Opções de Contato */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.contact-option:hover {
    border-color: #dc2626;
    background: var(--gray-50);
}

.contact-option input[type="radio"] {
    margin-right: 12px;
    width: auto;
    cursor: pointer;
}

.contact-option input[type="radio"]:checked + span {
    color: #dc2626;
    font-weight: 600;
}

.contact-option:has(input[type="radio"]:checked) {
    border-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.contact-option span {
    flex: 1;
    color: var(--gray-700);
    transition: var(--transition);
}

/* Wrapper para opções de contato com campos */
.contact-option-wrapper {
    display: flex;
    flex-direction: column;
}

/* Campos dentro das opções de contato */
.contact-option-fields {
    margin-top: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    margin-left: 0;
}

.contact-option-fields .form-group {
    margin-bottom: 16px;
    position: relative;
}

.contact-option-fields .form-group:last-child {
    margin-bottom: 0;
}

.contact-option-fields label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.contact-option-fields input[type="date"],
.contact-option-fields input[type="time"],
.contact-option-fields select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
    box-sizing: border-box;
}

.contact-option-fields input[type="date"]:focus,
.contact-option-fields input[type="time"]:focus,
.contact-option-fields input[type="text"]:focus,
.contact-option-fields select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.contact-option-fields input[type="text"][readonly] {
    background-color: var(--white);
    cursor: pointer;
}

.contact-option-fields input[type="text"][readonly]:hover {
    border-color: #dc2626;
}

/* Mensagens de erro em campos de formulário */
.field-error-message {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 6px;
    padding: 8px 12px;
    background-color: rgba(220, 38, 38, 0.1);
    border-left: 3px solid #dc2626;
    border-radius: 4px;
    animation: slideDown 0.3s ease-out;
}

.field-error-message.show {
    display: block;
}

.field-error-message i {
    margin-right: 6px;
}

.form-group input.error,
.form-group select.error,
.contact-option-fields input.error,
.contact-option-fields select.error {
    border-color: #dc2626;
    background-color: rgba(220, 38, 38, 0.05);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slots de hora */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.time-slot-btn {
    padding: 10px 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-slot-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-slot-btn.selected {
    background: #dc2626;
    color: var(--white);
    border-color: #dc2626;
}

.time-slot-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--gray-100);
}

/* Slots de software */
.software-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.software-slot-btn {
    padding: 12px 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-slot-btn:hover {
    border-color: #dc2626;
    color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.software-slot-btn.selected {
    background: #dc2626;
    color: var(--white);
    border-color: #dc2626;
}

/* Seletor de País para Telefone */
.country-phone {
    display: flex;
    gap: 8px;
    align-items: center;
}

.country-phone select {
    width: 30%;
    min-width: 120px;
    max-width: 150px;
    height: 48px;
    padding: 0 12px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    background-color: var(--white);
    color: var(--gray-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}

.country-phone select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.country-phone input[type="tel"] {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.country-phone input[type="tel"]:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Dropdown "Começar Agora" */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
    min-width: 260px;
    z-index: 1100;
    display: none;
    overflow: hidden;
}

.nav-dropdown.active {
    display: block;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
}

.nav-dropdown-item:first-child {
    border-bottom: 1px solid var(--gray-200);
}

.nav-dropdown-item:hover {
    background: var(--gray-100);
}

.nav-dropdown-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.nav-dropdown-item div {
    display: flex;
    flex-direction: column;
}

.nav-dropdown-item strong {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.nav-dropdown-item span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Dropdown inline para hero e CTA */
.hero-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.hero-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.hero-dropdown.active {
    transform: translateX(-50%);
}

/* Quick Start Loader */
.quick-start-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    gap: 24px;
}

.quick-start-loader p {
    color: var(--gray-700);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.qs-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

#quick-start-loader-step {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

/* Pricing dropdown inside cards */
.pricing-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.pricing-dropdown {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.pricing-dropdown.active {
    transform: translateX(-50%);
}

/* Ensure pricing card doesn't clip dropdown */
.pricing-card {
    overflow: visible;
}

/* CTA section: ensure dropdown not clipped */
.cta {
    overflow: visible;
}

.cta-buttons {
    overflow: visible;
}

/* CTA dropdown opens upward (near bottom of page) */
#cta-comecar-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
}

/* Responsive dropdown */
@media (max-width: 768px) {
    .nav-dropdown-wrapper {
        display: none;
    }
    .pricing-dropdown-wrapper {
        display: inline-block;
    }
}