/*
* Dois I Serviços Contábeis - Despachante Veicular
* Arquivo CSS principal - Complementa o CSS crítico inline
*/

/* Reset e variáveis estão no CSS crítico inline */

/* Navegação principal */
.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 4px;
}

.nav-list a:hover, .nav-list a:focus {
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light-text);
    margin: 3px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.btn-whatsapp {
    background-color: #25D366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Seções gerais */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero buttons */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Sobre seção */
.sobre-section {
    background-color: var(--background-color);
}

.sobre-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.sobre-imagem {
    flex: 1;
}

.sobre-imagem img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.sobre-texto {
    flex: 1;
}

.sobre-texto h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sobre-subtitulo {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.missao-quote {
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #444;
}

.sobre-infos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.info-item {
    background-color: var(--card-bg);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 200px;
}

.info-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.disclaimer {
    background-color: #fff4e6;
    border-left: 3px solid #ffb74d;
    padding: 15px;
    margin: 25px 0;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 0 5px 5px 0;
}

/* Serviços seção */
.servicos-section {
    background-color: #fff;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.servico-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(211, 140, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.servico-icon .icon {
    width: 40px;
    height: 40px;
    stroke: var(--accent-color);
    stroke-width: 1.5;
    fill: none;
}

.servico-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.servico-desc {
    color: #666;
    line-height: 1.6;
}

.servicos-cta {
    text-align: center;
    margin-top: 30px;
}

.servicos-cta p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.servicos-disclaimer {
    margin-top: 50px;
    text-align: center;
}

/* Depoimentos seção */
.depoimentos-section {
    background-color: #f2f6f9;
    position: relative;
}

.depoimentos-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.depoimento-card {
    display: none;
    width: 100%;
}

.depoimento-card.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.depoimento-content {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.depoimento-texto {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    width: 30px;
    height: 30px;
    stroke: var(--accent-color);
    opacity: 0.3;
    stroke-width: 1;
    margin-bottom: 10px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.autor-foto {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
}

.autor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.autor-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.autor-info p {
    color: #666;
    font-size: 0.9rem;
}

.depoimentos-controles {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-control {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.slider-control:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-control .icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s;
}

.dot:hover {
    opacity: 0.8;
}

.dot.active {
    opacity: 1;
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Contato seção */
.contato-section {
    background-color: #fff;
}

.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(48, 77, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.info-icon .icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    fill: none;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-content p {
    line-height: 1.6;
    color: #666;
}

.mapa-wrapper {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contato-form {
    background-color: #f2f6f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contato-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(48, 77, 99, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check input {
    width: auto;
    margin-right: 10px;
    min-width: 18px;
    min-height: 18px;
}

.form-check label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-desc {
    margin-bottom: 20px;
    color: #b3c3d0;
    line-height: 1.6;
}

.footer-contato p {
    margin-bottom: 10px;
}

.footer-contato a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contato a:hover {
    color: var(--accent-color);
}

.footer-links h4,
.footer-endereco h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-endereco h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #b3c3d0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-endereco address {
    font-style: normal;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #b3c3d0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-color);
}

.social-icon .icon {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.footer-disclaimer {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #b3c3d0;
}

/* Cookie notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: white;
    padding: 15px 0;
    z-index: 1000;
    display: none;
}

.cookie-notice.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

.cookie-notice .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-notice p {
    flex: 1;
    min-width: 200px;
}

.cookie-notice a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-content {
        flex-direction: column;
    }
    
    .nav-list {
        display: none;
    }
    
    .nav-list.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    .nav-list.active li {
        margin: 10px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        width: 95%;
    }
    
    .hero {
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .sobre-imagem img {
        margin-bottom: 30px;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-notice .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .depoimentos-controles {
        flex-wrap: wrap;
    }
} 