/*
Theme Name: SKILLFUL UFU - Institutional Pro
Theme URI: https://www.ufu.br/
Description: Tema multipágina institucional, responsivo e visualmente orientado para o SKILLFUL UFU - Cursos e Ações de Extensão.
Version: 6.0.0
Author: SKILLFUL UFU
Text Domain: skillful-ufu
*/
:root{
  --navy:#23216b;--navy2:#343a8d;--blue:#3458b9;--blue2:#6078d3;--red:#d92742;--yellow:#f5c72b;
  --ink:#182137;--muted:#68738a;--bg:#f4f7fb;--white:#fff;--line:#e3e8f1;
  --soft:#eef2ff;--green:#2c7c4d;--shadow:0 18px 55px rgba(34,32,101,.12);--radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.68}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 10% 10%,rgba(53,86,184,.07),transparent 24%),radial-gradient(circle at 90% 60%,rgba(244,201,40,.06),transparent 21%)}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(1180px,92vw);margin:auto}
.narrow{width:min(900px,92vw);margin:auto}
.section{padding:92px 0}
.section.white{background:#fff}
.section.soft{background:linear-gradient(180deg,#fbfcff,#f0f3fb)}
.kicker{display:inline-flex;align-items:center;gap:9px;color:var(--blue);font-size:.76rem;font-weight:950;letter-spacing:.14em;text-transform:uppercase;margin-bottom:15px}
.kicker:before{content:"";width:30px;height:3px;border-radius:50px;background:var(--yellow)}
.kicker.light{color:#fff}
.kicker.light:before{background:var(--yellow)}
h1,h2,h3,h4{margin-top:0;color:var(--navy);line-height:1.06;letter-spacing:-.045em}
h1{font-size:clamp(2.55rem,6vw,5.35rem);margin-bottom:18px}
h2{font-size:clamp(2rem,4vw,3.35rem);margin-bottom:14px}
h3{font-size:1.22rem;margin-bottom:9px}
h4{font-size:1rem;margin-bottom:7px}
p{color:var(--muted);margin:0 0 17px}
.lead{max-width:820px;font-size:1.08rem}
.muted{color:var(--muted)}
.center{text-align:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 20px;border-radius:15px;border:1px solid transparent;font-weight:950;transition:transform .25s ease,box-shadow .25s ease,background .25s ease,color .25s ease}
.btn:hover{transform:translateY(-3px)}
.btn-primary{background:var(--navy);color:#fff;box-shadow:0 14px 30px rgba(34,32,101,.22)}
.btn-red{background:var(--red);color:#fff;box-shadow:0 14px 30px rgba(213,37,59,.2)}
.btn-yellow{background:var(--yellow);color:#2b2705}
.btn-light{background:#fff;color:var(--navy);border-color:#d9deea}
.btn-outline{background:transparent;color:var(--navy);border-color:#bfc7d8}
.btn-sm{min-height:42px;padding:0 15px;border-radius:12px;font-size:.78rem}
.fade-up{opacity:0;transform:translateY(28px);transition:opacity .75s ease,transform .75s ease}
.fade-up.is-visible{opacity:1;transform:none}

/* Header */
.utility-bar{background:var(--navy);color:#dce2ff;font-size:.72rem}
.utility-inner{min-height:34px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.utility-inner strong{color:#fff}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(228,232,241,.92)}
.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.brand{display:flex;align-items:center;gap:15px;min-width:0}
.brand img{display:block;width:172px;max-height:62px;object-fit:contain}
.brand-edu{display:flex;align-items:center;gap:10px;padding-left:15px;border-left:1px solid var(--line)}
.brand-edu img{width:110px;max-height:45px}
.primary-nav{display:flex;align-items:center;gap:4px}
.primary-nav ul{margin:0;padding:0;display:flex;align-items:center;gap:4px;list-style:none}
.primary-nav li{list-style:none;margin:0;padding:0}
.primary-nav a{display:block;padding:11px 11px;border-radius:12px;color:#2d3448;font-size:.72rem;font-weight:950;text-transform:uppercase;letter-spacing:.025em;white-space:nowrap}
.primary-nav a:hover,.primary-nav a.current-menu-item,.primary-nav a[aria-current="page"]{background:#eff1fa;color:var(--navy)}
.primary-nav li:last-child a{background:var(--navy);color:#fff}
.mobile-toggle{display:none;border:0;background:var(--navy);color:#fff;border-radius:13px;padding:10px 13px;font-weight:950;cursor:pointer}

/* Hero */
.hero{position:relative;overflow:hidden;padding:76px 0 78px;background:radial-gradient(circle at 83% 12%,rgba(244,201,40,.29),transparent 22%),radial-gradient(circle at 13% 15%,rgba(53,86,184,.15),transparent 28%),linear-gradient(135deg,#fff 0%,#f2f4ff 58%,#edf0ff 100%)}
.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;filter:blur(1px);pointer-events:none}
.hero:before{width:420px;height:420px;right:-130px;bottom:-220px;background:rgba(213,37,59,.07)}
.hero:after{width:280px;height:280px;left:-140px;top:-150px;background:rgba(53,86,184,.08)}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:52px;align-items:center;position:relative;z-index:1}
.hero h1 span{color:var(--red)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.hero-note{display:flex;gap:10px;align-items:center;margin-top:18px;color:#59657b;font-size:.79rem;font-weight:800}
.hero-note b{width:8px;height:8px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 6px rgba(244,201,40,.16)}
.hero-panel{background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.9);border-radius:32px;padding:28px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.hero-panel:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-55px;top:-55px;background:rgba(244,201,40,.16)}
.hero-logo-wrap{padding:20px 8px 5px;position:relative;z-index:2}
.hero-logo-wrap img{display:block;width:100%;max-height:240px;object-fit:contain}
.hero-partners{display:grid;grid-template-columns:1fr 1fr;gap:12px;position:relative;z-index:2;margin-top:13px}
.hero-partner{min-height:76px;border:1px solid var(--line);background:#fff;border-radius:17px;display:grid;place-items:center;padding:10px}
.hero-partner img{max-height:52px;width:auto;max-width:100%;object-fit:contain}
.stats{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.stat{background:#f5f6fa;border-radius:17px;padding:14px;text-align:center}
.stat strong{display:block;color:var(--navy);font-size:1.12rem}.stat small{color:var(--muted);font-weight:850}

/* Page hero */
.page-hero{position:relative;overflow:hidden;padding:62px 0 56px;background:linear-gradient(135deg,var(--navy),#3f4fa2);color:#fff}
.page-hero:before{content:"";position:absolute;right:-140px;top:-170px;width:370px;height:370px;border-radius:50%;background:rgba(244,201,40,.14)}
.page-hero:after{content:"";position:absolute;left:45%;bottom:-210px;width:420px;height:420px;border-radius:50%;background:rgba(213,37,59,.09)}
.page-hero h1{color:#fff}.page-hero p{color:#dfe5ff;max-width:850px;font-size:1.07rem;position:relative;z-index:1}
.page-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:36px;align-items:center;position:relative;z-index:1}
.page-hero-media{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.18);border-radius:28px;padding:20px;box-shadow:0 25px 60px rgba(0,0,0,.12)}
.page-hero-media img{display:block;width:100%;max-height:230px;object-fit:contain;background:#fff;border-radius:19px;padding:18px}

/* Cards and sections */
.section-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.section-head .lead{margin-bottom:0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:27px;box-shadow:0 10px 30px rgba(20,24,40,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#d7ddef}
.card-flat{box-shadow:none}
.icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:#eef1ff;color:var(--navy);font-size:.78rem;font-weight:1000;margin-bottom:17px}
.icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.triptych .card:nth-child(1){border-top:5px solid var(--blue)}
.triptych .card:nth-child(2){border-top:5px solid var(--red)}
.triptych .card:nth-child(3){border-top:5px solid var(--yellow)}
.highlight{background:linear-gradient(145deg,var(--navy),#3f4da2);color:#fff;border-radius:30px;padding:34px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.highlight:after{content:"";position:absolute;right:-70px;top:-70px;width:210px;height:210px;border-radius:50%;background:rgba(244,201,40,.14)}
.highlight>*{position:relative;z-index:1}.highlight h2,.highlight h3{color:#fff}.highlight p{color:#dce3ff}
.list-check{list-style:none;margin:19px 0 0;padding:0;display:grid;gap:11px}.list-check li{display:flex;gap:10px;align-items:flex-start}.list-check b{flex:0 0 auto;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#332d04;font-size:.72rem}
.flow{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.flow-step{background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px;position:relative}.flow-step:not(:last-child):after{content:"→";position:absolute;right:-18px;top:34px;color:var(--red);font-size:1.25rem;font-weight:1000;z-index:2}.flow-step strong{display:block;color:var(--navy);margin-bottom:7px}
.area-card{min-height:215px}.tag{display:inline-block;padding:6px 10px;border-radius:99px;background:#f1f3f9;color:#4d566b;font-weight:900;font-size:.72rem;margin-bottom:14px}
.project{position:relative;overflow:hidden;padding:0}.project:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--blue);z-index:2}.project.red:before{background:var(--red)}.project.yellow:before{background:var(--yellow)}.project.navy:before{background:var(--navy)}
.project-media{background:linear-gradient(135deg,#f4f7fd,#fff);min-height:150px;display:grid;place-items:center;padding:28px 30px;border-bottom:1px solid var(--line)}
.project-media img{display:block;max-width:100%;max-height:112px;width:auto;object-fit:contain}
.project-body{padding:25px 27px 27px}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-card{display:flex;gap:18px;align-items:center}.avatar{width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#eff2ff,#fff);color:var(--navy);font-weight:1000;flex:0 0 auto;border:1px solid #dfe4f4}
.opportunity{display:flex;align-items:flex-start;gap:15px}.opportunity .badge{padding:6px 9px;border-radius:99px;background:#fff3d0;color:#725f12;font-size:.7rem;font-weight:950}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.news-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:22px}.thumb{width:100%;display:block;aspect-ratio:16/9;object-fit:cover;background:linear-gradient(135deg,#e8ebfc,#fbfbfd)}.news-body{padding:22px}.meta{font-size:.71rem;color:var(--blue);font-weight:950;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 28px}.filter{border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 12px;font-size:.76rem;font-weight:900;color:#4c5569}
.partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.partner-card{min-height:150px;background:#fff;border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px;gap:12px}.partner-card img{max-width:100%;max-height:95px;object-fit:contain}.partner-card small{color:var(--muted);font-weight:850;font-size:.69rem;letter-spacing:.04em;text-transform:uppercase}
.logo-wall{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.logo-tile{min-height:170px;background:#fff;border:1px solid var(--line);border-radius:20px;display:grid;place-items:center;padding:20px}.logo-tile img{max-width:100%;max-height:105px;object-fit:contain}
.brand-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-top:28px}.brand-strip .logo-tile{min-height:120px}
.media-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;align-items:stretch}.media-card .visual{background:linear-gradient(145deg,#f3f5ff,#fff);border:1px solid var(--line);border-radius:25px;display:grid;place-items:center;padding:24px}.media-card .visual img{max-height:280px;object-fit:contain}.media-card .content{display:flex;flex-direction:column;justify-content:center}
.metric-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line)}.metric strong{display:block;color:var(--navy);font-size:1.3rem;margin-bottom:3px}.metric span{font-size:.75rem;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.cta{background:linear-gradient(135deg,var(--red),#a92332);color:#fff;border-radius:30px;padding:40px;display:flex;align-items:center;justify-content:space-between;gap:25px;box-shadow:var(--shadow)}
.cta h2{color:#fff}.cta p{color:#ffe6e9;max-width:750px}
.social{background:#171849;color:#fff;border-radius:30px;padding:32px;position:relative;overflow:hidden}.social:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-160px;top:-160px;background:rgba(244,201,40,.14)}.social>*{position:relative;z-index:1}.social h2{color:#fff}.social p{color:#cfd5ef}
.contact-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:25px}.contact-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow)}.contact-info{display:grid;gap:11px;margin-top:24px}.contact-info a,.contact-info div{background:#fafbfe;border:1px solid var(--line);border-radius:15px;padding:14px}.contact-info small{display:block;color:var(--muted);margin-top:2px}.contact-brand{display:flex;gap:16px;align-items:center;margin-bottom:18px}.contact-brand img{max-width:160px;max-height:58px;object-fit:contain}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}label{color:#3d4659;font-size:.8rem;font-weight:950}input,select,textarea{width:100%;padding:12px 13px;border-radius:13px;border:1px solid #d8deea;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:#7280ce;box-shadow:0 0 0 3px rgba(53,86,184,.09)}textarea{min-height:155px;resize:vertical}.notice{padding:13px 15px;border-radius:13px;background:#edf8f0;color:#22663d;font-weight:850;margin-bottom:16px}.notice.error{background:#fff0f0;color:#8e2530}
.admin-note{padding:14px;border-radius:14px;background:#fffbe8;border:1px solid #f2e0a1;color:#665514;font-size:.86rem}
.simple-content>*:first-child{margin-top:0}.simple-content img{border-radius:20px}.simple-content a{color:var(--blue);font-weight:800}.simple-content h2,.simple-content h3{margin-top:1.6em}
.content-card{padding:34px}.post-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--blue);font-size:.76rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px}.post-nav{display:flex;justify-content:space-between;gap:15px;margin-top:24px}

/* Footer */
.footer{background:#151747;color:#cdd4f0;padding:56px 0 25px}.footer-grid{display:grid;grid-template-columns:1.25fr .75fr .75fr;gap:30px}.footer h3{color:#fff;font-size:1rem;letter-spacing:.01em}.footer p{color:#bdc6e5;max-width:430px}.footer-links{display:grid;gap:8px}.footer-links a{color:#cdd4f0}.footer-links a:hover{color:#fff}.footer-bottom{margin-top:35px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.8rem;color:#aeb7d5}

/* Modal / floating actions */
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(16,18,37,.68);z-index:1200;padding:20px}.modal.open{display:flex}.modal-box{width:min(520px,100%);background:#fff;border-radius:25px;padding:28px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal-close{position:absolute;right:16px;top:12px;border:0;background:#f2f3f7;width:36px;height:36px;border-radius:50%;font-weight:1000;cursor:pointer}
.whatsapp-float{position:fixed;right:22px;bottom:22px;width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#25D366;color:#fff;z-index:999;box-shadow:0 15px 30px rgba(37,211,102,.35);animation:whatsappPulse 2.2s infinite;font-weight:1000;font-size:1.55rem}.whatsapp-float span{position:absolute;right:76px;white-space:nowrap;background:#171849;color:#fff;padding:9px 13px;border-radius:12px;font-size:.76rem;font-weight:900;opacity:0;transform:translateX(8px);pointer-events:none;transition:.2s}.whatsapp-float:hover span{opacity:1;transform:none}@keyframes whatsappPulse{0%,100%{box-shadow:0 15px 30px rgba(37,211,102,.28),0 0 0 0 rgba(37,211,102,.22)}50%{box-shadow:0 15px 30px rgba(37,211,102,.28),0 0 0 13px rgba(37,211,102,0)}}
.scrolltop{position:fixed;right:22px;bottom:98px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:#2d2705;font-weight:1000;z-index:998;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:.25s}.scrolltop.is-visible{opacity:1;visibility:visible;transform:none}

@media(max-width:1050px){
  .hero-grid,.page-hero-grid,.contact-grid,.media-card{grid-template-columns:1fr}
  .grid4,.partner-grid,.brand-strip{grid-template-columns:repeat(2,1fr)}
  .news-grid,.grid3{grid-template-columns:1fr 1fr}
  .flow{grid-template-columns:1fr 1fr}
  .flow-step:not(:last-child):after{display:none}
  .primary-nav a{font-size:.69rem}
}
@media(max-width:760px){
  .section{padding:68px 0}.hero{padding-top:54px}
  .grid2,.grid3,.grid4,.profile-grid,.news-grid,.flow,.form-grid,.metric-row,.logo-wall{grid-template-columns:1fr}
  .partner-grid,.brand-strip,.hero-partners{grid-template-columns:1fr 1fr}
  .section-head{display:block}.section-head .btn{margin-top:16px}
  .mobile-toggle{display:block}
  .primary-nav{display:none;position:absolute;left:4vw;right:4vw;top:72px;flex-direction:column;align-items:stretch;background:#fff;padding:12px;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
  .primary-nav.open{display:flex}.primary-nav ul{flex-direction:column;align-items:stretch}.primary-nav a{font-size:.78rem}
  .brand-edu{display:none}.brand img{width:145px}.utility-inner{justify-content:center;text-align:center}.utility-inner span:last-child{display:none}
  .cta{flex-direction:column;align-items:flex-start;padding:29px}
  .field.full{grid-column:auto}.whatsapp-float{right:15px;bottom:15px}.scrolltop{right:17px;bottom:88px}.whatsapp-float span{display:none}
  .footer-grid{grid-template-columns:1fr}.footer-logos{grid-template-columns:1fr 1fr}.hero-panel{padding:22px}
}


/* Novos registros visuais - versão 5.0 */
.hero-photo-stage{position:relative;z-index:2;display:grid;grid-template-columns:1.45fr .85fr;gap:12px;margin-top:12px}
.hero-photo{position:relative;overflow:hidden;border-radius:20px;min-height:265px;background:#e8ecf8;border:1px solid #dfe4ef}
.hero-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}
.hero-photo:hover img{transform:scale(1.035)}
.hero-photo-stack{display:grid;grid-template-rows:1fr 1fr;gap:12px}
.hero-photo-stack .hero-photo{min-height:126px}
.photo-caption{position:absolute;left:12px;right:12px;bottom:12px;padding:8px 11px;border-radius:12px;background:rgba(21,23,71,.8);color:#fff;font-size:.72rem;font-weight:850;backdrop-filter:blur(6px)}

.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery-item{position:relative;overflow:hidden;border-radius:21px;background:#e9edf6;border:1px solid var(--line);box-shadow:0 8px 24px rgba(22,27,53,.05);min-height:210px}
.gallery-item.wide{grid-column:span 2}
.gallery-item.tall{grid-row:span 2;min-height:434px}
.gallery-item a{display:block;width:100%;height:100%;position:relative}
.gallery-item img{display:block;width:100%;height:100%;min-height:210px;object-fit:cover;transition:transform .55s ease,filter .35s ease}
.gallery-item.tall img{min-height:434px}
.gallery-item:hover img{transform:scale(1.045);filter:saturate(1.04)}
.gallery-overlay{position:absolute;left:0;right:0;bottom:0;padding:40px 15px 14px;background:linear-gradient(180deg,transparent,rgba(15,17,53,.84));color:#fff;font-size:.76rem;font-weight:850}
.gallery-overlay strong{display:block;font-size:.84rem;margin-bottom:2px}
.gallery-link-label{display:inline-flex;align-items:center;gap:7px;margin-top:17px;color:var(--blue);font-size:.74rem;font-weight:950;text-transform:uppercase;letter-spacing:.07em}
.gallery-link-label:after{content:'↗';color:var(--red)}

.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.team-card{overflow:hidden;padding:0;background:#fff;border:1px solid var(--line);border-radius:23px;box-shadow:0 10px 30px rgba(20,24,40,.04);transition:transform .25s ease,box-shadow .25s ease}
.team-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.team-card figure{margin:0;aspect-ratio:3/4;overflow:hidden;background:#24216b}
.team-card figure img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.team-card:hover figure img{transform:scale(1.025)}
.team-body{padding:17px 18px 19px}
.team-body h3{font-size:1rem;margin-bottom:5px}
.team-body p{font-size:.74rem;font-weight:900;color:var(--blue);margin:0;text-transform:uppercase;letter-spacing:.05em}

.section-photo-banner{position:relative;overflow:hidden;border-radius:30px;min-height:300px;background:var(--navy)}
.section-photo-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.62}
.section-photo-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,23,71,.88),rgba(21,23,71,.44),rgba(21,23,71,.2))}
.section-photo-banner .banner-content{position:relative;z-index:2;padding:46px;max-width:720px}
.section-photo-banner h2{color:#fff}
.section-photo-banner p{color:#dfe5ff}

.photo-card{background:#fff;border:1px solid var(--line);border-radius:23px;overflow:hidden;box-shadow:0 10px 28px rgba(20,24,40,.04)}
.photo-card figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:#eef1f8}
.photo-card figure img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.photo-card:hover figure img{transform:scale(1.035)}
.photo-card-body{padding:18px 20px 20px}
.photo-card-body h3{font-size:1.02rem;margin-bottom:6px}
.photo-card-body p{font-size:.85rem;margin-bottom:0}

.logo-photo-split{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:stretch}
.logo-photo-split .visual{overflow:hidden;border-radius:26px;border:1px solid var(--line);min-height:360px;background:#eef1f8}
.logo-photo-split .visual img{width:100%;height:100%;object-fit:cover;display:block}
.logo-photo-split .content{display:flex;flex-direction:column;justify-content:center}

.institutional-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:24px}
.institutional-strip .logo-tile{min-height:108px;padding:13px}
.institutional-strip .logo-tile img{max-height:76px}

.detail-banner{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center}
.detail-banner .photo{border-radius:27px;overflow:hidden;min-height:340px;background:#e9edf6}
.detail-banner .photo img{width:100%;height:100%;min-height:340px;object-fit:cover;display:block}

@media(max-width:1050px){
  .team-grid{grid-template-columns:repeat(3,1fr)}
  .institutional-strip{grid-template-columns:repeat(3,1fr)}
  .gallery-grid{grid-template-columns:repeat(3,1fr)}
  .gallery-item.wide{grid-column:span 2}
  .logo-photo-split,.detail-banner{grid-template-columns:1fr}
}
@media(max-width:760px){
  .hero-photo-stage{grid-template-columns:1fr}
  .hero-photo{min-height:220px}
  .hero-photo-stack{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .hero-photo-stack .hero-photo{min-height:128px}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-item.wide{grid-column:span 2}
  .gallery-item.tall{grid-row:span 1;min-height:210px}
  .gallery-item.tall img{min-height:210px}
  .team-grid{grid-template-columns:1fr 1fr}
  .institutional-strip{grid-template-columns:1fr 1fr}
  .section-photo-banner .banner-content{padding:31px 24px}
}
@media(max-width:500px){
  .team-grid,.gallery-grid,.institutional-strip{grid-template-columns:1fr}
  .gallery-item.wide{grid-column:auto}
  .hero-photo-stack{grid-template-columns:1fr}
}

/* Lightbox e foco visual para registros fotográficos */
.skillful-lightbox{position:fixed;inset:0;background:rgba(10,12,28,.9);display:none;align-items:center;justify-content:center;padding:24px;z-index:2000}
.skillful-lightbox.open{display:flex}
.lightbox-inner{position:relative;width:min(1100px,96vw);max-height:92vh;display:flex;flex-direction:column;align-items:center;gap:12px}
.lightbox-image{display:block;max-width:100%;max-height:78vh;width:auto;height:auto;object-fit:contain;border-radius:18px;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.lightbox-caption{max-width:900px;color:#fff;text-align:center;font-size:.88rem;font-weight:800}
.lightbox-close{position:absolute;right:-8px;top:-45px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:var(--navy);font-size:1.55rem;font-weight:900;line-height:1;cursor:pointer}
.footer-main-logo{display:block;width:185px;max-height:70px;object-fit:contain;margin-bottom:14px}
@media(max-width:760px){.lightbox-close{right:0;top:-48px}}
.project-badge-logo{display:block;width:auto;max-width:210px;max-height:70px;object-fit:contain;margin-top:18px}


/* ==========================================================
   SKILLFUL UFU 6.0 - visual system and archive experience
   ========================================================== */
:root{
  --navy:#222065;--blue:#3556b8;--blue2:#5a75d0;--red:#d5253b;--yellow:#f4c928;
  --ink:#17213a;--muted:#657086;--bg:#f5f7fb;--white:#fff;--line:#e4e8f1;
  --shadow:0 18px 55px rgba(34,32,101,.12);--radius:24px;
}
.skip-link{position:fixed;left:18px;top:12px;z-index:3000;background:var(--yellow);color:#2b2705;padding:10px 14px;border-radius:10px;font-weight:900;transform:translateY(-140%);transition:.2s}.skip-link:focus{transform:none}
.site-header{z-index:1100}.header-inner{min-height:82px}.brand img{width:168px;height:auto}.primary-nav a{letter-spacing:.035em}
.primary-nav .current-menu-item>a,.primary-nav .current_page_item>a{background:#eef1fb;color:var(--navy)}
.hero-v6{background:
 radial-gradient(circle at 86% 12%,rgba(244,201,40,.30),transparent 25%),
 radial-gradient(circle at 14% 7%,rgba(53,86,184,.13),transparent 24%),
 linear-gradient(135deg,#fff 0%,#f2f4ff 55%,#ecefff 100%);padding:92px 0 72px;position:relative;overflow:hidden}
.hero-v6:before{content:"";position:absolute;width:420px;height:420px;right:-180px;bottom:-250px;border-radius:50%;background:rgba(213,37,59,.08)}
.hero-v6-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:54px;align-items:center;position:relative;z-index:1}
.hero-v6 h1{font-size:clamp(2.7rem,5.9vw,5.25rem)}
.hero-v6 h1 span{color:var(--red)}
.hero-v6-copy{max-width:820px}.hero-v6-copy .lead{font-size:1.12rem}
.hero-v6-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.hero-v6-panel{background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.95);border-radius:32px;padding:18px;box-shadow:var(--shadow);backdrop-filter:blur(12px)}
.hero-v6-main-photo{position:relative;min-height:410px;border-radius:25px;overflow:hidden;background:#edf1fa}.hero-v6-main-photo img{width:100%;height:100%;min-height:410px;object-fit:cover;display:block}.hero-v6-main-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(21,23,71,.75));pointer-events:none}
.hero-v6-caption{position:absolute;left:22px;right:22px;bottom:20px;z-index:2;color:#fff}.hero-v6-caption strong{display:block;font-size:1.05rem;margin-bottom:3px}.hero-v6-caption span{font-size:.78rem;color:#e6eaff}
.hero-v6-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.hero-v6-mini a{display:block;border-radius:15px;overflow:hidden;aspect-ratio:1.25;background:#edf1fa}.hero-v6-mini img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .4s ease}.hero-v6-mini a:hover img{transform:scale(1.045)}
.section-head-v6{display:grid;grid-template-columns:1fr .72fr;gap:30px;align-items:end;margin-bottom:30px}.section-head-v6 .lead{margin:0}
.proof-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px}.proof{padding:22px;border:1px solid var(--line);background:#fff;border-radius:18px;box-shadow:0 8px 25px rgba(20,24,40,.03)}.proof strong{display:block;color:var(--navy);font-size:1.45rem}.proof small{color:var(--muted);font-weight:800}
.logo-wall-v6{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.logo-tile-v6{min-height:128px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(20,24,40,.03)}.logo-tile-v6 img{width:100%;height:100px;object-fit:contain;display:block}
.program-showcase{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.program-card-v6{overflow:hidden;position:relative;border:1px solid var(--line);border-radius:25px;background:#fff;box-shadow:0 10px 30px rgba(20,24,40,.035);transition:transform .25s ease,box-shadow .25s ease}.program-card-v6:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.program-visual{height:220px;background:#f0f2f8;overflow:hidden}.program-visual img{display:block;width:100%;height:100%;object-fit:cover}.program-body{padding:24px}.program-brand{height:56px;margin-bottom:13px;display:flex;align-items:center}.program-brand img{max-height:56px;max-width:210px;object-fit:contain}.program-body p{margin-bottom:0}.program-accent{position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--blue)}.program-card-v6.red .program-accent{background:var(--red)}.program-card-v6.yellow .program-accent{background:var(--yellow)}.program-card-v6.navy .program-accent{background:var(--navy)}
.photo-mosaic-v6{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:92px;gap:10px}.mosaic-item{position:relative;border-radius:19px;overflow:hidden;background:#e8ecf7;box-shadow:0 8px 20px rgba(20,24,40,.04)}.mosaic-item:nth-child(1){grid-column:span 5;grid-row:span 4}.mosaic-item:nth-child(2){grid-column:span 4;grid-row:span 3}.mosaic-item:nth-child(3){grid-column:span 3;grid-row:span 3}.mosaic-item:nth-child(4){grid-column:span 4;grid-row:span 3}.mosaic-item:nth-child(5){grid-column:span 3;grid-row:span 4}.mosaic-item:nth-child(6){grid-column:span 5;grid-row:span 3}.mosaic-item:nth-child(n+7){grid-column:span 3;grid-row:span 3}.mosaic-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .55s ease}.mosaic-item:hover img{transform:scale(1.045)}.mosaic-label{position:absolute;left:0;right:0;bottom:0;padding:28px 13px 11px;background:linear-gradient(180deg,transparent,rgba(15,17,53,.82));color:#fff;font-size:.73rem;font-weight:850}
.archive-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}.archive-count{color:var(--muted);font-weight:850;font-size:.82rem}.filter-pills{display:flex;flex-wrap:wrap;gap:8px}.filter-pill{border:1px solid var(--line);background:#fff;color:#4d566b;border-radius:99px;padding:8px 12px;font-size:.75rem;font-weight:900}.filter-pill.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.archive-grid-v6{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.archive-item-v6{position:relative;overflow:hidden;border-radius:20px;background:#e8ecf7;min-height:220px;box-shadow:0 8px 24px rgba(20,24,40,.04);cursor:zoom-in}.archive-item-v6:nth-child(7n+1){grid-column:span 2;grid-row:span 2;min-height:454px}.archive-item-v6 img{display:block;width:100%;height:100%;min-height:220px;object-fit:cover;transition:transform .5s ease,filter .35s ease}.archive-item-v6:nth-child(7n+1) img{min-height:454px}.archive-item-v6:hover img{transform:scale(1.045);filter:saturate(1.035)}.archive-overlay-v6{position:absolute;left:0;right:0;bottom:0;padding:40px 14px 13px;background:linear-gradient(180deg,transparent,rgba(15,17,53,.84));color:#fff;font-size:.72rem;font-weight:850}.archive-overlay-v6 strong{display:block;font-size:.82rem}
.team-grid-v6{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.team-card-v6{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 10px 26px rgba(20,24,40,.04);transition:transform .25s ease,box-shadow .25s ease}.team-card-v6:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.team-card-v6 figure{margin:0;aspect-ratio:3/4;background:#24216b;overflow:hidden}.team-card-v6 img{width:100%;height:100%;display:block;object-fit:cover}.team-card-v6 .team-meta{padding:13px 15px 16px}.team-card-v6 .team-meta strong{display:block;color:var(--navy);font-size:.9rem}.team-card-v6 .team-meta span{display:block;color:var(--blue);font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-top:3px}
.fold{border:1px solid var(--line);border-radius:22px;background:#fff;overflow:hidden}.fold summary{cursor:pointer;list-style:none;padding:19px 21px;color:var(--navy);font-weight:950;display:flex;align-items:center;justify-content:space-between}.fold summary::-webkit-details-marker{display:none}.fold summary:after{content:'+';font-size:1.25rem;color:var(--red)}.fold[open] summary:after{content:'-';}.fold-content{padding:0 21px 22px}
.timeline-v6{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.timeline-step{position:relative;background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px}.timeline-step span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#eef1ff;color:var(--navy);font-weight:1000;font-size:.72rem;margin-bottom:12px}.timeline-step h3{font-size:1rem}
.split-feature-v6{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;align-items:stretch}.split-feature-v6 .visual{border-radius:27px;overflow:hidden;min-height:340px;background:#e9edf6}.split-feature-v6 .visual img{width:100%;height:100%;min-height:340px;object-fit:cover;display:block}.split-feature-v6 .content{display:flex;flex-direction:column;justify-content:center}
.contact-media-v6{position:relative;min-height:340px;border-radius:27px;overflow:hidden;background:var(--navy)}.contact-media-v6 img{width:100%;height:100%;min-height:340px;object-fit:cover;display:block;opacity:.62}.contact-media-v6:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,23,71,.88),rgba(21,23,71,.35),rgba(21,23,71,.12))}.contact-media-v6 .content{position:absolute;left:38px;right:38px;bottom:35px;z-index:2}.contact-media-v6 h2{color:#fff}.contact-media-v6 p{color:#dfe5ff;max-width:650px}
.footer-v6{background:#151747;color:#cdd4f0;padding:46px 0 24px}.footer-v6 .footer-brand{text-align:center}.footer-v6 .footer-main-logo{display:inline-block;width:190px;height:auto;filter:brightness(0) invert(1);opacity:.97}.footer-v6 .footer-bottom{margin-top:25px;text-align:center;padding-top:19px;border-top:1px solid rgba(255,255,255,.11);font-size:.78rem;color:#aeb7d5}
.lightbox-v6{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(7,9,23,.92);padding:24px;z-index:2200}.lightbox-v6.open{display:flex}.lightbox-v6-inner{position:relative;width:min(1180px,96vw);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}.lightbox-v6 figure{margin:0;text-align:center}.lightbox-v6 img{max-width:100%;max-height:82vh;width:auto;height:auto;border-radius:16px;box-shadow:0 30px 100px rgba(0,0,0,.4)}.lightbox-v6 figcaption{color:#e7ebfb;padding-top:10px;font-size:.8rem}.lightbox-v6-close,.lightbox-v6-prev,.lightbox-v6-next{width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:grid;place-items:center;font-size:1.45rem;cursor:pointer}.lightbox-v6-close{position:absolute;right:-6px;top:-58px}.lightbox-v6-prev:hover,.lightbox-v6-next:hover,.lightbox-v6-close:hover{background:rgba(255,255,255,.22)}
.v6-note{padding:14px 16px;border-radius:15px;background:#f2f5ff;border:1px solid #dde4fb;color:#34405d;font-size:.86rem}
.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.fade-up{opacity:1;transform:none}.skillful-lightbox-trigger img,.mosaic-item img,.archive-item-v6 img{transition:none}}
@media(max-width:1050px){.hero-v6-grid,.section-head-v6,.split-feature-v6{grid-template-columns:1fr}.proof-strip{grid-template-columns:repeat(2,1fr)}.logo-wall-v6{grid-template-columns:repeat(3,1fr)}.program-showcase{grid-template-columns:1fr}.timeline-v6{grid-template-columns:repeat(2,1fr)}.team-grid-v6{grid-template-columns:repeat(3,1fr)}.archive-grid-v6{grid-template-columns:repeat(3,1fr)}.archive-item-v6:nth-child(7n+1){grid-column:span 2}}
@media(max-width:760px){.hero-v6{padding-top:60px}.hero-v6-main-photo,.hero-v6-main-photo img{min-height:300px}.hero-v6-mini{grid-template-columns:1fr 1fr 1fr}.proof-strip,.timeline-v6{grid-template-columns:1fr 1fr}.logo-wall-v6{grid-template-columns:1fr 1fr}.team-grid-v6{grid-template-columns:1fr 1fr}.archive-grid-v6{grid-template-columns:1fr 1fr}.archive-item-v6:nth-child(7n+1){grid-column:span 2;grid-row:span 1;min-height:220px}.archive-item-v6:nth-child(7n+1) img{min-height:220px}.photo-mosaic-v6{grid-template-columns:repeat(2,1fr);grid-auto-rows:120px}.mosaic-item,.mosaic-item:nth-child(n){grid-column:span 1;grid-row:span 2}.mosaic-item:nth-child(1){grid-column:span 2;grid-row:span 3}.mosaic-item:nth-child(6){grid-column:span 2}.lightbox-v6-inner{grid-template-columns:42px minmax(0,1fr) 42px}.lightbox-v6-close{right:0;top:-56px}.lightbox-v6-prev,.lightbox-v6-next,.lightbox-v6-close{width:40px;height:40px}.footer-v6 .footer-main-logo{width:165px}}
@media(max-width:500px){.proof-strip,.logo-wall-v6,.team-grid-v6,.archive-grid-v6{grid-template-columns:1fr}.archive-item-v6:nth-child(7n+1){grid-column:auto}.hero-v6-mini{grid-template-columns:1fr}.hero-v6-main-photo,.hero-v6-main-photo img{min-height:240px}.photo-mosaic-v6{grid-template-columns:1fr;grid-auto-rows:170px}.mosaic-item,.mosaic-item:nth-child(n){grid-column:auto;grid-row:span 1}.mosaic-item:nth-child(1){grid-column:auto;grid-row:span 2}}
