/* =========================================================
   Dojo de l'Aubette - feuille de style commune
   Palette extraite du site Wix d'origine :
   - Fond clair general      : #EAEAEA
   - Fond section "Cotisations" : #D3CFC6
   - Accent bleu-gris (jours, prix, bordures) : #739DAA
   - Texte principal (titres) : #333333
   - Texte secondaire (adresses, sous-titres) : #757575
   - Brun logo / accents      : #43311F
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;600&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Wix Madefor Text', 'Helvetica Neue', Arial, sans-serif;
  background: #EAEAEA;
  color: #333333;
}

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

/* ---------- EN-TETE ---------- */
.site-header {
  background: #EAEAEA;
  padding: 18px 40px;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 90px;
  width: auto;
  display: block;
}
.logo-img.small { height: 60px; }
.main-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  flex-wrap: wrap;
}
.main-nav a.current {
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- BOUTON BURGER ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333333;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #EAEAEA;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 10px 40px 20px;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #d8d3c9;
    font-size: 15px;
  }
  .main-nav a:last-child { border-bottom: none; }
}

/* ---------- SECTIONS ---------- */
.section-light { background: #EAEAEA; padding: 50px 40px; }
.section-tan   { background: #D3CFC6; padding: 50px 40px; }

.page-title, .section-title {
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: left;
  font-weight: 400;
  color: #333333;
}
.page-title { font-size: 56px; text-align: center; line-height: 1.3; }
.page-title.left { text-align: left; margin-bottom: 30px; }
.section-title { font-size: 44px; }

/* ---------- PLANNING ---------- */
.planning { max-width: 1100px; margin: 0 auto; }
.day-row {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #cfcfcf;
}
.day-row:first-child { border-top: none; }
.day-label {
  flex: 0 0 110px;
  font-size: 18px;
  font-weight: 600;
  color: #739DAA;
  letter-spacing: 0.5px;
  padding-top: 12px;
}
.day-slots {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slot {
  display: flex;
  gap: 20px;
  align-items: center;
  border: 1px solid #739DAA;
  padding: 12px 20px;
  background: #EAEAEA;
}
.slot-time {
  flex: 0 0 60px;
  font-size: 12px;
  font-weight: 700;
  color: #333333;
  line-height: 1.3;
}
.slot-info { display: flex; flex-direction: column; gap: 2px; }
.slot-info strong { font-size: 15px; font-weight: 700; }
.slot-info span { font-size: 12px; color: #757575; }

/* ---------- COTISATIONS ---------- */
.tarifs-group { max-width: 1100px; margin: 0 auto 30px; }
.tarifs-group h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333333;
}
.tarif-line {
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #b9b3a8;
  font-size: 14px;
}
.tarif-line .prix {
  color: #739DAA;
  font-size: 20px;
  font-weight: 500;
  text-align: left;
}
@media (max-width: 700px) {
  .tarif-line { grid-template-columns: 1fr; gap: 4px; }
}
.tarif-line .prix small {
  font-size: 11px;
  color: #757575;
  font-weight: 400;
}

/* ---------- CONTACT / CARTE ---------- */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-col h3 { font-size: 18px; margin-bottom: 8px; color: #333333; }
.contact-col p { font-size: 14px; color: #444; line-height: 1.6; margin-bottom: 24px; }
.map-col iframe { border-radius: 2px; }
.map-item { margin-bottom: 16px; }
.map-item:last-child { margin-bottom: 0; }
.map-label {
  display: block;
  font-size: 12px;
  color: #757575;
  margin-bottom: 6px;
}
.leaflet-map {
  width: 100%;
  height: 320px;
  border-radius: 2px;
  border: 1px solid #d8d3c9;
  z-index: 1;
}

@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
  .day-row { flex-direction: column; }
  .page-title { font-size: 30px; }
}

/* ---------- HERO (page d'accueil) ---------- */
.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.hero-title {
  text-align: left;
  font-size: 56px;
  margin: 0 0 24px;
}
.hero-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 18px;
}
.hero-image { display: flex; }
.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.image-placeholder {
  width: 100%;
  min-height: 320px;
  background: repeating-linear-gradient(45deg, #dcdcdc, #dcdcdc 10px, #e6e6e6 10px, #e6e6e6 20px);
  border: 1px dashed #999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 20px;
}
.image-placeholder small { font-size: 11px; margin-top: 6px; color: #888; }

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; text-align: center; }
}

/* ---------- FONDATEURS ---------- */
.section-title.center { text-align: center; }
.founders-photos {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}
.photo-circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #EAEAEA;
  border: 1px solid #b9b3a8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #757575;
  font-size: 13px;
  overflow: hidden;
}
.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founders-name {
  text-align: center;
  font-size: 28px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 24px;
}
.founders-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.founders-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 18px;
}

/* ---------- INTRO CENTREE (texte sous un h1) ---------- */
.intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 18px;
}

/* ---------- ENSEIGNANT (photo + texte) ---------- */
.teacher-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  align-items: start;
}
.teacher-name {
  font-size: 30px;
  font-weight: 400;
  color: #333333;
  margin: 0 0 18px;
}
.teacher-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 16px;
}
.image-placeholder.small-ph { min-height: 130px; width: 130px; padding: 10px; font-size: 11px; }
.teacher-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
}

@media (max-width: 700px) {
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-photo { max-width: 220px; }
}

/* ---------- HORAIRES ---------- */
.horaires-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.horaires-col h3 {
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  margin-bottom: 14px;
}
.horaire-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #cfcfcf;
  font-size: 14px;
  color: #333333;
}
.horaire-line span:last-child {
  font-weight: 700;
}
@media (max-width: 700px) {
  .horaires-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- AFFILIATIONS ---------- */
.affiliations-row {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.affil-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.affil-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
.affil-badge {
  background: #739DAA;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---------- TEXTE DETAILLE (large, justifie a gauche) ---------- */
.intro-text.wide { max-width: 950px; }
.detail-text {
  max-width: 950px;
  margin: 0 auto;
}
.detail-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 20px;
}

/* ---------- HORAIRES (liste centree, style Aikishindo/Zazen) ---------- */
.horaires-list {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.horaire-item p {
  font-size: 16px;
  color: #333333;
  margin: 0 0 4px;
}
.horaire-item span {
  font-size: 13px;
  color: #757575;
}

/* ---------- GROS PRIX (Cotisation Annuelle) ---------- */
.price-display {
  text-align: center;
  font-size: 52px;
  font-weight: 400;
  color: #739DAA;
  margin: 0;
}
.price-display.dark { color: #333333; }
.price-label {
  text-align: center;
  font-size: 15px;
  color: #739DAA;
  margin: 0 0 6px;
}
.price-note {
  text-align: center;
  font-size: 12px;
  color: #757575;
  margin: 6px 0 0;
}

/* ---------- ENSEIGNANT SANS PHOTO (Zazen) ---------- */
.teacher-text-only {
  max-width: 900px;
  margin: 0 auto;
}
.teacher-text-only p {
  font-size: 13px;
  line-height: 1.8;
  color: #333333;
}

/* ---------- CITATION ZEN ---------- */
.zen-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: none;
  padding: 0;
}
.zen-quote p {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  line-height: 1.7;
  color: #43311F;
  margin: 0 0 24px;
}
.zen-quote cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #757575;
}

/* ---------- HORAIRE EN EVIDENCE (Zazen) ---------- */
.horaire-highlight {
  text-align: center;
  font-size: 16px;
  color: #116DFF;
  margin: 0;
}

/* ---------- MENTIONS LEGALES ---------- */
.legal-content { max-width: 900px; margin: 0 auto; }
.legal-content h3 {
  font-size: 15px;
  font-weight: 700;
  color: #333333;
  margin: 30px 0 10px;
}
.legal-content h3:first-child { margin-top: 0; }
.legal-content p {
  font-size: 13px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 12px;
}
.legal-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.legal-content li {
  font-size: 13px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 4px;
}
.legal-content a { text-decoration: underline; }
.legal-date { margin-top: 24px; }

/* ---------- PIED DE PAGE ---------- */
.site-footer {
  background: #EAEAEA;
  border-top: 1px solid #d0d0d0;
  padding: 30px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-text { text-align: right; font-size: 12px; color: #757575; }
.footer-text p { margin: 4px 0; }
