/* =========================================
   VARIÁVEIS E RESET
   ========================================= */
:root {
    --orange: #fa7510;
    --orange-hover: #e06000;
    --blue-dark: #095a92;
    --blue-mid: #118dc9;
    --navy: #0d1d40;
    --white: #ffffff;
    --gray-light: #f4f6f9;
    --text-color: #333333;
    --whatsapp-green: #25D366;
    --whatsapp-dark: #1ebe57;
    --facebook-blue: #1877F2;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia de Títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* =========================================
   COMPONENTES (BOTÕES)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(250, 117, 16, 0.4);
}
.btn-primary:hover {
    background-color: var(--orange-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
}

.btn-area-cliente {
    background-color: var(--blue-mid);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}
.btn-area-cliente:hover {
    background-color: var(--navy);
    transform: translateY(-2px);
}

/* Novo Botão Fale Conosco (Rodapé) - AJUSTADO */
.btn-fale-conosco {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 25px;
    background: transparent;
    width: fit-content;
}

.btn-fale-conosco:hover {
    background-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 117, 16, 0.4);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}
/* ALTERAÇÃO AQUI: Aumentado de 2.5rem para 3.2rem */
.section-title h2 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}
.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* =========================================
   HEADER & LOGO
   ========================================= */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 250px;
}

.logo img {
    max-height: 80px; 
    width: auto;
    object-fit: contain; 
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    font-size: 1.15rem; 
    color: var(--navy);
}

.nav-links a:not(.btn):hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(13, 29, 64, 0.85), rgba(9, 90, 146, 0.7)), 
                url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 100px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: var(--white);
}

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

/* =========================================
   PLANOS SECTION
   ========================================= */
.planos {
    padding: 100px 0;
    background-color: var(--gray-light);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.card-plano {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border-top: 5px solid var(--blue-mid);
}

.card-plano:hover {
    transform: translateY(-10px);
}

.card-plano h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--navy);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 25px;
    font-family: 'Poppins', sans-serif;
}

.price span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.features {
    margin-bottom: 30px;
    text-align: left;
}

.features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.features li i {
    color: var(--whatsapp-green);
}

.card-plano.featured {
    transform: scale(1.05);
    border-top: 5px solid var(--orange);
    box-shadow: 0 15px 40px rgba(13, 29, 64, 0.15);
    z-index: 2;
}

.card-plano.featured:hover {
    transform: scale(1.08);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================================
   FEATURE SECTIONS
   ========================================= */
.feature-section {
    padding: 80px 0;
    overflow: hidden;
}

.feature-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.feature-grid.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--navy);
    line-height: 1.3;
}

.feature-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

.feature-img {
    flex: 1;
    position: relative;
}

.feature-img img {
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

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

/* =========================================
   DIFERENCIAIS
   ========================================= */
.diferenciais {
    padding: 100px 0;
    background-color: var(--white);
}

.diferenciais-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.diferencial-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.diferencial-item:hover {
    background: var(--gray-light);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(17, 141, 201, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box i {
    font-size: 1.5rem;
    color: var(--blue-mid);
}

.diferencial-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.diferencial-content p {
    font-size: 0.95rem;
    color: #666;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 70px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 200px;
    margin-bottom: 15px;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-links ul li a {
    color: #ccc;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--orange);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 50px; 
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.5rem; 
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.social-icons a:hover {
    transform: translateY(-5px);
    filter: brightness(1.2);
}

.social-insta {
    background: var(--instagram-gradient);
}
.social-fb {
    background-color: var(--facebook-blue);
}
.social-wa {
    background-color: var(--whatsapp-green);
}

/* Links de contato (excluindo o botão fale conosco) */
.contact-info a:not(.btn-fale-conosco) {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    margin-bottom: 15px;
    width: fit-content;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .feature-grid { gap: 40px; }
    .feature-text h3 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    header { height: 80px; }
    .logo img { max-height: 60px; }

    .navbar { position: relative; }
    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
        z-index: 999;
        text-align: center;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .hero h1 { font-size: 2.2rem; }
    
    .card-plano.featured {
        transform: scale(1); 
        order: -1;
        margin-bottom: 20px;
    }

    .feature-grid, .feature-grid.reverse {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .feature-text { padding: 0 10px; }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .social-icons, .contact-info a:not(.btn-fale-conosco), .btn-fale-conosco {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo img {
        margin: 0 auto 15px auto;
    }
}

/* =========================================
   ESTILOS EXTRAS DO BLOG (Grade de Posts)
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

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

.blog-content {
    padding: 20px;
}

.blog-tag {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-title {
    margin: 10px 0;
    font-size: 1.2rem;
    color: var(--navy);
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--blue-mid);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* =========================================
   DESIGN DO ARTIGO INDIVIDUAL (PREMIUM)
   ========================================= */

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

/* Cabeçalho do Artigo */
.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-category {
    background-color: rgba(250, 117, 16, 0.1);
    color: var(--orange);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Corpo do Texto */
.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    text-align: left;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h2 {
    color: var(--navy);
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-left: 5px solid var(--orange);
    padding-left: 15px;
}

.article-body ul, .article-body ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Caixa de Destaque */
.highlight-box {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.highlight-box h3 {
    margin-top: 0;
    color: var(--orange);
    font-size: 1.4rem;
}

/* Imagem Principal */
.featured-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Breadcrumbs */
.breadcrumbs {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}
.breadcrumbs a {
    color: var(--blue-mid);
    font-weight: 500;
}

/* Responsivo para Artigos */
@media (max-width: 768px) {
    .article-title { font-size: 1.8rem; }
    .article-header { text-align: left; }
    .article-meta { justify-content: flex-start; }
    .breadcrumbs { text-align: left; }
}

/* =========================================
   NOVOS ESTILOS DO BLOG (Adicionado Recentemente)
   ========================================= */

/* --- Layout da Página Principal do Blog (Lista Horizontal) --- */
.blog-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Conteúdo (2 partes) | Sidebar (1 parte) */
    gap: 40px;
    margin-top: 40px;
}

.blog-list-card {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

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

.blog-list-img {
    width: 35%; /* Imagem ocupa 35% da largura */
    position: relative;
    overflow: hidden;
}

.blog-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-list-card:hover .blog-list-img img {
    transform: scale(1.1);
}

.blog-list-content {
    width: 65%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tags-container {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
}

.tag-badge {
    background-color: #8bc34a; /* Verde estilo referência */
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-badge.secondary {
    background-color: var(--navy);
}

.blog-list-title {
    font-size: 1.4rem;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-list-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Link Leia Mais estilo Referência */
.read-more-link {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--navy);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link i {
    color: #8bc34a; /* Setinha verde */
    font-size: 0.8rem;
}

/* --- Sidebar (Barra Lateral) --- */
.blog-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 20px;
    text-transform: uppercase;
    border-left: 4px solid #8bc34a; /* Detalhe verde na esquerda */
    padding-left: 15px;
}

.mini-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 20px;
}

.mini-post:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.mini-post img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.mini-post-content h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.mini-post-content h4 a {
    color: var(--navy);
}

.mini-post-content h4 a:hover {
    color: var(--orange);
}

/* --- Hero Section do Artigo (Single Post) --- */
.hero-post {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

/* Máscara escura sobre a imagem */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13,29,64,0.3), rgba(13,29,64,0.9));
    z-index: 1;
}

.hero-post-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left; /* Alinhado à esquerda como na referência */
}

.hero-breadcrumbs {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-breadcrumbs a { color: #fff; }

.hero-post-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff !important; /* Força branco */
    font-family: 'Poppins', sans-serif;
}

.hero-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* --- Seção "Talvez você goste também" --- */
.related-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-title i {
    color: var(--orange); /* Seta amarela/laranja da referência */
}

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

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.related-card h4 {
    font-size: 1.1rem;
    color: var(--orange); /* Título colorido destaque */
    margin-bottom: 10px;
    line-height: 1.3;
}

.related-card .date {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Responsividade Extra --- */
@media (max-width: 900px) {
    .blog-layout-container {
        grid-template-columns: 1fr; /* Coluna única no mobile */
    }
    
    .blog-list-card {
        flex-direction: column;
    }
    
    .blog-list-img {
        width: 100%;
        height: 200px;
    }
    
    .blog-list-content {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: 1fr; /* Um embaixo do outro no mobile */
    }

    .hero-post-title {
        font-size: 2rem;
    }
}