/* ==========================================================================
   Tang Physio — feuille de styles principale
   Palette : noir / charbon, rouge, blanc
   ========================================================================== */

:root {
  --black: #0b0b0b;
  --charcoal: #141414;
  --charcoal-2: #1c1c1c;
  --line-dark: #2a2a2a;
  --red: #c8202a;
  --red-bright: #e0303a;
  --white: #ffffff;
  --paper: #eeece8;
  --paper-2: #e4e1dc;
  --ink: #111111;
  --muted-dark: #a9a9a9;
  --muted-light: #6b6b6b;
  --line-light: #cfcbc4;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-cjk: "Noto Serif SC", "Songti SC", serif;
  --container: 1200px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.cjk { font-family: var(--font-cjk); font-weight: 500; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typographie ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.section-title {
  margin: 0 0 22px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.text-red { color: var(--red); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 34px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--red); transform: translateY(-1px); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn--dark:hover { background: var(--red); border-color: var(--red); }

.btn--solid { background: var(--red); }
.btn--solid:hover { background: var(--red-bright); border-color: var(--red-bright); }

.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.btn[disabled]:hover { background: transparent; }

/* ---------- Logo ---------- */

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo__mark { height: 54px; width: auto; }
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .3em;
}
.logo__sub {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .62em;
}
.logo__cjk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-left: 14px;
  border-left: 1.5px solid var(--red);
}
.logo__cjk .cjk { font-size: 20px; line-height: 1; }
.seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 3px 3px;
  background: var(--red);
  color: var(--paper);
  font-family: var(--font-cjk);
  font-size: 10px;
  line-height: 1.1;
  border-radius: 2px;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 11, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 92px;
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #e6e6e6;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--white); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px; height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Bouton de langue FR | EN ---------- */

.lang-switch {
  display: inline-flex;
  flex: none;
  padding: 3px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
}
.lang-switch button {
  padding: 6px 10px;
  border: none;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--muted-dark);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-switch button:hover { color: var(--white); }
.lang-switch button.is-active { background: var(--red); color: var(--white); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0 0 0 30%;
  background: url("../assets/img/hero-athlete.jpg") center 30% / cover no-repeat;
  filter: saturate(.9);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(11,11,11,.85) 18%, rgba(11,11,11,.15) 50%, rgba(11,11,11,.25) 80%, var(--black) 100%),
    linear-gradient(0deg, rgba(11,11,11,.7) 0%, transparent 30%);
}
.hero .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.hero__content { max-width: 560px; }
.hero__eyebrow { line-height: 2; }
.hero__title {
  margin: 34px 0 28px;
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__lead {
  max-width: 480px;
  margin: 0 0 40px;
  font-size: 15px;
  color: #dcdcdc;
}

.hero__side {
  position: absolute;
  right: 32px;
  bottom: 70px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  gap: 22px;
}
.hero__values {
  margin: 0;
  padding: 26px 0 0 18px;
  list-style: none;
  border-left: 1px solid rgba(255,255,255,.25);
  position: relative;
}
.hero__values::before {
  content: "";
  position: absolute;
  top: 0; left: 18px;
  width: 26px; height: 2px;
  background: var(--red);
}
.hero__values li {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 2.1;
  color: #d9d9d9;
}
.hero__vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__vertical .cjk { font-size: 24px; line-height: 1.2; writing-mode: vertical-rl; }

.hero__calligraphy {
  position: absolute;
  top: 40px;
  right: 6%;
  writing-mode: vertical-rl;
  font-family: var(--font-cjk);
  font-size: 54px;
  color: rgba(255,255,255,.07);
  letter-spacing: .1em;
  pointer-events: none;
}

/* ---------- Sections claires ---------- */

.section { padding: 90px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--dark { background: var(--charcoal); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: center;
}
.services-intro p { color: #444; max-width: 380px; margin: 0 0 32px; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background .25s;
}
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-last-child(-n+3) { border-bottom: none; }
.service-card:hover { background: var(--paper-2); }
.service-card svg { width: 42px; height: 42px; margin: 0 auto 16px; }
.service-card h3 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.service-card p { margin: 0; font-size: 12.5px; color: var(--muted-light); line-height: 1.55; }

.icon { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .accent { stroke: var(--red); }
.icon .accent-fill { fill: var(--red); stroke: none; }

/* À propos */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.about__media { background: url("../assets/img/clinique.jpg") center / cover no-repeat; min-height: 320px; }
.about__body {
  position: relative;
  padding: 70px 120px 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about__body p { color: #dedede; font-size: 15px; max-width: 520px; margin: 0 0 16px; }
.about__body .btn { align-self: flex-start; margin-top: 18px; }
.about__brush {
  position: absolute;
  right: -40px; top: -20px; bottom: -20px;
  width: 170px;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.0) 0 6px, rgba(255,255,255,.05) 6px 9px),
    linear-gradient(100deg, transparent 10%, rgba(120,120,120,.35) 40%, rgba(60,60,60,.5) 70%, transparent 95%);
  transform: skewX(-12deg);
  pointer-events: none;
}
.about__vertical {
  position: absolute;
  right: 34px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.about__vertical .cjk { font-size: 24px; writing-mode: vertical-rl; }

/* Équipe */
.team {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: center;
}
.team__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #222 0%, #0d0d0d 100%);
  border: 1px solid var(--line-dark);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.team__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,11,11,.55) 0%, transparent 35%);
  pointer-events: none;
}
.team__portrait::after {
  content: "";
  position: absolute;
  left: 24px; bottom: 24px;
  width: 40px; height: 2px;
  background: var(--red);
}
.team__name {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.team__role {
  margin: 8px 0 26px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}
.team__bio p { color: #d6d6d6; max-width: 620px; margin: 0 0 16px; }
.team__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.team__tags li {
  padding: 8px 16px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e0e0e0;
}

/* Pourquoi nous */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
}
.why-card {
  padding: 10px 26px;
  text-align: center;
  border-right: 1px solid var(--line-light);
}
.why-card:last-child { border-right: none; }
.why-card svg { width: 52px; height: 52px; margin: 0 auto 22px; }
.why-card h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.why-card p { margin: 0; font-size: 13px; color: var(--muted-light); }

/* FAQ */
.faq { max-width: 860px; margin: 40px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line-dark);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 300;
  color: var(--red);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: #cfcfcf; font-size: 14px; max-width: 760px; }
.faq-head { text-align: center; }
.faq-head .eyebrow { justify-content: center; }

/* CTA / Contact */
.cta {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr 1px auto;
  align-items: center;
  gap: 50px;
  background: var(--black);
  overflow: hidden;
}
.cta__media {
  align-self: stretch;
  min-height: 200px;
  background: url("../assets/img/poing.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
          mask-image: linear-gradient(90deg, #000 60%, transparent);
}
.cta__body { padding: 40px 0; }
.cta__body h2 { margin: 0 0 6px; font-size: 22px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.cta__body p { margin: 0 0 22px; color: #d0d0d0; font-size: 14px; }
.cta__divider { align-self: stretch; margin: 34px 0; background: var(--line-dark); }
.contact-list {
  margin: 0;
  padding: 40px 48px 40px 0;
  list-style: none;
  display: grid;
  gap: 16px;
  font-size: 13px;
}
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { width: 18px; height: 18px; flex: none; stroke: var(--white); fill: none; stroke-width: 1.6; }
.contact-list a:hover { color: var(--red-bright); }

.socials { display: flex; gap: 14px; }
.socials a {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: border-color .2s, background .2s;
}
.socials a:hover { border-color: var(--red); background: var(--red); }
.socials svg { width: 16px; height: 16px; stroke: var(--white); fill: none; stroke-width: 1.6; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line-dark);
  padding: 30px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .logo__mark { height: 44px; }
.site-footer .logo__name { font-size: 17px; }
.site-footer .logo__sub { font-size: 9px; }
.footer-nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #cfcfcf;
}
.footer-nav a:hover { color: var(--red-bright); }
.footer-motto {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid var(--line-dark);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #cfcfcf;
}
.footer-motto::after { content: ""; width: 20px; height: 2px; background: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  font-size: 11px;
  color: var(--muted-dark);
}

/* ---------- Tang Performance (boutique) ---------- */

.performance {
  position: relative;
  padding: 90px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(200,32,42,.12), transparent 40%),
    var(--black);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  overflow: hidden;
}
.performance__head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 50px;
}
.performance__logo { width: 100%; max-width: 420px; height: auto; margin-bottom: 30px; }
.performance__banner {
  display: block;
  margin: 0 0 50px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
}
.performance__banner img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.performance__banner:hover img { transform: scale(1.015); }
.performance__head p { color: #d6d6d6; margin: 0 0 16px; max-width: 520px; }
.pillars {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--line-dark);
}
.pillars li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line-dark);
}
.pillars li:last-child { border-bottom: none; }
.pillars__num {
  grid-row: span 2;
  font-size: 26px;
  font-weight: 300;
  color: var(--red);
  line-height: 1.1;
}
.pillars strong {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.pillars span:last-child { font-size: 13px; color: var(--muted-dark); }
.performance__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.performance__foot p { margin: 0; font-size: 13px; color: var(--muted-dark); }

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.products[hidden] { display: none; }
.products__empty {
  grid-column: 1 / -1;
  padding: 60px 24px;
  border: 1px dashed var(--line-dark);
  text-align: center;
  color: var(--muted-dark);
  font-size: 14px;
}
.products__empty p { margin: 0; }
.products__empty-title {
  margin-bottom: 8px !important;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--line-dark);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.product:hover { border-color: var(--red); transform: translateY(-3px); }
.product__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(200,32,42,.55) 39%, transparent 41%),
    linear-gradient(160deg, #1f1f1f, #121212);
  overflow: hidden;
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__icon {
  width: 46%;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product__icon .accent { stroke: var(--red-bright); }
.product__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 10px;
  background: rgba(11,11,11,.85);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #e6e6e6;
}
.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
}
.product__cat {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.product__name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product__desc { margin: 0 0 14px; font-size: 13px; color: #bdbdbd; line-height: 1.55; }
.product__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.product__uses li {
  padding: 3px 9px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  color: #cfcfcf;
}
.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}
.product__price { font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.product__add {
  padding: 9px 16px;
  border: 1.5px solid var(--red);
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.product__add:hover { background: var(--red-bright); border-color: var(--red-bright); }
.product__cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
}
.product__cta:hover { color: var(--red-bright); }

/* ---------- Animations d'apparition ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1280px) {
  .header-cta { padding: 13px 22px; letter-spacing: .14em; }
  .nav { gap: 24px; }
}

@media (max-width: 1160px) {
  .header-cta { display: none; }
}

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .about__body { padding: 60px 90px 60px 40px; }
  .cta { grid-template-columns: 200px 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .cta__divider { display: none; }
  .contact-list { grid-column: 1 / -1; padding: 0 32px 40px; grid-template-columns: repeat(2, 1fr); }
}

/* Le menu compact doit apparaître avant que le logo + la nav complète +
   FR|EN ne manquent de place (ça arrive dès ~950px) — seuil volontairement
   plus large que celui des autres réajustements de grille ci-dessous. */
@media (max-width: 980px) {
  .nav-toggle { display: block; order: 3; }
  .lang-switch { margin-left: auto; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 32px 24px;
    background: var(--black);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
}

@media (max-width: 860px) {
  .hero { min-height: 600px; align-items: flex-end; }
  .hero__bg { inset: 0; }
  .hero__bg::after { background: linear-gradient(0deg, var(--black) 10%, rgba(11,11,11,.55) 55%, rgba(11,11,11,.35) 100%); }
  .hero__side, .hero__calligraphy { display: none; }

  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(n) { border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-last-child(-n+2) { border-bottom: none; }

  .about { grid-template-columns: 1fr; }
  .about__body { padding: 50px 32px 60px; }
  .about__brush, .about__vertical { display: none; }

  .team { grid-template-columns: 1fr; gap: 40px; }
  .team__portrait { max-width: 340px; }

  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .why-card:nth-child(2n) { border-right: none; }

  .cta { grid-template-columns: 1fr; gap: 0; }
  .performance__head { grid-template-columns: 1fr; gap: 36px; }
  .cta__media { min-height: 160px; -webkit-mask-image: linear-gradient(0deg, transparent, #000 60%); mask-image: linear-gradient(0deg, transparent, #000 60%); }
  .cta__body { padding: 20px 32px; }
  .contact-list { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-motto { padding-left: 0; border-left: none; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }
  .site-header .container { height: 76px; }
  .logo__mark { height: 44px; }
  .logo__name { font-size: 18px; }
  .logo__sub { font-size: 9px; }
  .logo__cjk { display: none; }
  .section { padding: 64px 0; }
  .service-cards { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { border-right: none; border-bottom: 1px solid var(--line-light); }
  .service-card:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .performance { padding: 64px 0; }
  .why-card { border-right: none; }
  .hero__title { letter-spacing: .08em; }
  .btn { padding: 14px 24px; }
  .about__body, .cta__body { padding-left: 16px; padding-right: 16px; }
  .contact-list { padding: 0 16px 40px; }
  .nav { padding: 10px 16px 24px; }
  .footer-bottom { flex-direction: column; gap: 14px; align-items: flex-start; }
}
