/* ==========================================================================
   GLOBAL.CSS — Site vitrine sur-mesure
   Mobile-first • CSS3 pur • Design premium doux (corporate / professions libérales)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM — Variables (à personnaliser)
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs principales — remplacer par vos codes hex */
  --c1: #ff844b;
  --c1TC: rgba(255, 132, 75, .1);
  --c2: #ffcc69;
  --c3: #feaa61;
  --c3TC: rgba(254, 170, 97, .1);
  --c4: #bc2021;
  --c1C: #fff2ed;
  --gris: #999;
  --grisF: #333;
  --blkc: #fcf3ed; /* blanc cassé #f8f4ef VS rgba(255, 132, 75, .045);*/

  /* Typographie — valeurs à coller depuis Google Fonts (font-family) */
  --kalnia: "Kalnia", serif;
  --rale: "Raleway", sans-serif;

  /* Line-height paragraphes */
  --LH: 1.6;

  /* Rayon des bords (cohérent thème premium) */
  --radius: 2rem;

  /* Espacements cohérents */
--xs: 0.25rem;
--s: 0.5rem;
--m: 1rem;
--l: 1.75rem;
--xl: 2rem;
--xxl: 3rem;

  --padding: 25px;

  /* Ombres */
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.45s ease;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--rale);
  font-weight: 300;
  font-size: 1rem; /* 16px */
  line-height: 1.75;
  color: var(--grisF);
  background-color: #fff;
}

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

/* --------------------------------------------------------------------------
   3. ACCESSIBILITÉ — Focus visible
   -------------------------------------------------------------------------- */

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHIE
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--xl);
  font-family: var(--kalnia);
  font-weight: 500;
  line-height: 1.35;
  /*color: var(--c1);*/
}

/* h1 et h2 avec classe .h1 : même style */
h1,
h2.h1, h3.h1, h4.h1 {
  /*font-size: clamp(1.75rem, 4vw + 1rem, 2.5rem);*/
  font-size: 1.7rem;
}

@media (min-width: 1280px) {
  h1 {
    font-size: 2.25rem;
  }

  h2.h1, h3.h1, h4.h1 {
    font-size: 1.8rem;
  }
}

p {
  margin: 0;
}

p strong, main ul li strong {
  font-weight: 600; /* 700 */
}

main p a, main ul li a {
  text-decoration: underline;
  color: var(--c1);
}

main p a:hover, main ul li a:hover, main p a:focus-visible, main ul li a:focus-visible {
  color: var(--c3);
}

.content {
  position: relative;
}
/* --------------------------------------------------------------------------
   5. UTILITAIRES
   -------------------------------------------------------------------------- */

.center {
  text-align: center;
}

.cta.center {
  margin-left: auto;
  margin-right: auto;
}

.center:not(a):not(p):not(button) {
  margin-left: auto;
  margin-right: auto;
}

.limited.left, .left {
  text-align: left;
}

.check li::before {
  content: 'done';
  font-family: 'Material Icons';
  color: var(--c1);
  background: var(--c3TC);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0;
  margin-right: 10px;
}

.full {
  width: 100%;
  max-width: 100% !important;
}

/* --------------------------------------------------------------------------
   UTILITAIRES — Couleurs de fond à partir des variables CSS
   -------------------------------------------------------------------------- */

/* Couleurs principales */
/* Arrière-plans pour chaque variable couleur */
.c1BG { background: var(--c1); }
.c1TCBG { background: var(--c1TC); }
.c2BG { background: var(--c2); }
.c3BG { background: var(--c3); }
.c3TCBG { background: var(--c3TC); }
.c4BG { background: var(--c4); }
.c1CBG { background: var(--c1C); }
.grisBG { background: var(--gris); }
.grisFBG { background: var(--grisF); }
.blkcBG { background: var(--blkc); }

#rdv.c3BG h2, #rdv.c3BG p {
  color:#FFF;
}

#rdv h2 {
  margin-bottom: var(--xxl);
}

#rdv .cta:hover, #rdv .cta:focus-visible {
  background: var(--c3);
  color: #FFF;
}

#rdv.c3BG .cta {
  background: #FFF;
  color: var(--c3);
  margin-top: var(--xxl);
  box-shadow: var(--shadow-card-hover);
}

#rdv.c3BG .cta:hover, #rdv.c3BG .cta:focus-visible {
  background: var(--c1);
  color: #FFF;
}





#rdv .content {
  padding-top: calc(2 * var(--xxl));
  padding-bottom: calc(2 * var(--xxl));
}

.blkcBG h3, .blkcBG h2, .c1TCBG h3, .c1TCBG h2, .c3TCBG h3, .c3TCBG h2, .blkcBG h4, .c1TCBG h4, .c3TCBG h4 {
  color: var(--c1);
}

.blkcBG .citation {
  background: #FFF;
}

.paddingBottom2x {
  padding-bottom: var(--l);
}

@media (min-width: 1280px) {
  .paddingBottom2x {
    padding-bottom: var(--s);
  }
}

/* --------------------------------------------------------------------------
   6. LAYOUT — Container & sections
   -------------------------------------------------------------------------- */

.content {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: var(--xl) var(--l);
}

@media (min-width: 1280px) {
  .content {
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--xxl);
    padding-bottom: var(--xxl);
  }
}

/* --------------------------------------------------------------------------
   7. TOPBAR + LOGO + MENU/NAVIGATION
   -------------------------------------------------------------------------- */
#topBar {
  width: 95%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  height: 90px;
  border-radius: 45px;
  background: #FFF;
 /*background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);*/
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-card);
}

#topBar .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  padding-left: 5px;
  padding-right: 10px;
  width: 100%;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

header .logo {
  background: url("images/logo_header.webp") left no-repeat;
  background-size: 80px 80px;
  border-radius: 45px 0 0 45px;
  width: 270px;
  height: 80px;
  padding-left: 80px;
}

.logo span:first-child {
  font-family: var(--kalnia);
  font-size: 18pt;
  color: var(--c3);
}

.logo span:last-child {
  font-family: var(--rale);
  font-size: 7pt;
  letter-spacing: 1px;
  color: var(--grisF);
}


#boutonMenu, #close {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color:var(--c3);
  transition: var(--transition-fast);
}

#boutonMenu:hover, #boutonMenu:focus-visible {
  background: var(--c1TC);
}

#close {
  width: 40px;
  height: 40px;
  margin-left: auto;
  margin-right: 0;
  color: var(--c1);
  font-size: 2.5rem;
}

nav {
  display:none;
  width: 90%;
  max-width: 400px;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  padding: var(--m);
  background-color: #fff;
  box-shadow: var(--shadow-card-hover);
  overflow-y: auto;
}

nav .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--m);
  padding-top: var(--m);
  padding-bottom: var(--m);
}

nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

nav ul li {
  width: 100%;
  min-height: 50px;
  text-align: center;
}

nav ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: var(--padding);
  padding-right: var(--padding);
  min-height: 50px;
  color: var(--c1);
  text-decoration: none;
  border-radius: 50px;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

nav ul li a:hover,
nav ul li a:focus-visible,
nav ul li a.actif {
  background-color: var(--c1);
  color:#FFF;
}

/* SOUS-MENU */
.subCat ul {
  display: none;
  border-radius: 25px;
  background: var(--c1TC);
  padding: 15px;
  margin-top: 10px;
}

.subCat ul li a {
  padding-top: 10px;
  padding-bottom: 10px;
}

.subCat ul li a:hover, .subCat ul li a:focus-visible {
  background: #FFF;
  color: var(--c1);
}

/* Desktop : navbar horizontale, logo à gauche, nav à droite */
@media (min-width: 1280px) {
  #boutonMenu, #close {
    display: none;
  }

  #topBar {
    width: 100%;
  }

  #topBar .content {
    padding-right: 15px;
  }
  nav {
    position: static;
    right: auto;
    top: auto;
    height: 100%;
    width: auto;
    max-width: none;
    box-shadow: none;
    padding: 0;
    overflow: unset;
    background: none;
    display: block;
  }

  nav ul {
    flex-direction: row;
    height: auto;
    width: auto;
    margin-top: 0;
    gap: 10px;
  }

  nav ul li {
    width: auto;
    height: auto;
    position: relative;
  }

  nav ul li a {
    padding-left: 15px;
    padding-right: 15px;
    color: var(--grisF);
  }

  nav ul li a:not(.actif):hover, nav ul li a:not(.actif):focus-visible{
    background: var(--c1TC);
    color: var(--c1);
  }
  /* Affichage du sous-menu au survol de la souris sur .subCat, sans transition */
  nav .subCat {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
  }

  nav ul .subCat > ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    position: absolute;
    padding: 12px;
    left: 0;
    top: 90px;
    width: 410px;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(6px);
    margin-top: 0;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius);
    z-index: 1000;
  }

  nav ul li.subCat:hover > ul,
  nav ul li.subCat:focus-visible > ul {
    display: flex;
  }

  nav ul li.subCat > ul li a {
    display: flex;
    color: currentColor;
    padding-top: 0;
    padding-bottom: 0;
  }
  nav ul li.subCat > ul li a:hover,
  nav ul li.subCat > ul li a:focus-visible {
    background: var(--c1TC);
    color: var(--c1);
  }
}

/* --------------------------------------------------------------------------
   8. CTA GLOBAL
   -------------------------------------------------------------------------- */
.cta {
  display: flex;
  border-radius: 25px;
  min-height: 50px;
  max-width: fit-content;
  padding-left: var(--padding);
  padding-right: var(--padding);
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  border: 0;
  font-family: var(--rale);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

p + .cta, ul + .cta, h2 + .cta, h3 + .cta, h4 + .cta {
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   8. HERO + CTA
   -------------------------------------------------------------------------- */

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--xl) var(--m);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2); /* léger filtre sombre transparent */
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

.hero.darker::before {
  background: rgba(0, 0, 0, .35); /* léger filtre sombre transparent */
}

.hero .content, .hero h1, .hero p {
  position: relative;
  z-index: 2;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--xl);
  margin-top: 90px;
}

.hero h1, .hero p {
  color: #FFF;
  max-width: 760px;
  margin: auto;
  text-shadow: 0 3px 8px rgba(0, 0, 0, .7);
}

.hero h1 {
  text-shadow: 0 3px 8px rgba(0, 0, 0, .4);
}

.hero .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--m);
  align-items: center;
  margin-top: 10px;
}

.cta-group .cta {
  padding-left: var(--padding);
  padding-right: var(--padding);
  background: var(--c1);
  color: #FFF;
  gap: 7px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cta-group .cta:hover, .cta-group .cta:focus-visible {
  color: #FFF;
  background: var(--c3);
}

.cta-group .cta:last-child {
  width: 50px;
  height: 50px;
  max-width: 50px !important;
  color: #FFF;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

.cta-group .cta:last-child:hover, .cta-group .cta:last-child:focus-visible {
  background: #FFF;
  color: var(--c1);
}

.hero.accueil {
  background: url("images/accueil_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.art {
  background: url("images/art_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.clown {
  background: url("images/clown_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.mime {
  background: url("images/mime_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.psycho {
  background: url("images/psycho_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.act {
  background: url("images/act_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.particuliers {
  background: url("images/particuliers_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.institutions {
  background: url("images/institutions_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.social {
  background: url("images/social_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.spectacles {
  background: url("images/spectacles_1920.webp") left top no-repeat;
  background-size: cover;
}

.hero.ateliers {
  background: url("images/ateliers_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.parcours {
  background: url("images/parcours_1920.webp") left no-repeat;
  background-size: cover;
}

.hero.tarifs {
  background: url("images/tarifs_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.blog {
  background: url("images/blog_1920.webp") center no-repeat;
  background-size: cover;
}

.hero.contact {
  background: url("images/contact_1920.webp") center no-repeat;
  background-size: cover;
}

@media (max-width: 500px) {
  .hero .cta-group {
    flex-direction: column;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   9. BOUTONS / CTA
   -------------------------------------------------------------------------- */

.cta:focus-visible {
  outline: 2px solid var(--c3);
  outline-offset: 2px;
}

main .cta {
  background: var(--c1);
  color: #FFF;
  font-weight: 300;
}

main .cta:hover, main .cta:focus-visible {
  background: var(--c3);
}

/* CTA principal */
.cta--primary {
  background-color: var(--c1);
  color: #fff;
  border-color: var(--c1);
}

.cta--primary:hover,
.cta--primary:focus {
  background-color: var(--c2);
  border-color: var(--c2);
  color: #fff;
}

/* CTA secondaire (contour ou fond léger) */
.cta.secondary {
  background:  var(--c1TC);
  color: var(--c1);
}

.cta.secondary:hover,
.cta.secondary:focus {
  color: #fff;
}

/* --------------------------------------------------------------------------
   10. CARDS & WRAPPER
   -------------------------------------------------------------------------- */

.wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--xxl);
}

.card {
  width: 100%;
  max-width: 360px; /* à ajuster selon besoin */
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #fff;
  /*box-shadow: var(--shadow-card);*/
  transition: box-shadow var(--transition-normal);
}

.card:hover,
.card:focus-within {
  box-shadow: var(--shadow-card-hover);
}

.card img {
  width: 100%;
  object-fit: cover;
}

.card .card-body {
  padding: var(--l);
}

.wrapper.illustration {
  width: 100%;
  align-items: center;
}

.wrapper.illustration img {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.wrapper.illustration > div:first-child {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--xxl);
}

.wrapper.illustration .text {
  width: 100%;
  max-width: calc(1280px - 640px - var(--xxl));
}

/*@media only screen and (min-width: 1280px) {
  .wrapper.alternate img, .wrapper:nth-of-type(odd) > img, .wrapper + .wrapper > img, .wrapper + .wrapper:not(.minicards) > div:first-child {
    order: 2;
  }

  .wrapper.alternate .text, .wrapper.alternate:nth-of-type(odd) .text, .wrapper + .wrapper:not(.minicards) > .text {
    order: 1;
  }*/
/* Gestion alternée de l'ordre entre image et .text dans .wrapper et .wrapper.alternate */

@media only screen and (min-width: 1280px) {
  /* .wrapper : Par défaut, image en 1 et .text en 2 */
  .wrapper.illustration > img {
    order: 1;
  }
  .wrapper.illustration > .text {
    order: 2;
  }

  /* .wrapper.illustration:nth-of-type(even) > img => Inverse pour pair */
  .wrapper.illustration:nth-of-type(even) > img {
    order: 2;
  }
  .wrapper.illustration:nth-of-type(even) > .text {
    order: 1;
  }

  /* .wrapper.alternate : Par défaut, image en 2 et .text en 1 */
  .wrapper.alternate > img {
    order: 2;
  }
  .wrapper.alternate > .text {
    order: 1;
  }

  /* .wrapper.alternate:nth-of-type(even) => Inversion sur les pairs (deuxième etc.) */
  .wrapper.alternate:nth-of-type(even) > img {
    order: 1;
  }
  .wrapper.alternate:nth-of-type(even) > .text {
    order: 2;
  }
}

.minicards, .cards {
  justify-content: center;
}

.minicard, .card {
  background: #FFF;
  border-radius: var(--radius);
  padding: var(--padding);
  transition: var(--transition-normal);width: 100%;
  max-width: calc(1280px - 640px - var(--xxl));
}

.minicard:hover, .minicard:focus-visible, .card:hover, .card:focus-visible {
  box-shadow: var(--shadow-card-hover);
}

.minicard .picto, .card .picto {
  /*display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #FFF;
  color: var(--c1);
  width: 60px;
  height: 60px;
  box-shadow: var(--shadow-card);*/
  color: var(--c1);
}

.minicard h3, .card h3 {
  color: var(--grisF);
  font-size: 1.1rem;
}

.minicard .cta, .card .cta {
  margin-left: auto;
  margin-right: 0;
}

.card p span, .minicard p span {
  color: var(--c1);
  vertical-align: middle;
  margin-right: 5px;
  margin-top:-3px;
}

.card .minicardContent > div:not(.tags) {
  padding: var(--l);
  border-radius:var(--radius);
  margin-top: var(--xl);
  border: 1px solid var(--c1C);
}

.card .minicardContent > div:not(.tags) + div {
  margin-top: var(--xl);
}

.card .minicardContent > div:not(.tags):hover, .card .minicardContent > div:not(.tags):focus-visible {
  border-color: var(--c3);
}

@media only screen and (min-width: 1280px) {
  .minicards, .cards {
    justify-content: space-between;
  }
  .minicard {
    max-width: 394px;
  }

  .card {
    max-width: 616px;
  }
}

/* --------------------------------------------------------------------------
   MINICARDS - TARIFS
   -------------------------------------------------------------------------- */
   .minicards.tarifs {
    justify-content: center;
  }
  
  .minicards.tarifs .minicard h3 {
  margin-bottom: var(--m);
}

/*.minicards.tarifs .minicard {
  border: 1px solid var(--c1TC);
}*/

.minicards.tarifs .minicard:hover .prix, .minicards.tarifs .minicard:focus-visible .prix {
  background: var(--c1);
  color: #FFF;
}

.minicards.tarifs .minicard:hover .prix .little, .minicards.tarifs .minicard:focus-visible .prix .little {
  color: #FFF;
}

.prix {
  height: auto;
  min-height: 60px;
  margin: auto !important;
  min-width: 130px;
  max-width: fit-content;
  margin-top: var(--m) !important;
  border-radius: var(--radius);
  background: var(--c1TC);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: var(--m);
  padding-left: var(--l);
  padding-right: var(--l);
  color: var(--c1);
  font-weight: 700;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.prix .little {
  transition: var(--transition-fast);
}

.prix.normal {
  font-size: 1rem;
  font-weight: 300;
}

.prix .little {
  font-weight: 300;
  font-size: 0.9rem;
}
/* --------------------------------------------------------------------------
   REVIEWS — Carrousel horizontal d'avis
   -------------------------------------------------------------------------- */

/* Container de navigation avec boutons et carrousel */
.reviews-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  position: relative;
}

/* Boutons de navigation */
.reviews-navigation .navigation {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  position: absolute;
  top: 50%;
  margin-top: -20px;
}

.navigation.left {
  left: -20px;
  display: none;
}

.navigation.right{
  right: -20px;
}

.reviews-navigation .navigation:hover,
.reviews-navigation .navigation:focus-visible {
  color: var(--c1);
  background: var(--c1TC);
}

/* Wrapper reviews — conserve les propriétés de .wrapper et ajoute le comportement carrousel */
.wrapper.reviews {
  /* Propriétés héritées de .wrapper conservées */
  display: flex;
  justify-content: flex-start; /* modifié depuis center pour le carrousel */
  align-items: flex-start;
  gap: var(--xxl); /* conserve le gap de .wrapper */
  
  /* Propriétés spécifiques au carrousel */
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap; /* force une seule ligne */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  flex: 1;
}

/* Cartes d'avis — conservent le style des .card/.minicard */
.wrapper.reviews .card.review {
  flex: 0 0 auto; /* empêche le rétrécissement */
  width: 100%;
  max-width: 394px;
  min-width: 0;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: none;
  padding: var(--padding);
  transition: var(--transition-normal);
  scroll-snap-align: start; /* alignement pour scroll-snap */
  scroll-snap-stop: always; /* force l'arrêt sur chaque carte */
}

.review.card img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.review.card .author {
  display: flex;
  align-items: center;
  gap: var(--m);
}

.review.card .author span {
  display: block;
}

.review.card .author .name {
  font-weight: 700;
  font-size: 1rem;
}

.review.card .author .date {
  color: var(--gris);
  font-size: 0.9rem;
}

.review.card .stars {
  color: var(--c3);
  margin-bottom: var(--s);
  margin-top: var(--s);
}

/* Mobile : scrollbar horizontale visible et personnalisée */
@media (max-width: 1279px) {
  .wrapper.reviews {
    scrollbar-width: thin;
    scrollbar-color: var(--c3) transparent;
  }

  
  
  .wrapper.reviews::-webkit-scrollbar {
    height: 6px;
    background: none;
    border-radius: 3px;
  }
  
  .wrapper.reviews::-webkit-scrollbar-thumb {
    background: var(--c1);
    border-radius: 3px;
    
  }
  
  .wrapper.reviews::-webkit-scrollbar-thumb:hover {
    background: var(--c1);
  }
  
  .wrapper.reviews .card.review {
    flex: 0 0 100%; /* chaque carte prend toute la largeur visible */
    max-width: 100%;
  }
}

/* Desktop : scrollbar masquée, largeur fixe des cartes */
@media only screen and (min-width: 1280px) {
  .wrapper.reviews {
    scrollbar-width: none; /* Masque la scrollbar sur Firefox */
    -ms-overflow-style: none; /* Masque la scrollbar sur IE/Edge */
  }
  
  .wrapper.reviews::-webkit-scrollbar {
    display: none; /* Masque la scrollbar sur Chrome/Safari */
  }
  
  .wrapper.reviews .card.review {
    flex: 0 0 394px;
    max-width: 394px;
    width: 394px;
  }
  
  .reviews-navigation .navigation.left {
    visibility: visible;
  }
}


/* --------------------------------------------------------------------------
   STEP NUMBER
   -------------------------------------------------------------------------- */
.step {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--xl) * -1 - 35px);
  border: 5px solid #FFF;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;padding-bottom: 0.2cap;
  color: #FFF;
  background: var(--c1);
}

.step + h3, .step + .wrapper {
  margin-top: var(--m);
}

.step + .wrapper {
  margin-top: var(--l);
}

@media only screen and (min-width: 1280px) {
  .step {
    margin-top: calc(var(--xxl) * -1 - 35px);
  }

  .step + h3 {
    margin-top: 0;
  }

  .step + .wrapper {
    margin-top: var(--m);
  }
}

.limited {
  /*text-align: center;*/
  max-width: 700px;
  margin: auto;
}

/* --------------------------------------------------------------------------
   CARACTÉRISTIQUES CLOWN
   -------------------------------------------------------------------------- */


/* Compteur pour .spec */
.wrapper.specs {
  counter-reset: spec-counter;
  margin-top:var(--xxl);
}

.spec {
  position: relative;
  max-width: 600px;
  display: flex;
  flex-direction:column;
  justify-content: center;
  border-radius: var(--radius);
  border: 2px solid var(--blkc);
  padding: var(--l);
  padding-top: var(--xxl);
  transition: var(--transition-normal);
  counter-increment: spec-counter;
}

.spec:hover, .spec:focus-visible {
  border-color: var(--c1);
}

.spec:hover::before, .spec:focus-visible::before {
  color: var(--c1);
}

.spec:hover h3, .spec:focus-visible h3 {
  color: var(--c1);
}

/* Afficher le compteur à gauche pour les .spec impaires */


/* Afficher le compteur à droite pour les .spec paires */
.spec::before {
  content: counter(spec-counter);
  position: absolute;
  left: 0;
  top: -5px;
  transform: translateY(-50%);
  width: 100px;
  height: 100%;
  color: var(--blkc);
  text-shadow:
    -7px 0 0 #FFF,
    7px 0 0 #FFF,
    0 -7px 0 #FFF,
    0 7px 0 #FFF,
    -7px -7px 0 #FFF,
    7px -7px 0 #FFF,
    -7px 7px 0 #FFF,
    7px 7px 0 #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rale);
  font-size: 4rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

@media only screen and (min-width: 1280px) {
  .spec {
    padding: var(--l);
    padding-left:var(--xxl);
  }
  .spec::before {
    left: -50px;
    top: 50%;
  }
}
/*.spec:nth-of-type(odd) {
  margin-left: auto;
}

.spec:nth-of-type(even) {
  margin-right: auto;
}*/
/* --------------------------------------------------------------------------
   OBJECTIFS
   -------------------------------------------------------------------------- */
  ul.objectifs li {
    max-width: 270px;
    background:#FFF;
    padding: var(--l);
    border-radius:var(--radius);
    transition: var(--transition-fast);
  }

  .objectifs li > span {
    color: var(--c1);
    display: block;
    margin-bottom: var(--s);
  }

  .objectifs li:hover, .objectifs li:focus-visible {
    box-shadow: var(--shadow-card-hover);
  }
/* --------------------------------------------------------------------------
   10 BIS. TAGS
   -------------------------------------------------------------------------- */
.tags {
  display: flex;
  gap: var(--m);
  flex-wrap: wrap;
}

.tags + h2, .tags + h3 {
  margin-top: 15px;
}

.tags p {
  font-size: .8rem;
  min-height: 30px;
  border-radius: 15px;
  background: var(--c1TC);
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .7rem;
  padding-top: .2rem;
  padding-bottom: .2rem;
  transition: var(--transition-normal);
}

.tags p:hover, .tags p:focus-visible {
  background: var(--c3);
  color: #FFF;
}

/* --------------------------------------------------------------------------
   10 TER. CITATIONS
   -------------------------------------------------------------------------- */
.citation, .infobulle {
  width: 100%;
  max-width: 700px;
  background: var(--c3TC);
  border-radius: var(--radius);
  padding: 1.7rem;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--c1);
  border-bottom: 3px solid var(--c3);
}

.infobulle {
  color: currentColor;
  font-size: 1rem;
  font-style: normal;
}

.citation .auteur {
  font-size: .9rem;
  display: block;
  width: 100%;
  text-align: right;
  font-style: normal;
  color: var(--grisF);
}

.citation .auteur::before {
  content: '—';
  margin-right: 5px;
}

/* ESPACEMENT HAUT */
h2 +.citation, h3 + .citation, h4 + .citation, .cta + .citation, h2 +.infobulle, h3 + .infobulle, h4 + .infobulle, .cta + .infobulle, .wrapper + ul, .wrapper + h2, .wrapper + h3, .wrapper + p, p + .wrapper, .wrapper + .wrapper, .wrapper + .cta, p + h2, p + h3, p + ul.check, ul.check + p, .cta + p {
  margin-top: var(--xxl);
}

p + .citation, .citation + p, .infobulle + p, p + .infobulle, .citation + .cta, .infobulle + .cta, ul + .citation, ul + .infobulle, .infobulle + ul, .citation + ul, div + .cta {
  margin-top: var(--xl);
}

/* --------------------------------------------------------------------------
   11. LISTES (main uniquement — puces remplacées par Material Icon en HTML)
   -------------------------------------------------------------------------- */

main ul {
  /*margin: 0 0 var(--m);*/
  margin: 0;
  padding: 0;
  list-style: none;
}

main ul li {
  position: relative;
  padding-left: 0;
  margin-bottom: var(--m);
}

main ul li:last-child {
  margin-bottom: 0;
}

/* Espace pour l’icône Material (à placer en ::before ou dans le HTML) */
main ul li::before {
  content: "";
  display: none; /* la puce sera un Material Icon dans le HTML */
}

/* Si vous utilisez un <span class="material-icons"> dans chaque li, pas de style supplémentaire nécessaire */

/* --------------------------------------------------------------------------
   12. FORMULAIRES
   -------------------------------------------------------------------------- */

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--m);
  width: 100%;
}

form label {
  display: block;
  margin-bottom: var(--s);
  font-weight: 500;
  width: 100%;
  max-width: 300px;
}

form input:not([type="checkbox"]):not([type="radio"]),
form select {
  width: 100%;
  max-width: 300px;
  padding: var(--m) var(--m);
  font-family: var(--rale);
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  background-color: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

form input:focus,
form select:focus {
  border-color: var(--c3);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

form textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--m) var(--m);
  font-family: var(--rale);
  font-size: 1rem;
  line-height: var(--LH);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  resize: vertical;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

form textarea:focus {
  border-color: var(--c3);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}

form input[type="checkbox"],
form input[type="radio"] {
  width: auto;
  max-width: none;
}

/* Champ + label groupés pour centrage */
form .field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form .field label,
form .field input:not([type="checkbox"]):not([type="radio"]),
form .field select,
form .field textarea {
  max-width: 300px;
}

form .field textarea {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */

footer {
  width: 100%;
  background: linear-gradient(45deg, var(--c1) 0%, var(--c3) 50%, var(--c2) 100%);
}

footer .wrapper {
  align-items: flex-start;
  justify-content: space-around;
  gap: var(--xxl);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding-top: var(--xxl);
  padding-bottom: var(--xxl);
  margin-top: var(--xxl);
  margin-bottom: var(--xxl);
}

footer .wrapper > * {
  width: 100%;
  max-width: 360px;
}

footer > *, footer a {
  color: #FFF;
}

footer a {
  text-decoration: none;
  line-height: 2.15rem;
}

footer a:hover, footer a:focus-visible {
  text-decoration: underline;
}

footer .logo:hover, footer .logo:focus-visible {
  text-decoration: none;
}

footer .logo {
  background: url("images/logo_footer.webp") top no-repeat;
  background-size: 80px 80px;
  width: 240px;
  padding-top: 80px;
  height: auto;
  margin: auto;
}

footer .logo span:first-child, footer .logo span:last-child {
  color: #FFF;
}

footer .logo span:last-child {
  color: #FFF;
  font-size: .7rem;
  font-weight: 400;
}

footer .content > p:last-child a span {
  font-weight: 700;
}

@media only screen and (min-width: 1280px) {
  footer .content > p:last-child {
    font-size: .8rem;
  }
}

footer .little {
  font-size: 0.9rem;
  margin-top: var(--l);
}

footer .little strong {
  font-weight: 400;
}

@media only screen and (min-width: 1280px) {
  footer .little {
    font-size: 0.8rem;
  }
}

/* --------------------------------------------------------------------------
   14. SECTIONS (blocs génériques)
   -------------------------------------------------------------------------- */

section {
  width: 100%;
}

/* --------------------------------------------------------------------------
   RATIO SCREEN
   -------------------------------------------------------------------------- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
	header .logo {
		background: url("images/logo_header_2x.webp") left no-repeat;
		background-size: 80px 80px;
	}
	
	footer .logo {
		background: url("images/logo_footer_2x.webp") top no-repeat;
		background-size: 80px 80px;
	}
}

/* --------------------------------------------------------------------------
   FIN GLOBAL.CSS
   -------------------------------------------------------------------------- */
