/* ============================================
   SAC - SERVIÇO DE ATENDIMENTO AO CLIENTE
   ============================================ */

/* Container Principal */
main {
    flex: 1;
    padding: 2rem 0;
}

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

.content-container {
    background: var(--cor-branco);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Título da Página */
.page-title {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    text-align: center;
    padding: 3rem 2rem;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.page-title h1 i {
    margin-right: 0.5rem;
}

.page-title p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Títulos de Seção */
.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--cor-primaria);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--cor-secundaria);
}

.section-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* ============================================
   SEÇÃO DE CONTATO RÁPIDO
   ============================================ */
.quick-contact-section {
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: var(--cor-branco);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--cor-branco);
}

.contact-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, var(--cor-secundaria), #2c5aa0);
}

.contact-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.phone-btn {
    background: linear-gradient(135deg, var(--cor-secundaria), #2c5aa0);
    color: white;
}

.phone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(52, 131, 250, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.email-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.business-hours {
    background: var(--cor-branco);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px dashed var(--cor-primaria);
    font-size: 1.1rem;
}

.business-hours i {
    color: var(--cor-primaria);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* ============================================
   FAQ - PERGUNTAS FREQUENTES
   ============================================ */
.faq-section {
    padding: 2.5rem 2rem;
    background: var(--cor-branco);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cor-branco);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--cor-primaria);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: var(--cor-primaria);
    color: var(--cor-branco);
}

.faq-item.active .faq-question h3 {
    color: var(--cor-branco);
}

.faq-item.active .faq-question i {
    color: var(--cor-branco);
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--cor-branco);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */
.contact-form-section {
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cor-branco);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--fonte-principal);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.1);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--cor-primaria);
    border-color: var(--cor-primaria);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 12px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-terciaria));
    color: var(--cor-branco);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
}

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

/* ============================================
   CONTATOS ESPECIALIZADOS
   ============================================ */
.specialized-contacts {
    padding: 2.5rem 2rem;
    background: var(--cor-branco);
}

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

.specialized-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.specialized-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: var(--cor-branco);
}

.specialized-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    color: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

.specialized-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.specialized-info p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.specialized-link {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.specialized-link:hover {
    color: var(--cor-secundaria);
}

/* ============================================
   INFORMAÇÕES DA EMPRESA
   ============================================ */
.company-info {
    padding: 2.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.company-details {
    max-width: 600px;
    margin: 0 auto;
}

.company-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--cor-branco);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.company-item i {
    color: var(--cor-primaria);
    font-size: 1.3rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.company-item strong {
    color: var(--cor-texto);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.company-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   DIREITOS DO CONSUMIDOR
   ============================================ */
.consumer-rights {
    padding: 2.5rem 2rem;
    background: var(--cor-branco);
}

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

.rights-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.rights-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    background: var(--cor-branco);
}

.rights-item i {
    font-size: 2.5rem;
    color: var(--cor-terciaria);
    margin-bottom: 1rem;
}

.rights-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--cor-texto);
    margin-bottom: 0.5rem;
}

.rights-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .page-title {
        padding: 2rem 1rem;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
    
    .quick-contact-section,
    .faq-section,
    .contact-form-section,
    .specialized-contacts,
    .company-info,
    .consumer-rights {
        padding: 2rem 1rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .specialized-cards,
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .page-title h1 {
        font-size: 1.8rem;
    }
    
    .contact-card,
    .specialized-card,
    .rights-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .business-hours {
        padding: 1rem;
        font-size: 1rem;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    z-index: 10000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideInRight 0.3s ease-out;
}

.notification-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notification-content i:first-child {
    font-size: 18px;
    margin-top: 2px;
}

.notification-content span {
    flex: 1;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.char-counter {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    color: #666;
}

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

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
}