/* ==========================================================================
   Yukeikan — feuille de style reprise du site d'origine (Gridsome / Vue)
   Couleurs : bleu nuit #202e3b · or #f9a602 · gris #bbb
   ========================================================================== */

:root {
  --bleu: #202e3b;
  --or: #f9a602;
  --gris: #bbb;
  --blanc: #fff;
}

body { font-family: Quicksand, sans-serif !important; margin: 0 auto; height: 100%; padding: 0; text-decoration: none; list-style: none; box-sizing: border-box; overflow-x: hidden; }
#app { padding-left: 0 !important; padding-right: 0 !important; }
a { color: var(--bleu) !important; }
a, a:hover { text-decoration: none !important; }
a:hover { border: none; border-radius: 10px; }
i { padding-right: 10px; }
i, .fa-minus, .fa-plus { font-size: 20px; }
.fa-youtube { color: red !important; cursor: pointer; }
h2 { display: flex; align-items: center; justify-content: center; vertical-align: middle; }
[hidden] { display: none !important; }

/* ---------- Bandeau "prochain cours" ---------- */
#next-class { background-color: var(--bleu); color: var(--or); height: 40px; text-align: left; position: absolute; padding-top: 8px; top: 0; z-index: 3; width: 100%; font-weight: 700; font-size: 1em; }
#next-class > span::before, #next-class > span::after { content: ""; display: inline-block; border-top: .1rem solid #fff; width: 5%; margin: 5px .9rem; }

/* ---------- En-tête / navigation ---------- */
header { position: absolute; margin-top: 40px; top: 0; width: 100%; justify-content: center; z-index: 2; background-color: #fff; display: flex; flex-direction: row; }
#navbar { display: flex; flex-direction: row; justify-content: space-between; padding-left: 10px; padding-right: 10px; line-height: 75px; }
#name-club { display: block; cursor: pointer; width: 80px; font-weight: 700; font-size: 2em; padding-left: 20px; color: var(--bleu); margin: 0; }
#logo-club > img { width: 80px; }
nav { width: 100%; height: 80px; text-align: right; }
nav ul { margin: 0; }
nav ul li { display: inline-block; }
nav ul li a { font-size: 17px; font-weight: 400; padding: 7px 13px; text-transform: uppercase; line-height: 80px; }
nav ul li a:hover, nav ul li a.active { background-color: #eee; }
#logo-club:hover { border-radius: 50px; background-color: transparent !important; }
.menu-burger { font-size: 30px; color: var(--gris); float: right; line-height: 80px; margin-right: 40px; cursor: pointer; display: none; }
.menu-burger i { font-size: 30px; }

/* ---------- Sections ---------- */
.banner { background-color: #fff; color: var(--bleu); padding-top: 1em; padding-bottom: 1em; }
.banner.blue { background-color: var(--bleu); color: #fff; }
.banner.gray { background-color: var(--gris); color: var(--bleu); }
.banner.blue a:not(.btn):not(.footer-link) { color: #eef1f2 !important; text-decoration: underline !important; }
.second-title, .third-title, .page-link { text-align: center; }

.divider { border-bottom: 3px solid var(--bleu); width: 40px; margin: 0 auto 1em; }
.divider_white { border-bottom: 3px solid #fff; width: 40px; margin: 0 auto 1em; }
.divider_menu { float: right; width: 705px; padding-top: 124px; margin-right: 20px; margin-left: 20px; border-bottom: 3px solid var(--bleu); margin-bottom: 2em; }

.triangle_white, .triangle_blue, .triangle_gray { width: 0; height: 0; border-style: solid; border-width: 30px 30px 0; margin: -16px auto; display: block; }
.triangle_white { border-color: #fff transparent transparent; }
.triangle_blue { border-color: var(--bleu) transparent transparent; }
.triangle_gray { border-color: var(--gris) transparent transparent; }

.pattern { background: url(/images/japanese-pattern.png); height: 300px; background-position: 50%; background-size: cover; background-repeat: repeat; background-attachment: fixed; }

/* Texte riche (markdown) */
.md p, .md ul, .md ol, .padding-custom p { padding-left: 3rem; padding-right: 3rem; }
.md ul, .md ol { text-align: left; margin-left: 3rem; }
.md h3 { margin-top: .5rem; }
.md-large h3 { margin-top: 1.5rem; }
.text-left.md h3::before { content: "\f0da"; font-family: "Font Awesome 5 Free"; font-weight: 900; padding: 0 10px 0 3rem; }
.text-left.md .divider, .text-left.md .divider_white { margin-left: 3rem; }
.padding-custom { padding: 0 2em; }
.padding-custom p { padding: 0; }
.small-notes p { font-size: 80%; }

/* ---------- Page d'accueil ---------- */
#home-banner { background: url(/images/kendo-bg.jpg); height: 100vh; background-position: 50%; background-size: cover; background-repeat: no-repeat; background-attachment: fixed; display: flex; flex-direction: column; justify-content: space-between; opacity: .9; background-color: #fff; }
.index-title { display: flex; flex-direction: row; justify-content: center; color: #f5fffa; width: 62%; margin-top: 50vh; padding-left: 30px; }
.main-title { width: 100%; font-size: 2em; }
.title-page_club, .title-page_kendo { text-align: center !important; color: var(--bleu); padding-top: 160px !important; margin-bottom: 50px; }

.kendo-informations { display: flex; flex-direction: row; justify-content: space-around; align-items: center; padding-top: 1em; }
.kendo-full-armor { width: 100%; }
.kendo-armor { width: 350px; max-width: 100%; }

/* ---------- Boutons ---------- */
.default-button { color: var(--bleu) !important; background-color: #fff !important; margin-bottom: 1em; border: none; }
.default-button:hover { box-shadow: 0 0 8px 1px var(--bleu); }
.default-button.blue { background-color: var(--bleu) !important; color: #fff !important; }
.default-button.blue:hover, .default-button.white { background-color: #fff !important; color: var(--bleu) !important; }
.default-button.white:hover { background-color: var(--bleu) !important; color: #fff !important; box-shadow: 0 0 8px 1px #fff; }
a .default-button { color: var(--bleu) !important; background-color: #fff !important; margin-bottom: 1em; }
a .default-button.contact { background-color: var(--gris) !important; }
a .default-button.blue { background-color: var(--bleu) !important; color: #fff !important; }
a .default-button:hover { color: #fff !important; background-color: var(--bleu) !important; box-shadow: 0 0 8px 1px #fff; }
a .default-button.blue:hover { background-color: #fff !important; color: var(--bleu) !important; box-shadow: 0 0 8px 1px var(--bleu); }
a .default-button.contact:hover { background-color: var(--bleu) !important; color: var(--gris) !important; box-shadow: 0 0 8px 1px var(--gris); }
a .default-button span { vertical-align: text-bottom; }
.pulse { animation: pulse 1s infinite; cursor: pointer; }
@keyframes pulse { 0% { transform: scale(1); } 25% { transform: scale(1.1); } to { transform: scale(1.4); } }

/* ---------- Cartes (équipement kendo) ---------- */
.card { min-height: 100%; }
.card-body h4, .card p { color: var(--bleu) !important; }
.card-img { margin-bottom: 1rem; }
.card-footer { background-color: #fff !important; border-top-color: var(--bleu) !important; cursor: pointer; }
.card-footer .text-muted { color: var(--bleu) !important; }
.card-footer:hover .text-muted { color: var(--gris) !important; font-weight: 700; }
#kendo-goal { padding-bottom: 0 !important; }
.attributions { vertical-align: -webkit-baseline-middle; }
.attributions > i { vertical-align: text-bottom; }
.credits-box, .credits-box a { color: var(--bleu) !important; font-style: italic; }
.partner-links:hover { background-color: var(--bleu); color: #fff !important; }
.partner-links .card-body { color: var(--bleu); }
.partner-links:hover .card-body { color: #fff; }
.kendo-spirit p { list-style-type: none; }

/* ---------- Club : enseignants / horaires / tarifs ---------- */
#hours-map { position: relative; }
.informations { margin-bottom: 50px; margin-top: 50px; }
.map, .leaflet { height: 100%; min-height: 350px; }
.vue2leaflet-map { position: absolute !important; left: 15px; top: 0; width: calc(100% - 30px) !important; height: 100%; min-height: 100%; z-index: 1; }
.how-much .license-price { display: flex; flex-direction: row; justify-content: space-around; padding: 10px; transition: transform .2s; }
.how-much .license-price:hover { transform: scale(1.1); }
.how-much .price { box-shadow: 0 0 17px 1px #fff; }
.how-much .price, .how-much .inscription { width: 250px; height: 250px; padding: 10px; text-align: center; border-radius: 5px; }
.how-much .inscription { box-shadow: 0 0 17px 1px var(--bleu); }
.how-much a { background: #fff; border-radius: 10px; }
.how-much a:hover { text-decoration: none !important; border: none; border-radius: 10px; }

/* ---------- Contact ---------- */
#contact-informations { padding: 37px; }
#contact-informations h3 { color: var(--gris) !important; }
#mobile-form h2 { text-align: center; padding-top: 37px; }
#contact-form { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 100%; }
#mobile-form, .join { margin-bottom: 50px; }
#mobile-form > .banner.gray { width: 100%; }
#form-button { width: 60%; min-width: 160px; font-size: 15px; background-color: var(--bleu) !important; color: #eef1f2 !important; }
#form-button:hover { background-color: #eef1f2 !important; color: var(--bleu) !important; }
#form-button[disabled] { opacity: .6; }
input[type=email], input[type=file], input[type=tel], input[type=text] { margin: 10px 0; min-width: 100%; outline: none; height: 50px; }
input[type=file] { height: auto; padding: .5rem; }
select, textarea { margin: 10px 0 !important; min-width: 100%; outline: none; }
.form-control.error_field { border-color: #dc3545; border-width: 1.8px; }
.form-status { text-align: center; font-weight: 700; margin: 10px 0 0; min-height: 1.5em; }
.form-status.ok { color: #155724; }
.form-status.err { color: #a71d2a; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; opacity: 0; }

/* ---------- Pied de page ---------- */
footer { overflow: hidden; background-color: var(--bleu); color: #fff; }
footer a { color: #fff !important; }
footer a:hover { padding: 8px; color: var(--bleu) !important; }
.footer-link:hover { background-color: var(--gris); }
.footer-text p { margin: 0; font-size: 80%; }
.footer-text a { text-decoration: underline !important; }
.footer-text a:hover { padding: 0; color: #fff !important; }
.registration:hover { color: #fff !important; border: none !important; text-decoration: underline !important; padding: 0; }
.footer-copyright { background-color: #fff; color: #000; padding: 10px; }
.footer-copyright div > a { color: var(--bleu) !important; font-weight: 700; }
.footer-copyright div > a:hover { padding: 0; }
.footer-separator-top, .footer-separator-bottom { background-color: var(--gris); height: 3px; }
.footer-separator-bottom { width: 60%; }
.logo { padding: 0 !important; }
.socials-logo { width: 30%; margin: 0 auto; display: flex; flex-direction: row; justify-content: space-between; }
#facebook, #youtube, #instagram { font-size: 30px; color: #fff !important; }
#facebook:hover { color: #6ca5d4 !important; }
#youtube:hover { color: red !important; }
#instagram:hover { color: #e1306c !important; }

/* ---------- Bandeau cookies ---------- */
#cookie-rgpd { position: fixed; bottom: 0; padding: 10px; border-radius: 10px; background-color: #fff !important; color: var(--bleu); height: auto; width: 100%; z-index: 999; box-shadow: 0 -2px 12px rgba(0,0,0,.15); }
#cookie-rgpd > .cookie_arrangement { display: flex; flex-direction: row; justify-content: center; align-items: center; }
#cookie-rgpd .cookie_message { text-align: center; margin-right: 10px; }
#cookie-rgpd .cookie_message span { font-size: 14px; font-weight: 700; }
#cookie-rgpd .cookie_buttons { display: flex; flex-direction: row; }
#cookie-rgpd .cookie_agreement, #cookie-rgpd .cookie_refused { margin-right: 10px; }
#cookie-rgpd .cookie_agreement > button { border-style: none; border-radius: 7px; background-color: var(--or) !important; color: #fff; }
#cookie-rgpd .cookie_refused > button { border-style: none; border-radius: 7px; background-color: var(--gris) !important; color: #fff; }
#cookie-rgpd button:hover { color: var(--bleu); }

/* ---------- Fenêtre vidéo ---------- */
.video-modal { position: fixed; inset: 0; z-index: 1000; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.video-modal-box { position: absolute; left: 15%; top: 15%; width: 70%; height: 70%; background: #000; border-radius: 3px; box-shadow: 0 20px 60px -2px rgba(27, 33, 58, .4); }
.video-modal-box iframe { width: 100%; height: 100%; border: 0; }
.video-close { position: absolute; top: -40px; right: 0; background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

#scrollTop { cursor: pointer; padding: 0 !important; position: fixed; top: 85%; right: 30px; color: var(--or); font-size: 40px; z-index: 999; }

/* ==========================================================================
   Responsive (points de rupture du site d'origine)
   ========================================================================== */
@media (max-width: 992px) {
  nav ul li a { font-size: 16px; }
  input[type=email], input[type=tel], input[type=text] { height: 40px; }
  .leaflet, .map { min-height: 300px; }
}

@media (max-width: 937px) {
  #next-class { position: fixed !important; }
  #navbar { line-height: 30px; display: block; }
  header { position: fixed; z-index: 4; border-bottom: 3px solid var(--bleu); }
  #name-club, .menu-burger { display: block; }
  .mobile-name { float: left; line-height: 80px; }
  #menu-links { position: absolute; margin: 0 auto; z-index: 2; padding-left: 20px; top: 83px; left: 0; width: 100%; background: #ddd; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; overflow: hidden; max-height: 0; transition: max-height .5s ease-in-out; }
  #menu-links.open { max-height: 520px; }
  nav ul li a { font-size: 15px; color: var(--bleu) !important; line-height: 30px; display: inline-block; padding: 9px 13px; }
  #logo-club { display: none !important; }
  .divider_menu { width: 80% !important; max-width: 650px; float: none; margin: 0 auto 2em; }
  .index-title { font-size: 2em; }
  #home-banner { background-attachment: scroll; }
  .pattern { background-attachment: scroll; height: 200px; }
}

@media (max-width: 768px) {
  #app { overflow: hidden !important; }
  .index-title { margin-top: 150px !important; font-size: 25px; width: 100%; padding: 0 20px; }
  .main-title { width: 100%; font-size: 1.6em; line-height: 1.6; }
  .informations { margin-bottom: 0 !important; }
  .margin-mobile { margin-top: 1em; }
  #next-class { text-align: center !important; }
  #next-class > span { font-size: 13px; }
  #next-class > span::before, #next-class > span::after { display: none !important; }
  .join { margin-bottom: 2em; }
  #form-group > div > h2 { padding-top: 1em; }
  #cookie-rgpd > .cookie_arrangement { flex-direction: column; }
  #cookie-rgpd .cookie_message span { font-size: 11px; }
  .cookie_agreement { margin-bottom: 10px; }
  .md p, .md ul, .md ol, .pl-5, .pr-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .md ul, .md ol { margin-left: 1rem; }
  .kendo-cards { padding-left: 1rem !important; padding-right: 1rem !important; }
  .title-page_club, .title-page_kendo { padding-top: 40px !important; margin-bottom: 30px; }
  .divider_menu { padding-top: 124px; }
  .socials-logo { width: 50%; }
  .video-modal-box { left: 4%; width: 92%; top: 25%; height: auto; aspect-ratio: 16 / 9; }
  #scrollTop { right: 15px; }
}

@media (max-width: 576px) {
  #next-class { font-size: 10px; }
  input[type=email], input[type=tel], input[type=text] { height: 50px; }
  textarea { height: 90px !important; }
  .how-much .price, .how-much .inscription { width: 230px; height: auto; min-height: 210px; }
}

@media (min-width: 992px) {
  .socials-logo { width: 10%; }
}
