/*
Theme Name: CSE ASTREA Globe
Theme URI: https://www.cseswi.com/
Author: CSE ASTREA Amilly
Description: Thème premium et moderne pour le CSE ASTREA Amilly.
Version: 6.9.4
Text Domain: cse-astrea
*/

:root{
  --navy:#102a43;
  --navy2:#173f5f;
  --blue:#1488c9;
  --cyan:#1ea6b6;
  --teal:#159c9a;
  --orange:#f58211;
  --orange2:#ff9c2a;
  --red:#e53f39;
  --yellow:#f5b22b;
  --surface:#ffffff;
  --bg:#f4f7fb;
  --text:#19354d;
  --muted:#6e8191;
  --border:#e4ebf1;
  --shadow:0 18px 55px rgba(17,47,74,.10);
  --shadow2:0 8px 28px rgba(17,47,74,.08);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
 margin:0;background:
 radial-gradient(circle at 10% 0%,rgba(30,166,182,.08),transparent 26rem),
 radial-gradient(circle at 95% 20%,rgba(245,130,17,.08),transparent 24rem),
 var(--bg);
 color:var(--text);
 font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
 line-height:1.6;-webkit-font-smoothing:antialiased
}
a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}
.wrap{width:min(1200px,calc(100% - 42px));margin:auto}

/* HEADER */
.site-header{
 position:sticky;top:0;z-index:100;
 background:rgba(255,255,255,.88);
 backdrop-filter:blur(18px);
 border-bottom:1px solid rgba(220,230,238,.8)
}
.header-inner{
 min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px
}
.brand{display:flex;align-items:center;gap:14px}
.brand-logo{height:58px;width:auto;display:block}
.brand-copy{line-height:1.05}
.brand-copy strong{display:block;color:var(--navy);font-size:19px;letter-spacing:.01em}
.brand-copy small{display:block;color:var(--muted);font-size:11px;margin-top:6px;font-weight:700}
.header-right{display:flex;align-items:center;gap:12px}
.account{
 display:inline-flex;align-items:center;gap:8px;padding:11px 15px;border-radius:14px;
 font-size:13px;font-weight:900;color:#fff;
 background:linear-gradient(135deg,var(--navy2),var(--blue));
 box-shadow:0 9px 24px rgba(20,86,132,.18)
}
.menu-btn{
 display:none;width:44px;height:44px;border:0;border-radius:13px;background:#eef5f9;color:var(--navy);font-size:22px
}
.navbar{border-top:1px solid #edf2f5}
.nav,.nav ul{display:flex;gap:4px;align-items:center;list-style:none;margin:0;padding:0}
.nav{height:50px;overflow:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
.nav a{
 display:block;padding:10px 14px;border-radius:11px;color:#365873;font-size:13px;font-weight:850;white-space:nowrap
}
.nav a:hover,.nav .current-menu-item>a,.nav .current_page_item>a{background:#eef9fa;color:var(--teal)}

/* HERO */
.hero{
 position:relative;overflow:hidden;
 background:
 linear-gradient(120deg,rgba(16,42,67,.98) 0%,rgba(20,89,120,.97) 55%,rgba(21,156,154,.92) 100%);
 color:#fff
}
.hero:before{
 content:"";position:absolute;width:560px;height:560px;border-radius:50%;
 right:-190px;top:-260px;background:rgba(255,255,255,.07)
}
.hero:after{
 content:"";position:absolute;width:270px;height:270px;border-radius:50%;
 left:-120px;bottom:-150px;background:rgba(245,130,17,.18)
}
.hero-home{padding:74px 0 64px}
.hero-simple{padding:52px 0}
.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:46px;align-items:center;position:relative;z-index:2}
.hero-copy{max-width:760px}
.hero-badge{
 display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:999px;
 background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.17);
 font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em
}
.hero h1{
 margin:18px 0 18px;font-size:clamp(42px,5.2vw,68px);line-height:1.02;letter-spacing:-.045em;
 font-weight:900
}
.hero-simple h1{font-size:clamp(35px,4vw,52px)}
.hero p{margin:0;max-width:710px;color:rgba(255,255,255,.84);font-size:18px}
.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}
.btn{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 17px;border:0;border-radius:14px;
 font-weight:900;cursor:pointer;transition:.2s ease;
 background:linear-gradient(135deg,var(--orange),var(--orange2));color:white;
 box-shadow:0 10px 28px rgba(245,130,17,.25)
}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(245,130,17,.3)}
.btn.white{background:#fff;color:var(--navy);box-shadow:none}
.btn.ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);box-shadow:none}
.hero-art{
 position:relative;display:flex;align-items:center;justify-content:center;min-height:360px
}
.hero-art img{
 max-width:390px;filter:drop-shadow(0 24px 35px rgba(0,0,0,.18));
 animation:floaty 5s ease-in-out infinite
}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.hero-orbit{
 position:absolute;width:410px;height:410px;border-radius:50%;
 border:1px solid rgba(255,255,255,.15)
}
.hero-orbit:before,.hero-orbit:after{
 content:"";position:absolute;border-radius:50%;background:#fff;box-shadow:0 0 0 8px rgba(255,255,255,.07)
}
.hero-orbit:before{width:9px;height:9px;right:57px;top:52px}
.hero-orbit:after{width:8px;height:8px;left:46px;bottom:69px}

/* QUICK DASHBOARD */
.section{padding:48px 0}
.section-tight{padding-top:16px}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.eyebrow{font-size:11px;color:var(--teal);font-weight:950;text-transform:uppercase;letter-spacing:.1em;margin-bottom:7px}
.title{margin:0;color:var(--navy);font-size:clamp(28px,3vw,36px);line-height:1.1;letter-spacing:-.025em}
.section-link{font-size:13px;color:var(--teal);font-weight:900}
.grid{display:grid;gap:18px}.g4{grid-template-columns:repeat(4,1fr)}.g3{grid-template-columns:repeat(3,1fr)}.g2{grid-template-columns:repeat(2,1fr)}
.quick{
 position:relative;min-height:182px;padding:23px;border-radius:24px;overflow:hidden;
 background:#fff;border:1px solid var(--border);box-shadow:var(--shadow2);
 transition:.25s ease
}
.quick:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.quick:after{
 content:"";position:absolute;right:-52px;top:-52px;width:140px;height:140px;border-radius:50%;opacity:.28
}
.quick:nth-child(1){background:linear-gradient(145deg,#ffffff,#ecfbf8)} .quick:nth-child(1):after{background:var(--teal)}
.quick:nth-child(2){background:linear-gradient(145deg,#ffffff,#fff5e8)} .quick:nth-child(2):after{background:var(--orange)}
.quick:nth-child(3){background:linear-gradient(145deg,#ffffff,#fff1f4)} .quick:nth-child(3):after{background:var(--red)}
.quick:nth-child(4){background:linear-gradient(145deg,#ffffff,#eef6ff)} .quick:nth-child(4):after{background:var(--blue)}
.quick-icon{
 position:relative;z-index:2;width:52px;height:52px;border-radius:17px;background:#fff;
 display:grid;place-items:center;font-size:27px;box-shadow:0 10px 24px rgba(18,56,83,.08)
}
.quick h3{position:relative;z-index:2;margin:17px 0 5px;color:var(--navy);font-size:19px}
.quick p{position:relative;z-index:2;margin:0;color:var(--muted);font-size:13px}
.quick span{position:absolute;right:18px;bottom:17px;font-size:20px;font-weight:900;color:var(--navy)}

/* Cards */
.card,.panel{
 background:#fff;border:1px solid var(--border);border-radius:var(--radius);
 box-shadow:var(--shadow2);overflow:hidden
}
.card{transition:.25s ease}.card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card img{width:100%;height:220px;object-fit:cover;display:block}
.card-body{padding:20px}
.card h3{margin:10px 0 7px;font-size:21px;line-height:1.2;color:var(--navy)}
.meta{font-size:13px;color:var(--muted)}
.badge{
 display:inline-flex;padding:6px 9px;border-radius:999px;background:#eaf8f7;color:var(--teal);
 font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.06em
}
.panel{padding:24px}
.panel h2,.panel h3{color:var(--navy)}
.cse-price{font-size:20px;font-weight:950;color:var(--orange);margin:12px 0 5px}

/* Upcoming strip */
.event-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.event-mini{
 position:relative;padding:19px;border-radius:22px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow2);
 transition:.2s ease
}
.event-mini:hover{transform:translateY(-4px)}
.event-date{
 display:inline-flex;align-items:center;gap:7px;font-weight:950;font-size:12px;color:var(--teal);
 background:#ebf9f8;padding:7px 10px;border-radius:999px
}
.event-mini h3{margin:14px 0 6px;font-size:19px;color:var(--navy)}
.event-mini p{margin:0;color:var(--muted);font-size:13px}

/* Layouts */
.home-bottom{display:grid;grid-template-columns:1.55fr .75fr;gap:20px}
.side-stack{display:grid;gap:18px}
.cta{
 border-radius:26px;padding:25px;color:#fff;box-shadow:var(--shadow);
 background:linear-gradient(145deg,var(--navy),var(--blue))
}
.cta.orange{background:linear-gradient(145deg,#ef7310,var(--orange2))}
.cta h3{font-size:23px;margin:0 0 8px}.cta p{font-size:13px;color:rgba(255,255,255,.85)}
.entry-content h2,.entry-content h3{color:var(--navy)}
.entry-content a:not(.btn){color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.sortie-layout{display:grid;grid-template-columns:1.45fr .7fr;gap:22px;align-items:start}
.sortie-aside{position:sticky;top:155px}
.detail{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--border)}
.detail:last-child{border-bottom:0}
.detail-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;background:#eef9f8;flex:0 0 40px}

/* Forms */
.cse-form label{display:block;font-weight:850;margin:14px 0 6px;color:var(--navy)}
.cse-form input,.cse-form textarea,.cse-form select,.cse-search{
 width:100%;padding:13px 14px;border:1px solid #dce6ed;border-radius:13px;background:#fff;outline:none
}
.cse-form input:focus,.cse-form textarea:focus,.cse-form select:focus,.cse-search:focus{
 border-color:#75c8c8;box-shadow:0 0 0 4px rgba(21,156,154,.08)
}
.cse-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.cse-chip{
 border:1px solid var(--border);background:#fff;color:#47647a;border-radius:999px;
 padding:8px 12px;font-size:12px;font-weight:850;cursor:pointer
}
.cse-chip.active,.cse-chip:hover{background:var(--navy);border-color:var(--navy);color:#fff}
.cse-secret{padding:11px 12px;border-radius:12px;background:#eef7ff;border:1px solid #cfe4f5;margin-top:12px}

/* Footer */
.site-footer{
 margin-top:54px;background:linear-gradient(125deg,#0d2941,#123e5c);color:#d4e3ec;padding:44px 0 24px
}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:34px;padding-bottom:28px}
.footer-logo{height:70px;width:auto;filter:drop-shadow(0 10px 25px rgba(0,0,0,.18));margin-bottom:12px}
.footer-title{color:#fff;font-weight:950;font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:11px}
.footer-links{display:grid;gap:8px;font-size:13px}.footer-links a:hover{color:#fff}
.footer-copy{font-size:13px;color:#abc0ce;max-width:390px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.10);padding-top:19px;font-size:12px;color:#9eb4c4;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}

body.admin-bar .site-header{top:32px}
@media(max-width:1000px){
 .hero-grid,.home-bottom,.sortie-layout{grid-template-columns:1fr}
 .hero-art{min-height:300px}.hero-art img{max-width:300px}.hero-orbit{width:320px;height:320px}
 .g4{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(2,1fr)}
 .event-strip{grid-template-columns:1fr 1fr}.sortie-aside{position:static}
}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:760px){
 .wrap{width:min(100% - 28px,1200px)}
 .header-inner{min-height:72px}.brand-logo{height:48px}.brand-copy small{display:none}.brand-copy strong{font-size:16px}
 .menu-btn{display:grid;place-items:center}.account span{display:none}
 .navbar{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 18px 30px rgba(17,47,74,.12)}
 .site-header.open .navbar{display:block}.nav,.nav ul{display:block;height:auto;padding:11px 14px}
 .nav a{padding:12px 13px}
 .hero-home{padding:52px 0 46px}.hero h1{font-size:clamp(36px,10vw,50px)}
 .hero-art{display:none}
 .g4,.g3,.g2,.event-strip{grid-template-columns:1fr}
 .section{padding:37px 0}.section-head{align-items:flex-start;flex-direction:column}
 .footer-grid{grid-template-columns:1fr}
}


/* ===== V3.1 refinements ===== */
.brand-logo{height:68px}
.brand-copy strong{font-size:20px}
.hero-home{padding:64px 0 58px}
.hero h1{font-size:clamp(39px,4.6vw,60px);max-width:780px}
.hero p{max-width:760px}
.hero-art img{max-width:365px;opacity:.97}
.hero-orbit{width:390px;height:390px;opacity:.9}

.cse-sorties-grid,
.cse-sorties,
.wp-block-query .wp-block-post-template{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.cse-sortie-card,
.cse-sortie,
article.cse_sortie{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow2);
  transition:.25s ease;
  position:relative
}
.cse-sortie-card:hover,
.cse-sortie:hover,
article.cse_sortie:hover{
  transform:translateY(-5px);
  box-shadow:var(--shadow)
}
.cse-sortie-card img,
.cse-sortie img,
article.cse_sortie img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  display:block
}
.cse-sortie-card .content,
.cse-sortie .content,
article.cse_sortie .entry-content{
  padding:18px
}
.cse-sortie-card h3,
.cse-sortie h3,
article.cse_sortie h2,
article.cse_sortie h3{
  margin:8px 0 6px;
  color:var(--navy);
  font-size:20px;
  line-height:1.2
}
.cse-sortie-card .date,
.cse-sortie .date{
  display:inline-flex;
  padding:6px 9px;
  border-radius:999px;
  background:#eef9f8;
  color:var(--teal);
  font-size:11px;
  font-weight:900
}
.cse-sortie-card .price,
.cse-sortie .price{
  color:var(--orange);
  font-weight:950;
  margin-top:8px
}
.cse-sortie-card .btn,
.cse-sortie .btn{
  margin-top:12px
}

@media(max-width:1000px){
  .cse-sorties-grid,.cse-sorties,.wp-block-query .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .brand-logo{height:56px}
  .hero h1{font-size:clamp(34px,9vw,46px)}
  .cse-sorties-grid,.cse-sorties,.wp-block-query .wp-block-post-template{grid-template-columns:1fr}
}


/* ==========================================================
   V4 — PLUS VISUELLE, PLUS VIVANTE
   ========================================================== */

:root{
 --purple:#7357d9;
 --purple-soft:#f1edff;
 --green:#20a779;
 --green-soft:#eafaf4;
 --pink:#ef5f83;
 --pink-soft:#fff0f4;
}
body{
 background:
   radial-gradient(circle at 4% 8%,rgba(27,169,166,.10),transparent 24rem),
   radial-gradient(circle at 96% 18%,rgba(245,130,17,.10),transparent 25rem),
   linear-gradient(#f7f9fc,#f3f7fb 45%,#f7f9fc);
}
.site-header{box-shadow:0 8px 30px rgba(20,50,75,.045)}
.header-inner{min-height:92px}
.brand-logo-wrap{
 width:72px;height:72px;border-radius:20px;display:grid;place-items:center;
 background:linear-gradient(145deg,#fff,#f4fafb);
 box-shadow:0 10px 28px rgba(17,47,74,.09);
 border:1px solid rgba(219,230,237,.9)
}
.brand-logo{height:62px}
.brand-copy strong{font-size:21px;letter-spacing:-.01em}
.brand-copy small{font-size:11px}
.account{
 padding:8px 12px 8px 8px;border-radius:18px;
 background:linear-gradient(135deg,#133c5c,#1593c3);
}
.account-avatar{
 width:38px;height:38px;border-radius:12px;display:grid;place-items:center;
 background:rgba(255,255,255,.17);font-size:15px;font-weight:950
}
.account-copy{display:grid;line-height:1.05}
.account-copy small{font-size:9px;opacity:.72;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.account-copy strong{font-size:12px;margin-top:3px}

.navbar{border-top:0;border-bottom:1px solid rgba(226,235,241,.8)}
.nav{height:55px;justify-content:center}
.nav a{padding:10px 16px;border-radius:13px;transition:.2s ease}
.nav a:hover,.nav .current-menu-item>a,.nav .current_page_item>a{
 background:#e9f8f6;color:#058e8b;transform:translateY(-1px)
}

/* Hero V4 */
.hero-home{padding:72px 0 68px;min-height:590px;display:flex;align-items:center}
.hero-home:before{
 width:760px;height:760px;right:-260px;top:-390px;
 background:radial-gradient(circle,rgba(255,255,255,.12),rgba(255,255,255,0) 66%)
}
.hero-home:after{width:390px;height:390px;left:-190px;bottom:-230px;background:rgba(245,130,17,.20)}
.hero-spark{position:absolute;z-index:1;color:rgba(255,255,255,.32);font-weight:900}
.spark-one{font-size:44px;left:8%;top:19%;transform:rotate(18deg)}
.spark-two{font-size:18px;left:45%;bottom:13%}
.hero-grid{grid-template-columns:1.15fr .85fr}
.hero-home .hero-badge{background:rgba(255,255,255,.13);backdrop-filter:blur(6px)}
.pulse-dot{width:8px;height:8px;border-radius:50%;background:#54e6c2;box-shadow:0 0 0 6px rgba(84,230,194,.12)}
.hero-home h1{font-size:clamp(43px,5vw,65px);line-height:1.01}
.hero-home h1 span{color:#bdf6ee}
.hero-home p{font-size:17px;max-width:700px}
.hero-secondary{background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.2);box-shadow:none}
.hero-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:25px;font-size:11px;font-weight:800;color:rgba(255,255,255,.72)}
.hero-dashboard{position:relative;min-height:410px;display:grid;place-items:center}
.hero-logo-card{
 position:relative;width:320px;height:320px;border-radius:42px;display:grid;place-items:center;
 background:linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.06));
 border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);
 box-shadow:0 30px 70px rgba(0,0,0,.16);transform:rotate(-4deg)
}
.hero-logo-card:after{
 content:"";position:absolute;inset:14px;border-radius:32px;border:1px solid rgba(255,255,255,.11)
}
.hero-logo-card img{width:235px;filter:drop-shadow(0 20px 30px rgba(0,0,0,.18));transform:rotate(4deg)}
.hero-logo-halo{position:absolute;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08);filter:blur(2px)}
.floating-card{
 position:absolute;z-index:5;display:flex;align-items:center;gap:10px;
 min-width:155px;padding:11px 13px;border-radius:17px;background:#fff;color:var(--navy);
 box-shadow:0 18px 45px rgba(0,0,0,.18);animation:floaty 5s ease-in-out infinite
}
.floating-card>span{font-size:25px}.floating-card div{display:grid}.floating-card small{font-size:9px;color:var(--muted);text-transform:uppercase;font-weight:900;letter-spacing:.05em}.floating-card strong{font-size:13px}
.fc-one{right:-6px;top:39px}.fc-two{left:-25px;bottom:72px;animation-delay:-1.7s}.fc-three{right:12px;bottom:18px;animation-delay:-3s}

/* Access cards */
.quick-section{padding-top:54px}
.center-head{text-align:center;justify-content:center}
.center-head .section-subtitle{margin-left:auto;margin-right:auto}
.section-subtitle{margin:8px 0 0;color:var(--muted);font-size:14px}
.visual-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.visual-card{
 position:relative;min-height:245px;padding:22px;border-radius:28px;overflow:hidden;
 color:#fff;box-shadow:0 18px 45px rgba(22,49,72,.11);transition:.28s ease
}
.visual-card:before{
 content:"";position:absolute;width:190px;height:190px;border-radius:50%;
 right:-82px;bottom:-95px;background:rgba(255,255,255,.14)
}
.visual-card:after{
 content:"";position:absolute;width:95px;height:95px;border-radius:28px;
 right:18px;top:70px;border:1px solid rgba(255,255,255,.14);transform:rotate(18deg)
}
.visual-card:hover{transform:translateY(-7px) scale(1.01);box-shadow:0 24px 55px rgba(22,49,72,.16)}
.visual-green{background:linear-gradient(145deg,#159f78,#25b99c)}
.visual-purple{background:linear-gradient(145deg,#654fc5,#8972e8)}
.visual-orange{background:linear-gradient(145deg,#ef7815,#f6a032)}
.visual-blue{background:linear-gradient(145deg,#1573b6,#1aa6b6)}
.visual-cyan{background:linear-gradient(145deg,#138da5,#20b2a5)}
/* Five equal quick-access categories on wide screens; same card language as the ASC links. */
.visual-grid--five{grid-template-columns:repeat(5,minmax(0,1fr))}
.visual-social{background:linear-gradient(145deg,#254d82,#4e77bf)}
.visual-grid--five .visual-card{min-height:268px}
.visual-grid--five .visual-card h3{font-size:clamp(19px,1.7vw,23px);line-height:1.24;margin-top:26px}
.visual-grid--five .visual-card p{font-size:13px;line-height:1.45}
@media (min-width:761px) and (max-width:1050px){
 .visual-grid--five{grid-template-columns:repeat(2,minmax(0,1fr))}
 .visual-grid--five .visual-card:last-child{grid-column:1/-1}
}
@media (max-width:760px){
 .visual-grid--five{grid-template-columns:1fr}
 .visual-grid--five .visual-card:last-child{grid-column:auto}
}

.visual-top{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}
.visual-icon{width:58px;height:58px;border-radius:19px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:29px;border:1px solid rgba(255,255,255,.2)}
.visual-arrow{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.13);font-size:17px}
.visual-card h3{position:relative;z-index:2;font-size:23px;margin:32px 0 7px}
.visual-card p{position:relative;z-index:2;margin:0;color:rgba(255,255,255,.82);font-size:13px;max-width:220px}
.visual-label{position:absolute;z-index:2;left:22px;bottom:20px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.05em;color:rgba(255,255,255,.88)}

/* Sorties */
.spotlight-section{padding-top:38px}
.pill-link{padding:9px 13px;border:1px solid var(--border);border-radius:999px;background:#fff;box-shadow:var(--shadow2)}
.cse-sorties-grid,.cse-sorties{gap:22px!important}
.cse-sortie-card,.cse-sortie,article.cse_sortie{
 border-radius:27px!important;border:0!important;box-shadow:0 13px 35px rgba(17,47,74,.10)!important
}
.cse-sortie-card img,.cse-sortie img,article.cse_sortie img{aspect-ratio:16/9!important}
.cse-sortie-card .content,.cse-sortie .content{padding:20px!important}

/* Digital promo */
.promo-band{
 position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center;
 padding:34px;border-radius:32px;color:#fff;
 background:linear-gradient(120deg,#102f49,#185d75 58%,#179a98);
 box-shadow:0 22px 60px rgba(17,47,74,.16)
}
.promo-band:before{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-120px;top:-170px;background:rgba(255,255,255,.09)}
.promo-copy,.promo-actions{position:relative;z-index:2}
.promo-kicker{font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.1em;color:#87eee3}
.promo-copy h2{font-size:31px;line-height:1.08;margin:7px 0 10px}.promo-copy p{margin:0;color:rgba(255,255,255,.78);max-width:580px}
.promo-actions{display:grid;gap:12px}
.promo-mini{display:flex;align-items:center;gap:12px;padding:15px 16px;border-radius:18px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);transition:.2s}
.promo-mini:hover{background:rgba(255,255,255,.17);transform:translateX(3px)}
.promo-mini>span{width:46px;height:46px;border-radius:15px;background:#fff;display:grid;place-items:center;font-size:23px}
.promo-mini div{display:grid}.promo-mini small{font-size:10px;color:rgba(255,255,255,.64);text-transform:uppercase;font-weight:900}.promo-mini strong{font-size:14px}

/* News and CTA */
.news-card{border-radius:24px}
.news-card .text-link{display:inline-block;margin-top:10px;color:var(--teal);font-weight:900;font-size:12px}
.empty-news{text-align:center;padding:44px}.empty-icon{font-size:45px}
.cta{position:relative;overflow:hidden}.cta:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-65px;top:-70px;background:rgba(255,255,255,.10)}
.cta-emoji{font-size:34px}.cta-kicker{display:inline-block;margin:9px 0 4px;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:950;color:rgba(255,255,255,.7)}

/* Interior pages */
.page-hero{padding:38px 0!important;min-height:210px;display:flex;align-items:center}
.page-hero-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;position:relative;z-index:2}
.page-hero h1{margin:12px 0 0;font-size:clamp(38px,5vw,58px)}
.page-hero-symbol{
 width:110px;height:110px;border-radius:32px;display:grid;place-items:center;font-size:55px;
 background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px rgba(0,0,0,.10);
 transform:rotate(7deg)
}
.page-main>.section{padding-top:30px}
.page-main .entry-content{border:0;box-shadow:0 14px 45px rgba(17,47,74,.08);border-radius:28px;padding:28px}

/* Plugin content feels integrated */
.cse-ticketing-intro,.cse-contact-intro,.cse-cv-digital-head,.cse-cv-hero{border-radius:24px!important}
.cse-ticket-card,.cse-contact-info,.cse-cv-card,.cse-cv-table-card{border-radius:20px!important}

/* Footer */
.site-footer{margin-top:70px;padding-top:52px}
.footer-logo{height:82px}
.footer-title{color:#8de8df}
.footer-links a{padding:3px 0}

/* Responsive */
@media(max-width:1050px){
 .visual-grid{grid-template-columns:repeat(2,1fr)}
 .hero-dashboard{min-height:340px}.hero-logo-card{width:275px;height:275px}.hero-logo-card img{width:205px}
 .floating-card{min-width:140px}
}
@media(max-width:800px){
 .promo-band{grid-template-columns:1fr}
 .page-hero-symbol{width:86px;height:86px;font-size:42px}
}
@media(max-width:760px){
 .header-inner{min-height:76px}.brand-logo-wrap{width:58px;height:58px;border-radius:17px}.brand-logo{height:50px}
 .brand-copy strong{font-size:15px}.account-copy{display:none}.account{padding:7px}.account-avatar{width:36px;height:36px}
 .hero-home{min-height:auto;padding:56px 0 52px}.hero-dashboard{display:none}
 .hero-trust{gap:10px;font-size:10px}.visual-grid{grid-template-columns:1fr}
 .visual-card{min-height:215px}.visual-card h3{margin-top:24px}
 .promo-band{padding:25px;border-radius:25px}.promo-copy h2{font-size:26px}
 .page-hero{min-height:170px}.page-hero-symbol{display:none}.page-main .entry-content{padding:20px}
}

.cta-row-clean{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:900px;margin:0 auto}
@media(max-width:700px){.cta-row-clean{grid-template-columns:1fr}}


/* V4.2 — Images de sorties sans recadrage */
.cse-sortie-card img,
.cse-sortie img,
article.cse_sortie img{
  width:100%!important;
  height:280px!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:linear-gradient(145deg,#f3f7fa,#eef4f6)!important;
  padding:10px!important;
  box-sizing:border-box!important;
}

.single-cse_sortie .entry-content img,
.single-cse_sortie .wp-post-image{
  width:100%!important;
  height:auto!important;
  max-height:650px!important;
  object-fit:contain!important;
  background:#f4f7f9!important;
  border-radius:18px!important;
}

@media(max-width:700px){
  .cse-sortie-card img,
  .cse-sortie img,
  article.cse_sortie img{
    height:235px!important;
  }
}


/* V4.3 — correction ciblée et définitive des visuels Sorties */
.card.cse-sortie-card{
  overflow:hidden!important;
}

.card.cse-sortie-card > img.cse-sortie-image,
.card.cse-sortie-card > img.wp-post-image{
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  max-height:300px!important;
  object-fit:contain!important;
  object-position:center center!important;
  aspect-ratio:auto!important;
  padding:14px!important;
  box-sizing:border-box!important;
  background:
    radial-gradient(circle at center, #ffffff 0%, #f5f8fa 72%, #edf3f6 100%)!important;
  display:block!important;
}

/* La fiche détaillée ne coupe jamais son affiche/photo */
.single-cse_sortie article.entry-content > img.wp-post-image{
  width:100%!important;
  height:auto!important;
  max-height:720px!important;
  object-fit:contain!important;
  object-position:center!important;
  padding:14px!important;
  box-sizing:border-box!important;
  background:#f4f7f9!important;
}

/* Neutralise explicitement la règle générique .card img { object-fit: cover } */
.spotlight-section .card.cse-sortie-card img{
  object-fit:contain!important;
}

@media(max-width:700px){
  .card.cse-sortie-card > img.cse-sortie-image,
  .card.cse-sortie-card > img.wp-post-image{
    height:245px!important;
    min-height:245px!important;
    max-height:245px!important;
  }
}


/* ==========================================================
   V4.4 — CORRECTIONS SMARTPHONE
   ========================================================== */

html,body{
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
}

@media(max-width:820px){

  /* Base */
  body{
    font-size:15px;
    line-height:1.55;
  }

  .wrap{
    width:min(100% - 28px, 1180px);
  }

  .section{
    padding:34px 0;
  }

  .title,
  .section-head .title{
    font-size:30px!important;
    line-height:1.12!important;
    overflow-wrap:anywhere;
  }

  .section-head{
    align-items:flex-start!important;
    gap:14px!important;
    flex-direction:column!important;
  }

  .section-link,
  .pill-link{
    align-self:flex-start;
  }

  /* Header */
  .header-inner{
    min-height:72px!important;
    gap:8px;
  }

  .brand{
    min-width:0;
    gap:8px;
  }

  .brand-logo-wrap{
    width:52px!important;
    height:52px!important;
    flex:0 0 52px;
  }

  .brand-logo{
    max-width:46px!important;
    max-height:46px!important;
  }

  .brand-copy{
    min-width:0;
  }

  .brand-copy strong{
    display:block;
    font-size:14px!important;
    line-height:1.1;
    white-space:normal;
  }

  .brand-copy small{
    display:none;
  }

  .header-right{
    gap:6px;
    flex:0 0 auto;
  }

  .account{
    min-width:auto!important;
    padding:5px!important;
  }

  .account-copy{
    display:none!important;
  }

  .menu-btn{
    width:42px;
    height:42px;
    flex:0 0 42px;
  }

  /* Mobile navigation */
  .navbar{
    display:none;
  }

  .site-header.open .navbar{
    display:block;
  }

  .site-header.open .navbar .wrap{
    width:100%;
    padding:0 14px 14px;
  }

  .site-header.open .nav{
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:6px!important;
    padding:10px 0!important;
  }

  .site-header.open .nav li{
    width:100%;
  }

  .site-header.open .nav a{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px 14px!important;
    border-radius:12px;
    font-size:14px;
  }

  /* Homepage hero */
  .hero-home{
    min-height:auto!important;
    padding:42px 0 40px!important;
  }

  .hero-grid{
    display:block!important;
  }

  .hero-copy{
    max-width:none!important;
  }

  .hero-home h1{
    font-size:38px!important;
    line-height:1.02!important;
    max-width:100%!important;
    overflow-wrap:anywhere;
    hyphens:auto;
  }

  .hero-home p{
    font-size:15px!important;
    line-height:1.55;
  }

  .hero-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  .hero-actions .btn{
    width:100%;
    box-sizing:border-box;
    text-align:center;
    justify-content:center;
    white-space:normal;
    line-height:1.25;
    min-height:48px;
  }

  .hero-trust{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:20px!important;
  }

  .hero-dashboard{
    display:none!important;
  }

  /* Quick access */
  .visual-grid{
    grid-template-columns:1fr!important;
    gap:14px!important;
  }

  .visual-card{
    min-height:190px!important;
    padding:20px!important;
  }

  .visual-card h3{
    font-size:21px!important;
    margin-top:22px!important;
  }

  .visual-card p{
    max-width:75%;
    font-size:13px!important;
  }

  .visual-label{
    position:static!important;
    display:block;
    margin-top:18px;
  }

  /* Promo */
  .promo-band{
    display:block!important;
    padding:22px!important;
    border-radius:22px!important;
  }

  .promo-copy h2{
    font-size:26px!important;
    line-height:1.12!important;
  }

  .promo-actions{
    margin-top:18px;
  }

  .promo-mini{
    align-items:flex-start;
  }

  .promo-mini strong,
  .promo-mini small{
    white-space:normal;
  }

  /* CTA */
  .cta-row-clean,
  .home-bottom,
  .side-stack{
    grid-template-columns:1fr!important;
  }

  .cta{
    padding:22px!important;
  }

  /* Interior hero */
  .page-hero{
    min-height:auto!important;
    padding:30px 0!important;
  }

  .page-hero-inner{
    display:block!important;
  }

  .page-hero h1{
    font-size:36px!important;
    line-height:1.05!important;
    overflow-wrap:anywhere;
  }

  .page-hero-symbol{
    display:none!important;
  }

  .page-main .entry-content{
    padding:18px!important;
    border-radius:20px!important;
    overflow:hidden;
  }

  /* Generic forms */
  .cse-form input,
  .cse-form select,
  .cse-form textarea,
  .cse-form button{
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  .cse-member-grid,
  .cse-account-grid,
  .cse-cv-form-grid,
  .cse-cv-three,
  .cse-cv-live,
  .cse-cv-denoms,
  .cse-contact-layout{
    grid-template-columns:1fr!important;
  }

  .cse-member-card,
  .cse-contact-card,
  .cse-cv-table-card{
    padding:18px!important;
    border-radius:18px!important;
  }

  .cse-member-heading{
    align-items:flex-start!important;
  }

  .cse-member-heading h2{
    font-size:24px!important;
    line-height:1.1;
  }

  .cse-member-links{
    flex-direction:column!important;
    gap:8px!important;
  }

  /* Contact */
  .cse-contact-intro{
    padding:20px!important;
  }

  .cse-contact-intro h2{
    font-size:28px!important;
  }

  /* Billetterie */
  .cse-ticket-grid{
    grid-template-columns:1fr!important;
  }

  .cse-ticket-media{
    height:190px!important;
  }

  .cse-ticket-prices{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  .cse-ticket-body{
    padding:16px!important;
  }

  /* Chèques-vacances */
  .cse-cv-digital-head,
  .cse-cv-hero{
    display:block!important;
    padding:20px!important;
  }

  .cse-cv-digital-head h2,
  .cse-cv-hero h2{
    font-size:28px!important;
    line-height:1.08!important;
  }

  .cse-cv-lock{
    display:inline-block;
    margin-top:14px;
    white-space:normal!important;
  }

  .cse-cv-download{
    margin-top:18px;
  }

  .cse-cv-live{
    gap:8px!important;
  }

  .cse-cv-live>div{
    padding:13px!important;
  }

  .cse-cv-table-scroll{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch;
  }

  .cse-cv-table{
    min-width:760px!important;
    font-size:12px!important;
  }

  /* Sorties */
  .grid,
  .grid.g2,
  .grid.g3,
  .cse-sorties-grid,
  .cse-sorties{
    grid-template-columns:1fr!important;
  }

  .card.cse-sortie-card{
    min-width:0!important;
  }

  .card.cse-sortie-card > img.cse-sortie-image,
  .card.cse-sortie-card > img.wp-post-image{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:420px!important;
    object-fit:contain!important;
  }

  .card-body{
    padding:16px!important;
  }

  .card h3,
  .cse-sortie-card h3{
    font-size:20px!important;
    line-height:1.2!important;
    overflow-wrap:anywhere;
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:1fr!important;
    gap:26px!important;
  }

  .footer-bottom{
    flex-direction:column!important;
    gap:8px!important;
    align-items:flex-start!important;
  }
}

@media(max-width:420px){

  .wrap{
    width:min(100% - 20px, 1180px);
  }

  .hero-home h1{
    font-size:33px!important;
  }

  .page-hero h1{
    font-size:31px!important;
  }

  .title,
  .section-head .title{
    font-size:27px!important;
  }

  .visual-card p{
    max-width:100%;
  }

  .cse-ticket-media{
    height:165px!important;
  }

  .cse-member-card,
  .page-main .entry-content{
    padding:15px!important;
  }
}


/* V4.5 — Menu mobile */
.site-header{position:relative;z-index:1000}
.menu-btn{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
@media(max-width:820px){
  .header-inner{position:relative;z-index:1002}
  .navbar{
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    z-index:1001!important;
    background:#fff!important;
    box-shadow:0 18px 35px rgba(17,47,74,.16)!important;
  }
  .site-header.open .navbar{display:block!important}
  .site-header.open .navbar .wrap{max-height:calc(100vh - 82px);overflow-y:auto}
}


/* ==========================================================
   ASTREA V5.1 — PREMIUM COLOR
   Base V4.5 conservée : plus visuel, mais sans effet "flyer"
   ========================================================== */
:root{
 --ast-blue:#0a4f7d;
 --ast-blue-deep:#123a59;
 --ast-sky:#139bd0;
 --ast-teal:#18a6a2;
 --ast-orange:#f5820b;
 --ast-yellow:#f5ad22;
 --ast-red:#df3937;
 --ast-ink:#143854;
 --ast-soft:#f4f9fc;
}

/* Header épuré : le vrai logo reste la signature visuelle */
.site-header{background:rgba(255,255,255,.97);box-shadow:0 1px 0 rgba(12,66,101,.08)}
.brand-logo-wrap{
 width:72px;height:72px;padding:4px;border-radius:50%;background:#fff;
 box-shadow:0 9px 26px rgba(8,73,112,.10)
}
.brand-logo{width:64px;height:64px;object-fit:contain}
.brand-copy strong{color:var(--ast-blue-deep)}
.account{background:linear-gradient(135deg,var(--ast-blue-deep),var(--ast-sky));box-shadow:0 10px 25px rgba(9,92,140,.18)}
.nav a{border-radius:12px}
.nav a:hover,.nav .current-menu-item>a,.nav .current_page_item>a{
 background:#eaf8f8;color:#0b8e8a
}

/* Grand hero premium : bleu dominant, couleur par petites touches */
.hero{
 background:
 radial-gradient(circle at 91% 10%,rgba(255,255,255,.12),transparent 26rem),
 radial-gradient(circle at 75% 85%,rgba(245,130,11,.13),transparent 18rem),
 linear-gradient(120deg,#123a59 0%,#075e83 52%,#16a5a4 100%);
}
.hero-home:after{background:rgba(245,130,11,.18)}
.hero h1{letter-spacing:-.045em}
.hero-badge{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.22)}
.hero-art img{filter:drop-shadow(0 24px 35px rgba(0,35,55,.22))}
.hero-orbit{border-color:rgba(255,255,255,.19)}
.btn{background:linear-gradient(135deg,var(--ast-orange),#ff9e1b);box-shadow:0 10px 25px rgba(245,130,11,.20)}
.hero-secondary{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.25)}

/* Cartes : couleur = accent, pas fond criard */
.quick-card,.feature-card,.news-card,.sortie-card,.ticket-card{
 border:1px solid #e1edf3;box-shadow:0 14px 38px rgba(10,65,99,.075)
}
.quick-card:nth-child(4n+1){border-top:4px solid var(--ast-teal)}
.quick-card:nth-child(4n+2){border-top:4px solid var(--ast-orange)}
.quick-card:nth-child(4n+3){border-top:4px solid var(--ast-sky)}
.quick-card:nth-child(4n+4){border-top:4px solid var(--ast-red)}
.quick-icon{
 background:linear-gradient(145deg,#e8f8f7,#edf8fd);color:var(--ast-blue)
}
.eyebrow,.section-link{color:#0b9691}
.badge{background:#e7f8f6;color:#0b8f8b}
.cse-price{color:var(--ast-orange)}

/* Les grands blocs visuels gardent des couleurs riches mais maîtrisées */
.visual-green{background:linear-gradient(145deg,#0b7f91,#18aaa3)}
.visual-purple{background:linear-gradient(145deg,#0b5784,#138fc2)}
.visual-orange{background:linear-gradient(145deg,#d95b20,#f58a0c)}
.visual-blue{background:linear-gradient(145deg,#b92f38,#e54b38)}
.visual-card{box-shadow:0 18px 42px rgba(8,65,99,.13)}
.visual-card:after{opacity:.72}

/* Une seule bande colorée forte en milieu de page */
.promo-band{
 background:
 radial-gradient(circle at 86% 10%,rgba(245,173,34,.22),transparent 16rem),
 linear-gradient(118deg,#123a59,#08739a 58%,#18a6a2)!important;
 border-radius:30px!important
}
.promo-band .btn{background:linear-gradient(135deg,var(--ast-orange),#ff9f1c)}

/* Pages intérieures */
.page-hero{
 background:
 radial-gradient(circle at 88% 0,rgba(255,255,255,.11),transparent 22rem),
 linear-gradient(118deg,#123a59,#08698d 62%,#18a6a2);
 border-bottom:4px solid var(--ast-orange)
}
.page-main .entry-content{box-shadow:0 16px 45px rgba(9,65,99,.07)}
.entry-content a:not(.btn){color:#078f8b}

/* Footer sobre */
.site-footer{
 background:
 radial-gradient(circle at 90% 10%,rgba(245,130,11,.12),transparent 18rem),
 linear-gradient(125deg,#102f49,#0b4e6b 68%,#0d777c)
}
.footer-title{color:#fff}

/* Petits accents issus du logo */
.section-title:after{
 content:"";display:block;width:68px;height:5px;margin-top:12px;border-radius:20px;
 background:linear-gradient(90deg,var(--ast-red) 0 25%,var(--ast-orange) 25% 50%,var(--ast-yellow) 50% 75%,var(--ast-teal) 75%)
}

/* Mobile : priorité à la lisibilité */
@media(max-width:760px){
 .brand-logo-wrap{width:58px;height:58px}.brand-logo{width:51px;height:51px}
 .hero-home{min-height:auto}
 .hero h1{letter-spacing:-.035em}
 .promo-band{border-radius:22px!important}
 .section-title:after{height:4px}
}


/* ==========================================================
   V5.2 — DÉTAIL SORTIE : pictogrammes + métadonnées
   ========================================================== */
/* Les SVG/icônes du détail ne doivent jamais hériter des tailles d'image vedette */
.single-cse_sortie .entry-content svg,
.single-sorties-cse .entry-content svg,
.single-sortie .entry-content svg,
.cse-sortie-detail svg,
.sortie-detail svg,
.sortie-meta svg,
.cse-meta svg{
 width:22px!important;
 height:22px!important;
 min-width:22px!important;
 max-width:22px!important;
 min-height:22px!important;
 max-height:22px!important;
 object-fit:contain!important;
 display:inline-block!important;
 vertical-align:middle!important;
}

/* Même protection si les pictos sont des images */
.single-cse_sortie .sortie-meta img,
.single-sorties-cse .sortie-meta img,
.single-sortie .sortie-meta img,
.cse-sortie-detail .sortie-meta img,
.sortie-detail .sortie-meta img,
.cse-meta img{
 width:22px!important;height:22px!important;max-width:22px!important;
 object-fit:contain!important;display:inline-block!important
}

/* Lignes Lieu / Date / etc. : espacement propre */
.sortie-meta,.cse-meta,.cse-sortie-meta,
.sortie-detail .meta,.cse-sortie-detail .meta{
 display:grid!important;gap:10px!important
}
.sortie-meta>div,.cse-meta>div,.cse-sortie-meta>div,
.sortie-detail .meta>div,.cse-sortie-detail .meta>div{
 display:flex!important;align-items:center!important;gap:9px!important;
 line-height:1.45!important
}

/* Corrige explicitement "LieuHippodrome" lorsqu'il n'y a pas d'espace dans le HTML */
.sortie-meta strong,.cse-meta strong,.cse-sortie-meta strong,
.sortie-detail .meta strong,.cse-sortie-detail .meta strong{
 margin-right:5px!important
}

/* Sécurité ciblée sur les labels texte adjacents */
.sortie-meta .label,.cse-meta .label,.cse-sortie-meta .label,
.sortie-detail .meta .label,.cse-sortie-detail .meta .label{
 display:inline-block!important;margin-right:6px!important
}

/* ASTREA GLOBE V6.1 */
:root{--ast-navy:#123b59;--ast-blue:#1299c8;--ast-turq:#16aaa6;--ast-orange:#f5820b;--ast-yellow:#f7ae20;--ast-red:#df3738}
.site-header{background:#fff;box-shadow:0 7px 28px rgba(11,60,90,.08);position:relative}
.site-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--ast-red),var(--ast-orange),var(--ast-yellow),var(--ast-turq),var(--ast-blue))}
.brand-logo,.custom-logo{object-fit:contain!important}
.hero-home{position:relative;overflow:hidden;background:linear-gradient(120deg,#123b59 0%,#08779a 63%,#17aaa5 100%)!important}
.hero-home:after{content:"";position:absolute;width:440px;height:440px;border-radius:50%;right:-80px;top:-90px;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018)}
.hero-art img{width:min(440px,42vw)!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 24px 34px rgba(0,34,55,.28))}
.hero h1{letter-spacing:-.045em}
.btn{background:linear-gradient(135deg,var(--ast-orange),#ffab22)!important;border-radius:14px!important;box-shadow:0 11px 27px rgba(245,130,11,.24)}
.quick-card,.feature-card,.news-card,.sortie-card,.ticket-card{border-radius:22px!important;border:1px solid rgba(12,77,112,.08)!important;box-shadow:0 15px 38px rgba(8,62,95,.08)!important;transition:.2s ease}
.quick-card:hover,.feature-card:hover,.news-card:hover,.sortie-card:hover,.ticket-card:hover{transform:translateY(-4px);box-shadow:0 21px 45px rgba(8,62,95,.13)!important}
.page-hero{background:linear-gradient(118deg,#123b59,#087b9c 62%,#17aaa5)!important}
.site-footer{background:linear-gradient(120deg,#102f48,#075a73 68%,#0c7777)!important}
@media(max-width:760px){.hero-art img{width:min(290px,78vw)!important}.hero-home:after{width:280px;height:280px}.quick-card,.feature-card,.news-card,.sortie-card,.ticket-card{border-radius:18px!important}}


/* =========================================================
   GLOBE V6.3 — cartes sorties compactes
   ========================================================= */
.sortie-card,
.cse-sortie-card{
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(12,60,88,.09)!important;
  border:1px solid rgba(10,79,111,.08)!important;
}
.sortie-card img,
.cse-sortie-card img{
  width:100%!important;
  aspect-ratio:16/9!important;
  height:auto!important;
  object-fit:cover!important;
}
.cse-card-info-1111{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px 16px 16px;
}
.cse-card-date-1111{
  font-size:13px;
  color:#60798b;
  font-weight:700;
}
.cse-card-registration-1111{
  font-size:13px;
  line-height:1.35;
  color:#36566c;
}
.cse-card-status-1111{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  line-height:1;
  font-weight:800;
}
.cse-card-status-1111.cse-status-ouvert{background:#e5f7ee;color:#147346}
.cse-card-status-1111.cse-status-avenir{background:#e8f4fb;color:#126a96}
.cse-card-status-1111.cse-status-clos{background:#eef0f2;color:#5c6670}
.cse-card-status-1111.cse-status-complet{background:#fff1df;color:#a85b00}
.cse-card-status-1111.cse-status-annule{background:#fde9e9;color:#b32929}
.cse-card-status-1111.cse-status-disponible{background:#e8f7f6;color:#087e7b}

@media(min-width:800px){
 .sorties-grid,.cse-sorties-grid{
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:20px!important;
 }
}
@media(max-width:799px){
 .sorties-grid,.cse-sorties-grid{gap:14px!important}
 .cse-card-info-1111{padding:12px 14px 14px}
}

/* V6.4 — vraies cartes compactes du shortcode [cse_sorties] */
.cse-sorties-compact-grid{
 display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:18px!important;
}
.cse-compact-sortie-card{
 min-width:0;background:#fff;border:1px solid rgba(16,73,104,.09);
 border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(10,60,88,.08);
 transition:transform .18s ease,box-shadow .18s ease;
}
.cse-compact-sortie-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(10,60,88,.12)}
.cse-compact-sortie-image{display:block;background:#eef5f8;aspect-ratio:16/9;overflow:hidden}
.cse-compact-sortie-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.cse-compact-sortie-body{padding:14px 15px 15px}
.cse-compact-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}
.cse-compact-type{font-size:10px;font-weight:900;letter-spacing:.06em;color:#078e8a}
.cse-compact-status{font-size:10px;font-weight:850;padding:5px 8px;border-radius:999px;white-space:nowrap}
.cse-compact-sortie-card h3{font-size:18px!important;line-height:1.15!important;margin:0 0 12px!important}
.cse-compact-sortie-card h3 a{text-decoration:none;color:#103b59}
.cse-compact-row{display:grid;grid-template-columns:25px 1fr;gap:7px;align-items:start;padding:7px 0;border-top:1px solid #edf2f5}
.cse-compact-row>span{font-size:14px}
.cse-compact-row small{display:block;text-transform:uppercase;letter-spacing:.05em;font-size:9px;color:#7890a0;font-weight:800}
.cse-compact-row strong{display:block;font-size:12px;line-height:1.3;color:#294e65}
.cse-compact-link{display:inline-block;margin-top:10px;font-size:12px;font-weight:850;color:#078e8a;text-decoration:none}
.cse-compact-status.cse-status-ouvert{background:#e5f7ee;color:#147346}
.cse-compact-status.cse-status-avenir{background:#e8f4fb;color:#126a96}
.cse-compact-status.cse-status-clos{background:#eef0f2;color:#5c6670}
.cse-compact-status.cse-status-complet{background:#fff1df;color:#a85b00}
.cse-compact-status.cse-status-annule{background:#fde9e9;color:#b32929}
.cse-compact-status.cse-status-disponible{background:#e8f7f6;color:#087e7b}
@media(max-width:950px){.cse-sorties-compact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.cse-sorties-compact-grid{grid-template-columns:1fr!important}.cse-compact-sortie-card{display:grid;grid-template-columns:120px 1fr}.cse-compact-sortie-image{aspect-ratio:auto;height:100%;min-height:170px}.cse-compact-top{align-items:flex-start;flex-direction:column}.cse-compact-sortie-card h3{font-size:16px!important}}

/* V6.6 — lien Guide ASC */
.cse-guide-nav-link{white-space:nowrap}
@media(max-width:900px){
 .cse-guide-nav-link{width:100%;display:block}
}


/* =========================================================
   V6.7 — AVANTAGES : cartes compactes et grille dense
   ========================================================= */

/* Conteneurs/grilles les plus courants de la page Avantages */
body.page-avantages .avantages-grid,
body.page-avantages .advantages-grid,
body.page-avantages .partners-grid,
body.page-avantages .partenaires-grid,
body.page-avantages .cse-avantages-grid,
body.page-avantages main .wp-block-group:has(.avantage-card),
body.page-avantages main .wp-block-group:has(.partner-card){
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
}

/* Cartes */
body.page-avantages .avantage-card,
body.page-avantages .advantage-card,
body.page-avantages .partner-card,
body.page-avantages .partenaire-card,
body.page-avantages .cse-avantage-card,
body.page-avantages article[class*="avantage"],
body.page-avantages article[class*="partner"],
body.page-avantages article[class*="partenaire"]{
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:16px!important;
  border-radius:18px!important;
  background:#fff!important;
  border:1px solid #e4edf2!important;
  box-shadow:0 8px 22px rgba(10,60,88,.07)!important;
  margin:0!important;
}

/* Logo : on évite les énormes zones blanches */
body.page-avantages .avantage-card img,
body.page-avantages .advantage-card img,
body.page-avantages .partner-card img,
body.page-avantages .partenaire-card img,
body.page-avantages .cse-avantage-card img,
body.page-avantages article[class*="avantage"] img,
body.page-avantages article[class*="partner"] img,
body.page-avantages article[class*="partenaire"] img{
  display:block!important;
  width:auto!important;
  max-width:125px!important;
  height:52px!important;
  max-height:52px!important;
  object-fit:contain!important;
  object-position:left center!important;
  margin:0 0 12px!important;
}

/* Titres / texte compacts */
body.page-avantages article[class*="avantage"] h2,
body.page-avantages article[class*="avantage"] h3,
body.page-avantages article[class*="partner"] h2,
body.page-avantages article[class*="partner"] h3,
body.page-avantages article[class*="partenaire"] h2,
body.page-avantages article[class*="partenaire"] h3,
body.page-avantages .avantage-card h2,
body.page-avantages .avantage-card h3,
body.page-avantages .partner-card h2,
body.page-avantages .partner-card h3{
  font-size:17px!important;
  line-height:1.2!important;
  margin:4px 0 8px!important;
}
body.page-avantages .avantage-card p,
body.page-avantages .advantage-card p,
body.page-avantages .partner-card p,
body.page-avantages .partenaire-card p,
body.page-avantages article[class*="avantage"] p,
body.page-avantages article[class*="partner"] p,
body.page-avantages article[class*="partenaire"] p{
  font-size:13px!important;
  line-height:1.4!important;
  margin:5px 0!important;
}

/* Recherche + catégories restent sur toute la largeur */
body.page-avantages input[type="search"]{min-height:44px!important;border-radius:13px!important}
body.page-avantages .filters,
body.page-avantages .categories,
body.page-avantages .avantages-filters{gap:7px!important;margin-bottom:18px!important}

/* Tablette */
@media(max-width:980px){
 body.page-avantages .avantages-grid,
 body.page-avantages .advantages-grid,
 body.page-avantages .partners-grid,
 body.page-avantages .partenaires-grid,
 body.page-avantages .cse-avantages-grid{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}

/* Smartphone */
@media(max-width:620px){
 body.page-avantages .avantages-grid,
 body.page-avantages .advantages-grid,
 body.page-avantages .partners-grid,
 body.page-avantages .partenaires-grid,
 body.page-avantages .cse-avantages-grid{
   grid-template-columns:1fr!important;
   gap:11px!important;
 }
 body.page-avantages .avantage-card,
 body.page-avantages .advantage-card,
 body.page-avantages .partner-card,
 body.page-avantages .partenaire-card,
 body.page-avantages .cse-avantage-card,
 body.page-avantages article[class*="avantage"],
 body.page-avantages article[class*="partner"],
 body.page-avantages article[class*="partenaire"]{
   padding:13px!important;
 }
 body.page-avantages .avantage-card img,
 body.page-avantages .partner-card img,
 body.page-avantages article[class*="avantage"] img,
 body.page-avantages article[class*="partner"] img,
 body.page-avantages article[class*="partenaire"] img{
   height:42px!important;
   max-height:42px!important;
   max-width:105px!important;
 }
}


/* ========================================================
   Globe 6.8.3 — corrections ciblées, sans toucher aux styles
   métier du Core (billetterie, demandes, actualités sociales).
   ======================================================== */
/* Articles WordPress classiques : affichage intégral et lisible. */
.cse-article-main{max-width:980px;padding-top:25px;padding-bottom:56px}
.cse-article-back{margin:0 0 16px}
.cse-article-back a{display:inline-block;color:#087b86;font-weight:800}
.cse-article-full{padding:clamp(20px,4vw,42px);overflow-wrap:anywhere}
.cse-article-full .cse-article-cover{margin:0 0 24px}
.cse-article-full .cse-article-cover img{display:block;width:100%;height:auto;border-radius:17px}
.cse-article-full iframe,.cse-article-full video{max-width:100%}
.cse-article-full .wp-block-image img{height:auto}
/* Navigation clavier sur les interactions du thème. */
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible,
.cse-article-main a:focus-visible,
.visual-card:focus-visible,
.section-link:focus-visible,
.news-card a:focus-visible{
  outline:3px solid #0a6676;
  outline-offset:3px;
}
/* Le menu mobile doit rester dans l'écran sur les petits téléphones. */
@media(max-width:760px){
  .site-header.open .navbar{max-height:min(75vh,calc(100dvh - 82px));overflow-y:auto;overscroll-behavior:contain}
  .cse-article-main{padding-top:20px;padding-bottom:38px}
  .cse-article-full{padding:20px}
}
/* Respect de la préférence utilisateur de réduction des mouvements. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-spark,.floating-card,.hero-logo-card,.visual-card,.card,.btn{
    animation:none!important;transition:none!important;
  }
}
