:root {
    --primary: #0033A0;
    --secondary: #00A3E0;
    --accent: #FF8200;
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --gray: #6C757D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.logo img {
    height: 100px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 2rem;
    position: relative;
}

.main-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover:after {
    width: 100%;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: #e67300;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    margin-left: 1rem;
    background: transparent;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

/* Container geral */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Seções */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Cards de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.service-link svg {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.service-link:hover svg {
    transform: translateX(5px);
}

/* Seção Sobre */
.about {
    background-color: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--accent);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
    }
    
    .main-nav {
        margin-top: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 1rem 0.5rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .btn-outline {
        margin-left: 0;
    }
}

/* Nossa Historia */
.history-highlight {
    background-color: rgba(0, 163, 224, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.history-highlight h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.stats-container {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
    font-style: italic;
}
/* Adicione/atualize no seu arquivo style.css */
.about-text p,
.history-highlight p,
.image-caption {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    line-height: 1.6;
}

.history-highlight {
    background-color: rgba(0, 163, 224, 0.1);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.history-highlight h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    text-align: left; /* Títulos mantidos alinhados à esquerda */
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
    .about-text p,
    .history-highlight p,
    .image-caption {
        text-align: left;
        hyphens: none;
    }
    
    .history-highlight {
        padding: 1rem;
    }
}
/* Adicione ao seu arquivo style.css */
.text-justify {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.service-content p,
.service-details p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.section-title p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Ajuste para melhorar a legibilidade */
.service-content {
    padding: 2rem;
}

.service-details {
    padding: 1.2rem 0;
    margin: 1.2rem 0;
}
/*Mobile*/
@media (max-width: 768px) {
    .service-content p,
    .service-details p {
        text-align: left;
        hyphens: none;
    }
}
/* Estilos para Font Awesome */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 51, 160, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0, 51, 160, 0.1);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(0, 51, 160, 0.08);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-card:nth-child(2) .service-icon {
    color: var(--secondary);
    background: rgba(0, 163, 224, 0.08);
}

.service-card:nth-child(3) .service-icon {
    color: var(--accent);
    background: rgba(255, 130, 0, 0.08);
}

.service-content h3 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 1.5rem;
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-service:hover {
    background: transparent;
    color: var(--primary);
}

.btn-service i {
    transition: transform 0.3s;
    font-size: 0.9rem;
}

.btn-service:hover i {
    transform: translateX(4px);
}

/* Efeitos hover */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 51, 160, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(0, 51, 160, 0.15);
}

.service-card:nth-child(2):hover .service-icon {
    background: rgba(0, 163, 224, 0.15);
}

.service-card:nth-child(3):hover .service-icon {
    background: rgba(255, 130, 0, 0.15);
}

/* Responsividade */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 30px;
        height: 30px;
    }
}

/* Seção Clientes */
.clients-section {
    background-color: #f9fafc;
    padding: 5rem 0;
}

.client-logos {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-item {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    opacity: 0.7;
    transition: opacity 0.3s;
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.logo-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Cases de Sucesso */
.cases-title, .testimonials-title {
    text-align: center;
    margin: 4rem 0 2rem;
}

.cases-title h3, .testimonials-title h3 {
    color: var(--primary);
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.cases-title h3::after, .testimonials-title h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-header {
    position: relative;
    height: 200px;
}

.case-thumb {
    width: 80%;
    height: 100%;
    object-fit: cover;
}

.case-client {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-client img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.case-client span {
    font-weight: 600;
    color: var(--dark);
}

.case-content {
    padding: 2rem;
}

.case-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.case-stats {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
}

.stat i {
    font-size: 1.1rem;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: color 0.3s;
}

.case-link:hover {
    color: var(--accent);
}

.case-link i {
    transition: transform 0.3s;
}

.case-link:hover i {
    transform: translateX(5px);
}

/* Depoimentos */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-header img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.client-info h5 {
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.client-info span {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.rating {
    color: var(--accent);
    font-size: 0.9rem;
}

.testimonial-content {
    padding: 0 1rem;
}

.testimonial-content p {
           font-style: italic;
            color: var(--dark-color);
            position: relative;
            text-align: justify;
            text-justify: inter-word;
            hyphens: auto;
            -webkit-hyphens: auto;
            -moz-hyphens: auto;
            -ms-hyphens: auto;
            line-height: 1.6;
            margin-bottom: 15px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 0;
}

.testimonial-content p::before {
    vertical-align: top;
    margin-right: 5px;
}

.testimonial-content p::after {
    vertical-align: bottom;
    margin-left: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .logo-grid {
        gap: 1.5rem;
    }
    
    .logo-item {
        min-width: 120px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-header img {
        margin-bottom: 1rem;
    }
}

/* Estilos para as redes sociais */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-facebook {
    background-color: #1877f2; /* Azul do Facebook */
}

.social-instagram {
   background-color: #0077b5; /* Gradiente do Instagram */
}

.social-twitter {
    background-color: #0077b5; /* Preto do X (Twitter) */
}

.social-linkedin {
    background-color: #0077b5; /* Azul do LinkedIn */
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Rodapé responsivo */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}