/* =====================================================================
   IGCA – camada de modernização visual (minimalista)
   Mantém a identidade: laranja #e16831 + cinza escuro #1a1a1a.
   Carregado depois de style.css, por isso apenas sobrepõe.
   ===================================================================== */

:root {
    --igca-accent: #e16831;
    --igca-accent-dark: #c9561f;
    --igca-ink: #1a1a1a;
    --igca-text: #4a4f55;
    --igca-muted: #8a9096;
    --igca-line: #ececec;
    --igca-surface: #f6f7f8;
    --igca-radius: 10px;
    --igca-shadow: 0 1px 2px rgba(16, 16, 16, .04), 0 8px 24px rgba(16, 16, 16, .06);
    --igca-shadow-hover: 0 2px 4px rgba(16, 16, 16, .06), 0 16px 36px rgba(16, 16, 16, .12);
    --igca-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Ubuntu', -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--igca-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--igca-ink);
    letter-spacing: -.01em;
}

a { transition: color .2s var(--igca-ease), background-color .2s var(--igca-ease), border-color .2s var(--igca-ease); }

::selection { background: var(--igca-accent); color: #fff; }

img { max-width: 100%; }

/* ---------- Barra superior ---------- */
.topbar {
    background: #101010 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .contact-info img { opacity: .85; transition: opacity .2s, transform .2s; }
.topbar .contact-info a:hover img { opacity: 1; transform: translateY(-1px); }
.topbar .buttonn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 999px !important;
    padding: 2px 14px !important;
    transition: all .2s var(--igca-ease);
}
.topbar .buttonn:hover {
    background: var(--igca-accent) !important;
    border-color: var(--igca-accent) !important;
}

/* ---------- Cabeçalho / navegação ----------
   Mantido como no original; apenas uma sombra subtil. */
.site-header { box-shadow: 0 4px 18px rgba(0, 0, 0, .10); }

/* ---------- Títulos de secção ---------- */
.fitsc-heading span {
    font-weight: 600;
    letter-spacing: .02em;
}
.fitsc-heading.fitsc-heading-underline span:after {
    height: 3px;
    border-radius: 3px;
    background: var(--igca-accent);
}

.build_about_section .fitsc-heading { margin-bottom: 18px; }
.build_about_section p {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--igca-text);
}

/* ---------- Imagens ---------- */
.fitsc-column > img.aligncenter {
    border-radius: var(--igca-radius);
    box-shadow: var(--igca-shadow);
}

/* ---------- Notícias & eventos (home) ---------- */
.flexx {
    background: var(--igca-surface) !important;
    padding: 56px 20px !important;
}
.flexx .c2 { border: 0 !important; width: 1px !important; background: var(--igca-line); }
.flexx h6 {
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--igca-ink);
    position: relative;
    padding-bottom: 14px;
}
.flexx h6:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--igca-accent);
}

.flexx .card {
    border: 1px solid var(--igca-line);
    border-radius: var(--igca-radius) !important;
    box-shadow: var(--igca-shadow);
    transition: transform .3s var(--igca-ease), box-shadow .3s var(--igca-ease);
}
.flexx .c1a .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--igca-shadow-hover);
}
.flexx .card-img-top { transition: transform .6s var(--igca-ease); }
.flexx .card:hover .card-img-top { transform: scale(1.04); }
.flexx .card a:first-child { display: block; overflow: hidden; }
.flexx .card-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--igca-ink);
}
.flexx .card-text { font-size: 13.5px; color: var(--igca-muted); }
.flexx .home-news-excerpt { color: var(--igca-text); }
.flexx .card p.card-text[style*="border-left"] {
    border-left: 0 !important;
    padding: 10px 14px;
    margin: 0 !important;
    border-top: 1px solid var(--igca-line);
    font-size: 12.5px;
    color: var(--igca-muted);
}
.flexx .c3 .card a { display: block; border-bottom: 1px solid var(--igca-line) !important; margin: 0 !important; padding: 6px 4px; transition: background .2s; }
.flexx .c3 .card a:last-child { border-bottom: 0 !important; }
.flexx .c3 .card a:hover { background: #fafafa; }
.flexx .c3 .card p.card-text[style*="border-left"] { border-top: 0; padding-top: 0; }

.flexx > .c1 > div > a[href*="noticias"]:last-child {
    display: inline-block;
    align-self: center;
    padding: 10px 26px;
    border: 1px solid var(--igca-ink);
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 500;
    color: var(--igca-ink);
}
.flexx > .c1 > div > a[href*="noticias"]:last-child:hover {
    background: var(--igca-ink);
    color: #fff;
}

/* ---------- Faixa de ligações rápidas (Reclamações / Estatísticas / Edital) ---------- */
.fitsc_row01_space01.primary-color { background: var(--igca-ink) !important; }
.fitsc-bubble.bubble-number {
    padding: 22px 10px;
    transition: transform .3s var(--igca-ease);
}
.fitsc-bubble.bubble-number:hover { transform: translateY(-3px); }
.fitsc-bubble .bubble-icon { color: var(--igca-accent); }
.fitsc-bubble .bubble-text .uppercase { letter-spacing: .08em; font-weight: 500; font-size: 14px; }

/* ---------- Produtos e serviços ---------- */
.fitsc-portfolio .portfolio-filter a {
    display: inline-block;
    padding: 6px 16px;
    margin: 0 4px 8px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s var(--igca-ease);
}
.fitsc-portfolio .portfolio-filter a:hover,
.fitsc-portfolio .portfolio-filter a.active {
    background: var(--igca-accent);
    color: #fff !important;
}
.fitsc-portfolio .project .figure-image { border-radius: var(--igca-radius); overflow: hidden; }
.fitsc-portfolio .project img { transition: transform .6s var(--igca-ease); }
.fitsc-portfolio .project:hover img { transform: scale(1.06); }
.fitsc-portfolio .project figcaption { border-radius: var(--igca-radius); }
.fitsc-portfolio .view-project {
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 12.5px;
    letter-spacing: .04em;
}

/* ---------- Caixa "IGCA?" ---------- */
.fitsc-promo-box { border-radius: var(--igca-radius); }
.fitsc-promo-box h3 { letter-spacing: .02em; }
.fitsc-promo-box .fitsc-text { line-height: 1.85; }

/* ---------- Botões ---------- */
.button, .buttonn, input[type=submit], button[type=submit] {
    border-radius: 999px;
    letter-spacing: .03em;
    transition: all .2s var(--igca-ease);
}

/* ---------- Formulários ---------- */
input[type=text], input[type=email], input[type=tel], input[type=search],
input[type=password], select, textarea {
    border: 1px solid #dfe2e5;
    border-radius: 8px;
    padding: 10px 14px;
    transition: border-color .2s, box-shadow .2s;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus,
input[type=search]:focus, input[type=password]:focus, select:focus, textarea:focus {
    outline: 0;
    border-color: var(--igca-accent);
    box-shadow: 0 0 0 3px rgba(225, 104, 49, .15);
}

/* ---------- Conteúdo interno (páginas) ---------- */
.entry-content img, .ckeditor-content img { border-radius: var(--igca-radius); }
.breadcrumb-wrapper { border-bottom: 1px solid var(--igca-line); }

/* =====================================================================
   RODAPÉ
   ===================================================================== */



/* Remove o "check" (quadrado) das listas do rodapé */
.site-footer .widget li:before,
.site-footer .footer-widgets li:before,
.site-footer .fitwp-projects li:before {
    content: none !important;
    display: none !important;
}
.site-footer .widget ul { padding: 0; margin: 0; }
.site-footer .widget li,
.site-footer #fitwp-projects-2 li {
    padding: 0 !important;
    margin: 0 0 12px !important;
    border: 0;
}


/* Localização / endereço em branco */
.footer-widgets .textwidget,
.footer-widgets .textwidget strong,
.footer-widgets .textwidget .fa,
.footer-widgets .textwidget .fa-map-marker,
.footer-widgets .contact-font-icon .contact-info,
.footer-widgets .contact-font-icon .contact-info strong {
    color: #fff !important;
}
.footer-widgets .contact-font-icon { margin-top: 10px; }
.footer-widgets .contact-font-icon .contact-info { margin-bottom: 6px; font-size: 14px; }
.footer-widgets .textwidget > strong { display: inline-block; line-height: 1.6; font-weight: 500; }
.footer-widgets .textwidget .fa-map-marker { margin-right: 6px; }

/* Redes sociais */
.social-links-widget a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 8px 8px 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    transition: all .25s var(--igca-ease);
}
.social-links-widget a:hover {
    background: var(--igca-accent);
    border-color: var(--igca-accent);
    color: #fff;
    transform: translateY(-3px);
}


a.scroll-top {
    border-radius: 50%;
    background: var(--igca-accent);
    box-shadow: 0 6px 18px rgba(225, 104, 49, .4);
    transition: transform .25s var(--igca-ease), background .2s;
}
a.scroll-top:hover { background: var(--igca-accent-dark); transform: translateY(-3px); }

/* ---------- Responsivo ---------- */
@media (max-width: 767px) {
    .flexx { padding: 32px 8px !important; }
    .primary-nav .nav > li > a:after { display: none; }
    .footer-sidebars .footer-widgets { padding-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Ajustes finos (home) ---------- */
.flexx .card-title,
.flexx .c3 .card-title {
    text-transform: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.45;
}
.flexx .c3 .card-title { font-size: 14px; }
.flexx .c3 main > .card { width: 100% !important; }
.flexx .c3 .fitsc-row { background: transparent !important; }
.flexx .c3 main { margin: 10px 0 !important; }
.flexx .card-title { margin: 0 0 8px; }

/* Produtos e Serviços: título com respiro e filtros limpos */
.fitsc_row01_space03 .fitsc-heading { padding-left: 40px; }
.fitsc-portfolio .portfolio-filter { text-align: center; }
.fitsc-portfolio .portfolio-filter a:before,
.fitsc-portfolio .portfolio-filter a:after { content: none !important; display: none !important; }
.fitsc-portfolio .portfolio-filter a { color: #fff; border: 1px solid rgba(255,255,255,.25); }

.flexx .card .card-title,
.flexx .card h5.card-title,
.flexx .card h6.card-title { text-transform: none !important; letter-spacing: 0 !important; }
.flexx .card .card-title:after,
.flexx .card .card-title:before { display: none !important; content: none !important; }
.flexx .c3 .card-body > div { gap: 12px; }
.flexx .c3 .card-body span { font-size: 12px; white-space: nowrap; }

/* Ícones sociais do rodapé: círculos perfeitos */
.site-footer .social-links-widget a {
    box-sizing: border-box;
    flex: 0 0 36px;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.site-footer .social-links-widget a i { margin: 0 !important; line-height: 1; }
.site-footer .social-links-widget a { max-width: none !important; overflow: visible; }
.site-footer .social-links-widget a i { position: static !important; width: auto !important; text-align: center !important; }
.site-footer .social-links-widget a span { display: none; }

/* Títulos com clearfix não devem esticar até à altura da foto vizinha */
.fitsc-heading.clearfix:before,
.fitsc-heading.clearfix:after { content: none !important; display: none !important; }
.fitsc-heading { clear: none !important; height: auto; }
.fitsc-heading span { background: #fff; }
.row-background .fitsc-heading span,
.breadcrumb .fitsc-heading span { background: transparent; }

/* Foto + texto lado a lado (perfil, etc.) */
.side-content .about_section1 > .row { display: flex; flex-wrap: wrap; align-items: flex-start; }
.side-content .about_section1 > .row:before,
.side-content .about_section1 > .row:after { display: none; }
.side-content .about_section1 > .row > .fitsc-column { float: none; }
.side-content .about_section1 > .row > .fitsc-column.col-md-4 { flex: 0 0 34%; max-width: 34%; }
.side-content .about_section1 > .row > .fitsc-column.share-friends_.col-md-8 { flex: 1 1 0; width: auto; max-width: 66%; min-width: 0; }
@media (max-width: 767px) {
    .side-content .about_section1 > .row > .fitsc-column.col-md-4,
    .side-content .about_section1 > .row > .fitsc-column.share-friends_.col-md-8 { flex: 0 0 100%; max-width: 100%; }
}
