/* La Passerelle : mise en forme du site public.
 *
 * Couleurs, polices et tailles viennent de theme.json (variables --wp--preset--*) :
 * aucune couleur n'est écrite ici en dur. Préfixe des classes : .vc-lp-
 */

:root {
  --vc-lp-red: var(--wp--preset--color--vc-red);
  --vc-lp-red-dark: var(--wp--preset--color--vc-red-dark);
  --vc-lp-ink: var(--wp--preset--color--vc-ink);
  --vc-lp-grey: var(--wp--preset--color--vc-grey);
  --vc-lp-line: var(--wp--preset--color--vc-line);
  --vc-lp-paper: var(--wp--preset--color--vc-paper);
  --vc-lp-white: var(--wp--preset--color--vc-white);
  --vc-lp-night: var(--wp--preset--color--vc-night);
  --vc-lp-oswald: var(--wp--preset--font-family--oswald);
  --vc-lp-header-height: 5.5rem;
  --vc-lp-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 8px 24px -12px rgb(0 0 0 / 0.12);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: color-mix(in oklab, var(--vc-lp-red) 22%, transparent);
}

:focus-visible {
  outline: 2px solid var(--vc-lp-red);
  outline-offset: 3px;
}

/* ─── En-tête ──────────────────────────────────────────────────────────────── */

.vc-lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--vc-lp-white) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--vc-lp-line);
}

.admin-bar .vc-lp-header {
  top: var(--wp-admin--admin-bar--height, 0);
}

.vc-lp-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1180px;
  height: var(--vc-lp-header-height);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.vc-lp-header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.vc-lp-header__nav--left {
  justify-content: flex-end;
}
.vc-lp-header__nav--right {
  justify-content: flex-start;
}

.vc-lp-header__menu {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-lp-header__menu a,
.vc-lp-header__drawer-menu a {
  position: relative;
  color: var(--vc-lp-ink);
  font-family: var(--vc-lp-oswald);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.vc-lp-header__menu a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--vc-lp-red);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.vc-lp-header__menu a:hover::after,
.vc-lp-header__menu a[aria-current='page']::after {
  transform: scaleX(1);
}
.vc-lp-header__menu a[aria-current='page'] {
  color: var(--vc-lp-red);
}

.vc-lp-header__logo {
  display: block;
  line-height: 0;
}
.vc-lp-header__logo-img {
  width: auto;
  height: 3.6rem;
}
.vc-lp-header__logo-text {
  font-family: var(--vc-lp-oswald);
  font-size: 1.5rem;
  color: var(--vc-lp-red);
}

.vc-lp-header__cta {
  margin-left: auto;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  background: var(--vc-lp-red);
  color: var(--vc-lp-white);
  font-family: var(--vc-lp-oswald);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.vc-lp-header__cta:hover {
  background: var(--vc-lp-red-dark);
  color: var(--vc-lp-white);
}

/* Sélecteur de langue (bloc de DZ Langues) : couleurs, rayon et police de la charte. */
.vc-lp-langues {
  --dz-langues-accent: var(--vc-lp-red);
  --dz-langues-sur-accent: var(--vc-lp-white);
  --dz-langues-fond: var(--vc-lp-white);
  --dz-langues-texte: var(--vc-lp-ink);
  --dz-langues-ligne: var(--vc-lp-line);
  --dz-langues-rayon: 2px;
  color: var(--vc-lp-ink);
  font-family: var(--vc-lp-oswald);
  font-size: 0.85rem;
}
.vc-lp-header__nav--right .vc-lp-langues {
  flex-shrink: 0;
  margin-left: -0.5rem;
}
/* Liste déroulante : noms des langues en Lato, plus lisibles que l'Oswald capitale. */
.vc-lp-langues .dz-langues-selecteur__panneau {
  font-family: var(--wp--preset--font-family--lato, inherit);
  font-size: 0.95rem;
}

/* Petit ordinateur : menus, accès et langues tiennent sur la ligne sans déborder. */
@media (min-width: 961px) and (max-width: 1120px) {
  .vc-lp-header__inner {
    gap: 1.5rem;
  }
  .vc-lp-header__nav,
  .vc-lp-header__menu {
    gap: 1.2rem;
  }
}

/* Téléphone : logo à gauche, menu déroulant à droite (la langue est dans le menu). */
.vc-lp-header__mobile {
  display: none;
}

@media (max-width: 960px) {
  .vc-lp-header__inner {
    grid-template-columns: auto 1fr;
    gap: 1rem;
    height: 4.5rem;
  }
  .vc-lp-header__nav {
    display: none;
  }
  .vc-lp-header__logo-img {
    height: 3rem;
  }
  .vc-lp-header__mobile {
    display: block;
    justify-self: end;
  }
  .vc-lp-header__burger {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
    list-style: none;
  }
  .vc-lp-header__burger::-webkit-details-marker {
    display: none;
  }
  .vc-lp-header__burger-icon,
  .vc-lp-header__burger-icon::before,
  .vc-lp-header__burger-icon::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    background: var(--vc-lp-ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .vc-lp-header__burger-icon {
    position: relative;
  }
  .vc-lp-header__burger-icon::before,
  .vc-lp-header__burger-icon::after {
    content: '';
    position: absolute;
    left: 0;
  }
  .vc-lp-header__burger-icon::before {
    top: -7px;
  }
  .vc-lp-header__burger-icon::after {
    top: 7px;
  }
  .vc-lp-header__mobile[open] .vc-lp-header__burger-icon {
    background: transparent;
  }
  .vc-lp-header__mobile[open] .vc-lp-header__burger-icon::before {
    transform: translateY(7px) rotate(45deg);
  }
  .vc-lp-header__mobile[open] .vc-lp-header__burger-icon::after {
    transform: translateY(-7px) rotate(-45deg);
  }
  .vc-lp-header__drawer {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
    background: var(--vc-lp-white);
    border-bottom: 1px solid var(--vc-lp-line);
    box-shadow: var(--vc-lp-shadow);
  }
  .vc-lp-header__drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .vc-lp-header__drawer .vc-lp-header__cta {
    align-self: flex-start;
    margin-left: 0;
  }
  /* Langues au pied du menu, séparées par un trait : segments FR · EN · NL. */
  .vc-lp-header__drawer-langues {
    padding-top: 1.25rem;
    border-top: 1px solid var(--vc-lp-line);
  }
  .vc-lp-header__drawer-langues .vc-lp-langues {
    font-size: 0.95rem;
  }
}

/* ─── Sections de page ─────────────────────────────────────────────────────── */

.wp-site-blocks > main {
  margin-block-start: 0;
}

/* Visuel d'ouverture (bloc vc-lapasserelle-theme/hero). */
.vc-lp-hero2 {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(18rem, 46vh, 32rem);
  margin-block: 0 !important;
  overflow: hidden;
  background: var(--vc-lp-night);
  isolation: isolate;
}
.vc-lp-hero2--accueil {
  min-height: clamp(28rem, 80vh, 48rem);
}
.vc-lp-hero2--bande {
  min-height: clamp(12rem, 30vh, 22rem);
}
.vc-lp-hero2__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vc-lp-hero2:not(.vc-lp-hero2--bande)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.15) 0%, rgb(0 0 0 / 0.55) 100%);
}
.vc-lp-hero2__contenu {
  max-width: 52rem;
  padding: 3rem clamp(1rem, 4vw, 2rem);
  text-align: center;
}
.vc-lp-hero2__titre {
  margin: 0;
  color: var(--vc-lp-white);
  font-size: var(--wp--preset--font-size--xx-large);
  text-shadow: 0 2px 30px rgb(0 0 0 / 0.35);
}
.vc-lp-hero2__texte {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: color-mix(in oklab, var(--vc-lp-white) 90%, transparent);
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.5;
}
.vc-lp-hero2__boutons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.vc-lp-hero2__bouton {
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  font-family: var(--vc-lp-oswald);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.vc-lp-hero2__bouton--plein {
  background: var(--vc-lp-red);
  color: var(--vc-lp-white);
}
.vc-lp-hero2__bouton--plein:hover {
  background: var(--vc-lp-red-dark);
  color: var(--vc-lp-white);
}
.vc-lp-hero2__bouton--clair {
  box-shadow: inset 0 0 0 1px var(--vc-lp-white);
  color: var(--vc-lp-white);
}
.vc-lp-hero2__bouton--clair:hover {
  background: var(--vc-lp-white);
  color: var(--vc-lp-ink);
}

/* Section de page en pleine largeur, avec respiration verticale. */
.vc-lp-section {
  margin-block: 0 !important;
  padding-block: var(--wp--preset--spacing--60);
}
.vc-lp-section + .vc-lp-section {
  border-top: 1px solid transparent;
}
.vc-lp-section > * + * {
  margin-block-start: var(--wp--preset--spacing--40);
}

/* Signature sous un texte (« Christine Matthée, fondatrice… »). */
.vc-lp-signature {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--vc-lp-line);
  color: var(--vc-lp-grey);
  font-style: italic;
}

/* Texte d'introduction un peu plus grand. */
.vc-lp-intro {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.6;
}

/* Petit sur-titre au-dessus d'un titre de section. */
.vc-lp-surtitre {
  margin-bottom: -0.5rem !important;
  color: var(--vc-lp-red);
  font-family: var(--vc-lp-oswald);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Carte blanche sur fond papier. */
.is-style-vc-lp-carte {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--vc-lp-white);
  border-radius: 4px;
  box-shadow: var(--vc-lp-shadow);
}

/* Bandeau sombre (groupe WhatsApp, appels à l'action). */
.is-style-vc-lp-bandeau {
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--vc-lp-night);
  color: color-mix(in oklab, var(--vc-lp-white) 88%, transparent);
  border-radius: 4px;
}
.is-style-vc-lp-bandeau :is(h2, h3) {
  color: var(--vc-lp-white);
}
.is-style-vc-lp-bandeau a:not(.wp-block-button__link) {
  color: var(--vc-lp-white);
}
.is-style-vc-lp-bandeau :is(.is-style-vc-lp-contour, .is-style-outline) .wp-block-button__link {
  color: var(--vc-lp-white);
}
.is-style-vc-lp-bandeau :is(.is-style-vc-lp-contour, .is-style-outline) .wp-block-button__link:hover {
  background: var(--vc-lp-white);
  color: var(--vc-lp-ink);
}

/* Portraits : noir et blanc, couleur au survol. */
.is-style-vc-lp-portrait img {
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.is-style-vc-lp-portrait:hover img {
  filter: grayscale(0);
}

/* Liste à puces de la marque. */
.is-style-vc-lp-puces {
  padding-left: 0;
  list-style: none;
}
.is-style-vc-lp-puces li {
  position: relative;
  padding-left: 1.5rem;
}
.is-style-vc-lp-puces li + li {
  margin-top: 0.4rem;
}
.is-style-vc-lp-puces li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 2px;
  background: var(--vc-lp-red);
}

/* Bouton en contour (le style du thème, et le style « outline » de WordPress que posent les blocs des plugins). */
.is-style-vc-lp-contour .wp-block-button__link,
.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--vc-lp-ink);
  box-shadow: inset 0 0 0 1px currentColor;
}
.is-style-vc-lp-contour .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:hover {
  background: var(--vc-lp-ink);
  color: var(--vc-lp-white);
}

/* Cartes des professeurs. */
.vc-lp-profs .wp-block-column {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--vc-lp-white);
  border-radius: 4px;
  box-shadow: var(--vc-lp-shadow);
}
.vc-lp-profs .wp-block-image {
  margin: 0;
}
.vc-lp-profs .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.vc-lp-profs .vc-lp-prof__texte {
  flex: 1;
  padding: 1.5rem 1.75rem 2rem;
}
.vc-lp-profs .vc-lp-prof__texte h3 {
  margin-top: 0;
}

/* Liens de téléchargement (horaires, congés, règlement). */
.vc-lp-telechargements {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}
.vc-lp-telechargements a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--vc-lp-line);
  border-radius: 4px;
  color: var(--vc-lp-ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.vc-lp-telechargements a::before {
  content: '↓';
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: color-mix(in oklab, var(--vc-lp-red) 10%, transparent);
  color: var(--vc-lp-red);
  font-weight: 700;
}
.vc-lp-telechargements a:hover {
  border-color: var(--vc-lp-red);
  background: color-mix(in oklab, var(--vc-lp-red) 4%, transparent);
}

/* Tableau de tarifs et de niveaux. */
.vc-lp-tableau table {
  border-collapse: collapse;
  width: 100%;
}
.vc-lp-tableau :is(th, td) {
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--vc-lp-line);
  text-align: left;
  vertical-align: top;
}
.vc-lp-tableau th {
  color: var(--vc-lp-grey);
  font-family: var(--vc-lp-oswald);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vc-lp-tableau td:first-child {
  font-weight: 700;
  white-space: nowrap;
}
.vc-lp-tableau--prix td:last-child {
  text-align: right;
  white-space: nowrap;
}

/* Carte de Google Maps sans bordure. */
.vc-lp-carte-plan iframe {
  display: block;
  width: 100%;
  min-height: 22rem;
  border: 0;
  border-radius: 4px;
}

/* ─── Horaire des cours (bloc vc-ecole/horaire) : la charte du studio ─────── */

.vc-ecole-horaire {
  --vc-ecole-accent: var(--vc-lp-red);
  --vc-ecole-accent-contenu: var(--vc-lp-white);
  --vc-ecole-fond: var(--vc-lp-white);
  --vc-ecole-surface: var(--vc-lp-paper);
  --vc-ecole-trait: var(--vc-lp-line);
  --vc-ecole-doux: var(--vc-lp-grey);
  --vc-ecole-ombre: var(--vc-lp-shadow);
}
.has-vc-paper-background-color .vc-ecole-horaire {
  --vc-ecole-surface: var(--vc-lp-white);
}
.vc-ecole-horaire .vc-ecole-horaire__titre,
.vc-ecole-horaire__nom,
.vc-ecole-horaire__libelle {
  font-family: var(--vc-lp-oswald);
  font-weight: 500;
}
.vc-ecole-horaire__nom {
  letter-spacing: 0.01em;
}
.vc-ecole-horaire__libelle {
  letter-spacing: 0.16em;
}

/* ─── Page des cours : disciplines et niveaux ─────────────────────────────── */

/* Cartes des disciplines, de même hauteur sur une rangée. */
.vc-lp-disciplines > .wp-block-column {
  display: flex;
  flex-direction: column;
}
.vc-lp-disciplines .vc-lp-discipline {
  flex: 1;
  border-top: 3px solid var(--vc-lp-red);
}
.vc-lp-discipline h3 {
  margin-top: 0;
}
.vc-lp-discipline p {
  margin-bottom: 0;
}

/* Niveaux : un volet dépliable par niveau (bloc Détails). */
.vc-lp-niveaux h3 {
  margin: 0 0 0.5rem;
  color: var(--vc-lp-red);
  font-size: 1rem;
  letter-spacing: 0.14em;
}
.vc-lp-niveaux .vc-lp-niveaux__suite {
  margin-top: 2.5rem;
}
.vc-lp-niveau {
  margin: 0 !important;
  border-bottom: 1px solid var(--vc-lp-line);
}
.vc-lp-niveau summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  padding: 0.75rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.vc-lp-niveau summary::-webkit-details-marker {
  display: none;
}
.vc-lp-niveau summary::after {
  content: '+';
  flex-shrink: 0;
  color: var(--vc-lp-red);
  font-family: var(--vc-lp-oswald);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease-out;
}
.vc-lp-niveau[open] summary::after {
  transform: rotate(45deg);
}
.vc-lp-niveau summary:hover {
  color: var(--vc-lp-red);
}
.vc-lp-niveau > p {
  margin: 0 0 0.75rem;
  color: var(--vc-lp-ink);
}
.vc-lp-niveau > p:last-child {
  margin-bottom: 1.25rem;
}

/* Tarifs à côté des téléchargements. */
.vc-lp-tarifs > .wp-block-column {
  display: flex;
  flex-direction: column;
}
.vc-lp-tarifs > .wp-block-column > .is-style-vc-lp-carte {
  flex: 1;
}
.vc-lp-tarifs > .wp-block-column:first-child {
  flex-grow: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .vc-lp-niveau summary::after,
  .vc-lp-header__menu a::after,
  .is-style-vc-lp-portrait img {
    transition: none;
  }
}

/* ─── Actualités : cartes d'articles (home.html, archive.html, accueil) ──── */

/* Trois colonnes au plus, même avec deux articles : une carte ne s'étire pas sur la moitié de l'écran. */
.vc-lp-articles .wp-block-post-template.is-layout-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.vc-lp-articles .wp-block-post-template > li {
  display: flex;
  min-width: 0;
}
.vc-lp-article-carte {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--vc-lp-white);
  border-radius: 4px;
  box-shadow: var(--vc-lp-shadow);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.vc-lp-article-carte:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 14px 32px -14px rgb(0 0 0 / 0.22);
}
/* Section « Dernières actualités » de l'accueil. */
.vc-lp-dernieres .vc-lp-articles {
  margin-top: var(--wp--preset--spacing--50) !important;
}
.vc-lp-dernieres > .wp-block-buttons {
  margin-top: var(--wp--preset--spacing--50) !important;
}
/* Sur fond blanc (section de l'accueil), la carte garde un contour. */
.vc-lp-dernieres .vc-lp-article-carte {
  border: 1px solid var(--vc-lp-line);
}
.vc-lp-article-carte__image {
  margin: 0 !important;
}
.vc-lp-article-carte__image img {
  display: block;
  object-position: center top;
}
.vc-lp-article-carte__texte {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 1.25rem 1.5rem 1.5rem;
}
.vc-lp-article-carte__texte > * {
  margin: 0 !important;
}
.vc-lp-article-carte__categories {
  font-family: var(--vc-lp-oswald);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.vc-lp-article-carte__categories a {
  color: var(--vc-lp-red);
  text-decoration: none;
}
.vc-lp-article-carte__titre {
  font-size: 1.35rem !important;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-transform: none !important;
}
.vc-lp-article-carte__titre a {
  color: var(--vc-lp-ink);
  text-decoration: none;
}
.vc-lp-article-carte__titre a:hover {
  color: var(--vc-lp-red);
}
.vc-lp-article-carte__date {
  color: var(--vc-lp-grey);
  font-size: var(--wp--preset--font-size--small);
}
.vc-lp-article-carte__extrait {
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 0.975rem;
  line-height: 1.6;
}
.vc-lp-article-carte__extrait .wp-block-post-excerpt__excerpt {
  margin: 0;
}
.vc-lp-article-carte__extrait .wp-block-post-excerpt__more-text {
  margin: auto 0 0;
  padding-top: 0.75rem;
}
.vc-lp-article-carte__extrait .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 700;
}
.vc-lp-article-carte__extrait .wp-block-post-excerpt__more-link::after {
  content: '→';
  margin-left: 0.35rem;
}

/* Pagination des actualités. */
.vc-lp-pagination {
  gap: 0.5rem;
  margin-top: var(--wp--preset--spacing--50) !important;
  font-family: var(--vc-lp-oswald);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vc-lp-pagination a,
.vc-lp-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  color: var(--vc-lp-ink);
  text-decoration: none;
}
.vc-lp-pagination .page-numbers.current {
  background: var(--vc-lp-red);
  color: var(--vc-lp-white);
  border-radius: 2px;
}

/* ─── Actualités : lecture d'un article (single.html) ───────────────────── */

.vc-lp-article__entete {
  text-align: center;
}
.vc-lp-article__entete > * {
  margin-inline: auto;
}
.vc-lp-article__categories {
  margin-bottom: 0.75rem !important;
}
.vc-lp-article__categories a {
  color: inherit;
  text-decoration: none;
}
.vc-lp-article__titre {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  line-height: 1.15;
}
.vc-lp-article__date {
  margin-top: 0.75rem !important;
  color: var(--vc-lp-grey);
}
.vc-lp-article__image {
  margin-top: var(--wp--preset--spacing--50) !important;
  text-align: center;
}
.vc-lp-article__image img {
  width: auto !important;
  max-width: 100%;
  max-height: min(80vh, 52rem);
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: var(--vc-lp-shadow);
}
.vc-lp-article__contenu {
  margin-top: var(--wp--preset--spacing--50) !important;
  font-size: 1.125rem;
  line-height: 1.75;
}
.vc-lp-article__contenu .wp-block-image img {
  height: auto;
  border-radius: 4px;
}
.vc-lp-article__contenu h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

/* Partage et retour à la liste. */
.vc-lp-partage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: var(--wp--preset--spacing--50) !important;
  padding-block: 1.25rem;
  border-top: 1px solid var(--vc-lp-line);
  border-bottom: 1px solid var(--vc-lp-line);
}
.vc-lp-partage__titre {
  margin: 0;
  color: var(--vc-lp-grey);
  font-family: var(--vc-lp-oswald);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.vc-lp-partage__liens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-lp-partage__liens a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--vc-lp-line);
  color: var(--vc-lp-ink);
  font-size: 0.9rem;
  text-decoration: none;
  transition: box-shadow 0.2s ease-out, color 0.2s ease-out;
}
.vc-lp-partage__liens a:hover {
  box-shadow: inset 0 0 0 1px var(--vc-lp-red);
  color: var(--vc-lp-red);
}
.vc-lp-partage__retour {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-left: auto;
  font-weight: 700;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Article précédent, article suivant. */
.vc-lp-article__navigation {
  gap: 1rem 2rem;
  margin-top: 1.5rem !important;
  font-size: 0.95rem;
}
.vc-lp-article__navigation > * {
  min-width: 0;
  max-width: 100%;
}
.vc-lp-article__navigation .post-navigation-link-next {
  margin-left: auto;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .vc-lp-article-carte,
  .vc-lp-partage__liens a {
    transition: none;
  }
  .vc-lp-article-carte:hover {
    transform: none;
  }
}

/* ─── Pied de page ─────────────────────────────────────────────────────────── */

.vc-lp-footer {
  margin-top: 0;
  background: var(--vc-lp-night);
  color: color-mix(in oklab, var(--vc-lp-white) 72%, transparent);
  font-size: 0.95rem;
}
.vc-lp-footer a {
  color: inherit;
  text-decoration: none;
}
.vc-lp-footer a:hover {
  color: var(--vc-lp-white);
}

.vc-lp-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1180px;
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2rem);
}

.vc-lp-footer__logo-img {
  width: auto;
  height: 3.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--vc-lp-white);
  border-radius: 4px;
}
.vc-lp-footer__tagline {
  max-width: 18rem;
  margin-top: 1.25rem;
  line-height: 1.6;
}

.vc-lp-footer__title {
  margin: 0 0 1rem;
  color: var(--vc-lp-white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.vc-lp-footer__address {
  font-style: normal;
  line-height: 1.9;
}
.vc-lp-footer__links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vc-lp-footer__bottom {
  border-top: 1px solid color-mix(in oklab, var(--vc-lp-white) 12%, transparent);
}
.vc-lp-footer__bottom p {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  color: color-mix(in oklab, var(--vc-lp-white) 50%, transparent);
  font-size: 0.8rem;
}

@media (max-width: 900px) {
  .vc-lp-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .vc-lp-footer__col--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .vc-lp-footer__inner {
    grid-template-columns: 1fr;
  }
}
