/* ══════════════════════════════════════════════════════════════
   ClairObscur Studio — Tarifs v3
   Dark-luxury aesthetic. Sidebar nav + hue-tinted card visuals.
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --tr-bg:         #07101a;
  --tr-surf:       #0c1929;
  --tr-surf-hi:    #112035;
  --tr-border:     rgba(255,255,255,.06);
  --tr-gold:       #E6CD95;
  --tr-gold-dim:   rgba(230,205,149,.15);
  --tr-gold-line:  rgba(230,205,149,.25);
  --tr-text:       #dde6ef;
  --tr-muted:      #5e7a93;
  --tr-muted-light:#8dafc8;
  --tr-green:      #4cba7a;
  --tr-green-dim:  rgba(76,186,122,.15);
  --tr-radius:     14px;
  --tr-card-r:     12px;
  --tr-gap:        1.25rem;
  --tr-sidebar:    210px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --tr-bg:         #eeebe5;
    --tr-surf:       #f6f3ee;
    --tr-surf-hi:    #ffffff;
    --tr-border:     rgba(0,0,0,.07);
    --tr-gold:       #9a6c1e;
    --tr-gold-dim:   rgba(154,108,30,.10);
    --tr-gold-line:  rgba(154,108,30,.20);
    --tr-text:       #1a2a38;
    --tr-muted:      #6d8aa0;
    --tr-muted-light:#4a6478;
    --tr-green:      #1d8a4e;
    --tr-green-dim:  rgba(29,138,78,.12);
  }
}
:root[data-theme="light"] {
  --tr-bg:         #eeebe5;
  --tr-surf:       #f6f3ee;
  --tr-surf-hi:    #ffffff;
  --tr-border:     rgba(0,0,0,.07);
  --tr-gold:       #9a6c1e;
  --tr-gold-dim:   rgba(154,108,30,.10);
  --tr-gold-line:  rgba(154,108,30,.20);
  --tr-text:       #1a2a38;
  --tr-muted:      #6d8aa0;
  --tr-muted-light:#4a6478;
  --tr-green:      #1d8a4e;
  --tr-green-dim:  rgba(29,138,78,.12);
}
:root[data-theme="dark"] {
  --tr-bg:         #07101a;
  --tr-surf:       #0c1929;
  --tr-surf-hi:    #112035;
  --tr-border:     rgba(255,255,255,.06);
  --tr-gold:       #E6CD95;
  --tr-gold-dim:   rgba(230,205,149,.15);
  --tr-gold-line:  rgba(230,205,149,.25);
  --tr-text:       #dde6ef;
  --tr-muted:      #5e7a93;
  --tr-muted-light:#8dafc8;
  --tr-green:      #4cba7a;
  --tr-green-dim:  rgba(76,186,122,.15);
}

/* ── BASE ── */
.tarifs-page { background: var(--tr-bg); color: var(--tr-text); }

/* ══ HERO ══════════════════════════════════════════════════ */
.tr-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 3.5rem;
  background:
    radial-gradient(ellipse 55% 70% at 80% 50%, hsl(35,55%,18%) 0%, transparent 60%),
    radial-gradient(ellipse 80% 100% at 50% 0%, hsl(210,45%,10%) 0%, var(--tr-bg) 70%);
}
:root[data-theme="light"] .tr-hero {
  background:
    radial-gradient(ellipse 55% 70% at 80% 50%, hsl(35,65%,85%) 0%, transparent 60%),
    radial-gradient(ellipse 80% 100% at 50% 0%, hsl(210,20%,94%) 0%, var(--tr-bg) 70%);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tr-hero {
    background:
      radial-gradient(ellipse 55% 70% at 80% 50%, hsl(35,65%,85%) 0%, transparent 60%),
      radial-gradient(ellipse 80% 100% at 50% 0%, hsl(210,20%,94%) 0%, var(--tr-bg) 70%);
  }
}

.tr-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.tr-hero-eyebrow {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tr-gold);
  opacity: .7;
  margin-bottom: 1.25rem;
}

.tr-hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.04em;
  color: var(--tr-text);
  margin-bottom: 1.25rem;
}
.tr-hero-title em {
  font-style: normal;
  color: var(--tr-gold);
}

.tr-hero-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--tr-muted-light);
  max-width: 480px;
  margin-bottom: 2rem;
}

.tr-hero-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.tr-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border-radius: 100px;
  border: 1.5px solid var(--tr-border);
  background: transparent;
  color: var(--tr-muted-light);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.tr-hero-pill:hover,
.tr-hero-pill.is-active {
  border-color: var(--tr-gold-line);
  color: var(--tr-gold);
  background: var(--tr-gold-dim);
}

/* Aperture rings decoration */
.tr-hero-aperture {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-55%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
  opacity: .12;
}
.ap-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--tr-gold);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.ap-ring--1 { width: 320px; height: 320px; opacity: .8; }
.ap-ring--2 { width: 200px; height: 200px; opacity: .6; }
.ap-ring--3 { width: 100px; height: 100px; opacity: .4; }

/* ══ LAYOUT ═══════════════════════════════════════════════ */
.tarifs-layout {
  display: grid;
  grid-template-columns: var(--tr-sidebar) 1fr;
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  gap: 2.5rem;
  align-items: start;
}

/* ══ SIDEBAR ══════════════════════════════════════════════ */
.tarifs-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tarifs-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.tr-nav-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .7rem .85rem;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--tr-muted);
  transition: background .18s, color .18s;
}
.tr-nav-btn:hover {
  background: var(--tr-surf);
  color: var(--tr-text);
}
.tr-nav-btn.is-active {
  background: var(--tr-gold-dim);
  border-left: 3px solid var(--tr-gold);
}
.tr-nav-icon { font-size: 1.1rem; flex-shrink: 0; }
.tr-nav-txt  { display: flex; flex-direction: column; gap: .1rem; }
.tr-nav-label {
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}
.tr-nav-btn.is-active .tr-nav-label { color: var(--tr-gold); }
.tr-nav-from {
  font-size: .7rem;
  font-weight: 500;
  color: var(--tr-muted);
  line-height: 1.2;
}

.tarifs-sidebar-cta {
  padding-top: .5rem;
  border-top: 1px solid var(--tr-border);
}
.tr-sidebar-devis {
  display: block;
  padding: .65rem .85rem;
  border-radius: 10px;
  background: var(--tr-gold-dim);
  border: 1.5px solid var(--tr-gold-line);
  color: var(--tr-gold);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background .2s, border-color .2s;
}
.tr-sidebar-devis:hover {
  background: rgba(230,205,149,.22);
  border-color: var(--tr-gold);
}

/* ══ PANELS ════════════════════════════════════════════════ */
.tarifs-content { min-width: 0; }
.tr-panel       { display: none; }
.tr-panel.is-active {
  display: block;
  animation: trFadeUp .3s ease both;
}
@keyframes trFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.tr-panel-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--tr-border);
}
.tr-panel-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tr-muted);
  margin-bottom: .4rem;
}
.tr-panel-title {
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--tr-text);
  line-height: 1.1;
}
.tr-panel-from {
  text-align: right;
  flex-shrink: 0;
}
.tr-from-label {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tr-muted);
  margin-bottom: .2rem;
}
.tr-from-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--tr-gold);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}

/* Sub-category labels */
.tr-cat-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tr-muted);
  margin: 1.75rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--tr-border);
}

/* ══ CARDS GRID ════════════════════════════════════════════ */
.tr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--tr-gap);
}
.tr-cards-grid--mariage {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ══ CARD ══════════════════════════════════════════════════ */
.tr-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--tr-card-r);
  border: 1px solid var(--tr-border);
  background: var(--tr-surf);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  position: relative;
}
.tr-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(230,205,149,.14);
  border-color: rgba(230,205,149,.18);
}
.tr-card--feat {
  border-color: rgba(230,205,149,.3);
  box-shadow: 0 8px 30px rgba(0,0,0,.25), 0 0 0 1px rgba(230,205,149,.2);
}

/* Card visual header */
.tr-card-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 1.5rem 1rem 1.1rem;
  background:
    radial-gradient(ellipse at 25% 60%,
      hsl(var(--h), 55%, 20%) 0%,
      hsl(var(--h), 28%, 10%) 55%,
      #05111c 100%
    );
  overflow: hidden;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tr-card-visual {
    background:
      radial-gradient(ellipse at 25% 60%,
        hsl(var(--h), 60%, 78%) 0%,
        hsl(var(--h), 30%, 88%) 55%,
        #eae7e1 100%
      );
  }
}
:root[data-theme="light"] .tr-card-visual {
  background:
    radial-gradient(ellipse at 25% 60%,
      hsl(var(--h), 60%, 78%) 0%,
      hsl(var(--h), 30%, 88%) 55%,
      #eae7e1 100%
    );
}
.tr-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,17,28,.5) 0%, transparent 60%);
}
:root[data-theme="light"] .tr-card-visual::after {
  background: linear-gradient(0deg, rgba(235,232,226,.6) 0%, transparent 60%);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .tr-card-visual::after {
    background: linear-gradient(0deg, rgba(235,232,226,.6) 0%, transparent 60%);
  }
}

.tr-card-badge {
  position: absolute;
  top: .7rem;
  left: .7rem;
  z-index: 3;
  padding: .2rem .6rem;
  border-radius: 100px;
  background: var(--tr-gold);
  color: #07101a;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tr-card-emoji {
  position: relative;
  z-index: 2;
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.5));
}
.tr-card-dur {
  position: relative;
  z-index: 2;
  margin-top: .45rem;
  padding: .15rem .6rem;
  border-radius: 100px;
  background: rgba(230,205,149,.12);
  border: 1px solid rgba(230,205,149,.25);
  color: #E6CD95;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
:root[data-theme="light"] .tr-card-dur {
  background: rgba(154,108,30,.1);
  border-color: rgba(154,108,30,.25);
  color: #7a5010;
}

/* Card body */
.tr-card-bd {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem 0;
}
.tr-card-name {
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--tr-text);
  margin-bottom: .3rem;
}
.tr-card-desc {
  font-size: .78rem;
  color: var(--tr-muted);
  line-height: 1.5;
  margin-bottom: .5rem;
}

/* Coverage pills (mariage) */
.tr-coverage {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  margin-bottom: .6rem;
}
.tr-cover-pill {
  padding: .15rem .55rem;
  border-radius: 100px;
  background: var(--tr-gold-dim);
  border: 1px solid var(--tr-gold-line);
  color: var(--tr-gold);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Price */
.tr-card-price {
  display: flex;
  align-items: baseline;
  gap: .12rem;
  margin-bottom: .75rem;
}
.tr-p-sym {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tr-gold);
  opacity: .75;
}
.tr-p-val {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--tr-gold);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.tr-card-sep {
  height: 1px;
  background: var(--tr-border);
  margin: 0 0 .8rem;
}

/* Inclusions */
.tr-incl-hd {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: var(--tr-muted);
  margin-bottom: .5rem;
}
.tr-incl-list {
  list-style: none;
  padding: 0; margin: 0 0 .75rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.tr-incl-list li {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  font-size: .78rem;
  color: var(--tr-muted-light);
  line-height: 1.4;
}
/* Custom checkmark dot */
.tr-chk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tr-gold-dim);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
}
.tr-chk::before {
  content: '';
  position: absolute;
  left: 4px; top: 6px;
  width: 5px; height: 3px;
  border-left: 1.5px solid var(--tr-gold);
  border-bottom: 1.5px solid var(--tr-gold);
  transform: rotate(-45deg) translate(0, -1px);
}

/* Card CTA */
.tr-card-cta {
  display: block;
  margin: auto 1rem 1rem;
  padding: .6rem 1rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  background: transparent;
  border: 1.5px solid var(--tr-border);
  color: var(--tr-muted-light);
  transition: border-color .2s, color .2s, background .2s;
}
.tr-card-cta:hover {
  border-color: var(--tr-gold-line);
  color: var(--tr-gold);
  background: var(--tr-gold-dim);
}
.tr-card-cta--gold {
  background: var(--tr-gold);
  color: #07101a;
  border-color: var(--tr-gold);
}
.tr-card-cta--gold:hover {
  background: #d4b46a;
  border-color: #d4b46a;
}

/* ══ SHARED SECTION STYLE ═══════════════════════════════════ */
.tr-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--tr-border);
}
.tr-section-hd    { margin-bottom: 1.5rem; }
.tr-eyebrow-label {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--tr-gold);
  opacity: .7;
  margin-bottom: .45rem;
}
.tr-section-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--tr-text);
  margin-bottom: .4rem;
}
.tr-section-body {
  font-size: .85rem;
  color: var(--tr-muted);
  line-height: 1.65;
  max-width: 520px;
}

/* ══ ZONES ══════════════════════════════════════════════════ */
.tr-zones-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
  margin-bottom: 1rem;
}
.tr-zone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: 1.1rem .75rem;
  border-radius: 10px;
  border: 1px solid var(--tr-border);
  background: var(--tr-surf);
  text-align: center;
  transition: border-color .2s;
}
.tr-zone-card:hover { border-color: var(--tr-border); }
.tr-zone--free  { border-color: rgba(76,186,122,.25); background: rgba(76,186,122,.05); }
.tr-zone--devis { border-color: var(--tr-gold-line); background: var(--tr-gold-dim); }

.tr-zone-num {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tr-muted);
}
.tr-zone-dist {
  font-size: .75rem;
  font-weight: 600;
  color: var(--tr-text);
}
.tr-zone-price { font-size: .9rem; font-weight: 700; color: var(--tr-text); }
.tr-zone-free  { color: var(--tr-green); font-size: .85rem; font-weight: 800; }
.tr-zone-devis { color: var(--tr-gold); font-size: .82rem; font-weight: 700; font-style: italic; }

.tr-zones-note {
  font-size: .78rem;
  color: var(--tr-muted);
  line-height: 1.6;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: var(--tr-surf);
  border: 1px solid var(--tr-border);
}

/* ══ SUPPLÉMENTS ════════════════════════════════════════════ */
.tr-suppl-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  border: 1px solid var(--tr-border);
  overflow: hidden;
}
.tr-suppl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.25rem;
  background: var(--tr-surf);
  border-bottom: 1px solid var(--tr-border);
  transition: background .15s;
}
.tr-suppl-row:last-child { border-bottom: none; }
.tr-suppl-row:hover { background: var(--tr-surf-hi); }
.tr-suppl-name  { font-size: .85rem; font-weight: 600; color: var(--tr-text); }
.tr-suppl-price { font-size: .9rem; font-weight: 800; color: var(--tr-gold); white-space: nowrap; }
.tr-suppl-price small { font-weight: 500; color: var(--tr-muted); font-size: .75rem; }

/* ══ FAQ ═══════════════════════════════════════════════════ */
.tr-faq-section { display: flex; flex-direction: column; }
.tr-faq-section .tr-section-hd { margin-bottom: 1rem; }

.tr-faq-item {
  border-bottom: 1px solid var(--tr-border);
}
.tr-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  padding: 1rem 0;
  background: transparent;
  border: none;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: var(--tr-text);
  cursor: pointer;
  transition: color .18s;
}
.tr-faq-q:hover { color: var(--tr-gold); }
.tr-faq-q svg {
  width: 16px; height: 16px;
  stroke: var(--tr-muted);
  flex-shrink: 0;
  transition: transform .25s ease, stroke .18s;
}
.tr-faq-item.is-open .tr-faq-q svg {
  transform: rotate(45deg);
  stroke: var(--tr-gold);
}
.tr-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}
.tr-faq-item.is-open .tr-faq-a { grid-template-rows: 1fr; }
.tr-faq-a p {
  overflow: hidden;
  font-size: .85rem;
  color: var(--tr-muted-light);
  line-height: 1.7;
  margin: 0;
  padding-bottom: 0;
  transition: padding-bottom .3s ease;
}
.tr-faq-item.is-open .tr-faq-a p { padding-bottom: 1.1rem; }

/* ══ CTA BLOCK ══════════════════════════════════════════════ */
.tr-cta-block {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--tr-gold-line);
  background: var(--tr-surf);
  text-align: center;
}
.tr-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 120%, rgba(230,205,149,.12) 0%, transparent 70%);
  pointer-events: none;
}
.tr-cta-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--tr-text);
  line-height: 1.1;
  margin: .75rem 0;
}
.tr-cta-body {
  font-size: .9rem;
  color: var(--tr-muted);
  line-height: 1.6;
  max-width: 380px;
  margin: 0 auto 1.75rem;
}
.tr-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.tr-btn-gold {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.75rem;
  border-radius: 10px;
  background: var(--tr-gold);
  color: #07101a;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s, transform .18s;
}
.tr-btn-gold:hover { background: #d4b46a; transform: translateY(-1px); }
.tr-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  background: transparent;
  border: 1.5px solid var(--tr-border);
  color: var(--tr-muted-light);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.tr-btn-ghost:hover { border-color: var(--tr-gold-line); color: var(--tr-gold); }

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 820px) {
  .tarifs-layout {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 3rem;
    gap: 0;
  }
  .tarifs-sidebar {
    position: static;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--tr-border);
  }
  .tarifs-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: .35rem;
    padding-bottom: .25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tarifs-nav::-webkit-scrollbar { display: none; }
  .tr-nav-btn {
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    padding: .5rem .85rem;
    border-radius: 100px;
    border: 1.5px solid var(--tr-border);
  }
  .tr-nav-btn.is-active {
    border-color: var(--tr-gold-line);
    border-left: 1.5px solid var(--tr-gold-line);
  }
  .tr-nav-icon { font-size: 1rem; }
  .tr-nav-label { font-size: .72rem; white-space: nowrap; }
  .tr-nav-from  { display: none; }
  .tarifs-sidebar-cta { display: none; }
  .tr-panel-hd { flex-direction: column; gap: .5rem; }
  .tr-panel-from { text-align: left; }
  .tr-zones-row { grid-template-columns: repeat(5, minmax(80px, 1fr)); overflow-x: auto; }
}

@media (max-width: 560px) {
  .tr-hero { padding: 3.5rem 1.25rem 2.5rem; }
  .tr-hero-aperture { display: none; }
  .tr-cards-grid, .tr-cards-grid--mariage {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .tr-panel.is-active { animation: none; }
  .tr-card, .tr-nav-btn, .tr-card-cta { transition: none; }
}

/* ══ PANEL ACTIONS (devis + call + contact) ═════════════════ */
.tr-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--tr-border);
  background: var(--tr-surf);
}
.tr-pact-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s;
}
.tr-pact-btn--primary {
  background: var(--tr-gold);
  color: #07101a;
}
.tr-pact-btn--primary:hover { background: #d4b46a; }
.tr-pact-btn--ghost {
  background: transparent;
  border: 1.5px solid var(--tr-border);
  color: var(--tr-text);
}
.tr-pact-btn--ghost:hover {
  border-color: var(--tr-gold-line);
  color: var(--tr-gold);
  background: var(--tr-gold-dim);
}
.tr-pact-sep {
  font-size: .75rem;
  color: var(--tr-muted);
  flex-shrink: 0;
}
.tr-pact-link {
  font-size: .78rem;
  color: var(--tr-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s;
}
.tr-pact-link:hover { color: var(--tr-text); }

/* ══ SIDEBAR EXTRAS ════════════════════════════════════════ */
.tr-sidebar-call {
  display: block;
  padding: .55rem .85rem;
  border-radius: 10px;
  border: 1.5px solid var(--tr-border);
  color: var(--tr-muted-light);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  margin-top: .5rem;
  transition: border-color .2s, color .2s;
}
.tr-sidebar-call:hover { border-color: var(--tr-gold-line); color: var(--tr-gold); }

.tr-sidebar-hint {
  font-size: .7rem;
  color: var(--tr-muted);
  line-height: 1.5;
  margin-top: .6rem;
  text-align: center;
}
.tr-sidebar-hint a {
  color: var(--tr-muted-light);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .18s;
}
.tr-sidebar-hint a:hover { color: var(--tr-gold); }

/* ══ BOTTOM CTA EXTRAS ═════════════════════════════════════ */
.tr-btn-link {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tr-muted);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color .18s;
}
.tr-btn-link:hover { color: var(--tr-text); text-decoration: underline; }

@media (max-width: 820px) {
  .tr-panel-actions { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .tr-pact-sep { display: none; }
}
