/*
Theme Name: PamdWeb
Description: Tema profissional para empresas de tecnologia com design moderno e responsivo
Author: PamdWeb
Version: 1.0
Text Domain: pamdweb
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2c5530;
    --light-green: #4a7c59;
    --dark-green: #1a3b1f;
    --primary-black: #1a1a1a;
    --light-black: #2d2d2d;
    /* --gold-yellow: #ffd700; */
     --gold-yellow:#A39966;
    /* --light-gold: #ffed4a; */
    --light-gold: #c2ad43;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --Goldenochre:#A39966;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    /* padding-top: 80px; Para compensar o header fixo */
}


.header {
    background:var(--primary-black); 
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo, .custom-logo-link {
    font-size: 2rem;
    font-weight: bold;
    /* color: var(--gold-yellow); */
    color: var(--Goldenochre);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    background-color: var(--gold-yellow);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.mobile-menu {
    display: none;
    color:  var(--gold-yellow);
    /* var(--white); */
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu:hover {
    color: var(--gold-yellow);
}


.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    /* left: 0; */
    right: 0; /* Alinha ao lado direito do botão */
    /*   */
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    padding: 1rem 0;
    /* box-shadow: 0 4px 10px rgba(0,0,0,0.3); */
    padding: 1rem 0;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
}   

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}



.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin: 0;
}

.mobile-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:hover,
.mobile-nav .current-menu-item a {
    background-color: var(--gold-yellow);
    color: var(--primary-black);
    padding-left: 2.5rem;
}






/* .mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin: 0;
}

.mobile-menu-items a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-items a:hover {
    background-color: var(--gold-yellow);
    color: var(--primary-black);
    padding-left: 2.5rem;
} */







/* Hero Section */
.hero {
    background: var(--light-black);
    /* linear-gradient(135deg, var(--primary-black), var(--light-black)); */
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold-yellow), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px var(--gold-yellow)); }
    to { filter: drop-shadow(0 0 20px var(--light-gold)); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 85, 48, 0.4);
    background: linear-gradient(45deg, var(--light-green), var(--primary-green));
}

/* Services Section */
.services {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    /* border: 1px solid #f0f0f0; */
    border-top: 4px solid var(--primary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 85, 48, 0.15);
    border-color: var(--light-green);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold-yellow);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: bold;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

.btn-saiba-mais {
    background-color: var(--primary-green); /* verde */
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 1.5rem;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none !important; /* força tirar o sublinhado */
}

.btn-saiba-mais:hover {
    background-color: var(--gold-yellow); /* amarelo */
    color: var(--primary-black);
}


/* About Section */
.about {
    /* background: var(--primary-black);
    color: var(--white); */
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-yellow);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-features {

    list-style: none;
}

.about-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: var(--gold-yellow);
    margin-right: 1rem;
    font-size: 1.2rem;
}
.about-image {
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 1.5rem; */
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    
}

.tech-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.05);
}

.tech-item i {
    font-size: 2rem;
    color: var(--gold-yellow);
    margin-bottom: 0.5rem;
}

/* .tech-item p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
} */

/* Contact Section */
.contact {

    padding: 100px 2rem;
    background-color: var(--primary-black);
    color: var(--white);
}

.contact-content {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;

}

.contact-info h3 {

    color: var(--gold-yellow);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-item {

    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {

    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 1rem;
    width: 30px;
}


.contact-form {

    background: var(--light-black);
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group label {

    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-yellow);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    background: var(--primary-black);
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-yellow);
}


.submit-btn {
    background: linear-gradient(45deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(45deg, var(--light-green), var(--primary-green));
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 3rem 0 1rem;
}

.footer-content {
    /* text-align: center; */
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-widget h4 {
    color: var(--gold-yellow);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--gold-yellow);
}

.footer-navigation .footer-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    list-style: none; /* geralmente útil para limpar marcadores */
    padding: 0;        /* remove o padding padrão */
}

.footer-navigation .footer-menu a {
    color: white !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.footer-navigation .footer-menu a:hover {
    color: var(--gold-yellow) !important;
}

.footer-text {
    opacity: 0.8;
    font-size: 0.9rem;
}


.footer a {
    text-decoration: none;
    color:var(--primary-black);
  }
  
  .footer a :hover{
    text-decoration: none;

    color:var(--gold-yellow);
  }


.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links a {
             display: inline-block;
            width: 50px;
            height: 50px;
            background: var(--primary-green);
            color: var(--white);
            text-align: center;
            line-height: 50px;
            border-radius: 50%;
            transition: all 0.3s ease;
            font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gold-yellow);
    color: var(--primary-black);
    transform: translateY(-3px);
}


/* Blog Section */
.blog-section {
    background: var(--light-gray);
}

.bg-light-gray {
    background: var(--light-gray);
}

/* WordPress Classes */
.wp-block-group {
    margin: 2rem 0;
}

.wp-block-heading {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.wp-block-paragraph {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.wp-block-button .wp-block-button__link {
    background: linear-gradient(45deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3);
}

/* Container Classes */
.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold-yellow); }
.bg-green { background: var(--primary-green); }
.bg-black { background: var(--primary-black); }
.text-white { color: var(--white); }

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
/* 
.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
} */


.post-thumbnail {
    width: 40%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto; /* centraliza */
}

.post-thumbnail img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .post-thumbnail {
        width: 80%; /* aumenta no celular */
    }
}




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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    margin-bottom: 1rem;
}

.post-content h3 a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h3 a:hover {
    color: var(--light-green);
}

.post-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem; /* esse é o espaçamento abaixo */
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-green);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

/* Comments Section */
.comments-area {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.comments-title {
    color: var(--primary-green);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.comment-list {
    list-style: none;
    margin: 2rem 0;
}

.comment-list li {
    background: var(--white);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--light-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-author img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.comment-author cite {
    font-weight: bold;
    color: var(--primary-green);
    font-style: normal;
}

.comment-metadata a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.comment-content {
    margin: 1rem 0;
    line-height: 1.7;
}

.comment-awaiting-moderation {
    background: #fff3cd;
    color: #856404;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
    margin: 1rem 0;
}

.reply a {
    color: var(--light-green);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--light-green);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.reply a:hover {
    background: var(--light-green);
    color: var(--white);
}

/* Comment Form */
.comment-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.comment-reply-title {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}


.page-content {
    margin: 30px;
}
.page-content li{
    margin: 30px;
}

.page-content p {
    margin-bottom: 1.5em; /* Espaço entre parágrafos */
    text-align: justify;
    /* text-indent: 2em; Recuo da primeira linha */
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .comments-area {
        padding: 2rem 1rem;
    }
    
    .comment-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-navigation .footer-menu {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .footer-navigation .footer-menu li {
        width: 100%;
        text-align: center;
    }
    
}


@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem 1.5rem;

    }
}


.posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.column-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mini-post {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mini-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.mini-content h4 {
    font-size: 1rem;
    margin: 0;
}

.mini-content a {
    text-decoration: none;
    color: #333;
}

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

@media (max-width: 480px) {
    .posts-wrapper {
        grid-template-columns: 1fr;
    }
}


.post-navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.post-navigation-buttons .nav-btn a {
    background-color: var(--primary-green);
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1rem;
    text-decoration: none !important;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.post-navigation-buttons .nav-btn a:hover {
    background-color: var(--gold-yellow);
    color: var(--primary-black) !important;
}

/* Mobile: botões um embaixo do outro */
@media (max-width: 480px) {
    .post-navigation-buttons {
        flex-direction: column;
        align-items: center;
    }

    .post-navigation-buttons .nav-btn a {
        width: 100%;
        max-width: 300px;
    }
}

.mini-post {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 10px;

}

.mini-thumbnail img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}


/* LGPD POPUP */
#lgpdPopup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5;
    color: #333333;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.lgpd-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

#lgpdPopup p {
    margin: 0;
    line-height: 1.5;
    font-size: 14px;
    color: #333333;
}

#lgpdPopup button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#lgpdPopup button:hover {
    background: #cc9900;
    color: #333333;
    transform: scale(1.05);
}





.hero-slider {    
    background: var(--light-black);    
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;

    
}

.hero-slider::before {
    /* Seu grid SVG */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.2;
    z-index: 0;
}

.swiper-slide {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;

}



.swiper-slide h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold-yellow), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px var(--gold-yellow)); }
    to { filter: drop-shadow(0 0 20px var(--light-gold)); }
}

.swiper-slide p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}


.hero-slider .swiper-wrapper {

     width: 100%;
    position: relative; 
  z-index: 1;

}

.hero-slider .swiper-slide {
    color: var(--white);
    padding: 150px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;

}






.training-slide {    
    display: flex;
    justify-content: center;
    align-items: center;    
    padding: 40px 20px;
    min-height: 100%;

}

.training-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center; /* Adiciona centralização horizontal */
    /* max-width: 1100px; */
    width: 100%;     /* Garante que ocupa a largura do slide */
    text-align: center;

}

.training-image {
    flex: 1 1 40%;
    display: flex;
    justify-content: center; /* centraliza a imagem dentro do bloco */
    align-items: center;
    padding: 1rem; /* opcional */
}


.training-image img {
    max-width: 400px; /* ou outro valor adequado */
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}


.training-text {
    flex: 1 1 50%;
}

.training-text h1 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 15px;
}

.training-text p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 10px;
}

.training-text .promo {
    color: #d62828;
    font-weight: bold;
    margin-top: 10px;
}

.training-image {
    flex: 1 1 10%;
    text-align: center;
}

.training-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.cta-button.alt {
    background-color: #0077cc;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button.alt:hover {
    background-color: #005fa3;
}

.hero-slider .swiper-slide.training-slide {
    padding: 110px 2rem 60px;
}


@media (max-width: 768px) {
    .training-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .training-text {
        flex: 1 1 100%;
    }

    /* .training-image {
        flex: 1 1 100%;
    } */
    .training-image img {
        max-width: 300px;
    }
}


.swiper-slide .swiper-slider-desc{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }




.post-featured-image {
    width: 40%;
    max-width: 100%;
    margin: 0 auto; /* centraliza horizontalmente */
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Para telas pequenas */
@media (max-width: 768px) {
    .post-featured-image {
        width: 80%;
    }
}



  /* Justificar o texto dos artigos e melhorar legibilidade */
.post-content {
    text-align: justify;
    line-height: 1.8;         /* linha mais confortável que 1.6 */
    font-size: 1.05rem;       /* leve aumento de fonte */
    color: #333;              /* cor mais suave */
}

/* Espaço entre parágrafos para não ficar amontuado */
.post-content p {
    margin-bottom: 1.2em;
}

/* Justificar também as tags, se desejar */
.post-tags {
    text-align: justify;
}

/* Listas com espaçamento e recuo para melhor visualização */
.post-content ul,
.post-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    line-height: 1.7;
}

/* Cabeçalhos mais destacados e com espaçamento adequado */
.post-content h2,
.post-content h3,
.post-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

/* Imagens centralizadas com espaçamento e responsivas */
.post-content img {
    display: block;
    margin: 1.5em auto;
    max-width: 100%;
    height: auto;
}

/* Ajustes adicionais para dispositivos menores, se necessário */
@media (max-width: 768px) {
    .site-main {
        padding: 5px;
    }
    .swiper-slide .swiper-slider-desc {
        padding: 50px;
    }
}



  




  /* para pagina 404*/
  /* ===== PÁGINA 404 COM PADRONIZAÇÃO ===== */
.error-404 {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
  }
  
  .error-404:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  
  .error-icon {
    font-size: 80px;
    color: #ff4d4d;
    margin-bottom: 20px;
  }
  
  .error-title {
    font-size: 100px;
    font-weight: bold;
    color: #222;
    margin: 0;
  }
  
  .error-subtitle {
    font-size: 28px;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
  }
  
  .error-message {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
  }
  
  /* ===== FORMULÁRIO DE PESQUISA ===== */
  .error-search h3 {
    margin-bottom: 15px;
    font-size: 20px;
  }
  
  .search-input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .search-field {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px 0 0 8px;
    outline: none;
  }
  
  .search-field:focus {
    border-color: var(--primary-green);
  }
  
  .search-submit {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0 18px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s ease;
  }
  
  .search-submit:hover {
    background: var(--light-green);
  }
  
  /* ===== LINKS ===== */
  .error-navigation {
    margin-top: 40px;
  }
  
  .error-navigation h3 {
    margin-bottom: 15px;
  }
  
  .error-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .error-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 20px;
    transition: color 0.3s ease;
  }
  
  .error-link:hover {
    color: var(--light-green);
  }
  
  .recent-posts, .popular-categories {
    margin-top: 20px;
  }
  
  .recent-posts ul, .popular-categories ul {
    list-style: none;
    padding: 0;
  }
  
  .recent-posts li, .popular-categories li {
    margin-bottom: 8px;
  }
  
  .recent-posts a, .popular-categories a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .recent-posts a:hover, .popular-categories a:hover {
    color: var(--primary-green);
  }
  
  /* ===== CONTATO ===== */
  .error-contact {
    margin-top: 40px;
  }
  
  .contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffc107;
    color: #222;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
  }
  
  .contact-button:hover {
    background: #e0a800;
  }
  
  /* ===== RESPONSIVIDADE ===== */
  @media (max-width: 768px) {
    .error-title {
      font-size: 70px;
    }
    .error-subtitle {
      font-size: 22px;
    }
    .error-message {
      font-size: 16px;
    }
    .search-input-group {
      flex-direction: column;
    }
    .search-field, .search-submit {
      border-radius: 8px;
    }
    .search-submit {
      margin-top: 8px;
    }
  }
  


.post-texto p {
    line-height: 1.8;
    margin-bottom: 1.2em;
    font-size: 1.05rem;
    color: #333;
}

.post-texto ul,
.post-texto ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    line-height: 1.7;
}

.post-texto h2,
.post-texto h3,
.post-texto h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

.post-texto img {
    display: block;
    margin: 1.5em auto;
    max-width: 100%;
    height: auto;
}



/* popup de saída*/


  /* Overlay */
#exitPopupOverlay {
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(4px);
  }
  
  /* Popup container */
  #exitPopup {
    background: #000 !important;
    border-radius: 15px !important;
    padding: 30px 35px !important;
    max-width: 600px !important;
    width: 90% !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8) !important;
    color: #fff !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    text-align: center !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999 !important;

      /* Adicione aqui: */
  max-height: 90vh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  }

  #exitPopup ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 10px !important;
  }
  
  
  /* Close button */
  #exitPopupClose {
    position: absolute !important;
    top: 15px !important;
    right: 20px !important;
    font-size: 28px !important;
    color: gold !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: color 0.3s ease !important;
  }
  #exitPopupClose:hover {
    color: #fff !important;
  }
  
  /* Title */
  #exitPopup h2 {
    margin-top: 0 !important;
    color: gold !important;
    font-weight: 700 !important;
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }
  
  /* Paragraph */
  #exitPopup p {
    font-size: 16px !important;
    margin-bottom: 25px !important;
    color: #ddd !important;
    font-style: italic !important;
  }
  
  /* Form styles */
  #exitPopup form {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }
  
  /* Inputs */
  #exitPopup input[type="text"],
  #exitPopup input[type="email"] {
    padding: 14px 18px !important;
    border-radius: 8px !important;
    border: 2px solid gold !important;
    font-size: 16px !important;
    outline: none !important;
    color: #000 !important;
  }
  #exitPopup input::placeholder {
    color: #666 !important;
  }
  
  /* Button */
  #exitPopup button {
    background: gold !important;
    color: #000 !important;
    border: none !important;
    font-weight: 700 !important;
    padding: 16px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 17px !important;
    transition: background-color 0.3s ease !important;
  }
  #exitPopup button:hover {
    background-color: #d4af37 !important;
  }
  
  /* Responsividade para celulares */
  @media (max-width: 480px) {
    #exitPopup {
      padding: 20px 15px !important;
      max-width: 95% !important;
    }
    #exitPopup form {
      max-width: 100% !important;
    }
    #exitPopup h2 {
        padding-top: 30px !important;
        word-break: break-word !important; /* para quebrar palavras grandes se necessário */
    }
    #exitPopup h3 {
        padding-top: 20px !important;
        word-break: break-word !important; /* para quebrar palavras grandes se necessário */
    }
  }
  