/* Salsa Guyane · l'agenda des danseurs — feuille de style */

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

:root {
  --creme: #fbf4e2;
  --creme-foncee: #f1e5c6;
  --papier: #fffdf7;
  --encre: #243530;
  --encre-douce: #5b6a63;
  --vert: #1b7f5a;
  --vert-fonce: #13603f;
  --vert-pale: #dff1e7;
  --jaune: #f2c14e;
  --jaune-pale: #fbecc2;
  --rose: #e8467c;
  --rose-pale: #fbdde7;
  --rose-foncee: #a5204f;
  --trait: #e2d7b8;
  --ombre: 0 6px 18px rgba(36, 53, 48, 0.08);
  --arrondi: 14px;
  --titres: "Kanit", "Trebuchet MS", Arial, sans-serif;
  --texte: "Mulish", "Segoe UI", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--creme);
  background-image: radial-gradient(circle at 100% 0%, rgba(242, 193, 78, 0.28), transparent 34rem);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Lien d'évitement */
.saut {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--jaune);
  color: var(--encre);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.saut:focus {
  left: 1rem;
  top: 1rem;
}

/* En-tête */
.entete {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
}

.marque {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: inherit;
  width: max-content;
  max-width: 100%;
}
.marque svg {
  width: 52px;
  height: 52px;
  flex: none;
}
.marque strong {
  display: block;
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--vert-fonce);
}
.marque small {
  display: block;
  color: var(--encre-douce);
  font-size: 0.92rem;
  font-style: italic;
}

.nav {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 3px dotted var(--jaune);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.nav a {
  text-decoration: none;
  color: var(--vert-fonce);
  font-family: var(--titres);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.nav a:hover,
.nav a:focus-visible {
  border-color: var(--vert);
}
.nav a[aria-current="page"] {
  background: var(--vert);
  color: #fff;
}

/* Corps */
main {
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

h1,
h2,
h3 {
  font-family: var(--titres);
  line-height: 1.15;
  color: var(--vert-fonce);
  margin: 0 0 0.6rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.45rem, 3.5vw, 1.9rem);
  font-weight: 600;
  margin-top: 2.2rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--encre);
}
p,
ul,
ol {
  margin: 0 0 1rem;
}
a {
  color: var(--vert-fonce);
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--rose-foncee);
}
strong {
  font-weight: 700;
}

/* Bandeau d'accueil */
.bandeau {
  position: relative;
  overflow: hidden;
  background: var(--vert);
  color: #fff;
  border-radius: var(--arrondi);
  padding: 2.2rem 1.6rem 2.4rem;
  box-shadow: var(--ombre);
}
.bandeau::before {
  content: "";
  position: absolute;
  right: -3.5rem;
  top: -3.5rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: var(--jaune);
}
.bandeau::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: repeating-linear-gradient(90deg, var(--rose) 0 26px, var(--jaune) 26px 52px, #fff 52px 78px);
}
.bandeau h1,
.bandeau p {
  position: relative;
  color: #fff;
}
.bandeau p {
  max-width: 36rem;
  font-size: 1.12rem;
}
.bandeau .maj {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0;
}

/* Sous-titre de page */
.chapeau {
  font-size: 1.15rem;
  max-width: 40rem;
  color: var(--encre-douce);
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}

/* Encadrés */
.encadre {
  background: var(--jaune-pale);
  border-left: 6px solid var(--jaune);
  border-radius: 0 var(--arrondi) var(--arrondi) 0;
  padding: 1rem 1.3rem 0.4rem;
  margin: 1.8rem 0;
}
.encadre h2 {
  margin-top: 0.4rem;
}
.encadre-rose {
  background: var(--rose-pale);
  border-left-color: var(--rose);
}
.encadre-vert {
  background: var(--vert-pale);
  border-left-color: var(--vert);
}

/* Légende des types */
.legende {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.type {
  display: inline-block;
  font-family: var(--texte);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  vertical-align: middle;
  white-space: nowrap;
}
.type-cubaine {
  background: var(--vert-pale);
  color: var(--vert-fonce);
}
.type-bachata {
  background: var(--rose-pale);
  color: var(--rose-foncee);
}
.type-rueda {
  background: var(--jaune-pale);
  color: #6d5410;
}
.type-initiation {
  border: 2px solid var(--vert);
  color: var(--vert-fonce);
  padding-top: 0.08rem;
  padding-bottom: 0.08rem;
}

/* Agenda */
.agenda {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}
.evt {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 1.1rem;
  align-items: start;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
  padding: 1rem 1.1rem;
  box-shadow: var(--ombre);
}
.pastille {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--encre);
  font-family: var(--titres);
  line-height: 1;
  transform: rotate(-5deg);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}
.evt:nth-child(3n + 2) .pastille {
  background: var(--rose);
  color: #fff;
  transform: rotate(4deg);
}
.evt:nth-child(3n) .pastille {
  background: var(--vert);
  color: #fff;
  transform: rotate(-2deg);
}
.pastille b {
  font-size: 2.1rem;
  font-weight: 700;
}
.pastille span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.evt h3 {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.6rem;
}
.evt time {
  color: var(--vert-fonce);
}
.infos {
  list-style: none;
  padding: 0;
  margin: 0 0 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
  color: var(--encre-douce);
  font-size: 0.95rem;
}
.infos li::before {
  content: "•";
  color: var(--rose);
  margin-right: 0.4rem;
}
.evt p {
  margin: 0 0 0.3rem;
}
.lieu {
  font-style: italic;
  color: var(--encre-douce);
  font-size: 0.95rem;
}

/* Portraits */
.portraits {
  display: grid;
  gap: 1.6rem;
  margin-top: 1.6rem;
}
.portrait {
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
  box-shadow: var(--ombre);
  overflow: hidden;
}
.portrait > header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 4px solid var(--jaune);
}
.portrait:nth-child(2) > header {
  border-bottom-color: var(--rose);
}
.portrait:nth-child(3) > header {
  border-bottom-color: var(--vert);
}
.portrait h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}
.initiale {
  flex: none;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--titres);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background: var(--jaune);
  color: var(--encre);
}
.portrait:nth-child(2) .initiale {
  background: var(--rose);
  color: #fff;
}
.portrait:nth-child(3) .initiale {
  background: var(--vert);
  color: #fff;
}
.portrait dl {
  margin: 0;
  padding: 0.6rem 1.4rem 1.2rem;
}
.portrait dt {
  font-family: var(--titres);
  font-weight: 600;
  color: var(--vert-fonce);
  margin-top: 1rem;
}
.portrait dt::before {
  content: "— ";
  color: var(--rose);
}
.portrait dd {
  margin: 0.25rem 0 0;
}
.lien-site {
  display: inline-block;
  margin: 0 1.4rem 1.4rem;
  background: var(--jaune);
  color: var(--encre);
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--titres);
  font-weight: 600;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}
.lien-site:hover,
.lien-site:focus-visible {
  background: var(--rose);
  color: #fff;
}

/* Tableau */
.tableau {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
  background: var(--papier);
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 38rem;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}
th {
  font-family: var(--titres);
  font-weight: 600;
  color: var(--vert-fonce);
  background: var(--vert-pale);
}
tr:last-child td {
  border-bottom: 0;
}

/* Mentions légales */
.legal h2 {
  font-size: 1.3rem;
}
.legal address {
  font-style: normal;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-radius: var(--arrondi);
  padding: 0.8rem 1.1rem;
  display: inline-block;
}

/* Pied de page */
.pied {
  background: var(--vert-fonce);
  color: #e6f2ec;
  padding: 2rem 1rem 2.4rem;
  margin-top: 2rem;
  border-top: 8px solid var(--jaune);
}
.pied-int {
  max-width: 62rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}
.pied strong {
  font-family: var(--titres);
  font-size: 1.2rem;
  color: #fff;
}
.pied p {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}
.pied ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
}
.pied a {
  color: #fff;
  text-decoration-color: var(--jaune);
}

/* Petits écrans */
@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .deux-colonnes {
    grid-template-columns: 1fr;
  }
  .evt {
    grid-template-columns: 4.4rem 1fr;
    gap: 0.8rem;
    padding: 0.9rem;
  }
  .pastille {
    width: 4.4rem;
    height: 4.4rem;
  }
  .pastille b {
    font-size: 1.7rem;
  }
  .bandeau {
    padding: 1.6rem 1.1rem 2rem;
  }
  .bandeau::before {
    width: 9rem;
    height: 9rem;
  }
  .portrait > header {
    padding: 1rem 1.1rem;
  }
  .portrait dl {
    padding: 0.4rem 1.1rem 1rem;
  }
  .lien-site {
    margin: 0 1.1rem 1.1rem;
  }
}

/* photos */
.photos{margin:1.2rem 0 1.8rem}.photos figure{margin:0}.photos img{width:100%;height:auto;display:block;aspect-ratio:3/1;object-fit:cover;border-radius:16px}
