/* ==========================================================================
   Viet Vo Dao Paris Club — charte noir & rouge, habillage 2026
   ========================================================================== */

:root {
  --bg:          #0a0a0a;
  --bg-2:        #121212;
  --surface:     #151515;
  --surface-2:   #1c1c1c;
  --line:        #262626;
  --line-soft:   #1e1e1e;

  --red:         #d81f26;
  --red-bright:  #ff2d36;
  --red-deep:    #7a0f13;

  --text:        #e8e6e3;
  --text-soft:   #a3a09c;
  --text-faint:  #6e6b67;

  --display: "Barlow Condensed", "Haettenschweiler", "Arial Narrow", Impact, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1080px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--red-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: #fff; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------ bandeau annonce */

.ribbon {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: linear-gradient(90deg, var(--red-deep), var(--red) 45%, var(--red-bright));
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-align: center;
}

.ribbon-dot {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  70%  { box-shadow: 0 0 0 9px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.96) 30%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.05) 82%, rgba(10,10,10,0) 100%) 0 0 / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 26%, rgba(10,10,10,.15) 62%, var(--bg) 100%) 0 0 / 100% 100% no-repeat,
    url("images/hero.jpg") right bottom / auto 100% no-repeat,
    var(--bg);
}

.hero-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 130px 24px 112px;
}

.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 11vw, 116px);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
}

.hero-title span {
  display: block;
  margin-top: 18px;
  font-size: .32em;
  font-weight: 500;
  letter-spacing: .42em;
  color: var(--text-soft);
}

.hero-sub {
  max-width: 34em;
  margin: 26px 0 0;
  font-size: 17px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-primary:hover { background: var(--red-bright); border-color: var(--red-bright); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid #3a3a3a;
}
.btn-ghost:hover { border-color: var(--red); color: #fff; }

/* --------------------------------------------------------------- layout */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.eyebrow-rule {
  width: 34px; height: 2px;
  background: var(--red);
  flex: none;
}

/* ------------------------------------------------------------ actualité */

.news {
  margin: -46px 0 0;
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 40px 44px 44px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}

.news-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 22px;
}

.news p { margin: 0 0 16px; color: var(--text-soft); }
.news p:last-child { margin-bottom: 0; }

.lead { font-size: 17px; color: var(--text) !important; }

/* bloc évènement */

.event {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin: 28px 0 !important;
  border: 1px solid #33191a;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1a0c0d 0%, var(--surface-2) 100%);
  overflow: hidden;
}

.event-when {
  flex: 0 0 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: var(--red);
  color: #fff;
  text-align: center;
  line-height: 1.1;
}

.event-day {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .9;
}

.event-num {
  font-family: var(--display);
  font-size: 62px;
  font-weight: 700;
  line-height: .95;
  margin: 2px 0;
}

.event-month {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.event-what {
  flex: 1 1 280px;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-hour {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  color: #fff !important;
  margin: 0 0 8px !important;
}

.event-place {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.6;
}

.offer {
  padding: 14px 18px;
  border-left: 3px solid var(--red);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
}

/* ------------------------------------------------------ infos pratiques */

.infos { padding: 72px 0 20px; }

.infos-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px 26px 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: #3a2224; transform: translateY(-2px); }
.tile-cours:hover { transform: none; }

.tile-wide,
.tile-contact { grid-column: span 2; }

.tile h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
}

.tile p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text-soft);
}
.tile p:last-child { margin-bottom: 0; }

.tile-strong {
  font-size: 18px !important;
  font-weight: 600;
  color: #fff !important;
  line-height: 1.35;
}

.tile-note {
  font-size: 13px !important;
  color: var(--text-faint) !important;
}

/* lignes de métro */

.metros { list-style: none; margin: 0; padding: 0; }

.metros li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text);
}

.ligne {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
.l5 { background: #f28e42; color: #1a1a1a; }
.l8 { background: #cead9e; color: #1a1a1a; }
.l9 { background: #d5c900; color: #1a1a1a; }

.tile-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #1a0c0d 0%, var(--surface) 70%); }

.tel {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #fff;
  white-space: nowrap;
}
.tel:hover { color: var(--red-bright); text-decoration: none; }

.mail-line { margin: 10px 0 12px !important; }

.mail-line .mail,
.mail-line noscript {
  font-family: var(--display);
  /* l’adresse fait 25 signes : on la borne pour qu’elle tienne sur une ligne
     jusqu’aux écrans de 320px, sans jamais dépasser la taille du téléphone */
  font-size: clamp(20px, 5.6vw, 30px);
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.15;
  color: var(--red-bright);
  white-space: nowrap;
}
.mail-line .mail:hover { color: #fff; text-decoration: none; }


/* ------------------------------------------------- les cours (survol) */

.tile-cours {
  position: relative;
  z-index: 1;
}
.tile-cours:hover,
.tile-cours:focus-within { z-index: 20; }

/* la rangée est calée sur le plus grand panneau (celui de l’école) */
@media (min-width: 901px) {
  .tile-cours { min-height: 380px; }
}

.tile-cours {
  display: flex;
  flex-direction: column;
}

.days {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 10px;
}

.day { position: static; }

.day-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 14px 14px;
  border: 1px solid #2e2e2e;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.day:hover .day-btn,
.day:focus-within .day-btn {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.day-btn:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

.day-name {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.day-hour {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: .02em;
}
.day:hover .day-hour,
.day:focus-within .day-hour { color: rgba(255,255,255,.85); }

/* le panneau prolonge la tuile vers la droite et recouvre « Les disciplines » */
.cours-detail {
  position: absolute;
  top: 0;
  left: 100%;
  width: calc(100% + 16px);
  min-height: 100%;
  padding: 24px 26px;
  background: var(--surface-2);
  border: 1px solid var(--red);
  border-left: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 22px 0 44px rgba(0,0,0,.6);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}

.day:hover .cours-detail,
.day:focus-within .cours-detail {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.cd-meta {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-bright) !important;
}

.cd-meta span { display: block; }
.cd-meta span + span { color: var(--text-faint); }
.cd-meta sup { text-transform: lowercase; font-size: .8em; }

.cd-title {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}

.cd-text {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.65;
  color: var(--text-soft) !important;
}


/* ------------------------------------------------- l’école (survol) */

.tile-ecole {
  position: relative;
  z-index: 1;
}
.tile-ecole:hover,
.tile-ecole:focus-within,
.tile-ecole:focus { z-index: 25; transform: none; }
.tile-ecole:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 2px; }

/* le panneau remplace la case et recouvre « Premier cours » à sa droite */
.ecole-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(200% + 16px);
  min-height: 100%;
  display: flex;
  background: var(--surface-2);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 0 46px rgba(0,0,0,.7);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(.99);
  transform-origin: left center;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  pointer-events: none;
}

.tile-ecole:hover .ecole-panel,
.tile-ecole:focus .ecole-panel,
.tile-ecole:focus-within .ecole-panel {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.ecole-figure {
  position: relative;
  flex: 0 0 34%;
  margin: 0;
  background: #000;
}

.ecole-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: grayscale(1) contrast(1.06);
}

.ecole-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.88) 60%);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.ecole-figure figcaption span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.ecole-figure figcaption sup { text-transform: lowercase; font-size: .8em; }

.ecole-body {
  flex: 1 1 auto;
  min-width: 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ecole-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #fff;
}

.ecole-text p {
  margin: 0 0 12px !important;
  font-size: 13.5px !important;
  line-height: 1.6;
  color: var(--text-soft) !important;
}
.ecole-text p:last-child { margin-bottom: 0 !important; }
.ecole-text strong { color: #fff; white-space: nowrap; }

.ecole-text blockquote {
  margin: 0 0 12px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--red);
  font-size: 15px;
  line-height: 1.55;
  font-style: italic;
  color: var(--text);
}
.ecole-text blockquote::before { content: "\00AB\00A0"; }
.ecole-text blockquote::after  { content: "\00A0\00BB"; }

/* ------------------------------------------------------------- tarifs */

.prices {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.prices li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.prices li:first-child { padding-top: 0; }

.price-label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.3;
}
.price-label small {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
}

.price-value {
  flex: none;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.price-value small {
  margin-left: 4px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
}

.promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px !important;
  padding: 10px 12px;
  background: #1a0c0d;
  border: 1px solid #3a2224;
  border-radius: var(--radius);
  font-size: 14px !important;
  color: var(--text) !important;
}

.promo-badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
}

.pdf-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ---------------------------------------------------------------- pied */

.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 40px 24px 56px;
  text-align: center;
}

.footer-brand {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
}
.footer-brand span { color: var(--red-bright); }

.footer-meta {
  margin: 2px 0;
  font-size: 13px;
  color: var(--text-faint);
}

/* -------------------------------------------------------------- mobile */

/* sous 900px : 2 colonnes, le détail des cours passe en dépliage vertical */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* pas d’étirement en pile : chaque jour reprend sa hauteur naturelle */
  .days { display: block; flex: none; }
  .day { display: block; }
  .day + .day { margin-top: 12px; }
  .day-btn { height: auto; padding: 12px 14px; }
  .tile-cours { display: block; }
  .cours-detail {
    position: static;
    width: auto;
    min-height: 0;
    margin: 8px 0 4px;
    padding: 16px 18px;
    border: 1px solid #2e2e2e;
    border-radius: var(--radius);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .cd-title { font-size: 22px; }
  .ecole-panel {
    position: static;
    width: auto;
    min-height: 0;
    margin-top: 16px;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    border-color: #2e2e2e;
    box-shadow: none;
  }
  .ecole-figure { float: left; width: 42%; margin: 0 16px 8px 0; }
  .ecole-figure img { height: auto; }
  .ecole-body { padding: 18px 18px 20px; display: block; }
  .ecole-title { font-size: 24px; }
  .ecole-text blockquote { font-size: 14px; }
  .tile-ecole { cursor: default; }
  .day-btn { cursor: default; }
  .day:hover .day-btn, .day:focus-within .day-btn {
    background: var(--surface-2); border-color: #2e2e2e;
  }
  .day:hover .day-hour, .day:focus-within .day-hour { color: var(--text-soft); }
}

@media (max-width: 820px) {
  .hero-inner { padding: 78px 22px 74px; }
  .hero-media {
    background:
      linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 42%, rgba(10,10,10,.92) 72%, var(--bg) 100%) 0 0 / 100% 100% no-repeat,
      url("images/hero.jpg") center 20% / cover no-repeat,
      var(--bg);
  }
  .news { padding: 30px 24px 34px; margin-top: -34px; }
  .event-when { flex: 1 1 100%; flex-direction: row; gap: 10px; padding: 12px; }
  .event-num { font-size: 34px; margin: 0; }
  .event-day, .event-month { font-size: 12px; }
  .wrap { padding: 0 18px; }
  .infos { padding-top: 54px; }
}

.hero-eyebrow sup {
  text-transform: lowercase;
  font-size: .72em;
}

/* --------------------------------------------------- très petits écrans */

/* sous 460px la colonne de texte devient trop étroite pour « Michel Chapuis, 6e dan »
   d’un seul tenant : la photo repasse en pleine largeur au-dessus du texte */
@media (max-width: 460px) {
  .ecole-figure { float: none; width: 100%; margin: 0 0 14px; }
  .ecole-figure img { height: 240px; object-fit: cover; object-position: 50% 18%; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .tile-wide,
  .tile-contact { grid-column: span 1; }
  .prices li { flex-direction: row; }
}

/* ------------------------------------------------------ page d’erreur */

.error-page {
  padding: 90px 24px 70px;
  max-width: 720px;
}
.error-page .news-title { margin-bottom: 18px; }
.error-page .lead { margin-bottom: 28px; color: var(--text-soft); }
