:root {
  --black: #111;
  --dark: #222;
  --gray: #777;
  --light-gray: #F9F9F9;
  --bleuyannprod: #87E3FF;
  --accent: #00a3e0;
  --fw-regular: 300;
  --fw-semibold: 500;
  --fw-bold: 700;
 --font-main: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--black);
  font-weight: var(--fw-regular);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

strong { font-weight: var(--fw-bold); }

/* ---------------------------------------------------------
   Section titles (reusable)
--------------------------------------------------------- */

/* === SECTION TITLE (source de vérité) === */
.section-title {
  position: relative;
  display: inline-block;
  margin: 0 0 1.5rem;
  padding-bottom: 2rem;          /* espace titre -> filet */
  line-height: 1.15;
  font-weight: 300;
  text-transform: uppercase;              /* base */
}

.section-title strong { font-weight: 700; } /* si tu utilises <strong> dans certains titres */

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.35rem;               /* ← c’est souvent ça qui fait “comme ailleurs” */
  width: 60px;
  height: 2px;
  background: #08BEF5;
}



/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
.site-logo svg {
  height: 60px;
  width: auto;
  fill: currentColor;
}

.site-header .site-logo {
  color: #111;
}

.site-footer .site-logo {
  color: #777777;
}


.site-header {
  text-align: center;
}

.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;

  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}


.header-logo {
  /*margin-bottom: 1rem;*/
  padding: 1.5rem 1rem;
}

.header-logo img {
  max-height: 60px;
  margin: 0 auto;
}

.logo-text {
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
}

.main-nav {
  max-width: 1100px;
  margin: 0 auto;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}

.main-nav .menu li { position: relative; }

.main-nav .menu > li:last-child {
  margin-left: auto;
}

.main-nav .menu a {
  position: relative;
  display: inline-block;
  padding: 0.9rem 0;
}

.main-nav .menu li.current-menu-item > a::after,
.main-nav .menu li.current_page_item > a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;      /* 🔥 pile sur la bordure basse (1px) */
  height: 5px;
  background: #08BEF5;
}



/* Burger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin: 0 auto 0.5rem;
  padding: 0.25rem 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition:
    transform 0.45s cubic-bezier(.68,-0.55,.27,1.55),
    opacity 0.2s ease;
}

/* Burger → croix */
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav + refined animation */
@media (max-width: 768px) {

  .menu-toggle { display: block; }

.main-nav { 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav .menu {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 0 2rem;
  }

  .main-nav .menu li {
    opacity: 0;

    transition: opacity 0.35s ease, transform 0.35s ease;
  }

  .main-nav.is-open .menu li { opacity: 1; transform: translateY(0); }

  .main-nav.is-open .menu li:nth-child(1) { transition-delay: 0.05s; }
  .main-nav.is-open .menu li:nth-child(2) { transition-delay: 0.10s; }
  .main-nav.is-open .menu li:nth-child(3) { transition-delay: 0.15s; }
  .main-nav.is-open .menu li:nth-child(4) { transition-delay: 0.20s; }
  .main-nav .menu > li:last-child {
    margin-left: 0;
  }
.nav-wrapper {
    border-bottom: none;
    border-top: none;
  }

  .main-nav .menu li.current-menu-item a::after,
  .main-nav .menu li.current_page_item a::after {
    display: none;
  } 
}



body.menu-open { overflow: hidden; }

/* ---------------------------------------------------------
   Home – Featured projects thumbnails (16/9)
--------------------------------------------------------- */

.home-featured-projects .project-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}

.home-featured-projects .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---------------------------------------------------------
   Home layout
--------------------------------------------------------- */
#home section { /*padding: 2rem 1.5rem 4rem 1.5rem;*/ }

.section-header {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 300; /* texte normal */
  display: inline-block;
  position: relative;
  padding-bottom: 1.75rem; /* espace pour le filet */
  text-transform: uppercase;  
}
.section-header h2 strong {
  font-weight: var(--fw-bold); /* deuxième graisse */
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;              /* longueur du filet */
  height: 2px;
  background: #08BEF5;      /* bleu de ta DA */
}
.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}


.section-header p { color: var(--black); font-size: 0.95rem; }

/* Featured projects */
.home-featured-projects {
  background: #fff;
}

.home-personal-projects, #home .home-featured-projects {
  padding: 2rem 1.5rem 4rem 1.5rem;

}

.section-pad, .home-featured-projects {
  padding: 2rem 1.5rem 2rem 1.5rem;

}

.projects-grid {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card { /*border-bottom: 1px solid #eee; transition: transform 0.3s ease;*/ }

.project-image { margin-bottom: 1rem; overflow: hidden; border-radius: 6px;}
/* ---------------------------------------------------------
   Project image hover animation (image only)
--------------------------------------------------------- */

.project-image {
  overflow: hidden; /* important pour le crop */
}

.project-image img {
  transition: transform 0.5s ease;
  will-change: transform;
}

/* Hover uniquement sur l’image */
.project-card:hover .project-image img {
  transform: scale(1.08);
}

.project-title { font-size: 1rem; margin: 0.5rem 0; font-weight: 300; line-height: 1.1rem; text-transform: uppercase;}
/* ---------------------------------------------------------
   Project type – left border accent
--------------------------------------------------------- */

.project-type {
  display: inline-block;
  padding-left: 0.75rem;
  /*margin-left: 0.75rem;*/
  border-left: 2px solid #08BEF5;
  font-weight: var(--fw-regular);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--black);
}
.home-featured-projects .project-type {
  border-left: 2px solid #08BEF5;
}


/* Presentation + contact */
.home-presentation { background: var(--light-gray); }

.presentation-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .presentation-content {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.presentation-text h2 { /*font-size: 1.4rem; margin-bottom: 1rem;*/ }
.presentation-text p { /*font-size: 0.95rem; color: var(--dark);*/ }

.presentation-contact { text-align: center; }

.presentation-contact .avatar { width: 120px; margin: 0 auto 1rem; }
.presentation-contact img { border-radius: 50%; }

.presentation-text {
  /*padding-top: 0.25rem;*/
}


.contact-email, .contact-phone { font-size: 0.9rem; color: var(--black); }

/* Personal projects */
.home-personal-projects { background: #fff; }

.personal-projects-grid {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 600px) {
  .personal-projects-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .personal-projects-grid { grid-template-columns: repeat(5, 1fr); }
}

.personal-project { text-align: center; }

.personal-project .icon {
  width: 170px;
  height: 170px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.personal-project .icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.personal-project:hover .icon { transform: translateY(-6px); background: #eee; }

.personal-project h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 300;
}

/* Ensure links fill cards */
.project-card a,
.personal-project a { display: block; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */

.site-footer {
  border-top: 1px solid #eee;
  padding: 3rem 1.5rem;
  background: #1F1F1F;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 1.5rem;
}

.footer-brand img {
  max-height: 50px;
  margin: 0 auto;
}

.footer-contact p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.footer-legal {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-socials ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-socials a svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: var(--gray);
  transition: fill 0.3s ease, transform 0.3s ease;
}

.footer-socials a:hover svg {
  fill: var(--accent);
  transform: translateY(-2px);
}


@media (max-width: 768px) {

  .site-header {
    position: relative; /* 🔥 référence pour le menu */
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    text-align: left;
  }

  .header-logo {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding: 0.75rem 1rem;
    margin: 0;
  }

  .nav-wrapper {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 1rem;
  }

  .menu-toggle {
    margin: 0;
    align-self: flex-start;
  }

  /* 🔥 MENU MOBILE PLEINE LARGEUR */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;           /* 🔥 clé */
    right: 0;          /* 🔥 clé */
    width: 100%;
    background: #fff;
  }
}
@media (max-width: 768px) {

  .site-header {
    position: sticky;      /* 🔥 devient la référence */
    top: 0;
    z-index: 1000;
    background: #fff;
  }

  .nav-wrapper {
    position: static;      /* 🔥 casse le contexte parasite */
  }
}
@media (max-width: 768px) {

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
  }
}
@media (max-width: 768px) {

  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
    align-items: center;        /* 🔥 centrage vertical global */
  }

  .header-logo {
    align-self: center;         /* logo centré verticalement */
  }

  .nav-wrapper {
    align-self: center;         /* 🔥 burger centré verticalement */
    display: flex;
    justify-content: flex-end;
  }

  .menu-toggle {
    align-self: center;         /* sécurité */
  }
}


/* ---------------------------------------------------------
   Menu hover / focus animation
--------------------------------------------------------- */

.main-nav .menu a {
  transition: color 0.25s ease;
}

/* underline hover (n'écrase pas l'actif) */
.main-nav .menu a::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;              /* même ligne que le filet */
  height: 5px;
  background: #87E3FF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  /*opacity: 0.6;*/              /* hover plus léger que l'actif */
}

/* hover + focus visible */
@media (hover:hover) {
  .main-nav .menu li:not(.current-menu-item):not(.current_page_item) > a:hover::before {
    transform: scaleX(1);
  }
}

.main-nav .menu a:focus-visible::before {
  transform: scaleX(1);
}

/* optionnel : léger changement de couleur */
@media (hover:hover) {
  .main-nav .menu li:not(.current-menu-item):not(.current_page_item) > a:hover {
    color: var(--gray);
  }
}
@media (hover:hover) {
  .main-nav .menu li:not(.current-menu-item):not(.current_page_item) > a:hover {
    /*opacity: .7;*/
  }
}

.project-gallery { padding: 3rem 1.5rem; }

.gallery-grid{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
}

.gallery-grid img{
  width: 100%;
  height: auto;
  display: block;
}

.single-project .projects-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .single-project .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .single-project .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* ---------------------------------------------------------
   Single project – presentation layout
--------------------------------------------------------- */

.single-presentation .project-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.single-presentation .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-presentation .section-title {
  /*margin-bottom: 1.25rem;
  margin-top: 0;
  padding-bottom: 2rem;
  line-height: 2rem;*/
}
.single-presentation .presentation-content {
  align-items: flex-start; /* 🔥 alignement haut */
}

.single-presentation .section-title::after {
  /*content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: #08BEF5;*/
  }

/* USUD blocks */
.usud-block { margin: 0 0 1.25rem; }
.usud-block figcaption {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 0.5rem;
}

.usud-keywords {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray);
}

/* Empilement propre à droite */
.presentation-media--right .usud-block:last-child {
margin-bottom: 1.25rem;
}


.usud-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 1.25rem;
}

.usud-keyword {
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.10rem 0.15rem;
  border: 1px solid #e6e6e6;
}

@media (hover:hover) {
  .usud-keyword:hover { border-color: #08BEF5; }
}

.usud-image { margin: 1.25rem 0 0; }
.usud-image img { width: 100%; height: auto; display: block; }

.usud-nav {
  /*margin-top: 1.5rem;*/
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.usud-nav-link {
  font-size: 0.85rem;
  color: var(--gray);
}

@media (hover:hover) {
  .usud-nav-link:hover { color: #08BEF5; }
}

/* USUD – images à droite en ratio naturel */
.presentation-media--right .usud-block.project-image {
  aspect-ratio: auto;
}

.presentation-media--right .usud-block.project-image img {
  height: auto;
  object-fit: initial;
}
/* -----------------------------
   Lightbox
------------------------------ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
/* ---------------------------------------------------------
   Button – Load more (DA)
--------------------------------------------------------- */

.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  margin: auto 0;
  padding: 0.9rem 1.2rem;

  background: transparent;
  border: 1px solid #e6e6e6;
  color: var(--dark);

  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  cursor: pointer;
  position: relative;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.btn-load-more::after {
  content: '→';
  display: inline-block;
  transform: translateX(0);
  transition: transform .25s ease;
  color: #08BEF5;
}

@media (hover:hover) {
  .btn-load-more:hover {
    border-color: #08BEF5;
    color: #111;
    transform: translateY(-1px);
  }

  .btn-load-more:hover::after {
    transform: translateX(4px);
  }
}

.btn-load-more:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}

.btn-load-more:disabled::after {
  content: '…';
  transform: none;
}
.usud-load-more-wrap {
  display: flex;
  justify-content: center;
}


/* ---------------------------------------------------------
   Back to category
--------------------------------------------------------- */

.btn-back-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-top: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;

  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

@media (hover:hover) {
  .btn-back-category:hover {
    color: #111;
    border-color: #08BEF5;
    transform: translateX(-2px);
  }
}
.usud-season-count {
  font-size: 0.75rem;
  color: var(--bleuyannprod);
  font-weight: 400;
}
.wysiwyg a {
  color: inherit;
  border-bottom: 1px solid #08BEF5;
  text-decoration: none;
}

.wysiwyg a:hover {
  opacity: 0.8;
}
.usud-season-link.is-active {
  border-color: #08BEF5;
}
/* -----------------------------
   USUD - headers aligned
------------------------------ */
.usud-head {
  /*min-height: 64px;*/
  display: flex;
  align-items: flex-start;     /* aligné en haut comme tes titres */
  /*padding-top: 0.15rem;*/
}

.usud-head--right {
  justify-content: flex-start; /* titre à gauche de la colonne droite */
}

/* -----------------------------
   "Saisons" title DA
------------------------------ */
/* Colonne saisons : simple liste (DA) */
.usud-seasons-title{
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
}

.usud-seasons-title::after{
  /*content:'';
  position:absolute;
  left:0;
  bottom:0.35rem;
  width:28px;
  height:2px;
  background:#08BEF5;*/
}

.usud-seasons-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.usud-seasons-list li{ margin: 0; }

.usud-seasons-list a{
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--dark);
  padding: 0.25rem 0;
  border-left: 1px solid transparent;
  padding-left: 0.75rem;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.usud-seasons-list a .usud-season-count{
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 300;
}

@media (hover:hover){
  .usud-seasons-list a:hover{
    border-color:#08BEF5;
    transform: translateX(2px);
  }
}

.usud-seasons-list a.is-active{
  border-color:#08BEF5;
  font-weight: 300;
}
.right-gallery{
  display: grid;
  gap: 1rem;
}

.right-gallery-item{
  margin: 0;
}

.right-gallery-item img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px
}
/* Gutenberg separator -> filet bleu (comme sous les titres) */
.wp-block-separator {
  border: 0;
  height: 2px;
  width: 40px;          /* même largeur que ton filet de titres */
  background: #08BEF5;
  margin: 1.25rem 0;    /* espace vertical */
}

/* option : si tu utilises le style "large" ou "dots", on neutralise */
.wp-block-separator.is-style-wide,
.wp-block-separator.is-style-dots {
  width: 40px;
}
.wp-block-separator.is-style-dots::before {
  content: none;
}
.embed-full {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2rem 0;
}

.embed-full iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Home – projets persos : centrage propre + pas de chevauchement */
.home-personal-projects .personal-projects-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Chaque item garde une largeur stable (à ajuster si besoin) */
.home-personal-projects .personal-project{
  width: 160px;              /* comme avant */
  text-align: center;        /* 🔑 centre le titre */
  display: flex;
  flex-direction: column;
  align-items: center;       /* 🔑 centre l’image ronde */
}

.home-personal-projects .personal-project .icon{
  margin-bottom: 0.75rem;    /* espace image → titre */
}

.home-personal-projects .personal-project h3{
  margin: 0;                 /* reset propre */
}
/* Home presentation : pas de filet bleu sous les H2 */
/* Home presentation : pas de filet bleu sous les H2 (UNIQUEMENT sur la home) */
.home #home .home-presentation h2.section-title::after{
  display: none;
}

.home #home .home-presentation .section-title{
  padding: 0;
  margin: 0;
}
.home .home-presentation {
  padding-top: 1rem;
  padding-bottom: 1rem ; 
}
.presentation-contact p.contact-email, .presentation-contact p.contact-phone {
  line-height: 0.6;
  margin: 0.7rem;
}
.usud-season-badge {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  color: var(--gray);
}

.usud-season-badge a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}

@media (hover:hover) {
  .usud-season-badge a:hover {
    color: var(--dark);
    border-color: #08BEF5;
  }
}
/* =========================================
   CATEGORY ref_print : bandeau titre full width + centré
========================================= */

body.category-ref_print .home-presentation {
  background: #fff !important;   /* blanc partout */
}

body.category-ref_print .home-presentation.section-pad {
  padding-left: 0 !important;
  padding-right: 0 !important;   /* full largeur réel */
}

/* ton container reste en 1100px, mais on centre le contenu dedans */
body.category-ref_print .home-presentation .presentation-content {
  max-width: 1100px;
  margin: 0 auto;
  display: block !important;     /* 🔥 on casse la grille 2 colonnes */
}

/* la colonne texte prend toute la largeur */
body.category-ref_print .home-presentation .presentation-text {
  width: 100%;
  text-align: center !important; /* 🔥 centre le H2 */
}

/* le H2 + son filet */
body.category-ref_print .home-presentation .section-title {
  display: inline-block;
  margin: 0 auto 1.5rem;
}

body.category-ref_print .home-presentation .section-title::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
}
/* ref_print : prev à gauche / next à droite */
body.single-post.category-ref_print .usud-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* sécurité : force le "suivant" à droite */
body.single-post.category-ref_print .usud-nav .usud-nav-link[rel="next"]{
  margin-left: auto;
  text-align: right;
}
/* ref_print : nav pleine largeur -> "suivant" peut aller à droite */
.single-usud-like .presentation-media--right .usud-head{
  width: 100% !important;
}

.single-usud-like .presentation-media--right .usud-nav{
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* "Suivant" collé à droite quoi qu'il arrive */
.single-usud-like .presentation-media--right .usud-nav a[rel="next"]{
  margin-left: auto !important;
  text-align: right !important;
}
/* Pagination tag */
.yann-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

/* WP sort un wrapper .nav-links */
.yann-pagination .nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.yann-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.yann-pagination .page-numbers:hover {
  background: #111;
  color: #fff;
}

.yann-pagination .page-numbers.current {
  background: #111;
  color: #fff;
}

.yann-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: auto;
  padding: 0 6px;
}

/* Titre “Pagination des publications” (screen reader) */
.yann-pagination .screen-reader-text {
  position: absolute !important;
  left: -9999px !important;
}

.right-video-el{
  width: 100%;
  height: auto;
  display: block;
}

/* Si tu veux un rendu "cover" comme une image (recadrage possible) */
.right-video{
  overflow: hidden;
  border-radius: 12px; /* optionnel */
}
.right-video-el{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Espacement commun galerie droite */
.right-gallery-item{
  margin-bottom: 24px; /* ajuste si besoin */
}

/* dernier élément sans marge */
.right-gallery-item:last-child{
  margin-bottom: 0;
}


/* Footer socials: centrage vertical nickel */
.footer-socials ul{
  display:flex;
  gap:2px; /* ajuste si besoin */
  padding:0;
  margin:0;
  list-style:none;
}

.footer-socials li{
  display:flex;
}

.footer-socials a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;   /* taille du “bouton” */
  height:44px;
  line-height:0;
}

.footer-socials a svg{
  display:block;
  width:28px;   /* taille de l’icône */
  height:28px;
}

/* Fix VISUEL: LinkedIn est “trop haut” dans son viewBox => on le descend un peu */
.footer-socials a[href*="linkedin.com"] svg{
  transform: translateY(-1px);
}
/* Home - mobile : éviter que la section présentation colle aux bords */
@media (max-width: 768px) {
  .home-presentation .presentation-content{
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}