/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  background: #f5f0eb;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

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


/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
  border-bottom: 1px solid #e0d8ce;
  background: #f5f0eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-sigle {
  height: 44px;
  width: auto;  
  border-radius: 50%;
  border: 1.5px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: Georgia, serif;
}

.logo-titre {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Menu burger (mobile) */
.menu-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* Navigation */
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.main-nav a {
  font-size: 14px;
  color: #1a1a1a;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-bottom-color: #1a1a1a;
}


/* ============================================================
   SECTION PRÉSENTATION
   ============================================================ */
.section-presentation {
  padding: 40px 16px;
  background: #f5f0eb;
}

.presentation-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.presentation-photo {
  flex: 1 1 280px;
  min-width: 0;
}

.presentation-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.photo-placeholder {
  width: 100%;
  height: 280px;
  background: #e8e0d8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  font-family: Georgia, serif;
}

.presentation-texte {
  flex: 1 1 280px;
  min-width: 0;
}

.presentation-texte h1 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.presentation-texte p,
.texte-riche p {
  color: #555;
  margin-bottom: 20px;
}

.presentation-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* ============================================================
   BOUTON
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-family: Georgia, serif;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  background: #f5f0eb;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn svg {
  flex-shrink: 0;
}


/* ============================================================
   SECTION LES DANSES
   ============================================================ */
.section-danses {
  padding: 16px 16px 32px;
  background: #f5f0eb;
}

.bloc-danses {
  max-width: 1100px;
  margin: 0 auto;
  background: #ede5dc;
  border-radius: 12px;
  padding: 28px 24px;
}

.bloc-danses h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.bloc-danses p {
  color: #555;
  margin-bottom: 16px;
}


/* ============================================================
   SECTION PROCHAINES SOIRÉES
   ============================================================ */
.section-soirees {
  padding: 16px 16px 48px;
  background: #f5f0eb;
}

.section-soirees .section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-soirees h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.liste-soirees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.carte-soiree {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.carte-soiree-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.image-placeholder {
  width: 72px;
  height: 72px;
  background: #e8e0d8;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
}

.soiree-titre {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.soiree-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 2px;
}

.soiree-type {
  font-size: 13px;
  color: #999;
}

.aucune-soiree {
  color: #999;
  font-size: 14px;
}


/* ============================================================
   PIED DE PAGE
   ============================================================ */
.site-footer {
  background: #ede5dc;
  border-top: 1px solid #e0d8ce;
  padding: 24px 16px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.footer-asso {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-contact p {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.footer-contact a {
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #1a1a1a;
}

.footer-label {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.reseaux-liens {
  display: flex;
  gap: 16px;
}

.reseaux-liens a {
  color: #555;
  transition: color 0.2s;
}

.reseaux-liens a:hover {
  color: #1a1a1a;
}


/* ============================================================
   UTILITAIRE : CONTENEUR CENTRÉ
   ============================================================ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* ============================================================
   PAGE HISTOIRE — EN-TÊTE DE PAGE
   ============================================================ */
.page-hero {
  padding: 48px 16px 32px;
  background: #f5f0eb;
  border-bottom: 1px solid #e0d8ce;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}


/* ============================================================
   PAGE HISTOIRE — FRISE / IMAGE PLEINE LARGEUR
   ============================================================ */
.section-frise {
  padding: 32px 16px;
  background: #f5f0eb;
}

.frise-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.frise-placeholder {
  width: 100%;
  height: 220px;
  background: #e8e0d8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  font-family: Georgia, serif;
}


/* ============================================================
   PAGE HISTOIRE — TEXTES DEUX COLONNES
   ============================================================ */
.section-textes {
  padding: 16px 16px 40px;
  background: #f5f0eb;
}

.section-textes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.bloc-texte h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.bloc-texte p,
.bloc-texte .texte-riche p {
  color: #555;
  margin-bottom: 14px;
  line-height: 1.7;
}


/* ============================================================
   PAGE HISTOIRE — LES 3 DANSES D'UNE MILONGA
   ============================================================ */
.section-3danses {
  padding: 16px 16px 48px;
  background: #f5f0eb;
}

.bloc-3danses {
  background: #ede5dc;
  border-radius: 12px;
  padding: 28px 24px;
}

.bloc-3danses h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1a1a1a;
}

.liens-danses {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-danse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
  font-family: Georgia, serif;
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 6px;
  background: #f5f0eb;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-danse:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-danse svg {
  flex-shrink: 0;
}


/* ============================================================
   RESPONSIVE MOBILE
   ============================================================ */
@media (max-width: 700px) {

  .menu-burger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: #f5f0eb;
    border-top: 1px solid #e0d8ce;
    padding: 16px;
    z-index: 99;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #e0d8ce;
    font-size: 16px;
  }

  .presentation-texte h1 {
    font-size: 22px;
  }

  .bloc-danses {
    padding: 20px 16px;
  }

  /* Histoire mobile */
  .page-hero h1 {
    font-size: 22px;
  }

  .section-textes-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .bloc-3danses {
    padding: 20px 16px;
  }

  .liens-danses {
    flex-direction: column;
  }

  .btn-danse {
    width: 100%;
    justify-content: space-between;
  }
}


/* ============================================================
   PAGE LES DANSES — GRILLE LISTE
   ============================================================ */
.section-liste-danses {
  padding: 40px 16px 56px;
}

.grille-danses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.carte-danse {
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carte-danse-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.carte-danse-placeholder {
  width: 100%;
  height: 200px;
  background: #e8e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  font-family: Georgia, serif;
}

.carte-danse-corps {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.carte-danse-corps h2 {
  font-size: 20px;
  font-weight: 700;
}

.texte-vide {
  color: #999;
  font-size: 14px;
}


/* ============================================================
   PAGE DANSE DÉTAIL
   ============================================================ */
.section-danse-detail {
  padding: 40px 16px;
}

.section-danse-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.danse-image {
  flex: 1 1 300px;
  min-width: 0;
}

.danse-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.danse-image-placeholder {
  width: 100%;
  height: 320px;
  background: #e8e0d8;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.danse-texte {
  flex: 1 1 300px;
  min-width: 0;
}

.danse-texte h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.danse-texte p,
.danse-texte .texte-riche p {
  color: #555;
  margin-bottom: 14px;
  line-height: 1.7;
}

.danse-video {
  margin: 20px 0;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
}

.danse-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.danse-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.section-autres-danses {
  padding: 0 16px 48px;
}

.autres-danses-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}


/* ============================================================
   PAGE PROFESSEURS
   ============================================================ */
.section-profs {
  padding: 40px 16px;
}

.grille-profs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.carte-prof {
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  overflow: hidden;
}

.carte-prof-image img {
  width: 100%;
  height: auto;
  display: block;
}

.prof-image-placeholder {
  width: 100%;
  height: 260px;
  background: #e8e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.carte-prof-corps {
  padding: 20px;
}

.carte-prof-corps h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.carte-prof-corps p,
.carte-prof-corps .texte-riche p {
  color: #555;
  margin-bottom: 10px;
  line-height: 1.7;
}

.section-asso {
  padding: 0 16px 56px;
}

.bloc-asso {
  background: #ede5dc;
  border-radius: 12px;
  padding: 32px 28px;
}

.bloc-asso h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}

.texte-asso p {
  color: #555;
  margin-bottom: 14px;
  line-height: 1.7;
}

.photo-groupe {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
  display: block;
}

.photo-groupe-placeholder {
  width: 100%;
  height: 240px;
  background: #d6cec5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  margin: 20px 0;
}

.btn-asso {
  margin-top: 4px;
}


/* ============================================================
   PAGE NOS COURS
   ============================================================ */
.section-cours {
  padding: 40px 16px;
}

.grille-cours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.carte-cours {
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cours-ville {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.cours-infos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.cours-infos li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
}

.cours-label {
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cours-valeur {
  color: #1a1a1a;
}

.btn-plan {
  font-size: 13px;
  min-height: 36px;
  padding: 0 14px;
}

.section-tarifs {
  padding: 0 16px 56px;
}

.bloc-tarifs {
  background: #ede5dc;
  border-radius: 12px;
  padding: 28px 24px;
}

.bloc-tarifs h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.liste-tarifs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.ligne-tarif {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8d0c8;
  font-size: 15px;
}

.ligne-tarif:last-child {
  border-bottom: none;
}

.tarif-libelle {
  color: #555;
}

.tarif-montant {
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
}

.btn-inscrire {
  margin-top: 4px;
}


/* ============================================================
   PAGE SOIRÉES
   ============================================================ */
.section-soirees-liste {
  padding: 40px 16px 56px;
}

.grille-soirees {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fiche-soiree {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 12px;
  overflow: hidden;
}

.fiche-soiree-image {
  flex-shrink: 0;
}

.fiche-soiree-image img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  display: block;
}

.fiche-image-placeholder {
  width: 220px;
  height: 160px;
  background: #e8e0d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
}

.fiche-soiree-corps {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.fiche-type {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fiche-titre {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.fiche-meta {
  font-size: 14px;
  color: #666;
}

.fiche-desc {
  flex: 1;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.btn-contacter {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 13px;
  min-height: 36px;
  padding: 0 16px;
}


/* ============================================================
   PAGE CONTACT ET INSCRIPTION
   ============================================================ */
.section-contact {
  padding: 40px 16px 56px;
}

.section-contact-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-coordonnees h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-ligne {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

.contact-ligne a {
  color: #555;
  transition: color 0.2s;
}

.contact-ligne a:hover {
  color: #1a1a1a;
}

/* Formulaire */
.form-choix legend,
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.choix-radios {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.form-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-groupe {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.form-grille .form-groupe {
  margin-bottom: 0;
}

.form-input {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #e0d8ce;
  border-radius: 6px;
  padding: 8px 12px;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.form-input.invalide {
  border-color: #c0392b;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a1a1a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-aide {
  font-size: 12px;
  color: #c0392b;
  display: none;
}

.form-input.invalide + .form-aide,
.form-rgpd.invalide .form-aide {
  display: block;
}

.form-rgpd {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #555;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
}

.requis {
  color: #c0392b;
}

.form-erreurs {
  background: #fdf0ee;
  border: 1px solid #c0392b;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.form-erreur-msg {
  color: #c0392b;
  font-size: 14px;
}

.btn-envoyer {
  width: 100%;
  justify-content: center;
}


/* ============================================================
   RESPONSIVE MOBILE — PAGES SECONDAIRES
   ============================================================ */
@media (max-width: 900px) {
  .grille-danses,
  .grille-cours {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {

  /* Danses */
  .grille-danses,
  .grille-cours {
    grid-template-columns: 1fr;
  }

  /* Danse détail */
  .section-danse-inner {
    flex-direction: column;
  }

  /* Profs */
  .grille-profs {
    grid-template-columns: 1fr;
  }

  /* Soirées */
  .fiche-soiree {
    flex-direction: column;
  }

  .fiche-soiree-image img,
  .fiche-image-placeholder {
    width: 100%;
    height: 200px;
  }

  /* Contact */
  .section-contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-grille {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   PAGE MERCI (après envoi du formulaire)
   ============================================================ */
.section-merci {
  padding: 60px 16px 80px;
}

.bloc-merci {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.merci-texte {
  font-size: 18px;
  color: #555;
}

.merci-lieu {
  font-size: 15px;
  color: #666;
}