/* ============================================
   MONTATECH BRASIL - ESTILOS PRINCIPAIS
   Paleta: Azul Escuro #0e3d71 | Azul Médio #045ebf
           Dourado #f6b401 | Verde #3baf63
   ============================================ */

/* Reset e Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --azul-escuro: #0e3d71;
    --azul-medio: #045ebf;
    --dourado: #f6b401;
    --verde: #3baf63;
    --branco: #ffffff;
    --cinza-claro: #f5f5f5;
    --cinza-texto: #555555;
    --preto-suave: #222222;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--preto-suave);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER & MENU (NÃO MEXER - FUNCIONANDO)
   ============================================ */
/* Container do menu (fixo) */

#menu-container {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
}

.logo-link img {
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-list a {
    display: block;
    padding: 10px 16px;
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    background: var(--azul-escuro);
    color: var(--branco);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--azul-escuro);
    border-radius: 3px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--branco);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        gap: 5px;
        z-index: 999;
        border-radius: 0 0 15px 15px;
    }
    
    .nav-list.active {
        display: flex !important;
    }
    
    .nav-list a {
        padding: 15px;
        border-radius: 8px;
        font-size: 16px;
    }
}

/* ============================================
   HERO SECTION (HOME)
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-section h2 {
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--verde);
    color: var(--branco);
    padding: 16px 40px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(59, 175, 99, 0.4);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: var(--dourado);
    color: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(246, 180, 1, 0.5);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2em;
    }
    
    .hero-section h2 {
        font-size: 1em;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1.1em;
    }
}

/* ============================================
   SERVICES GRID (HOME)
   ============================================ */
.services-grid-section {
    padding: 50px 0;
    background: var(--cinza-claro);
}

.services-grid-section h2 {
    text-align: center;
    color: var(--azul-escuro);
    margin-bottom: 35px;
    font-size: 2.2em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.service-content {
    padding: 20px 25px;
}

.service-content h3 {
    color: var(--azul-escuro);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.service-content p {
    color: var(--cinza-texto);
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95em;
}

.service-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.service-content ul li {
    color: var(--azul-medio);
    font-weight: 500;
    font-size: 0.9em;
    padding-left: 20px;
    position: relative;
}

.service-content ul li::before {
    content: "✓";
    color: var(--verde);
    position: absolute;
    left: 0;
    font-weight: bold;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-content ul {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BRANDS SECTION (HOME)
   ============================================ */
.brands-section {
    padding: 40px 0;
    text-align: center;
    background: var(--branco);
}

.brands-section h2 {
    color: var(--azul-escuro);
    margin-bottom: 15px;
    font-size: 2em;
}

.brands-section p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--cinza-texto);
    font-size: 1.1em;
    line-height: 1.7;
}

/* ============================================
   SEÇÃO DE AVALIAÇÕES (HOME)
   ============================================ */
.reviews-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--verde) 0%, #2d9e50 100%);
    color: var(--branco);
    text-align: center;
}

.reviews-section h2 {
    font-size: 2em;
    margin-bottom: 35px;
    color: var(--branco);
}

.reviews-highlight {
    max-width: 900px;
    margin: 0 auto;
}

.rating-counter {
    margin-bottom: 35px;
    animation: fadeInUp 0.8s ease;
}

.rating-number {
    font-size: 5em;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    color: var(--dourado);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.rating-plus {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--dourado);
    vertical-align: super;
}

.rating-stars {
    font-size: 2em;
    color: var(--dourado);
    letter-spacing: 5px;
    margin-top: 5px;
}

.rating-label {
    display: block;
    font-size: 1.1em;
    margin-top: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 22px;
    border-radius: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-stars {
    color: var(--dourado);
    font-size: 1.1em;
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.85em;
    opacity: 0.8;
}

.review-text {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 12px;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    font-size: 0.9em;
    opacity: 0.9;
}

.reviews-cta {
    margin-top: 25px;
}

.reviews-cta p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.google-review-link {
    display: inline-block;
    padding: 14px 30px;
    background: var(--branco);
    color: var(--verde);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.google-review-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--azul-escuro);
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-number {
        font-size: 3.5em;
    }
}

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

/* ============================================
   GALERIA (HOME)
   ============================================ */
.gallery-section {
    padding: 50px 0;
    background: var(--cinza-claro);
}

.gallery-section h2 {
    text-align: center;
    color: var(--azul-escuro);
    font-size: 2em;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--cinza-texto);
    margin-bottom: 30px;
    font-size: 1.05em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #e0e0e0;
    display: none;
}

.gallery-item.visible {
    display: block;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-actions {
    text-align: center;
}

.btn-ver-mais {
    display: inline-block;
    padding: 12px 35px;
    background: var(--azul-escuro);
    color: var(--branco);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(14, 61, 113, 0.3);
}

.btn-ver-mais:hover {
    background: var(--azul-medio);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(4, 94, 191, 0.4);
}

.btn-ver-mais.hidden {
    display: none;
}

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

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    cursor: pointer;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--branco);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--dourado);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================
   SOBRE (HOME)
   ============================================ */
.about-section {
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(59, 175, 99, 0.08) 0%, rgba(59, 175, 99, 0.03) 100%);
}

.about-section h2 {
    text-align: center;
    color: var(--azul-escuro);
    font-size: 2em;
    margin-bottom: 20px;
}

.about-section p {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--cinza-texto);
    font-size: 1.1em;
    line-height: 1.8;
}

/* ============================================
   FAQ (HOME)
   ============================================ */
.faq-section {
    padding: 50px 0;
    background: var(--branco);
}

.faq-section h2 {
    text-align: center;
    color: var(--azul-escuro);
    font-size: 2em;
    margin-bottom: 30px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: var(--azul-medio);
}

.faq-item summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05em;
    color: var(--azul-escuro);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cinza-claro);
    transition: background 0.3s;
}

.faq-item summary:hover {
    background: #ebebeb;
}

.faq-item summary::after {
    content: "↓";
    font-size: 1.2em;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    padding: 18px 20px;
    color: var(--cinza-texto);
    line-height: 1.7;
    background: var(--branco);
}

/* ============================================
   CONTATO (HOME)
   ============================================ */
.contact-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #0a2f5a 100%);
    color: var(--branco);
    text-align: center;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
}

.contact-info,
.work-with-us {
    text-align: center;
}

.contact-info h2,
.work-with-us h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.contact-info p,
.work-with-us p {
    margin-bottom: 20px;
    font-size: 1.05em;
    opacity: 0.95;
    line-height: 1.7;
}

.whatsapp-button,
.work-button {
    display: inline-block;
    padding: 14px 30px;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.whatsapp-button {
    background: var(--verde);
    color: var(--branco);
    box-shadow: 0 4px 15px rgba(59, 175, 99, 0.4);
}

.whatsapp-button:hover {
    background: var(--dourado);
    color: var(--azul-escuro);
    transform: translateY(-2px);
}

.work-button {
    background: transparent;
    border: 2px solid var(--dourado);
    color: var(--dourado);
}

.work-button:hover {
    background: var(--dourado);
    color: var(--azul-escuro);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================
   BLOG - HERO
   ============================================ */
.blog-hero {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    padding: 45px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.1em;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BLOG - GRID DE POSTS
   ============================================ */
.blog-posts-section {
    padding: 50px 0;
    background: var(--cinza-claro);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.blog-card {
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-category {
    display: inline-block;
    background: rgba(59, 175, 99, 0.1);
    color: var(--verde);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 10px;
}

.blog-card-content h2 {
    font-size: 1.2em;
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-content h2 a {
    color: var(--azul-escuro);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-card-content h2 a:hover {
    color: var(--azul-medio);
}

.blog-card-content p {
    color: var(--cinza-texto);
    font-size: 0.92em;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 0.85em;
    color: #999;
}

/* ============================================
   BLOG - PAGINAÇÃO
   ============================================ */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px 0;
    margin-bottom: 20px;
}

.pagination-top {
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.pagination-bottom {
    margin-top: 30px;
    border-top: 2px solid #e0e0e0;
    padding-top: 20px;
}

.pagination-info {
    color: var(--cinza-texto);
    font-size: 0.9em;
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-block;
    padding: 8px 16px;
    background: var(--branco);
    color: var(--azul-escuro);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.page-btn:hover {
    background: var(--azul-medio);
    color: var(--branco);
    border-color: var(--azul-medio);
}

.page-btn.active {
    background: var(--azul-escuro);
    color: var(--branco);
    border-color: var(--azul-escuro);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   BLOG - CTA
   ============================================ */
.blog-cta {
    background: linear-gradient(135deg, var(--verde) 0%, #2d9e50 100%);
    color: var(--branco);
    text-align: center;
    padding: 40px 0;
}

.blog-cta h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--branco);
}

.blog-cta p {
    margin-bottom: 20px;
    opacity: 0.95;
    font-size: 1.1em;
}

.blog-cta .cta-button {
    background: var(--dourado);
    color: var(--azul-escuro);
}

.blog-cta .cta-button:hover {
    background: var(--branco);
    color: var(--azul-escuro);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-hero {
        padding: 30px 0;
    }
    
    .blog-hero h1 {
        font-size: 1.8em;
    }
    
    .pagination {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-buttons {
        justify-content: center;
    }
}

/* ============================================
   FOOTER (PRESERVADO ORIGINAL)
   ============================================ */
.main-footer {
    background: #1a1a1a;
    color: var(--branco);
    padding: 35px 0 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 12px;
}

.slogan {
    color: var(--dourado);
    font-size: 1.1em;
    margin-bottom: 20px;
}

.contatos {
    margin-bottom: 18px;
    line-height: 1.8;
}

.contatos a {
    color: var(--verde);
    text-decoration: none;
    font-weight: 600;
}

.contatos a:hover {
    text-decoration: underline;
}

.social-links {
    margin-bottom: 18px;
}

.social-links a {
    color: var(--branco);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--dourado);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 18px;
    font-size: 0.9em;
    color: #888;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
@media (max-width: 480px) {
    h1 { font-size: 1.8em !important; }
    h2 { font-size: 1.5em !important; }
    
    .container {
        padding: 0 15px;
    }
}


/* ============================================
   LIGHTBOX MODERNIZADO - GALERIA
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--branco);
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2002;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--dourado);
}

/* Setas de navegação */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2002;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.lightbox-nav:hover {
    background: var(--dourado);
    color: var(--azul-escuro);
    border-color: var(--dourado);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 25px;
}

.lightbox-next {
    right: 25px;
}

/* Informações e contador */
.lightbox-info {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2002;
}

#lightboxCounter {
    color: var(--branco);
    font-size: 0.95em;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.lightbox-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 400px;
}

.lightbox-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.lightbox-dot.active {
    background: var(--dourado);
    transform: scale(1.3);
}

.lightbox-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    
    .lightbox-content {
        max-height: 70vh;
    }
}


/* ============================================
   POST INDIVIDUAL DO BLOG
   ============================================ */
.blog-post {
    padding: 50px 0;
    background: var(--branco);
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.post-header .blog-category {
    display: inline-block;
    background: rgba(59, 175, 99, 0.1);
    color: var(--verde);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-header h1 {
    font-size: 2.5em;
    color: var(--azul-escuro);
    margin: 15px 0;
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #999;
    font-size: 0.9em;
    flex-wrap: wrap;
}

.post-image {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--preto-suave);
}

.post-content h2 {
    color: var(--azul-escuro);
    font-size: 1.6em;
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.post-content h3 {
    color: var(--azul-medio);
    font-size: 1.3em;
    margin: 25px 0 12px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content strong {
    color: var(--azul-escuro);
}

/* CTA dentro do post */
.post-cta {
    background: linear-gradient(135deg, var(--verde) 0%, #2d9e50 100%);
    color: var(--branco);
    text-align: center;
    padding: 35px 25px;
    border-radius: 15px;
    margin: 40px 0;
}

.post-cta h3 {
    color: var(--branco);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.post-cta p {
    color: var(--branco);
    margin-bottom: 20px;
    opacity: 0.95;
}

.post-cta .cta-button {
    background: var(--dourado);
    color: var(--azul-escuro);
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.post-cta .cta-button:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    transform: translateY(-3px);
}

/* Navegação entre posts */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 800px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.post-nav-link {
    color: var(--azul-medio);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95em;
    border: 2px solid transparent;
}

.post-nav-link:hover {
    background: var(--azul-medio);
    color: var(--branco);
    border-color: var(--azul-medio);
}

.post-nav-link.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    color: #999;
}

@media (max-width: 768px) {
    .blog-post {
        padding: 30px 0;
    }
    
    .post-header h1 {
        font-size: 1.8em;
    }
    
    .post-content {
        font-size: 1em;
    }
    
    .post-content h2 {
        font-size: 1.3em;
    }
    
    .post-navigation {
        flex-direction: column;
        text-align: center;
    }
    
    .post-cta {
        padding: 25px 20px;
    }
}


/* ============================================
   PLANEJADOR INTELIGENTE (HOME)
   ============================================ */
.planner-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--azul-escuro) 0%, var(--azul-medio) 100%);
    color: var(--branco);
    text-align: center;
}

.planner-section h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: var(--branco);
}

.planner-section p {
    max-width: 700px;
    margin: 0 auto 25px;
    font-size: 1.1em;
    opacity: 0.95;
    line-height: 1.7;
}

.planner-section .cta-button {
    display: inline-block;
    background: var(--dourado);
    color: var(--azul-escuro);
    padding: 16px 45px;
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(246, 180, 1, 0.4);
}

.planner-section .cta-button:hover {
    background: var(--branco);
    color: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .planner-section {
        padding: 35px 0;
    }
    .planner-section h2 {
        font-size: 1.5em;
    }
    .planner-section .cta-button {
        padding: 14px 30px;
        font-size: 1.05em;
    }
}




/* ============================================
   FOOTER - LINKS DE NAVEGAÇÃO + REDES SOCIAIS
   ============================================ */
.footer-nav {
    text-align: center;
    margin: 20px 0 15px;
    font-size: 0.95em;
}

.footer-nav a {
    color: var(--branco);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0 5px;
}

.footer-nav a:hover {
    color: var(--dourado);
}

.footer-separador {
    color: #888;
    margin: 0 3px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0 20px;
}

.footer-social a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

.footer-social img {
    display: block;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .footer-nav {
        font-size: 0.85em;
        line-height: 2.2;
    }
    
    .footer-social {
        gap: 15px;
    }
}
