/* Centro Paramédico del Cayo — V2.5 : navigation globale & informations */
/* Même barre de navigation vitrée que la page d'accueil, sur toutes les pages */
body:not(.page-accueil) .top-rail{display:none!important}
body:not(.page-accueil) .site-frame{position:relative}
body:not(.page-accueil) .site-header{height:90px;position:absolute;top:0;left:0;right:0;z-index:100;background:linear-gradient(180deg,rgba(7,7,11,.70),rgba(11,8,13,.34));border-bottom:1px solid rgba(255,255,255,.14);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:none}
body:not(.page-accueil) .site-header.is-scrolled{background:rgba(11,7,12,.70);box-shadow:0 8px 28px rgba(0,0,0,.2)}
body:not(.page-accueil) .subhero{height:530px;padding-top:85px}
body:not(.page-accueil) .mdt-banner,body:not(.page-accueil) .lock-screen{padding-top:170px}
body:not(.page-accueil) .site-header .main-nav{background:transparent}
/* Accueil : seule modification demandée, nouvelle photographie */
body.page-accueil .landing-photo-a{background-image:url('/img/accueil-ems-nuit.png')!important;background-position:center 47%!important}
@media(max-width:1040px){body:not(.page-accueil) .site-header{height:76px}body:not(.page-accueil) .site-header .main-nav{top:76px;background:rgba(13,9,14,.96)}}
@media(max-width:760px){body:not(.page-accueil) .site-header{height:68px}body:not(.page-accueil) .site-header .main-nav{top:68px}body:not(.page-accueil) .subhero{padding-top:70px}body.page-accueil .landing-photo-a{background-position:55% center!important}}
/* Informations : dark glass / burgundy art direction */
.ems-info{background:#0c090e;color:#f6f0f1;overflow:hidden}
.ems-info .container{max-width:1420px}
.ems-info-hero{min-height:730px;min-height:min(820px,95svh);position:relative;isolation:isolate;display:flex;align-items:center;padding:155px 0 90px;background:#120b11}
.ems-info-hero-image{position:absolute;inset:0;z-index:-2;background:url('/img/accueil-ems-nuit.png') center 43%/cover no-repeat;filter:blur(2px) saturate(.75);transform:scale(1.025)}
.ems-info-hero-tint{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(11,6,12,.96) 0%,rgba(13,7,13,.88) 35%,rgba(14,7,12,.58) 70%,rgba(13,7,12,.45) 100%),linear-gradient(0deg,#0c090e,transparent 55%,rgba(9,5,11,.2))}
.ems-info-hero-content{position:relative}
.ems-info-eyebrow{display:flex;align-items:center;gap:13px;font-size:10px;font-weight:800;letter-spacing:.22em;color:#d9bfc5;line-height:1.6}
.ems-info-eyebrow i{width:29px;height:2px;background:#bb1939;display:inline-block;flex:none}.ems-info-eyebrow span{color:#bd2445}
.ems-info-overline{margin:40px 0 10px;font-weight:800;letter-spacing:.4em;font-size:11px}
.ems-info-hero h1,.ems-info-section h2{font:800 clamp(64px,8.4vw,140px)/.9 var(--font-display);letter-spacing:-.012em;margin:0;text-transform:uppercase}
.ems-info h1 em,.ems-info h2 em,.ems-info h3 em{font-style:normal;color:#c42041}
.ems-info-lead{max-width:575px;font-size:15px;line-height:1.95;color:#d4c9ce;margin:34px 0 42px}
.ems-info-anchor-nav{display:flex;flex-wrap:wrap;gap:9px;max-width:900px}
.ems-info-anchor-nav a{display:flex;gap:20px;align-items:center;justify-content:space-between;background:rgba(23,14,21,.60);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(12px);padding:16px 18px;font-size:9px;font-weight:800;letter-spacing:.10em;min-height:49px;transition:background .2s,border-color .2s}
.ems-info-anchor-nav a span{color:#e04963;font-size:16px}.ems-info-anchor-nav a:hover{background:rgba(126,13,36,.3);border-color:#b72a46}
.ems-info-section{padding:115px 0;border-top:1px solid rgba(255,255,255,.07);scroll-margin-top:20px;position:relative}
.ems-info-section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:62px}
.ems-info-section h2{font-size:clamp(60px,6.3vw,105px);margin-top:22px}
.ems-info-section-head>p{width:min(100%,340px);color:#a99ba2;font-size:13px;line-height:1.8;margin:0 0 8px}
.ems-info-chart{background:radial-gradient(ellipse at 50% 25%,#37101f 0%,#140b11 37%,#0c090e 80%)}
.ems-info-org{position:relative;max-width:1050px;margin:auto}.ems-info-org-top{display:flex;justify-content:center}.ems-info-org-top .ems-person{width:min(100%,430px)}
.ems-org-connector{height:84px;width:1px;background:linear-gradient(#a82443,#572034);margin:auto;position:relative}.ems-org-connector:after{content:'';position:absolute;bottom:0;left:-260px;width:520px;max-width:calc(100vw - 100px);height:1px;background:linear-gradient(90deg,transparent,#a82443,transparent)}
.ems-info-org-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ems-person{min-width:0;display:grid;grid-template-columns:42% 1fr;min-height:275px;border:1px solid rgba(225,90,119,.25);background:linear-gradient(125deg,rgba(77,19,38,.64),rgba(21,13,20,.86) 52%,rgba(18,12,19,.82));box-shadow:0 18px 70px #0005;overflow:hidden;position:relative;backdrop-filter:blur(12px)}
.ems-person:after{content:'';position:absolute;top:0;left:0;width:48px;height:2px;background:#c92447}
.ems-person-portrait{min-width:0;min-height:275px;background:linear-gradient(145deg,#2a1824,#120e17);border-right:1px solid rgba(255,255,255,.08)}
.portrait-placeholder{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:radial-gradient(circle at 50% 40%,rgba(139,31,60,.22),transparent 57%);color:#8b6b79}
.portrait-placeholder .icon{width:65px;height:65px;stroke-width:.9;opacity:.8}
.portrait-placeholder small{font-size:9px;letter-spacing:.13em;font-weight:800;text-align:center}
.ems-person-body{display:flex;flex-direction:column;padding:30px 22px 24px;min-width:0}
.ems-person-level,.ems-info-note-number{font-size:9px;font-weight:800;letter-spacing:.17em;color:#dc6b85}
.ems-person h3{font:800 clamp(31px,3vw,51px)/.95 var(--font-display);text-transform:uppercase;margin:auto 0 11px;overflow-wrap:anywhere}
.ems-person-body>p{font-size:12px;color:#cec0c6;margin:0 0 26px}.ems-person-bottom{border-top:1px solid #ffffff26;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.ems-person-bottom span{font-size:9px;letter-spacing:.13em;color:#bca3ae;font-weight:800}.ems-person-bottom strong{font:800 34px/.9 var(--font-display);color:#fff}
.ems-info-supervision{background:#100c12}.ems-info-super-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.ems-info-super-grid .ems-person{min-height:295px}
.ems-info-note{min-height:295px;padding:36px;position:relative;background:linear-gradient(140deg,rgba(100,20,42,.28),rgba(23,12,19,.7));border:1px solid rgba(225,90,119,.2);overflow:hidden}
.ems-info-note h3{font:800 clamp(36px,3.5vw,61px)/.98 var(--font-display);margin:38px 0 18px}.ems-info-note p{max-width:420px;font-size:13px;line-height:1.85;color:#bca8b1}.ems-info-cross{position:absolute;font-size:130px;right:-12px;bottom:-43px;color:#79213a33}
.ems-info-work{background:#0c090e}.ems-info-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ems-info-features article{min-height:330px;padding:37px;background:linear-gradient(160deg,#24121e,#140e15);border:1px solid #76304b55}.ems-info-features article>span{display:block;font-size:9px;letter-spacing:.18em;color:#d67e92;font-weight:800}.ems-info-features .icon{height:42px;width:42px;color:#d33251;margin:45px 0 25px}.ems-info-features h3{font:800 38px/1 var(--font-display);margin:0 0 15px}.ems-info-features p{color:#bcaab2;line-height:1.9;font-size:13px;max-width:330px}
.ems-info-join{background:linear-gradient(125deg,#210c19,#100b11)}.ems-info-split{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:start}.ems-info-split>div>p{color:#bbaab1;line-height:1.9;font-size:14px;max-width:530px;margin:30px 0}.ems-info-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:38px;background:#a51332;padding:20px 24px;font-size:10px;font-weight:800;letter-spacing:.1em;margin-top:13px}.ems-info-cta:hover{background:#ce2449}.ems-info-cta span{font-size:19px}.ems-info-checklist{padding:36px;background:rgba(14,10,16,.55);border:1px solid #ffffff26;backdrop-filter:blur(10px)}.ems-info-checklist h3{font-size:11px;letter-spacing:.15em;color:#fff;margin:0 0 25px}.ems-info-checklist>div{border-top:1px solid #ffffff20;padding:17px 0;font-size:12px;color:#e1d6da;display:flex;gap:22px;align-items:baseline}.ems-info-checklist>div span{color:#d24864;font-weight:800}.ems-info-checklist>p{color:#a99ca4;font-size:11px;line-height:1.9;margin:25px 0 0}
.ems-info-appointments{background:#0b080d}.ems-info-appointment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ems-info-appointment-grid>a{display:flex;flex-direction:column;min-height:340px;padding:40px;background:linear-gradient(130deg,#331325,#140b13 70%);border:1px solid #ffffff24;transition:transform .2s,border-color .2s}.ems-info-appointment-grid>a:hover{transform:translateY(-4px);border-color:#d32b50}.ems-info-card-number{font-size:10px;letter-spacing:.15em;color:#d57b91;font-weight:800}.ems-info-appointment-grid .icon{width:43px;height:43px;color:#dd3155;margin:22px 0}.ems-info-appointment-grid h3{font:800 clamp(46px,5vw,75px)/.87 var(--font-display);margin:0}.ems-info-appointment-grid p{font-size:13px;color:#cab8c0;line-height:1.75;max-width:400px;margin:22px 0}.ems-info-appointment-grid b{font-size:10px;color:#fff;letter-spacing:.12em;margin-top:auto}
.ems-info-rules{background:linear-gradient(125deg,#160b13,#0c090e)}.ems-info-coming{border:1px dashed #824158a1;padding:48px;background:#2a10201c;display:flex;flex-direction:column;align-items:flex-start;gap:17px}.ems-info-coming .icon{color:#d03756;height:44px;width:44px}.ems-info-coming span{font-size:10px;letter-spacing:.2em;color:#cb6f86}.ems-info-coming strong{font:800 41px/1 var(--font-display)}.ems-info-coming p{color:#ae9ca6;line-height:1.8;max-width:390px}
@media(max-width:1040px){.ems-info-hero{min-height:700px}.ems-info-org-row{gap:15px}.ems-person{grid-template-columns:39% 1fr}.ems-person-body{padding:24px 15px}.ems-info-split{gap:5%}}
@media(max-width:760px){.ems-info-hero{min-height:670px;padding:125px 0 72px}.ems-info-overline{margin-top:27px}.ems-info-hero h1{font-size:clamp(60px,13vw,93px);overflow-wrap:anywhere}.ems-info-lead{font-size:13px;margin:25px 0}.ems-info-anchor-nav{display:grid;grid-template-columns:1fr 1fr}.ems-info-anchor-nav a{font-size:8px;padding:11px;gap:7px;min-height:53px}.ems-info-eyebrow{font-size:8px;gap:8px;letter-spacing:.11em}.ems-info-section{padding:73px 0}.ems-info-section-head{display:block;margin-bottom:35px}.ems-info-section-head>p{margin-top:20px}.ems-info-section h2{font-size:clamp(54px,10vw,82px)}.ems-info-org-row,.ems-info-super-grid,.ems-info-features,.ems-info-split,.ems-info-appointment-grid{grid-template-columns:1fr}.ems-info-org-top .ems-person{width:100%}.ems-org-connector{height:45px}.ems-org-connector:after{display:none}.ems-person{grid-template-columns:40% 1fr;min-height:230px}.ems-person-portrait{min-height:230px}.ems-person h3{font-size:clamp(32px,8vw,53px)}.ems-info-note{min-height:260px}.ems-info-features article{min-height:260px;padding:28px}.ems-info-features .icon{margin:30px 0 20px}.ems-info-checklist{padding:22px}.ems-info-appointment-grid>a{min-height:300px;padding:26px}.ems-info-coming{padding:28px}}
@media(max-width:390px){.ems-info-anchor-nav{grid-template-columns:1fr}.ems-person h3{font-size:31px}.ems-person-body{padding:20px 12px}}
@media(prefers-reduced-motion:reduce){.ems-info-appointment-grid>a{transition:none}}

/* V2.6 : photo de jour exclusivement sur la page Informations */
.ems-info-hero-image{background-image:url('/img/informations-ems-jour.webp');background-position:center 42%;filter:blur(1.2px) saturate(.85);transform:scale(1.015)}
.ems-info-hero-tint{background:linear-gradient(90deg,rgba(8,5,10,.89) 0%,rgba(14,7,13,.74) 34%,rgba(12,7,12,.24) 72%,rgba(12,7,12,.17) 100%),linear-gradient(0deg,#0c090e 0%,transparent 38%,rgba(9,5,11,.10) 100%)}
.ems-info-hero{min-height:min(820px,95svh)}
.ems-info-lead{margin-bottom:0}
/* Organigramme : direction 01 + 02 sur la même ligne, Deputy Chief 03 dessous */
.ems-hierarchy{width:min(100%,1120px);margin-inline:auto}
.ems-hierarchy-tier{display:grid;gap:22px;justify-content:center}
.ems-hierarchy-leaders{grid-template-columns:repeat(2,minmax(0,1fr))}
.ems-hierarchy-deputy{grid-template-columns:minmax(0,530px)}
.ems-hierarchy-branch{height:86px;width:1px;margin:0 auto;background:linear-gradient(#a82443,#572034);position:relative}
.ems-hierarchy-branch::before{content:"";position:absolute;top:0;left:50%;width:min(500px,65vw);height:1px;transform:translateX(-50%);background:linear-gradient(90deg,transparent,#a82443,transparent)}
.ems-hierarchy .ems-person{min-height:290px}
.ems-hierarchy .ems-person-portrait{min-height:290px}
.ems-hierarchy .ems-person h3{font-size:clamp(30px,3.2vw,48px)}
@media(max-width:760px){.ems-info-hero-image{background-position:56% center}.ems-hierarchy-leaders,.ems-hierarchy-deputy{grid-template-columns:1fr}.ems-hierarchy-branch{height:42px}.ems-hierarchy-branch::before{display:none}.ems-hierarchy .ems-person,.ems-hierarchy .ems-person-portrait{min-height:225px}}

/* V2.7 – portraits officiels de la direction (01 & 02) */
.ems-person-portrait{position:relative;overflow:hidden;}
.ems-person-photo{width:100%;height:100%;min-height:inherit;display:block;object-fit:cover;object-position:center 32%;filter:saturate(.92) contrast(1.03);}
.ems-hierarchy-leaders .ems-person:first-child .ems-person-photo{object-position:center 29%;}
.ems-hierarchy-leaders .ems-person:nth-child(2) .ems-person-photo{object-position:center 31%;}
