/* ============================================================
   TOP SAM — Theme stylesheet
   Tokens charte officielle + composants (BEM ts-*)
============================================================ */

:root {
  --ts-primary:       #1A237E;
  --ts-primary-dark:  #0F1535;
  --ts-accent:        #B8860B;
  --ts-accent-hover:  #D4A437;
  --ts-bg:            #FFFFFF;
  --ts-bg-warm:       #F7F3EC;
  --ts-text:          #0F1535;
  --ts-text-muted:    #475569;
  --ts-border:        #E5E1D8;
  --ts-whatsapp:      #25D366;

  --ts-font-heading: 'Plus Jakarta Sans', 'Montserrat', system-ui, sans-serif;
  --ts-font-body:    'Inter', system-ui, sans-serif;
  --ts-font-logo:    'Cinzel', serif;

  --ts-space-xs:  4px;
  --ts-space-sm:  8px;
  --ts-space-md:  16px;
  --ts-space-lg:  24px;
  --ts-space-xl:  48px;
  --ts-space-2xl: 80px;

  --ts-radius-sm: 6px;
  --ts-radius-md: 8px;
  --ts-radius-lg: 12px;
  --ts-radius-xl: 20px;

  --ts-shadow-card: 0 12px 32px rgba(15,21,53,0.08);
  --ts-shadow-btn:  0 8px 24px rgba(26,35,126,0.25);
  --ts-shadow-nav:  0 1px 0 #E5E1D8, 0 4px 16px rgba(15,21,53,0.06);

  --ts-nav-h: 72px;
  --ts-max-w: 1200px;
}

/* Base resets — work inside Astra without breaking it */
body { font-family: var(--ts-font-body); color: var(--ts-text); -webkit-font-smoothing: antialiased; }
.is-front .ast-container,
.ts-main { max-width: none !important; padding: 0 !important; }

h1, h2, h3, h4, .ts-heading {
  font-family: var(--ts-font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ts-text);
}
h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -0.025em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 600; }
h4 { font-size: clamp(18px, 2vw, 20px); font-weight: 600; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---- Skip link (a11y) ---- */
.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--ts-primary);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 600;
  border-radius: 0 0 var(--ts-radius-md) 0;
}
.skip-link:focus { inset-inline-start: 0; }

/* Anchor scroll offset for sticky nav */
[id] { scroll-margin-block-start: calc(var(--ts-nav-h) + 16px); }

/* ============================================================
   LAYOUT
============================================================ */
.ts-container { max-width: var(--ts-max-w); margin-inline: auto; padding-inline: var(--ts-space-lg); }
.ts-section { padding-block: var(--ts-space-2xl); }
.ts-section--warm { background: var(--ts-bg-warm); }
.ts-section__header { text-align: center; margin-bottom: var(--ts-space-2xl); }
.ts-section__header p { color: var(--ts-text-muted); font-size: 18px; margin-top: var(--ts-space-md); max-width: 600px; margin-inline: auto; }
.ts-section__cta-bottom { text-align: center; margin-top: var(--ts-space-xl); }

.ts-eyebrow {
  display: inline-block;
  color: var(--ts-accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ts-sep-diamonds {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding-block: var(--ts-space-xl);
}
.ts-sep-diamonds span {
  display: inline-block; width: 8px; height: 8px;
  background: var(--ts-accent);
  transform: rotate(45deg); opacity: 0.6;
}
.ts-sep-diamonds span:nth-child(2) { opacity: 1; transform: rotate(45deg) scale(1.3); }

/* ============================================================
   BUTTONS
============================================================ */
.ts-btn {
  display: inline-flex; align-items: center; gap: var(--ts-space-sm);
  padding: 14px 28px;
  border-radius: var(--ts-radius-md);
  font-family: var(--ts-font-body);
  font-weight: 600; font-size: 16px; letter-spacing: 0.02em;
  transition: all 0.2s ease;
  min-height: 48px;
  border: none; cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.ts-btn--primary { background: var(--ts-primary); color: #fff; }
.ts-btn--primary:hover { background: var(--ts-primary-dark); transform: translateY(-1px); box-shadow: var(--ts-shadow-btn); color: #fff; }
.ts-btn--primary .ts-btn__arrow { color: var(--ts-accent-hover); font-size: 18px; }

.ts-btn--secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12.5px 26.5px;
}
.ts-btn--secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.8); color: #fff; }

.ts-btn--outline {
  background: transparent;
  border: 1.5px solid var(--ts-primary);
  color: var(--ts-primary);
  padding: 12.5px 26.5px;
}
.ts-btn--outline:hover { background: var(--ts-primary); color: #fff; }

.ts-btn--gold {
  background: var(--ts-accent);
  color: var(--ts-primary-dark);
  font-weight: 700;
}
.ts-btn--gold:hover { background: var(--ts-accent-hover); color: var(--ts-primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184,134,11,0.4); }

.ts-btn--gold-nav {
  background: var(--ts-accent);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  min-height: 40px;
  border-radius: var(--ts-radius-md);
  font-weight: 700;
}
.ts-btn--gold-nav:hover { background: var(--ts-accent-hover); color: #fff; transform: translateY(-1px); }

.ts-btn--wa {
  background: var(--ts-whatsapp);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  min-height: 40px;
  border-radius: var(--ts-radius-md);
  font-weight: 700;
}
.ts-btn--wa:hover { background: #1ebe57; color: #fff; transform: translateY(-1px); }

/* ============================================================
   PILLS
============================================================ */
.ts-pill {
  display: inline-block;
  background: rgba(26,35,126,0.08);
  color: var(--ts-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
}
.ts-pill--gold { background: rgba(184,134,11,0.1); color: var(--ts-accent); }

/* ============================================================
   NAVIGATION
============================================================ */
.ts-nav {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--ts-shadow-nav);
}
.ts-nav.is-scrolled { box-shadow: 0 2px 24px rgba(15,21,53,0.10); }

.ts-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--ts-nav-h);
  max-width: var(--ts-max-w);
  margin-inline: auto;
  padding-inline: var(--ts-space-lg);
  gap: var(--ts-space-md);
}
.ts-nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; }
.ts-nav__logo-img { height: 48px; width: auto; display: block; }

.ts-nav__links {
  display: flex; align-items: center; gap: var(--ts-space-xl);
  list-style: none; margin: 0; padding: 0;
}
.ts-nav__links a {
  font-size: 15px; font-weight: 500; color: var(--ts-text);
  transition: color 0.2s; text-decoration: none;
}
.ts-nav__links a:hover { color: var(--ts-primary); }

.ts-nav__actions { display: flex; align-items: center; gap: var(--ts-space-sm); }

.ts-nav__burger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none; border: none;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.ts-nav__burger span {
  display: block; width: 24px; height: 2px;
  background: var(--ts-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.ts-nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ts-nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ts-nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ts-nav__drawer {
  position: fixed; inset-block-start: var(--ts-nav-h); inset-inline-end: 0;
  width: min(320px, 85vw);
  height: calc(100dvh - var(--ts-nav-h));
  background: #fff;
  box-shadow: -8px 0 24px rgba(15,21,53,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 99;
  display: flex; flex-direction: column;
  padding: var(--ts-space-lg);
  gap: var(--ts-space-md);
  overflow-y: auto;
}
.ts-nav__drawer[data-open="true"] { transform: translateX(0); }
.ts-nav__drawer-list,
.ts-nav__drawer ul { list-style: none; padding: 0; margin: 0 0 var(--ts-space-md); display: flex; flex-direction: column; gap: var(--ts-space-xs); }
.ts-nav__drawer-list a,
.ts-nav__drawer ul a {
  display: block; padding: 14px 12px; border-radius: var(--ts-radius-md);
  color: var(--ts-text); font-weight: 500; transition: background 0.2s; text-decoration: none;
}
.ts-nav__drawer-list a:hover,
.ts-nav__drawer-list a:focus,
.ts-nav__drawer ul a:hover,
.ts-nav__drawer ul a:focus { background: var(--ts-bg-warm); color: var(--ts-primary); }

.ts-nav__drawer-cta { display: flex; flex-direction: column; gap: var(--ts-space-sm); }
.ts-nav__drawer-cta .ts-btn { justify-content: center; }

.ts-nav__overlay {
  position: fixed; inset-block-start: var(--ts-nav-h); inset-inline: 0;
  height: calc(100dvh - var(--ts-nav-h));
  background: rgba(15,21,53,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 98;
}
.ts-nav__overlay[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
============================================================ */
.ts-hero {
  margin-block-start: var(--ts-nav-h);
  position: relative;
  min-height: calc(100svh - var(--ts-nav-h));
  min-height: calc(100vh - var(--ts-nav-h));
  background-size: cover;
  background-position: center bottom;
  background-color: #0D1428;
  display: flex; align-items: center;
  overflow: hidden;
}
.ts-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(8,12,45,0.92) 0%,
    rgba(8,12,45,0.80) 32%,
    rgba(8,12,45,0.50) 58%,
    rgba(8,12,45,0.18) 80%,
    rgba(8,12,45,0.04) 100%
  );
}
.ts-hero__pattern {
  position: absolute; inset: 0; z-index: 1; opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23B8860B' stroke-width='1'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><circle cx='40' cy='40' r='18'/><path d='M40 22 L58 40 L40 58 L22 40 Z'/></g></svg>");
  background-size: 80px 80px;
  pointer-events: none;
}
.ts-hero__inner {
  position: relative; z-index: 2;
  padding-inline-start: 60px;
  padding-inline-end: var(--ts-space-lg);
  padding-block: 80px;
  width: 100%;
}
.ts-hero__content { max-width: 580px; }

.ts-hero__badge {
  display: inline-flex; align-items: center; gap: var(--ts-space-sm);
  background: rgba(184,134,11,0.22);
  border: 1px solid rgba(184,134,11,0.50);
  color: var(--ts-accent-hover);
  font-size: 13px; font-weight: 600;
  padding: 8px 16px; border-radius: 20px;
  margin-bottom: var(--ts-space-lg);
}
.ts-hero__badge::before {
  content: ""; display: inline-block; width: 6px; height: 6px;
  background: var(--ts-accent); border-radius: 50%;
  animation: ts-pulse 2s infinite;
}
@keyframes ts-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.ts-hero__title {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: var(--ts-space-lg);
}
.ts-hero__title-accent { color: var(--ts-accent-hover); }
.ts-hero__sub { font-size: 18px; color: rgba(255,255,255,0.82); line-height: 1.75; margin-bottom: var(--ts-space-xl); max-width: 500px; }
.ts-hero__actions { display: flex; flex-wrap: wrap; gap: var(--ts-space-md); margin-bottom: var(--ts-space-lg); }
.ts-hero__trust { display: flex; align-items: center; gap: var(--ts-space-lg); margin-bottom: var(--ts-space-xl); flex-wrap: wrap; }
.ts-hero__trust-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); }
.ts-hero__trust-item svg { color: var(--ts-accent-hover); flex-shrink: 0; }
.ts-hero__stats { display: flex; gap: 36px; padding-top: var(--ts-space-lg); border-top: 1px solid rgba(255,255,255,0.20); flex-wrap: wrap; }
.ts-hero__stat-num { font-family: var(--ts-font-heading); font-size: 30px; font-weight: 800; color: var(--ts-accent-hover); line-height: 1; }
.ts-hero__stat-label { font-size: 12px; color: rgba(255,255,255,0.60); margin-top: 4px; }

/* ============================================================
   BENEFITS (6)
============================================================ */
.ts-benefits { background: var(--ts-primary); }
.ts-benefits__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: var(--ts-max-w); margin-inline: auto;
}
.ts-benefits__item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 28px 32px;
  border-inline-end: 1px solid rgba(255,255,255,0.1);
  border-block-end: 1px solid rgba(255,255,255,0.1);
}
.ts-benefits__item:nth-child(3n) { border-inline-end: none; }
.ts-benefits__item:nth-last-child(-n+3) { border-block-end: none; }
.ts-benefits__icon {
  width: 46px; height: 46px;
  background: rgba(184,134,11,0.18);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ts-accent-hover);
  flex-shrink: 0;
}
.ts-benefits__title { font-family: var(--ts-font-heading); font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3; }
.ts-benefits__sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; line-height: 1.5; }

/* ============================================================
   BRANDS
============================================================ */
.ts-brands { background: var(--ts-bg-warm); border-bottom: 1px solid var(--ts-border); padding-block: 28px; }
.ts-brands__inner {
  max-width: var(--ts-max-w); margin-inline: auto;
  padding-inline: var(--ts-space-lg);
  display: flex; align-items: center; gap: var(--ts-space-xl); flex-wrap: wrap;
}
.ts-brands__label { font-size: 12px; font-weight: 600; color: var(--ts-text-muted); letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; }
.ts-brands__list { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.ts-brands__name { font-family: var(--ts-font-heading); font-size: 15px; font-weight: 700; color: var(--ts-primary); opacity: 0.45; letter-spacing: 0.5px; transition: opacity 0.2s; }
.ts-brands__name:hover { opacity: 1; }

/* ============================================================
   SERVICES (6 cartes)
============================================================ */
.ts-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ts-space-lg); }
.ts-service-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ts-service-card:hover { transform: translateY(-4px); box-shadow: var(--ts-shadow-card); }
.ts-service-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--ts-accent) 0%, var(--ts-accent-hover) 100%);
  border-radius: var(--ts-radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: var(--ts-space-md);
}
.ts-service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ts-text); }
.ts-service-card p  { font-size: 14px; color: var(--ts-text-muted); line-height: 1.65; }

/* ============================================================
   PACKS (4 cartes)
============================================================ */
.ts-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ts-space-lg); }
.ts-pack {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex; flex-direction: column;
  position: relative;
}
.ts-pack:hover { box-shadow: var(--ts-shadow-card); transform: translateY(-4px); }
.ts-pack.is-featured { border-color: var(--ts-primary); }
.ts-pack__badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--ts-primary); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 12px;
  letter-spacing: 1px; text-transform: uppercase;
  z-index: 2;
}
.ts-pack__image {
  aspect-ratio: 16/10;
  background: var(--ts-bg-warm);
  display: flex; align-items: center; justify-content: center;
}
.ts-pack__image-icon { width: 56px; height: 56px; color: var(--ts-primary); opacity: 0.3; }
.ts-pack__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.ts-pack__title { font-family: var(--ts-font-heading); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.ts-pack__capacity { font-size: 12px; color: var(--ts-accent); font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: var(--ts-space-md); }
.ts-pack__desc { font-size: 14px; color: var(--ts-text-muted); line-height: 1.65; margin-bottom: var(--ts-space-md); }
.ts-pack__features { list-style: none; padding: 0; margin: 0 0 var(--ts-space-md); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ts-pack__features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--ts-text); line-height: 1.45; }
.ts-pack__check { color: var(--ts-accent); flex-shrink: 0; margin-top: 2px; }
.ts-pack__footer { border-top: 1px solid var(--ts-border); padding-top: var(--ts-space-md); }
.ts-pack__from { font-size: 11px; color: var(--ts-text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; display: block; margin-bottom: 4px; }
.ts-pack__price { font-family: var(--ts-font-heading); font-size: 24px; font-weight: 800; color: var(--ts-primary); line-height: 1; }
.ts-pack__price-on-demand { font-family: var(--ts-font-heading); font-size: 20px; font-weight: 700; color: var(--ts-primary); }
.ts-pack__price-note { font-size: 11px; color: var(--ts-text-muted); margin-bottom: var(--ts-space-md); }
.ts-pack__cta { display: block; text-align: center; padding: 12px 16px; font-size: 14px; min-height: 44px; width: 100%; justify-content: center; }
.ts-packs__cta-bottom { text-align: center; margin-top: var(--ts-space-xl); }
.ts-packs__cta-bottom p { color: var(--ts-text-muted); margin-bottom: var(--ts-space-lg); }

/* ============================================================
   STEPS (Méthode 4 étapes)
============================================================ */
.ts-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ts-space-lg); position: relative; }
.ts-steps::before {
  content: ""; position: absolute; top: 32px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ts-border), var(--ts-border), transparent);
  z-index: 0;
}
.ts-step {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 32px var(--ts-space-lg);
  text-align: center;
  position: relative; z-index: 1;
  transition: box-shadow 0.3s;
}
.ts-step:hover { box-shadow: var(--ts-shadow-card); }
.ts-step__num {
  width: 64px; height: 64px;
  background: var(--ts-primary); color: #fff;
  border-radius: 50%;
  font-family: var(--ts-font-heading); font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: var(--ts-space-lg);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--ts-primary);
}
.ts-step__icon { color: var(--ts-accent); margin-bottom: var(--ts-space-sm); display: flex; justify-content: center; }
.ts-step h4 { font-size: 17px; margin-bottom: var(--ts-space-sm); }
.ts-step p { font-size: 14px; color: var(--ts-text-muted); line-height: 1.65; }

/* ============================================================
   GALLERY
============================================================ */
.ts-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--ts-space-md);
}
.ts-gallery__item {
  border-radius: var(--ts-radius-lg);
  overflow: hidden;
  background: var(--ts-bg-warm);
  position: relative;
  aspect-ratio: 4/3;
  margin: 0;
}
.ts-gallery__item:first-child { grid-row: span 2; aspect-ratio: 4/5; }
.ts-gallery__item img,
.ts-gallery__item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-gallery__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ts-primary); opacity: 0.3; }
.ts-gallery__caption {
  position: absolute; bottom: 0; inset-inline: 0;
  background: linear-gradient(transparent, rgba(15,21,53,0.85));
  color: #fff;
  padding: 16px;
  font-size: 13px; font-weight: 500;
}
.ts-gallery__city {
  display: inline-block;
  background: rgba(184,134,11,0.9);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 10px;
  margin-bottom: 6px;
}
.ts-gallery__video-badge {
  position: absolute; top: 12px; right: 12px;
  background: rgba(15,21,53,0.85);
  color: #fff; font-size: 11px;
  padding: 4px 10px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600; z-index: 2;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.ts-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ts-space-lg); }
.ts-testimonial {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 32px;
  transition: box-shadow 0.3s;
}
.ts-testimonial:hover { box-shadow: var(--ts-shadow-card); }
.ts-testimonial__quote { font-size: 48px; font-family: Georgia, serif; color: var(--ts-accent); line-height: 1; margin-bottom: var(--ts-space-md); }
.ts-testimonial__text { font-size: 15px; line-height: 1.75; color: var(--ts-text); margin-bottom: var(--ts-space-lg); font-style: italic; }
.ts-testimonial__author { display: flex; align-items: center; gap: var(--ts-space-md); border-top: 1px solid var(--ts-border); padding-top: var(--ts-space-md); }
.ts-testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ts-bg-warm);
  border: 2px solid var(--ts-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ts-font-heading); font-weight: 700;
  color: var(--ts-primary); font-size: 16px; flex-shrink: 0;
}
.ts-testimonial__name { font-weight: 600; font-size: 14px; }
.ts-testimonial__role { font-size: 13px; color: var(--ts-text-muted); }
.ts-testimonial__stars { color: var(--ts-accent); font-size: 14px; }

/* ============================================================
   BLOG GRID
============================================================ */
.ts-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--ts-space-lg); }
.ts-blog-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.ts-blog-card:hover { box-shadow: var(--ts-shadow-card); transform: translateY(-3px); }
.ts-blog-card__media { display: block; aspect-ratio: 16/10; background: var(--ts-bg-warm); }
.ts-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ts-blog-card__img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ts-primary); opacity: 0.5; }
.ts-blog-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.ts-blog-card h3 { font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.ts-blog-card h3 a { color: inherit; text-decoration: none; }
.ts-blog-card p { color: var(--ts-text-muted); font-size: 13.5px; line-height: 1.65; margin-bottom: var(--ts-space-md); flex: 1; }
.ts-blog-card__link { color: var(--ts-primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* ============================================================
   CTA FINAL
============================================================ */
.ts-cta-final {
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-primary-dark) 100%);
  padding-block: 100px;
  text-align: center;
  position: relative; overflow: hidden;
}
.ts-cta-final::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 1px solid var(--ts-accent); border-radius: 50%;
  opacity: 0.12;
}
.ts-cta-final::after {
  content: ""; position: absolute; bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  border: 1px solid var(--ts-accent); border-radius: 50%;
  opacity: 0.08;
}
.ts-cta-final > * { position: relative; z-index: 2; }
.ts-cta-final__eyebrow { color: var(--ts-accent-hover); }
.ts-cta-final__title {
  font-family: var(--ts-font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; color: #fff;
  margin-bottom: var(--ts-space-lg);
  letter-spacing: -0.02em;
}
.ts-cta-final__title em { font-style: normal; color: var(--ts-accent); }
.ts-cta-final__sub { color: rgba(247,243,236,0.8); font-size: 18px; margin-bottom: var(--ts-space-xl); max-width: 540px; margin-inline: auto; line-height: 1.7; }
.ts-cta-final__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--ts-space-md); margin-bottom: var(--ts-space-xl); }
.ts-cta-final__contact-line { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: var(--ts-space-lg); color: rgba(255,255,255,0.7); font-size: 15px; }
.ts-cta-final__contact-item { display: flex; align-items: center; gap: var(--ts-space-sm); transition: color 0.2s; }
.ts-cta-final__contact-item:hover { color: #fff; }
.ts-cta-final__contact-item a { color: inherit; }

/* ============================================================
   FOOTER
============================================================ */
.ts-footer {
  background: var(--ts-primary-dark);
  color: rgba(255,255,255,0.7);
  padding-block-start: 60px;
  padding-block-end: 32px;
}
.ts-footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--ts-space-xl);
  max-width: var(--ts-max-w);
  margin-inline: auto;
  padding-inline: var(--ts-space-lg);
  margin-bottom: 48px;
}
.ts-footer__logo { height: 56px; width: auto; margin-bottom: var(--ts-space-md); }
.ts-footer__desc { font-size: 14px; line-height: 1.7; margin-bottom: var(--ts-space-lg); max-width: 300px; }
.ts-footer__contact { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.ts-footer__contact:hover { color: #fff; }
.ts-footer__contact a { color: inherit; }
.ts-footer__col-title { font-family: var(--ts-font-heading); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase; margin-bottom: var(--ts-space-lg); }
.ts-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ts-footer__links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; text-decoration: none; }
.ts-footer__links a:hover { color: var(--ts-accent); }
.ts-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: var(--ts-max-w);
  margin-inline: auto;
  padding-inline: var(--ts-space-lg);
  padding-top: var(--ts-space-lg);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--ts-space-md);
  font-size: 13px;
}
.ts-footer__bottom-links { list-style: none; padding: 0; margin: 0; display: flex; gap: var(--ts-space-lg); flex-wrap: wrap; }
.ts-footer__bottom-links a { color: rgba(255,255,255,0.4); transition: color 0.2s; text-decoration: none; }
.ts-footer__bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   WHATSAPP FLOAT + STICKY MOBILE CTA + COOKIE BANNER
============================================================ */
.ts-whatsapp-float {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px;
  z-index: 95;
  width: 56px; height: 56px;
  background: var(--ts-whatsapp);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  animation: ts-pulse-wa 2.4s infinite;
  transition: transform 0.2s;
  text-decoration: none;
}
.ts-whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@keyframes ts-pulse-wa {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 24px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.18); }
}

.ts-sticky-cta {
  display: none;
  position: fixed; inset-block-end: 0; inset-inline: 0;
  background: #fff;
  border-top: 1px solid var(--ts-border);
  box-shadow: 0 -4px 16px rgba(15,21,53,0.08);
  padding: 12px 16px;
  z-index: 90;
  gap: var(--ts-space-sm);
  align-items: center;
}
.ts-sticky-cta .ts-btn { flex: 1; justify-content: center; padding: 12px 16px; font-size: 15px; }

.ts-cookie-banner {
  position: fixed; inset-block-end: 88px; inset-inline-start: 16px;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-lg);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(15,21,53,0.16);
  z-index: 96;
  font-size: 14px; line-height: 1.55;
  display: none;
}
.ts-cookie-banner[data-open="true"] { display: block; }
.ts-cookie-banner h4 { font-size: 15px; margin-bottom: 8px; }
.ts-cookie-banner p  { color: var(--ts-text-muted); margin-bottom: 14px; }
.ts-cookie-banner a  { color: var(--ts-primary); text-decoration: underline; }
.ts-cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-cookie-banner__actions .ts-btn { flex: 1; min-height: 40px; padding: 10px 14px; font-size: 13px; }

/* WooCommerce — prix sur devis */
.ts-price-on-quote {
  font-family: var(--ts-font-heading);
  color: var(--ts-primary);
  font-weight: 700;
  font-size: 16px;
}
.ts-product-quote-cta { margin-block-start: var(--ts-space-md); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .ts-services    { grid-template-columns: 1fr 1fr; }
  .ts-packs       { grid-template-columns: 1fr 1fr; }
  .ts-steps       { grid-template-columns: repeat(2, 1fr); }
  .ts-steps::before { display: none; }
  .ts-testimonials { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .ts-gallery     { grid-template-columns: 1fr 1fr; }
  .ts-gallery__item:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .ts-blog-grid   { grid-template-columns: 1fr 1fr; }
  .ts-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--ts-space-lg); }
  .ts-benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .ts-benefits__item { border-inline-end: 1px solid rgba(255,255,255,0.1); }
  .ts-benefits__item:nth-child(3n) { border-inline-end: 1px solid rgba(255,255,255,0.1); }
  .ts-benefits__item:nth-child(2n) { border-inline-end: none; }
}
@media (max-width: 768px) {
  .ts-hero { min-height: 90svh; min-height: 90vh; background-position: 65% center; padding-block-end: 80px; }
  .ts-hero__inner { padding-block: 60px; padding-inline-start: var(--ts-space-lg); }
  .ts-hero__content { max-width: 100%; }
  .ts-services    { grid-template-columns: 1fr; }
  .ts-packs       { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ts-steps       { grid-template-columns: 1fr; }
  .ts-gallery     { grid-template-columns: 1fr; }
  .ts-gallery__item:first-child { grid-column: auto; aspect-ratio: 4/3; }
  .ts-blog-grid   { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ts-footer__grid { grid-template-columns: 1fr; }
  .ts-footer__bottom { flex-direction: column; text-align: center; }
  .ts-nav__links  { display: none; }
  .ts-nav__actions .ts-btn--gold-nav,
  .ts-nav__actions .ts-btn--wa { display: none; }
  .ts-nav__burger { display: flex; }
  .ts-hero__stats { gap: 24px; }
  .ts-benefits__grid { grid-template-columns: 1fr; }
  .ts-benefits__item { border-inline-end: none; border-block-end: 1px solid rgba(255,255,255,0.1); }
  .ts-benefits__item:last-child { border-block-end: none; }
  .ts-sticky-cta  { display: flex; }
  body            { padding-block-end: 76px; }
  .ts-whatsapp-float { inset-block-end: 84px; }
  .ts-cookie-banner  { inset-block-end: 152px; inset-inline: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   PHASE 2 — PAGE TEMPLATES
============================================================ */

/* ---- Page hero (intro pages intérieures) ---- */
.ts-page-hero {
  margin-block-start: var(--ts-nav-h);
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-primary-dark) 100%);
  color: #fff;
  padding-block: 80px 64px;
  position: relative;
  overflow: hidden;
}
.ts-page-hero.has-image { background-size: cover; background-position: center; }
.ts-page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,35,126,0.92), rgba(15,21,53,0.88));
}
.ts-page-hero__inner { position: relative; z-index: 2; }
.ts-page-hero .ts-eyebrow { color: var(--ts-accent-hover); }
.ts-page-hero__title {
  font-family: var(--ts-font-heading);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--ts-space-md);
  max-width: 800px;
}
.ts-page-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  max-width: 720px;
}

/* ---- CTA band (compact mid-page) ---- */
.ts-cta-band {
  background: linear-gradient(135deg, var(--ts-primary) 0%, var(--ts-primary-dark) 100%);
  padding-block: 56px;
  color: #fff;
}
.ts-cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--ts-space-xl); flex-wrap: wrap;
}
.ts-cta-band__title { color: #fff; font-size: clamp(22px, 2.5vw, 30px); margin-bottom: 8px; }
.ts-cta-band__sub   { color: rgba(247,243,236,0.75); font-size: 16px; max-width: 540px; }
.ts-cta-band__actions { display: flex; gap: var(--ts-space-md); flex-wrap: wrap; }

/* ---- Prose (texte long) ---- */
.ts-prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
}
.ts-prose h2 { margin-block: 48px 16px; }
.ts-prose h2:first-child { margin-block-start: 0; }
.ts-prose h3 { margin-block: 32px 12px; }
.ts-prose p  { margin-bottom: 18px; color: var(--ts-text); }
.ts-prose ul, .ts-prose ol { margin: 16px 0 24px 24px; }
.ts-prose li { margin-bottom: 8px; }
.ts-prose strong { color: var(--ts-primary); font-weight: 700; }
.ts-prose a { color: var(--ts-primary); text-decoration: underline; }
.ts-prose blockquote {
  border-inline-start: 3px solid var(--ts-accent);
  padding: 8px 0 8px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ts-text-muted);
}

/* ---- Features grid (étude acoustique, etc.) ---- */
.ts-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--ts-space-lg);
}
.ts-feature {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 28px;
  transition: box-shadow 0.3s;
}
.ts-feature:hover { box-shadow: var(--ts-shadow-card); }
.ts-feature__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--ts-accent) 0%, var(--ts-accent-hover) 100%);
  border-radius: var(--ts-radius-md);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: var(--ts-space-md);
}
.ts-feature h3 { font-size: 18px; margin-bottom: 8px; }
.ts-feature p  { font-size: 14px; color: var(--ts-text-muted); line-height: 1.6; }

/* ---- Issues grid (problèmes courants) ---- */
.ts-issues {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ts-space-lg);
}
.ts-issue {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--ts-bg-warm);
  border-radius: var(--ts-radius-lg);
  padding: 24px;
}
.ts-issue__icon {
  width: 44px; height: 44px;
  background: rgba(184,134,11,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ts-accent);
  flex-shrink: 0;
}
.ts-issue h4 { font-size: 16px; margin-bottom: 4px; color: var(--ts-text); }
.ts-issue p  { font-size: 14px; color: var(--ts-text-muted); line-height: 1.55; }

/* ---- Notice (encadré info) ---- */
.ts-notice {
  display: flex; align-items: flex-start; gap: 20px;
  background: #FFF8E6;
  border: 1px solid #F0DDA3;
  border-radius: var(--ts-radius-lg);
  padding: 24px 28px;
  max-width: 900px;
  margin-inline: auto;
}
.ts-notice__icon {
  width: 44px; height: 44px;
  background: var(--ts-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.ts-notice h3 { font-size: 18px; margin-bottom: 8px; color: var(--ts-text); }
.ts-notice p  { font-size: 14px; color: var(--ts-text-muted); line-height: 1.65; margin-bottom: 8px; }
.ts-notice p:last-child { margin-bottom: 0; }

/* ---- Values (À propos — 4 piliers) ---- */
.ts-values {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ts-space-lg);
}
.ts-value {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 32px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s;
}
.ts-value:hover { box-shadow: var(--ts-shadow-card); transform: translateY(-3px); }
.ts-value__num {
  font-family: var(--ts-font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--ts-accent);
  line-height: 1;
  margin-bottom: var(--ts-space-md);
  opacity: 0.85;
}
.ts-value h3 { font-size: 22px; margin-bottom: 12px; color: var(--ts-primary); }
.ts-value p  { font-size: 15px; color: var(--ts-text-muted); line-height: 1.7; }

/* ---- Quote block (À propos — signature) ---- */
.ts-quote-block {
  max-width: 720px;
  text-align: center;
  padding-block: var(--ts-space-xl);
}
.ts-quote-block__mark {
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--ts-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.ts-quote-block__text {
  font-family: var(--ts-font-heading);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--ts-primary);
  margin-bottom: var(--ts-space-md);
  font-style: italic;
}
.ts-quote-block__cite {
  font-size: 16px;
  color: var(--ts-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-inline: auto;
}

/* ---- Feature image (À propos) ---- */
.ts-feature-image {
  max-width: 900px;
  margin-inline: auto;
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  box-shadow: var(--ts-shadow-card);
}
.ts-feature-image img { width: 100%; height: auto; display: block; }
.ts-feature-image figcaption {
  background: #fff;
  padding: 16px 24px;
  font-size: 14px;
  color: var(--ts-text-muted);
  text-align: center;
  font-style: italic;
}

/* ============================================================
   PAGE DEVIS — Layout 2 colonnes
============================================================ */
.ts-quote-page {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--ts-space-xl);
  align-items: flex-start;
}
.ts-quote-page__form-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  padding: 40px;
  box-shadow: var(--ts-shadow-card);
}
.ts-quote-page__form-title { font-size: 24px; margin-bottom: 8px; }
.ts-quote-page__form-intro { color: var(--ts-text-muted); margin-bottom: var(--ts-space-lg); }

/* Style minimal pour Fluent Forms */
.ts-quote-page__form-card .fluentform .ff-el-input--label label { font-weight: 600; color: var(--ts-text); margin-bottom: 6px; }
.ts-quote-page__form-card .fluentform input[type="text"],
.ts-quote-page__form-card .fluentform input[type="email"],
.ts-quote-page__form-card .fluentform input[type="tel"],
.ts-quote-page__form-card .fluentform input[type="number"],
.ts-quote-page__form-card .fluentform select,
.ts-quote-page__form-card .fluentform textarea {
  border: 1px solid var(--ts-border) !important;
  border-radius: var(--ts-radius-md) !important;
  padding: 12px 14px !important;
  font-family: var(--ts-font-body) !important;
  font-size: 15px !important;
  min-height: 44px !important;
}
.ts-quote-page__form-card .fluentform input:focus,
.ts-quote-page__form-card .fluentform select:focus,
.ts-quote-page__form-card .fluentform textarea:focus {
  border-color: var(--ts-primary) !important;
  outline: 2px solid rgba(26,35,126,0.15);
}
.ts-quote-page__form-card .fluentform button[type="submit"],
.ts-quote-page__form-card .fluentform .ff-btn-submit {
  background: var(--ts-primary) !important;
  color: #fff !important;
  border-radius: var(--ts-radius-md) !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  min-height: 48px !important;
  border: none !important;
  cursor: pointer !important;
}
.ts-quote-page__form-card .fluentform button[type="submit"]:hover { background: var(--ts-primary-dark) !important; }

/* Info card (colonne droite Devis) */
.ts-info-card {
  background: var(--ts-bg-warm);
  border-radius: var(--ts-radius-xl);
  padding: 32px;
  position: sticky;
  top: calc(var(--ts-nav-h) + 24px);
}
.ts-info-card h3 { font-size: 20px; margin-bottom: 8px; }
.ts-info-card > p { color: var(--ts-text-muted); margin-bottom: var(--ts-space-lg); font-size: 14px; }
.ts-info-card__list { list-style: none; padding: 0; margin: 0 0 var(--ts-space-lg); display: flex; flex-direction: column; gap: 18px; }
.ts-info-card__list li { display: flex; align-items: flex-start; gap: 14px; }
.ts-info-card__list svg { color: var(--ts-primary); flex-shrink: 0; margin-top: 2px; }
.ts-info-card__label { font-size: 12px; color: var(--ts-text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.ts-info-card__value { font-size: 15px; color: var(--ts-text); font-weight: 500; line-height: 1.5; display: block; margin-top: 2px; }
a.ts-info-card__value { text-decoration: none; }
a.ts-info-card__value:hover { color: var(--ts-primary); }
.ts-info-card__guarantee {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 14px;
  font-size: 13px;
  line-height: 1.4;
}
.ts-info-card__guarantee svg { color: var(--ts-accent); flex-shrink: 0; }
.ts-info-card__guarantee strong { color: var(--ts-text); }
.ts-info-card__guarantee span { color: var(--ts-text-muted); }

/* ============================================================
   SINGLE / ARCHIVE — Réalisations
============================================================ */
.ts-realisation-media {
  margin-block: 0 var(--ts-space-lg);
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  box-shadow: var(--ts-shadow-card);
}
.ts-realisation-media img,
.ts-realisation-media video { width: 100%; height: auto; display: block; }
.ts-realisation-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-block: 0 var(--ts-space-lg);
}

.ts-archive-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: var(--ts-space-xl);
}
.ts-archive-filter {
  display: inline-flex; align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ts-border);
  font-size: 14px;
  font-weight: 500;
  color: var(--ts-text);
  text-decoration: none;
  transition: all 0.2s;
}
.ts-archive-filter:hover { border-color: var(--ts-primary); color: var(--ts-primary); }
.ts-archive-filter.is-active { background: var(--ts-primary); color: #fff; border-color: var(--ts-primary); }

.ts-archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--ts-space-lg);
}
.ts-archive-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.ts-archive-card:hover { box-shadow: var(--ts-shadow-card); transform: translateY(-3px); }
.ts-archive-card__media {
  position: relative; display: block; aspect-ratio: 4/3;
  background: var(--ts-bg-warm); overflow: hidden;
}
.ts-archive-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ts-archive-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ts-primary); opacity: 0.3;
}
.ts-archive-card__city {
  position: absolute; top: 12px; left: 12px;
  background: rgba(184,134,11,0.95);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 10px;
}
.ts-archive-card__body { padding: 20px; }
.ts-archive-card__body h3 { font-size: 18px; margin-bottom: 6px; }
.ts-archive-card__body h3 a { color: inherit; text-decoration: none; }
.ts-archive-card__type  { font-size: 14px; color: var(--ts-text-muted); margin-bottom: 12px; }
.ts-archive-card__link  { color: var(--ts-primary); font-weight: 600; font-size: 14px; text-decoration: none; }

/* WP pagination */
.wp-pagenavi, .pagination, .navigation.pagination {
  margin-top: var(--ts-space-xl);
  display: flex; justify-content: center; gap: 8px;
}
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  border-radius: var(--ts-radius-md);
  border: 1px solid var(--ts-border);
  color: var(--ts-text);
  text-decoration: none;
  padding: 0 12px;
  font-weight: 500;
}
.page-numbers.current { background: var(--ts-primary); color: #fff; border-color: var(--ts-primary); }
.page-numbers:hover:not(.current) { background: var(--ts-bg-warm); }

.ts-page-links { margin-top: var(--ts-space-lg); font-weight: 600; }
.ts-page-links a { margin: 0 6px; }

/* ---- Responsive Phase 2 ---- */
@media (max-width: 1024px) {
  .ts-features-grid { grid-template-columns: 1fr 1fr; }
  .ts-issues        { grid-template-columns: 1fr 1fr; }
  .ts-values        { grid-template-columns: 1fr; }
  .ts-archive-grid  { grid-template-columns: 1fr 1fr; }
  .ts-quote-page    { grid-template-columns: 1fr; }
  .ts-info-card     { position: static; }
}
@media (max-width: 768px) {
  .ts-features-grid { grid-template-columns: 1fr; }
  .ts-issues        { grid-template-columns: 1fr; }
  .ts-archive-grid  { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .ts-cta-band__inner { flex-direction: column; text-align: center; }
  .ts-cta-band__actions { justify-content: center; }
  .ts-quote-page__form-card { padding: 24px; }
  .ts-notice { flex-direction: column; padding: 20px; }
}

/* ============================================================
   PHASE 3 — WOOCOMMERCE (boutique mode devis)
============================================================ */

/* Wrapper de toutes les pages WC */
.ts-wc-page { padding-block: var(--ts-space-2xl); }

/* ---- Hide WC default cart/account UI ---- */
.woocommerce-message,
.woocommerce .cart-collaterals,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account,
.woocommerce-MyAccount-navigation,
.cart_totals,
.checkout-button,
.woocommerce-add-to-cart-notification { display: none !important; }

/* ---- WC product grid → utilise notre layout ---- */
.woocommerce ul.products,
ul.products {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--ts-space-lg) !important;
  margin: var(--ts-space-xl) 0 !important;
  padding: 0 !important;
}
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }

/* Card produit (override de content-product.php) */
.ts-product-card {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-xl);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
  list-style: none;
}
.ts-product-card:hover { box-shadow: var(--ts-shadow-card); transform: translateY(-3px); }
.ts-product-card__media {
  position: relative; display: block;
  aspect-ratio: 4/3;
  background: var(--ts-bg-warm);
  overflow: hidden;
}
.ts-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-product-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ts-primary); opacity: 0.3;
}
.ts-product-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ts-accent);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
}
.ts-product-card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.ts-product-card__title { font-family: var(--ts-font-heading); font-size: 17px; font-weight: 600; line-height: 1.35; margin: 4px 0 0; }
.ts-product-card__title a { color: inherit; text-decoration: none; }
.ts-product-card__title a:hover { color: var(--ts-primary); }
.ts-product-card__usage { font-size: 12px; color: var(--ts-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ts-product-card__excerpt { font-size: 13.5px; color: var(--ts-text-muted); line-height: 1.55; flex: 1; }
.ts-product-card__excerpt p { margin: 0; }
.ts-product-card__footer {
  border-top: 1px solid var(--ts-border);
  padding-top: var(--ts-space-md);
  margin-top: var(--ts-space-sm);
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--ts-space-sm); flex-wrap: wrap;
}
.ts-product-card__price { font-family: var(--ts-font-heading); font-weight: 700; }
.ts-product-card__cta { padding: 8px 16px !important; font-size: 13px !important; min-height: 36px !important; }

/* Prix affichage */
.ts-price-on-quote {
  font-family: var(--ts-font-heading);
  color: var(--ts-primary);
  font-weight: 700;
  font-size: 17px;
}
.ts-price-from {
  display: block;
  font-size: 11px;
  color: var(--ts-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 2px;
}
.ts-price-indicative {
  font-family: var(--ts-font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--ts-primary);
}

/* Badge Expert Mosquée sur single product */
.ts-product-badge--single {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(184,134,11,0.12);
  color: var(--ts-accent);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--ts-space-md);
}

/* ---- Single product layout ---- */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: var(--ts-space-xl); align-items: flex-start; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: var(--ts-space-xl); }
.woocommerce-product-gallery img { border-radius: var(--ts-radius-xl); border: 1px solid var(--ts-border); }

.woocommerce div.product .product_title {
  font-family: var(--ts-font-heading);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--ts-text);
  margin-bottom: var(--ts-space-md);
}
.woocommerce div.product .price {
  font-family: var(--ts-font-heading);
  font-size: 24px;
  color: var(--ts-primary);
  margin-bottom: var(--ts-space-lg);
}

.woocommerce-product-details__short-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ts-text);
  padding: var(--ts-space-md) 0;
  border-block: 1px solid var(--ts-border);
  margin-bottom: var(--ts-space-md);
}

/* CTA block (devis + WhatsApp) */
.ts-product-cta-block {
  display: flex; gap: var(--ts-space-sm); flex-wrap: wrap;
  margin-block: var(--ts-space-md) var(--ts-space-lg);
}
.ts-product-cta-block__primary { flex: 1; min-width: 220px; justify-content: center; }
.ts-product-cta-block__wa     { justify-content: center; }

/* Meta produit (override) */
.ts-product-meta {
  display: flex; flex-wrap: wrap; gap: var(--ts-space-md);
  font-size: 13px; color: var(--ts-text-muted);
  margin-bottom: var(--ts-space-md);
}
.ts-product-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.ts-product-meta__label { font-weight: 600; color: var(--ts-text); }
.ts-product-meta a { color: var(--ts-primary); text-decoration: none; }

/* Onglets produit */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  background: var(--ts-bg-warm);
  border-radius: var(--ts-radius-md);
  padding: 6px !important;
  display: inline-flex !important;
  gap: 4px;
  border: 1px solid var(--ts-border);
  list-style: none;
  margin-bottom: var(--ts-space-lg) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-radius: var(--ts-radius-sm) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  padding: 10px 18px !important;
  color: var(--ts-text-muted) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--ts-radius-sm);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background: var(--ts-primary) !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: var(--ts-space-md); }

/* Table specs */
.ts-product-specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ts-product-specs th,
.ts-product-specs td {
  text-align: left;
  padding: 12px 16px;
  border-block-end: 1px solid var(--ts-border);
}
.ts-product-specs th { background: var(--ts-bg-warm); width: 35%; font-weight: 600; color: var(--ts-text); }
.ts-product-specs td { color: var(--ts-text-muted); }

/* Produits liés */
.woocommerce .related.products,
.woocommerce .upsells.products {
  margin-top: var(--ts-space-2xl);
  border-top: 1px solid var(--ts-border);
  padding-top: var(--ts-space-xl);
}
.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
  text-align: center;
  font-family: var(--ts-font-heading);
  font-size: 28px;
  margin-bottom: var(--ts-space-xl);
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--ts-text-muted);
  margin-bottom: var(--ts-space-md);
}
.woocommerce-breadcrumb a { color: var(--ts-primary); text-decoration: none; }

/* Tri & nombre de résultats */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  font-size: 13px;
  color: var(--ts-text-muted);
  margin-bottom: var(--ts-space-md);
}
.woocommerce .woocommerce-ordering select {
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-md);
  padding: 8px 12px;
  font-family: var(--ts-font-body);
  background: #fff;
}

/* Responsive WC */
@media (max-width: 1024px) {
  .woocommerce ul.products { grid-template-columns: 1fr 1fr !important; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .woocommerce ul.products { grid-template-columns: 1fr !important; max-width: 480px; margin-inline: auto !important; }
}

/* ============================================================
   PHASE 4 — FAQ (accordéons natifs <details>)
============================================================ */

.ts-faq {
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: var(--ts-space-md);
}

.ts-faq__item {
  background: #fff;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.ts-faq__item[open],
.ts-faq__item:hover { box-shadow: var(--ts-shadow-card); }
.ts-faq__item[open] { border-color: var(--ts-primary); }

.ts-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ts-space-md);
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--ts-font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--ts-text);
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}
.ts-faq__question::-webkit-details-marker { display: none; }
.ts-faq__question::marker { content: ""; }
.ts-faq__question:hover { background: var(--ts-bg-warm); }

.ts-faq__q-text { flex: 1; line-height: 1.4; }

.ts-faq__chevron {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(26,35,126,0.06);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ts-primary);
  transition: transform 0.3s, background 0.2s;
}
.ts-faq__item[open] .ts-faq__chevron {
  transform: rotate(180deg);
  background: var(--ts-primary);
  color: #fff;
}

.ts-faq__answer {
  padding: 0 26px 24px;
  color: var(--ts-text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  border-top: 1px solid var(--ts-border);
}
.ts-faq__answer p:first-child { padding-top: 16px; }
.ts-faq__answer p:last-child  { margin-bottom: 0; }
.ts-faq__answer a { color: var(--ts-primary); text-decoration: underline; }
.ts-faq__answer strong { color: var(--ts-text); font-weight: 600; }

@media (max-width: 768px) {
  .ts-faq__question { padding: 18px 20px; font-size: 16px; }
  .ts-faq__answer   { padding: 0 20px 20px; font-size: 15px; }
}
