/* ==========================================
   CONFIGURAÇÕES GERAIS E RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg,
        #fff8f2 0%,
        #ffffff 12%,
        #fff4ea 30%,
        #ffffff 45%,
        #fff0e2 62%,
        #ffffff 78%,
        #fff5ec 100%
    );
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container-coluna {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Ícones SVG inline herdam a cor do texto ao redor */
svg {
    flex-shrink: 0;
    vertical-align: middle;
}

/* ==========================================
   HEADER / TOPO DO SITE
   ========================================== */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-img {
    max-height: 60px;
    width: auto;
    display: block;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.menu a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #ff6600;
}

.btn-whats-topo {
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.btn-whats-topo:hover {
    background: #1ebd58;
}

/* ==========================================
   SEÇÃO HERO (BANNER PRINCIPAL)
   ========================================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('./imagens/banner/banner.jpeg') no-repeat center center/cover;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.hero-conteudo {
    max-width: 800px;
    margin: auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-chamada {
    display: inline-block;
    background: #ff6600;
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-chamada:hover {
    transform: scale(1.05);
    background: #e05500;
}

/* ==========================================
   BOTÕES DE FILTRO DINÂMICO
   ========================================== */
.filtros-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-filtro {
    background: #fff;
    border: 2px solid #ff6600;
    color: #ff6600;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filtro:hover, .btn-filtro.ativo {
    background: #ff6600;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.2);
}

/* ==========================================
   SEÇÃO BRINQUEDOS (GRID E CARDS)
   ========================================== */
.brinquedos {
    padding: 100px 0;
    background: transparent;
}

.brinquedos h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
}

.subtitulo {
    text-align: center;
    font-size: 20px;
    margin-bottom: 60px;
    color: #666;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex-wrap: wrap;
}

.card {
    width: 100%;
    max-width: 340px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: transform .4s ease, box-shadow .4s ease, opacity .4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

/* Card escondido pelo filtro: sai do fluxo completamente (sem bug de sobreposição) */
.card.escondido {
    display: none;
}

.card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card h3 {
    padding: 20px 20px 10px;
    font-size: 26px;
    color: #222;
}

.card p {
    padding: 0 20px 20px;
    line-height: 1.6;
    color: #555;
}

.card a {
    display: block;
    margin: 0 20px 25px;
    background: #ff6600;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.card a:hover {
    background: #e05500;
}

/* ==========================================
   SEÇÃO QUEM SOMOS (SOBRE)
   ========================================== */
.sobre {
    padding: 100px 0;
    background: transparent;
}

.sobre-texto {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.sobre h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #222;
}

.sobre p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* ==========================================
   SEÇÃO ÁREA DE ATENDIMENTO
   ========================================== */
.atendimento {
    padding: 70px 0;
    background: linear-gradient(120deg, #ff6600, #ff8f3e);
    text-align: center;
}

.atendimento h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
}

.atendimento p {
    font-size: 18px;
    color: #fff2e8;
    max-width: 800px;
    margin: auto;
    line-height: 1.7;
}

.atendimento strong {
    color: #ffffff;
}

/* ==========================================
   SEÇÃO FAQ (PERGUNTAS FREQUENTES)
   ========================================== */
.faq {
    padding: 100px 0;
    background: transparent;
}

.faq h2 {
    text-align: center;
    font-size: 38px;
    color: #222;
    margin-bottom: 40px;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 5px 25px;
    background: #f8f8f8;
}

.faq-item summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    padding: 18px 0;
    color: #222;
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 14px;
    font-size: 24px;
    color: #ff6600;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.7;
}

/* ==========================================
   SEÇÃO INSTAGRAM (MURAL DE FOTOS)
   ========================================== */
.instagram {
    padding: 100px 0;
    background: transparent;
    text-align: center;
}

.instagram h2 {
    font-size: 38px;
    color: #222;
    margin-bottom: 10px;
}

.instagram-mural {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.insta-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insta-item:hover img {
    transform: scale(1.08);
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-cta {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    padding: 10px;
}

/* ==========================================
   RODAPÉ E CONTATOS
   ========================================== */
.rodape {
    background: #222222;
    color: #ffffff;
    padding: 60px 0 20px;
}

.rodape-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.rodape-bloco h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #ff6600;
}

.rodape-bloco p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.rodape-bloco a {
    color: #ccc;
    text-decoration: none;
}

.rodape-bloco a:hover {
    color: #ff6600;
}

.icone-inline {
    color: #ff6600;
    margin-right: 8px;
}

.rodape-instagram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    font-weight: bold;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.rodape-instagram:hover {
    opacity: 0.9;
}

.direitos {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
    font-size: 14px;
}

/* ==========================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================== */
.whatsapp-flutuante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1);
    background-color: #1ebd58;
}

/* ==========================================
   ESTILOS BASE PARA SCROLL REVEAL
   ========================================== */
.revelavel {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.revelavel.visivel {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   ESTRUTURA DO BLOG (compartilhada entre index e /blog/)
   ========================================== */
.blog-hero {
    padding: 160px 0 60px;
    background: transparent;
    text-align: center;
}

.blog-hero h1 {
    font-size: 40px;
    color: #222;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: auto;
}

.blog-lista {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.post-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-body {
    padding: 20px 25px 25px;
}

.post-card-data {
    font-size: 13px;
    color: #ff6600;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-card h2 {
    font-size: 22px;
    margin: 10px 0;
    color: #222;
}

.post-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

/* Página de artigo individual */
.post-artigo {
    padding: 160px 0 100px;
}

.post-conteudo {
    max-width: 780px;
    margin: auto;
}

.post-conteudo .breadcrumb {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.post-conteudo .breadcrumb a {
    color: #ff6600;
    text-decoration: none;
}

.post-conteudo h1 {
    font-size: 36px;
    color: #222;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

.post-imagem-capa {
    width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 35px;
}

.post-conteudo h2 {
    font-size: 26px;
    color: #222;
    margin: 35px 0 15px;
}

.post-conteudo h3 {
    font-size: 20px;
    color: #222;
    margin: 25px 0 12px;
}

.post-conteudo p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 20px;
}

.post-conteudo ul {
    margin: 0 0 20px 20px;
    color: #444;
    line-height: 1.8;
}

.post-cta {
    background: #fff4ec;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

.post-cta a {
    display: inline-block;
    margin-top: 15px;
    background: #ff6600;
    color: #fff;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: bold;
}

/* ==========================================
   MÁGICA DA RESPONSIVIDADE (MOBILE BREAKPOINT)
   ========================================== */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu ul {
        gap: 15px;
        justify-content: center;
    }

    .hero {
        height: auto;
        padding: 140px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .brinquedos, .sobre, .faq, .instagram, .blog-lista {
        padding: 60px 0;
    }

    .brinquedos h2, .sobre h2, .faq h2, .instagram h2 {
        font-size: 30px;
    }

    .instagram-mural {
        grid-template-columns: repeat(2, 1fr);
    }

    .post-artigo, .blog-hero {
        padding-top: 120px;
    }

    .post-conteudo h1 {
        font-size: 28px;
    }
}