/* ═══════════════════════════════════════════════════
   ÉCHAFAUDAGES COMPARATIF — Design System
   Industrial Precision × Digital Trust
   ═══════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=Figtree:wght@400;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy: #0F1D2F;
  --navy-light: #1A2E47;
  --yellow: #EDAA00;
  --yellow-light: #FFF3D0;
  --yellow-dark: #C48E00;
  --green: #1A6B3C;
  --green-light: #E6F4EC;
  --red: #C4380D;
  --red-light: #FDEAE4;
  --bg: #F4F1EC;
  --bg-warm: #EDE9E1;
  --card: #FFFFFF;
  --text: #1C1C1C;
  --text-mid: #4A4A4A;
  --text-light: #6B6B6B;
  --border: #D4CFC7;
  --border-light: #E8E5DF;
  --shadow-sm: 0 1px 3px rgba(15,29,47,0.06);
  --shadow-md: 0 4px 12px rgba(15,29,47,0.08);
  --shadow-lg: 0 8px 30px rgba(15,29,47,0.12);
  --shadow-xl: 0 16px 50px rgba(15,29,47,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-display: 'Figtree', sans-serif;
  --font-body: 'Atkinson Hyperlegible', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--yellow-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
table { border-collapse: collapse; width: 100%; }

/* ── Accessibility ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--navy);
  color: #fff;
  padding: 12px 24px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-display);
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
*:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p + p { margin-top: 1em; }
.mono { font-family: var(--font-mono); font-size: 0.92em; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--card); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 3px solid var(--yellow);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  text-decoration: none;
}
.header__logo:hover { color: var(--yellow); }
.header__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
}

/* Nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover, .nav__link--active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.nav__link--cta {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  font-weight: 700;
  margin-left: 8px;
}
.nav__link--cta:hover {
  background: var(--yellow-dark) !important;
}

/* Dropdown */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__dropdown-toggle::after {
  content: '▾';
  font-size: 0.75em;
  transition: transform var(--transition);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown:hover .nav__dropdown-toggle::after {
  transform: rotate(180deg);
}
.nav__dropdown-cat {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 10px 12px 4px;
}
.nav__dropdown-item {
  display: block;
  padding: 8px 12px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav__dropdown-item:hover {
  background: var(--yellow-light);
  color: var(--navy);
}
.nav__dropdown-sep {
  height: 1px;
  background: var(--border-light);
  margin: 4px 12px;
}

/* Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(360px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -8px 0 30px rgba(0,0,0,0.3);
  }
  .nav--open { transform: translateX(0); }
  .nav__link { padding: 12px 16px; font-size: 1rem; }
  .nav__dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    min-width: auto;
    display: none;
  }
  .nav__dropdown.open .nav__dropdown-menu { display: block; }
  .nav__dropdown-item { color: rgba(255,255,255,0.8); }
  .nav__dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
  .nav__dropdown-cat { color: rgba(255,255,255,0.5); }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }
  .nav-overlay--visible { opacity: 1; visibility: visible; }
}

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--text-mid); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { margin: 0 8px; color: var(--border); }

/* ── Hero ── */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237,170,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px, var(--yellow) 20px,
    var(--navy) 20px, var(--navy) 40px
  );
}
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(237,170,0,0.15);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(237,170,0,0.3);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--yellow); }
.hero__desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 600px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Product Hero (individual pages) ── */
.product-hero {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 56px;
  position: relative;
}
.product-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0px, var(--yellow) 20px, var(--navy) 20px, var(--navy) 40px);
}
.product-hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.product-hero h1 { color: #fff; margin-bottom: 12px; }
.product-hero__brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--yellow);
  font-size: 0.95rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.product-hero__tagline {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 560px;
}
.product-hero__price-box {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(237,170,0,0.3);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
  min-width: 200px;
}
.product-hero__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
}
.product-hero__price-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.product-hero__old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
  margin-top: 4px;
}
.product-hero__discount {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .product-hero__inner { grid-template-columns: 1fr; }
  .product-hero__price-box { text-align: left; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.btn--primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(237,170,0,0.3);
}
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: #fff;
}
.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }

/* ── Cards ── */
.card {
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card__header {
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  position: relative;
}
.card__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}
.card__type {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 6px;
}
.card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  line-height: 1.3;
}
.card__body { padding: 20px 24px; }
.card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.card__spec-label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  font-weight: 600;
}
.card__spec-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}
.card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
}
.card__price small {
  font-weight: 600;
  font-size: 0.7em;
  color: var(--text-light);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.badge--norm { background: var(--green-light); color: var(--green); }
.badge--france { background: #EEF; color: #2244AA; }
.badge--guarantee { background: var(--yellow-light); color: var(--yellow-dark); }
.badge--promo { background: var(--red); color: #fff; }
.badge--class { background: var(--navy); color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }

/* ── Comparison Table ── */
.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.comparison-wrap:focus-within {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}
.comparison {
  min-width: 900px;
  font-size: 0.92rem;
}
.comparison thead { background: var(--navy); color: #fff; }
.comparison th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  position: sticky;
  top: 0;
}
.comparison td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}
.comparison tbody tr { transition: background var(--transition); }
.comparison tbody tr:hover { background: var(--yellow-light); }
.comparison__name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}
.comparison__name a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
}
.comparison__name a:hover { text-decoration-color: var(--yellow); }
.comparison__price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ── Specs Table (product pages) ── */
.specs-table { width: 100%; }
.specs-table caption {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  text-align: left;
  padding-bottom: 16px;
  color: var(--navy);
}
.specs-table th,
.specs-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.specs-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-mid);
  width: 40%;
  background: var(--bg);
  white-space: nowrap;
}
.specs-table td {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--navy);
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }
.specs-card {
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* ── Trust Section ── */
.trust { background: var(--card); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}
.trust__item {
  padding: 32px 20px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 2px solid var(--border-light);
  transition: all var(--transition);
}
.trust__item:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
}
.trust__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.trust__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.trust__desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Features List (product pages) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.feature-item:hover { border-color: var(--yellow); }
.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--yellow-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ── CTA Section ── */
.cta-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0px, var(--yellow) 20px, var(--navy) 20px, var(--navy) 40px);
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Section Headers ── */
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-mid); font-size: 1.05rem; max-width: 600px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }
.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow-dark);
  margin-bottom: 8px;
  display: block;
}

/* ── Stars ── */
.stars { display: inline-flex; gap: 2px; color: var(--yellow); font-size: 1rem; }
.stars--empty { color: var(--border); }

/* ── Composition list ── */
.composition-list {
  columns: 2;
  column-gap: 32px;
}
.composition-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  break-inside: avoid;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-light);
}
.composition-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__desc { font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }
.footer__links li { margin-bottom: 8px; }
.footer__links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--yellow); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ── Product Page Layout ── */
.product-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.product-sidebar {
  position: sticky;
  top: 100px;
}
.product-sidebar__card {
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}
.product-sidebar__card h3 { margin-bottom: 16px; }
.product-sidebar__card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.sidebar-info:last-child { border-bottom: none; }
.sidebar-info strong { color: var(--navy); }

@media (max-width: 960px) {
  .product-content { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .composition-list { columns: 1; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Category tags ── */
.category-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
}
.category-tag--roulant { background: #E8F0FE; color: #1A56DB; }
.category-tag--fixe { background: #FEF3E2; color: #B45309; }
.category-tag--facadier { background: #E6F4EC; color: #1A6B3C; }
.category-tag--macon { background: #F3E8FF; color: #7C3AED; }
.category-tag--jardin { background: #ECFDF5; color: #059669; }
.category-tag--telescopique { background: #FEE2E2; color: #DC2626; }

/* ── Utility ── */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-small { font-size: 0.88rem; }
.text-muted { color: var(--text-light); }

/* ── Logo image ── */
.header__logo-img {
  height: 38px;
  width: auto;
  border-radius: var(--radius-sm);
}

/* ── Product image ── */
.product-img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  margin: 24px 0;
}
.product-img--hero {
  max-width: 320px;
  border-color: rgba(255,255,255,0.15);
}

/* ── Guide image cards (text + image side by side) ── */
.guide-img-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 32px 0;
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.guide-img-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
}
.guide-img-card--reverse { direction: rtl; }
.guide-img-card--reverse > * { direction: ltr; }
.guide-img-card__visual {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}
.guide-img-card__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.guide-img-card:hover .guide-img-card__visual img {
  transform: scale(1.04);
}
.guide-img-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.guide-img-card__text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-img-card__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow-dark);
  margin-bottom: 8px;
}
.guide-img-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.guide-img-card__desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}
.guide-img-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
}
.guide-img-card__link:hover { color: var(--yellow-dark); gap: 10px; }
.guide-img-card__link::after { content: '→'; }

@media (max-width: 700px) {
  .guide-img-card,
  .guide-img-card--reverse { grid-template-columns: 1fr; direction: ltr; }
  .guide-img-card__visual { min-height: 200px; }
  .guide-img-card__text { padding: 24px; }
}

/* ── Figure with caption (standalone images) ── */
.guide-figure {
  margin: 32px 0;
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.guide-figure:hover { border-color: var(--yellow); }
.guide-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.guide-figure figcaption {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-mid);
  background: var(--bg);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.guide-figure figcaption a {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.guide-figure figcaption a:hover { color: var(--yellow-dark); }

/* ── Guide / Article content ── */
.guide { padding: 60px 0; }
.guide__content {
  max-width: 820px;
  margin: 0 auto;
}
.guide__content h2 {
  margin-top: 56px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 2px solid var(--border-light);
}
.guide__content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.guide__content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--navy);
}
.guide__content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.8;
}
.guide__content > p:first-child {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
}

/* Guide tables */
.guide-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
}
.guide-table {
  width: 100%;
  min-width: 500px;
  font-size: 0.92rem;
  border-collapse: collapse;
}
.guide-table thead { background: var(--navy); color: #fff; }
.guide-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.guide-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}
.guide-table tbody tr:last-child td { border-bottom: none; }
.guide-table tbody tr:hover { background: var(--yellow-light); }

/* Guide lists */
.guide-list {
  margin: 16px 0 24px;
  padding-left: 0;
}
.guide-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}
.guide-list li:last-child { border-bottom: none; }
.guide-list li::before {
  content: '→';
  position: absolute;
  left: 4px;
  color: var(--yellow-dark);
  font-weight: 700;
}

/* FAQ */
.faq-item {
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 16px;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--yellow); }
.faq-item h3 {
  margin-top: 0 !important;
  margin-bottom: 12px;
  font-size: 1.1rem;
}
.faq-item p { margin-bottom: 0; }
.faq-item p + p { margin-top: 12px; }

/* Brand ranking */
.brand-ranking {
  counter-reset: brand;
  margin: 24px 0;
}
.brand-ranking li {
  counter-increment: brand;
  padding: 12px 16px 12px 52px;
  position: relative;
  background: var(--card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  transition: border-color var(--transition);
}
.brand-ranking li:hover { border-color: var(--yellow); }
.brand-ranking li::before {
  content: counter(brand);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Print ── */
@media print {
  .header, .footer, .cta-section, .nav-toggle, .nav-overlay, .btn { display: none !important; }
  body { font-size: 12pt; background: #fff; }
  .hero, .product-hero { background: #f0f0f0 !important; color: #000 !important; padding: 20px 0; }
  .hero h1, .product-hero h1 { color: #000 !important; }
}
