﻿/* Sections + liserets + alternance */
.home-section{ padding-block:56px; /*border-top:1px solid rgba(242,233,216,.18);*/ background: var(--paper); }
.home-section:first-of-type{ border-top:none; }

.lead{ margin:0; font-size:clamp(16px,2vw,20px); opacity:.9; }
:root{ 
  --slot: 3.2s; 
  --title-gap: 25px; /* l'espace entre les titre et le liserÃ© */
  --fab-size: 68px;                 /* diamètre du bouton sticky*/
  --fab-bg: rgba(12,12,12,.72);     /* fond “verre” */
  --fab-ring: rgba(242,233,216,.18);/* bord */
  --fab-shadow: 0 22px 48px rgba(0,0,0,.45);
  --fab-hover-shadow: 0 26px 60px rgba(0,0,0,.50);
}

/* Titres & textes */
.h-section{ 
  display: grid;
  grid-template-columns: max-content 1fr; /* texte | liserÃ© */
  align-items: center;
  column-gap: var(--title-gap);
  position: relative;
  margin: 0 0 60px;
  font-size: clamp(25px, 5vw, 50px);
  text-align: left;
}

/* liserÃ© separateur section*/

.h-section::after{
  content:"";
  height: 2px;                 /* Ã©paisseur du liserÃ© */
  background: rgb(255, 255, 255);
  /* se place en colonne 2, sâ€™Ã©tire automatiquement = (h2 width) - (text width) - gap */
}

/* alterne la grille : liserÃ© | texte */
.h-section--left{
  grid-template-columns: 1fr max-content;
  text-align: right; /* optionnel si tu veux aligner le texte Ã  droite */
}

/* pseudo-Ã©lÃ©ment cÃ´tÃ© gauche */
.h-section--left::before{
  content:"";
  height: 2px;
  background: rgb(255, 255, 255);
  grid-column: 1; /* liserÃ© Ã  gauche */
}

/* Ã©viter un double-liserÃ© quand la classe --left est lÃ  */
.h-section--left::after{ content:none; }

/*Section Accroche*/
#intro{
  background: var(--ink);
  color: var(--paper);
}
@keyframes wordVisible{
  0%{ opacity:1; }
  16%{ opacity:1; }
  20%{ opacity:0; }
  100%{ opacity:0; }
}
@keyframes wordGooey{
  0%{ filter:none; }
  18%{ filter:none; }
  20%{ filter: blur(10px) contrast(50); }
  22%{ filter:none; }
  38%{ filter:none; }
  40%{ filter: blur(10px) contrast(50); }
  42%{ filter:none; }
  58%{ filter:none; }
  60%{ filter: blur(10px) contrast(50); }
  62%{ filter:none; }
  78%{ filter:none; }
  80%{ filter: blur(10px) contrast(50); }
  82%{ filter:none; }
  100%{ filter:none; }
}
#intro .title-fix{
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 3vw, 60px);
  flex-wrap: wrap;
  max-width: min(1200px, 100%);
}
@media (max-width: 680px){
  #intro .title-fix{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
#intro .title-fix > h1{
  margin: 0;
  font-size: clamp(26px, 4vw, 45px);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.1;
  white-space: nowrap;
}
#intro .intro-headline{
  position: relative;
  display: inline-grid;
  justify-items: start;
  align-items: stretch;
  color: inherit;
  align-self: flex-end;
  letter-spacing: -2px;
  padding: clamp(6px, 1.2vw, 14px) clamp(18px, 3vw, 15px);
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
#intro .intro-headline > *{
  grid-area: 1 / 1;
}
#intro .intro-headline::before,
#intro .intro-headline::after{
  content:"";
  position:absolute;
  width: clamp(12px, 2vw, 30px);
  height: clamp(12px, 2vw, 30px);
  pointer-events: none;
  z-index: 2;
  transform: translate3d(0,0,0);
}
#intro .intro-headline::before{
  top:0;
  right:0;
  border-top:8px solid currentColor;
  border-right:8px solid currentColor;
}
#intro .intro-headline::after{
  bottom:0;
  left:0;
  border-bottom:8px solid currentColor;
  border-left:8px solid currentColor;
}
#intro .intro-title{
  position: relative;
  display: inline-block;
  color: var(--paper);
  font-size: clamp(32px, 6vw, 72px);
  margin: 0;
  padding: 0;
  white-space: nowrap;
  min-width: clamp(8ch, 18vw, 20ch);
  min-height: 1.2em;
  line-height: 1.05;
  text-align: center;
  z-index: 1;
}
#intro .intro-title .word{
  position:absolute;
  inset:0 auto auto 0;
  display:block;
  width: 100%;
  text-align: center;
  opacity:0;
  animation:
    wordVisible calc(var(--slot) * 5) linear infinite both,
    wordGooey   calc(var(--slot) * 5) linear infinite;
}
#intro .intro-title .word:nth-child(1){ animation-delay: 0s, 0s; }
#intro .intro-title .word:nth-child(2){ animation-delay: calc(var(--slot) * -1), calc(var(--slot) * -1); }
#intro .intro-title .word:nth-child(3){ animation-delay: calc(var(--slot) * -2), calc(var(--slot) * -2); }
#intro .intro-title .word:nth-child(4){ animation-delay: calc(var(--slot) * -3), calc(var(--slot) * -3); }
#intro .intro-title .word:nth-child(5){ animation-delay: calc(var(--slot) * -4), calc(var(--slot) * -4); }

#intro .title-fix > .lead{
  flex-basis: 100%;
  margin: clamp(12px, 3vw, 20px) 0 0;
  max-width: min(620px, 90%);
}

@media (prefers-reduced-motion: reduce){
  #intro .intro-title .word{
    animation: none;
    filter: none;
    opacity: 1;
    position: static;
  }
}
@media (max-width: 700px){
  #intro .title-fix{
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(5px, 5vw, 7px);
  }
  #intro .title-fix > h1{
    white-space: normal;
  }
  
  .accroche-section{
    padding-block: 20px;
  }
  

}

/* Actus */
.section-actus{
  --actu-grain-opacity: 0.05;
}
.section-actus .container{
  display: flex;
  flex-direction: column;
  /*gap: clamp(20px, 5vw, 35px);*/ /*rajouter si besoin*/
}
.actus-list{
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vw, 48px);
  width: 100%;
  align-items: center;
}
.actu{
  position: relative;
  width: min(100%, 1200px);
  background: var(--ink);
  color: #0d1014;
  opacity: 1;
  overflow: visible;
  box-shadow: 0 0 40px rgba(0,0,0,.22);
  transition: opacity .3s ease, transform .3s ease;
  border-radius: 15px;
}

.actu::after{
  content:"";
  position: absolute;
  inset: 0;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQIW2O8d+/efwAJPgNvZVjZeAAAAABJRU5ErkJggg==");
  opacity: var(--actu-grain-opacity);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.actu-content{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 40px);
  padding: clamp(28px, 5vw, 40px);
  align-items: stretch;
  text-align: left;
  z-index: 2;
}
.actu--no-media .actu-content{
  grid-template-columns: 1fr;
}
.actu-media{
  position: relative;
  /*aspect-ratio: 16 / 9;*/
  align-self: stretch;
  border-radius: 0px;
  overflow: hidden;
}
.actu-media__slider{
  width: 100%;
  height: 100%;
}
.actu-media__slider .swiper-wrapper,
.actu-media__slider .swiper-slide{
  height: 100%;
}
.actu-media__slider img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.actu-body{
  display: grid;
  gap: clamp(12px, 3vw, 20px);
  height: 100%;
  justify-items: start;
}
.actu-header{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.actu-title{
  margin: 0;
  font-size: clamp(1.4rem, 1rem + 1vw, 2rem);
  color: #0d1014;
}
.actu-date{
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(13,16,20,.62);
}
.actu-excerpt{
  margin: 0;
  line-height: 1.6;
  color: rgba(13,16,20,.7);
}
.actu-btn{
  --corner-bg: var(--ink);
  --corner-fg: var(--paper);
  --corner-hover:var(--paper);
  --corner-border-width: 0.4rem;
  --corner-corner-size: 2.4rem;
  --corner-font-size: clamp(1.2rem, 0.8rem + 1vw, 1.6rem);
  --corner-padding-y: 0.9rem;
  --corner-padding-x: 1.4rem;
  --corner-gap: 0.6rem;
  font-weight: 500;
}

button.corner-button.actu-btn.actu-btn--video.news-video {
    background: #ffffff;
}

.corner-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;               /* espace icÃ´ne/texte */
  padding: .6rem .9rem;
}

/* Le wrap qui sert de cadre de superposition */
.corner-button .btn-icon{
  position:relative;
  display:inline-block;
  width:1.8em;               /* taille icÃ´ne */
  height:1.8em;              /* nÃ©cessaire pour la superposition */
  margin-right:.2rem;
  line-height:0;             /* Ã©vite lâ€™espace fantÃ´me inline */
  flex:0 0 auto;
}

/* Les deux images superposÃ©es */
.icon{
  position:absolute; inset:0;
  display:block;
  width:100%; height:100%;
  object-fit:contain;
  transition:opacity var(--corner-duration) ease-in-out;
}

.icon--base  { opacity:1; }
.icon--hover { opacity:0; }

/* Swap au hover */
.corner-button:hover .icon--base  { opacity:0; }
.corner-button:hover .icon--hover { opacity:1; }

/* Option visuelle */
.actu-btn:hover { 
  font-weight:700;
  transition:font-weight var(--corner-duration) ease-in-out;
}
.actu-btn.actu-btn--video{
  gap: 0.9rem;
}
.actus-empty{
  margin: 0;
  text-align: center;
  opacity: 0.7;
  font-style: italic;
}

@media (max-width: 960px){
  .actu-content{
    grid-template-columns: 1fr;
  }
  .actu-media{
    aspect-ratio: auto;
    align-self: stretch;
    height: clamp(220px, 56vw, 320px);
  }
  .accroche-section{
    padding-block: 25px;
  }
}

@media (max-width: 560px){
  .actu{
    background: transparent;
    box-shadow: none;
  }
  .actu::after{
    display: none;
  }
  .actu-content{
    padding: clamp(20px, 7vw, 28px);
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0,0,0,.72);
    color: var(--ink);
  }
  .actu-media{
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: .38;
  }
  .actu-media::before{
    content:"";
    position:absolute;
    inset:0;
    background: radial-gradient(circle at 20% 20%, rgba(0,0,0,.32) 0%, rgba(0,0,0,.7) 55%);
    pointer-events:none;
  }
  .actu-media__slider{
    height: 100%;
  }
  .actu-body{
    position: relative;
    z-index: 2;
    gap: 14px;
  }
  .actu-title,
  .actu-date,
  .actu-excerpt{
    color: rgba(255,255,255,.92);
  }
  .actu-excerpt{
    color: rgba(255,255,255,.8);
  }
  .actu-btn{
    --corner-hover: var(--paper);
    --corner-border-width: 0.35rem;
  }
  .actu-excerpt{
    display: none;
  }
  .corner-button .btn-icon {
    width: 1.5em;
    height: 1.5em;
  }
  .icon--base {
    opacity: 0;
  }
  .icon--hover{
    opacity: 1;
  }
}
/* DerniÃ¨res rÃ©alisations */
.Der-Real-title{
  text-align: right;
}

@media (max-width: 680px){
  .Der-Real-title{
    display: block;
    text-align: left;
  }
  .Der-Real-title::before{
    content: none;
  }
}

.cards{ display:grid; gap: 12px; grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:1100px){ .cards{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:760px){ .cards{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:460px){ .cards{ grid-template-columns:1fr;} }
.card{ background:rgba(0,0,0,.08); border:1px solid rgba(242,233,216,.15); cursor:pointer; transition: transform .25s ease, box-shadow .25s ease; }
.card-link{ display:block; color:inherit; text-decoration:none; }
.card-thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(242,233,216,.15);
  background: #111;
  overflow: hidden;
  color: rgba(242,233,216,.35);
  transition: color .3s ease;
}
.card-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.card:hover .card-thumb img{
  transform: scale(1.02);
}
.card:hover .card-thumb{
  color: rgba(242,233,216,.82);
}
.card-title{ margin:10px 12px 0; font-size:18px; }
.card-meta{ margin:6px 12px 12px; font-size:14px; opacity:.8; }

/* Bouton voir toutes les rÃ©alisations */
.btn--ghost{
  --corner-bg: var(--paper);
  --corner-fg: var(--ink);
  --corner-hover: pink;
  --corner-border-width: 0.4rem;
  --corner-corner-size: 1.7rem;
  --corner-padding-y: 0.85rem;
  --corner-padding-x: 1.6rem;
  --corner-font-size: clamp(1.2rem, 0.9rem + 0.8vw, 1.5rem);
  --corner-gap: 0.6rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* === Ã‰QUIPE ============================================================ */
/* Contact sticky button */
.sticky-contact{
  position: fixed;
  right: clamp(18px, 4vw, 38px);
  bottom: clamp(18px, 5vw, 42px);
  z-index: 1200;
  pointer-events: none; /* le conteneur ne capte rien… */
  display: grid;
  justify-items: center;
  row-gap: 10px;
}

.sticky-contact__lead{
  pointer-events: auto;   /* …mais les enfants oui */
  margin: 0;
  padding: 6px 10px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  background: rgba(12,12,12,.5);
  border: 1px solid var(--fab-ring);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sticky-contact__fab{
  pointer-events: auto;
  width: var(--fab-size);
  height: var(--fab-size);
  border-radius: 9999px;
  background: var(--fab-bg);
  border: 1px solid var(--fab-ring);
  box-shadow: var(--fab-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  isolation: isolate; /* pour l'anneau hover */
}

/* icône (ton PNG de l’œil) */
.sticky-contact__icon{
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  /* Option si tu veux que l’icône s’adapte aux fonds sombres/clair :
     filter: invert(1) contrast(1.05); */
}

/* Anneau subtil au survol */
.sticky-contact__fab::after{
  content: "";
  position: absolute;
  inset: -6px;                 /* anneau autour */
  border-radius: inherit;
  border: 1px solid rgb(255, 255, 255);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .2s ease, transform .2s ease;
}

.sticky-contact__fab:hover{
  transform: translateY(-1px) scale(1.03);
  box-shadow: var(--fab-hover-shadow);
}
.sticky-contact__fab:hover::after{
  opacity: 1;
  transform: scale(1);
}

/* Focus visible (clavier) */
.sticky-contact__fab:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.15), var(--fab-hover-shadow);
}

/* Option: petite respiration “float” (désactivée si reduce motion) */
@keyframes floatY { 
  0%,100% { transform: translateY(0) }
  50%     { transform: translateY(-2px) }
}
@media (prefers-reduced-motion: no-preference){
  .sticky-contact__fab{
    animation: floatY 4s ease-in-out infinite;
  }
}

/* Mobile: compacter */
@media (max-width: 720px){
  :root { --fab-size: 60px; }
  .sticky-contact{
    right: clamp(12px, 4vw, 24px);
    bottom: clamp(16px, 6vw, 36px);
    row-gap: 8px;
  }
  .sticky-contact__lead{
    font-size: 14px;
    padding: 4px 8px;
  }
}

/* pagination masquÃ©e */
.bts .swiper-pagination{
  display: none !important;
}

/* ========== En coulisses (BTS) ========== */
.bts{
  --bts-h: clamp(260px, 60vh, 720px);      /* hauteur responsive */
  position: relative;
  padding: 0;                              /* pas dÃ¢â‚¬â„¢offset vertical autour */
}

/* full-bleed horizontal : 100vw centrÃƒÂ© */
.bts .swiper{
  width: calc(100vw - (100vw - 100%));
  height: var(--bts-h);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-inline: calc(50% - 50vw);
  background: #000;                        /* fond sÃƒÂ©curitÃƒÂ© */
}
@supports (width: 100dvw){
  .bts .swiper{
    width: calc(100vw - (100vw - 100%));
    margin-left: calc(50% - 50dvw);
    margin-right: calc(50% - 50dvw);
    margin-inline: calc(50% - 50dvw);
  }
}

/* images qui couvrent */
.bts .swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* pagination (pas de flÃƒÂ¨ches) */
.bts .swiper-pagination-bullet{
  background: var(--ink);
  opacity: .45;
}
.bts .swiper-pagination-bullet-active{
  opacity: 1;
}

/* si tu veux que la section soit vraiment bord ÃƒÂ  bord verticalement */
.home-section--edge{ padding-block: 0; }




