
/*
Theme Name: UGP-MAST Professional Admin Edition
Theme URI: https://ugp-mast-gouv.ht/
Author: UGP-MAST
Description: UGP-MAST institutional theme preserving the validated V4 frontend with a professional no-code administration system, builders, advanced article options and integrated documentation.
Version: 4.12.0
License: GPL-2.0-or-later
Text Domain: ugp-mast-modern
*/
:root{--navy:#07143d;--blue:#2463e8;--blue2:#4c8cff;--ink:#102044;--muted:#667085;--line:#e7ebf3;--bg:#f7f9fc;--white:#fff;--shadow:0 16px 45px rgba(9,31,77,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{background:var(--navy);color:#fff;font-size:12px}.topbar .container{height:36px;display:flex;align-items:center;justify-content:space-between}.topbar-right{display:flex;gap:18px;align-items:center;opacity:.9}.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:20}.brand-row{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:14px}.brand img{width:58px;height:58px;object-fit:contain}.brand-title{font-weight:800;font-size:19px;letter-spacing:-.02em}.brand-sub{font-size:10px;color:#667085;margin-top:1px}.brand-ma{font-size:10px;color:#667085;text-transform:uppercase;letter-spacing:.04em}.main-nav{border-top:1px solid #f0f2f6}.nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:52px}.menu,.menu ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}.menu li{position:relative}.menu a{display:block;padding:15px 12px;font-size:12px;font-weight:750;color:#17213f;text-transform:uppercase;letter-spacing:.02em}.menu a:hover,.menu .current-menu-item>a{color:var(--blue)}.menu .current-menu-item>a:after{content:"";display:block;height:2px;background:var(--blue);margin-top:7px;border-radius:2px}.menu.is-open{display:flex}.menu-toggle{display:none;border:0;background:var(--navy);color:#fff;padding:10px 14px;border-radius:9px;font-weight:700}
.hero{position:relative;min-height:540px;overflow:hidden;background:#06143b;color:#fff}.hero-media{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(5,18,55,.94) 0%,rgba(5,18,55,.82) 34%,rgba(5,18,55,.25) 64%,rgba(5,18,55,.10) 100%),var(--ugp-hero-image,url('assets/hero.png'));background-size:cover;background-position:center}.hero .container{position:relative;z-index:2;min-height:540px;display:flex;align-items:center}.hero-copy{width:min(560px,100%);padding:70px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#a9c7ff;margin-bottom:14px}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.02;letter-spacing:-.045em;margin:0 0 20px;font-weight:850}.hero h1 span{color:#63a0ff}.hero p{font-size:17px;line-height:1.7;color:rgba(255,255,255,.86);max-width:520px;margin:0 0 28px}.actions{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:12px 20px;font-size:13px;font-weight:800;border:1px solid transparent}.btn-primary{background:#2f70f5;color:#fff;box-shadow:0 10px 24px rgba(47,112,245,.3)}.btn-secondary{border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.07);backdrop-filter:blur(8px)}
.hero:after{content:"";position:absolute;right:-120px;bottom:-180px;width:420px;height:420px;border-radius:50%;background:rgba(55,126,255,.18);filter:blur(10px)}
.stats-wrap{position:relative;z-index:5;margin-top:-44px}.stats{background:#fff;border-radius:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.stat{padding:24px;text-align:center;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat strong{font-size:28px;line-height:1;font-weight:850}.stat b{display:block;font-size:12px;margin-top:8px}.stat small{font-size:10px;color:#7b8498}
.section{padding:72px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-kicker{font-size:11px;color:var(--blue);font-weight:850;text-transform:uppercase;letter-spacing:.1em}.section-title{font-size:30px;line-height:1.15;letter-spacing:-.03em;margin:5px 0 0}.section-link{font-size:12px;color:var(--blue);font-weight:800}
.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.news-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;transition:transform .25s,box-shadow .25s}.news-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.news-thumb{height:180px;background:#e9eef7;overflow:hidden}.news-thumb img{width:100%;height:100%;object-fit:cover}.news-body{padding:18px}.tag{font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:var(--blue)}.news-title{font-size:15px;line-height:1.35;margin:7px 0 10px;font-weight:800}.excerpt{font-size:11px;color:var(--muted);line-height:1.55}.date{font-size:9px;color:#98a0b2;margin-top:12px}
.feature-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:22px}.feature-card{min-height:390px;border-radius:20px;overflow:hidden;position:relative;background:#13265e;color:#fff}.feature-card .feature-bg{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,16,47,.9),rgba(5,16,47,.05)),url('assets/hero.png') center/cover}.feature-content{position:absolute;left:28px;right:28px;bottom:28px}.feature-content h3{font-size:28px;line-height:1.1;margin:8px 0}.feature-content p{font-size:13px;color:rgba(255,255,255,.82);max-width:600px}.project-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.project-item{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff}.project-item h4{margin:8px 0 5px}.project-item p{font-size:11px;color:var(--muted);margin:0}
.partners-section{background:#fff}.partners-intro{max-width:420px;margin:0;color:var(--muted);font-size:12px;line-height:1.65}.partner-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.partner{min-height:150px;border:1px solid var(--line);border-radius:18px;display:flex;align-items:center;justify-content:center;text-align:center;padding:22px;background:#fff;box-shadow:0 10px 28px rgba(9,31,77,.05);transition:transform .25s ease,box-shadow .25s ease}.partner:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(9,31,77,.09)}.partner-logo img{width:auto;max-width:82%;height:82px;object-fit:contain}.partner-logo:nth-child(2) img{height:92px}.partner-logo:nth-child(3) img{height:78px}
.ai-banner{border-radius:20px;padding:34px 38px;background:linear-gradient(110deg,#07164a,#31218e);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.ai-banner h3{font-size:24px;margin:0 0 6px}.ai-banner p{margin:0;color:rgba(255,255,255,.78);font-size:13px}
.site-footer{background:#07112f;color:#fff;padding:58px 0 22px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1.2fr 1fr;gap:45px}.site-footer h4{font-size:13px;margin:0 0 14px}.site-footer p,.site-footer li{font-size:11px;color:rgba(255,255,255,.68)}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:7px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:35px;padding-top:18px;font-size:10px;color:rgba(255,255,255,.55);display:flex;justify-content:space-between}
@media(max-width:900px){.menu{display:none;flex-direction:column;align-items:stretch;width:100%;background:#fff}.menu.is-open{display:flex}.menu li{width:100%}.menu a{padding:12px 14px;border-top:1px solid var(--line)}.menu-toggle{display:block}.nav-inner{justify-content:flex-end;flex-wrap:wrap}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--line)}.news-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:1fr}.partner-row{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.container{width:min(100% - 28px,1180px)}.topbar .container{height:32px}.topbar-right{display:none}.brand-row{min-height:70px}.brand img{width:48px;height:48px}.brand-title{font-size:16px}.brand-sub,.brand-ma{font-size:8px}.hero,.hero .container{min-height:600px}.hero-media{background-position:62% center}.hero-copy{padding:55px 0 80px}.hero h1{font-size:42px}.hero p{font-size:14px}.stats{grid-template-columns:1fr 1fr}.stat{padding:18px 10px}.stat strong{font-size:22px}.section{padding:52px 0}.section-head{align-items:start;flex-direction:column}.news-grid{grid-template-columns:1fr}.news-thumb{height:210px}.project-grid{grid-template-columns:1fr}.partner-row{grid-template-columns:1fr 1fr}.partners-intro{max-width:none}.ai-banner{padding:28px;display:block}.ai-banner .btn{margin-top:18px}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:6px}}

/* ===== KLERE CHIMEN interactive intervention map ===== */
.map-section{background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%)}
.map-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#6b7488}.map-legend span{display:inline-flex;align-items:center;gap:7px}.map-legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.legend-active{background:#2463e8}.legend-neutral{background:#dce4f2}
.map-layout{display:grid;grid-template-columns:1.65fr .75fr;gap:20px;align-items:stretch}.map-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}#ugp-klere-map{height:470px;width:100%;background:#eef3fa}.map-credit{padding:9px 14px;font-size:9px;color:#8a93a7;border-top:1px solid var(--line)}.map-loading{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#64718a;gap:5px}.map-loading strong{color:var(--navy)}.map-loading span{font-size:11px}.map-detail-card{border:1px solid var(--line);border-radius:20px;background:#fff;padding:28px;box-shadow:0 10px 30px rgba(9,31,77,.06)}.map-detail-kicker{font-size:10px;color:var(--blue);font-weight:850;letter-spacing:.1em;text-transform:uppercase}.map-detail-card h3{font-size:25px;line-height:1.15;margin:8px 0 10px}.map-detail-card p{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 22px}.zone-pill{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;margin:9px 0;font-weight:800;font-size:13px}.zone-pill span{width:9px;height:9px;background:#2463e8;border-radius:50%;box-shadow:0 0 0 4px rgba(36,99,232,.12)}.map-detail{margin-top:20px;padding:15px;border-radius:12px;background:#f7f9fc;min-height:78px}.map-detail strong{display:block;font-size:12px}.map-detail span{display:block;font-size:10px;color:#7a8498;margin-top:5px;line-height:1.5}.ugp-map-tooltip{font-weight:800;border:0;border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.12);padding:7px 9px}
@media(max-width:900px){.map-layout{grid-template-columns:1fr}#ugp-klere-map{height:420px}.map-detail-card{padding:22px}}
@media(max-width:600px){.map-legend{font-size:10px}.map-card{border-radius:16px}#ugp-klere-map{height:350px}.map-detail-card{border-radius:16px}.map-detail-card h3{font-size:22px}}

/* ===== Projects v1.1 ===== */
.projects-showcase{display:grid;grid-template-columns:1.08fr .92fr;gap:20px}
.project-feature{min-height:470px;border-radius:24px;overflow:hidden;position:relative;color:#fff;background:#0b1b50;box-shadow:0 16px 45px rgba(10,27,72,.12);transition:transform .3s ease,box-shadow .3s ease}
.project-feature:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(10,27,72,.18)}
.project-feature-media{position:absolute;inset:0;background:linear-gradient(135deg,#183c94,#0a1948);background-image:url('assets/hero.png');background-size:cover;background-position:center}
.project-feature-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,14,45,.08) 15%,rgba(4,14,45,.9) 92%)}
.project-feature-content{position:absolute;left:32px;right:32px;bottom:30px}.project-number{display:block;font-size:12px;font-weight:900;letter-spacing:1.8px;color:#8dbdff;margin-bottom:8px}.project-feature .tag,.project-card .tag{display:inline-block;margin-bottom:5px}.project-feature h3{font-size:36px;line-height:1;margin:6px 0 12px}.project-feature p{max-width:600px;color:rgba(255,255,255,.84);font-size:14px;line-height:1.65;margin:0 0 18px}.project-cta{font-size:12px;font-weight:900;letter-spacing:.2px}.project-cta b{margin-left:6px}
.project-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.project-card{min-height:225px;border-radius:20px;padding:24px;display:flex;align-items:flex-end;position:relative;overflow:hidden;color:#fff;box-shadow:0 10px 30px rgba(10,27,72,.08);transition:transform .3s ease,box-shadow .3s ease}.project-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px rgba(10,27,72,.14)}.project-card>div{position:relative;z-index:2}.project-card:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,#12367e,#0b1946);opacity:1}.project-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-75px;top:-70px;background:rgba(255,255,255,.10);filter:blur(2px)}.project-card h3{font-size:24px;margin:5px 0 8px}.project-card p{font-size:12px;line-height:1.5;color:rgba(255,255,255,.78);margin:0 0 12px}.project-card .project-number{color:#9ec6ff}.project-card-psara:before{background:linear-gradient(135deg,#154f7d,#102c5b)}.project-card-propiped:before{background:linear-gradient(135deg,#2b347e,#151c52)}.project-card-pnpps:before{background:linear-gradient(135deg,#12656a,#0d344f)}
@media(max-width:900px){.projects-showcase{grid-template-columns:1fr}.project-feature{min-height:420px}}
@media(max-width:600px){.project-cards{grid-template-columns:1fr}.project-feature-content{left:23px;right:23px;bottom:24px}.project-feature h3{font-size:30px}.project-card{min-height:200px}}

/* ===== Footer v1.3 ===== */
.site-footer{background:linear-gradient(135deg,#06102d 0%,#0a1740 100%);color:#fff;padding:64px 0 22px;position:relative;overflow:hidden}.site-footer:before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-220px;top:-250px;background:rgba(76,140,255,.10);pointer-events:none}.footer-main{display:grid;grid-template-columns:1.7fr .8fr .9fr .95fr;gap:48px;position:relative;z-index:1}.footer-brand-block{max-width:390px}.footer-logo-wrap{width:230px;min-height:82px;background:#fff;border-radius:12px;padding:10px 15px;display:flex;align-items:center;justify-content:center;margin-bottom:18px}.footer-logo-wrap img{width:100%;height:auto;max-height:62px;object-fit:contain}.footer-lead{font-size:13px!important;line-height:1.65!important;color:rgba(255,255,255,.88)!important;margin:0 0 8px!important}.footer-note{font-size:11px!important;line-height:1.65!important;color:rgba(255,255,255,.55)!important;margin:0!important}.footer-col h4{font-size:12px!important;text-transform:uppercase;letter-spacing:.08em;margin:4px 0 15px!important;color:#fff}.footer-col ul{list-style:none;padding:0;margin:0}.footer-col li{margin:8px 0!important}.footer-col li a{font-size:11px;color:rgba(255,255,255,.62);transition:color .2s ease}.footer-col li a:hover{color:#8dbdff}.footer-ministry{margin-top:18px;padding-top:14px;border-top:1px solid rgba(255,255,255,.10);font-size:9px;line-height:1.5;letter-spacing:.06em;color:rgba(255,255,255,.42)}.footer-bottom{border-top:1px solid rgba(255,255,255,.10);margin-top:44px;padding-top:18px;font-size:10px;color:rgba(255,255,255,.48);display:flex;justify-content:space-between;position:relative;z-index:1}.footer-bottom span:last-child{color:rgba(255,255,255,.65);font-weight:700}@media(max-width:900px){.footer-main{grid-template-columns:1.4fr 1fr 1fr;gap:32px}.footer-brand-block{grid-column:1/-1;max-width:650px}}@media(max-width:600px){.site-footer{padding:48px 0 20px}.footer-main{grid-template-columns:1fr 1fr;gap:28px}.footer-brand-block{grid-column:1/-1}.footer-logo-wrap{width:205px}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:6px}}

/* ===== INTERNAL PAGES / COMPLETE SITE ===== */
.eyebrow,.section-kicker{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;font-weight:900;color:#2869df;margin-bottom:12px}.inner-hero{padding:92px 0 88px;background:radial-gradient(circle at 85% 20%,rgba(48,126,255,.18),transparent 32%),linear-gradient(120deg,#06133e,#102b70);color:#fff}.inner-hero h1{font-size:clamp(42px,6vw,70px);line-height:1;margin:0 0 20px;letter-spacing:-2px}.inner-hero p{max-width:700px;color:#dce8ff;font-size:18px;line-height:1.7;margin:0}.inner-hero .eyebrow{color:#8dc1ff}.inner-hero-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:55px}.inner-hero-card{padding:34px;border:1px solid rgba(255,255,255,.17);border-radius:24px;background:rgba(255,255,255,.08);backdrop-filter:blur(12px);box-shadow:0 25px 80px rgba(0,0,0,.15)}.inner-hero-card span{display:block;color:#9db8ea;font-size:12px;text-transform:uppercase;letter-spacing:1px}.inner-hero-card strong{display:block;font-size:32px;margin:10px 0}.inner-hero-card small{color:#cbd8ef}.pill{display:inline-block;margin-top:22px;padding:9px 14px;border:1px solid rgba(255,255,255,.25);border-radius:999px;color:#dce8ff;font-size:12px}.narrow{max-width:860px}.page-h1{font-size:50px;margin:0 0 30px;color:#07143f}.page-h2{font-size:36px;line-height:1.15;margin:0 0 25px;color:#07143f}.rich-copy{font-size:16px;line-height:1.85;color:#536078}.rich-copy h2,.rich-copy h3{color:#0b173e}.rich-copy img{max-width:100%;height:auto;border-radius:18px}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.info-card{padding:28px;border:1px solid #e5eaf3;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(10,25,60,.05)}.info-card span{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#3574dd;font-weight:900}.info-card strong{display:block;font-size:20px;margin:9px 0;color:#09163e}.info-card p{margin:0;color:#667188;font-size:13px;line-height:1.65}.cta-panel{border-radius:24px;padding:38px 42px;background:linear-gradient(110deg,#07143f,#173c91);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-panel h2{font-size:30px;margin:0 0 8px}.cta-panel p{margin:0;color:#cbd8f2}.project-page-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.project-page-card{padding:32px;border-radius:22px;border:1px solid #e6ebf4;background:#fff;box-shadow:0 8px 28px rgba(10,25,60,.05);transition:.25s}.project-page-card:hover{transform:translateY(-5px);box-shadow:0 18px 50px rgba(10,25,60,.10)}.project-page-card span{font-size:10px;letter-spacing:1px;color:#3474df;font-weight:900}.project-page-card h2{font-size:28px;color:#07143f;margin:10px 0}.project-page-card p{color:#68748b;line-height:1.6}.project-page-card b{color:#1e62d8;font-size:13px}.simast-hero{background:radial-gradient(circle at 75% 50%,rgba(54,166,255,.25),transparent 25%),linear-gradient(120deg,#050e34,#1b1370)}.data-visual{height:310px;position:relative;border:1px solid rgba(255,255,255,.13);border-radius:28px;background:rgba(255,255,255,.06);overflow:hidden}.data-node{position:absolute;padding:16px 20px;border-radius:14px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.2);color:#fff;font-weight:900;font-size:12px;box-shadow:0 15px 40px rgba(0,0,0,.15)}.n1{left:12%;top:22%}.n2{right:14%;top:28%}.n3{left:36%;bottom:17%}.data-line{position:absolute;height:1px;background:rgba(116,196,255,.7);transform-origin:left center}.l1{left:31%;top:35%;width:42%;transform:rotate(-6deg)}.l2{left:48%;top:57%;width:25%;transform:rotate(-35deg)}.doc-layout{display:grid;grid-template-columns:220px 1fr;gap:30px}.doc-side{display:flex;flex-direction:column;gap:10px;padding:20px;border-radius:18px;background:#f5f7fb;height:max-content}.doc-side strong{margin-bottom:8px;color:#07143f}.doc-side a{font-size:13px;color:#5d6980;padding:7px 0}.doc-side a:hover{color:#1d62d9}.doc-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.doc-card{padding:24px;border:1px solid #e5eaf3;border-radius:18px;background:#fff;display:flex;flex-direction:column;gap:9px}.doc-card span{font-size:10px;color:#3474df;font-weight:900;letter-spacing:1px}.doc-card strong{font-size:16px;color:#07143f}.doc-card small{color:#637087}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.gallery-item{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:18px;background:#eef2f8}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:.35s}.gallery-item span{position:absolute;left:0;right:0;bottom:0;padding:25px 14px 13px;color:#fff;font-size:12px;background:linear-gradient(transparent,rgba(0,0,0,.75));opacity:0;transition:.25s}.gallery-item:hover img{transform:scale(1.05)}.gallery-item:hover span{opacity:1}.empty-state{padding:45px;border:1px dashed #cbd5e5;border-radius:20px;background:#f8fafc;color:#647189}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}.lead{color:#627087;line-height:1.7;font-size:17px}.contact-list{margin-top:28px;display:grid;gap:14px}.contact-list div{padding:18px;border-radius:15px;background:#f5f7fb}.contact-list strong,.contact-list span{display:block}.contact-list strong{font-size:12px;text-transform:uppercase;color:#1f66dc;letter-spacing:.8px}.contact-list span{margin-top:5px;color:#536078}.contact-card{padding:30px;border:1px solid #e6ebf3;border-radius:22px;box-shadow:0 12px 35px rgba(10,25,60,.06)}.contact-card h3{margin-top:0;color:#07143f}.form-placeholder{margin-top:20px;border:1px dashed #b9c7de;border-radius:16px;padding:35px;text-align:center;background:#f8fafc}.form-placeholder span{font-size:10px;letter-spacing:1px;color:#3b73d8;font-weight:900;display:block}.form-placeholder strong{display:block;margin-top:8px;color:#34425d}.article-hero{padding:75px 0 55px;background:#f3f6fb}.article-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.08;color:#07143f;margin:0 0 16px}.article-meta{font-size:13px;color:#69758b}.article-featured{margin-bottom:35px}.article-featured img{width:100%;max-height:600px;object-fit:cover;border-radius:22px}.article-content .rich-copy{font-size:17px}.error-page{text-align:center;padding:120px 0}.error-code{font-size:110px;font-weight:900;line-height:1;color:#dce6f8}.error-page h1{font-size:42px;color:#07143f}.error-page p{color:#667188;margin-bottom:28px}.the_posts_pagination{margin-top:35px}
@media(max-width:900px){.inner-hero-grid,.contact-grid{grid-template-columns:1fr}.info-grid,.project-page-grid{grid-template-columns:1fr 1fr}.doc-layout{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(3,1fr)}.inner-hero-card{display:none}}
@media(max-width:560px){.info-grid,.project-page-grid,.doc-list{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr 1fr}.cta-panel{display:block;padding:28px}.cta-panel .btn{margin-top:20px}.inner-hero{padding:65px 0}.inner-hero h1{font-size:45px}.page-h2{font-size:30px}}

/* V2.1 admin-managed hero image */
.hero{background-image:linear-gradient(90deg,rgba(4,17,54,.82) 0%,rgba(4,17,54,.58) 42%,rgba(4,17,54,.05) 78%),var(--ugp-hero-image);}
/* V3.0 header: logo + WordPress menu on one line */
.brand-row{justify-content:flex-start;gap:28px}.brand{flex:0 0 auto}.main-nav{border-top:0;margin-left:auto}.nav-inner{min-height:84px}.menu{gap:0}.menu li.menu-item-has-children>a:after{content:'▾';margin-left:6px;font-size:10px}.menu li ul{display:none;position:absolute;top:100%;left:0;min-width:210px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 30px rgba(16,24,40,.12);border-radius:0 0 10px 10px;padding:7px;z-index:50}.menu li:hover>ul,.menu li:focus-within>ul{display:block}.menu li ul li{width:100%}.menu li ul a{padding:10px 12px;text-transform:none;font-size:12px}.menu li ul ul{top:-7px;left:100%}.header-actions{display:flex;align-items:center;gap:8px;margin-left:8px}.search-toggle{border:0;background:transparent;font-size:25px;line-height:1;cursor:pointer;color:var(--navy);padding:6px}.search-panel{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 8px 20px rgba(16,24,40,.06);padding:14px 0}.search-panel form{display:flex;gap:8px}.search-panel input{flex:1;padding:12px 14px;border:1px solid var(--line);border-radius:8px}.search-panel button{border:0;border-radius:8px;background:var(--navy);color:#fff;padding:0 18px;font-weight:700}.ugp-menu-admin-notice{padding:10px 16px;background:#fff7df;border-bottom:1px solid #ead8a2;color:#5b4a18;font-size:13px;text-align:center}.stat{text-decoration:none;color:inherit;display:block;transition:transform .2s,box-shadow .2s}.stat:hover{transform:translateY(-2px);box-shadow:inset 0 -3px 0 var(--blue)}
.footer-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.footer-socials a{width:42px;height:42px;border:1px solid rgba(255,255,255,.24);border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:16px;font-weight:700;transition:transform .2s,background .2s,border-color .2s}.footer-socials a:hover{transform:translateY(-2px);background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.45)}.footer-contact{display:flex;flex-direction:column;gap:5px;margin-top:14px;color:rgba(255,255,255,.72);font-size:12px}.footer-contact a{color:rgba(255,255,255,.85)}
@media(max-width:1100px){.brand-row{gap:14px}.brand-ma{display:none}.menu a{padding:15px 8px;font-size:11px}.brand-title{font-size:17px}}
@media(max-width:900px){.brand-row{justify-content:space-between}.main-nav{position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 24px rgba(16,24,40,.1);padding:8px 14px;display:none}.site-header:has(.menu.is-open) .main-nav{display:block}.nav-inner{min-height:0}.menu-toggle{display:block}.search-toggle{font-size:23px}.menu{display:none}.menu.is-open{display:flex}.menu li ul{position:static;box-shadow:none;border:0;border-left:2px solid var(--line);border-radius:0;margin-left:12px}.menu li:hover>ul{display:none}.menu li:focus-within>ul,.menu li ul.is-open{display:block}}

/* UGP-MAST v4.0 */
.footer-widget ul{list-style:none;margin:0;padding:0}.footer-widget li{margin:0 0 9px}.footer-widget a{color:rgba(255,255,255,.78)}.footer-widget a:hover{color:#fff}.footer-widget p{color:rgba(255,255,255,.72);font-size:13px}.footer-widget h4{margin:0 0 16px;color:#fff;font-size:13px}.inner-project-image{border-radius:24px;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.2);max-height:330px}.inner-project-image img{width:100%;height:330px;object-fit:cover}.project-page-card>img{width:100%;height:220px;object-fit:cover;border-radius:15px;margin-bottom:20px}.doc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.doc-actions a{display:inline-flex;padding:8px 12px;border-radius:8px;background:#edf3ff;color:#1f62d5;font-size:12px;font-weight:800}.doc-excerpt{font-size:12px;color:#667188}.article-share,.related-articles,.article-comments{margin-top:45px;padding-top:30px;border-top:1px solid var(--line)}.article-share>strong{display:block;margin-bottom:12px}.article-share a{display:inline-block;margin:0 7px 7px 0;padding:9px 13px;border:1px solid var(--line);border-radius:999px;font-size:12px;font-weight:800;color:var(--blue)}.related-articles h2,.article-comments h2{font-size:26px;margin:4px 0 20px}.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.related-card{display:grid;grid-template-columns:110px 1fr;gap:15px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fff}.related-card img{width:110px;height:90px;object-fit:cover;border-radius:11px}.related-card span{font-size:9px;text-transform:uppercase;color:var(--blue);font-weight:900}.related-card h3{font-size:14px;line-height:1.35;margin:5px 0}.related-card small{color:#7b8498}.article-comments .comment-form-comment textarea{width:100%;min-height:130px}.article-comments input[type=text],.article-comments input[type=email],.article-comments input[type=url]{padding:10px;border:1px solid var(--line);border-radius:8px}.article-comments input[type=submit]{border:0;background:var(--button);color:#fff;border-radius:999px;padding:10px 18px;font-weight:800}@media(max-width:700px){.related-grid{grid-template-columns:1fr}.inner-project-image{display:none}}
.map-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}.map-stats div{padding:9px;background:#f4f7fb;border-radius:9px}.map-stats b{display:block;font-size:18px;color:var(--blue)}.map-stats small{display:block;color:#6b7588;font-size:10px}@media(max-width:560px){.map-stats{grid-template-columns:1fr 1fr}}
.ugp-rich-field{margin:0 0 24px;padding:18px;border:1px solid #e5eaf3;border-radius:16px;background:#fafbfd}.ugp-rich-field h3{margin:0 0 12px;color:#07143f}.simast-image{width:110px;height:80px;border-radius:14px;overflow:hidden;flex:0 0 110px}.simast-image img{width:100%;height:100%;object-fit:cover}.ai-banner{display:flex;align-items:center;gap:22px}.ai-banner>div:nth-child(2){flex:1}.page-share{margin-top:0;margin-bottom:20px}.share-native{display:inline-flex;align-items:center;gap:5px;margin:0 7px 7px 0;padding:9px 13px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:800;color:var(--blue);cursor:pointer}.share-icon-link{min-width:34px;text-align:center}.info-card .rich-copy p{margin:0 0 10px}.info-card .rich-copy ul,.info-card .rich-copy ol{padding-left:20px;margin:8px 0}.info-card .rich-copy li{margin-bottom:5px}.info-card .rich-copy h3{font-size:16px;margin:10px 0 5px;color:#09163e}.info-card .rich-copy a{color:var(--blue)}
@media(max-width:700px){.ai-banner{display:block}.simast-image{margin-bottom:15px}}

/* Professional Admin Edition 4.5 - frontend additions */
.container{width:min(var(--container,1180px),92%)}.site-header.is-sticky{position:sticky;top:0;z-index:100}.custom-logo-link img{max-height:66px;width:auto}.topbar .ugp-social-icons{display:inline-flex}.ugp-social-icons{display:flex;align-items:center;gap:var(--social-gap,10px)}.ugp-social-icons a{width:var(--social-size,36px);height:var(--social-size,36px);display:grid;place-items:center;transition:.25s;text-decoration:none}.ugp-social-icons svg{width:52%;height:52%;fill:currentColor}.ugp-social-brand-rounded a{border-radius:10px;color:#fff}.ugp-social-brand-rounded .social-facebook{background:#1877f2}.ugp-social-brand-rounded .social-x{background:#111}.ugp-social-brand-rounded .social-instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045)}.ugp-social-brand-rounded .social-tiktok{background:#111}.ugp-social-brand-rounded .social-youtube{background:#ff0000}.ugp-social-brand-rounded .social-linkedin{background:#0a66c2}.ugp-social-circle a{border-radius:50%;background:#fff;color:#1f2937}.ugp-social-mono a{border-radius:9px;background:rgba(255,255,255,.1);color:#fff}.ugp-social-minimal a{color:inherit}.ugp-social-icons a:hover{transform:translateY(-3px) scale(1.04);filter:brightness(1.05)}.footer-social-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-top:1px solid rgba(255,255,255,.1)}.footer-main{display:flex;gap:32px}.footer-col{flex:0 1 var(--footer-col-width,25%)}.project-card{position:relative;overflow:hidden}.project-card-media,.project-card-overlay{position:absolute;inset:0}.project-card-media{background-size:cover;background-position:center;transition:.4s}.project-card-overlay{background:linear-gradient(180deg,rgba(7,20,61,.18),rgba(7,20,61,.9))}.project-card-content{position:relative;z-index:2}.project-card.has-image{color:#fff}.project-card.has-image h3,.project-card.has-image p,.project-card.has-image .project-number,.project-card.has-image .tag,.project-card.has-image .project-cta{color:#fff}.project-card.has-image:hover .project-card-media{transform:scale(1.05)}.ugp-hero-slider{position:relative;overflow:hidden}.ugp-slides{position:relative;min-height:590px}.ugp-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .65s ease;background-image:linear-gradient(90deg,rgba(4,17,54,.86),rgba(4,17,54,.25)),var(--slide-image);background-size:cover;background-position:center}.ugp-slide.is-active{opacity:1;pointer-events:auto}.ugp-slide .container{min-height:590px;display:flex;align-items:center}.ugp-slide-prev,.ugp-slide-next{position:absolute;top:50%;transform:translateY(-50%);z-index:5;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.2);color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px;cursor:pointer}.ugp-slide-prev{left:24px}.ugp-slide-next{right:24px}.ugp-slide-dots{position:absolute;z-index:6;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:8px}.ugp-slide-dots button{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.45);padding:0}.ugp-slide-dots button.is-active{background:#fff}.hero-video,.hero-video-embed{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-video-embed iframe{width:100%;height:100%;pointer-events:none}.hero-type-video .hero-media{background:linear-gradient(90deg,rgba(4,17,54,.88),rgba(4,17,54,.28))}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.process-card{display:block;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #e7ebf3;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(15,30,60,.06)}.process-card img{width:100%;height:210px;object-fit:cover}.process-card>div{padding:18px}.process-card span{font-size:11px;font-weight:800;color:#2463e8}.process-card h3{margin:7px 0}.process-card p{color:#667085}.process-timeline{grid-template-columns:1fr}.process-timeline .process-card{display:grid;grid-template-columns:260px 1fr}.article-prevnext{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:35px 0;padding-top:20px;border-top:1px solid #e7ebf3}.article-prevnext>div:last-child{text-align:right}@media(max-width:800px){.footer-main{display:grid;grid-template-columns:1fr 1fr}.footer-col{width:auto!important}.process-grid{grid-template-columns:1fr 1fr}.process-timeline .process-card{grid-template-columns:1fr}.ugp-slide-prev{left:10px}.ugp-slide-next{right:10px}}@media(max-width:560px){.footer-main{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr}.footer-social-row{align-items:flex-start;flex-direction:column}}
.ugp-custom-home-grid{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center}.ugp-custom-home-media img{width:100%;height:auto;border-radius:22px;display:block}.ugp-custom-home-copy .btn{margin-top:16px}.ugp-custom-video{margin:18px 0}.ugp-custom-video iframe,.ugp-custom-video video{width:100%;aspect-ratio:16/9;border:0;border-radius:18px}@media(max-width:760px){.ugp-custom-home-grid{grid-template-columns:1fr}}


/* ===== Professional Admin Edition 4.6 — audit fixes ===== */
.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-copy{display:flex;flex-direction:column;line-height:1.15}.brand-logo-image{width:auto;height:auto;max-height:64px;object-fit:contain}.brand-layout-stacked{flex-direction:column;align-items:flex-start;gap:6px}.brand-layout-text .brand-copy{display:flex}
.projects-section{--projects-title-size:var(--projects-title-size,30px)}
.footer-v4-grid{display:grid;grid-template-columns:minmax(230px,var(--f1)) minmax(120px,var(--f2)) minmax(120px,var(--f3)) minmax(120px,var(--f4)) minmax(120px,var(--f5));gap:34px;align-items:start}.footer-identity-col .footer-logo-wrap{background:#fff;border-radius:14px;padding:12px 18px;width:min(290px,100%);display:flex;justify-content:center;margin-bottom:18px}.footer-identity-col .footer-logo-wrap img{max-height:78px;width:auto;object-fit:contain}.footer-lead{font-size:13px!important;line-height:1.7}.footer-contact{margin-top:14px}.footer-identity-col .ugp-social-icons{margin-top:18px}.footer-col h4,.footer-contact-col h4{text-transform:uppercase;letter-spacing:.04em}.footer-contact-col p{margin:0 0 12px}.footer-contact-btn{display:inline-flex;padding:10px 15px;border:1px solid rgba(255,255,255,.24);border-radius:999px;color:#fff;font-size:12px;font-weight:800}.footer-contact-btn:hover{background:rgba(255,255,255,.1)}.footer-menu{list-style:none;margin:0;padding:0}.footer-menu li{margin:0 0 9px}.footer-menu a{color:rgba(255,255,255,.78)}.footer-menu a:hover{color:#fff}.ugp-empty-admin-note{grid-column:1/-1;padding:22px;border:1px dashed #c8d3e5;border-radius:14px;background:#fff;color:#667085}.ugp-empty-admin-note a{color:#2463e8;font-weight:800}
@media(max-width:1200px){.footer-v4-grid{grid-template-columns:1.5fr repeat(2,1fr);}.footer-contact-col{grid-column:auto}.brand-ma{display:block}}
@media(max-width:850px){.footer-v4-grid{grid-template-columns:1fr 1fr}.brand-copy{max-width:280px}.brand-ma{font-size:9px}}
@media(max-width:560px){.footer-v4-grid{grid-template-columns:1fr}.brand-layout-horizontal .brand-copy{max-width:190px}.brand-ma{display:none}}


/* V4.7 — Home Builder typography controls */
.ugp-block-title-sized .section-title{font-size:var(--block-title-desktop,38px)!important}
.simast-section .ai-banner h3{font-size:var(--simast-title-desktop,32px)!important}
@media(max-width:900px){.ugp-block-title-sized .section-title{font-size:var(--block-title-tablet,34px)!important}.simast-section .ai-banner h3{font-size:var(--simast-title-tablet,30px)!important}}
@media(max-width:600px){.ugp-block-title-sized .section-title{font-size:var(--block-title-mobile,30px)!important}.simast-section .ai-banner h3{font-size:var(--simast-title-mobile,27px)!important}}

/* V4.7 — Stable map interactions */
.zone-pill{width:100%;text-align:left;border:1px solid var(--line);background:#fff;cursor:pointer;font:inherit}
.zone-pill.is-selected{border-color:var(--blue);box-shadow:0 0 0 3px rgba(36,99,232,.09)}
.map-no-active{padding:14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:12px}

/* V4.7 — Five-column V4 footer, no duplicated legacy identity */
.footer-v4-grid{grid-template-columns:minmax(250px,var(--f1)) minmax(130px,var(--f2)) minmax(130px,var(--f3)) minmax(130px,var(--f4)) minmax(130px,var(--f5))}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.12);margin-top:38px;padding-top:18px}
@media(max-width:1200px){.footer-v4-grid{grid-template-columns:1.45fr repeat(2,1fr);}.footer-contact-col{grid-column:auto}}
@media(max-width:850px){.footer-v4-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.footer-v4-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-bottom:6px}}


/* V4.8 — Footer/map audit fixes */
.footer-v4-grid{
  grid-template-columns:minmax(250px,var(--f1)) minmax(130px,var(--f2)) minmax(130px,var(--f3)) minmax(130px,var(--f4)) minmax(130px,var(--f5));
}
.footer-v4-grid > *{min-width:0}
.footer-identity-col .ugp-social-icons{margin-top:22px}
.footer-bottom{margin-top:34px}
@media(max-width:1200px){
  .footer-v4-grid{grid-template-columns:1.45fr 1fr 1fr}
}
@media(max-width:850px){
  .footer-v4-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .footer-v4-grid{grid-template-columns:1fr}
}


/* V4.9 — deterministic 5-column footer */
.footer-v4-grid{
  display:grid;
  grid-template-columns:minmax(260px,32fr) minmax(130px,17fr) minmax(130px,17fr) minmax(130px,17fr) minmax(130px,17fr);
  gap:42px;
  align-items:start;
}
.footer-v4-grid .footer-col,
.footer-v4-grid .footer-identity-col{min-width:0}
.footer-identity-col .ugp-social-icons{margin-top:22px}
@media(max-width:1200px){
  .footer-v4-grid{grid-template-columns:1.5fr 1fr 1fr;gap:34px}
}
@media(max-width:820px){
  .footer-v4-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .footer-v4-grid{grid-template-columns:1fr}
}


/* ===== V4.11 Hero buttons ===== */
.btn-outline{border-color:rgba(255,255,255,.72);color:#fff;background:transparent}
.btn-outline:hover{background:rgba(255,255,255,.12)}

/* ===== V4.11 Projects card appearance controls ===== */
.projects-section .projects-showcase{
  grid-template-columns:minmax(0,var(--project-feature-width,54%)) minmax(0,1fr);
  gap:var(--project-gap,18px);
}
.projects-section .project-feature{
  min-height:var(--project-feature-height,400px);
  border-radius:var(--project-radius,20px);
}
.projects-section .project-feature-content{
  left:var(--project-padding,20px);
  right:var(--project-padding,20px);
  bottom:var(--project-padding,20px);
}
.projects-section .project-feature-overlay{
  background:linear-gradient(180deg,rgba(4,14,45,.08) 15%,rgba(4,14,45,var(--project-overlay,.88)) 92%);
}
.projects-section .project-feature h3{font-size:var(--project-feature-title,32px)}
.projects-section .project-feature p,
.projects-section .project-card p{font-size:var(--project-description-size,12px)}
.projects-section .project-cards{gap:var(--project-gap,18px)}
.projects-section .project-card{
  min-height:var(--project-small-height,190px);
  border-radius:var(--project-radius,20px);
  padding:var(--project-padding,20px);
}
.projects-section .project-card h3{font-size:var(--project-small-title,22px)}
.projects-section .project-card-overlay{
  background:linear-gradient(180deg,rgba(7,20,61,.14),rgba(7,20,61,var(--project-overlay,.88)));
}
@media(max-width:900px){
  .projects-section .projects-showcase{grid-template-columns:1fr}
  .projects-section .project-feature{min-height:var(--project-feature-height-tablet,370px)}
  .projects-section .project-card{min-height:var(--project-small-height-tablet,185px)}
}
@media(max-width:600px){
  .projects-section .project-feature{min-height:var(--project-feature-height-mobile,340px)}
  .projects-section .project-card{min-height:var(--project-small-height-mobile,180px)}
}

/* ===== V4.11 Tableau Public dashboard block ===== */
.tableau-section{background:linear-gradient(180deg,#f7f9fc 0%,#fff 100%)}
.tableau-shell{display:grid;gap:18px;min-width:0;width:100%}
.tableau-controls{display:flex;gap:14px;flex-wrap:wrap;padding:16px;border:1px solid var(--line);background:#fff;border-radius:16px;min-width:0}
.tableau-controls label{display:grid;gap:6px;min-width:220px;flex:1}
.tableau-controls label span{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:850;color:#667085}
.tableau-controls select{width:100%;min-width:0;min-height:42px;border:1px solid #dfe5ef;border-radius:10px;background:#fff;padding:8px 12px;color:#102044}
.tableau-view-card{width:100%;min-width:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 14px 38px rgba(9,31,77,.08)}
.tableau-view-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}
.tableau-view-head>div{display:grid;gap:3px}.tableau-view-kicker{font-size:9px;font-weight:900;letter-spacing:.12em;color:#2463e8}
.tableau-current-title{font-size:15px;color:#07143d}.tableau-current-period{font-size:11px;color:#6b7488}
.tableau-frame-wrap{
  position:relative;width:100%;max-width:100%;min-width:0;
  min-height:var(--tableau-height-current,var(--tableau-height-desktop,760px));
  height:var(--tableau-height-current,var(--tableau-height-desktop,760px));
  background:#fff;overflow:hidden;
}
tableau-viz.tableau-viz{
  display:block!important;width:100%!important;max-width:100%!important;
  height:100%!important;min-height:100%!important;border:0;background:#fff;
}
.tableau-embed-error{height:100%;min-height:420px;display:grid;place-content:center;text-align:center;gap:6px;padding:30px;color:#647189}
.tableau-embed-error strong{color:#07143d}
.tableau-empty{padding:40px;border:1px dashed #cbd5e5;border-radius:20px;background:#fff;display:grid;gap:6px;color:#647189}
.tableau-empty strong{color:#07143d}
@media(max-width:900px){
  .tableau-frame-wrap{height:var(--tableau-height-current,var(--tableau-height-tablet,650px));min-height:var(--tableau-height-current,var(--tableau-height-tablet,650px))}
}
@media(max-width:600px){
  .tableau-controls{display:grid}.tableau-controls label{min-width:0}
  .tableau-view-head{align-items:flex-start;flex-direction:column}
  .tableau-frame-wrap{height:var(--tableau-height-current,var(--tableau-height-mobile,560px));min-height:var(--tableau-height-current,var(--tableau-height-mobile,560px))}
}

/* ===== V4.11 Gallery: Photos / Videos + lightbox ===== */
.gallery-type-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.gallery-type-tabs a{padding:10px 18px;border:1px solid #dfe5ef;border-radius:999px;background:#fff;color:#536078;font-weight:800;font-size:12px}
.gallery-type-tabs a.is-active{background:#2463e8;border-color:#2463e8;color:#fff}
.doc-side a.is-active{color:#1d62d9;font-weight:800}
.gallery-filter-heading{margin-top:16px}
.gallery-page-section .gallery-item span{opacity:1;display:grid;gap:3px}
.gallery-page-section .gallery-item span b{font-size:12px}.gallery-page-section .gallery-item span small{font-size:9px;color:rgba(255,255,255,.78)}
.gallery-play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#174fb7;font-style:normal;box-shadow:0 8px 25px rgba(0,0,0,.18)}
.gallery-media-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#102b70,#07143d);color:#fff;font-size:11px;font-weight:900;letter-spacing:.12em}
.ugp-lightbox[hidden]{display:none}
.ugp-lightbox{position:fixed;inset:0;z-index:10000;background:rgba(3,10,30,.9);display:grid;place-items:center;padding:28px}
.ugp-lightbox-dialog{width:min(1100px,96vw);max-height:90vh;display:grid;gap:12px}
.ugp-lightbox-media{background:#050914;border-radius:16px;overflow:hidden;display:grid;place-items:center;min-height:240px}
.ugp-lightbox-media iframe,.ugp-lightbox-media video{width:min(1100px,96vw);aspect-ratio:16/9;max-height:80vh;border:0;background:#000}
.ugp-lightbox-media img{max-width:min(1100px,96vw);max-height:80vh;object-fit:contain}
.ugp-lightbox-caption{color:#fff;text-align:center;font-weight:800}
.ugp-lightbox-close{position:absolute;right:24px;top:18px;width:44px;height:44px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.08);color:#fff;font-size:28px;cursor:pointer}
body.ugp-lightbox-open{overflow:hidden}

/* =========================================================
   PAGE ACTUALITÉS — ARCHIVE
   ========================================================= */

.news-archive-page {
  background: #fff;
}

.news-archive-hero {
  padding: 72px 0 42px;
  background: #f7f9fc;
  border-bottom: 1px solid #e7ebf2;
}

.news-archive-hero .eyebrow {
  margin-bottom: 12px;
  color: #2463e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.news-archive-hero h1 {
  margin: 0 0 14px;
  color: #07143d;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
}

.news-archive-hero p {
  max-width: 700px;
  margin: 0;
  color: #5d6980;
  font-size: 17px;
  line-height: 1.7;
}

.news-archive-section {
  padding: 56px 0 80px;
}

.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.news-archive-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 20px;
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}

.news-archive-card:hover {
  transform: translateY(-4px);
  border-color: #ced8e9;
  box-shadow: 0 18px 45px rgba(7, 20, 61, .09);
}

.news-archive-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eef2f7;
}

.news-archive-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-archive-card:hover .news-archive-image img {
  transform: scale(1.025);
}

.news-archive-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #8090ab;
  font-weight: 800;
  letter-spacing: .08em;
}

.news-archive-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.news-archive-category {
  margin-bottom: 10px;
  color: #2463e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.news-archive-title {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.28;
}

.news-archive-title a {
  color: #07143d;
  text-decoration: none;
}

.news-archive-title a:hover {
  color: #2463e8;
}

.news-archive-excerpt {
  margin-bottom: 22px;
  color: #5d6980;
  font-size: 15px;
  line-height: 1.65;
}

.news-archive-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #edf0f5;
  color: #8a95a8;
  font-size: 13px;
}


/* Pagination */

.news-pagination {
  margin-top: 56px;
}

.news-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.news-pagination .page-numbers li {
  margin: 0;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #fff;
  color: #07143d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
}

.news-pagination .page-numbers a:hover {
  border-color: #2463e8;
  color: #2463e8;
}

.news-pagination .page-numbers .current {
  border-color: #2463e8;
  background: #2463e8;
  color: #fff;
}

.news-pagination .page-numbers .prev,
.news-pagination .page-numbers .next {
  padding-left: 18px;
  padding-right: 18px;
}


/* Aucun article */

.news-archive-empty {
  padding: 60px 30px;
  border: 1px dashed #ccd5e3;
  border-radius: 20px;
  text-align: center;
}

.news-archive-empty h2 {
  margin-bottom: 8px;
  color: #07143d;
}


/* Tablette */

@media (max-width: 1000px) {

  .news-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .news-archive-hero {
    padding-top: 56px;
  }
}


/* Mobile */

@media (max-width: 640px) {

  .news-archive-hero {
    padding: 42px 0 30px;
  }

  .news-archive-section {
    padding: 36px 0 60px;
  }

  .news-archive-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .news-archive-content {
    padding: 20px;
  }

  .news-archive-title {
    font-size: 19px;
  }

  .news-pagination {
    margin-top: 38px;
  }

  .news-pagination .page-numbers .prev,
  .news-pagination .page-numbers .next {
    width: 100%;
  }
}


/* Hero — garder les 3 boutons sur la même ligne */
@media (min-width: 900px) {

  .hero .actions {
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
  }

  .hero .actions .btn {
    white-space: nowrap;
    padding-left: 18px;
    padding-right: 18px;
  }

}

/* ===== Partners V4.13 — résumé + fenêtre détaillée ===== */
.partner-row.partner-row-detailed{
  align-items:stretch;
}

.partner-card{
  min-height:340px;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  text-align:left;
  overflow:hidden;
}

.partner-card:hover{
  transform:translateY(-4px);
}

.partner-card-logo{
  height:135px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 28px 12px;
}

.partner-card.partner-logo .partner-card-logo img{
  width:auto;
  max-width:82%;
  height:78px;
  object-fit:contain;
}

.partner-card:nth-child(2) .partner-card-logo img{
  height:88px;
}

.partner-card:nth-child(3) .partner-card-logo img{
  height:74px;
}

.partner-card-body{
  display:flex;
  flex:1;
  flex-direction:column;
  align-items:flex-start;
  padding:12px 28px 26px;
}

.partner-card-body h3{
  margin:0 0 8px;
  color:var(--navy);
  font-size:19px;
  line-height:1.25;
  letter-spacing:-.02em;
}

.partner-card-body p{
  margin:0 0 20px;
  color:var(--muted);
  font-size:12.5px;
  line-height:1.65;
}

.partner-more{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:0;
  border-radius:11px;
  background:#eef4ff;
  color:var(--blue);
  padding:10px 14px;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}

.partner-more:hover{
  background:#e2ecff;
  transform:translateX(2px);
}

body.ugp-partner-modal-open{
  overflow:hidden;
}

.ugp-partner-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.ugp-partner-modal[hidden]{
  display:none !important;
}

.ugp-partner-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,20,61,.62);
  backdrop-filter:blur(6px);
}

.ugp-partner-modal-dialog{
  position:relative;
  z-index:1;
  width:min(760px,100%);
  max-height:min(82vh,760px);
  overflow:auto;
  border:1px solid rgba(218,226,239,.95);
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 80px rgba(7,20,61,.28);
}

.ugp-partner-modal-close{
  position:absolute;
  top:16px;
  right:18px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#f3f6fb;
  color:#53617d;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

.ugp-partner-modal-close:hover{
  background:#e9eef7;
  color:var(--navy);
}

.ugp-partner-modal-head{
  display:flex;
  align-items:center;
  gap:22px;
  padding:32px 62px 18px 34px;
}

.ugp-partner-modal-head img{
  width:150px;
  max-height:80px;
  object-fit:contain;
  object-position:left center;
}

.ugp-partner-modal-kicker{
  display:block;
  margin-bottom:5px;
  color:var(--blue);
  font-size:10px;
  font-weight:850;
  letter-spacing:.11em;
}

.ugp-partner-modal-head h3{
  margin:0;
  color:var(--navy);
  font-size:27px;
  line-height:1.2;
}

.ugp-partner-modal-content{
  padding:0 34px 28px;
  color:#53617d;
  font-size:14px;
  line-height:1.75;
}

.ugp-partner-modal-content p{
  margin:0 0 14px;
}

.ugp-partner-modal-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
  padding:18px 34px 24px;
  border-top:1px solid var(--line);
  background:#fbfcfe;
}

.ugp-partner-modal-secondary{
  border-color:#d8e0ec;
  background:#fff;
  color:var(--navy);
  box-shadow:none;
  cursor:pointer;
}

@media(max-width:900px){
  .partner-row.partner-row-detailed{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:600px){
  .partner-row.partner-row-detailed{
    grid-template-columns:1fr;
  }

  .partner-card{
    min-height:300px;
  }

  .ugp-partner-modal{
    padding:14px;
  }

  .ugp-partner-modal-dialog{
    max-height:88vh;
    border-radius:18px;
  }

  .ugp-partner-modal-head{
    display:block;
    padding:28px 54px 16px 24px;
  }

  .ugp-partner-modal-head img{
    width:135px;
    height:64px;
    margin-bottom:12px;
  }

  .ugp-partner-modal-head h3{
    font-size:23px;
  }

  .ugp-partner-modal-content{
    padding:0 24px 22px;
    font-size:13px;
  }

  .ugp-partner-modal-actions{
    align-items:stretch;
    flex-direction:column;
    padding:16px 24px 22px;
  }

  .ugp-partner-modal-actions .btn{
    justify-content:center;
    width:100%;
  }
}

/* ===== Chiffres clés V4.14 — icônes + lecture horizontale ===== */
.stats-wrap{
  position:relative;
  z-index:5;
  margin-top:-44px;
}

.stats.stats-modern{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(222,230,241,.9);
  border-radius:18px;
  box-shadow:0 14px 38px rgba(9,31,77,.10);
}

.stats-modern .stat{
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:18px;
  padding:20px 24px;
  text-align:left;
  color:inherit;
  background:#fff;
  border:0;
  border-right:1px solid #dde6f1;
  box-shadow:none;
  transform:none;
  transition:background .2s ease;
}

.stats-modern .stat:last-child{
  border-right:0;
}

.stats-modern .stat:hover{
  background:#f8fbff;
  box-shadow:none;
  transform:none;
}

.stats-modern .stat-icon{
  flex:0 0 58px;
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#1267d8;
  background:#eef5ff;
  border-radius:50%;
}

.stats-modern .stat-icon svg{
  width:36px;
  height:36px;
  display:block;
  color:inherit;
  fill:currentColor;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.stats-modern .stat-icon svg path[fill="none"]{
  fill:none;
}

.stats-modern .stat-content{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}

.stats-modern .stat strong{
  display:block;
  margin:0 0 5px;
  color:#0a2456;
  font-size:29px;
  line-height:1;
  font-weight:850;
  letter-spacing:-.025em;
}

.stats-modern .stat b{
  display:block;
  margin:0;
  color:#1267d8;
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}

.stats-modern .stat small{
  display:block;
  margin-top:4px;
  color:#7a879d;
  font-size:10px;
  line-height:1.35;
}

@media(max-width:900px){
  .stats.stats-modern{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .stats-modern .stat{
    border-right:1px solid #dde6f1;
    border-bottom:1px solid #dde6f1;
  }
  .stats-modern .stat:nth-child(2n){
    border-right:0;
  }
  .stats-modern .stat:nth-last-child(-n+2){
    border-bottom:0;
  }
}

@media(max-width:600px){
  .stats-wrap{
    margin-top:-28px;
  }
  .stats.stats-modern{
    grid-template-columns:1fr;
    border-radius:16px;
  }
  .stats-modern .stat{
    min-height:auto;
    padding:17px 18px;
    border-right:0;
    border-bottom:1px solid #dde6f1;
  }
  .stats-modern .stat:last-child{
    border-bottom:0;
  }
  .stats-modern .stat-icon{
    flex-basis:48px;
    width:48px;
    height:48px;
  }
  .stats-modern .stat-icon svg{
    width:30px;
    height:30px;
  }
  .stats-modern .stat strong{
    font-size:24px;
  }
  .stats-modern .stat b{
    font-size:13px;
  }
}

/* ===== Accueil V4.15 — hiérarchie typographique uniforme ===== */
/*
 * Convention visuelle :
 * - Surtitres : bleu, capitales, petits et espacés.
 * - Titres de section : casse naturelle, même taille et même rythme partout.
 * - Descriptions : même taille, même couleur et même interlignage.
 * Le Hero, les cartes et les chiffres clés gardent volontairement leur propre hiérarchie.
 */
body.home .section-head{
  align-items:flex-end;
  gap:28px;
  margin-bottom:32px;
}

body.home .section-kicker{
  margin:0 0 10px;
  color:var(--blue);
  font-size:12px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body.home .section-title,
body.home .ugp-block-title-sized .section-title{
  margin:0;
  max-width:980px;
  color:var(--navy);
  font-size:36px !important;
  line-height:1.12;
  font-weight:850;
  letter-spacing:-.035em;
  text-transform:none;
}

body.home .section-head > div > p,
body.home .partners-intro{
  max-width:720px;
  margin:12px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
  font-weight:400;
}

body.home .partners-intro{
  max-width:470px;
}

body.home .section-link{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  color:var(--blue);
  font-size:13px;
  line-height:1.3;
  font-weight:800;
  white-space:nowrap;
}

body.home .section-link:hover{
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Même respiration entre les grandes sections de l'accueil. */
body.home .section{
  padding-top:72px;
  padding-bottom:72px;
}

/* Le bloc SIMAST reste un CTA distinct, mais reprend le même rythme typographique. */
body.home .simast-section .ai-banner .eyebrow{
  margin-bottom:9px;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.12em;
  text-transform:uppercase;
}

body.home .simast-section .ai-banner h3{
  font-size:32px !important;
  line-height:1.15;
  letter-spacing:-.03em;
}

body.home .simast-section .ai-banner p{
  font-size:14px;
  line-height:1.65;
}

@media(max-width:900px){
  body.home .section-head{
    align-items:flex-start;
    margin-bottom:28px;
  }

  body.home .section-title,
  body.home .ugp-block-title-sized .section-title{
    font-size:32px !important;
  }

  body.home .section{
    padding-top:64px;
    padding-bottom:64px;
  }
}

@media(max-width:600px){
  body.home .section-head{
    gap:16px;
    margin-bottom:24px;
  }

  body.home .section-kicker{
    font-size:11px;
  }

  body.home .section-title,
  body.home .ugp-block-title-sized .section-title{
    font-size:27px !important;
    line-height:1.16;
  }

  body.home .section-head > div > p,
  body.home .partners-intro{
    margin-top:10px;
    max-width:none;
    font-size:14px;
  }

  body.home .section-link{
    font-size:12px;
  }

  body.home .section{
    padding-top:54px;
    padding-bottom:54px;
  }

  body.home .simast-section .ai-banner h3{
    font-size:27px !important;
  }
}

/* ===== Accueil V4.16 — Bloc Image pleine largeur / Flyer ===== */
body.home .ugp-custom-fullimage{
  overflow:hidden;
}

body.home .ugp-custom-fullimage .container{
  display:block;
}

body.home .ugp-custom-fullimage .section-kicker,
body.home .ugp-custom-fullimage .section-title,
body.home .ugp-custom-fullimage .ugp-fullimage-intro{
  max-width:980px;
}

body.home .ugp-custom-fullimage .ugp-fullimage-intro{
  margin-top:12px;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
}

body.home .ugp-fullimage-frame{
  width:100%;
  margin:26px auto 0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 16px 42px rgba(9,31,77,.09);
}

body.home .ugp-fullimage-frame img{
  display:block;
  width:100%;
  max-width:none;
  height:auto;
  margin:0 auto;
  object-fit:contain;
}

body.home .ugp-fullimage-action{
  display:flex;
  justify-content:center;
  margin-top:22px;
}

@media(max-width:900px){
  body.home .ugp-fullimage-frame{
    margin-top:22px;
    border-radius:16px;
  }
}

@media(max-width:600px){
  body.home .ugp-custom-fullimage{
    padding-top:44px;
    padding-bottom:44px;
  }

  body.home .ugp-fullimage-frame{
    margin-top:18px;
    border-radius:12px;
    box-shadow:0 10px 28px rgba(9,31,77,.08);
  }

  body.home .ugp-custom-fullimage .ugp-fullimage-intro{
    font-size:14px;
  }
}

