/*
Theme Name: five-child
Theme URI: http://exemple.com/
Description: Thème spécifique pour le site de Matsukaze Bordeaux
Author: Matsukaze Bordeaux
Template: twentytwentyfive
Version: 1.0.0
*/

/* ═══════════════════════════════════════════════
   1. POLICES
   ═══════════════════════════════════════════════ */

@font-face {
  font-family: 'Caviar Dreams';
  src: url('{$fonts_url}/CaviarDreams.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caviar Dreams';
  src: url('{$fonts_url}/CaviarDreams_Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Caviar Dreams';
  src: url('{$fonts_url}/CaviarDreams_Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Caviar Dreams';
  src: url('{$fonts_url}/CaviarDreams_BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Yuji Syuku';
  src: url('{$fonts_url}/YujiSyuku-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}


/* ═══════════════════════════════════════════════
   2. VARIABLES & RESET GLOBAL
   ═══════════════════════════════════════════════ */

:root {
  --color-green: #73A762;
  --color-white: #fff;
  --font-h1: 'Calistoga', serif;
  --font-caviar: 'Caviar Dreams', sans-serif;
  --font-japanese: 'Yuji Syuku', serif;
  --font-body: 'Inter', sans-serif;

  /* Breakpoint unique */
  --breakpoint-mobile: 782px;
}


/* ═══════════════════════════════════════════════
   3. BASE — Body, typographie générale
   ═══════════════════════════════════════════════ */

body {
  font-family: 'Inter', sans-serif;
  caret-color: transparent;
  overflow-x: hidden;
}

h1 {
  font-family: 'Calistoga', serif;
}

h2 {
  font-family: 'Calistoga', serif;
  font-size: 30px;
}

p  { font-size: large; }
li { font-size: large; }

span { font-weight: bold; }
span.insta { color: #B53838; }

.kanji {
  font-family: 'Yuji Syuku', serif;
}

/* ───── Bloc carte + texte (2 colonnes desktop) ───── */
.map-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 30px;
  width: 100%;
}

.map-wrap > .wp-block-group {
  flex: 1 1 50%;
  min-width: 0;          /* important pour que flex puisse rétrécir */
  margin: 0 !important;
}

.map-wrap .map {
  width: 100% !important;
  height: 100%;          /* prend toute la hauteur dispo (égale au texte) */
  min-height: 400px;     /* hauteur mini pour qu'elle reste belle */
}

.map {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  border: 0;
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}


/* ═══════════════════════════════════════════════
   LIENS — style Matsukaze (hors boutons)
   ═══════════════════════════════════════════════ */
.page main a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta),
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta) {
  color: #5a7d52;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: color .25s ease;
}

.page main a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta)::after,
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.page main a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta):hover,
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):not(.insta):hover {
  color: #44613d;
}

.page main a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):hover::after,
.entry-content a:not(.wp-block-button__link):not(.wp-element-button):not(.footer-cta):not(.ccct-btn):not(.cj-individuels-btn):hover::after {
  transform: scaleX(1);
}

/* ═══════════════════════════════════════════════
   4. PAGE D'ACCUEIL
   ═══════════════════════════════════════════════ */

.activites {
  position: relative;
}

.texte {
  position: relative;
  text-align: center;
  bottom: 410%;
  font-size: 15px;
  color: #ffffff;
}

.wp-block-button__link:not(.wp-block-cover .wp-block-button__link) {
  font-family: 'Inter', sans-serif;
  font-size: large;
}

.wp-block-button__link {
  background-color: #73A762;
  color: white;
}

.wp-block-cover .wp-block-button__link {
  background-color: #c8453d;
  color: white;
}


/* ═══════════════════════════════════════════════
   5. COVER (BANNIÈRE HAUT DE PAGE)
   ═══════════════════════════════════════════════ */

/* Coller la cover tout en haut de la page */
.page .wp-block-cover.alignfull,
.cover {
  margin-top: -7rem !important;
}

.page main {
  padding-top: 0 !important;
}

.page .wp-block-group:has(> .wp-block-cover.alignfull:first-child),
.page main > .wp-block-group:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}

.wp-image-184 {
  max-height: 80px;
  width: auto;
}

/* Desktop : la cover repasse sous la sidebar (annule le décalage du body) */
@media (min-width: 783px) {
  .page .wp-block-cover.alignfull,
  .cover {
    width: 100vw;          /* pleine largeur écran, indépendant du parent */
    max-width: none;
    margin-left: -110px;   /* repasse sous la sidebar */
    margin-right: 0;
  }
}


/* ═══════════════════════════════════════════════
   6. NAVIGATION ACTIVITÉS — Affichage conditionnel
   ═══════════════════════════════════════════════ */

/* Par défaut : on affiche desktop, on cache mobile */
.nav-desktop {
  display: flex !important;
}

.nav-mobile {
  display: none !important;
}


/* ───── NAV DESKTOP : boutons pilule blancs ───── */

.nav-desktop {
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 30px 0;
  padding: 0;
}

.nav-desktop .wp-block-button {
  margin: 0;
  flex: 0 0 auto;
}

.nav-desktop .wp-block-button__link {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  padding: 16px 38px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: block;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
              0 2px 4px rgba(0, 0, 0, 0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.nav-desktop .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18),
              0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bouton actif avec motif vagues (desktop) */
.nav-desktop .is-active .wp-block-button__link {
  background-image: url("assets/img/activities/waves.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #1a1a1a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2),
              0 2px 6px rgba(0, 0, 0, 0.1);
}

.nav-desktop .is-active .wp-block-button__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22),
              0 4px 10px rgba(0, 0, 0, 0.12);
}


/* ═══════════════════════════════════════════════
   7. NAVIGATION ACTIVITÉS — Homepage (cartes)
   ═══════════════════════════════════════════════ */

.nav-homepage {
  display: grid !important;
  grid-template-columns: repeat(4, 340px);  /* 2 colonnes de 340px fixes */
  gap: 24px;
  justify-content: center;   /* centre les colonnes horizontalement */
  margin: 0 auto 40px;
  padding: 0 15px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

/* ───── Boutons : cartes avec image ───── */
.nav-homepage .wp-block-button {
  width: 100%;
  margin: 0;
}

.nav-homepage .wp-block-button__link {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 14px 18px;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Calistoga', serif;
  font-size: 3rem;
  line-height: 1.1;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Voile sombre par défaut */
.nav-homepage .wp-block-button__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: -1;
  transition: background .3s ease;
}

/* Images de fond par activité */
.nav-homepage .is-aikido .wp-block-button__link {
  background-image: url('assets/img/activities/aïkido.png');
}
.nav-homepage .is-the .wp-block-button__link {
  background-image: url('assets/img/activities/the.png');
}
.nav-homepage .is-japonais .wp-block-button__link {
  background-image: url('assets/img/activities/japonais.png');
}
.nav-homepage .is-calligraphie .wp-block-button__link {
  background-image: url('assets/img/activities/calligraphie.png');
}


/* ───── HOVER : description au survol ───── */

.nav-homepage .wp-block-button__link::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  text-shadow: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

/* Au survol : texte */
.nav-homepage .wp-block-button:hover .wp-block-button__link::after {
  opacity: 1;
}

/* On neutralise le voile noir par défaut pendant le hover (évite le doublon) */
.nav-homepage .wp-block-button:hover .wp-block-button__link::before {
  background: transparent;
}

/* Textes spécifiques à chaque activité */
*:lang(fr-FR) .nav-homepage .is-aikido .wp-block-button__link::after {
  content: "L'Aïkido est un art martial se basant sur la défense afin de retourner la force de l'adversaire contre lui-même et d'éviter le combat. L'harmonie est recherchée plus que la performance.";
}
*:lang(en-GB) .nav-homepage .is-aikido .wp-block-button__link::after {
  content: "Aikido is a martial art based on defense by turning the opponent’s strength and aggression back against them. Harmony is preferred over performance.";
}
*:lang(ja) .nav-homepage .is-aikido .wp-block-button__link::after {
  content: "合気道は、相手の力や攻撃性を利用し、それを相手自身へと返すことで身を守る武道です。力で競うのではなく、調和を重んじることを理念としています。";
}

*:lang(fr-FR) .nav-homepage .is-the .wp-block-button__link::after {
  content: "La cérémonie du thé japonaise (chanoyu) est un art traditionnel où l'on partage un bol de matcha dans un esprit d'harmonie, de respect, de pureté et de sérénité.";
}
*:lang(en-GB) .nav-homepage .is-the .wp-block-button__link::after {
  content: "The Japanese tea ceremony (chanoyu) is a traditional art in which a bowl of matcha is shared in a spirit of harmony, respect, purity, and tranquility.";
}
*:lang(ja) .nav-homepage .is-the .wp-block-button__link::after {
  content: "茶の湯（茶道）は、抹茶を分かち合いながら、和・敬・清・寂の精神を大切にする日本の伝統芸術です。";
}

*:lang(fr-FR) .nav-homepage .is-japonais .wp-block-button__link::after {
  content: "Apprenez la langue japonaise à travers des cours adaptés à tous les niveaux : hiragana, katakana, kanji, grammaire et conversation pour découvrir la culture nippone.";
}
*:lang(en-GB) .nav-homepage .is-japonais .wp-block-button__link::after {
  content: "Learn the Japanese language through courses tailored to all levels: hiragana, katakana, kanji, grammar, and conversation, while discovering Japanese culture.";
}
*:lang(ja) .nav-homepage .is-japonais .wp-block-button__link::after {
  content: "ひらがな、カタカナ、漢字、文法、会話を通して、日本語と日本文化を学びましょう。初心者から上級者まで、あらゆるレベルに対応した講座をご用意しています。";
}

*:lang(fr-FR) .nav-homepage .is-calligraphie .wp-block-button__link::after {
  content: "La calligraphie japonaise (shodō) est l'art d'écrire avec un pinceau et de l'encre. Chaque trait exprime l'équilibre, la concentration et la beauté du geste.";
}
*:lang(en-GB) .nav-homepage .is-calligraphie .wp-block-button__link::after {
  content: "Japanese calligraphy (shodō) is the art of writing with a brush and ink. Each stroke expresses balance, concentration, and the beauty of movement.";
}
*:lang(ja) .nav-homepage .is-calligraphie .wp-block-button__link::after {
  content: "書道は、筆と墨を使って文字を書く日本の伝統芸術です。一筆一筆に、調和、集中力、そして所作の美しさが表現されます。";
}


/* ───── Boutons : raccourcis dans activité ───── */

.nav-raccourcis {
  margin: 40px auto;
}

.nav-raccourcis .swiper-slide {
  padding: 10px;
  box-sizing: border-box;
}

.nav-raccourcis .btn-raccourcis {
  width: 100%;
  margin: 0;
}

.nav-raccourcis .btn-raccourcis .wp-block-button__link {
  position: relative;
  width: 100%;
  max-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border-radius: 30px;
  border: none;
  background: #7a9e6e;
  color: white;
  font-family: 'Calistoga', serif;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.nav-raccourcis .btn-raccourcis .wp-block-button__link:hover {
  transform: translateY(-4px);
  background: #6b8f5f;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}


/* ═══════════════════════════════════════════════
   8. FORMULAIRE DE CONTACT
   ═══════════════════════════════════════════════ */

/* Lignes à 2 colonnes (Nom/Prénom, E-mail/Objet) */
.formulaire-partie {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 22px;
}

.formulaire-zone,
.formulaire-zone2 {
  flex: 1 1 280px;        /* 2 colonnes qui se réempilent si trop étroit */
  display: flex;
  flex-direction: column;
  padding: 0;
}

.formulaire-message {
  padding-top: 0;
  margin-bottom: 22px;
}

.wpcf7-form label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2a4500;
}

/* Champs : base commune */
.wpcf7-form-control {
  box-sizing: border-box;
  width: 100%;
  border: none;
  border-radius: 25px;
  background-color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  caret-color: #7a9e6e;
  padding: 0 18px;
  box-shadow: 0 0 14px rgba(128, 128, 128, 0.35);
  transition: box-shadow .25s ease, transform .25s ease;
}

.wpcf7-form-control::placeholder { color: #9aa191; }

/* Inputs sur une ligne */
.wpcf7-text,
.wpcf7-email,
.wpcf7-select {
  width: 100%;
  max-width: none;
  height: 48px;           /* hauteur cohérente partout */
}

/* Zone de texte */
.wpcf7-textarea {
  width: 100%;
  max-width: none;
  min-height: 160px;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
}

/* Select : petite flèche custom + curseur */
.wpcf7-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a9e6e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* Espacement champ / label */
.wpcf7-text,
.wpcf7-email,
.wpcf7-select,
.wpcf7-textarea {
  margin-top: 10px;
}

/* Bouton Envoyer */
.wpcf7-submit {
  display: inline-block;
  width: auto;
  min-width: 200px;
  height: 52px;
  margin-top: 8px;
  padding: 0 40px;
  border: none;
  border-radius: 50px;
  background-color: #7a9e6e;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(122, 158, 110, 0.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.wpcf7-submit:hover {
  background-color: #6b8f5f;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(122, 158, 110, 0.45);
}

.wpcf7-submit:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(122, 158, 110, 0.35);
}


/* ═══════════════════════════════════════════════
   9. RESPONSIVE MOBILE (≤ 782px)
   ═══════════════════════════════════════════════ */

@media screen and (max-width: 782px) {

  /* ───── Base ───── */
  h2 {
    font-size: 25px;
  }

  .formulaire-partie {
    display: block;
  }

  .wp-image-184 {
    max-height: 150px;
    width: auto;
  }
	
	.images-carrousel img{
		height: 150px !important;
		width: auto !important;
	}


  /* ───── Cover compacte + pleine largeur ─────
     On force width:100% / margin:0 pour neutraliser tout
     reliquat du décalage desktop (margin-left négatif, 100vw). */

  .page .wp-block-cover.alignfull,
  .cover {
    min-height: 80vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;   /* recentre sur tout l'écran */
    margin-right: 0 !important;
  }

  .cover .is-btn-scroll-mainpage {
    justify-content: center;
  }

  .cover h1 {
    font-size: 2rem !important;
    text-align: center;
    color: white;
    margin: 0 !important;
  }

  /* Cacher le paragraphe descriptif dans la cover sur mobile */
  .cover > .wp-block-cover__inner-container > p {
    display: none;
  }

  /* ───── Inversion des navs ───── */
  .nav-desktop {
    display: none !important;
  }

  .nav-mobile {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: -80px !important;  /* remonte par-dessus la cover */
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
    z-index: 10;
  }

  /* ───── Boutons mobile : cartes avec image ───── */
  .nav-mobile .wp-block-button {
    width: 100%;
    margin: 0;
  }

  .nav-mobile .wp-block-button__link {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 14px 18px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Calistoga', serif;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  /* Voile sombre */
  .nav-mobile .wp-block-button__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
    transition: background .3s ease;
  }

  .nav-mobile .wp-block-button__link:hover::before {
    background: rgba(0, 0, 0, 0.5);
  }

  /* Images de fond par activité */
  .nav-mobile .is-aikido .wp-block-button__link {
    background-image: url('assets/img/activities/aïkido.png');
  }
  .nav-mobile .is-the .wp-block-button__link {
    background-image: url('assets/img/activities/the.png');
  }
  .nav-mobile .is-japonais .wp-block-button__link {
    background-image: url('assets/img/activities/japonais.png');
  }
  .nav-mobile .is-calligraphie .wp-block-button__link {
    background-image: url('assets/img/activities/calligraphie.png');
  }


  /* ───── Nav activité dans Homepage, version mobile ───── */
  .nav-homepage {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 40px;
    padding: 0 15px;
    position: relative;
    z-index: 10;
  }

  .nav-homepage .wp-block-button {
    width: 100%;
    margin: 0;
  }

  .nav-homepage .wp-block-button__link {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    padding: 14px 18px;
    border-radius: 0px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Calistoga', serif;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  /* On désactive le hover descriptif sur mobile (pas de sens au tactile) */
  .nav-homepage .wp-block-button__link::after {
    display: none;
  }


  /* ───── Tableau tarifs responsive ───── */
  .tarifs-responsive table,
  .tarifs-responsive tbody,
  .tarifs-responsive tr,
  .tarifs-responsive td {
    display: block;
    width: 100% !important;
  }

  .tarifs-responsive tbody tr:first-child {
    display: none;
  }

  .tarifs-responsive tbody tr {
    margin-bottom: 1.5em;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5em;
    background: #fafafa;
  }

  .tarifs-responsive td {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 0.6em 0.4em;
    text-align: left;
    position: relative;
  }

  .tarifs-responsive td:last-child {
    border-bottom: none;
  }

  .tarifs-responsive td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 0.2em;
    color: #555;
    font-size: 0.85em;
    text-transform: uppercase;
  }

  .tarifs-responsive tbody tr td:first-child {
    font-size: 1.2em;
    font-weight: bold;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 0.3em;
  }

  .tarifs-responsive tbody tr td:first-child::before {
    display: none;
  }

  .tarifs-responsive .wp-block-button__link {
    display: inline-block;
    width: auto;
  }


  /* ───── LOGO BANNIÈRE — Version mobile compacte ───── */
  .logo-mainpage img {
    display: none;
  }

  .logo-mainpage {
    background-image: url('assets/img/cercle-kanji-texte-court.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }


  /* ───── MAP responsive ───── */
  .map-wrap {
    flex-direction: column !important;
    gap: 20px;
  }

  .map-wrap > .wp-block-group {
    flex: 1 1 100%;
    width: 100%;
  }

  .map-wrap .map {
    width: 100% !important;
    height: 300px;
    min-height: 0;
  }

  /* La map passe en premier, le texte en dessous */
  .map-wrap > .wp-block-group:has(.map) {
    order: 1;
  }

  .map-wrap > .wp-block-group:not(:has(.map)) {
    order: 2;
  }
}



/* ── Japonais : Noto Sans JP partout ── */
html[lang^="ja"] body,
html[lang^="ja"] body * {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
}

/* ── Sauf les éléments .kanji : Yuji Syuku ── */
html[lang^="ja"] .kanji,
html[lang^="ja"] .kanji * {
    font-family: 'Yuji Syuku', serif;
}

html[lang^="ja"] h2 {
    font-family: 'Yuji Syuku', serif;
}