/* =========================================================
   page-excursions.css — Transfert.re (Refonte 2026)
   Objectif : aligner le design Excursions sur la Home
   Style : glass + futuriste, modules bien séparés, tabs propres
   ========================================================= */

/* -------------------------
   0) Tokens / Reset
-------------------------- */
:root{
  --bg: #070A12;
  --bg2:#0A1020;

  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.05);
  --stroke: rgba(255,255,255,.12);
  --stroke2: rgba(255,255,255,.10);

  --text: rgba(255,255,255,1);
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.66);

  --accent: #7C5CFF;
  --accent2:#2EE9A6;
  --accent3:#00D1FF;

  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 12px 35px rgba(0,0,0,.35);

  --r12: 12px;
  --r16: 16px;
  --r22: 22px;
  --r26: 26px;
  --r28: 28px;


  --gutter: 40px;

  --lh: 1.65;
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(1200px 650px at 20% 10%, rgba(124,92,255,.35), transparent 60%),
    radial-gradient(900px 500px at 85% 15%, rgba(0,209,255,.22), transparent 55%),
    radial-gradient(800px 500px at 70% 85%, rgba(46,233,166,.16), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
  letter-spacing: .2px;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font: inherit; }

:where(a, button, input, select, textarea):focus-visible{
  outline: 3px solid rgba(0,209,255,.45);
  outline-offset: 3px;
  border-radius: 12px;
}

@media (max-width: 760px){
  :root{ --gutter: 22px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .btn, .sRow, .csTab, .chip{ transition:none !important; }
}

/* -------------------------
   1) Layout helpers
-------------------------- */
.tr-container{
  width: min(var(--container), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.tr-container.two{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 991px){
  .tr-container.two{ grid-template-columns: 1fr; }
}

/* -------------------------
   2) Modules: séparation + rythme
-------------------------- */
.module{
  position: relative;
  padding: 70px 0;
}

@media (max-width: 760px){
  .module{ padding: 56px 0; }
}

/* séparation "home-like" entre modules */
.module + .module{
  border-top: 1px solid rgba(255,255,255,.06);
}

.module + .module::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 0;
  width: min(var(--container), calc(100% - var(--gutter)));
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,92,255,.35), rgba(0,209,255,.28), rgba(46,233,166,.18), transparent);
  opacity: .9;
  pointer-events:none;
}

/* -------------------------
   3) Typo / UI éléments communs
-------------------------- */
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  margin: 0 0 10px;
}

h1,h2,h3{
  letter-spacing: -.02em;
  margin: 0 0 10px;
}

h1{
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

h2{
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12;
}

h3{
  font-size: 18px;
  line-height: 1.25;
}

.lead{
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  margin: 10px 0 0;
  max-width: 56ch;
}

.muted{ color: var(--muted); }
.muted strong{ color: rgba(255,255,255,.95); font-weight: 900; }

.grad{
  background: linear-gradient(90deg, rgba(124,92,255,1), rgba(0,209,255,1), rgba(46,233,166,1));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.pill{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.92);
}

.pill i{
  width: 26px; height: 26px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

/* bullets */
.bullets{
  margin-top: 16px;
  display:grid;
  gap: 10px;
}

.bullets > div{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

.bullets i{
  margin-top: 1px;
  color: rgba(46,233,166,.95);
  font-size: 18px;
}

/* actions */
.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* buttons (compat Home) */
.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  user-select:none;
  white-space: nowrap;
}

.btn i{
  width: 26px; height: 26px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.btn:hover{ transform: translateY(-1px); }

.btn--primary{
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.77), rgba(0, 209, 255, 0.85));
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

.btn--primary:hover{
  background: linear-gradient(135deg, rgba(124,92,255,.42), rgba(0,209,255,.26));
  border-color: rgba(255,255,255,.18);
}

.btn--ghost{
  color: rgba(255,255,255,.92);
  background: linear-gradient(-135deg, rgba(245, 91, 39, 0.6), rgba(220, 68, 19, 0.8));
}

.btn--ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

/* quote card (home style) */
.quoteCard{
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  display:grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items:start;
}

.quoteCard i{
  width: 34px; height: 34px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(0,209,255,.95);
}

.quoteCard p{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
}

.quoteCard span{
  grid-column: 2 / -1;
  margin-top: 6px;
  color: rgba(255,255,255,.65);
  font-weight: 800;
  font-size: 12px;
}

/* headRow (home-like) */
.headRow{
  display:flex;
  justify-content: space-between;
  gap: 16px;
  align-items:flex-end;
  margin-bottom: 18px;
}

.headRow .link{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  font-weight: 900;
  color: rgba(255,255,255,.90);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.headRow .link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

@media (max-width: 760px){
  .headRow{ flex-direction: column; align-items: flex-start; }
}

/* -------------------------
   4) HERO Excursions (Home-like)
-------------------------- */
.module--excHero{

  padding-bottom: 66px;
}

/* FX layer identique esprit home */
.moduleFX{
  position:absolute;
  inset: 0;
  pointer-events:none;
  overflow:hidden;
}

.moduleFX .mx{
  position:absolute;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: .35;
  transform: translate3d(0,0,0);
}

.moduleFX .m1{ left: -140px; top: -120px; background: rgba(124,92,255,.55); }
.moduleFX .m2{ right:-160px; top: -80px; background: rgba(0,209,255,.40); }
.moduleFX .m3{ left: 10%; bottom: -210px; background: rgba(46,233,166,.25); }
.moduleFX .m4{ right: 15%; bottom: -240px; background: rgba(124,92,255,.25); }

.excHero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items:center;
}

@media (max-width: 991px){
  .excHero__grid{ grid-template-columns: 1fr; }
}

.excHero__copy .highlights{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.excHero__copy .hl{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.88);
}

.excHero__copy .hl i{
  width: 26px; height: 26px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(0,209,255,.95);
}

.excHero__media .mediaFrame{
  position: relative;
  border-radius: 28px;
  padding: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.excHero__media .mediaFrame::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(135deg,
    rgba(124,92,255,.28),
    rgba(0,209,255,.18),
    rgba(46,233,166,.10)
  );
  opacity: .55;
  filter: blur(18px);
  pointer-events:none;
}

.excHero__media img{
  position: relative;
  z-index: 1;
  width:100%;
  height: 520px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  filter: saturate(1.08) contrast(1.06);
}

@media (max-width: 991px){
  .excHero__media img{ height: 360px; }
}
@media (max-width: 560px){
  .excHero__media img{ height: 290px; }
}

/* chips (home like) */
.chip{
  position:absolute;
  z-index: 2;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 30px rgba(0,0,0,.35);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.chip i{
  width: 26px; height: 26px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(46,233,166,.95);
}

.chip.c1{ left: 20px; bottom: 20px; }
.chip.c2{ right: 20px; bottom: 86px; }
.chip.c3{ right: 20px; top: 20px; }

@media (max-width: 560px){
  .chip{ display:none; }
}

/* -------------------------
   5) Tabs Excursions (glass + pro)
-------------------------- */
.csTabs{
  border-radius: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

/* nav */
.csTabs__nav{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(124,92,255,.10), rgba(0,209,255,.06), rgba(46,233,166,.05));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.csTab{
  appearance:none;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  color: rgba(255,255,255,.90);
  border-radius: 999px;
  padding: 11px 12px;
  font-weight: 900;
  font-size: 13px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  user-select:none;
  white-space: nowrap;
}

.csTab i{
  width: 26px; height: 26px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
  color: rgba(0,209,255,.95);
}

.csTab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

.csTab.is-active{
  background: linear-gradient(135deg, rgba(124,92,255,.32), rgba(0,209,255,.18));
  border-color: rgba(255,255,255,.18);
}

/* panes */
.csTabs__panes{
  padding: 16px;
}

.csPane{ display:none; }
.csPane.is-active{ display:block; }

/* grid inside pane */
.csPane__grid{
  display:grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 991px){
  .csPane__grid{ grid-template-columns: 1fr; }
}

.csPane__media{
  margin:0;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow2);
  min-height: 260px;
}

.csPane__media img{
  width:100%;
  height:100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  display:block;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.06);
}

.csPane__content{
  border-radius: 22px;
  padding: 16px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow2);
}

/* petites lignes meta sur la page */
.excMetaLine{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.excMetaLine span{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  font-weight: 900;
  font-size: 13px;
  color: rgba(255,255,255,.86);
}

.excMetaLine i{
  width: 26px; height: 26px;
  border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(46,233,166,.95);
}

@media (max-width: 560px){
  .csTabs__nav{ padding: 12px; }
  .csTab{ width: 100%; justify-content: flex-start; }
  .csPane__media img{ min-height: 210px; }
}

/* -------------------------
   6) CTA bar (home style)
-------------------------- */
.ctaBar{
  border-radius: 28px;
  padding: 18px 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow2);
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 16px;
}

.ctaBar--excursions{
  border-radius: 28px;
}

@media (max-width: 760px){
  .ctaBar{ flex-direction: column; align-items: flex-start; }
}

/* -------------------------
   7) Page scope safety
-------------------------- */
.page-excursions{
  scroll-margin-top: 90px;
}

/* évite les collisions éventuelles */
.page-excursions .wp-site-blocks,
.page-excursions .entry-content{
  color: var(--text);
}



/* =========================================================
   FIX DEFINITIF - Espace vide en haut (Excursions)
   Cause : padding-top du thème + padding-top du 1er .module
   ========================================================= */

/* 1) On annule le padding-top imposé par le thème sur #content */
body.cspt-sidebar-no #content.page-excursions,
body.cspt-sidebar-no main#content.page-excursions,
body.cspt-sidebar-no main#content.page-excursions#content{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ✅ HERO excursions : espace homogène sous topbar */
main#content.page-excursions #excursions-intro.module.module--excHero{
  padding-top: 80px !important;   /* desktop : petit espace propre */
  padding-bottom: 66px;           /* tu peux garder */
}

/* Mobile : on laisse respirer sous le header sticky */
@media (max-width: 760px){
  main#content.page-excursions #excursions-intro.module.module--excHero{
    padding-top: 74px !important; /* = hauteur topbar (comme contact) */
  }
}

/* Mobile */
@media (max-width: 760px){
  body.cspt-sidebar-no main#content.page-excursions #excursions-intro.module{
    padding-top: 18px !important;
  }
}


/* Ligne pill + titre à droite (GRID stable) */
.excHero__topRow{
  display: grid;
  grid-template-columns: max-content 1fr; /* pill taille auto + colonne flexible */
  align-items: center;
  gap: 16px;
}

/* Titre toujours à droite */
.excHero__title{
  margin: 0;
  text-align: right;
  line-height: 1.05;
  justify-self: end;
}

/* Sécurité anti débord si la pill est trop longue */
.excHero__topRow .pill{
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile : empile (pill puis titre) */
@media (max-width: 760px){
  .excHero__topRow{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .excHero__title{
    text-align: left;
    justify-self: start;
  }
  .excHero__topRow .pill{
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }
}
