@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Uncial+Antiqua&display=swap');
:root{--bg:#03111d;--panel:#061827;--red:#078dff;--pink:#73d9ff;--text:#f3f8ff;--muted:#b6c9d9}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 0,#0a3153,#03111d 45%,#020b14);color:var(--text);font-family:Inter,system-ui,sans-serif;min-height:100vh}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.site-header{position:relative;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:130px;padding:16px clamp(20px,6vw,88px);background:linear-gradient(100deg,#03111df5,#061a2bf2);border-bottom:1px solid #078dffaa;box-shadow:0 8px 28px #0007}.brand{display:flex;align-items:center;gap:16px;flex-shrink:0}.brand-mark{width:105px;height:105px;object-fit:cover;border:2px solid var(--red);border-radius:50%;padding:3px;box-shadow:0 0 18px #078dff44}.brand-name{font-family:'Uncial Antiqua',Georgia,serif;font-size:clamp(27px,3vw,48px);color:#078dff;white-space:nowrap}.brand-name small{font:700 10px Inter,sans-serif;letter-spacing:.2em;display:block}.main-nav{display:flex;justify-content:flex-end;gap:clamp(8px,2vw,32px);flex:1}.main-nav a{min-width:60px;display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 2px;color:#a8dfff;font-size:14px;white-space:nowrap}.main-nav a span{font-size:25px;color:#078dff}.main-nav a:hover,.main-nav a.active,.main-nav a:hover span{color:#39bdff}.menu-toggle{display:none;background:none;color:var(--pink);border:1px solid #17628f;border-radius:8px;padding:8px 12px;font-size:22px}.hero{position:relative;min-height:580px;height:min(61vw,710px);overflow:hidden;border-bottom:1px solid #078dffaa;background:#061827 var(--hero-image) center 48%/cover no-repeat;display:flex;align-items:center}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#03111dd9 0%,#04182799 30%,#06182714 75%),linear-gradient(0deg,#08070d50,transparent 45%)}.hero-content{position:relative;width:min(620px,65%);margin-left:clamp(30px,10.5vw,165px);padding:40px 0}.eyebrow{font-size:12px;letter-spacing:.5em;font-weight:600;color:#eaf6ff;margin:0 0 12px}.hero h1,.page-title{font-family:'Uncial Antiqua',Georgia,serif;font-weight:400;color:#078dff;text-shadow:0 5px 28px #064b87}.hero h1{font-size:clamp(54px,7vw,100px);line-height:1.1;margin:0 0 18px}.hero-subtitle{font-size:17px;margin:0 0 18px}.ornament{height:12px;display:flex;align-items:center;width:min(400px,80%);margin:14px 0 32px}.ornament span{height:1px;background:linear-gradient(90deg,transparent,var(--red));flex:1}.ornament i{width:13px;height:13px;border:3px solid var(--red);transform:rotate(45deg);margin:0 8px}.hero-actions{display:flex;gap:18px;flex-wrap:wrap}.button{border:1px solid var(--red);border-radius:999px;padding:13px 25px;display:inline-flex;align-items:center;justify-content:center;font-weight:600;font-size:13px;cursor:pointer;color:#fff}.button-primary{background:linear-gradient(135deg,#078dff,#075eea);box-shadow:inset 0 1px #078dff66,0 5px 20px #078dff30}.button-glass{background:#061827d9;color:#d9efff;border-color:#087ff5}.button:hover{filter:brightness(1.12);transform:translateY(-1px)}.hero-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:44px;height:48px;border:1px solid var(--red);border-radius:9px;background:#061827aa;color:var(--red);font-size:32px;cursor:pointer}.hero-arrow.prev{left:2%}.hero-arrow.next{right:2%}.section-shell{width:min(1280px,calc(100% - 48px));margin:30px auto}.upcoming{padding:18px 24px;background:linear-gradient(110deg,#061827,#03111d);border:1px solid #076bd6;border-radius:14px}.section-heading{display:flex;align-items:center;gap:18px;min-height:48px}.calendar-icon{font-size:29px;color:var(--red)}.section-heading h2{font-size:19px;color:#a8dfff;margin:0}.heading-line{height:1px;background:linear-gradient(90deg,var(--red),transparent);width:130px}.text-link{margin-left:auto;color:#e5c4e6;border:1px solid #078dff;border-radius:999px;padding:10px 18px;font-size:13px;white-space:nowrap}.live-preview{padding:8px 0 0 48px}.live-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #382037}.live-row span{color:#a8dfff;font-size:13px;white-space:nowrap}.muted{color:var(--muted)}.intro{text-align:center;padding:60px 0 45px}.intro h2,.panel h2{font-size:27px;margin:8px 0 12px}.intro>p:not(.eyebrow){max-width:650px;margin:auto;color:var(--muted);line-height:1.8}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px;text-align:left}.feature-card,.panel{background:linear-gradient(145deg,#071d30,#03111d);border:1px solid #164b70;border-radius:14px;padding:25px;box-shadow:0 10px 30px #0002}.feature-card>span{color:var(--red);font-size:28px}.feature-card h3{margin:12px 0 8px}.feature-card p,.live-panel p{color:var(--muted);line-height:1.7;font-size:14px}.feature-card a{color:#078dff;font-size:14px}.site-footer{border-top:1px solid #0a263b;padding:24px clamp(24px,6vw,90px);display:flex;justify-content:space-between;gap:18px;color:#b6c9d9;font-size:13px;background:#03111d}.page-main{width:min(1080px,calc(100% - 40px));margin:65px auto 90px;min-height:50vh}.page-title{font-size:clamp(40px,6vw,68px);margin:10px 0}.page-title span{color:#a8dfff}.page-lead{color:var(--muted);line-height:1.7;margin-bottom:34px}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.gallery-item{margin:0;border:1px solid #0a263b;border-radius:12px;overflow:hidden;background:#03111d}.gallery-item img{width:100%;height:250px;object-fit:cover;display:block}.gallery-item figcaption{padding:12px;color:#a8dfff}.live-status{display:flex;align-items:center;gap:10px;color:#a8dfff}.status-dot{width:9px;height:9px;border-radius:50%;background:#078dff;box-shadow:0 0 10px #078dff}.member-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid #382037}.member-row h2{font-size:18px;margin:0 0 5px}.member-row p{margin:0}.member-avatar{width:58px;height:58px;border-radius:50%;border:1px solid var(--red);padding:3px;object-fit:cover}.role-pill{margin-left:auto;border:1px solid #078dff;color:#73d9ff;border-radius:999px;padding:7px 12px;font-size:12px}.auth-wrap{min-height:68vh;display:grid;place-items:center;padding:55px 20px}.auth-card{width:min(440px,100%);padding:35px;background:linear-gradient(145deg,#08233a,#03111d);border:1px solid #078dff;border-radius:18px;box-shadow:0 20px 70px #0006}.auth-logo{display:block;width:76px;height:76px;object-fit:cover;border-radius:50%;margin:0 auto 20px}.auth-card .eyebrow{text-align:center;font-size:10px;letter-spacing:.28em}.auth-card h1{text-align:center;font-family:'Uncial Antiqua',Georgia,serif;color:#078dff;font-weight:400;font-size:32px;margin:8px 0 28px}.auth-card label,.admin-form label{display:block;color:#a8dfff;font-size:13px;margin:16px 0 8px}.auth-card input,.admin-form input,.admin-form select{width:100%;background:#03111d;border:1px solid #0a263b;border-radius:8px;color:#fff;padding:12px 13px;outline:none}.auth-card input:focus,.admin-form input:focus,.admin-form select:focus{border-color:var(--red)}.full-width{width:100%;margin-top:22px}.auth-switch{text-align:center;font-size:13px;color:var(--muted);margin-top:20px}.auth-switch a{color:#159cff}.error{background:#061827;border:1px solid #078dff;color:#a8dfff;padding:12px;border-radius:8px}.flash{margin:15px 0;background:#16251b;border:1px solid #3d965a;color:#b9f4c6;padding:12px;border-radius:8px}.admin-body{background:#03111d}.admin-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 28px;border-bottom:1px solid #0a263b;background:#03111d}.admin-top .brand-mark{width:54px;height:54px}.admin-top .brand-name{font-size:28px}.admin-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 80px)}.admin-sidebar{padding:28px 16px;border-right:1px solid #0a263b;background:#041522}.admin-sidebar .eyebrow{font-size:10px;letter-spacing:.2em;padding-left:12px}.admin-sidebar a{display:block;padding:13px 14px;border-radius:8px;color:#a8dfff;margin:5px 0}.admin-sidebar a:hover,.admin-sidebar a.selected{background:#061827;color:#1597ff}.admin-content{padding:30px;min-width:0}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.admin-stats a{padding:24px;background:#071d30;border:1px solid #0a263b;border-radius:12px;display:flex;flex-direction:column;gap:8px}.admin-stats strong{font-size:32px;color:#078dff}.admin-stats span{color:#a8dfff}.admin-form{display:grid;gap:10px}.admin-form label{margin:4px 0 8px}.admin-form input[type=file]{padding:10px}.admin-form .button{justify-self:start;margin-top:8px}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-actions{display:flex;gap:12px;flex-wrap:wrap}.admin-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.admin-image{background:#071d30;border:1px solid #164b70;padding:12px;border-radius:10px;min-width:0}.admin-image img{width:100%;height:150px;object-fit:cover;border-radius:6px}.admin-image p{overflow-wrap:anywhere}.danger{background:#06345a;border-color:#075eea;color:#bde8ff;padding:9px 15px}.notice{font-size:12px;line-height:1.6;color:#b6c9d9;background:#061827;border-left:2px solid #078dff;padding:10px 12px}.admin-content .page-title{font-size:clamp(32px,4vw,54px)}
@media(max-width:1050px){.site-header{min-height:100px;padding:14px 24px}.brand-mark{width:72px;height:72px}.brand-name{font-size:32px}.main-nav{gap:10px}.main-nav a{font-size:12px;min-width:52px}.main-nav a span{font-size:21px}.hero{height:590px}.hero-content{margin-left:9%;width:65%}}
@media(max-width:760px){.site-header{min-height:82px;padding:12px 16px}.brand{gap:10px}.brand-mark{width:55px;height:55px}.brand-name{font-size:26px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#03111d;border-bottom:1px solid var(--red);padding:12px;grid-template-columns:repeat(3,1fr);gap:4px}.main-nav.open{display:grid}.main-nav a{padding:10px 4px;font-size:12px}.hero{height:590px;min-height:520px;background-position:55% center}.hero-shade{background:linear-gradient(90deg,#03111ddb,#04182755 80%)}.hero-content{width:80%;margin-left:8%}.hero h1{font-size:55px}.hero-subtitle{font-size:14px}.hero-arrow{width:32px;height:38px;font-size:25px}.hero-arrow.prev{left:8px}.hero-arrow.next{right:8px}.button{padding:12px 17px;font-size:12px}.section-shell{width:calc(100% - 24px);margin:18px auto}.upcoming{padding:14px}.section-heading{gap:9px;flex-wrap:wrap}.section-heading h2{font-size:16px}.heading-line{display:none}.text-link{padding:8px 10px;font-size:11px}.live-preview{padding-left:0}.feature-grid,.gallery-grid,.admin-gallery{grid-template-columns:1fr}.page-main{margin:42px auto 60px}.site-footer{flex-direction:column;text-align:center}.auth-card{padding:26px 20px}.admin-top{flex-wrap:wrap;padding:12px}.admin-layout{grid-template-columns:1fr}.admin-sidebar{border-right:0;border-bottom:1px solid #0a263b;display:flex;flex-wrap:wrap;gap:5px;padding:10px}.admin-sidebar .eyebrow{width:100%}.admin-sidebar a{padding:9px 10px;font-size:12px}.admin-content{padding:18px 14px}.admin-stats{grid-template-columns:1fr}.form-two{grid-template-columns:1fr}.live-row{align-items:flex-start;flex-direction:column}.admin-image img{height:220px}}

/* Champs de modération */
.admin-form textarea{width:100%;min-height:90px;padding:12px 14px;border:1px solid rgba(255,65,95,.35);border-radius:12px;background:rgba(8,8,16,.7);color:inherit;font:inherit;resize:vertical}.form-actions{display:flex;gap:10px;flex-wrap:wrap}.role-pill{display:inline-block;padding:5px 10px;border:1px solid rgba(255,65,95,.5);border-radius:999px;color:#a8dfff;font-size:.82rem}

/* CTF Transport : bannière fixe et profils */
.hero-fixed{background-image:var(--hero-image);background-size:cover;background-position:center;background-repeat:no-repeat;min-height:540px}.hero-fixed .hero-content{position:relative;z-index:2}.nav-profile{display:inline-flex;align-items:center;gap:8px}.nav-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid rgba(255,255,255,.35)}.profile-avatar{width:112px;height:112px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 18px;border:3px solid #078dff;box-shadow:0 0 24px #078dff50}
.gallery-interactions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.gallery-interactions form{display:inline-flex;gap:6px}.gallery-comments{margin-top:12px;padding-top:10px;border-top:1px solid #ffffff20}.gallery-comments textarea{width:100%;min-height:68px}.gallery-comment{padding:8px 0;border-bottom:1px solid #ffffff15}.gallery-comment small{opacity:.75}

.hero-fixed .hero-arrow,.hero-fixed .prev,.hero-fixed .next{display:none!important}

/* Galerie : commandes compactes et commentaires repliés par défaut */
.gallery-toolbar{display:flex;align-items:center;gap:7px;padding:0 12px 12px;flex-wrap:wrap}
.gallery-reaction-form{display:inline-flex;margin:0}
.gallery-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:38px;min-height:32px;padding:5px 8px;border:1px solid #0a263b;border-radius:8px;background:#03111d;color:#d9efff;font-size:13px;line-height:1;cursor:pointer}
.gallery-icon-btn span{font-size:12px;color:#a8dfff;font-variant-numeric:tabular-nums}
.gallery-icon-btn:hover,.gallery-icon-btn.is-active{border-color:var(--red);background:#061827}
.gallery-comments{margin:0 12px 14px;padding-top:10px;border-top:1px solid #ffffff20}
.gallery-comments[hidden]{display:none}
.gallery-comments-toggle{font-size:14px}
/* Profil et nom dans la navigation plus discrets */
.nav-profile{gap:6px!important;font-size:12px!important}
.nav-profile .nav-avatar{width:23px;height:23px}
.nav-profile span{font-size:12px!important;max-width:105px;overflow:hidden;text-overflow:ellipsis}
.profile-avatar{width:82px;height:82px;margin-bottom:12px}
.auth-card>p strong{font-size:14px}
.password-match{font-size:12px;margin:0}
.password-match.match-error{color:#39bdff}
.password-match.match-ok{color:#a6efbd}
@media(max-width:760px){.gallery-toolbar{gap:5px}.gallery-icon-btn{min-width:34px;padding:5px 6px}}

/* Ajustements CTF Transport : navigation lisible et galerie compacte */
.nav-profile{font-size:14px!important;gap:9px!important}.nav-profile .nav-avatar{width:32px;height:32px}.nav-profile span{font-size:14px!important;max-width:145px}.gallery-toolbar{display:flex;align-items:center;gap:7px;padding:8px 10px}.gallery-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 7px;font-size:13px;border:1px solid #0a263b;border-radius:8px;background:#03111d;color:#f3f8ff;cursor:pointer}.gallery-icon-btn span{font-size:12px;min-width:8px}.gallery-icon-btn:disabled{opacity:.55;cursor:not-allowed}.gallery-comments{padding:12px;border-top:1px solid #382037}.gallery-comment{padding:10px 0;border-bottom:1px solid #382037;overflow-wrap:anywhere}.gallery-comment small{color:var(--muted)}


/* Aperçu de la bannière dans le panel administrateur */
.admin-current-hero{margin:12px 0 24px;padding:12px;background:#061827;border:1px solid #17628f;border-radius:14px}.admin-current-hero img{object-position:center 50%}

/* Menus d'actions sur les commentaires de la galerie */
.comment-menu{position:relative;display:inline-block;z-index:2}
.comment-menu>summary{list-style:none;cursor:pointer;border:1px solid rgba(255,255,255,.18);border-radius:9px;padding:0 10px;font-size:1.35rem;line-height:1.5;background:rgba(255,255,255,.06)}
.comment-menu>summary::-webkit-details-marker{display:none}
.comment-menu-panel{position:absolute;right:0;top:calc(100% + 5px);width:min(280px,78vw);padding:10px;display:grid;gap:8px;background:#03111d;border:1px solid rgba(255,255,255,.2);border-radius:12px;box-shadow:0 12px 30px #0008}
.comment-menu-panel form{display:grid;gap:5px;margin:0}
.comment-menu-panel input,.comment-menu-panel select{width:100%;min-width:0;padding:8px;border-radius:7px;border:1px solid #244b68;background:#03111d;color:#fff}
.comment-menu-panel button{width:100%;padding:8px;border:1px solid #745c7b;border-radius:7px;background:#061827;color:#fff;cursor:pointer}
.comment-menu-panel button:hover{background:#493052}

/* Histoire de CTF Transport : cartes de chapitres homogènes */
.chapter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin-top:35px;text-align:left;align-items:stretch}
.chapter-card{display:flex;flex-direction:column;align-items:flex-start;min-height:285px;padding:22px;background:linear-gradient(145deg,#071d30,#03111d);border:1px solid #0a263b;border-radius:14px;text-align:left;box-shadow:0 10px 30px #0002;min-width:0}
.chapter-mark{color:var(--red);font-size:28px}.chapter-number{color:#a8dfff;font-size:17px;font-weight:700;line-height:1.45;margin:16px 0 10px;overflow-wrap:anywhere}.chapter-excerpt{font-size:13px;line-height:1.7;color:var(--muted);flex:1;white-space:normal;overflow-wrap:anywhere}.chapter-card .button{margin-top:16px}.chapter-coming{display:inline-flex;margin-top:auto;color:#a8dfff;border:1px solid #0a263b;border-radius:999px;padding:7px 12px;font-size:12px}.chapter-placeholder{border-style:dashed;opacity:.88}.story-modal[hidden],.gallery-lightbox[hidden]{display:none!important}.story-modal{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:24px}.story-modal-backdrop{position:absolute;inset:0;background:rgba(5,3,9,.86);backdrop-filter:blur(8px)}.story-document{position:relative;z-index:1;width:min(900px,100%);max-height:min(86vh,1000px);overflow:auto;padding:clamp(25px,5vw,60px);background:linear-gradient(145deg,#08233a,#041522);border:1px solid #0878c9;border-radius:18px;box-shadow:0 25px 90px #000a;text-align:left}.story-document h2{font-family:'Uncial Antiqua',Georgia,serif;font-size:clamp(28px,4vw,44px);color:#1597ff;line-height:1.25;margin:10px 48px 30px 0;overflow-wrap:anywhere}.story-document-content{font-size:16px;line-height:1.95;color:#f0e3ef;white-space:pre-wrap;overflow-wrap:anywhere}.story-close{position:sticky;float:right;top:0;margin:-12px -12px 0 15px;width:42px;height:42px;border:1px solid #078dff;border-radius:50%;background:#061e32;color:#fff;font-size:30px;line-height:1;cursor:pointer}.story-close:hover,.gallery-lightbox-close:hover{background:#0a263b;border-color:var(--red)}body.modal-open{overflow:hidden}.story-admin-chapter{margin:20px 0}.story-delete-form{margin-top:12px}.story-admin-preview{white-space:pre-wrap;line-height:1.85;color:#f0e3ef;overflow-wrap:anywhere}
.gallery-expand-image{cursor:zoom-in;transition:filter .15s ease}.gallery-expand-image:hover{filter:brightness(1.08)}.gallery-expand-image:focus-visible{outline:2px solid var(--red);outline-offset:3px}.gallery-lightbox{position:fixed;z-index:11000;inset:0;background:rgba(3,2,6,.94);display:flex;align-items:center;justify-content:center;padding:55px 28px 28px;cursor:zoom-out}.gallery-lightbox img{max-width:100%;max-height:calc(100vh - 90px);width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 15px 70px #000b;cursor:default}.gallery-lightbox-close{position:absolute;top:18px;right:22px;width:48px;height:48px;border:1px solid #078dff;border-radius:50%;background:#061e32;color:#fff;font-size:36px;line-height:1;cursor:pointer}
@media(max-width:1250px){.chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.chapter-grid{grid-template-columns:1fr;gap:12px}.chapter-card{min-height:220px}.story-modal{padding:10px}.story-document{max-height:94vh;padding:25px 20px}.story-document-content{font-size:15px;line-height:1.8}.gallery-lightbox{padding:60px 10px 15px}.gallery-lightbox-close{top:10px;right:12px;width:42px;height:42px}}

/* Rubrique Rejoindre CTF Transport et formulaire de candidature */
.hero-join-panel{width:min(520px,100%);margin-top:18px;padding:17px 20px 19px;text-align:left;background:rgba(9,7,14,.82);border:1px solid rgba(255,49,86,.9);border-radius:12px;box-shadow:0 12px 36px #0005;backdrop-filter:blur(7px)}
.hero-join-panel h2{font-size:clamp(18px,2vw,23px);line-height:1.3;color:#a8dfff;margin:0 0 8px}
.hero-join-panel p{color:#a8dfff;font-size:13px;line-height:1.65;margin:0 0 13px}
.discord-hero-button{gap:8px}
.discord-button-icon{display:block;width:16px;height:13px;object-fit:contain;filter:brightness(0) invert(1)}
.admin-form textarea{width:100%;background:#03111d;border:1px solid #0a263b;border-radius:8px;color:#fff;padding:12px 13px;outline:none;resize:vertical;min-height:100px;font:inherit;line-height:1.6}
.admin-form textarea:focus{border-color:var(--red)}
.join-enabled-label{display:flex!important;align-items:center;gap:10px}
.join-enabled-label input{width:auto!important;accent-color:#078dff}
.application-page{max-width:900px}
.application-form{padding:clamp(20px,4vw,38px)}
.application-form textarea{min-height:180px}
.application-card{margin:18px 0}
.application-details{border-top:1px solid #0a263b;border-bottom:1px solid #0a263b;padding:12px 0;margin:15px 0}
.application-details p{line-height:1.6}
.application-details a{color:#39bdff}
.application-motivation{white-space:normal;overflow-wrap:anywhere;line-height:1.8;color:#a8dfff;background:#03111d;border:1px solid #061827;border-radius:9px;padding:14px}
.application-decision{margin-top:16px}
.application-status{display:inline-flex;border-radius:999px;padding:5px 10px;font-size:12px}
.status-accepted{color:#a8f0be;background:#14301f;border:1px solid #327c48}
.status-rejected{color:#bde8ff;background:#061827;border:1px solid #078dff}
.application-success{text-align:center;padding:clamp(25px,5vw,50px)}
.application-success-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#17371f;border:1px solid #459b5d;color:#b9f4c6;font-size:28px;margin-bottom:14px}
@media(max-width:760px){.hero-join-panel{margin-top:14px;padding:15px}.hero-join-panel p{font-size:12px}.hero{height:auto;min-height:590px}.hero-content{padding:36px 0 32px}}



/* ===== CTF blue-black visual identity ===== */
:root{--bg:#031321;--panel:#061a29;--red:#078eff;--pink:#4db5ff;--text:#f4f8fc;--muted:#c3d1dd}
body{background:radial-gradient(ellipse at 50% 0,#0b2940,#03111d 55%,#020a12);color:var(--text)}
.site-header,.ctf-header{min-height:72px;height:auto;padding:8px clamp(14px,2vw,34px);gap:20px;background:linear-gradient(100deg,#03111ff7,#06192af7);border-bottom:1px solid #1b4563;box-shadow:0 8px 28px #0007}
.ctf-brand{gap:10px}.ctf-brand .brand-mark{width:245px;height:56px;object-fit:contain;border:0;border-radius:0;padding:0;box-shadow:none}
.ctf-brand .brand-name{display:none}
.main-nav{gap:clamp(4px,1.2vw,20px)}.main-nav a{flex-direction:row;gap:7px;padding:8px 5px;color:#f1f6fc;font-weight:700;font-size:13px}
.main-nav a span{font-size:18px;color:#078eff}.main-nav a:hover,.main-nav a.active,.main-nav a:hover span{color:#55b6ff}
.menu-toggle{color:#eaf6ff;border-color:#245675}
.button,.ctf-button{border:1px solid #168ff2;border-radius:7px;background:linear-gradient(135deg,#0795ff,#0673e9);color:white;padding:11px 18px;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;font-weight:800;font-size:14px;box-shadow:0 5px 18px #007aff25}
.button-primary{background:linear-gradient(135deg,#0795ff,#0673e9);border-color:#078eff}.button-glass{background:#061725dd;color:#e8f5ff;border-color:#245675}
.site-footer{background:#020d18;border-top:1px solid #21445c;color:#d5e4ef}
.ctf-hero{width:100%;line-height:0;overflow:hidden;background:#031321}
.ctf-hero img{display:block;width:100%;height:auto;max-height:480px;object-fit:cover;object-position:center}
.ctf-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#021421;border-bottom:1px solid #21465f}
.ctf-features article{display:flex;align-items:center;gap:14px;min-height:84px;padding:14px clamp(12px,2.6vw,40px);border-right:1px solid #24445a}
.ctf-features article:last-child{border-right:0}.feature-symbol{font-size:32px;color:#078eff;min-width:42px;text-align:center}
.ctf-features strong,.ctf-features span{display:block}.ctf-features strong{font-size:15px}.ctf-features span{font-size:12px;margin-top:5px;color:#d1dfe9}
.ctf-main-grid{display:grid;grid-template-columns:minmax(240px,1.05fr) minmax(320px,1.8fr) minmax(260px,.95fr);gap:25px;padding:24px clamp(18px,2.5vw,40px);background:radial-gradient(circle at 30% 0,#0a263b,#03111d 55%)}
.ctf-about,.ctf-gallery,.ctf-calendar{min-width:0}.ctf-kicker{color:#40adff;font-size:11px;font-weight:800;letter-spacing:.18em;margin:0 0 8px}
.ctf-about h1,.ctf-section-title h2,.ctf-fleet h2{font-size:27px;margin:0 0 17px;color:#f5f8fc}
.ctf-about h1:after{content:"";display:block;width:65px;height:4px;border-radius:3px;background:#078eff;margin-top:8px}
.ctf-about p{font-size:14px;line-height:1.5;color:#dce6ee;margin:0 0 16px}
.ctf-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;border-top:1px solid #24475f;margin-top:18px;padding-top:15px}
.ctf-stats div{display:flex;flex-direction:column;gap:4px;border-right:1px solid #24475f;padding-right:8px}.ctf-stats div:last-child{border:0}
.ctf-stats strong{color:#169aff;font-size:17px}.ctf-stats span{font-size:11px;color:#d4e0e8}
.ctf-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #24475f;margin-bottom:13px}
.ctf-section-title h2{font-size:24px;margin:0 0 10px}.ctf-section-title a{font-size:11px;color:#47b2ff;white-space:nowrap}
.ctf-gallery-image{display:block;overflow:hidden;border-radius:3px;border:1px solid #24475f}.ctf-gallery-image img{display:block;width:100%;aspect-ratio:2.25/1;object-fit:cover;transition:transform .25s}.ctf-gallery-image:hover img{transform:scale(1.025)}
.ctf-gallery>p{font-size:12px;line-height:1.5;color:#cbd9e4}
.ctf-calendar{background:#061827;border:1px solid #1e4058;border-radius:7px;padding:15px;align-self:start}
.ctf-calendar .ctf-section-title h2{font-size:17px}.ctf-empty{font-size:13px;color:#c8d7e3;line-height:1.5}
.ctf-event{padding:12px 0;border-bottom:1px solid #203f54}.ctf-event strong,.ctf-event span,.ctf-event small{display:block}.ctf-event strong{font-size:13px}.ctf-event span{font-size:12px;color:#55b6ff;margin-top:5px}.ctf-event small{font-size:11px;color:#c6d4df;margin-top:4px}
.ctf-button-wide{width:100%;margin-top:12px}
.ctf-fleet{min-height:100px;border-top:1px solid #20445e;border-bottom:1px solid #20445e;background:linear-gradient(90deg,#061726,#0a1d2c,#061726);display:flex;align-items:center;padding:15px 3%;gap:18px}
.ctf-volvo{width:62px;height:62px;flex:0 0 62px;border:3px solid #e7edf1;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:13px}
.ctf-fleet h2{font-size:20px;margin:0 0 5px}.ctf-fleet p{font-size:11px;margin:0;color:#d8e4ed}.ctf-fleet-trucks{font-size:30px;margin:auto;white-space:nowrap;opacity:.8}.ctf-fleet>strong{font-size:20px;font-style:italic;text-align:center;transform:rotate(-4deg)}
.ctf-bottom-links{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:25px 3%}
.ctf-bottom-links a{display:block;padding:18px;border:1px solid #1d4059;border-radius:9px;background:#061725}.ctf-bottom-links strong,.ctf-bottom-links span{display:block}.ctf-bottom-links strong{color:#42adff;margin-bottom:7px}.ctf-bottom-links span{font-size:12px;color:#c9d7e1}
.auth-card,.panel,.live-player,.live-chat,.live-stat,.chapter-card,.gallery-card,.auth-wrap .auth-card{background:#061725!important;border-color:#20445e!important}
input,textarea,select{background:#031321!important;color:#f5f8fc!important;border-color:#24516e!important}
@media(max-width:1100px){.ctf-main-grid{grid-template-columns:1fr 1.3fr}.ctf-calendar{grid-column:1/-1}.ctf-brand .brand-mark{width:200px}.main-nav{gap:8px}.main-nav a{font-size:12px}}
@media(max-width:800px){.site-header,.ctf-header{min-height:65px;padding:7px 15px}.ctf-brand .brand-mark{width:190px;height:48px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:10px;background:#031321;flex-direction:column;align-items:stretch;border-bottom:1px solid #21445c}.main-nav.open{display:flex}.main-nav a{padding:12px 16px}.ctf-hero img{min-height:220px;object-fit:cover}.ctf-features{grid-template-columns:1fr 1fr}.ctf-main-grid{grid-template-columns:1fr}.ctf-calendar{grid-column:auto}.ctf-fleet-trucks{display:none}.ctf-bottom-links{grid-template-columns:1fr}}
@media(max-width:520px){.ctf-brand .brand-mark{width:165px}.ctf-features{grid-template-columns:1fr}.ctf-features article{border-right:0;border-bottom:1px solid #17384f}.ctf-stats strong{font-size:14px}.ctf-fleet{gap:10px}.ctf-volvo{width:48px;height:48px;flex-basis:48px;font-size:10px}.ctf-fleet p{font-size:9px}.ctf-fleet>strong{font-size:15px}.ctf-hero img{min-height:190px}}


/* CTF Transport — accueil haute définition et bannière personnalisable */
.ctf-hero{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  min-height:350px;
  height:clamp(350px, 25vw, 500px);
  overflow:hidden;
  line-height:1.4;
  isolation:isolate;
  background-color:#031321;
  background-image:var(--ctf-hero-image);
  background-position:center 52%;
  background-size:cover;
  background-repeat:no-repeat;
  border-bottom:1px solid #168ff2;
}
.ctf-hero-shade{
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(90deg,rgba(2,13,25,.96) 0%,rgba(2,18,32,.86) 24%,rgba(2,18,32,.48) 43%,rgba(2,18,32,.06) 72%),
    linear-gradient(0deg,rgba(2,13,25,.22),transparent 48%);
}
.ctf-hero-content{
  width:min(590px,44%);
  margin-left:clamp(24px,2.4vw,48px);
  padding:28px 0 34px;
  position:relative;
  z-index:1;
  text-shadow:0 2px 14px rgba(0,0,0,.8);
}
.ctf-hero-eyebrow{
  color:#f4f8fc;
  font-size:clamp(21px,2vw,30px);
  font-weight:800;
  line-height:1.15;
  margin:0 0 2px;
  letter-spacing:-.035em;
}
.ctf-hero-content h1{
  margin:0 0 14px;
  color:#078eff;
  font-family:Inter,system-ui,sans-serif;
  font-weight:900;
  font-size:clamp(29px,3.1vw,48px);
  line-height:1.08;
  letter-spacing:-.04em;
  text-shadow:0 3px 18px rgba(0,0,0,.85);
}
.ctf-hero-description{
  color:#f5f8fc;
  font-size:clamp(13px,.95vw,16px);
  line-height:1.55;
  margin:0 0 22px;
  max-width:560px;
  font-weight:500;
}
.ctf-hero-cta{
  min-height:48px;
  padding:13px 24px;
  gap:26px;
  border:1px solid #54baff;
  border-radius:7px;
  background:linear-gradient(135deg,#159cff 0%,#0074ed 65%,#075ce1 100%);
  box-shadow:0 8px 28px rgba(0,119,255,.38),inset 0 1px rgba(255,255,255,.28);
  font-size:15px;
  text-shadow:none;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.ctf-hero-cta:hover{
  transform:translateY(-2px);
  filter:brightness(1.12);
  box-shadow:0 11px 32px rgba(0,119,255,.5),inset 0 1px rgba(255,255,255,.32);
}
.ctf-hero-cta span{font-size:25px;line-height:12px}
.admin-form textarea{
  width:100%;
  min-height:100px;
  resize:vertical;
  background:#041522;
  border:1px solid #245675;
  border-radius:8px;
  color:#f3f8ff;
  padding:12px 13px;
  font:inherit;
  line-height:1.5;
  outline:none;
}
.admin-form textarea:focus{border-color:#078dff;box-shadow:0 0 0 3px #078dff22}
@media(max-width:900px){
  .ctf-hero{height:clamp(360px,58vw,500px);background-position:58% center}
  .ctf-hero-content{width:min(560px,60%);margin-left:24px}
  .ctf-hero-shade{background:linear-gradient(90deg,rgba(2,13,25,.96),rgba(2,18,32,.78) 48%,rgba(2,18,32,.12))}
}
@media(max-width:600px){
  .ctf-hero{height:auto;min-height:430px;background-position:58% center}
  .ctf-hero-shade{background:linear-gradient(90deg,rgba(2,13,25,.94),rgba(2,18,32,.76) 70%,rgba(2,18,32,.38)),linear-gradient(0deg,rgba(2,13,25,.38),transparent)}
  .ctf-hero-content{width:calc(100% - 40px);margin:0 20px;padding:40px 0}
  .ctf-hero-eyebrow{font-size:23px}
  .ctf-hero-content h1{font-size:36px}
  .ctf-hero-description{font-size:14px;max-width:420px}
  .ctf-hero-cta{min-height:48px}
}


/* CTF TRANSPORT — electric blue neon polish */
:root{--red:#078dff;--pink:#45d8ff;--ctf-neon:#078dff;--ctf-cyan:#4be7ff}
.admin-stats a{
 border:1px solid rgba(7,141,255,.62)!important;
 background:linear-gradient(145deg,rgba(4,28,48,.97),rgba(2,14,27,.98))!important;
 box-shadow:inset 0 0 18px rgba(0,132,255,.08),0 0 12px rgba(0,132,255,.12);
 transition:border-color .2s,box-shadow .2s,transform .2s
}
.admin-stats a:hover{border-color:#49e8ff!important;box-shadow:inset 0 0 22px rgba(0,132,255,.16),0 0 20px rgba(0,153,255,.28);transform:translateY(-2px)}
.admin-stats strong,.admin-stats .neon-number{
 color:#32c5ff!important;
 text-shadow:0 0 5px #078dff,0 0 12px rgba(7,141,255,.95),0 0 26px rgba(7,141,255,.58)!important;
 font-variant-numeric:tabular-nums
}
.admin-stats span{color:#e3f5ff!important}
.admin-sidebar a.selected,.admin-sidebar a:hover{border-color:#078dff!important;box-shadow:inset 3px 0 #078dff,0 0 14px rgba(7,141,255,.13)}
.admin-content .page-title span,.page-title span{color:#159dff;text-shadow:0 0 14px rgba(7,141,255,.32)}
.admin-body{background-color:#03111d!important}
.admin-body .panel,.admin-body .admin-stats a{border-color:#15547d}
.admin-body .danger{background:linear-gradient(135deg,#06345a,#075eea);border-color:#078dff;color:#e8f8ff}
.ctf-hero{position:relative;min-height:390px;height:clamp(390px,31vw,510px);line-height:normal;display:flex;align-items:center;background-color:#031321;background-image:var(--ctf-hero-image);background-size:cover;background-position:center 52%;background-repeat:no-repeat}
.ctf-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,12,22,.9) 0%,rgba(1,12,22,.68) 27%,rgba(1,12,22,.14) 60%,rgba(1,12,22,.02) 100%),linear-gradient(0deg,rgba(1,12,22,.28),transparent 35%);pointer-events:none}
.ctf-hero-content{position:relative;z-index:1;width:min(590px,48%);margin-left:clamp(22px,2.5vw,44px);padding:34px 0;line-height:1.4}
.ctf-hero-eyebrow{font-size:clamp(22px,2vw,30px);font-weight:800;line-height:1.15;margin:0 0 2px;color:#f4f9ff;text-shadow:0 2px 12px #000}
.ctf-hero-content h1{font-size:clamp(32px,3vw,48px);font-weight:900;line-height:1.05;margin:0 0 12px;color:#078dff;text-shadow:0 0 16px rgba(0,128,255,.3)}
.ctf-hero-description{font-size:clamp(14px,1.1vw,17px);line-height:1.5;max-width:560px;color:#f4f8fc;margin:0 0 20px;text-shadow:0 2px 7px #000}
.ctf-hero-cta{min-width:180px;min-height:48px;border-radius:7px;padding:13px 22px;font-size:15px;box-shadow:0 0 12px rgba(0,140,255,.38),0 0 28px rgba(0,140,255,.2),inset 0 1px rgba(255,255,255,.22);transition:transform .18s,box-shadow .18s}
.ctf-hero-cta:hover{transform:translateY(-2px);box-shadow:0 0 18px rgba(0,170,255,.7),0 0 38px rgba(0,140,255,.35)}
.ctf-calendar-nav{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;text-align:center;gap:8px;margin:8px 0 12px}
.ctf-calendar-nav strong{text-transform:capitalize;color:#eaf7ff;font-size:14px}
.ctf-calendar-nav button{border:1px solid #15547d;background:#061c2d;color:#53caff;border-radius:7px;height:30px;font-size:22px;line-height:1;cursor:pointer}
.ctf-calendar-nav button:hover{border-color:#40e5ff;box-shadow:0 0 12px #078dff55}
.ctf-calendar-weekdays,.ctf-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.ctf-calendar-weekdays{color:#9ecce8;font-size:10px;margin-bottom:6px}
.ctf-calendar-day{position:relative;min-width:0;aspect-ratio:1;border:1px solid transparent;border-radius:50%;background:transparent;color:#e8f5ff;font-size:11px;cursor:pointer;padding:0}
.ctf-calendar-day:hover{border-color:#49e7ff;background:#06345a}
.ctf-calendar-day.is-today{border-color:#5ceaff;box-shadow:0 0 8px #078dff77}
.ctf-calendar-day.has-event{background:#087ff5;color:white;box-shadow:0 0 10px rgba(7,141,255,.52)}
.ctf-calendar-day.is-selected{outline:2px solid #7cecff;outline-offset:1px}
.ctf-calendar-blank{aspect-ratio:1}
.ctf-calendar-selected{margin-top:10px;padding:8px 0;border-top:1px solid #16415d}
.ctf-calendar-selected>strong{font-size:12px;color:#9feaff;text-transform:capitalize}
.ctf-calendar-selected .ctf-event{padding:8px 0}
.ctf-calendar-selected .ctf-event strong{color:#f4faff}
.ctf-calendar .ctf-button-wide{margin-top:10px;justify-content:center}
@media(max-width:900px){
 .ctf-hero{min-height:390px;height:auto;background-position:58% center}
 .ctf-hero-content{width:min(600px,76%);margin-left:24px;padding:38px 0}
 .ctf-main-grid{grid-template-columns:1fr}
 .ctf-calendar{max-width:none}
}
@media(max-width:560px){
 .ctf-hero{min-height:420px;background-position:60% center}
 .ctf-hero-shade{background:linear-gradient(90deg,rgba(1,12,22,.88),rgba(1,12,22,.5)),linear-gradient(0deg,rgba(1,12,22,.25),transparent)}
 .ctf-hero-content{width:calc(100% - 36px);margin:0 18px;padding:28px 0}
 .ctf-hero-content h1{font-size:34px}
 .ctf-hero-eyebrow{font-size:22px}
 .ctf-hero-description{font-size:14px}
 .ctf-hero-cta{min-width:170px}
 .admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Harmonisation CTF Transport : accents bleu électrique sur toutes les pages, y compris l'administration */
:root{--red:#078dff;--pink:#39bdff}
.admin-top{background:linear-gradient(105deg,rgba(2,16,30,.98),rgba(4,36,65,.97));border-bottom:1px solid #078dff88;box-shadow:0 5px 24px #078dff20}
.admin-top .brand-mark{border-color:#078dff;box-shadow:0 0 18px #078dff66}
.admin-top .brand-name,.admin-top .brand-name small{color:#39bdff}
.admin-stats strong,.admin-stats .neon-number{color:#078dff;text-shadow:0 0 7px #078dff99,0 0 18px #078dff66}
.admin-stats a{border-color:#078dff55}
.role-pill{border-color:#078dff;color:#73d9ff;background:#078dff12}


/* CTF Transport — en-tête admin bleu azur / cyan électrique */
.admin-top{background:linear-gradient(105deg,rgba(3,24,45,.98),rgba(0,76,150,.96) 55%,rgba(0,150,255,.92))!important;border-bottom:1px solid rgba(0,174,255,.75)!important;box-shadow:0 8px 30px rgba(0,132,255,.22),0 1px 0 rgba(91,220,255,.2) inset!important}
.admin-top .brand-name,.admin-top>div{color:#eaf8ff!important}
.admin-top .brand-name small{color:#63dfff!important}
.admin-top .brand-mark{filter:drop-shadow(0 0 8px rgba(0,174,255,.28))}
.admin-body .admin-form textarea,.admin-body .admin-form input,.admin-body .admin-form select{border-color:rgba(0,153,255,.38)!important}
.admin-body .role-pill{border-color:#078dff!important;color:#73d9ff!important;background:rgba(7,141,255,.10)!important}
