﻿/* ============================================
   TRIPLE ALLIANCE — BRAND COLORS & NEW SECTIONS
   ============================================ */

/* Active nav link (current page) — keeps red underline visible */
.nav-links .btn-text.ta-nav-active .link-2 { color: #FF0000; }
.nav-links .btn-text.ta-nav-active > .border-line-text {
  transform: translate3d(0%, 0, 0) !important;
}

:root {
  --ta-black: #000000;
  --ta-red: #FF0000;
  --ta-cream: #F6F8FA;
  --ta-ink: #0a0a0a;
  --ta-muted: rgba(0,0,0,0.55);
  --ta-line: rgba(0,0,0,0.08);
  --light_bg: #F6F8FA;
  --blue: #000000;
  --dark_color: #000000;
}

body, .body { background-color: var(--ta-cream); color: var(--ta-ink); }

/* Primary button overrides — black with red hover (brand) */
.primary-button {
  background-color: #000 !important;
  border: 1px solid #000;
  border-radius: 0;
  transition: all .35s ease;
}
.primary-button:hover {
  background-color: var(--ta-red) !important;
  border-color: var(--ta-red);
}
.primary-button.ta-red {
  background-color: var(--ta-red) !important;
  border-color: var(--ta-red);
}
.primary-button.ta-red:hover {
  background-color: #000 !important;
  border-color: #000;
}
.primary-button.ta-outline {
  background-color: transparent !important;
  color: #000;
  border: 1px solid #000;
}
.primary-button.ta-outline:hover {
  background-color: #000 !important;
  color: #fff;
}

/* Eyebrow & section helpers */
.ta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ta-ink);
  margin-bottom: 1.25rem;
}
.ta-eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ta-red);
  display: inline-block;
}
.ta-eyebrow.light, .ta-eyebrow.light::before { color: #fff; }
.ta-eyebrow.light::before { background: var(--ta-red); }

.ta-title {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 0 0 1rem;
  letter-spacing: .02em;
  color: var(--ta-black);
}
.ta-title.light { color: #fff; }

.ta-lead {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ta-ink);
  max-width: 50rem;
  margin: 0;
}
.ta-lead.light { color: rgba(255,255,255,0.85); }

.ta-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
}

/* Shared notice bar — e.g. "one membership, all locations" (horaire / tarifs).
   Base sits on cream sections; add .soft on white sections. */
.ta-access-note {
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 87rem;
  margin: 0 auto 2.5rem;
  padding: 1.1rem 1.4rem;
  background: #fff;
  border: 1px solid var(--ta-line);
  border-left: 3px solid var(--ta-red);
  font-family: Aminute, Arial, sans-serif;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ta-ink);
}
.ta-access-note.soft { background: var(--ta-cream); }
.ta-access-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ta-red);
  flex-shrink: 0;
}
.ta-access-note strong {
  color: var(--ta-black);
  font-weight: 600;
}
/* The note already provides the gap — don't stack it with the table's own. */
.ta-access-note + .ta-schedule-table { margin-top: 0; }
@media (max-width: 991px) {
  .ta-access-note {
    align-items: flex-start;
    padding: 1rem 1.2rem;
    font-size: .9rem;
  }
  .ta-access-note::before { margin-top: .45rem; }
}

/* ============================================
   1 — TRIAL BANNER (under hero)
   ============================================ */
.ta-trial-banner {
  background: #000;
  color: #fff;
  padding: 1.6rem 5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--ta-red);
  border-bottom: 1px solid var(--ta-red);
  position: relative;
  overflow: hidden;
}
.ta-trial-banner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--ta-red);
  filter: blur(70px);
  opacity: .35;
  transform: translateY(-50%);
  pointer-events: none;
}
.ta-trial-sun {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ta-red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(255,0,0,0.5);
}
.ta-trial-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
.ta-trial-eyebrow {
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ta-red);
  margin-bottom: .25rem;
}
.ta-trial-title {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  margin: 0;
  color: #fff;
}
.ta-trial-sub {
  font-family: Aminute, Arial, sans-serif;
  font-size: .9rem;
  margin-top: .35rem;
  opacity: .75;
}
.ta-trial-cta {
  background: var(--ta-red);
  color: #fff;
  padding: 1rem 1.6rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  transition: background .3s, color .3s;
}
.ta-trial-cta:hover { background: #fff; color: #000; }

@media (max-width: 991px) {
  .ta-trial-banner { padding: 1.4rem 2rem; gap: 1.25rem; }
}
@media (max-width: 767px) {
  .ta-trial-banner { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.25rem; }
  .ta-trial-sun { width: 44px; height: 44px; }
}

/* ============================================
   2 — COACH SECTION
   ============================================ */
.ta-coach {
  background: #fff;
  padding: 6rem 5rem;
  position: relative;
}
.ta-coach-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.35fr;
  gap: 4.5rem;
  align-items: center;
  max-width: 87rem;
  margin: 0 auto;
}
.ta-coach-photo-frame {
  position: relative;
  padding: 0 20px 20px 0;
  max-width: 420px;
  width: 100%;
  justify-self: start;
}
.ta-coach-photo-frame::after {
  content: "";
  position: absolute;
  top: 50px;
  right: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--ta-red);
  z-index: 0;
}
.ta-coach-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--ta-cream);
  border: 1px solid var(--ta-line);
}
.ta-coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ta-coach-name {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  line-height: .95;
  margin: 0 0 .35rem;
  color: var(--ta-black);
  letter-spacing: .02em;
}
.ta-coach-tag {
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  color: var(--ta-muted);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.ta-coach-bio {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ta-ink);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.ta-belts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ta-belt {
  border: 1px solid #000;
  padding: 1.25rem 1rem;
  background: var(--ta-cream);
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, background-color .3s ease;
}
.ta-belt:hover { transform: translateY(-4px); }
.ta-belt-stripe {
  width: 100%;
  height: 8px;
  margin-bottom: 1rem;
}
.ta-belt-stripe.brown { background: #5d3a1a; }
.ta-belt-stripe.black { background: #000; }
.ta-belt-discipline {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.35rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
}
.ta-belt-rank {
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ta-muted);
}

.ta-coach-block-title {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ta-muted);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ta-coach-block-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ta-line);
}

.ta-medals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: 2rem;
}
.ta-medal {
  display: flex;
  flex-direction: column;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--ta-red);
  background: var(--ta-cream);
}
/* Odd number of items — last card fills the row instead of leaving a hole */
.ta-medal:last-child:nth-child(odd) { grid-column: span 2; }
.ta-medal-place {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ta-black);
}
.ta-medal-event {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
  margin-top: .25rem;
}

.ta-langs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.ta-lang {
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .5rem .9rem;
  border: 1px solid #000;
  border-radius: 100px;
  background: #fff;
}

@media (max-width: 991px) {
  .ta-coach { padding: 4rem 2rem; }
  .ta-coach-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ta-belts { grid-template-columns: 1fr; gap: .75rem; }
  .ta-medals { grid-template-columns: 1fr; }
  .ta-medal:last-child:nth-child(odd) { grid-column: auto; }
  .ta-coach-photo-frame::after { width: 80px; height: 80px; top: 40px; }
}

/* ============================================
   3 — DISCIPLINES (Karate added — uses existing classes, no extra CSS needed)
   ============================================ */

/* ============================================
   4 — SCHEDULE GRID
   ============================================ */
.ta-schedule {
  background: var(--ta-cream);
  padding: 6rem 5rem;
}
.ta-schedule-table {
  margin-top: 2.5rem;
  border: 1px solid #000;
  background: #fff;
}
.ta-schedule-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--ta-line);
}
.ta-schedule-row:last-child { border-bottom: none; }
.ta-schedule-row.ta-schedule-head {
  background: #000;
  color: #fff;
}
.ta-schedule-cell {
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--ta-line);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 5rem;
  justify-content: center;
}
.ta-schedule-cell:last-child { border-right: none; }
.ta-schedule-row.ta-schedule-head .ta-schedule-cell {
  border-right: 1px solid rgba(255,255,255,0.15);
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  min-height: auto;
  padding: 1rem 1.5rem;
}
.ta-schedule-day {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.4rem;
  color: var(--ta-black);
  letter-spacing: .04em;
}
.ta-slot {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .92rem;
  padding: .25rem 0;
  flex-wrap: wrap;
}
.ta-slot + .ta-slot {
  border-top: 1px dashed var(--ta-line);
  padding-top: .5rem;
  margin-top: .25rem;
}
.ta-slot-time {
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ta-black);
  min-width: 4.4rem;
}
.ta-slot-tag {
  font-family: Aminute, Arial, sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .2rem .55rem;
  background: #fff;
  border: 1px solid var(--ta-line);
  margin-left: auto;
  white-space: nowrap;
}
.ta-slot-tag.kids { background: var(--ta-red); color: #fff; border-color: var(--ta-red); }
.ta-slot-tag.adult { background: #000; color: #fff; border-color: #000; }
/* One session open to two groups (Sainte-Rose Saturday): only the first tag
   takes the auto margin, so the pair stays together on the right. */
.ta-slot-tag + .ta-slot-tag { margin-left: 0; }
.ta-cell-empty {
  color: rgba(0,0,0,0.18);
  font-family: Aminute, Arial, sans-serif;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .ta-schedule { padding: 4rem 1.5rem; }
  .ta-schedule-row { grid-template-columns: 1fr; }
  .ta-schedule-cell { border-right: none; border-bottom: 1px solid var(--ta-line); padding: 1rem 1.25rem; }
  .ta-schedule-cell:last-child { border-bottom: none; }
  .ta-schedule-row:last-child .ta-schedule-cell:last-child { border-bottom: none; }
  .ta-schedule-row.ta-schedule-head { display: none; }

  /* Location label shown on top of each cell (from data-label) */
  .ta-schedule-cell::before {
    content: attr(data-label);
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ta-muted);
    display: block;
    margin-bottom: .5rem;
  }
  .ta-schedule-cell:not([data-label])::before { display: none; }

  /* Day cell becomes a full-width black banner header for the day group */
  .ta-schedule-cell:not([data-label]) {
    background: #000 !important;
    color: #fff !important;
    padding: .9rem 1.4rem !important;
    min-height: 0 !important;
    border-bottom: none !important;
  }
  .ta-schedule-cell:not([data-label]) .ta-schedule-day {
    color: #fff !important;
    font-size: 1.2rem !important;
  }

  /* JS-tagged: hide empty location cells + hide rows that have no classes (e.g., Jeudi) */
  .ta-schedule-cell.ta-empty { display: none !important; }
  .ta-schedule-row.ta-day-empty { display: none !important; }

  /* Tighten the location cell list */
  .ta-schedule-cell[data-label] { padding: 1rem 1.4rem !important; background: #fff; }
  .ta-schedule-cell[data-label] .ta-slot { padding: .35rem 0; }
}

/* ============================================
   5 — PRICING (TARIFS)
   ============================================ */
.ta-pricing {
  background: #fff;
  padding: 6rem 5rem;
}
.ta-pricing-featured {
  background: #000;
  color: #fff;
  padding: 2.75rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.ta-pricing-featured::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--ta-red);
  opacity: 1;
}
.ta-pricing-featured > * { position: relative; z-index: 1; }
.ta-pricing-featured-eyebrow {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--ta-red);
}
.ta-pricing-featured-title {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: .95;
  margin: 0 0 .5rem;
}
.ta-pricing-featured-sub {
  font-family: Aminute, Arial, sans-serif;
  font-size: .95rem;
  opacity: .85;
  max-width: 38rem;
}
.ta-pricing-featured-cta {
  background: #fff;
  color: #000;
  padding: 1.1rem 2rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .3s, color .3s;
}
.ta-pricing-featured-cta:hover { background: var(--ta-red); color: #fff; }

.ta-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.ta-pricing-card {
  border: 1px solid #000;
  background: #fff;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .3s ease, background-color .3s ease;
  position: relative;
}
.ta-pricing-card:hover { transform: translateY(-4px); }
.ta-pricing-card-name {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: 1.7rem;
  margin: 0;
  line-height: 1.1;
}
.ta-pricing-card-age {
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ta-muted);
  margin-bottom: .5rem;
}
.ta-pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px dashed var(--ta-line);
}
.ta-pricing-tier:first-of-type { border-top: 1px solid #000; }
.ta-pricing-tier-label {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  flex: 1;
}
.ta-pricing-tier-price {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--ta-black);
  white-space: nowrap;
}
/* Second line under a tier label — frequency terms such as "1x par semaine". */
.ta-pricing-tier-note {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ta-ink);
}
.ta-pricing-tier-price small {
  font-family: Aminute, Arial, sans-serif;
  font-size: .65rem;
  color: var(--ta-muted);
  margin-left: .15rem;
  letter-spacing: .05em;
}
.ta-pricing-card-cta {
  margin-top: auto;
  padding-top: 1rem;
}
.ta-pricing-card-link {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ta-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--ta-black);
  padding-bottom: .25rem;
  transition: color .3s, border-color .3s;
}
.ta-pricing-card-link:hover { color: var(--ta-red); border-color: var(--ta-red); }

.ta-pricing-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
.ta-pricing-mini {
  border-left: 3px solid var(--ta-red);
  padding: 1.25rem 1.4rem;
  background: var(--ta-cream);
}
.ta-pricing-mini-name {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ta-muted);
  margin: 0 0 .5rem;
}
.ta-pricing-mini-price {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.5rem;
  margin: 0;
  line-height: 1.1;
}
.ta-pricing-mini-sub {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
  margin-top: .35rem;
  line-height: 1.4;
}

/* Unit / tax suffix on the flexible and business prices — was three copies of
   the same inline style. */
.ta-pricing-mini-unit {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
  margin-left: .3rem;
}
/* "À partir de" ahead of a starting price (private classes: kids vs adults). */
.ta-pricing-mini-from {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
}

/* One rhythm for every block heading on the pricing page — the flexible and
   business sections used to carry ad-hoc inline margins, so the first one sat
   flush against the membership cards while the second had room to breathe. */
.ta-pricing-subhead {
  margin-top: 4rem;
  margin-bottom: 1.25rem;
}

.ta-pricing-business {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ta-pricing-business .ta-pricing-mini { border-left-color: #000; }

.ta-pricing-note {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-muted);
  margin-top: 1.25rem;
  font-style: italic;
}

@media (max-width: 991px) {
  .ta-pricing { padding: 4rem 2rem; }
  .ta-pricing-grid { grid-template-columns: 1fr; }
  .ta-pricing-secondary { grid-template-columns: 1fr; }
  .ta-pricing-business { grid-template-columns: 1fr; }
  .ta-pricing-featured { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .ta-pricing-featured::before { right: -180px; }
}

/* ============================================
   6 — TRUST (Children focus)
   ============================================ */
.ta-trust {
  background: var(--ta-cream);
  padding: 6rem 5rem;
}
.ta-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ta-trust-card {
  background: #fff;
  border: 1px solid var(--ta-line);
  padding: 2.6rem 2rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .45s cubic-bezier(.5,0,.2,1), border-color .35s ease, box-shadow .4s ease;
  position: relative;
  overflow: hidden;
  min-height: 21rem;
}
.ta-trust-card::before {
  /* Left vertical red stripe — draws top-to-bottom on hover */
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--ta-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .65s cubic-bezier(.5,0,.2,1);
}
.ta-trust-card::after {
  /* Giant kanji watermark — top-right corner */
  content: attr(data-kanji);
  position: absolute;
  top: -1.5rem;
  right: -.75rem;
  font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif;
  font-size: 11rem;
  line-height: 1;
  color: var(--ta-red);
  opacity: 0.06;
  pointer-events: none;
  transition: opacity .5s ease, transform .6s cubic-bezier(.5,0,.2,1);
  font-weight: 900;
}
.ta-trust-card:hover {
  border-color: #000;
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -25px rgba(0,0,0,0.18);
}
.ta-trust-card:hover::before { transform: scaleY(1); }
.ta-trust-card:hover::after {
  opacity: 0.14;
  transform: rotate(-5deg) scale(1.08);
}

/* Pillar marker — small eyebrow above title */
.ta-trust-pillar {
  font-family: Aminute, Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--ta-muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
}
.ta-trust-pillar::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--ta-red);
}

.ta-trust-title {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: 1.65rem;
  margin: .25rem 0;
  line-height: 1.05;
  letter-spacing: .015em;
  position: relative;
  z-index: 1;
}
.ta-trust-text {
  font-family: Aminute, Arial, sans-serif;
  font-size: .92rem;
  color: var(--ta-muted);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}
.ta-trust-pillar { position: relative; z-index: 1; }
.ta-trust-fact { position: relative; z-index: 1; }

/* Proof-point tag at bottom of card */
.ta-trust-fact {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ta-line);
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ta-ink);
}
.ta-trust-fact::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta-red);
  flex-shrink: 0;
}
/* Références & collaborations */
.ta-refs { margin-top: 2.5rem; }
.ta-refs-title {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ta-muted);
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ta-refs-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ta-line);
}
.ta-refs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.ta-ref {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--ta-line);
  border-left: 3px solid var(--ta-red);
}
.ta-ref-name {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ta-black);
}
.ta-ref-detail {
  font-family: Aminute, Arial, sans-serif;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ta-muted);
}

.ta-trust-letters {
  background: #000;
  color: #fff;
  padding: 2rem 2.5rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-left: 4px solid var(--ta-red);
}
.ta-trust-letters-text {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.ta-trust-letters-text strong {
  font-family: Aminute, Arial, sans-serif;
  font-weight: normal;
  color: #fff;
  display: block;
  font-size: 1.5rem;
  margin-bottom: .35rem;
}

@media (max-width: 1199px) {
  .ta-refs-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .ta-trust { padding: 4rem 2rem; }
  .ta-trust-grid { grid-template-columns: 1fr; }
  .ta-refs-list { grid-template-columns: 1fr; }
  .ta-trust-letters { flex-direction: column; align-items: flex-start; padding: 1.75rem 1.5rem; }
}

/* ============================================
   7 — CONTACT FORM
   ============================================ */
.ta-contact {
  background: #000;
  color: #fff;
  padding: 6rem 5rem;
  position: relative;
  overflow: hidden;
}
.ta-contact::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--ta-red);
  opacity: .15;
  filter: blur(50px);
  pointer-events: none;
}
.ta-contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  position: relative;
  max-width: 87rem;
  margin: 0 auto;
}

.ta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.25rem;
}
.ta-form-row { grid-column: span 2; }
.ta-form label {
  display: block;
  font-family: Aminute, Arial, sans-serif;
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  opacity: .65;
  color: #fff;
}
.ta-input, .ta-form textarea, .ta-form select {
  width: 100%;
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: .75rem 0;
  font-family: Aminute, Arial, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color .3s;
  border-radius: 0;
}
.ta-input:focus, .ta-form textarea:focus, .ta-form select:focus {
  border-bottom-color: var(--ta-red);
}
.ta-form textarea { resize: vertical; min-height: 110px; }
.ta-form select option { color: #000; background: #fff; }
/* Sets expectations for the mailto: submit — the page itself sends nothing. */
.ta-form-note {
  grid-column: span 2;
  margin: -.5rem 0 0;
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

.ta-form-submit {
  margin-top: .75rem;
  background: var(--ta-red);
  color: #fff;
  border: none;
  padding: 1.1rem 2.4rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s, transform .3s;
  justify-self: start;
  grid-column: span 2;
  border-radius: 0;
}
.ta-form-submit:hover { background: #fff; color: #000; }

.ta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.ta-contact-info-block {
  border-left: 2px solid var(--ta-red);
  padding-left: 1.25rem;
}
.ta-contact-info-label {
  font-family: Aminute, Arial, sans-serif;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: .5rem;
}
.ta-contact-info-value {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.4;
  color: #fff;
}
.ta-contact-info-sub {
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  margin-top: .25rem;
  opacity: .65;
  color: #fff;
  line-height: 1.45;
}
.ta-contact-info-value a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.ta-contact-info-value a:hover { border-bottom-color: var(--ta-red); }

@media (max-width: 991px) {
  .ta-contact { padding: 4rem 2rem; }
  .ta-contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ta-form { grid-template-columns: 1fr; }
  .ta-form-row { grid-column: span 1; }
  .ta-form-submit { grid-column: span 1; }
}

/* ============================================
   NAV — Trial CTA pulse
   ============================================ */
.primary-button.nav.ta-trial-cta-nav {
  background-color: var(--ta-red) !important;
  border-color: var(--ta-red);
  position: relative;
  padding-left: 34px;
}
.primary-button.nav.ta-trial-cta-nav:hover {
  background-color: #000 !important;
  border-color: #000;
}
.primary-button.nav.ta-trial-cta-nav::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: ta-pulse 1.6s infinite;
}
@keyframes ta-pulse {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: .35; transform: translateY(-50%) scale(1.4); }
}

/* Existing locations card kids highlight */
.div-block.kids {
  background-color: rgba(255, 0, 0, 0.06);
  padding: .5rem .75rem;
  border-left: 3px solid var(--ta-red);
}

/* Logo color (ensure the dragon decorative bg uses brand red, not generic) */
.bg-image { color: var(--ta-red) !important; }

/* ============================================
   NAVBAR — sticky, scroll-aware (large → compact)
   ============================================ */
.nav-bar {
  height: 6.6rem !important;
  padding: 0 3.5rem !important;
  background-color: rgba(246, 248, 250, 0.78) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: height .4s cubic-bezier(.55,0,.2,1), padding .4s cubic-bezier(.55,0,.2,1), background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: fixed !important;
}
.nav-bar.scrolled {
  height: 3.8rem !important;
  padding: 0 2.5rem !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.15);
}

/* Logo — bigger at top, shrinks on scroll */
.logo {
  height: 3.8rem !important;
  padding-bottom: 0 !important;
  transition: height .4s cubic-bezier(.55,0,.2,1);
}
.nav-bar.scrolled .logo { height: 2.4rem !important; }

/* Nav links */
.nav-links {
  margin-top: 0 !important;
  padding: 0 !important;
  grid-column-gap: 2.6rem !important;
  transition: grid-column-gap .4s ease;
}
.nav-bar.scrolled .nav-links { grid-column-gap: 2.2rem !important; }

.btn-text { padding: 0 !important; }
.link-2 {
  font-size: .9rem !important;
  letter-spacing: .18em !important;
  font-weight: 600 !important;
  transition: color .25s, font-size .35s ease, letter-spacing .35s ease;
}
.nav-bar.scrolled .link-2 {
  font-size: .78rem !important;
  letter-spacing: .15em !important;
}
.btn-text:hover .link-2 { color: var(--ta-red); }
.border-line-text { background-color: var(--ta-red) !important; height: 1.5px !important; }
/* Pure-CSS underline hover — works for ALL nav links incl. Contact (no Webflow IX2 dependency) */
.nav-links .btn-text > .border-line-text {
  transition: transform .4s cubic-bezier(.5,0,.2,1) !important;
}
.nav-links .btn-text:hover > .border-line-text {
  transform: translate3d(0%, 0, 0) !important;
}
.nav-links .btn-text:not(:hover) > .border-line-text {
  transform: translate3d(-105%, 0, 0) !important;
}

.flex-c { gap: 1rem; align-items: center; }

/* ============================================
   FR / EN LANGUAGE SWITCHER
   ============================================ */
/* Set in <head> when English is the stored choice — keeps the French markup
   from flashing before ta-i18n.js swaps it. Cleared by the script, and by a
   timeout in the same inline snippet if the script never runs. */
html.ta-i18n-pending body { visibility: hidden; }

.ta-lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 100px;
  overflow: hidden;
  flex-shrink: 0;
}
.ta-lang-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: .45rem .72rem;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  color: rgba(0,0,0,0.5);
  transition: background .25s ease, color .25s ease;
}
.ta-lang-btn:hover { color: var(--ta-red); }
.ta-lang-btn.is-active { background: #000; color: #fff; }
.ta-lang-btn.is-active:hover { color: #fff; }
.ta-lang-sep { width: 1px; background: rgba(0,0,0,0.14); }

/* Second copy, inside the mobile drawer. The navbar one sits under the drawer's
   backdrop while the menu is open, so it hands over to this one. */
.ta-lang-switch-mobile { display: none; }

@media (max-width: 767px) {
  .ta-lang-btn { padding: .38rem .58rem; font-size: .62rem; letter-spacing: .1em; }
  .nav-bar.nav-mobile-open .flex-c .ta-lang-switch { display: none; }
  .nav-bar.nav-mobile-open .ta-lang-switch-mobile {
    display: inline-flex;
    margin-top: 1.5rem;
    align-self: flex-start;
  }
  .ta-lang-switch-mobile .ta-lang-btn { padding: .5rem .95rem; font-size: .72rem; }
}

/* CTA — premium gradient + shine + ripple ring */
.primary-button.nav.ta-trial-cta-nav {
  background: linear-gradient(135deg, #ff1a1a 0%, #cf0000 100%) !important;
  border-color: transparent !important;
  padding: 1.05rem 1.8rem 1.05rem 2.4rem !important;
  font-size: .82rem !important;
  letter-spacing: .18em !important;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 6px 18px -6px rgba(255, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  transition:
    padding .4s cubic-bezier(.55,0,.2,1),
    font-size .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}

/* Ripple-ring pulse — replaces flat opacity pulse */
.primary-button.nav.ta-trial-cta-nav::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  animation: ta-pulse-ring 1.9s cubic-bezier(.5,0,.2,1) infinite;
  transition: left .35s ease, width .35s ease, height .35s ease;
  z-index: 2;
}

@keyframes ta-pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); transform: translateY(-50%) scale(1); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);  transform: translateY(-50%) scale(1.05); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);     transform: translateY(-50%) scale(1); }
}

/* Periodic shine sweep — draws attention every 5s */
.primary-button.nav.ta-trial-cta-nav::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg,
    transparent 25%,
    rgba(255, 255, 255, 0.32) 50%,
    transparent 75%);
  animation: ta-cta-shine 5.5s cubic-bezier(.5,0,.2,1) infinite;
  animation-delay: 1.8s;
  pointer-events: none;
  z-index: 1;
}
.primary-button.nav.ta-trial-cta-nav > * { position: relative; z-index: 2; }

@keyframes ta-cta-shine {
  0%, 60% { left: -120%; }
  85%, 100% { left: 220%; }
}

/* Hover — switches to black gradient, glow grows */
.primary-button.nav.ta-trial-cta-nav:hover {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%) !important;
  box-shadow:
    0 10px 28px -6px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Scrolled (compact) state */
.nav-bar.scrolled .primary-button.nav.ta-trial-cta-nav {
  padding: .7rem 1.3rem .7rem 1.95rem !important;
  font-size: .74rem !important;
  letter-spacing: .15em !important;
  box-shadow:
    0 4px 14px -4px rgba(255, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.nav-bar.scrolled .primary-button.nav.ta-trial-cta-nav::before {
  left: 13px;
  width: 7px;
  height: 7px;
}

/* Push page content below fixed nav so hero isn't hidden */
.main_wrapper { padding-top: 6.6rem; }
/* Slide-in animations (hero image, "from-right" reveals) start off-screen to
   the right, which let phones pan the page sideways until they finished.
   `clip`, not `hidden`: hidden would make this a scroll container and break
   the sticky coach photo, schedule header and horizontal-scroll pin. */
.page_wrapper { overflow-x: clip; }
@media (max-width: 991px) { .main_wrapper { padding-top: 5.2rem; } }
@media (max-width: 767px) { .main_wrapper { padding-top: 3.8rem; } }

/* Hide mobile drawer CTA by default — only show inside open drawer on mobile */
.ta-mobile-cta { display: none; }

/* ============================================
   INSCRIPTION CTA — secondary outline button next to trial CTA
   ============================================ */
.primary-button.nav.ta-inscription-cta-nav {
  background: transparent !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  padding: 1rem 1.5rem !important;
  font-size: .82rem !important;
  letter-spacing: .18em !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition:
    padding .4s cubic-bezier(.55,0,.2,1),
    font-size .35s ease,
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}
.primary-button.nav.ta-inscription-cta-nav::before,
.primary-button.nav.ta-inscription-cta-nav::after { display: none !important; }
.primary-button.nav.ta-inscription-cta-nav:hover {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
.nav-bar.scrolled .primary-button.nav.ta-inscription-cta-nav {
  padding: .65rem 1.05rem !important;
  font-size: .74rem !important;
  letter-spacing: .15em !important;
  border-width: 1px !important;
}

/* Mobile inscription variant */
.ta-mobile-cta-inscription {
  background: transparent !important;
  color: #000 !important;
  border: 1.5px solid #000 !important;
  margin-top: 1.25rem !important;
}
.ta-mobile-cta-inscription:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Hide inscription button on tablet/mobile (drawer takes over) */
@media (max-width: 991px) {
  .primary-button.nav.ta-inscription-cta-nav { display: none !important; }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.ta-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .85s cubic-bezier(.2,.7,.25,1), transform .85s cubic-bezier(.2,.7,.25,1);
  transition-delay: var(--ta-delay, 0ms);
  will-change: opacity, transform;
}
.ta-reveal.ta-in {
  opacity: 1;
  transform: translateY(0);
}
.ta-reveal.from-left  { transform: translateX(-44px); }
.ta-reveal.from-right { transform: translateX(44px); }
.ta-reveal.from-left.ta-in,
.ta-reveal.from-right.ta-in { transform: translateX(0); }
.ta-reveal.scale-in   { transform: scale(.94); }
.ta-reveal.scale-in.ta-in { transform: scale(1); }

/* Honor user reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .ta-reveal, .ta-reveal.ta-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .infinity-image-main-wrapper { animation: none !important; }
}

/* ============================================
   STICKY COACH PHOTO (desktop only)
   ============================================ */
@media (min-width: 992px) {
  .ta-coach-grid {
    align-items: start;
  }
  .ta-coach-photo-frame {
    position: sticky;
    top: 8.5rem; /* below default navbar */
    transition: top .4s cubic-bezier(.55,0,.2,1);
  }
  /* When navbar shrinks on scroll, photo top adjusts */
  body.ta-nav-compact .ta-coach-photo-frame {
    top: 5.2rem;
  }
}

/* ============================================
   STICKY SCHEDULE HEAD
   ============================================ */
@media (min-width: 768px) {
  .ta-schedule-table {
    position: relative;
  }
  .ta-schedule-row.ta-schedule-head {
    position: sticky;
    top: 6.6rem;
    z-index: 5;
    transition: top .4s cubic-bezier(.55,0,.2,1);
  }
  body.ta-nav-compact .ta-schedule-row.ta-schedule-head {
    top: 3.8rem;
  }
}

/* Hero top spacing — reduce the 10rem default since main_wrapper already pads for fixed nav */
.global_paddings.hero { padding-top: 2.5rem !important; }
@media (max-width: 991px) { .global_paddings.hero { padding-top: 2rem !important; } }
@media (max-width: 767px) { .global_paddings.hero { padding-top: 1.5rem !important; } }

/* ============================================
   HERO — one-time CSS entrance animation
   (Webflow IX2 bypassed by removing data-w-id from these elements,
   so this CSS animation runs cleanly with no re-trigger on scroll.)
   ============================================ */
@keyframes ta-hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ta-hero-from-left {
  from { opacity: 0; transform: translateX(-30%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ta-hero-from-right {
  from { opacity: 0; transform: translateX(30%); }
  to   { opacity: 1; transform: translateX(0); }
}

#hero .bg-image {
  animation: ta-hero-fade-in 1.4s cubic-bezier(.5,0,.2,1) .25s both;
}
#hero .bg-image._2 {
  animation: ta-hero-fade-in 1.4s cubic-bezier(.5,0,.2,1) .4s both;
}
#hero .hero_img-right {
  /* visually LEFT photo — slides in from the left */
  animation: ta-hero-from-left 1.6s cubic-bezier(.5,0,.2,1) .55s both;
}
#hero .hero_img-left {
  /* visually RIGHT photo — slides in from the right */
  animation: ta-hero-from-right 1.6s cubic-bezier(.5,0,.2,1) .55s both;
}

@media (prefers-reduced-motion: reduce) {
  #hero .bg-image,
  #hero .bg-image._2,
  #hero .hero_img-left,
  #hero .hero_img-right {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   POLISH — A pack
   ============================================ */

/* A1 — Anchor offset for fixed nav (smooth-scroll handled by JS for fast 600ms ease) */
/* CSS smooth-scroll disabled because native is too slow on long distances. */
html { scroll-behavior: auto; }
section[id], #coach, #disciplines, #horaire, #emplacements, #tarifs, #contact, #hero {
  scroll-margin-top: 5rem;
}
@media (max-width: 991px) { section[id] { scroll-margin-top: 4.5rem; } }
@media (max-width: 767px) { section[id] { scroll-margin-top: 3.8rem; } }

/* A2 — Magnetic CTA prep (transition for return to center) */
.ta-magnetic {
  transition: transform .35s cubic-bezier(.2,.7,.25,1);
  will-change: transform;
}

/* A3 — Form input focus underline */
.ta-input, .ta-form textarea, .ta-form select {
  background-image: linear-gradient(to right, var(--ta-red), var(--ta-red));
  background-size: 0% 2px;
  background-position: bottom left;
  background-repeat: no-repeat;
  transition: background-size .45s cubic-bezier(.5,0,.2,1), border-bottom-color .25s ease;
}
.ta-input:focus, .ta-form textarea:focus, .ta-form select:focus {
  background-size: 100% 2px;
  border-bottom-color: rgba(255,255,255,0.25); /* keep static border, animate gradient on top */
}

/* A4 — Hero scroll hint */
.ta-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  color: var(--ta-ink);
  text-decoration: none;
  font-family: Aminute, Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  z-index: 5;
  opacity: .75;
  transition: opacity .3s, color .3s;
}
.ta-scroll-hint:hover { opacity: 1; color: var(--ta-red); }
.ta-scroll-hint-line {
  width: 1px;
  height: 36px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.ta-scroll-hint-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: currentColor;
  animation: ta-scroll-line 2.2s cubic-bezier(.5,0,.2,1) infinite;
}
@keyframes ta-scroll-line {
  0%   { top: -100%; }
  100% { top: 200%; }
}
@media (max-width: 767px) {
  .ta-scroll-hint { bottom: 1rem; font-size: .6rem; gap: .45rem; }
  .ta-scroll-hint-line { height: 28px; }
}

/* ============================================
   POLISH — B pack (brand-imzalı)
   ============================================ */

/* B5 — Number counter base */
.ta-counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* B6 — Belt stripe draw-in (uses .ta-in signal from reveal) */
.ta-belt .ta-belt-stripe {
  width: 0%;
  transition: width 1.05s cubic-bezier(.5,0,.2,1);
  transition-delay: calc(var(--ta-delay, 0ms) + 250ms);
}
.ta-belt.ta-in .ta-belt-stripe { width: 100%; }

/* B7 — Stars pop-in */
.ta-testimonial-stars span {
  display: inline-block;
  opacity: 0;
  transform: scale(.4);
  transition: opacity .3s ease, transform .45s cubic-bezier(.5,1.7,.5,1);
}
.ta-testimonial.ta-in .ta-testimonial-stars span { opacity: 1; transform: scale(1); }
.ta-testimonial.ta-in .ta-testimonial-stars span:nth-child(1) { transition-delay: calc(var(--ta-delay, 0ms) + 350ms); }
.ta-testimonial.ta-in .ta-testimonial-stars span:nth-child(2) { transition-delay: calc(var(--ta-delay, 0ms) + 430ms); }
.ta-testimonial.ta-in .ta-testimonial-stars span:nth-child(3) { transition-delay: calc(var(--ta-delay, 0ms) + 510ms); }
.ta-testimonial.ta-in .ta-testimonial-stars span:nth-child(4) { transition-delay: calc(var(--ta-delay, 0ms) + 590ms); }
.ta-testimonial.ta-in .ta-testimonial-stars span:nth-child(5) { transition-delay: calc(var(--ta-delay, 0ms) + 670ms); }

/* B9 — Hinomaru breath (Tarifs featured + Trial banner sun) */
.ta-pricing-featured::before {
  animation: ta-hinomaru-breath 5s ease-in-out infinite;
}
@keyframes ta-hinomaru-breath {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%      { transform: translateY(-50%) scale(1.04); }
}
.ta-trial-sun { animation: ta-sun-glow 3.5s ease-in-out infinite; }
@keyframes ta-sun-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(255,0,0,0.4); transform: scale(1); }
  50%      { box-shadow: 0 0 48px rgba(255,0,0,0.7); transform: scale(1.06); }
}

/* ============================================
   C10 — DISCIPLINES HORIZONTAL SCROLL
   Desktop: scroll-jack pin + translate
   Mobile: native scroll-snap swipe carousel
   ============================================ */
.ta-h-scroll {
  position: relative;
  margin-top: 3rem;
}
/* Higher specificity to beat .ta-disciplines-grid display:grid which is later in source */
.ta-h-scroll .ta-h-scroll-track {
  display: flex !important;
  grid-template-columns: none !important;
}

/* === MOBILE / TABLET — scroll-snap swipe carousel === */
@media (max-width: 991px) {
  .ta-h-scroll {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }
  .ta-h-scroll .ta-h-scroll-track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: .5rem 1.5rem 1.5rem;
    gap: 1rem;
    scrollbar-width: none;
  }
  .ta-h-scroll .ta-h-scroll-track::-webkit-scrollbar { display: none; }
  .ta-h-scroll .ta-h-scroll-track .ta-discipline-card {
    flex: 0 0 80%;
    aspect-ratio: 3/4;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .ta-h-scroll-hint {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
    font-family: Aminute, Arial, sans-serif;
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ta-muted);
    opacity: .8;
  }
  .ta-h-scroll-hint::before { content: "←"; }
  .ta-h-scroll-hint::after  { content: "→"; }
}

/* === DESKTOP — sticky pin + horizontal translate === */
@media (min-width: 992px) {
  .ta-h-scroll {
    /* full-bleed: break out of constrained max-width parent */
    position: relative;
    width: 100vw;
    left: calc(50% - 50vw);
    height: 280vh;
    margin-top: 4rem;
  }
  .ta-h-scroll-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .ta-h-scroll .ta-h-scroll-track {
    --side-pad: calc((100vw - min(72vw, 62rem)) / 2);
    will-change: transform;
    gap: 2rem;
    padding-left: var(--side-pad);
    padding-right: var(--side-pad);
    transform: translate3d(var(--h-x, 0px), 0, 0);
  }
  .ta-h-scroll .ta-h-scroll-track .ta-discipline-card {
    flex: 0 0 min(72vw, 62rem) !important;
    width: min(72vw, 62rem);
    aspect-ratio: auto;
    height: 78vh;
    max-width: none;
  }
  .ta-h-scroll .ta-discipline-card-title {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
  }
  .ta-h-scroll .ta-discipline-card-desc {
    font-size: 1rem;
    max-width: 36rem;
  }
  .ta-h-scroll-hint { display: none; }
}

/* Hamburger button — replaces lottie */
.ta-burger {
  display: none;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}
.ta-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  margin: 5px auto;
  transition: transform .35s cubic-bezier(.7,0,.3,1), opacity .25s ease;
  transform-origin: center;
}
.nav-bar.nav-mobile-open .ta-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #000;
}
.nav-bar.nav-mobile-open .ta-burger span:nth-child(2) { opacity: 0; }
.nav-bar.nav-mobile-open .ta-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #000;
}

/* Hide the original Webflow lottie menu */
.menu-parent { display: none !important; }

/* ====== TABLET ====== */
@media (max-width: 991px) {
  .nav-bar { height: 5.2rem !important; padding: 0 1.75rem !important; }
  .nav-bar.scrolled { height: 3.6rem !important; padding: 0 1.5rem !important; }
  .logo { height: 3rem !important; }
  .nav-bar.scrolled .logo { height: 2.2rem !important; }
  .nav-links { grid-column-gap: 1.6rem !important; }
  .link-2 { font-size: .8rem !important; }
  .nav-bar.scrolled .link-2 { font-size: .72rem !important; }
  .primary-button.nav.ta-trial-cta-nav { padding: .85rem 1.3rem .85rem 2rem !important; font-size: .76rem !important; }
}

/* ====== MOBILE ====== */
@media (max-width: 767px) {
  /* Uniform compact navbar — default and scrolled are identical so there's no jump on first scroll */
  .nav-bar { height: 3.4rem !important; padding: 0 1rem !important; }
  .nav-bar.scrolled { height: 3.4rem !important; padding: 0 1rem !important; }
  .logo { height: 2.1rem !important; }
  .nav-bar.scrolled .logo { height: 2.1rem !important; }

  /* When drawer open: hide the navbar entirely (transparent + hide hamburger),
     because the close button is now INSIDE the drawer card */
  .nav-bar.nav-mobile-open {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom-color: transparent !important;
  }
  .nav-bar.nav-mobile-open .ta-burger { display: none !important; }
  .nav-bar.nav-mobile-open .nav-logo { opacity: 0; pointer-events: none; }

  .ta-burger { display: block; }

  /* Mobile drawer menu */
  .nav-links {
    flex-direction: column !important;
    background: var(--ta-cream) !important;
    align-items: flex-start !important;
    padding: 4.5rem 2rem 2rem !important;
    grid-column-gap: 0 !important;
    grid-row-gap: 1.5rem !important;
    width: 92% !important;
    max-width: 420px;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform .45s cubic-bezier(.7,0,.3,1) !important;
    box-shadow: 0 0 60px rgba(0,0,0,0.12);
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    overflow-y: auto;
  }
  .nav-bar.nav-mobile-open .nav-links { transform: translateX(0) !important; }

  .nav-links .btn-text { width: 100%; padding: .25rem 0 !important; }
  .nav-links .link-2 {
    font-size: 1.5rem !important;
    font-family: Montserrat, Arial, sans-serif !important;
    letter-spacing: .03em !important;
    text-transform: none !important;
    font-weight: 400 !important;
  }
  .nav-links .border-line-text { display: none; }

  /* Show mobile CTA inside drawer */
  .nav-links::after {
    content: "";
    flex: 1;
  }
  .ta-mobile-cta {
    margin-top: 1.5rem;
    background: var(--ta-red);
    color: #fff;
    padding: 1rem 1.5rem;
    font-family: Aminute, Arial, sans-serif;
    font-size: .8rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: background .25s, color .25s;
  }
  .ta-mobile-cta:hover { background: #000; }
  .nav-bar.nav-mobile-open .ta-mobile-cta { display: block !important; }

  /* Hide desktop CTA on mobile */
  .nav-bar > .flex-c .primary-button.nav.ta-trial-cta-nav { display: none !important; }

  /* Backdrop overlay when menu open */
  .nav-bar::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav-bar.nav-mobile-open::after { opacity: 1; visibility: visible; }

  /* Lock body scroll when menu open */
  body.nav-locked { overflow: hidden; }
}

/* ============================================
   INFINITY STRIP — continuous marquee
   ============================================ */
.infinity-image-main-wrapper {
  animation: ta-marquee 50s linear infinite !important;
  width: max-content !important;
  margin-top: 0 !important;
  padding: 4rem 0;
  will-change: transform;
}
.infinity-image-main-wrapper:hover { animation-play-state: paused; }
@keyframes ta-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.infinity-image {
  border-radius: 0 !important;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter .4s ease;
}
.infinity-image:hover { filter: none; }

/* ============================================
   DISCIPLINES — modern image cards + programs grid
   ============================================ */
.ta-disciplines-wrap {
  max-width: 87rem;
  margin: 0 auto;
  padding: 6rem 5rem 5rem;
}
.ta-disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.ta-discipline-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #000;
  transition: transform .4s ease;
}
.ta-discipline-card:hover { transform: translateY(-6px); }
.ta-discipline-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.45) contrast(1.05) brightness(0.85);
  transition: filter .5s ease, transform .8s ease;
}
.ta-discipline-card:hover img {
  filter: grayscale(0) contrast(1.1) brightness(0.95);
  transform: scale(1.05);
}
.ta-discipline-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}
.ta-discipline-card-num {
  position: absolute; top: 1.5rem; left: 1.75rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ta-discipline-card-num::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ta-red);
}
.ta-discipline-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.75rem;
  z-index: 2;
  color: #fff;
}
.ta-discipline-card-title {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  margin: 0 0 .5rem;
  line-height: 1;
  color: #fff;
}
.ta-discipline-card-desc {
  font-family: Aminute, Arial, sans-serif;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity .35s ease, max-height .35s ease, margin-top .35s ease;
}
.ta-discipline-card:hover .ta-discipline-card-desc {
  opacity: .9;
  max-height: 200px;
}
/* Mobile/touch: no hover — show desc by default */
@media (hover: none), (max-width: 991px) {
  .ta-discipline-card-desc {
    opacity: .92;
    max-height: 240px;
  }
  .ta-discipline-card img {
    filter: grayscale(0.1) contrast(1.05) brightness(0.78);
  }
}

.ta-programs-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: end;
  margin: 5rem 0 2.5rem;
}
.ta-programs-head .ta-eyebrow { margin-bottom: .75rem; }
.ta-programs-head h3 {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 0;
  line-height: 1;
  letter-spacing: .02em;
}
.ta-programs-head p {
  font-family: Aminute, Arial, sans-serif;
  font-size: .95rem;
  color: var(--ta-muted);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 767px) {
  .ta-programs-head { grid-template-columns: 1fr; gap: 1.25rem; align-items: start; margin: 3.5rem 0 2rem; }
}

.ta-programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ta-program-card {
  border: 1px solid var(--ta-line);
  background: #fff;
  padding: 1.75rem 1.5rem 1.4rem;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-height: 18rem;
  overflow: hidden;
}
.ta-program-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--ta-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.5,0,.2,1);
}
.ta-program-card:hover {
  border-color: #000;
  transform: translateY(-5px);
  box-shadow: 0 25px 50px -25px rgba(0,0,0,0.18);
}
.ta-program-card:hover::before { transform: scaleX(1); }

.ta-program-card-num {
  position: absolute;
  top: 1.1rem;
  right: 1.4rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: 2.6rem;
  color: rgba(255, 0, 0, 0.16);
  line-height: 1;
  letter-spacing: .02em;
  transition: color .4s ease, transform .4s ease;
  pointer-events: none;
}
.ta-program-card:hover .ta-program-card-num {
  color: var(--ta-red);
  transform: scale(1.05);
}

.ta-program-card-name {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: 1.35rem;
  margin: 1.5rem 0 .25rem;
  line-height: 1.1;
  letter-spacing: .01em;
  padding-right: 2.5rem;
}
.ta-program-card-desc {
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  color: var(--ta-muted);
  line-height: 1.5;
  margin: 0 0 .5rem;
}

.ta-program-features {
  list-style: none;
  padding: 0;
  margin: .25rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.ta-program-features li {
  font-family: Aminute, Arial, sans-serif;
  font-size: .8rem;
  color: var(--ta-ink);
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.45;
}
.ta-program-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ta-red);
  flex-shrink: 0;
  margin-top: .55em;
}

.ta-program-link {
  margin-top: auto;
  font-family: Aminute, Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ta-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--ta-black);
  padding-bottom: .3rem;
  align-self: flex-start;
  transition: color .25s, border-color .25s, gap .25s;
}
.ta-program-link:hover {
  color: var(--ta-red);
  border-color: var(--ta-red);
  gap: .85rem;
}
@media (max-width: 991px) {
  .ta-disciplines-wrap { padding: 4rem 2rem 3rem; }
  .ta-disciplines-grid { grid-template-columns: 1fr; }
  .ta-programs-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ta-programs-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS — clean grid
   ============================================ */
.ta-testimonials {
  background: var(--ta-cream);
  padding: 6rem 5rem;
}
.ta-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 87rem;
  margin-left: auto;
  margin-right: auto;
}
.ta-testimonial {
  background: #fff;
  border: 1px solid var(--ta-line);
  padding: 2.1rem 1.85rem 1.85rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .45s cubic-bezier(.5,0,.2,1), border-color .35s ease, box-shadow .4s ease;
  overflow: hidden;
}
.ta-testimonial::before {
  /* decorative red sun bottom-right (Hinomaru hint) */
  content: "";
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,0,0,0.10) 0%, rgba(255,0,0,0) 72%);
  pointer-events: none;
  transition: transform .5s ease, opacity .35s ease;
}
.ta-testimonial:hover {
  transform: translateY(-6px) rotate(-.4deg);
  border-color: #000;
  box-shadow: 0 32px 60px -25px rgba(0,0,0,0.18);
}
.ta-testimonial:hover::before {
  transform: scale(1.15);
}
.ta-testimonial-quote {
  width: 38px;
  height: 38px;
  color: var(--ta-red);
  margin-bottom: -.25rem;
  position: relative;
  z-index: 1;
}
.ta-testimonial-quote svg { width: 100%; height: 100%; display: block; }
.ta-testimonial-stars {
  display: flex;
  gap: .12rem;
  color: var(--ta-red);
  font-size: .9rem;
  letter-spacing: .12rem;
  position: relative;
  z-index: 1;
}
.ta-testimonial-text {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ta-ink);
  flex: 1;
  margin: 0;
  position: relative;
  z-index: 1;
}
.ta-testimonial-author {
  display: flex;
  align-items: center;
  gap: .95rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ta-line);
  position: relative;
  z-index: 1;
}
.ta-testimonial-avatar {
  width: 46px; height: 46px;
  background: var(--ta-cream);
  display: flex; align-items: center; justify-content: center;
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--ta-black);
  border: 1px solid var(--ta-black);
  flex-shrink: 0;
  position: relative;
}
.ta-testimonial-avatar::after {
  /* tiny Hinomaru dot — Japanese signature mark */
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ta-red);
  box-shadow: 0 0 0 2px #fff;
}
.ta-testimonial-meta {
  display: flex; flex-direction: column;
}
.ta-testimonial-name {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1.05rem;
  color: var(--ta-black);
  line-height: 1.2;
}
.ta-testimonial-role {
  font-family: Aminute, Arial, sans-serif;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ta-muted);
  margin-top: .15rem;
}
@media (max-width: 991px) {
  .ta-testimonials { padding: 4rem 1.5rem; }
  /* Convert grid to horizontal swipe carousel */
  .ta-testimonials-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: .5rem 1.5rem 1.5rem;
    margin: 2.5rem -1.5rem 0;
    scrollbar-width: none;
  }
  .ta-testimonials-grid::-webkit-scrollbar { display: none; }
  .ta-testimonial {
    flex: 0 0 82%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  /* Disable hover rotate on touch — looks weird on snap */
  .ta-testimonial:hover { transform: none; }
  .ta-testimonials-hint {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1.25rem;
    font-family: Aminute, Arial, sans-serif;
    font-size: .65rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ta-muted);
    opacity: .8;
  }
  .ta-testimonials-hint::before { content: "←"; }
  .ta-testimonials-hint::after  { content: "→"; }
}
@media (max-width: 600px) {
  .ta-testimonial { flex: 0 0 88%; }
}
@media (min-width: 992px) {
  .ta-testimonials-hint { display: none; }
}

/* ============================================
   LOCATION CARDS — modern redesign
   ============================================ */
.ta-locations-section {
  background: #fff;
  padding: 6rem 5rem;
}
@media (max-width: 991px) {
  .ta-locations-section { padding: 4rem 1.5rem; }
}
@media (max-width: 560px) {
  .ta-locations-section { padding: 3rem 1rem; }
}
.ta-locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Ville Saint-Laurent runs 7 sessions a week, Sainte-Rose one — stretching
     them to a common height would leave the short cards mostly empty. */
  align-items: start;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 87rem;
  margin-left: auto;
  margin-right: auto;
}
.ta-location-card {
  background: #fff;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
}
.ta-location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
}
.ta-location-map {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ta-location-map img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.ta-location-card:hover .ta-location-map img { transform: scale(1.05); }
.ta-location-map-pin {
  position: absolute;
  top: 1rem; left: 1rem;
  background: #fff;
  padding: .4rem .75rem;
  font-family: Aminute, Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  gap: .5rem;
  z-index: 1;
  color: #000;
}
.ta-location-map-pin::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ta-red);
}
.ta-location-body {
  padding: 1.75rem 1.75rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ta-location-name {
  font-family: Shikamaru, Aminute, Arial, sans-serif;
  font-size: 1.7rem;
  margin: 0 0 .25rem;
  line-height: 1.05;
  color: var(--ta-black);
}
.ta-location-address {
  font-family: Aminute, Arial, sans-serif;
  font-size: .85rem;
  color: var(--ta-muted);
  margin: 0 0 1.5rem;
  letter-spacing: .03em;
}
.ta-location-schedule {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.75rem;
  flex: 1;
}
/* Flex rather than a 3-column grid: a long tag ("Filles & femmes") would
   overflow a third of the card's width, so let it drop to its own line
   instead of squeezing the time. */
.ta-location-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
  padding: .85rem 0;
  border-top: 1px solid var(--ta-line);
}
.ta-location-slot .ta-location-day { flex: 0 0 4.75rem; }
.ta-location-slot .ta-location-tag { margin-left: auto; }
.ta-location-slot:last-child { border-bottom: 1px solid var(--ta-line); }
.ta-location-day {
  font-family: Aminute, Arial, sans-serif;
  font-size: 1rem;
  color: var(--ta-black);
  letter-spacing: .03em;
}
.ta-location-time {
  font-family: Aminute, Arial, sans-serif;
  font-size: .95rem;
  color: var(--ta-ink);
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.ta-location-tag {
  font-family: Aminute, Arial, sans-serif;
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .3rem .65rem;
  border: 1px solid var(--ta-line);
  background: #fff;
  white-space: nowrap;
}
.ta-location-tag.kids { background: var(--ta-red); color: #fff; border-color: var(--ta-red); }
.ta-location-tag.adult { background: #000; color: #fff; border-color: #000; }
.ta-location-cta {
  background: #000;
  color: #fff;
  padding: 1.1rem;
  text-align: center;
  text-decoration: none;
  font-family: Aminute, Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: background .3s, color .3s;
}
.ta-location-cta:hover { background: var(--ta-red); }

@media (max-width: 1199px) {
  .ta-location-body { padding: 1.5rem 1.5rem 0; }
  .ta-location-slot {
    grid-template-columns: minmax(4.4rem, auto) 1fr auto;
    gap: .75rem;
  }
  .ta-location-tag { letter-spacing: .15em; padding: .28rem .55rem; }
}

@media (max-width: 991px) {
  .ta-locations-grid { grid-template-columns: 1fr; }
}

/* Stack day above time on tight phones, tag spans both rows on the right */
@media (max-width: 560px) {
  .ta-location-body { padding: 1.4rem 1.4rem 0; }
  .ta-location-name { font-size: 1.5rem; }
  .ta-location-slot {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "day  tag"
      "time tag";
    column-gap: .75rem;
    row-gap: .1rem;
    padding: .8rem 0;
  }
  .ta-location-day  { grid-area: day; font-size: .95rem; }
  .ta-location-time { grid-area: time; font-size: .85rem; }
  .ta-location-tag {
    grid-area: tag;
    align-self: center;
    font-size: .6rem;
    padding: .35rem .6rem;
    letter-spacing: .15em;
  }
  .ta-location-cta { padding: .95rem; font-size: .72rem; letter-spacing: .2em; }
}

