/* Custom CSS Variables */
:root {
    --primary-color: #0d5a91;
    --secondary-color: #77c3e7;
    --accent-color: #164e85;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --transition-speed: 0.3s;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
    transition: all var(--transition-speed);
}

.navbar-scrolled {
    padding: 8px 0;
}

.navbar-scrolled .navbar-brand img {
    max-height: 40px;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(
        135deg, 
        rgba(13, 90, 145, 0.9) 0%, 
        rgba(22, 78, 133, 0.85) 100%
    ), 
    url('img/bghome.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

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

/* CTA Buttons */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 5px;
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: #65b3d7;
    border-color: #65b3d7;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 10px 25px;
    transition: all var(--transition-speed);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light-color);
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    text-align: center;
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    height: 100%;
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    padding-left: 30px;
}

.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Target Audience Section */
.target-audience {
    padding: 80px 0;
    background-color: var(--light-color);
}

.audience-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.audience-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(
        135deg, 
        rgba(13, 90, 145, 0.9) 0%, 
        rgba(22, 78, 133, 0.85) 100%
    ), 
    url('/api/placeholder/1920/1080') center/cover no-repeat fixed;
    color: white;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -10px;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 5px;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    transition: all var(--transition-speed);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 90, 145, 0.25);
}

.contact-info {
    padding-left: 30px;
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.footer h5 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: all var(--transition-speed);
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 992px) {

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .contact-info {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-card, .audience-card {
        padding: 20px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}
/* Estilos para a página de categoria */
.category-header {
    padding: 2rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid #eee;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Estilos para os posts da categoria */
.category-post {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Proporção 16:9 */
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-thumbnail a:hover img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #0073aa;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #0073aa;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.post-meta i {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.post-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
}

/* Animação de entrada */
.slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay para animação em cascata */
.col-md-6.col-lg-4.mb-4.slide-up:nth-child(1) {
    animation-delay: 0.1s;
}

.col-md-6.col-lg-4.mb-4.slide-up:nth-child(2) {
    animation-delay: 0.2s;
}

.col-md-6.col-lg-4.mb-4.slide-up:nth-child(3) {
    animation-delay: 0.3s;
}

.col-md-6.col-lg-4.mb-4.slide-up:nth-child(4) {
    animation-delay: 0.4s;
}

.col-md-6.col-lg-4.mb-4.slide-up:nth-child(5) {
    animation-delay: 0.5s;
}

.col-md-6.col-lg-4.mb-4.slide-up:nth-child(6) {
    animation-delay: 0.6s;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #0073aa;
    color: #fff;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 767.98px) {
    .category-title {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .post-content {
        padding: 1rem;
    }
    
    .post-title {
        font-size: 1.1rem;
    }
    
    .post-excerpt {
        font-size: 0.9rem;
    }
}
/* Estilos para a seção "Leia também" */
.related-posts-container {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
}

.related-posts-grid {
    display: grid;
    gap: 20px;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-post-thumbnail {
    display: block;
    overflow: hidden;
    height: 180px;
}

.related-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 15px;
}

.related-post-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.related-post-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #3498db;
}

.related-post-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.related-post-meta .bi {
    margin-right: 5px;
    color: #3498db;
}

.no-related-posts {
    text-align: center;
    padding: 20px;
    color: #7f8c8d;
    font-style: italic;
}

/* Responsividade */
@media (max-width: 992px) {
    .related-post-thumbnail {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-post-thumbnail {
        height: 200px;
    }
}
 .video-container {
    position: relative;
    max-width: 100%;
    transition: all 0.3s ease;
  }
  
  .video-container video {
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .video-controls-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
  }
  
  .video-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.2rem;
  }
  
  .video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
  }
  
  /* Efeito quando o vídeo está pausado */
  .video-container.paused .video-controls-center {
    background: rgba(0, 0, 0, 0.7);
  }
  
  /* Responsividade */
  @media (max-width: 992px) {

    
    .video-container {
      max-width: 80%;
      margin: 2rem auto 0;
    }
  }
  
  @media (max-width: 768px) {
    .video-container {
      max-width: 100%;
    }
    
    .video-btn {
      width: 36px;
      height: 36px;
      font-size: 1rem;
    }
  }

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

    .cta-section {
        border-radius: 0 50px 0 50px;
    }

    .hero-img {
        margin-top: 2rem;
    }

    .section-title {
        text-align: center;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Estilo da mensagem de boas-vindas */
.floating-message {
    position: fixed;
    bottom: 100px;
    /* Ajuste a distância do botão do WhatsApp */
    right: 30px;
    background-color: #25D366;
    /* Cor do WhatsApp */
    color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    max-width: 250px;
    display: none;
    /* Inicialmente oculto */
    animation: fadeIn 0.5s ease-in-out;
    text-decoration: none;
    /* Remove sublinhado do link */
    cursor: pointer;
    /* Mostra que é clicável */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-message:hover {
    transform: translateY(-5px);
    /* Efeito de levantar ao passar o mouse */
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

.floating-message p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.floating-message::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #25D366 transparent transparent transparent;
}

/* Animação de aparecimento */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo do botão de fechar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}