/* Variáveis CSS para consistência de cores e estilo */
:root {
    --primary-color: #00579B;
    --secondary-color: #F58634;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f4f4f4;
    --transition-smooth: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

/* Reset e estilo base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Estrutura base */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header/Cabeçalho */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    width: 150px;
    height: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* Banner principal */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

.btn-primary:hover {
    background-color: #e67a30;
}

.btn-outline {
    border: 2px solid white;
    color: white;
}

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

/* Seções principais */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-title p {
    color: var(--medium-gray);
    margin-top: 1rem;
}

/* Cards de serviços */
.services-grid, .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card, .blog-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
}

.service-card:hover, .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img, .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card-content, .blog-card-content {
    padding: 1.5rem;
}

.service-card h3, .blog-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p, .blog-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.service-card ul {
    margin-bottom: 1.5rem;
}

.service-card li {
    margin-bottom: 0.5rem;
    color: var(--medium-gray);
}

.service-card li::before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

/* Garantir que todos os cards de serviço tenham a mesma altura e botões alinhados */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card > a {
    margin-top: auto;
}

/* Garantir que todos os itens de lista tenham a mesma altura */
.service-card ul {
    min-height: 110px;
}

/* Estilos para páginas de blog e serviços */
.blog-page-content, .service-page-detail {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.post-image-full {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-image-full img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1);
    transition: transform 0.6s ease;
}

.post-image-full:hover img {
    transform: scale(1.03);
}

.post-content {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.post-content h2 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.post-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.post-content h3 {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin: 1.75rem 0 1rem;
}

.post-content p {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.post-content strong {
    color: var(--dark-gray);
    font-weight: 700;
}

.post-content ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.25rem;
}

.post-content ul li {
    color: var(--medium-gray);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.post-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Grid de recursos para páginas de serviço */
.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.service-feature {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-feature h4 {
    color: var(--primary-color);
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.service-feature h4 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.service-feature p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* Botões estilizados */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: #e67a30;
    border-color: #e67a30;
}

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

.back-button-container {
    margin-top: 2.5rem;
    text-align: center;
}

/* Seção de sobre nós */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

.about-values {
    margin-top: 2rem;
}

.about-values div {
    margin-bottom: 1.5rem;
}

.about-values h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Seção de depoimentos */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-slider {
    margin-top: 3rem;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin: 0 1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.testimonial-card .client {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonial-card .rating {
    color: #FFD700;
    margin-top: 0.5rem;
}

/* Seção de contato */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    height: 150px;
}

/* Rodapé */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-logo a {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.footer-logo p {
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact ul li i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Página de título */
.page-title {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-title-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-title p {
    font-size: 1.2rem;
}

/* Estilos específicos para página de blog */
.blog-page {
    background-color: var(--light-gray);
}

.blog-grid {
    margin-top: 3rem;
}

.blog-card {
    margin-bottom: 2rem;
}

.blog-meta {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-card .read-more {
    color: var(--secondary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.blog-card .read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.blog-card .read-more:hover i {
    transform: translateX(5px);
}

/* Animações fallback para quando GSAP não estiver disponível */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease 0.3s forwards;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilidades */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsividade - Ajustes para diferentes tamanhos de tela */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card ul {
        min-height: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}
/* Adiciona padding para a visualização web (desktop) */
.mobile-button-container {
    padding-top: 2rem;    /* 32px de padding superior */
    padding-bottom: 2rem; /* 32px de padding inferior */
}

/* Remove o padding na visualização móvel */
@media (max-width: 768px) {
    .mobile-button-container {
        padding-top: 0;
        padding-bottom: 0 !important;
    }
}
