/* Styles for CEEPB footer (extracted from inline styles) */
.footer-color-stripe{display:flex;height:8px;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
.stripe-yellow{background:linear-gradient(135deg,#FFD700 0%,#FFC107 100%);flex:1}
.stripe-red{background:linear-gradient(135deg,#DC143C 0%,#C62828 100%);flex:1}
.stripe-blue{background:linear-gradient(135deg,#1E90FF 0%,#1976D2 100%);flex:1}
.stripe-green{background:linear-gradient(135deg,#32CD32 0%,#388E3C 100%);flex:1}
.stripe-black{background:linear-gradient(135deg,#000000 0%,#424242 100%);flex:1}
.ceepb-footer *{box-sizing:border-box}
.ceepb-footer{background:linear-gradient(135deg,#f8f9fa 0%,#e9ecef 100%);font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;color:#333;margin-top:auto;position:relative;overflow:hidden}
.ceepb-footer::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');pointer-events:none}
.footer-container{max-width:1200px;margin:0 auto;padding:0 20px;position:relative;z-index:1}
.footer-main-section{padding:30px 0 80px 0}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;align-items:start}
.footer-column-with-social{display:flex;flex-direction:column;align-items:center}
.social-section{margin-bottom:20px;align-self:center}
.footer-logo{display:flex;justify-content:flex-start;align-items:center;margin-bottom:20px;transition:transform .3s ease}
.footer-logo:hover{transform:translateY(-2px)}
.footer-logo img{max-height:70px;width:auto;object-fit:contain;filter:drop-shadow(0 2px 4px rgba(0,0,0,0.1));transition:filter .3s ease}
.footer-logo:hover img{filter:drop-shadow(0 4px 8px rgba(0,0,0,0.15))}
.social-section{text-align:center;margin-bottom:20px}
.social-title{color:#2c5aa0;font-size:16px;font-weight:700;margin-bottom:15px;text-shadow:0 1px 2px rgba(0,0,0,.1);position:relative}
.social-title::after{content:'';position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);width:40px;height:2px;background:linear-gradient(90deg,#2c5aa0,#1976D2);border-radius:1px}
.social-icons{display:flex;justify-content:center;gap:8px}
.social-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;color:#fff;text-decoration:none;font-weight:700;font-size:16px;transition:all .4s cubic-bezier(.175,.885,.32,1.275);box-shadow:0 4px 12px rgba(0,0,0,.15);position:relative;overflow:hidden}
.social-icon::before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s ease}
.social-icon:hover{transform:translateY(-3px) scale(1.05);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.social-icon:hover::before{left:100%}
.social-facebook{background:linear-gradient(135deg,#3b5998 0%,#4c70ba 100%)}
.social-twitter{background:linear-gradient(135deg,#1da1f2 0%,#0d8bd9 100%)}
.social-instagram{background:linear-gradient(135deg,#833ab4 0%,#fd1d1d 50%,#fcb045 100%)}
.social-youtube{background:linear-gradient(135deg,#ff0000 0%,#cc0000 100%)}
.links-title-section{text-align:center;margin-bottom:15px;position:relative}
.links-title{color:#2c5aa0;font-size:16px;font-weight:700;margin:0;text-shadow:0 1px 2px rgba(0,0,0,.1);position:relative;display:inline-block}
.footer-links-list{list-style:none;padding:0;margin:0;text-align:left}
.footer-links-list li{margin-bottom:8px}
.footer-links-list a{color:#2c5aa0;text-decoration:none;font-size:13px;line-height:1.4;display:flex;align-items:flex-start;transition:all .3s ease;padding:4px 0;border-radius:4px;position:relative;overflow:hidden}
.footer-links-list a::before{content:"›";color:#32CD32;font-weight:700;margin-right:6px;font-size:14px;flex-shrink:0;transition:all .3s ease}
.footer-links-list a:hover{color:#1a4480;transform:translateX(4px);text-shadow:0 1px 2px rgba(0,0,0,.1)}
.footer-links-list a:hover::before{color:#2c5aa0;transform:scale(1.2)}
.footer-divider{height:1px;background:linear-gradient(90deg,transparent,#ddd,transparent);margin:30px 0;position:relative}
.footer-divider::before{content:'';position:absolute;top:-1px;left:50%;transform:translateX(-50%);width:100px;height:3px;background:linear-gradient(90deg,#2c5aa0,#32CD32,#2c5aa0);border-radius:2px}
.footer-services{padding:20px 0;display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;text-align:center}
.service-item{display:flex;flex-direction:column;align-items:center;transition:transform .3s ease;cursor:pointer}
.service-item:hover{transform:translateY(-5px)}
.service-logo{width:90px;height:70px;background:linear-gradient(135deg,#fff 0%,#f8f9fa 100%);border:2px solid #e9ecef;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;font-size:28px;color:#2c5aa0;box-shadow:0 4px 12px rgba(0,0,0,.1);transition:all .3s ease;position:relative;overflow:hidden}
.service-logo img{max-width:60px;max-height:50px;object-fit:contain}
.service-logo::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent,rgba(44,90,160,.1),transparent);transform:rotate(45deg);transition:transform .6s ease}
.service-item:hover .service-logo{border-color:#2c5aa0;box-shadow:0 8px 20px rgba(44,90,160,.2)}
.service-item:hover .service-logo::before{transform:rotate(45deg) translate(50%,50%)}
.service-title{color:#2c5aa0;font-size:12px;font-weight:700;text-transform:uppercase;line-height:1.3;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.1);transition:color .3s ease}
.service-item:hover .service-title{color:#1a4480}
.footer-bottom{background:linear-gradient(135deg,#e9ecef 0%,#f8f9fa 100%);padding:20px 0;text-align:center;border-top:3px solid transparent;border-image:linear-gradient(90deg,#2c5aa0,#32CD32,#2c5aa0) 1;position:relative;margin-top:0}
.footer-contact::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,rgba(44,90,160,.3),transparent)}
.footer-contact p{margin:5px 0;font-size:12px;color:#555;line-height:1.5;transition:color .3s ease}
.footer-contact p:hover{color:#2c5aa0}
.copyright{font-weight:600;color:#2c5aa0;text-shadow:0 1px 2px rgba(0,0,0,.1);font-size:13px}
.developer-credit{font-size:11px;color:#666;margin-top:10px}
.developer-credit a{color:#2c5aa0;text-decoration:none;transition:color .3s ease}
.developer-credit a:hover{color:#1a4480;text-decoration:underline}
@media (max-width:992px){.footer-grid{grid-template-columns:1fr 1fr;gap:30px}.footer-main-section{padding:25px 0 60px 0}}
@media (max-width:768px){.footer-container{padding:0 15px}.footer-main-section{padding:20px 0 40px 0}.footer-grid{grid-template-columns:1fr;gap:30px;text-align:center}.footer-logo img{max-width:120px}.social-icon{width:36px;height:36px;font-size:16px}.footer-links-list{font-size:12px}.links-title{font-size:14px}}
@media (max-width:480px){.footer-main-section{padding:15px 0 30px 0}.footer-grid{gap:20px}.social-icons{gap:8px}.social-icon{width:32px;height:32px;font-size:14px}.footer-logo img{max-width:100px}.copyright{font-size:11px;padding:15px 10px}}
/* Footer styles for CEAE-PB portal (moved from core/footer.css) */
:root{
  --footer-bg:#0f2433;
  --footer-color:#e6eef6;
}

/* Apply styles to both .site-footer and .ceepb-footer (template uses .ceepb-footer) */
:is(.site-footer, .ceepb-footer){background:var(--footer-bg);color:var(--footer-color);padding:28px 12px}
:is(.site-footer, .ceepb-footer) .container{max-width:1200px;margin:0 auto;display:flex;gap:24px;align-items:flex-start;flex-wrap:wrap}
:is(.site-footer, .ceepb-footer) .col{flex:1 1 220px;min-width:180px}
:is(.site-footer, .ceepb-footer) h4{margin:0 0 8px;font-size:16px}
:is(.site-footer, .ceepb-footer) p, :is(.site-footer, .ceepb-footer) a{color:var(--footer-color);text-decoration:none}
:is(.site-footer, .ceepb-footer) a:hover{text-decoration:underline}
:is(.site-footer, .ceepb-footer) .brand{display:flex;align-items:center;gap:12px}
:is(.site-footer, .ceepb-footer) .brand img{max-height:56px;height:auto}

/* Footer bottom bar */
:is(.site-footer, .ceepb-footer) .bottom{width:100%;border-top:1px solid rgba(255,255,255,0.06);margin-top:18px;padding-top:12px;display:flex;justify-content:space-between;flex-wrap:wrap}
:is(.site-footer, .ceepb-footer) .bottom small{color:rgba(230,238,246,0.7)}

@media (max-width:768px){
  :is(.site-footer, .ceepb-footer) .container{flex-direction:column;gap:12px}
  :is(.site-footer, .ceepb-footer) .bottom{flex-direction:column;gap:8px}
}

/* End footer.css */
/* Footer styles moved from inline template */

/* Faixa colorida superior */
.footer-color-stripe {
  display: flex;
  height: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.stripe-yellow { background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%); flex: 1; }
.stripe-red { background: linear-gradient(135deg, #DC143C 0%, #C62828 100%); flex: 1; }
.stripe-blue { background: linear-gradient(135deg, #1E90FF 0%, #1976D2 100%); flex: 1; }
.stripe-green { background: linear-gradient(135deg, #32CD32 0%, #388E3C 100%); flex: 1; }
.stripe-black { background: linear-gradient(135deg, #000000 0%, #424242 100%); flex: 1; }

/* Reset e configurações base */
.ceepb-footer * { box-sizing: border-box; }

.ceepb-footer {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Aerdana, sans-serif;
  color: #333;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.ceepb-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.footer-main-section { padding: 30px 0 80px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-column-with-social { display: flex; flex-direction: column; align-items: center; }
.social-section { margin-bottom: 20px; align-self: center; }
.footer-logo { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 20px; transition: transform 0.3s ease; }
.footer-logo:hover { transform: translateY(-2px); }
.footer-logo img { max-height: 70px; width: auto; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); transition: filter 0.3s ease; }
.footer-logo:hover img { filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); }

/* Redes Sociais */
.social-section { text-align: center; margin-bottom: 20px; }
.social-title { color: #2c5aa0; font-size: 16px; font-weight: bold; margin-bottom: 15px; text-shadow: 0 1px 2px rgba(0,0,0,0.1); position: relative; }
.social-title::after { content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: linear-gradient(90deg, #2c5aa0, #1976D2); border-radius: 1px; }
.social-icons { display: flex; justify-content: center; gap: 8px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: white; text-decoration: none; font-weight: bold; font-size: 16px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 12px rgba(0,0,0,0.15); position: relative; overflow: hidden; }
.social-icon::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s ease; }
.social-icon:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.social-icon:hover::before { left: 100%; }
.social-facebook { background: linear-gradient(135deg, #3b5998 0%, #4c70ba 100%); }
.social-twitter { background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%); }
.social-instagram { background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); }
.social-youtube { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }

/* Título Links Externos */
.links-title-section { text-align: center; margin-bottom: 15px; position: relative; }
.links-title { color: #2c5aa0; font-size: 16px; font-weight: bold; margin: 0; text-shadow: 0 1px 2px rgba(0,0,0,0.1); position: relative; display: inline-block; }

/* Links */
.footer-links-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.footer-links-list li { margin-bottom: 8px; }
.footer-links-list a { color: #2c5aa0; text-decoration: none; font-size: 13px; line-height: 1.4; display: flex; align-items: flex-start; transition: all 0.3s ease; padding: 4px 0; border-radius: 4px; position: relative; overflow: hidden; }
.footer-links-list a::before { content: "›"; color: #32CD32; font-weight: bold; margin-right: 6px; font-size: 14px; flex-shrink: 0; transition: all 0.3s ease; }
.footer-links-list a:hover { color: #1a4480; transform: translateX(4px); text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.footer-links-list a:hover::before { color: #2c5aa0; transform: scale(1.2); }

/* Linha separadora */
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, #ddd, transparent); margin: 30px 0; position: relative; }
.footer-divider::before { content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 100px; height: 3px; background: linear-gradient(90deg, #2c5aa0, #32CD32, #2c5aa0); border-radius: 2px; }

/* Seção Inferior - Serviços */
.footer-services { padding: 20px 0; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; text-align: center; }
.service-item { display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; cursor: pointer; }
.service-item:hover { transform: translateY(-5px); }
.service-logo { width: 90px; height: 70px; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border: 2px solid #e9ecef; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 28px; color: #2c5aa0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); transition: all 0.3s ease; position: relative; overflow: hidden; }
.service-logo img { max-width: 60px; max-height: 50px; object-fit: contain; }
.service-logo::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(45deg, transparent, rgba(44,90,160,0.1), transparent); transform: rotate(45deg); transition: transform 0.6s ease; }
.service-item:hover .service-logo { border-color: #2c5aa0; box-shadow: 0 8px 20px rgba(44,90,160,0.2); }
.service-item:hover .service-logo::before { transform: rotate(45deg) translate(50%, 50%); }
.service-title { color: #2c5aa0; font-size: 12px; font-weight: bold; text-transform: uppercase; line-height: 1.3; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,0.1); transition: color 0.3s ease; }
.service-item:hover .service-title { color: #1a4480; }

/* Seção Inferior */
.footer-bottom { background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%); padding: 20px 0; text-align: center; border-top: 3px solid transparent; border-image: linear-gradient(90deg, #2c5aa0, #32CD32, #2c5aa0) 1; position: relative; margin-top: 0; }
.footer-contact::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(44,90,160,0.3), transparent); }
.footer-contact p { margin: 5px 0; font-size: 12px; color: #555; line-height: 1.5; transition: color 0.3s ease; }
.footer-contact p:hover { color: #2c5aa0; }
.copyright { font-weight: 600; color: #2c5aa0; text-shadow: 0 1px 2px rgba(0,0,0,0.1); font-size: 13px; }
.developer-credit { font-size: 11px; color: #666; margin-top: 10px; }
.developer-credit a { color: #2c5aa0; text-decoration: none; transition: color 0.3s ease; }
.developer-credit a:hover { color: #1a4480; text-decoration: underline; }

/* Center contact block and stack content */
:is(.site-footer, .ceepb-footer) .footer-contact { text-align: center; padding: 18px 0; }
:is(.site-footer, .ceepb-footer) .footer-contact .footer-container { display: flex; flex-direction: column; align-items: center; gap: 6px; }
:is(.site-footer, .ceepb-footer) .footer-contact p { max-width: 900px; }

/* Responsividade */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-main-section { padding: 25px 0 60px 0; }
}
@media (max-width: 768px) {
  .footer-container { padding: 0 15px; }
  .footer-main-section { padding: 20px 0 40px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-logo img { max-width: 120px; }
  .social-icon { width: 36px; height: 36px; font-size: 16px; }
  .footer-links-list { font-size: 12px; }
  .links-title { font-size: 14px; }
}
@media (max-width: 480px) {
  .footer-main-section { padding: 15px 0 30px 0; }
  .footer-grid { gap: 20px; }
  .social-icons { gap: 8px; }
  .social-icon { width: 32px; height: 32px; font-size: 14px; }
  .footer-logo img { max-width: 100px; }
  .copyright { font-size: 11px; padding: 15px 10px; }
}
