/* =========================================================
   ASTROBASE — Clean overrides (V2.1)
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */
body.astrobase{
  --bg: #0b0b0b;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --soft: rgba(255,255,255,.52);

  --panel: rgba(255,255,255,.045);
  --border: rgba(255,255,255,.10);

  --accent: #ff2b45;
  --accent-soft: rgba(255,43,69,.14);
  --accent-border: rgba(255,43,69,.38);

  --container: 1280px;
  --px: 18px;

  --radius-1: 14px;
  --radius-2: 16px;
  --radius-3: 18px;

  --shadow-1: 0 10px 30px rgba(0,0,0,.35);
}

html,
body{
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
}


/* =========================
   BASE LAYOUT
   ========================= */
body.astrobase{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
    overflow-y: auto;
}

body.astrobase .site-main{
  flex: 1 0 auto;
  width: 100%;
  background: transparent;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
}

body.astrobase .site-footer{
  flex: 0 0 auto;
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
}

body.astrobase .astro-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* =========================
   HEADER
   ========================= */
body.astrobase .astro-header{
  position: sticky;
  top: 0;
  z-index: 3000;
  background: rgba(15,15,15,0.90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.astrobase .astro-header__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px var(--px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

body.astrobase .astro-header__brand img{
  height: 42px;
  width: auto;
  display: block;
}

@media (max-width: 767px){
  body.astrobase .astro-header__brand img{ height: 34px; }
}

body.astrobase .astro-nav--desktop{
  display: flex;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
  overflow: hidden;
}

body.astrobase .astro-nav--desktop a{
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1;
  padding: 16px 0;
  letter-spacing: 0.01em;
  text-decoration: none;
}

body.astrobase .astro-nav--desktop a:hover{ color: #fff; }

body.astrobase .astro-header__actions{
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  justify-self: end;
}

body.astrobase .astro-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  background: rgba(255,255,255,0.06);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

body.astrobase .astro-btn--primary{
  background: #fff;
  color: #111;
  border-color: rgba(255,255,255,0.25);
}

body.astrobase .astro-btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.22);
}

body.astrobase .astro-btn--full{ width: 100%; }

body.astrobase .astro-btn--primary:hover{
  box-shadow: 0 0 0 3px var(--accent-soft);
  transform: translateY(-1px);
}

body.astrobase .astro-btn--ghost:hover{
  border-color: rgba(255,43,69,.55);
  background: rgba(255,43,69,.08);
}

body.astrobase .astro-iconbtn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: #fff;
  text-decoration: none;
}

/* =========================
   BURGER + DRAWER
   ========================= */
body.astrobase .astro-burger{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  padding: 0 12px;
  gap: 5px;
  flex-direction: column;
}

body.astrobase .astro-burger span{
  height: 2px;
  width: 100%;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
  display: block;
}

body.astrobase .astro-nav__toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.astrobase .astro-nav__overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 4000;
}

body.astrobase .astro-nav--mobile{
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(92vw, 420px);
  min-width: 320px;
  box-sizing: border-box;
  background: #0b0b0b;
  border-left: 1px solid rgba(255,255,255,0.10);
  z-index: 4001;
  transform: translateX(100%);
  transition: transform .18s ease;
  padding: 14px 14px 24px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 360px){
  body.astrobase .astro-nav--mobile{
    min-width: 0;
    width: 92vw;
  }
}

body.astrobase .astro-nav__mobile-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 10px;
}

body.astrobase .astro-nav__title{
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.astrobase .astro-iconbtn--close{
  cursor: pointer;
  user-select: none;
}

body.astrobase .astro-nav__mobile-links a{
  display: block;
  padding: 14px 10px;
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}

body.astrobase .astro-nav__mobile-links a:hover{
  background: rgba(255,255,255,0.06);
}

body.astrobase .astro-nav__mobile-cta{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

body.astrobase .astro-nav__toggle:checked ~ .astro-nav__overlay{ display: block; }
body.astrobase .astro-nav__toggle:checked ~ .astro-nav--mobile{ transform: translateX(0); }

body.astrobase:has(.astro-nav__toggle:checked){
  overflow: hidden;
}

@media (max-width: 1240px){
  body.astrobase .astro-nav--desktop{ display: none; }
  body.astrobase .astro-burger{ display: inline-flex; }

  body.astrobase .astro-header__actions .astro-btn--primary,
  body.astrobase .astro-header__actions .astro-iconbtn{
    display: none !important;
  }
}

/* =========================
   HOME
   ========================= */
body.astrobase .astro-home{ color: var(--text); }

/* HERO */
body.astrobase .astro-hero{
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

body.astrobase .astro-hero__bg{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 30% 18%, rgba(255,255,255,0.08), transparent 70%),
    radial-gradient(720px 420px at 80% 38%, rgba(255,43,69,0.12), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.75) 60%, rgba(11,11,11,1) 100%),
    url("../images/home/hero.jpg");
  background-size: cover;
  background-position: center;
}

body.astrobase .astro-hero__grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: start;
}

body.astrobase .astro-hero__content{ max-width: 820px; }

body.astrobase .astro-hero__title{
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.96);
}

body.astrobase .astro-hero__subtitle{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 70ch;
}

body.astrobase .astro-hero__kicker{
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--soft);
}

body.astrobase .astro-hero__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.astrobase .astro-br-md{ display: none; }
@media (min-width: 768px){
  body.astrobase .astro-br-md{ display: inline; }
}

body.astrobase .astro-hero__visual{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

body.astrobase .astro-hero__visual::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.35) 100%
  );
  pointer-events:none;
}

body.astrobase .astro-hero__badges{
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

body.astrobase .astro-hero__badges span{
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Hero slider */
body.astrobase .hero-image-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

body.astrobase .hero-image-slider .hero-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform .8s ease;
  filter: brightness(0.9) contrast(1.08) saturate(1.12);
}

body.astrobase .hero-image-slider .hero-slide.active{
  opacity: 1;
  z-index: 2;
}

body.astrobase .astro-hero__visual:hover .hero-slide.active{
  transform: scale(1.03);
}

/* SECTIONS */
body.astrobase .astro-section{
  padding: 84px 0;
}

body.astrobase .astro-section + .astro-section{
  border-top: 1px solid rgba(255,43,69,.10);
}

body.astrobase .astro-section__head{ margin-bottom: 18px; }

body.astrobase .astro-h2,
body.astrobase .astro-h3{
  color: rgba(255,255,255,.94);
  opacity: 1;
}

body.astrobase .astro-h2{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 12px;
}

body.astrobase .astro-h2::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 56px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  opacity: .95;
}

body.astrobase .astro-h3{
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 10px;
}

body.astrobase .astro-h3::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width: 34px;
  height: 2px;
  background: rgba(255,43,69,.75);
  border-radius: 999px;
  opacity: .95;
}

body.astrobase .astro-p{
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 70ch;
}

body.astrobase .astro-p--lead{
  font-size: 15px;
  color: rgba(255,255,255,.82);
}

/* GRID */
body.astrobase .astro-grid-2{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 992px){
  body.astrobase .astro-grid-2{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

/* CARDS */
body.astrobase .astro-card{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-3);
  padding: 28px;
  transition: transform .25s ease, border-color .25s ease;
}

body.astrobase .astro-card:hover{
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.18);
}

body.astrobase .astro-card__actions{ margin-top: 6px; }

body.astrobase .astro-link{
  color: rgba(255,255,255,0.90);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-border);
  padding-bottom: 2px;
}

body.astrobase .astro-link:hover{
  color: rgba(255,255,255,.98);
  border-bottom-color: rgba(255,43,69,.7);
}

/* SPLIT */
body.astrobase .astro-section--split{ padding-top: 84px; }

body.astrobase .astro-split{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

@media (min-width: 992px){
  body.astrobase .astro-split{
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
  }
}

body.astrobase .astro-split__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* MEDIA */
body.astrobase .astro-split__media{
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

body.astrobase .astro-media{
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-3);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

body.astrobase .astro-media--plateau{
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%),
    url("../images/home/plateau.jpg");
  background-size: cover;
  background-position: center;
}

body.astrobase .astro-media-img{
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-3);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

body.astrobase .astro-badges{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

body.astrobase .astro-badge{
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: rgba(255,255,255,.88);
}

/* QUOTE */
body.astrobase .astro-quote{
  border-left: 2px solid rgba(255,255,255,0.16);
  padding-left: 14px;
}

/* MINI + STATS */
body.astrobase .astro-mini{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

@media (min-width: 992px){
  body.astrobase .astro-mini{
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
  }
}

body.astrobase .astro-mini__stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.astrobase .astro-stat{
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-1);
  padding: 12px;
}

body.astrobase .astro-stat__n{
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 6px;
  color: rgba(255,255,255,.92);
}

body.astrobase .astro-stat__t{
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

/* CTA */
body.astrobase .astro-cta{
  padding: 44px 0 64px;
}

body.astrobase .astro-cta__box{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius: var(--radius-3);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 992px){
  body.astrobase .astro-cta__box{
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 18px;
    padding: 22px;
  }
}

body.astrobase .astro-cta__actions{
  display: grid;
  gap: 10px;
}

/* FORMATS STUDIO */
body.astrobase .astro-formats{
  padding: 60px 0 70px;
}

body.astrobase .astro-formats-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

@media (min-width:768px){
  body.astrobase .astro-formats-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (min-width:1100px){
  body.astrobase .astro-formats-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

body.astrobase .astro-format{
  position:relative;
  display:block;
  border-radius:16px;
  overflow:hidden;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.35);
}

body.astrobase .astro-format img{
  width:100%;
  height:210px;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}

body.astrobase .astro-format:hover img{
  transform:scale(1.06);
}

body.astrobase .astro-format span{
  position:absolute;
  bottom:12px;
  left:12px;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(6px);
  padding:6px 12px;
  border-radius:20px;
  font-size:13px;
  color:#fff;
}

body.astrobase .astro-format::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events:none;
}

/* RESPONSIVE HOME */
@media (max-width: 991px){
  body.astrobase .astro-media-img{
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 900px){
  body.astrobase .astro-hero{ padding: 96px 0 68px; }
  body.astrobase .astro-hero__grid{ grid-template-columns: 1fr; gap: 18px; }
  body.astrobase .astro-section{ padding: 64px 0; }
}

/* =========================
   FOOTER
   ========================= */
body.astrobase .site-footer{
  background: #0b0b0b !important;
  color: rgba(255,255,255,.82) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 0 !important;
}

body.astrobase .site-footer__top,
body.astrobase .site-footer__bottom{
  background: transparent !important;
}

body.astrobase .site-footer__top{
  padding: 22px 0 12px !important;
}

body.astrobase .site-footer .footer-widget__column{
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.astrobase .footer-widget__logo img{
  max-width: 150px;
  height: auto;
  display: block;
}

@media (max-width: 991px){
  body.astrobase .footer-widget__logo img{ max-width: 130px; }
}

body.astrobase .site-footer,
body.astrobase .site-footer p,
body.astrobase .site-footer a,
body.astrobase .site-footer li,
body.astrobase .site-footer span{
  color: rgba(255,255,255,.78) !important;
}

body.astrobase .site-footer a:hover{
  color: rgba(255,255,255,.95) !important;
}

body.astrobase .site-footer ul,
body.astrobase .site-footer li{
  margin: 0 !important;
  padding: 0 !important;
}

body.astrobase .site-footer li{
  margin-bottom: 6px !important;
}

body.astrobase .site-footer__bottom{
  padding: 10px 0 !important;
  margin: 0 !important;
  border-top: 1px solid rgba(255,43,69,.12) !important;
}

body.astrobase .site-footer__bottom-inner{
  padding: 0 !important;
  margin: 0 !important;
}

body.astrobase .site-footer__bottom-text{
  margin: 0 !important;
}

body.astrobase .site-footer .wow{
  visibility: visible !important;
  animation: none !important;
}

/* Instagram */
body.astrobase .astro-footer__ig,
body.astrobase .footer-widget__gallery{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  margin-left: 0 !important;
}

body.astrobase .astro-footer__ig-title,
body.astrobase .footer-widget__title-box{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  text-align: center !important;
  margin-bottom: 12px !important;
}

body.astrobase .footer-widget__title{
  margin: 0 !important;
  line-height: 1.1 !important;
}

body.astrobase .astro-footer__ig-grid,
body.astrobase .footer-widget__gallery-list{
  display: grid !important;
  grid-template-columns: repeat(3, 86px) !important;
  gap: 10px !important;
  justify-content: center !important;
  align-content: start !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.astrobase .footer-widget__gallery-img{
  width: 86px !important;
  height: 86px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

body.astrobase .footer-widget__gallery-img img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

@media (max-width: 991px){
  body.astrobase .astro-footer__ig-grid,
  body.astrobase .footer-widget__gallery-list{
    grid-template-columns: repeat(3, 76px) !important;
  }

  body.astrobase .footer-widget__gallery-img{
    width: 76px !important;
    height: 76px !important;
  }
}

/* TEXTE */
body.astrobase {
  font-family: 'Space Grotesk', sans-serif;
}

/* TITRES */
body.astrobase h1,
body.astrobase h2,
body.astrobase h3,
body.astrobase h4,
body.astrobase .astro-hero__title,
body.astrobase .astro-h2,
body.astrobase .astro-h3 {
  font-family: 'Space Grotesk', serif;
}

/* CONTACT */

.astro-contact-wrap{
max-width:760px;
margin:40px auto 0;
}

.astro-contact-form{
display:block;
}

.astro-contact-grid{
display:grid;
grid-template-columns:1fr;
gap:18px;
}

@media (min-width:768px){

.astro-contact-grid{
grid-template-columns:1fr 1fr;
}

}

.astro-field{
display:flex;
flex-direction:column;
gap:6px;
}

.astro-field--full{
grid-column:1 / -1;
}

.astro-field label{
font-size:13px;
color:rgba(255,255,255,.75);
}

.astro-field input,
.astro-field textarea{

background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.15);
border-radius:10px;

padding:12px 14px;
color:#fff;

font-family:'Space Grotesk',sans-serif;

}

.astro-field textarea{
resize:vertical;
min-height:160px;
}

.astro-contact-submit{
margin-top:20px;
}

body.astrobase .astro-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

body.astrobase .astro-toast{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 420px;
  padding: 14px 18px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}

body.astrobase .astro-toast-success{
  background: rgba(22,163,74,.96);
}

body.astrobase .astro-toast-error{
  background: rgba(220,38,38,.96);
}

body.astrobase .astro-toast--hide{
  opacity: 0;
  transform: translateY(12px);
}/* =========================
   HOME — formats cliquables
   ========================= */

.astro-format{
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: block;
}

.astro-format img{
  display: block;
  width: 100%;
}

.astro-format span{
  display: block;
}

.astro-format:focus-visible{
  outline: 2px solid rgba(255,43,69,.9);
  outline-offset: 4px;
  border-radius: 10px;
}

/* =========================
   HOME — modals formats
   ========================= */

body.astro-modal-open{
  overflow: hidden;
}

.astro-modal[hidden]{
  display: none !important;
}

.astro-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.astro-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}

.astro-modal__dialog{
  position: relative;
  z-index: 1;
  width: min(760px, calc(100vw - 32px));
  margin: 6vh auto;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  overflow: hidden;
}

.astro-modal__content{
  padding: 32px;
}

.astro-modal__eyebrow{
  margin: 0 0 8px;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.astro-modal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.astro-modal__close:hover{
  background: rgba(255,255,255,.14);
}

.astro-modal__actions{
  margin-top: 24px;
}

@media (max-width: 640px){
  .astro-modal__dialog{
    width: min(100vw - 20px, 760px);
    margin: 16px auto;
  }

  .astro-modal__content{
    padding: 22px;
  }
}/* rendre les cartes cliquables sans changer leur style */

.astro-format{
border:0;
background:none;
padding:0;
cursor:pointer;
text-align:left;
}

/* MODAL */

.astro-modal{
position:fixed;
inset:0;
z-index:999;
display:flex;
align-items:center;
justify-content:center;
}

.astro-modal-bg{
position:absolute;
inset:0;
background:rgba(0,0,0,.75);
}

.astro-modal-box{
position:relative;
background:#111;
color:white;
padding:40px;
border-radius:14px;
max-width:700px;
z-index:2;
}

.astro-modal-close{
position:absolute;
top:12px;
right:12px;
border:0;
background:none;
color:white;
font-size:24px;
cursor:pointer;
}


/* =========================
   HOME — cartes formats
   ========================= */

.astro-formats-grid .astro-format{
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: none !important;
}

.astro-formats-grid .astro-format img{
  display: block;
  width: 100%;
  height: auto;
}

.astro-formats-grid .astro-format span{
  display: inline-flex;
  align-items: center;
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
}

.astro-formats-grid .astro-format:focus,
.astro-formats-grid .astro-format:focus-visible,
.astro-formats-grid .astro-format:hover,
.astro-formats-grid .astro-format:active{
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* si la carte n'est pas déjà en position relative dans ton CSS */
.astro-formats-grid .astro-format{
  position: relative;
}

/* =========================
   ENTREPRISES — packs visuels
   ========================= */

.astro-formats-grid .astro-format--price{
  -webkit-appearance:none;
  appearance:none;
  position:relative;
  display:block;
  width:100%;
  padding:0;
  margin:0;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:22px;
  overflow:hidden;
  cursor:pointer;
  text-align:left;
  box-shadow:none !important;
}

.astro-formats-grid .astro-format--price img{
  display:block;
  width:100%;
  height:auto;
}

.astro-formats-grid .astro-format--price span,
.astro-formats-grid .astro-format__pill{
  position:absolute;
  left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(10,10,10,.72);
  color:#fff;
  font-size:.92rem;
  line-height:1.2;
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}

.astro-formats-grid .astro-format--price span{
  bottom:54px;
}

.astro-formats-grid .astro-format__pill--price{
  bottom:14px;
  font-style:normal;
  font-weight:600;
}

.astro-formats-grid .astro-format--price:focus,
.astro-formats-grid .astro-format--price:focus-visible,
.astro-formats-grid .astro-format--price:hover,
.astro-formats-grid .astro-format--price:active{
  background:transparent !important;
  box-shadow:none !important;
  outline:none !important;
}

/* =========================
   MODALS — scroll interne
   ========================= */

body.astro-modal-open{
  overflow:hidden;
}

.astro-modal[hidden]{
  display:none !important;
}

.astro-modal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.astro-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(4px);
}

.astro-modal__dialog{
  position:relative;
  z-index:1;
  width:min(860px, calc(100vw - 32px));
  max-height:88vh;
  margin:4vh auto;
  background:#111;
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.45);
  overflow:hidden;
}

.astro-modal__content{
  padding:32px;
  max-height:88vh;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.28) transparent;
}

.astro-modal__content::-webkit-scrollbar{
  width:10px;
}

.astro-modal__content::-webkit-scrollbar-track{
  background:transparent;
}

.astro-modal__content::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.22);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}

.astro-modal__eyebrow{
  margin:0 0 8px;
  font-size:.82rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.55);
}

.astro-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:24px;
  line-height:1;
}

.astro-modal__close:hover{
  background:rgba(255,255,255,.14);
}

.astro-modal__actions{
  margin-top:24px;
}

@media (max-width:640px){
  .astro-modal__dialog{
    width:min(100vw - 20px, 860px);
    margin:16px auto;
  }

  .astro-modal__content{
    padding:22px;
  }

  .astro-formats-grid .astro-format--price span{
    left:12px;
    bottom:54px;
    font-size:.86rem;
    padding:7px 12px;
  }

  .astro-formats-grid .astro-format__pill--price{
    left:12px;
    bottom:12px;
    font-size:.84rem;
    padding:7px 12px;
  }
}

.astro-formats-grid .astro-format--price{
  -webkit-appearance:none;
  appearance:none;
  position:relative;
  display:block;
  width:100%;
  padding:0;
  margin:0;
  background:transparent !important;
  border:1px solid rgba(255,255,255,.12) !important;
  border-radius:22px;
  overflow:hidden;
  cursor:pointer;
  text-align:left;
  box-shadow:none !important;
}

.astro-formats-grid .astro-format--price img{
  display:block;
  width:100%;
  height:auto;
}

.astro-formats-grid .astro-format--price span,
.astro-formats-grid .astro-format__pill{
  position:absolute;
  left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  padding:6px 11px;
  border-radius:999px;
  background:rgba(10,10,10,.72);
  color:#fff;
  font-size:.78rem;
  line-height:1.15;
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(8px);
}

.astro-formats-grid .astro-format--price span{
  bottom:44px;
  font-weight:500;
}

.astro-formats-grid .astro-format__pill--price{
  bottom:12px;
  font-style:normal;
  font-weight:600;
  font-size:.74rem;
  letter-spacing:.01em;
}

.astro-formats-grid .astro-format--price:focus,
.astro-formats-grid .astro-format--price:focus-visible,
.astro-formats-grid .astro-format--price:hover,
.astro-formats-grid .astro-format--price:active{
  background:transparent !important;
  box-shadow:none !important;
  outline:none !important;
}

@media (max-width:640px){
  .astro-formats-grid .astro-format--price span,
  .astro-formats-grid .astro-format__pill{
    left:12px;
    padding:5px 10px;
    font-size:.72rem;
  }

  .astro-formats-grid .astro-format--price span{
    bottom:40px;
  }

  .astro-formats-grid .astro-format__pill--price{
    bottom:10px;
    font-size:.69rem;
  }
}

/* =========================
   ENTREPRISES — labels packs
   ========================= */

body.astrobase .astro-format--price{
  position: relative;
}

body.astrobase .astro-format--price .astro-format__label{
  position: absolute !important;
  left: 14px !important;
  bottom: 44px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: rgba(10,10,10,.72) !important;
  color: #fff !important;
  font-size: .78rem !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.astrobase .astro-format--price .astro-format__pill--price{
  position: absolute !important;
  left: 14px !important;
  bottom: 12px !important;
  z-index: 5 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
  background: rgba(10,10,10,.72) !important;
  color: #fff !important;
  font-size: .74rem !important;
  line-height: 1.15 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  backdrop-filter: blur(8px) !important;
  white-space: nowrap !important;
}

@media (max-width: 640px){
  body.astrobase .astro-format--price .astro-format__label{
    left: 12px !important;
    bottom: 40px !important;
    padding: 5px 10px !important;
    font-size: .72rem !important;
  }

  body.astrobase .astro-format--price .astro-format__pill--price{
    left: 12px !important;
    bottom: 10px !important;
    padding: 5px 10px !important;
    font-size: .69rem !important;
  }
}

.astro-grid-3--publics{
  gap: 22px;
}

.astro-card--public{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 220px;
}

.astro-card--public .astro-card__body{
  flex: 1 1 auto;
  min-width: 0;
}

.astro-card--public .astro-card__icon{
  flex: 0 0 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff2b45;
  opacity: 0.95;
}

.astro-card--public .astro-icon-svg{
  width: 110px;
  height: 110px;
  display: block;
  filter: drop-shadow(0 0 12px rgba(255, 43, 69, 0.18));
}

@media (max-width: 980px){
  .astro-card--public{
    flex-direction: column;
    align-items: flex-start;
  }

  .astro-card--public .astro-card__icon{
    margin-top: 6px;
    flex-basis: auto;
  }

  .astro-card--public .astro-icon-svg{
    width: 88px;
    height: 88px;
  }
}

.astro-card--public .astro-p{
  max-width: 420px;
}

.astro-grid-3--publics{
  gap: 22px;
}

.astro-card--public{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 220px;
}

.astro-card--public .astro-card__body{
  flex: 1 1 auto;
  min-width: 0;
}

.astro-card--public .astro-p{
  max-width: 460px;
}

.astro-card--public .astro-card__icon{
  flex: 0 0 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.astro-card--public .astro-icon-img{
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 43, 69, 0.16));
}

@media (max-width: 980px){
  .astro-card--public{
    flex-direction: column;
    align-items: flex-start;
  }

  .astro-card--public .astro-card__icon{
    flex-basis: auto;
    margin-top: 8px;
  }

  .astro-card--public .astro-icon-img{
    width: 92px;
  }
}

.astro-card--public{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.astro-card--public .astro-card__icon{
  flex:0 0 120px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.astro-card--public .astro-icon-img{
  width:90px;
  height:auto;
  object-fit:contain;
  opacity:.9;
  filter: drop-shadow(0 0 8px rgba(255,43,69,.15));
}

.astro-card--public{
  display:grid;
  grid-template-columns: 1fr 120px;
  align-items:center;
  gap:40px;
}

.astro-card--public .astro-card__icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.astro-card--public .astro-icon-img{
  width:85px;
  height:auto;
  object-fit:contain;
  opacity:.9;
  filter: drop-shadow(0 0 10px rgba(255,43,69,.2));
}


.astro-card--public:hover .astro-icon-img{
  transform:scale(1.08);
  transition:transform .25s ease;
}


.astro-card--public:hover .astro-icon-img{
  transform:scale(1.05);
  filter: drop-shadow(0 0 18px rgba(255,43,69,.45));
  transition: all .25s ease;
}

.astro-map-embed{
  width:100%;
  height:420px;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
}

.astro-map-embed iframe{
  width:100%;
  height:100%;
  border:0;
}



.astro-map{
  width: 100%;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  background: #111;
}

.astro-map iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.astro-video-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}

.astro-video-thumb{
  position:relative;
  display:block;
  border-radius:10px;
  overflow:hidden;
}

.astro-video-thumb img{
  width:100%;
  display:block;
  transition:transform .35s ease;
}

.astro-video-thumb:hover img{
  transform:scale(1.05);
}

.astro-play{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:56px;
  height:56px;
  background:rgba(0,0,0,0.6);
  border-radius:50%;
}

.astro-play::before{
  content:"";
  position:absolute;
  top:50%;
  left:55%;
  transform:translate(-50%,-50%);
  border-left:16px solid white;
  border-top:10px solid transparent;
  border-bottom:10px solid transparent;
}

/* Mini carrousel dans modals */
.modal-image-slider {
  position: relative;
  width: 100%;
  height: 300px; /* ou auto selon tes images */
  margin: 1.5rem 0;
  border-radius: var(--radius-2);
  overflow: hidden;
  background: #111;
}

.modal-image-slider img.modal-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.modal-image-slider img.modal-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Flèches simples (optionnel – à styliser plus si tu veux) */
.modal-image-slider::before,
.modal-image-slider::after {
  content: '‹';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0,0,0,0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-image-slider::before { left: 10px; }
.modal-image-slider::after  { right: 10px; content: '›'; }

.modal-image-slider {
  position: relative;
  width: 100%;
  height: 280px;
  margin: 1.5rem 0;
  border-radius: var(--radius-2);
  overflow: hidden;
  background: #111;
}

.modal-image-slider img.modal-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.modal-image-slider img.modal-slide.active {
  opacity: 1;
  z-index: 2;
}

.astro-format-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  color: white;
  pointer-events: none;
  z-index: 3;
}

.carousel-overlay span {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.carousel-overlay .astro-format__price {
  font-size: 1.1rem;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.astro-format-carousel {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  color: white;
  pointer-events: none;
  z-index: 3;
}

.carousel-overlay span {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.carousel-overlay .astro-format__price {
  font-size: 1.1rem;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}


.carousel-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  color: white;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.carousel-badge strong {
  font-size: 0.95rem;
  opacity: 0.9;
}

.astro-format-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 16/9 fixe */
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.20);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  color: white;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.carousel-badge strong {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* =========================================================
   PATCH — resserrage vertical HOME (safe)
   ========================================================= */

/* Sections globales un peu moins aérées */
body.astrobase .astro-section{
  padding: 68px 0;
}

/* Section formats plus compacte */
body.astrobase .astro-formats{
  padding: 44px 0 56px;
}

/* Titres moins éloignés */
body.astrobase .astro-section__head{
  margin-bottom: 14px;
}

/* Zone problématique spécifique (intro → formats) */
body.astrobase .astro-hero + .astro-section{
  padding-bottom: 30px;
}

body.astrobase .astro-hero + .astro-section + .astro-formats{
  padding-top: 30px;
}

/* Texte intro légèrement resserré */
body.astrobase .astro-hero + .astro-section .astro-p{
  margin-bottom: 8px;
}

/* Grille formats plus compacte */
body.astrobase .astro-formats-grid{
  gap: 14px;
}

/* Mobile */
@media (max-width: 900px){
  body.astrobase .astro-section{
    padding: 52px 0;
  }

  body.astrobase .astro-formats{
    padding: 32px 0 42px;
  }

  body.astrobase .astro-hero + .astro-section{
    padding-bottom: 22px;
  }

  body.astrobase .astro-hero + .astro-section + .astro-formats{
    padding-top: 22px;
  }

  body.astrobase .astro-formats-grid{
    gap: 12px;
  }
}

/* =========================================================
   ASTROBASE — ENTREPRISES
   À charger après le CSS principal
   ========================================================= */

body.astrobase .astro-home--entreprises .astro-hero{
  padding: 112px 0 72px;
}

body.astrobase .astro-home--entreprises .astro-hero__grid{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

body.astrobase .astro-home--entreprises .astro-hero__content{
  position: relative;
  z-index: 3;
  max-width: 760px;
}

body.astrobase .astro-home--entreprises .astro-hero__eyebrow{
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}

body.astrobase .astro-home--entreprises .astro-hero__title{
  color: rgba(255,255,255,.98);
  opacity: 1;
  text-shadow: 0 3px 24px rgba(0,0,0,.28);
  max-width: 12ch;
}

body.astrobase .astro-home--entreprises .astro-hero__subtitle{
  color: rgba(255,255,255,.84);
  opacity: 1;
  max-width: 62ch;
}

body.astrobase .astro-home--entreprises .astro-hero__kicker{
  color: rgba(255,255,255,.56);
  opacity: 1;
}

body.astrobase .astro-home--entreprises .astro-hero__bg{
  background:
    radial-gradient(900px 520px at 24% 18%, rgba(255,255,255,0.05), transparent 70%),
    radial-gradient(720px 420px at 84% 34%, rgba(255,43,69,0.16), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.62) 58%, rgba(11,11,11,1) 100%),
    url("../images/home/hero.jpg");
  background-size: cover;
  background-position: center;
}

body.astrobase .astro-home--entreprises .astro-hero__visual{
  box-shadow:
    0 20px 60px rgba(0,0,0,.60),
    0 0 80px rgba(255,43,69,.08);
}

body.astrobase .astro-home--entreprises .astro-section{
  position: relative;
}

body.astrobase .astro-home--entreprises .astro-section::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,43,69,.18),
    transparent
  );
  pointer-events: none;
}

body.astrobase .astro-home--entreprises .astro-section:last-of-type::after{
  display: none;
}

body.astrobase .astro-home--entreprises .astro-section--compact{
  padding-top: 26px;
  padding-bottom: 26px;
}

body.astrobase .astro-home--entreprises .astro-badges--proof{
  gap: 10px;
}

body.astrobase .astro-home--entreprises .astro-card{
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.06),
    rgba(255,255,255,.02)
  );
  backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

body.astrobase .astro-home--entreprises .astro-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,43,69,.38);
}

body.astrobase .astro-home--entreprises .astro-split{
  gap: 28px;
}

body.astrobase .astro-home--entreprises .astro-media-img{
  box-shadow:
    0 22px 58px rgba(0,0,0,.42),
    0 0 40px rgba(255,43,69,.05);
}

body.astrobase .astro-home--entreprises .astro-cta{
  padding-top: 52px;
}

@media (max-width: 991px){
  body.astrobase .astro-home--entreprises .astro-hero{
    padding: 92px 0 60px;
  }

  body.astrobase .astro-home--entreprises .astro-hero__grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.astrobase .astro-home--entreprises .astro-hero__title{
    max-width: none;
  }

  body.astrobase .astro-home--entreprises .astro-section--compact{
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

body.astrobase .astro-nav--desktop a.is-active,
body.astrobase .astro-nav__mobile-links a.is-active{
  color: #fff;
  position: relative;
}

body.astrobase .astro-nav--desktop a.is-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.astro-signature {
  margin-top: 40px;
  text-align: right;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
  position: relative;
}

.astro-signature::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
  margin-right: 10px;
  vertical-align: middle;
  opacity: 0.5;
}

/* ========================================
   FOOTER — air colonne gauche + titre IG
   ======================================== */

body.astrobase .astro-footer__about .footer-widget__logo{
  margin-bottom: 20px !important;
}

body.astrobase .astro-footer__address{
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

body.astrobase .astro-footer__ig-title .footer-widget__title{
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 34px !important;
  font-weight: 500 !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  color: rgba(255,255,255,.96) !important;
}

body.astrobase .astro-footer__ig-title .footer-widget__title span{
  display: inline-block;
  font-size: 0.92em;
  font-weight: 400;
  color: rgba(255,255,255,.88) !important;
}

@media (max-width: 991px){
  body.astrobase .astro-footer__about .footer-widget__logo{
    margin-bottom: 16px !important;
  }

  body.astrobase .astro-footer__ig-title .footer-widget__title{
    font-size: 28px !important;
  }
}