/* CSS Otimizado - style.css - Carta de Serviços */

/* Reset e configurações básicas */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Header fixo */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header verde superior */
.green-header {
    background-color: #0D792F;
    color: white;
    padding: 8px 0;
    font-size: 0.75rem;
}

.green-header a {
    color: white;
    text-decoration: none;
    padding: 0 12px;
    font-weight: 400;
}

.green-header a.sitedacamara {
    color: #ffdb00;
    text-decoration: none;
    padding: 0 12px;
    font-weight: 400;
}

.green-header a:hover {
    color: #e8f5e8;
}

/* Header principal */
.main-header {
    background: white url(../images/linhastop.png) top repeat-x;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.body-offset {
    margin-top: 120px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-nav-section {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 280px;
    height: 100px;
    margin-right: 30px;
    background: url(../images/logo.png) no-repeat center;
    background-size: contain;
}

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

.nav-menu a {
    color: #0D792F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: #053416;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 30px;
    height: 30px;
    background-color: #0D792F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
}

.social-icon:hover {
    background-color: #053416;
    color: white;
}

/* Breadcrumb */
.breadcrumb-nav {
    margin: 180px 0 0 0;
    padding: 10px 0;
    width: 100%;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0D792F;
}

.breadcrumb-item.active {
    color: #0D792F;
}

/* Header da página */
.header {
    background-color: #fff;
    border-bottom: 3px solid #e9ecef;
    padding: 30px 0;
    margin-bottom: 30px;
}

.header h1 {
    color: #2c3e50;
    font-weight: 500;
    margin: 0;
    text-align: center;
    font-size: 2.2rem;
}

/* Seções de conteúdo */
.content-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 8px;
    padding: 25px;
}

/* Sidebar fixa para desktop */
@media (min-width: 992px) {
    .info-card.sidebar {
        position: sticky;
        top: 200px;
        height: fit-content;
        max-height: calc(100vh - 220px);
        overflow-y: auto;
    }
}

.section-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

/* Botões da sidebar */
.more-info-btn {
    background-color: #0D792F;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    margin: 3px 0;
    width: 100%;
    text-align: left;
    font-weight: 500;
    font-size: 0.9rem;
}

.more-info-btn:hover {
    background-color: #053416;
    color: white;
}

.more-info-btn i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Ícones informativos */
.info-icon {
    background: #f39c12;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Caixa de destaque */
.highlight-box {
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

/* Accordion */
.accordion-button {
    background-color:#ffdb00;
    color: #2c3e50;
    font-weight: 500;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #0D792F;
    color: white;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 121, 47, 0.25);
}

.accordion-item {
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-body {
    background-color: #fff;
    line-height: 1.6;
}

/* Detalhes dos serviços */
.service-details {
    margin-top: 15px;
}

.detail-item {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    min-width: 140px;
    flex-shrink: 0;
}

.detail-value {
    color: #555;
    flex: 1;
}

/* Links customizados */
.btn-link-custom {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.btn-link-custom:hover {
    color: #0D792F;
    text-decoration: underline;
}

/* Cards de compromisso */
.commitment-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.2s ease;
}

.commitment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.commitment-icon {
    width: 50px;
    height: 50px;
    background-color: #0D792F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

.commitment-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.commitment-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Informações de contato */
.contact-info {
    display: grid;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item i {
    color: #0D792F;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
}

/* Canais de participação */
.participation-channels {
    display: grid;
    gap: 20px;
}

.channel-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.channel-item:hover {
    border-color: #0D792F;
    transform: translateX(5px);
}

.channel-icon {
    width: 50px;
    height: 50px;
    background-color: #0D792F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 18px;
    flex-shrink: 0;
}

.channel-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.channel-content p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 51%, #7db9e8 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    margin-bottom: 30px;
}

.footer h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    flex: 1;
    min-width: 300px;
}

.footer-right {
    flex-shrink: 0;
}

.footer-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-item i {
    margin-right: 12px;
    width: 20px;
    font-size: 1.1rem;
}

.footer-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-btn {
    background-color: #FFD700;
    color: #1e5799;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.footer-btn:hover {
    background-color: #FFC107;
    color: #1e5799;
    transform: translateY(-2px);
}

.atricon-logo {
    max-width: 300px;
    height: auto;
}

.footer-bottom {
    background-color: #0D792F;
    padding: 15px 0;
    margin-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-logo-w3 {
    font-weight: 600;
    font-size: 1rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-nav-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .logo-img {
        width: 200px;
        height: 70px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 0.7rem;
    }
    
    .social-icons {
        gap: 5px;
        justify-content: center;
    }
    
    .social-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .body-offset {
        margin-top: 140px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left {
        min-width: auto;
        margin-bottom: 20px;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .detail-item {
        flex-direction: column;
    }
    
    .detail-label {
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .channel-item {
        flex-direction: column;
        text-align: center;
    }
    
    .channel-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}