/*
Theme Name: Fala Catirina
Theme URI: https://www.joeri.com.br/
Author: JOERI
Author URI: https://www.joeri.com.br/
Description: Tema WordPress premium para portal/blog cultural, com topo personalizado, área de banner, cards de notícias, página de postagem otimizada e suporte a Elementor.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fala-catirina
Tags: blog, news, custom-logo, featured-images, custom-menu, footer-widgets, editor-style
*/

:root{
    --fc-red:#d60000;
    --fc-red-dark:#b80000;
    --fc-blue:#0600d7;
    --fc-blue-dark:#04007c;
    --fc-yellow:#ffd21a;
    --fc-orange:#ff7900;
    --fc-text:#2d3340;
    --fc-muted:#6b7280;
    --fc-border:#e6e8ef;
    --fc-bg:#d9d9d9;
    --fc-white:#ffffff;
    --fc-shadow:0 8px 24px rgba(8,15,35,.10);
    --fc-shadow-soft:0 4px 16px rgba(8,15,35,.08);
    --fc-radius:10px;
    --fc-container:1060px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    min-height:100vh;
    background:var(--fc-bg);
    color:var(--fc-text);
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
a{color:var(--fc-red);text-decoration:none;transition:.2s ease}
a:hover{color:var(--fc-red-dark)}
img{max-width:100%;height:auto;display:block}
p{margin:0 0 1.15rem}
hr{border:0;border-top:1px solid var(--fc-border);margin:20px 0}
.screen-reader-text,.skip-link{
    position:absolute!important;
    width:1px;height:1px;
    padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);
    white-space:nowrap;border:0;
}
.skip-link:focus{
    top:10px;left:10px;width:auto;height:auto;
    z-index:99999;padding:10px 14px;
    background:#fff;color:#111;clip:auto;
    border-radius:8px;box-shadow:var(--fc-shadow);
}

.fc-container{width:min(calc(100% - 32px), var(--fc-container));margin-inline:auto}

/* Topo */
.site-header{background:var(--fc-blue);position:relative;z-index:10}
.fc-hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 82% 8%, rgba(255,210,26,.98) 0 10%, transparent 10.5%),
        radial-gradient(circle at 22% 60%, rgba(255,210,26,.9) 0 13%, transparent 13.5%),
        linear-gradient(135deg,var(--fc-blue) 0%, #0b00b8 54%, var(--fc-blue-dark) 100%);
}
.fc-hero:before{
    content:"";
    position:absolute;inset:0;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.055) 0 1px, transparent 1px 17px),
        radial-gradient(circle at 12% 28%, rgba(0,0,0,.13), transparent 22%),
        radial-gradient(circle at 95% 70%, rgba(0,0,0,.18), transparent 23%);
    opacity:.75;
    pointer-events:none;
}
.fc-hero:after{
    content:"";
    position:absolute;
    left:-4%;right:-4%;bottom:18px;height:70px;
    background:
        linear-gradient(110deg, transparent 0 17%, rgba(255,255,255,.9) 17.2% 17.7%, transparent 18% 42%, #ff1010 42.4% 43%, transparent 43.3% 100%);
    transform:rotate(-3deg);
    opacity:.85;
    pointer-events:none;
}
.fc-hero-inner{
    position:relative;
    width:100%;
    max-width:none;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
}
.fc-site-logo{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    max-width:100%;
    min-height:clamp(135px, 23vw, 300px);
    padding:0;
}
.fc-site-logo img{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    max-height:none;
    object-fit:contain;
    object-position:center;
    margin:0 auto;
    filter:drop-shadow(0 10px 18px rgba(0,0,0,.18));
}
.fc-site-title{
    margin:0;
    font-size:clamp(2.4rem,8vw,6rem);
    line-height:.9;
    color:#fff;
    text-align:center;
    text-transform:uppercase;
    text-shadow:0 6px 0 rgba(0,0,0,.18),0 18px 40px rgba(0,0,0,.25);
}
.fc-mainbar{background:var(--fc-red);box-shadow:0 3px 0 rgba(0,0,0,.08)}
.fc-mainbar-inner{
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}
.fc-menu-toggle{display:none}
.primary-menu{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.primary-menu li{position:relative;margin:0}
.primary-menu a{
    display:flex;align-items:center;
    min-height:48px;
    padding:0 14px;
    color:#fff;
    font-weight:800;
    font-size:.88rem;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.primary-menu a:hover,.primary-menu .current-menu-item>a{background:rgba(0,0,0,.12);color:#fff}
.primary-menu .sub-menu{
    position:absolute;top:100%;left:0;
    min-width:210px;
    padding:8px 0;margin:0;
    list-style:none;
    background:#fff;
    box-shadow:var(--fc-shadow);
    border-radius:0 0 10px 10px;
    opacity:0;visibility:hidden;transform:translateY(8px);
    transition:.2s ease;
    z-index:30;
}
.primary-menu li:hover>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.primary-menu .sub-menu a{min-height:auto;padding:10px 14px;color:var(--fc-text);font-size:.85rem}
.primary-menu .sub-menu a:hover{background:#fff4f4;color:var(--fc-red)}
.fc-socials{display:flex;align-items:center;justify-content:center;gap:15px;flex-wrap:wrap}
.fc-socials a{
    display:inline-flex;align-items:center;justify-content:center;
    width:24px;height:24px;color:#fff;
}
.fc-socials a:hover{transform:translateY(-2px);color:#fff9cf}
.fc-socials svg{width:18px;height:18px;fill:currentColor}

/* Banner topo */
.fc-top-banner-wrap{background:#fff;padding:0}
.fc-top-banner{
    width:min(calc(100% - 32px), 860px);
    margin:0 auto;
    padding:0;
}
.fc-top-banner .widget{margin:0;text-align:center}
.fc-top-banner img{width:100%;max-height:115px;object-fit:cover;margin:0 auto}
.fc-default-banner{
    display:flex;align-items:center;justify-content:center;
    min-height:105px;
    padding:18px;
    overflow:hidden;
    color:#fff;
    text-align:center;
    border-radius:0 0 8px 8px;
    background:
        radial-gradient(circle at 12% 70%, rgba(255,121,0,.85), transparent 16%),
        radial-gradient(circle at 90% 20%, rgba(255,210,26,.85), transparent 18%),
        linear-gradient(135deg,#0b58a3 0%,#07569c 42%,#082f78 100%);
}
.fc-default-banner strong{font-size:clamp(1.15rem,2.7vw,2.1rem);text-transform:uppercase;line-height:1.1;text-shadow:0 2px 0 rgba(0,0,0,.18)}
.fc-default-banner span{display:block;font-weight:900;color:#fff000;font-size:clamp(.9rem,2vw,1.2rem)}

/* Layout */
.site-main{background:#fff;width:min(100%, 960px);margin:0 auto;min-height:54vh;padding:24px 0 40px}
.home .site-main,.blog .site-main{width:min(100%, 1060px)}
.fc-content-wrap{width:min(calc(100% - 32px), 980px);margin-inline:auto}
.fc-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:0}
.fc-card{
    background:#fff;
    border:1px solid #edf0f5;
    border-radius:5px;
    overflow:hidden;
    box-shadow:var(--fc-shadow-soft);
    transition:.22s ease;
}
.fc-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(8,15,35,.14)}
.fc-card-thumb{position:relative;display:block;overflow:hidden;background:#eef2f7;aspect-ratio:16/10}
.fc-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.fc-card:hover .fc-card-thumb img{transform:scale(1.04)}
.fc-card-category{
    position:absolute;top:18px;right:16px;
    display:inline-flex;align-items:center;justify-content:center;
    padding:6px 13px;
    border-radius:999px;
    background:var(--fc-red);
    color:#fff;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    box-shadow:0 8px 18px rgba(214,0,0,.28);
}
.fc-card-body{padding:20px 24px 14px}
.fc-card-title{margin:0 0 10px;font-size:1.12rem;line-height:1.18;font-weight:900;color:var(--fc-red)}
.fc-card-title a{color:inherit}.fc-card-title a:hover{color:var(--fc-red-dark)}
.fc-card-excerpt{color:#606a79;font-size:.92rem;line-height:1.55;margin:0 0 12px}
.fc-card-footer{
    display:flex;align-items:center;flex-wrap:wrap;gap:6px;
    border-top:1px solid #eef0f4;
    padding:10px 24px 12px;
    color:#9aa1ad;
    font-size:.78rem;
}
.fc-card-footer a{color:#8e96a3}.fc-card-footer a:hover{color:var(--fc-red)}

.fc-section-title{
    margin:0 0 18px;
    color:var(--fc-red);
    font-size:1.6rem;
    line-height:1.15;
    font-weight:900;
}

/* Paginação */
.navigation.pagination,.posts-navigation,.post-navigation{margin:30px 0 0;text-align:center}
.nav-links{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap}
.page-numbers,.nav-links a,.nav-links span{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:32px;height:32px;padding:0 10px;
    border-radius:999px;
    color:var(--fc-red);
    background:#fff;
    border:1px solid transparent;
    font-weight:700;
}
.page-numbers.current,.page-numbers:hover,.nav-links a:hover{background:var(--fc-red);color:#fff;border-color:var(--fc-red)}

/* Single e páginas */
.fc-single-shell,.fc-page-shell{width:min(calc(100% - 42px), 780px);margin:0 auto}
.fc-single-title,.fc-page-title{
    margin:2px 0 8px;
    font-size:clamp(2rem,4.2vw,3.2rem);
    line-height:1.05;
    color:var(--fc-red);
    font-weight:900;
    letter-spacing:-.03em;
}
.fc-meta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 12px;color:#5f6875;font-size:.92rem}
.fc-meta span{display:inline-flex;align-items:center;gap:6px}.fc-meta svg{width:14px;height:14px;fill:var(--fc-red)}
.fc-share{display:flex;align-items:center;gap:7px;margin:18px 0 20px;flex-wrap:wrap}
.fc-share a{
    width:31px;height:31px;border-radius:5px;
    display:inline-flex;align-items:center;justify-content:center;
    color:#fff;box-shadow:0 5px 14px rgba(0,0,0,.10)
}
.fc-share a:hover{transform:translateY(-2px);color:#fff}
.fc-share .facebook{background:#1877f2}.fc-share .twitter{background:#1da1f2}.fc-share .whatsapp{background:#0dbb31}
.fc-share svg{width:18px;height:18px;fill:currentColor}
.fc-featured-single{margin:18px 0 22px;border-radius:8px;overflow:hidden;box-shadow:var(--fc-shadow-soft)}
.fc-featured-single img{width:100%;max-height:470px;object-fit:cover}
.entry-content{font-size:1.08rem;line-height:1.72;color:#28313f}
.entry-content h2,.entry-content h3,.entry-content h4{color:#b90000;line-height:1.2;margin:1.7em 0 .6em}
.entry-content a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.entry-content ul,.entry-content ol{padding-left:1.3rem;margin-bottom:1.2rem}
.entry-content blockquote{
    margin:24px 0;padding:18px 22px;
    border-left:5px solid var(--fc-red);
    background:#fff5f5;color:#4b5563;border-radius:8px;
}
.entry-content table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.95rem}
.entry-content th,.entry-content td{border:1px solid var(--fc-border);padding:10px;text-align:left}
.entry-content th{background:#fff5f5;color:#b80000}
.entry-footer{margin-top:26px;color:#777;font-size:.9rem}

/* Comentários */
.comments-area{margin-top:34px;border-top:1px dashed #d7dbe3;padding-top:14px}
.comments-title,.comment-reply-title{margin:0 0 8px;color:var(--fc-red);font-size:1.12rem;font-weight:900}
.comment-notes,.logged-in-as{color:#7b8492;font-size:.92rem}
.comment-list{list-style:none;margin:16px 0 24px;padding:0}.comment-list li{margin-bottom:18px}
.comment-body{padding:16px;border:1px solid var(--fc-border);border-radius:8px;background:#fff}
.comment-form label{display:block;margin-bottom:5px;font-weight:800;color:#3d4654}
.comment-form input[type="text"],.comment-form input[type="email"],.comment-form input[type="url"],.comment-form textarea,.search-field{
    width:100%;border:1px solid #d9dde6;border-radius:8px;padding:11px 12px;font:inherit;background:#fff;
}
.comment-form textarea{min-height:130px}.form-submit{margin-top:12px}
.submit,.search-submit,.fc-button{
    border:0;border-radius:999px;background:var(--fc-red);color:#fff;
    padding:11px 18px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(214,0,0,.22);
}
.submit:hover,.search-submit:hover,.fc-button:hover{background:var(--fc-red-dark);color:#fff}

/* Sidebar padrão */
.fc-layout-with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;width:min(calc(100% - 32px), 1060px);margin:0 auto}
.widget-area{display:flex;flex-direction:column;gap:18px}
.widget{
    background:#fff;border:1px solid var(--fc-border);border-radius:10px;
    padding:18px;box-shadow:var(--fc-shadow-soft);
}
.widget-title{margin:0 0 12px;color:var(--fc-red);font-size:1.05rem;font-weight:900}
.widget ul{list-style:none;margin:0;padding:0}.widget li{border-bottom:1px solid #eef0f4;padding:8px 0}.widget li:last-child{border-bottom:0}
.widget a{font-weight:700;color:#424c5a}.widget a:hover{color:var(--fc-red)}

/* Busca e 404 */
.fc-search-form{display:flex;gap:8px;margin:18px 0}.fc-search-form .search-field{flex:1}.fc-empty{padding:30px 0;text-align:center}.fc-empty h1{color:var(--fc-red);font-size:2rem}

/* Footer */
.site-footer{background:var(--fc-red);color:#fff;text-align:center;padding:16px 0;font-size:.78rem;font-weight:800}
.fc-footer-credit{margin:0;color:#fff;line-height:1.45}
.site-footer a{color:#fff;text-decoration:underline;text-underline-offset:3px}.site-footer a:hover{color:#fff8b4}
.fc-footer-widgets{
    background:#af0000;color:#fff;padding:28px 0 22px;text-align:left;
}
.fc-footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.fc-footer-widgets .widget{background:transparent;border:0;box-shadow:none;padding:0;color:#fff}.fc-footer-widgets .widget-title{color:#fff}.fc-footer-widgets a{color:#fff}

/* Elementor */
.elementor-page .site-main{width:100%;max-width:none;padding:0;background:#fff}.elementor-page .fc-content-wrap{width:100%;max-width:none}

@media (max-width:900px){
    .fc-site-logo{min-height:clamp(118px, 26vw, 220px)}.fc-mainbar-inner{justify-content:center;flex-wrap:wrap;padding:8px 0}.primary-menu{justify-content:center;flex-wrap:wrap}.fc-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.fc-layout-with-sidebar{grid-template-columns:1fr}.fc-footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:620px){
    body{font-size:15px}.fc-container{width:min(calc(100% - 22px), var(--fc-container))}.fc-site-logo{min-height:clamp(95px, 33vw, 155px)}.fc-mainbar-inner{min-height:auto}.fc-menu-toggle{
        display:inline-flex;align-items:center;justify-content:center;gap:8px;
        width:100%;border:0;background:rgba(0,0,0,.14);color:#fff;
        min-height:42px;border-radius:8px;font-weight:900;text-transform:uppercase;
    }
    .main-navigation{width:100%}.primary-menu{display:none;width:100%;padding:8px 0}.main-navigation.is-open .primary-menu{display:flex;flex-direction:column;align-items:stretch}.primary-menu a{justify-content:center;min-height:40px}.primary-menu .sub-menu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-radius:0;margin:0;background:rgba(255,255,255,.08)}.primary-menu .sub-menu a{color:#fff}.fc-socials{width:100%;padding-bottom:6px}.site-main{width:100%;padding-top:18px}.fc-blog-grid{grid-template-columns:1fr;gap:18px}.fc-card-body{padding:18px 18px 12px}.fc-card-footer{padding:10px 18px 12px}.fc-single-shell,.fc-page-shell{width:min(calc(100% - 28px), 780px)}.fc-single-title,.fc-page-title{font-size:2rem}.entry-content{font-size:1rem}.fc-top-banner{width:100%}.fc-default-banner{border-radius:0}.fc-footer-grid{grid-template-columns:1fr}.fc-search-form{flex-direction:column}.search-submit{width:100%}
}
