/**
 * ═══════════════════════════════════════════════════════════════
 *  Achète ton Tel — Design System v4.0
 *  Référence : charte-graphique-achete-ton-tel-v2.md (Benjamin)
 *  Date : avril 2026
 *
 *  Principes :
 *   • Aplats francs, zéro dégradé d'interface
 *   • Bleu dominant, vert secondaire, gris discret
 *   • Inter uniquement, lisibilité nette
 *   • Premium accessible, Apple-like, sobre
 * ═══════════════════════════════════════════════════════════════
 */

/* ============================================================
   0. FONT IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,600&display=swap');

/* ============================================================
   1. DESIGN TOKENS (Variables CSS)
   ============================================================ */
:root {
  /* ── Brand ── */
  --att-color-primary:       #086CCD;
  --att-color-primary-hover:  #4BADF5;
  --att-color-primary-dark:   #065BAD;
  --att-color-primary-bg:     rgba(8, 108, 205, 0.08);
  --att-color-secondary:      #1E9668;
  --att-color-secondary-bg:   rgba(30, 150, 104, 0.08);
  --att-color-accent:         #A2CC1F;
  --att-color-muted:          #929292;

  /* ── Neutrals ── */
  --att-color-white:          #FFFFFF;
  --att-color-bg:             #FFFFFF;
  --att-color-surface:        #F7F9FC;
  --att-color-surface-strong: #EEF4F9;
  --att-color-border:         #E7EDF3;
  --att-color-border-strong:  #D5E0EA;
  --att-color-text:           #1B1F23;
  --att-color-text-secondary: #5F6B76;
  --att-color-text-muted:     #7C8894;
  --att-color-dark:           #10151A;

  /* ── Semantic ── */
  --att-color-success:        #1E9668;
  --att-color-success-bg:     rgba(30, 150, 104, 0.10);
  --att-color-info:           #086CCD;
  --att-color-info-bg:        rgba(8, 108, 205, 0.10);
  --att-color-warning:        #B7791F;
  --att-color-warning-bg:     #FFF7E8;
  --att-color-danger:         #C53B3B;
  --att-color-danger-bg:      #FFF1F1;
  --att-color-error:          #C53B3B;
  --att-color-error-bg:       #FFF1F1;

  /* ── RGB helpers ── */
  --att-rgb-primary:   8, 108, 205;
  --att-rgb-secondary: 30, 150, 104;
  --att-rgb-primary-hover: 75, 173, 245;

  /* ── Typography ── */
  --att-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --att-font-mono:   'SF Mono', Monaco, 'Courier New', monospace;

  --att-fs-xs:   0.75rem;   /* 12px */
  --att-fs-sm:   0.875rem;  /* 14px */
  --att-fs-base: 1rem;      /* 16px */
  --att-fs-lg:   1.125rem;  /* 18px */
  --att-fs-xl:   1.25rem;   /* 20px */
  --att-fs-2xl:  1.5rem;    /* 24px */
  --att-fs-3xl:  1.875rem;  /* 30px */
  --att-fs-4xl:  2.25rem;   /* 36px */
  --att-fs-5xl:  3rem;      /* 48px */

  --att-fw-regular:  400;
  --att-fw-medium:   500;
  --att-fw-semibold: 600;
  --att-fw-bold:     700;

  --att-lh-tight:   1.15;
  --att-lh-base:    1.5;
  --att-lh-relaxed: 1.65;

  /* ── Spacing (4px base) ── */
  --att-sp-1:  0.25rem;
  --att-sp-2:  0.5rem;
  --att-sp-3:  0.75rem;
  --att-sp-4:  1rem;
  --att-sp-5:  1.25rem;
  --att-sp-6:  1.5rem;
  --att-sp-8:  2rem;
  --att-sp-10: 2.5rem;
  --att-sp-12: 3rem;
  --att-sp-16: 4rem;
  --att-sp-20: 5rem;
  --att-sp-24: 6rem;

  /* ── Radius ── */
  --att-radius-xs:   6px;
  --att-radius-sm:   8px;
  --att-radius-md:   12px;
  --att-radius-lg:   16px;
  --att-radius-xl:   20px;
  --att-radius-2xl:  24px;
  --att-radius-pill: 9999px;

  /* ── Shadows (subtle, blue-tinted) ── */
  --att-shadow-xs:  0 1px 3px rgba(16, 21, 26, 0.04);
  --att-shadow-sm:  0 2px 8px rgba(8, 108, 205, 0.06);
  --att-shadow-md:  0 8px 24px rgba(8, 108, 205, 0.10);
  --att-shadow-lg:  0 16px 40px rgba(16, 21, 26, 0.12);
  --att-shadow-xl:  0 24px 56px rgba(16, 21, 26, 0.16);

  /* ── Transitions ── */
  --att-ease-fast: 150ms ease;
  --att-ease-base: 220ms ease;
  --att-ease-slow: 320ms ease;
  --att-ease-smooth: 400ms cubic-bezier(0.25, 0.1, 0.25, 1);

  /* ── Z-Index ── */
  --att-z-dropdown:  100;
  --att-z-sticky:    200;
  --att-z-fixed:     300;
  --att-z-backdrop:  400;
  --att-z-modal:     500;
  --att-z-tooltip:   700;
  --att-z-toast:     900;

  /* ── Layout ── */
  --att-container:        1200px;
  --att-container-narrow:  800px;
  --att-container-wide:   1400px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--att-font-family);
  font-size: var(--att-fs-base);
  line-height: var(--att-lh-base);
  color: var(--att-color-text);
  background: var(--att-color-bg);
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--att-fw-semibold);
  line-height: var(--att-lh-tight);
  letter-spacing: -0.02em;
  color: var(--att-color-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: var(--att-fs-xl); }
h5 { font-size: var(--att-fs-lg); }
h6 { font-size: var(--att-fs-base); }

p {
  color: var(--att-color-text-secondary);
}

/* Text helpers */
.text-xs   { font-size: var(--att-fs-xs); }
.text-sm   { font-size: var(--att-fs-sm); }
.text-small { font-size: var(--att-fs-sm); }
.text-base { font-size: var(--att-fs-base); }
.text-lg   { font-size: var(--att-fs-lg); }
.text-xl   { font-size: var(--att-fs-xl); }
.text-2xl  { font-size: var(--att-fs-2xl); }

.text-display {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: var(--att-fw-bold);
  letter-spacing: -0.03em;
}

.text-lead {
  font-size: var(--att-fs-xl);
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
}

.text-caption {
  font-size: var(--att-fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--att-fw-semibold);
}

.text-primary { color: var(--att-color-primary); }
.text-success { color: var(--att-color-secondary); }
.text-warning { color: var(--att-color-warning); }
.text-error   { color: var(--att-color-danger); }
.text-muted   { color: var(--att-color-text-muted); }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.font-normal   { font-weight: var(--att-fw-regular); }
.font-medium   { font-weight: var(--att-fw-medium); }
.font-semibold { font-weight: var(--att-fw-semibold); }
.font-bold     { font-weight: var(--att-fw-bold); }

/* ============================================================
   4. LINKS
   ============================================================ */
a {
  color: var(--att-color-primary);
  text-decoration: none;
  transition: color var(--att-ease-fast);
}

a:hover {
  color: var(--att-color-primary-hover);
}

.link {
  color: var(--att-color-primary);
  border-bottom: 1px solid transparent;
  transition: border-color var(--att-ease-fast), color var(--att-ease-fast);
}

.link:hover {
  border-bottom-color: currentColor;
}

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--att-container);
  margin-inline: auto;
  padding-inline: var(--att-sp-6);
}

.container--narrow { max-width: var(--att-container-narrow); }
.container--wide   { max-width: var(--att-container-wide); }

.section {
  padding: var(--att-sp-20) 0;
}

.section--alt {
  background: var(--att-color-surface);
}

.section--dark {
  background: var(--att-color-dark);
  color: var(--att-color-white);
}

.section--blue {
  background: var(--att-color-surface);
  color: var(--att-color-text);
}

.section--blue .section__title {
  color: var(--att-color-text);
}

.section--blue .section__subtitle {
  color: var(--att-color-text-secondary);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--att-sp-12);
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--att-sp-4);
}

.section__subtitle {
  font-size: var(--att-fs-lg);
  color: var(--att-color-text-secondary);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--att-sp-8);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3-1 { grid-template-columns: 2fr 1fr; }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: var(--att-sp-12) 0; }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--3-1 {
    grid-template-columns: 1fr;
  }
}

/* Flex utilities */
.flex         { display: flex; }
.flex-wrap    { flex-wrap: wrap; }
.flex-col     { flex-direction: column; }
.items-center { align-items: center; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--att-sp-2); }
.gap-4 { gap: var(--att-sp-4); }
.gap-6 { gap: var(--att-sp-6); }
.gap-8 { gap: var(--att-sp-8); }

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: var(--att-z-sticky);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--att-color-border);
  transition: box-shadow var(--att-ease-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--att-container);
  margin-inline: auto;
  padding-inline: var(--att-sp-6);
  gap: var(--att-sp-4);
  transition: height var(--att-ease-base);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--att-sp-8);
}

.header__nav a {
  position: relative;
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text-secondary);
  padding: var(--att-sp-2) 0;
  transition: color var(--att-ease-fast);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--att-color-secondary);
  border-radius: var(--att-radius-pill);
  transition: width var(--att-ease-smooth);
}

.header__nav a:hover {
  color: var(--att-color-secondary);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__nav a.active,
.header__nav a[aria-current='page'] {
  color: var(--att-color-primary);
  font-weight: var(--att-fw-semibold);
}

.header__nav a.active::after,
.header__nav a[aria-current='page']::after {
  width: 100%;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--att-sp-3);
}

.header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--att-radius-sm);
  transition: background var(--att-ease-fast);
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.header__toggle:hover {
  background: var(--att-color-surface);
}

/* Animated hamburger lines */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--att-color-text);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.25s ease;
  transform-origin: center;
}

.header__toggle.is-open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.header__toggle.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav — full-screen overlay */
@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }

  .header__inner {
    height: 64px;
  }

  .header__nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--att-sp-3);
    background: var(--att-color-white);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: var(--att-sp-8);
  }

  .header__nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav a {
    padding: var(--att-sp-3) var(--att-sp-6);
    width: auto;
    font-size: clamp(1.25rem, 5vw, 1.75rem);
    font-weight: var(--att-fw-semibold);
    color: var(--att-color-text);
    text-decoration: none;
    border-bottom: none;
    opacity: 0;
    transform: translateY(16px);
    transition: color var(--att-ease-fast);
  }

  .header__nav.active a {
    opacity: 1;
    transform: translateY(0);
    animation: att-navItemIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(var(--i, 0) * 0.06s + 0.12s);
  }

  .header__nav a:hover,
  .header__nav a.active {
    color: var(--att-color-primary);
  }

  .header__nav a::after {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header {
    z-index: 9999;
    background: var(--att-color-white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header__toggle {
    display: flex;
    z-index: 9999;
  }
}

@keyframes att-navItemIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop — prevent mobile bleeding */
@media (min-width: 769px) {
  .header__nav {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-bottom: none !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    inset: auto !important;
    z-index: auto !important;
  }

  .header__nav a {
    padding: var(--att-sp-2) 0 !important;
    border-bottom: none;
    width: auto !important;
    font-size: var(--att-fs-sm) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .header__toggle {
    display: none !important;
  }
}

/* ============================================================
   7. HERO
   Charte : aplats francs, pas de dégradé.
   Hero blanc fond clair, texte sombre.
   ============================================================ */
.hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--att-color-white);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--att-sp-12);
  align-items: center;
}

.hero__content {
  text-align: left;
  animation: att-fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: 0.4rem 1rem;
  border-radius: var(--att-radius-pill);
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-6);
}

.hero__badge i {
  color: var(--att-color-accent);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: var(--att-fw-bold);
  margin-bottom: var(--att-sp-5);
  color: var(--att-color-text);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.hero__accent {
  color: var(--att-color-primary);
}

.hero__subtitle {
  font-size: var(--att-fs-lg);
  color: var(--att-color-text-secondary);
  max-width: 480px;
  margin-bottom: var(--att-sp-8);
  line-height: var(--att-lh-relaxed);
}

.hero__cta {
  display: flex;
  gap: var(--att-sp-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--att-sp-10);
  margin-top: var(--att-sp-10);
  padding-top: var(--att-sp-8);
  border-top: 1px solid var(--att-color-border);
}

.hero__stat {
  text-align: left;
}

.hero__stat strong {
  display: block;
  font-size: var(--att-fs-2xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-text);
  line-height: 1.2;
}

.hero__stat span {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}

.hero__stat i {
  color: #F59E0B;
  font-size: 0.65rem;
}

/* Hero visual — phone illustration */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: att-fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__phone {
  position: relative;
  width: 260px;
}

.hero__phone-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.18));
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: 0.5rem 1rem;
  border-radius: var(--att-radius-pill);
  background: var(--att-color-white);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  white-space: nowrap;
  animation: att-float 3s ease-in-out infinite;
}

.hero__float i {
  font-size: 0.85rem;
}

.hero__float--1 {
  top: 15%;
  right: -30px;
  color: var(--att-color-secondary);
  animation-delay: 0s;
}

.hero__float--1 i { color: var(--att-color-secondary); }

.hero__float--2 {
  top: 50%;
  left: -40px;
  color: var(--att-color-primary);
  animation-delay: 1s;
}

.hero__float--2 i { color: var(--att-color-primary); }

.hero__float--3 {
  bottom: 18%;
  right: -20px;
  color: var(--att-color-warning);
  animation-delay: 2s;
}

.hero__float--3 i { color: var(--att-color-warning); }

/* Hero decorative pattern */
.hero__pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background:
    radial-gradient(circle at 20% 30%, rgba(8, 108, 205, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(30, 150, 104, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--att-sp-10) 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
    gap: var(--att-sp-6);
  }

  .hero__stat {
    text-align: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__phone {
    width: 180px;
  }

  .hero__float {
    display: none;
  }
}

/* ============================================================
   8. BUTTONS
   Charte : CTA principaux = bleu, pill, sobres, ombre discrète.
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--att-radius-pill);
  font-weight: var(--att-fw-semibold);
  font-size: var(--att-fs-sm);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--att-ease-base),
    border-color var(--att-ease-base),
    color var(--att-ease-base),
    box-shadow var(--att-ease-base),
    transform var(--att-ease-base);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Primary — blue */
.btn--primary {
  background: var(--att-color-primary);
  color: var(--att-color-white);
  box-shadow: 0 4px 12px rgba(8, 108, 205, 0.25);
}

.btn--primary:hover:not(:disabled) {
  background: var(--att-color-primary-hover);
  color: var(--att-color-white);
  box-shadow: 0 8px 24px rgba(8, 108, 205, 0.3);
}

/* Secondary — outline blue */
.btn--secondary {
  background: transparent;
  color: var(--att-color-primary);
  border-color: var(--att-color-primary);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--att-color-primary-bg);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--att-color-primary);
  border-color: var(--att-color-primary);
}

.btn--outline:hover:not(:disabled) {
  background: var(--att-color-primary);
  color: var(--att-color-white);
}

/* Ghost */
.btn--ghost {
  background: var(--att-color-surface);
  color: var(--att-color-primary);
  border-color: var(--att-color-border);
}

.btn--ghost:hover:not(:disabled) {
  background: var(--att-color-surface-strong);
}

/* Success — green */
.btn--success {
  background: var(--att-color-secondary);
  color: var(--att-color-white);
}

.btn--success:hover:not(:disabled) {
  filter: brightness(1.08);
  color: var(--att-color-white);
}

/* Danger — red */
.btn--danger {
  background: var(--att-color-danger);
  color: var(--att-color-white);
}

.btn--danger:hover:not(:disabled) {
  filter: brightness(1.08);
  color: var(--att-color-white);
}

/* White */
.btn--white {
  background: var(--att-color-white);
  color: var(--att-color-primary);
  font-weight: var(--att-fw-bold);
}

.btn--white:hover:not(:disabled) {
  background: var(--att-color-surface);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* Outline white — for blue backgrounds */
.btn--outline-white {
  background: transparent;
  color: var(--att-color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--att-color-white);
  color: var(--att-color-white);
}

/* Sizes */
.btn--xs   { min-height: 32px; padding: 0.25rem 0.75rem; font-size: var(--att-fs-xs); }
.btn--sm   { min-height: 40px; padding: 0.5rem 1rem;     font-size: var(--att-fs-sm); }
.btn--lg,
.btn--large { min-height: 56px; padding: 1rem 2rem;      font-size: var(--att-fs-base); }
.btn--xl   { min-height: 60px; padding: 1rem 2.5rem;     font-size: var(--att-fs-lg); }

/* Modifiers */
.btn--block,
.btn--full { width: 100%; }
.btn--icon { padding: 0.75rem; border-radius: var(--att-radius-pill); }

/* ============================================================
   9. CARDS
   Charte : fond blanc, bordure légère, ombre discrète, angles modérés.
   ============================================================ */
.card {
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  box-shadow: var(--att-shadow-xs);
  overflow: hidden;
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth), border-color var(--att-ease-smooth);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--att-shadow-md);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body {
  padding: var(--att-sp-6);
}

.card__header {
  padding: var(--att-sp-5) var(--att-sp-6);
  border-bottom: 1px solid var(--att-color-border);
  font-weight: var(--att-fw-semibold);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__title {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-2);
  color: var(--att-color-text);
}

.card__subtitle {
  font-size: var(--att-fs-base);
  color: var(--att-color-primary);
  font-weight: var(--att-fw-semibold);
}

.card__text {
  color: var(--att-color-text-secondary);
  font-size: var(--att-fs-sm);
  line-height: var(--att-lh-relaxed);
}

.card__meta {
  margin-top: var(--att-sp-4);
  color: var(--att-color-text-muted);
  font-size: var(--att-fs-sm);
}

/* Variants */
.card--icon {
  text-align: center;
  padding: var(--att-sp-8);
}

.card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--att-sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--att-color-primary-bg);
  border-radius: var(--att-radius-lg);
  color: var(--att-color-primary);
  font-size: var(--att-fs-2xl);
  transition: background var(--att-ease-smooth), color var(--att-ease-smooth), transform var(--att-ease-smooth);
}

.card--icon:hover .card__icon {
  background: var(--att-color-primary);
  color: var(--att-color-white);
  transform: scale(1.08);
}

/* Variante verte pour mots de statut dans card titles */
.card--green .card__icon {
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
}
.card--green:hover .card__icon {
  background: var(--att-color-primary);
  color: var(--att-color-white);
}

.card--clickable {
  cursor: pointer;
}

.card--bordered {
  box-shadow: none;
}

.card--bordered:hover {
  border-color: rgba(var(--att-rgb-primary), 0.3);
}

.card--elevated {
  box-shadow: var(--att-shadow-md);
}

.card--elevated:hover {
  box-shadow: var(--att-shadow-lg);
}

.card--stat {
  text-align: center;
  padding: var(--att-sp-6);
}

/* ============================================================
   10. FORMS
   Charte : fond blanc, bordure neutre, focus bleu, aide gris.
   ============================================================ */
.form-group {
  margin-bottom: var(--att-sp-5);
}

.form-label {
  display: block;
  margin-bottom: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text);
}

.form-label--required::after {
  content: ' *';
  color: var(--att-color-danger);
}

.form-input,
.form-control,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  font-size: var(--att-fs-base);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border-strong);
  border-radius: var(--att-radius-md);
  color: var(--att-color-text);
  transition: border-color var(--att-ease-fast), box-shadow var(--att-ease-fast);
}

.form-input:focus,
.form-control:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--att-color-primary-hover);
  box-shadow: 0 0 0 3px rgba(var(--att-rgb-primary-hover), 0.18);
}

.form-input::placeholder,
.form-control::placeholder,
.form-textarea::placeholder {
  color: var(--att-color-text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F6B76' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-hint {
  margin-top: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
}

.form-error {
  display: flex;
  align-items: center;
  gap: var(--att-sp-2);
  margin-top: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  color: var(--att-color-danger);
}

/* Error state */
.form-group--error .form-input,
.form-group--error .form-select,
.form-group--error .form-textarea,
.form-input--error {
  border-color: var(--att-color-danger);
  box-shadow: 0 0 0 3px rgba(197, 59, 59, 0.12);
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--att-sp-3);
  cursor: pointer;
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--att-color-primary);
}

.form-check-label {
  font-size: var(--att-fs-base);
  color: var(--att-color-text);
  line-height: 1.4;
}

/* Toggle Switch */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-3);
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider,
.toggle__track {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--att-color-border-strong);
  border-radius: 14px;
  transition: background var(--att-ease-fast);
  flex-shrink: 0;
}

.toggle__slider::before,
.toggle__thumb {
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: var(--att-color-white);
  border-radius: 50%;
  box-shadow: var(--att-shadow-xs);
  transition: transform var(--att-ease-smooth);
}

.toggle input:checked + .toggle__slider,
.toggle input:checked + .toggle__track {
  background: var(--att-color-primary);
}

.toggle input:checked + .toggle__slider::before,
.toggle input:checked + .toggle__track .toggle__thumb {
  transform: translateX(24px);
}

/* ============================================================
   11. BADGES
   Charte : bleu pour info, vert pour positif, gris pour secondaire.
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 26px;
  padding: 0.25rem 0.75rem;
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  border-radius: var(--att-radius-pill);
  white-space: nowrap;
}

.badge--primary { background: var(--att-color-info-bg); color: var(--att-color-primary); }
.badge--info    { background: rgba(75, 173, 245, 0.12); color: var(--att-color-primary-hover); }
.badge--success { background: var(--att-color-success-bg); color: var(--att-color-secondary); }
.badge--warning { background: var(--att-color-warning-bg); color: var(--att-color-warning); }
.badge--error   { background: var(--att-color-error-bg); color: var(--att-color-danger); }
.badge--gray,
.badge--muted   { background: var(--att-color-surface-strong); color: var(--att-color-text-secondary); }
.badge--accent  { background: rgba(162, 204, 31, 0.14); color: #5E7E00; }

/* Dynamic status variants (order/repair tracking) */
.badge--pending    { background: var(--att-color-warning-bg); color: var(--att-color-warning); }
.badge--confirmed  { background: var(--att-color-info-bg); color: var(--att-color-primary); }
.badge--shipped,
.badge--in_progress,
.badge--processing { background: rgba(75, 173, 245, 0.12); color: var(--att-color-primary-hover); }
.badge--delivered,
.badge--completed  { background: var(--att-color-success-bg); color: var(--att-color-secondary); }
.badge--cancelled  { background: var(--att-color-error-bg); color: var(--att-color-danger); }

.badge--pill {
  padding: 0.5rem 1rem;
  font-size: var(--att-fs-sm);
  background: var(--att-color-white);
  color: var(--att-color-text);
  border: 1px solid var(--att-color-border);
  box-shadow: var(--att-shadow-xs);
}

/* Trust / reassurance badges — neutral per charte §5.1 */
.hero__trust .badge {
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  color: var(--att-color-text);
  font-weight: var(--att-fw-semibold);
  box-shadow: var(--att-shadow-xs);
}

.hero__trust .badge i {
  color: var(--att-color-primary);
}

.badge--dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ============================================================
   12. ALERTS
   Charte : info=bleu, succès=vert, warning=ambre, erreur=rouge.
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--att-sp-4);
  padding: var(--att-sp-4) var(--att-sp-6);
  border-radius: var(--att-radius-md);
  font-size: var(--att-fs-sm);
  border: 1px solid transparent;
}

.alert__icon {
  flex-shrink: 0;
  font-size: var(--att-fs-lg);
}

.alert__content {
  flex: 1;
}

.alert__title {
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-1);
}

.alert--info    { background: var(--att-color-info-bg);    border-color: rgba(var(--att-rgb-primary), 0.18); color: #1E55A0; }
.alert--success { background: var(--att-color-success-bg); border-color: rgba(var(--att-rgb-secondary), 0.18); color: #166534; }
.alert--warning { background: var(--att-color-warning-bg); border-color: rgba(183, 121, 31, 0.25); color: #92400E; }
.alert--error,
.alert--danger  { background: var(--att-color-error-bg);   border-color: rgba(197, 59, 59, 0.18); color: #991B1B; }

/* ============================================================
   13. TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: var(--att-sp-1);
  border-bottom: 1px solid var(--att-color-border);
  margin-bottom: var(--att-sp-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tabs__item {
  padding: 0.875rem 1.25rem;
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--att-ease-fast), border-color var(--att-ease-fast);
  margin-bottom: -1px;
}

.tabs__item:hover {
  color: var(--att-color-text);
}

.tabs__item.active,
.tabs__item.is-active {
  color: var(--att-color-primary);
  border-bottom-color: var(--att-color-primary);
}

.tabs__content {
  display: none;
}

.tabs__content.active {
  display: block;
  animation: att-fadeIn var(--att-ease-slow);
}

/* ============================================================
   14. ACCORDION
   ============================================================ */
.accordion {
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  overflow: hidden;
}

.accordion__item {
  border-bottom: 1px solid var(--att-color-border);
}

.accordion__item:last-child {
  border-bottom: none;
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--att-sp-5) var(--att-sp-6);
  font-size: var(--att-fs-base);
  font-weight: var(--att-fw-medium);
  background: var(--att-color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--att-ease-fast);
}

.accordion__header:hover {
  background: var(--att-color-surface);
}

.accordion__icon {
  font-size: var(--att-fs-sm);
  transition: transform var(--att-ease-smooth);
  flex-shrink: 0;
}

.accordion__item.active .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  display: none;
  padding: 0 var(--att-sp-6) var(--att-sp-5);
  color: var(--att-color-text-secondary);
  font-size: var(--att-fs-sm);
  line-height: var(--att-lh-relaxed);
}

.accordion__item.active .accordion__content {
  display: block;
  animation: att-slideDown var(--att-ease-smooth);
}

/* ============================================================
   15. MODAL
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: var(--att-z-backdrop);
  opacity: 0;
  visibility: hidden;
  transition: all var(--att-ease-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  background: var(--att-color-white);
  border-radius: var(--att-radius-xl);
  box-shadow: var(--att-shadow-xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: auto;
  z-index: var(--att-z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--att-ease-smooth);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--att-sp-6);
  border-bottom: 1px solid var(--att-color-border);
}

.modal__title {
  font-size: var(--att-fs-xl);
  font-weight: var(--att-fw-semibold);
}

.modal__close {
  background: none;
  border: none;
  font-size: var(--att-fs-xl);
  cursor: pointer;
  color: var(--att-color-text-muted);
  padding: var(--att-sp-2);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--att-ease-fast);
}

.modal__close:hover {
  color: var(--att-color-text);
}

.modal__body {
  padding: var(--att-sp-6);
}

.modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--att-sp-3);
  padding: var(--att-sp-6);
  border-top: 1px solid var(--att-color-border);
}

/* ============================================================
   16. TOOLTIP
   ============================================================ */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip__content {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: var(--att-sp-2) var(--att-sp-3);
  background: var(--att-color-dark);
  color: var(--att-color-white);
  font-size: var(--att-fs-xs);
  border-radius: var(--att-radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--att-ease-fast);
  z-index: var(--att-z-tooltip);
}

.tooltip__content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--att-color-dark);
}

.tooltip:hover .tooltip__content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   17. PROGRESS
   ============================================================ */
.progress {
  height: 8px;
  background: var(--att-color-border);
  border-radius: var(--att-radius-pill);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  background: var(--att-color-primary);
  border-radius: var(--att-radius-pill);
  transition: width var(--att-ease-smooth);
}

.progress--success .progress__bar { background: var(--att-color-secondary); }
.progress--warning .progress__bar { background: var(--att-color-warning); }

/* ============================================================
   18. STEPS
   ============================================================ */
.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: var(--att-sp-8);
}

.steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--att-color-border);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}

.step__number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--att-color-primary-bg);
  border: 2px solid var(--att-color-primary);
  border-radius: var(--att-radius-pill);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  margin-bottom: var(--att-sp-3);
  transition: all var(--att-ease-smooth);
}

.step__label {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
  text-align: center;
  font-weight: var(--att-fw-medium);
}

.step.active .step__number {
  background: var(--att-color-primary);
  border-color: var(--att-color-primary);
  color: var(--att-color-white);
}

.step.active .step__label {
  color: var(--att-color-primary);
  font-weight: var(--att-fw-medium);
}

.step.completed .step__number {
  background: var(--att-color-secondary);
  border-color: var(--att-color-secondary);
  color: var(--att-color-white);
}

/* ============================================================
   19. STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--att-sp-6);
}

.stat {
  text-align: center;
  padding: var(--att-sp-6);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
}

.stat__number,
.stat__value {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  line-height: 1;
}

.stat__label {
  margin-top: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}

@media (max-width: 768px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   20. PRICING CARD
   ============================================================ */
.pricing-card {
  position: relative;
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-xl);
  padding: var(--att-sp-8);
  text-align: center;
  box-shadow: var(--att-shadow-xs);
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--att-shadow-lg);
}

.pricing-card--featured {
  border-color: rgba(var(--att-rgb-primary), 0.3);
  box-shadow: var(--att-shadow-md);
}

.pricing-card--featured::before {
  content: 'Populaire';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--att-color-primary);
  color: var(--att-color-white);
  padding: 0.25rem 1rem;
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  border-radius: var(--att-radius-pill);
}

.pricing-card__title {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-2);
}

.pricing-card__price {
  margin: var(--att-sp-4) 0 var(--att-sp-6);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  line-height: 1;
}

.pricing-card__price span {
  font-size: var(--att-fs-base);
  font-weight: var(--att-fw-regular);
  color: var(--att-color-text-muted);
}

.pricing-card__features {
  margin-bottom: var(--att-sp-8);
}

.pricing-card__features li {
  padding: var(--att-sp-3) 0;
  border-bottom: 1px solid var(--att-color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--att-sp-2);
}

.pricing-card__features li i {
  color: var(--att-color-secondary);
}

/* ============================================================
   21. PRODUCT CATALOGUE
   ============================================================ */

/* Page header (legacy fallback) */
.page-header {
  padding: var(--att-sp-10) 0 var(--att-sp-8);
  background: var(--att-color-surface);
  color: var(--att-color-text);
  text-align: center;
  border-bottom: 1px solid var(--att-color-border);
}

.page-header h1 {
  margin-bottom: var(--att-sp-3);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--att-color-text);
}

.page-header p {
  font-size: var(--att-fs-base);
  color: var(--att-color-text-secondary);
  max-width: 600px;
  margin-inline: auto;
}

/* ============================================================
   PAGE INTRO — Rich visual intro for all pages
   ============================================================ */
.page-intro {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--att-color-white);
  position: relative;
  overflow: hidden;
}

.page-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--att-sp-10);
  align-items: center;
}

.page-intro__content {
  animation: att-fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--att-radius-pill);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-5);
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
}

.page-intro h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: var(--att-fw-bold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--att-color-text);
  margin-bottom: var(--att-sp-4);
}

.page-intro p {
  font-size: var(--att-fs-lg);
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
  max-width: 520px;
}

.page-intro__pills {
  display: flex;
  gap: var(--att-sp-3);
  flex-wrap: wrap;
  margin-top: var(--att-sp-6);
}

.page-intro__pill {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--att-radius-pill);
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  background: var(--att-color-surface);
  color: var(--att-color-text-secondary);
  border: 1px solid var(--att-color-border);
}

.page-intro__pill i {
  color: var(--att-color-secondary);
  font-size: 0.7rem;
}

/* Visual — Icon Grid */
.page-intro__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: att-fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.page-intro__icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--att-sp-4);
}

.page-intro__icon-item {
  width: 100px;
  height: 100px;
  border-radius: var(--att-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-intro__icon-item:nth-child(1) {
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
}

.page-intro__icon-item:nth-child(2) {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

.page-intro__icon-item:nth-child(3) {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
}

.page-intro__icon-item:nth-child(4) {
  background: rgba(162, 204, 31, 0.08);
  color: #6B8F14;
}

.page-intro__icon-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Visual — Floating Cards Stack */
.page-intro__icon-stack {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-4);
  align-items: center;
}

.page-intro__floating-card {
  display: flex;
  align-items: center;
  gap: var(--att-sp-3);
  padding: var(--att-sp-4) var(--att-sp-6);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  font-weight: var(--att-fw-semibold);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text);
  animation: att-float 3s ease-in-out infinite;
  min-width: 180px;
}

.page-intro__floating-card:nth-child(1) { animation-delay: 0s; }
.page-intro__floating-card:nth-child(2) { animation-delay: 0.8s; transform: translateX(30px); }
.page-intro__floating-card:nth-child(3) { animation-delay: 1.6s; transform: translateX(-15px); }

.page-intro__floating-card i {
  width: 36px;
  height: 36px;
  border-radius: var(--att-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.page-intro__floating-card:nth-child(1) i {
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
}

.page-intro__floating-card:nth-child(2) i {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

.page-intro__floating-card:nth-child(3) i {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
}

/* Decorative background per page */
.page-intro::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
  z-index: 0;
}

.page-intro__grid {
  position: relative;
  z-index: 1;
}

.page-intro--catalogue::after {
  background: radial-gradient(circle at 70% 40%, rgba(8, 108, 205, 0.04) 0%, transparent 60%);
}

.page-intro--faq::after {
  background: radial-gradient(circle at 60% 50%, rgba(30, 150, 104, 0.04) 0%, transparent 60%);
}

.page-intro--contact::after {
  background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
}

.page-intro--blog::after {
  background: radial-gradient(circle at 50% 60%, rgba(162, 204, 31, 0.04) 0%, transparent 60%);
}

.page-intro--brands::after {
  background: radial-gradient(circle at 60% 40%, rgba(8, 108, 205, 0.04) 0%, transparent 60%);
}

.page-intro--lld::after {
  background: radial-gradient(circle at 70% 50%, rgba(30, 150, 104, 0.04) 0%, transparent 60%);
}

/* Badge color variants per page */
.page-intro--faq .page-intro__badge {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

.page-intro--contact .page-intro__badge {
  background: rgba(245, 158, 11, 0.08);
  color: #D97706;
}

.page-intro--blog .page-intro__badge {
  background: rgba(162, 204, 31, 0.08);
  color: #6B8F14;
}

.page-intro--lld .page-intro__badge {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

@media (max-width: 768px) {
  .page-intro__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .page-intro__content {
    text-align: center;
  }

  .page-intro p {
    margin-inline: auto;
  }

  .page-intro__pills {
    justify-content: center;
  }

  .page-intro__visual {
    order: -1;
  }

  .page-intro__icon-item {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
  }

  .page-intro__floating-card {
    min-width: auto;
  }

  .page-intro__floating-card:nth-child(2) { transform: translateX(10px); }
  .page-intro__floating-card:nth-child(3) { transform: translateX(-5px); }
}

/* FAQ contact CTA */
.faq-contact__inner {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.faq-contact__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--att-sp-5);
}

/* Catalogue layout */
.catalogue {
  padding: var(--att-sp-12) 0;
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--att-sp-8);
  align-items: start;
}

@media (max-width: 1024px) {
  .catalogue-layout {
    grid-template-columns: 1fr;
  }
}

/* Filters sidebar */
.filters {
  position: sticky;
  top: 88px;
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  padding: var(--att-sp-6);
}

.filters h2 {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-5);
  padding-bottom: var(--att-sp-4);
  border-bottom: 1px solid var(--att-color-border);
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-5);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-2);
}

.filter-group h3 {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-text);
  letter-spacing: 0;
}

/* Raw select/input inside filters (no class in template) */
.filter-group select,
.filter-group input[type="text"] {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.625rem 1rem;
  font-size: var(--att-fs-sm);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border-strong);
  border-radius: var(--att-radius-sm);
  color: var(--att-color-text);
  transition: border-color var(--att-ease-fast), box-shadow var(--att-ease-fast);
}

.filter-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235F6B76' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
  outline: none;
  border-color: var(--att-color-primary);
  box-shadow: 0 0 0 3px rgba(var(--att-rgb-primary), 0.12);
}

/* Products grid */
.products-section {
  min-height: 300px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--att-sp-6);
}

/* Product card */
.product-card {
  position: relative;
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  overflow: hidden;
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth), border-color var(--att-ease-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(8, 108, 205, 0.14);
  border-color: var(--att-color-primary-hover);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: var(--att-sp-4);
  background: var(--att-color-surface);
}

.product-card__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--att-color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--att-color-text-muted);
  font-size: var(--att-fs-sm);
}

.product-card__content {
  padding: var(--att-sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-2);
}

.product-card__content h3,
.product-card__content .card__title {
  font-size: var(--att-fs-base);
  font-weight: var(--att-fw-semibold);
  margin-bottom: 0;
  color: var(--att-color-text);
  line-height: var(--att-lh-tight);
}

.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}

.product-card__condition {
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-1);
  padding: 0.125rem 0.5rem;
  background: var(--att-color-surface-strong);
  border-radius: var(--att-radius-pill);
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--att-sp-2);
  margin-top: var(--att-sp-1);
}

.product-card .btn {
  margin-top: var(--att-sp-3);
  align-self: flex-start;
}

.product-card__price--current {
  font-size: var(--att-fs-2xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  letter-spacing: -0.02em;
}

.product-card__price--unavailable {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
}

.product-card__lld-badge {
  position: absolute;
  top: var(--att-sp-3);
  right: var(--att-sp-3);
  background: var(--att-color-primary);
  color: var(--att-color-white);
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--att-radius-pill);
}

/* Accent vert §6.4 — micro-pastilles premium */
.badge--accent {
  background: rgba(162, 204, 31, 0.14);
  color: #5E7E00;
}

.badge--accent::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--att-color-accent);
}

/* ============================================================
   22. PRODUCT DETAIL
   ============================================================ */
.product-detail {
  padding: var(--att-sp-12) 0;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--att-sp-12);
  align-items: start;
}

@media (max-width: 768px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: var(--att-sp-8);
  }
}

/* Image column */
.product-detail__image-wrap {
  position: sticky;
  top: 100px;
}

.product-detail__image {
  width: 100%;
  border-radius: var(--att-radius-xl);
  background: var(--att-color-surface);
  border: 1px solid var(--att-color-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  padding: var(--att-sp-8);
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.product-detail__image:hover img {
  transform: scale(1.05);
}

.product-detail__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--att-color-text-muted);
  font-size: 5rem;
}

/* Trust badges under image */
.product-detail__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--att-sp-3);
  margin-top: var(--att-sp-4);
}

.product-detail__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--att-sp-2);
  padding: var(--att-sp-4) var(--att-sp-2);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-md);
  text-align: center;
  font-size: var(--att-fs-xs);
  color: var(--att-color-text-secondary);
  font-weight: var(--att-fw-medium);
}

.product-detail__trust-item i {
  font-size: var(--att-fs-lg);
  color: var(--att-color-primary);
}

@media (max-width: 768px) {
  .product-detail__image-wrap {
    position: static;
  }
}

/* Info column */
.product-detail__info {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-6);
}

.product-detail__info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-text);
  line-height: 1.2;
}

/* Specs pills */
.product-detail__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--att-sp-2);
}

.spec {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: var(--att-sp-2) var(--att-sp-4);
  background: var(--att-color-surface);
  border-radius: var(--att-radius-pill);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
  font-weight: var(--att-fw-medium);
}

.spec i {
  font-size: var(--att-fs-xs);
  color: var(--att-color-text-muted);
}

.spec--condition {
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
  font-weight: var(--att-fw-semibold);
}

.spec--condition i {
  color: var(--att-color-primary);
}

/* Pricing block */
.product-detail__pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--att-sp-5) var(--att-sp-6);
  background: var(--att-color-surface);
  border-radius: var(--att-radius-lg);
  border: 1px solid var(--att-color-border);
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  gap: var(--att-sp-2);
}

.price--current {
  font-size: var(--att-fs-4xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  letter-spacing: -0.02em;
}

.price--label {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
  font-weight: var(--att-fw-medium);
}

.price--unavailable {
  font-size: var(--att-fs-lg);
  color: var(--att-color-text-muted);
}

.product-detail__stock {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
}

.stock--available {
  color: var(--att-color-secondary);
}

.stock--available i {
  margin-right: 2px;
}

.stock--unavailable {
  color: var(--att-color-text-muted);
}

/* CTA buttons */
.product-detail__cta {
  display: flex;
  gap: var(--att-sp-3);
  flex-wrap: wrap;
}

.product-detail__cta .btn {
  flex: 1;
  min-width: 200px;
}

/* Condition card */
.product-detail__condition {
  padding: var(--att-sp-5);
  background: var(--att-color-surface);
  border-radius: var(--att-radius-lg);
  border: 1px solid var(--att-color-border);
}

.product-detail__condition-header {
  display: flex;
  align-items: center;
  gap: var(--att-sp-3);
  margin-bottom: var(--att-sp-3);
}

.product-detail__condition-header i {
  color: var(--att-color-primary);
  font-size: var(--att-fs-lg);
}

.product-detail__condition-header h3 {
  font-size: var(--att-fs-base);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-text);
  margin: 0;
}

.product-detail__condition p {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
  margin: 0;
}

/* Guarantees (kept for backward compat) */
.product-detail__guarantees {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-3);
  padding: var(--att-sp-5);
  background: var(--att-color-surface);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-md);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text);
  font-weight: var(--att-fw-medium);
}

/* Description / Specs – Tabbed interface */
.product-detail__tabs {
  margin-top: var(--att-sp-16);
}

.product-detail__tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--att-color-border);
}

.product-detail__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: var(--att-sp-4) var(--att-sp-8);
  font-size: var(--att-fs-base);
  font-weight: var(--att-fw-semibold);
  font-family: inherit;
  color: var(--att-color-text-secondary);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--att-ease-fast), border-color var(--att-ease-fast);
}

.product-detail__tab-btn:hover {
  color: var(--att-color-primary);
}

.product-detail__tab-btn.is-active {
  color: var(--att-color-primary);
  border-bottom-color: var(--att-color-primary);
}

.product-detail__tab-btn i {
  font-size: var(--att-fs-sm);
}

.product-detail__tab-panel {
  display: none;
  padding: var(--att-sp-8) 0;
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
  font-size: var(--att-fs-base);
  animation: att-tab-fade 0.3s ease;
}

.product-detail__tab-panel.is-active {
  display: block;
}

@keyframes att-tab-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-detail__tab-panel p {
  margin-bottom: var(--att-sp-4);
}

.product-detail__tab-panel p:last-child {
  margin-bottom: 0;
}

.product-detail__specs-table p {
  padding: var(--att-sp-3) 0;
  border-bottom: 1px solid var(--att-color-border);
}

.product-detail__specs-table p:last-child {
  border-bottom: none;
}

.product-detail__description {
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

.product-detail__specs-full {
  margin-top: var(--att-sp-8);
}

.related-products {
  padding: var(--att-sp-16) 0;
  background: var(--att-color-surface);
}

.related-products h2 {
  text-align: center;
  margin-bottom: var(--att-sp-8);
}

/* ============================================================
   23. LLD (Location Longue Durée)
   ============================================================ */

/* LLD block on product page */
.product-detail__lld {
  margin-top: var(--att-sp-6);
  border: 2px solid rgba(var(--att-rgb-primary), 0.2);
  background: var(--att-color-primary-bg);
  border-radius: var(--att-radius-lg);
}

.product-detail__lld .card__body {
  padding: var(--att-sp-6);
}

.product-detail__lld .card__title {
  display: flex;
  align-items: center;
  gap: var(--att-sp-2);
  color: var(--att-color-primary-dark);
  margin-bottom: var(--att-sp-2);
}

.product-detail__lld .card__title i {
  color: var(--att-color-primary);
}

/* LLD result */
.lld-result {
  background: var(--att-color-white);
  border-radius: var(--att-radius-lg);
  padding: var(--att-sp-6);
  text-align: center;
  margin-top: var(--att-sp-4);
  box-shadow: var(--att-shadow-xs);
}

.lld-result__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--att-sp-1);
}

.lld-result__monthly {
  font-size: var(--att-fs-4xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
}

.lld-result__period {
  font-size: var(--att-fs-lg);
  color: var(--att-color-text-secondary);
}

.lld-result__apport {
  margin-top: var(--att-sp-2);
  color: var(--att-color-text-secondary);
}

.lld-result__promo {
  margin-top: var(--att-sp-2);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-secondary);
}

/* ============================================================
   23b. OPTIONS D'ACHAT / LOCATION (fiche produit)
   ============================================================ */

/* Grille des options achat/location */
.product-detail__purchase-options {
  margin-top: var(--att-sp-6);
}

.product-detail__purchase-options h3 {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-4);
  color: var(--att-color-text-primary);
}

.purchase-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--att-sp-4);
}

@media (max-width: 768px) {
  .purchase-options-grid {
    grid-template-columns: 1fr;
  }
}

/* Option card */
.purchase-option.card {
  border: 2px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.purchase-option.card:hover {
  border-color: var(--att-color-primary);
  box-shadow: var(--att-shadow-md);
}

.purchase-option .card__body {
  padding: var(--att-sp-5);
}

.purchase-option .card__title {
  display: flex;
  align-items: center;
  gap: var(--att-sp-2);
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-text-primary);
  margin-bottom: var(--att-sp-3);
}

.purchase-option .card__title i {
  color: var(--att-color-primary);
}

.purchase-option__price {
  margin-bottom: var(--att-sp-3);
}

.purchase-option__price .price--current {
  font-size: var(--att-fs-2xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
}

.purchase-option__benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--att-color-text-secondary);
}

.purchase-option__benefits li {
  margin-bottom: var(--att-sp-1);
}

/* Option location - style légèrement différent */
#option-location {
  background: var(--att-color-primary-bg);
  border-color: rgba(var(--att-rgb-primary), 0.3);
}

#option-location .card__title {
  color: var(--att-color-primary-dark);
}

/* LLD Hero — aplat franc bleu (pas de dégradé) */
.lld-hero {
  padding: var(--att-sp-16) 0;
  background: var(--att-color-surface);
  color: var(--att-color-text);
  text-align: center;
}

.lld-hero .badge {
  background: var(--att-color-white);
  color: var(--att-color-text);
  border: 1px solid var(--att-color-border);
  box-shadow: var(--att-shadow-xs);
}

.lld-hero .badge i {
  color: var(--att-color-primary);
}

.lld-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--att-fw-bold);
  margin-bottom: var(--att-sp-4);
  color: var(--att-color-text);
}

.lld-hero__subtitle {
  font-size: var(--att-fs-xl);
  color: var(--att-color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--att-sp-8);
  line-height: var(--att-lh-relaxed);
}

@media (max-width: 768px) {
  .lld-hero {
    padding: var(--att-sp-10) 0;
  }

  .lld-hero__title {
    font-size: var(--att-fs-3xl);
  }
}

/* LLD advantages */
.lld-advantages {
  padding: var(--att-sp-16) 0;
}

/* LLD products */
.lld-products {
  padding: var(--att-sp-16) 0;
}

.lld-products__header {
  text-align: center;
  margin-bottom: var(--att-sp-12);
}

.lld-products__title {
  font-size: var(--att-fs-3xl);
  margin-bottom: var(--att-sp-4);
}

/* LLD FAQ */
.lld-faq {
  padding: var(--att-sp-16) 0;
  background: var(--att-color-surface);
}

.lld-faq__title {
  text-align: center;
  font-size: var(--att-fs-3xl);
  margin-bottom: var(--att-sp-8);
}

/* ============================================================
   24. BRANDS
   ============================================================ */
.brands {
  padding: var(--att-sp-12) 0;
}

.brands-section {
  padding: var(--att-sp-12) 0;
  background: var(--att-color-surface);
}

.brands-section h2 {
  text-align: center;
  margin-bottom: var(--att-sp-8);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: var(--att-sp-4);
}

.brands-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--att-sp-6);
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--att-sp-6) var(--att-sp-4);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-md);
  text-decoration: none;
  color: var(--att-color-text);
  transition: transform var(--att-ease-base), box-shadow var(--att-ease-base), border-color var(--att-ease-base);
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(8, 108, 205, 0.12);
  border-color: var(--att-color-primary);
  color: var(--att-color-primary);
}

.brand-card--large {
  padding: var(--att-sp-8) var(--att-sp-6);
}

.brand-card__name {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-bold);
  margin-bottom: var(--att-sp-1);
  color: var(--att-color-text);
}

.brand-card__label {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
}

.brand-card__count {
  font-size: var(--att-fs-xs);
  color: var(--att-color-primary);
  margin-top: var(--att-sp-2);
  font-weight: var(--att-fw-medium);
}

/* ============================================================
   25. BLOG
   ============================================================ */
.blog {
  padding: var(--att-sp-12) 0;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--att-sp-2);
  margin-bottom: var(--att-sp-8);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--att-sp-6);
}

.posts-grid--small {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.post-card {
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  overflow: hidden;
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--att-shadow-md);
}

.post-card--small {
  font-size: var(--att-fs-sm);
}

.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card__content {
  padding: var(--att-sp-5);
}

.post-card__category {
  display: inline-block;
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-primary);
  margin-bottom: var(--att-sp-2);
}

.post-card__meta {
  font-size: var(--att-fs-xs);
  color: var(--att-color-text-muted);
  margin-top: var(--att-sp-3);
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-1);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-primary);
  margin-top: var(--att-sp-3);
}

/* Blog detail */
.post-detail {
  padding: var(--att-sp-12) 0;
  max-width: var(--att-container-narrow);
  margin-inline: auto;
}

.post-detail__header {
  margin-bottom: var(--att-sp-8);
}

.post-detail__category {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-primary);
  margin-bottom: var(--att-sp-3);
}

.post-detail__meta {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
  margin-top: var(--att-sp-3);
}

.post-detail__image {
  width: 100%;
  border-radius: var(--att-radius-lg);
  margin-bottom: var(--att-sp-8);
}

.post-detail__content {
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

.post-detail__content h2,
.post-detail__content h3 {
  margin-top: var(--att-sp-8);
  margin-bottom: var(--att-sp-4);
  color: var(--att-color-text);
}

.post-detail__content p {
  margin-bottom: var(--att-sp-4);
}

.post-detail__content ul,
.post-detail__content ol {
  padding-left: var(--att-sp-6);
  margin-bottom: var(--att-sp-4);
  list-style: disc;
}

.post-detail__content ol {
  list-style: decimal;
}

.post-detail__footer {
  margin-top: var(--att-sp-8);
  padding-top: var(--att-sp-6);
  border-top: 1px solid var(--att-color-border);
}

.related-posts {
  padding: var(--att-sp-12) 0;
}

/* ============================================================
   26. FAQ
   ============================================================ */
.faq {
  padding: var(--att-sp-12) 0;
}

.faq-category {
  margin-bottom: var(--att-sp-8);
}

.faq-item {
  border-bottom: 1px solid var(--att-color-border);
  padding: var(--att-sp-4) 0;
}

.faq-item__answer {
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
  padding-top: var(--att-sp-3);
}

.faq-contact {
  padding: var(--att-sp-12) 0;
  text-align: center;
}

.faq-contact h2 {
  margin-bottom: var(--att-sp-3);
}

.faq-contact p {
  margin-bottom: var(--att-sp-6);
}

.faq > .container > p {
  text-align: center;
  color: var(--att-color-text-muted);
  padding: var(--att-sp-8) 0;
}

.faq-detail {
  padding: var(--att-sp-12) 0;
}

.faq-detail__content {
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

.faq-detail__back {
  margin-bottom: var(--att-sp-6);
}

/* ============================================================
   27. CONTACT
   ============================================================ */
.contact {
  padding: var(--att-sp-12) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--att-sp-12);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  padding: var(--att-sp-8);
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-6);
}

.contact-info h2 {
  font-size: var(--att-fs-xl);
  margin-bottom: var(--att-sp-2);
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--att-sp-4);
  padding: var(--att-sp-5);
  background: var(--att-color-surface);
  border-radius: var(--att-radius-md);
  transition: transform var(--att-ease-base), box-shadow var(--att-ease-base);
}

.contact-info__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--att-shadow-sm);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
  border-radius: var(--att-radius-sm);
  font-size: var(--att-fs-lg);
  flex-shrink: 0;
  transition: background var(--att-ease-base), color var(--att-ease-base);
}

.contact-info__item:hover .contact-info__icon {
  background: var(--att-color-primary);
  color: var(--att-color-white);
}

.contact-info__item h3 {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-1);
  letter-spacing: 0;
}

.contact-info__item p {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}

/* ============================================================
   28. CLIENT / ESPACE CLIENT
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  padding: var(--att-sp-4) 0;
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-muted);
  background: var(--att-color-surface);
  border-bottom: 1px solid var(--att-color-border);
}

.breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--att-sp-2);
}

.breadcrumb a {
  color: var(--att-color-text-secondary);
  text-decoration: none;
  transition: color var(--att-ease-fast);
}

.breadcrumb a:hover {
  color: var(--att-color-primary);
}

.breadcrumb__sep {
  color: var(--att-color-border-strong);
  font-size: var(--att-fs-xs);
}

.breadcrumb__current {
  color: var(--att-color-text);
  font-weight: var(--att-fw-medium);
}

/* Messages */
.messages {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-3);
  margin-bottom: var(--att-sp-6);
}

/* Table */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--att-fs-sm);
}

.table th {
  text-align: left;
  padding: var(--att-sp-3) var(--att-sp-4);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-text-secondary);
  background: var(--att-color-surface);
  border-bottom: 2px solid var(--att-color-border);
  white-space: nowrap;
}

.table td {
  padding: var(--att-sp-3) var(--att-sp-4);
  border-bottom: 1px solid var(--att-color-border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--att-color-surface);
}

/* Orders */
.order-status {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--att-sp-2);
  padding: 0.25rem 0.75rem;
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  border-radius: var(--att-radius-pill);
  background: var(--att-color-surface-strong);
  color: var(--att-color-text-secondary);
}

.status-badge--pending { background: var(--att-color-warning-bg); color: var(--att-color-warning); }
.status-badge--confirmed { background: var(--att-color-info-bg); color: var(--att-color-primary); }
.status-badge--shipped { background: var(--att-color-info-bg); color: var(--att-color-primary); }
.status-badge--delivered { background: var(--att-color-success-bg); color: var(--att-color-secondary); }
.status-badge--cancelled { background: var(--att-color-error-bg); color: var(--att-color-danger); }

.status-badge--large {
  padding: 0.5rem 1.25rem;
  font-size: var(--att-fs-sm);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--att-sp-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--att-color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--att-sp-6);
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--att-sp-10) + 8px);
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--att-color-white);
  border: 2px solid var(--att-color-border);
  border-radius: 50%;
}

.timeline__item--current::before {
  background: var(--att-color-primary);
  border-color: var(--att-color-primary);
}

.timeline__date {
  font-size: var(--att-fs-xs);
  color: var(--att-color-text-muted);
  margin-bottom: var(--att-sp-1);
}

.timeline__label {
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text);
}

/* Order items */
.order-item {
  display: flex;
  align-items: center;
  gap: var(--att-sp-4);
  padding: var(--att-sp-4) 0;
  border-bottom: 1px solid var(--att-color-border);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item__image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--att-color-surface);
  border-radius: var(--att-radius-sm);
  flex-shrink: 0;
}

.order-item__info {
  flex: 1;
}

.order-item__price {
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-primary);
  white-space: nowrap;
}

/* Summary */
.col-main { min-width: 0; }
.col-aside { min-width: 0; }

.summary-list {
  display: flex;
  flex-direction: column;
}

.summary-list__item {
  display: flex;
  justify-content: space-between;
  padding: var(--att-sp-3) 0;
  border-bottom: 1px solid var(--att-color-border);
  font-size: var(--att-fs-sm);
}

.summary-list__item--discount {
  color: var(--att-color-secondary);
}

.summary-list__item--total {
  font-weight: var(--att-fw-bold);
  font-size: var(--att-fs-base);
  border-bottom: none;
  padding-top: var(--att-sp-4);
}

.address {
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
}

/* ============================================================
   FEATURE CARDS – Why Choose Us (multi-color)
   ============================================================ */
.section--features {
  padding: var(--att-sp-16) 0;
  background: var(--att-color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--att-sp-6);
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  padding: var(--att-sp-8);
  border-radius: var(--att-radius-xl);
  text-align: center;
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--att-radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--att-sp-5);
}

.feature-card h3 {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-2);
  color: var(--att-color-text);
}

.feature-card p {
  font-size: var(--att-fs-sm);
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

/* Green variant */
.feature-card--green {
  background: rgba(30, 150, 104, 0.04);
  border-color: rgba(30, 150, 104, 0.12);
}

.feature-card--green .feature-card__icon {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

/* Blue variant */
.feature-card--blue {
  background: rgba(8, 108, 205, 0.04);
  border-color: rgba(8, 108, 205, 0.12);
}

.feature-card--blue .feature-card__icon {
  background: var(--att-color-info-bg);
  color: var(--att-color-primary);
}

/* Warm variant */
.feature-card--warm {
  background: rgba(245, 158, 11, 0.04);
  border-color: rgba(245, 158, 11, 0.12);
}

.feature-card--warm .feature-card__icon {
  background: rgba(245, 158, 11, 0.10);
  color: #D97706;
}

/* Accent variant */
.feature-card--accent {
  background: rgba(162, 204, 31, 0.04);
  border-color: rgba(162, 204, 31, 0.15);
}

.feature-card--accent .feature-card__icon {
  background: rgba(162, 204, 31, 0.12);
  color: #6B8F14;
}

/* Condition grades */
.conditions {
  padding: var(--att-sp-16) 0;
  background: var(--att-color-surface);
}

.conditions h2 {
  text-align: center;
  margin-bottom: var(--att-sp-8);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--att-sp-6);
}

@media (max-width: 768px) {
  .conditions-grid {
    grid-template-columns: 1fr;
  }
}

.condition-card {
  padding: var(--att-sp-8);
  border-radius: var(--att-radius-xl);
  border: 1px solid var(--att-color-border);
  background: var(--att-color-white);
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.condition-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.condition-card__grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: var(--att-fs-3xl);
  font-weight: var(--att-fw-bold);
  margin-bottom: var(--att-sp-4);
}

.condition-card--a .condition-card__grade {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

.condition-card--b .condition-card__grade {
  background: var(--att-color-info-bg);
  color: var(--att-color-primary);
}

.condition-card--c .condition-card__grade {
  background: var(--att-color-warning-bg);
  color: var(--att-color-warning);
}

.condition-card h3 {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-2);
  color: var(--att-color-text);
}

.condition-card p {
  font-size: var(--att-fs-sm);
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

.condition-card__tag {
  display: inline-block;
  margin-top: var(--att-sp-4);
  padding: 0.25rem 0.75rem;
  border-radius: var(--att-radius-pill);
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
}

.condition-card--a .condition-card__tag {
  background: var(--att-color-success-bg);
  color: var(--att-color-secondary);
}

.condition-card--b .condition-card__tag {
  background: var(--att-color-info-bg);
  color: var(--att-color-primary);
}

.condition-card--c .condition-card__tag {
  background: var(--att-color-warning-bg);
  color: var(--att-color-warning);
}

/* Featured products */
.featured-products {
  padding: var(--att-sp-12) 0;
}

.featured-products h2 {
  text-align: center;
  margin-bottom: var(--att-sp-8);
}

.featured-products__cta {
  text-align: center;
  margin-top: var(--att-sp-8);
}

/* Recent posts */
.recent-posts {
  padding: var(--att-sp-12) 0;
}

/* Brand products */
.brand-products {
  padding: var(--att-sp-12) 0;
}

/* ============================================================
   29. LEGAL / CONTENT PAGES
   ============================================================ */
.legal-content {
  padding: var(--att-sp-12) 0;
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
}

.legal-content h2 {
  margin-top: var(--att-sp-8);
  margin-bottom: var(--att-sp-4);
  color: var(--att-color-text);
}

.legal-content p {
  margin-bottom: var(--att-sp-4);
}

.legal-content ul {
  padding-left: var(--att-sp-6);
  margin-bottom: var(--att-sp-4);
  list-style: disc;
}

/* ============================================================
   30. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--att-sp-2);
  margin-top: var(--att-sp-8);
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text-secondary);
  background: var(--att-color-white);
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-sm);
  transition: all var(--att-ease-fast);
}

.pagination__link:hover {
  background: var(--att-color-surface);
  border-color: var(--att-color-primary);
  color: var(--att-color-primary);
}

.pagination__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-white);
  background: var(--att-color-primary);
  border: 1px solid var(--att-color-primary);
  border-radius: var(--att-radius-sm);
}

/* ============================================================
   31. EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: var(--att-sp-16) var(--att-sp-6);
  color: var(--att-color-text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: var(--att-sp-4);
  opacity: 0.5;
}

.empty-state p {
  margin-bottom: var(--att-sp-4);
}

/* ============================================================
   32. FOOTER
   Charte : fond sombre, sobre, structuré.
   ============================================================ */
.footer {
  background: var(--att-color-dark);
  color: rgba(255, 255, 255, 0.92);
  padding: var(--att-sp-16) 0 var(--att-sp-8);
  border-top: 3px solid var(--att-color-border);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--att-ease-fast);
}

.footer a:hover {
  color: var(--att-color-primary-hover);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--att-sp-12);
  margin-bottom: var(--att-sp-12);
}

.footer__logo {
  display: inline-block;
  margin-bottom: var(--att-sp-4);
}

.footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--att-ease-fast);
}

.footer__logo:hover .footer__logo-img {
  opacity: 0.8;
}

.footer__col h3 {
  font-size: var(--att-fs-xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-white);
  margin-bottom: var(--att-sp-4);
}

.footer__col h4 {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--att-sp-5);
}

.footer__col p {
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--att-lh-relaxed);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-3);
}

.footer__col--cta {
  display: flex;
  align-items: flex-start;
}

.footer__bottom {
  padding-top: var(--att-sp-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--att-fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--att-sp-8);
  }
}

/* ============================================================
   33. BREADCRUMBS SEO
   ============================================================ */
.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--att-sp-2);
  padding: var(--att-sp-3) 0;
  font-size: var(--att-fs-sm);
}

.seo-breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--att-sp-2);
}

.seo-breadcrumbs__link {
  color: var(--att-color-text-secondary);
}

.seo-breadcrumbs__link:hover {
  color: var(--att-color-primary);
}

.seo-breadcrumbs__separator {
  color: var(--att-color-text-muted);
}

.seo-breadcrumbs__current {
  color: var(--att-color-text);
  font-weight: var(--att-fw-medium);
}

/* ============================================================
   34. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--att-sp-4);
  right: var(--att-sp-4);
  z-index: var(--att-z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--att-sp-3);
  max-width: 400px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--att-sp-3);
  padding: var(--att-sp-4);
  background: var(--att-color-white);
  border-radius: var(--att-radius-lg);
  box-shadow: var(--att-shadow-lg);
  border-left: 4px solid var(--att-color-primary);
  pointer-events: auto;
  animation: att-toastIn 0.3s ease-out;
}

.toast--exiting {
  animation: att-toastOut 0.2s ease-in forwards;
}

.toast--success { border-left-color: var(--att-color-secondary); }
.toast--error   { border-left-color: var(--att-color-danger); }
.toast--warning { border-left-color: var(--att-color-warning); }

.toast__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: var(--att-fs-sm);
}

.toast__content { flex: 1; min-width: 0; }

.toast__title {
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-1);
}

.toast__message {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}

.toast__close {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: var(--att-sp-1);
  cursor: pointer;
  color: var(--att-color-text-muted);
  font-size: var(--att-fs-lg);
  transition: color var(--att-ease-fast);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast__close:hover {
  color: var(--att-color-text);
}

/* ============================================================
   35. ANIMATIONS
   ============================================================ */
@keyframes att-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes att-fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes att-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50%      { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

@keyframes att-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes att-slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes att-scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes att-toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes att-toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

@keyframes att-ripple {
  to { transform: scale(4); opacity: 0; }
}

/* Button ripple */
.btn {
  position: relative;
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: att-ripple 0.5s ease-out;
  pointer-events: none;
}

/* Animation helpers */
.animate-fade-in     { animation: att-fadeIn var(--att-ease-slow); }
.animate-fade-in-up  { animation: att-fadeInUp var(--att-ease-slow); }
.animate-slide-down  { animation: att-slideDown var(--att-ease-smooth); }
.animate-scale-in    { animation: att-scaleIn var(--att-ease-smooth); }

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }

/* ============================================================
   36. ACCESSIBILITY
   ============================================================ */

/* Focus states */
:focus-visible {
  outline: 3px solid rgba(var(--att-rgb-primary), 0.4);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

.btn:focus-visible {
  outline: 3px solid rgba(var(--att-rgb-primary), 0.4);
  outline-offset: 3px;
}

.form-input:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--att-color-primary);
  box-shadow: 0 0 0 3px rgba(var(--att-rgb-primary), 0.12);
}

/* Skip link */
.skip-link,
.sr-only:not(:focus):not(:active) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a.sr-only:focus {
  position: fixed;
  top: var(--att-sp-4);
  left: var(--att-sp-4);
  width: auto;
  height: auto;
  padding: var(--att-sp-3) var(--att-sp-6);
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--att-color-primary);
  color: var(--att-color-white);
  border-radius: var(--att-radius-sm);
  z-index: 10000;
  font-weight: var(--att-fw-medium);
}

/* Touch targets */
.touch-target {
  min-width: 44px;
  min-height: 44px;
}

/* Screen reader only with focusable override */
.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* SEO hidden */
.seo-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ============================================================
   37. SPACING UTILITIES
   ============================================================ */
.m-0  { margin: 0; }
.mt-2 { margin-top: var(--att-sp-2); }
.mt-4 { margin-top: var(--att-sp-4); }
.mt-6 { margin-top: var(--att-sp-6); }
.mt-8 { margin-top: var(--att-sp-8); }
.mt-12 { margin-top: var(--att-sp-12); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--att-sp-2); }
.mb-4 { margin-bottom: var(--att-sp-4); }
.mb-6 { margin-bottom: var(--att-sp-6); }
.mb-8 { margin-bottom: var(--att-sp-8); }
.mb-12 { margin-bottom: var(--att-sp-12); }

.p-0 { padding: 0; }
.p-4 { padding: var(--att-sp-4); }
.p-6 { padding: var(--att-sp-6); }
.p-8 { padding: var(--att-sp-8); }

/* Display */
.hidden { display: none; }
.block  { display: block; }
.inline-block { display: inline-block; }

/* Width */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* Shadow */
.shadow-sm { box-shadow: var(--att-shadow-sm); }
.shadow    { box-shadow: var(--att-shadow-md); }
.shadow-lg { box-shadow: var(--att-shadow-lg); }

/* Object fit */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Border radius */
.rounded       { border-radius: var(--att-radius-md); }
.rounded-lg    { border-radius: var(--att-radius-lg); }
.rounded-full  { border-radius: var(--att-radius-pill); }

/* Aspect ratio */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video  { aspect-ratio: 16 / 9; }

/* ============================================================
   38. REDUCED MOTION
   ============================================================ */
@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;
  }

  .reveal,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   39. HIGH CONTRAST
   ============================================================ */
@media (prefers-contrast: more) {
  :root {
    --att-color-border: #1B1F23;
    --att-color-text-secondary: #1B1F23;
    --att-color-text-muted: #1B1F23;
  }

  .btn { border-width: 2px; }
  .card { border-width: 2px; }
}

/* ============================================================
   40. PRINT
   ============================================================ */
@media print {
  .header,
  .footer,
  .toast-container,
  .btn,
  .header__toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .product-card,
  .stat {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  a { color: #000; text-decoration: underline; }

  .section { padding: 1rem 0; }
}

/* ============================================================
   CUSTOM CONTEXT MENU
   ============================================================ */
.ctx-menu {
  position: fixed;
  z-index: 9999;
  min-width: 220px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--att-color-border);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(-4px);
  transform-origin: top left;
  transition: opacity 0.18s, visibility 0.18s, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.ctx-menu.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.ctx-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
  animation: ctx-itemIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ctx-menu__item:hover {
  background: var(--att-color-primary);
  color: var(--att-color-white);
}

.ctx-menu__item:hover i {
  color: var(--att-color-white);
}

.ctx-menu__item i {
  width: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--att-color-text-secondary);
  transition: color 0.12s;
}

.ctx-menu__item--active {
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
}

.ctx-menu__item--active i {
  color: var(--att-color-primary);
}

.ctx-menu__sep {
  height: 1px;
  margin: 4px 10px;
  background: var(--att-color-border);
}

@keyframes ctx-itemIn {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ============================================================
   PAGE ENHANCEMENTS — FAQ, Contact, Blog, Brands
   ============================================================ */

/* FAQ */
.faq {
  padding: var(--att-sp-12) 0;
}

.faq-category {
  margin-bottom: var(--att-sp-10);
}

.faq-category h2 {
  font-size: var(--att-fs-xl);
  font-weight: var(--att-fw-bold);
  margin-bottom: var(--att-sp-5);
  padding-bottom: var(--att-sp-3);
  border-bottom: 2px solid var(--att-color-border);
  display: flex;
  align-items: center;
  gap: var(--att-sp-3);
}

.faq-category h2::before {
  content: '';
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: var(--att-color-primary);
  flex-shrink: 0;
}

.faq-item {
  border: 1px solid var(--att-color-border);
  border-radius: var(--att-radius-lg);
  margin-bottom: var(--att-sp-3);
  background: var(--att-color-white);
  overflow: hidden;
  transition: box-shadow var(--att-ease-fast);
}

.faq-item:hover {
  box-shadow: var(--att-shadow-sm);
}

.faq-item[open] {
  border-color: var(--att-color-primary);
  box-shadow: 0 0 0 1px var(--att-color-primary-bg);
}

.faq-item summary {
  padding: var(--att-sp-5) var(--att-sp-6);
  font-weight: var(--att-fw-semibold);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--att-sp-4);
  transition: color var(--att-ease-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: var(--att-fs-xl);
  font-weight: var(--att-fw-bold);
  color: var(--att-color-primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item[open] summary {
  color: var(--att-color-primary);
  border-bottom: 1px solid var(--att-color-border);
}

.faq-item__answer {
  padding: var(--att-sp-5) var(--att-sp-6);
  line-height: var(--att-lh-relaxed);
  color: var(--att-color-text-secondary);
  animation: att-fadeInUp 0.3s ease;
}

.faq-contact {
  padding: var(--att-sp-12) 0;
  text-align: center;
  background: var(--att-color-surface);
  border-top: 1px solid var(--att-color-border);
}

.faq-contact h2 {
  font-size: var(--att-fs-2xl);
  margin-bottom: var(--att-sp-3);
}

.faq-contact p {
  color: var(--att-color-text-secondary);
  margin-bottom: var(--att-sp-6);
}

/* Contact */
.contact {
  padding: var(--att-sp-12) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--att-sp-12);
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form {
  background: var(--att-color-white);
  padding: var(--att-sp-8);
  border-radius: var(--att-radius-xl);
  border: 1px solid var(--att-color-border);
}

.contact-info h2 {
  font-size: var(--att-fs-xl);
  margin-bottom: var(--att-sp-6);
}

.contact-info__item {
  display: flex;
  gap: var(--att-sp-4);
  padding: var(--att-sp-5);
  border-radius: var(--att-radius-lg);
  background: var(--att-color-surface);
  margin-bottom: var(--att-sp-4);
  transition: transform var(--att-ease-fast), box-shadow var(--att-ease-fast);
}

.contact-info__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--att-shadow-sm);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--att-radius-md);
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__item h3 {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  margin-bottom: 2px;
}

.contact-info__item p {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
}

.contact-info__item a {
  color: var(--att-color-primary);
  text-decoration: none;
}

.contact-info__item a:hover {
  text-decoration: underline;
}

/* Blog */
.blog {
  padding: var(--att-sp-12) 0;
}

.blog-categories {
  display: flex;
  gap: var(--att-sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--att-sp-8);
  padding-bottom: var(--att-sp-4);
  border-bottom: 1px solid var(--att-color-border);
}

.blog-categories a {
  padding: 0.4rem 1rem;
  border-radius: var(--att-radius-pill);
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-medium);
  color: var(--att-color-text-secondary);
  background: var(--att-color-surface);
  text-decoration: none;
  transition: all var(--att-ease-fast);
}

.blog-categories a:hover,
.blog-categories a.active {
  background: var(--att-color-primary);
  color: var(--att-color-white);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--att-sp-8);
}

.post-card {
  border-radius: var(--att-radius-xl);
  border: 1px solid var(--att-color-border);
  background: var(--att-color-white);
  overflow: hidden;
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.post-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.post-card__content {
  padding: var(--att-sp-6);
}

.post-card__category {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--att-radius-pill);
  background: var(--att-color-primary-bg);
  color: var(--att-color-primary);
  font-size: var(--att-fs-xs);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-3);
}

.post-card__content h2 {
  font-size: var(--att-fs-lg);
  font-weight: var(--att-fw-semibold);
  margin-bottom: var(--att-sp-2);
}

.post-card__content h2 a {
  color: var(--att-color-text);
  text-decoration: none;
}

.post-card__content h2 a:hover {
  color: var(--att-color-primary);
}

.post-card__content > p {
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
  line-height: var(--att-lh-relaxed);
  margin-bottom: var(--att-sp-4);
}

.post-card__meta {
  font-size: var(--att-fs-xs);
  color: var(--att-color-text-muted);
  margin-bottom: var(--att-sp-3);
}

.post-card__link {
  font-size: var(--att-fs-sm);
  font-weight: var(--att-fw-semibold);
  color: var(--att-color-primary);
  text-decoration: none;
}

.post-card__link:hover {
  text-decoration: underline;
}

/* Brands page */
.brands {
  padding: var(--att-sp-12) 0;
}

.brands-grid--large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--att-sp-6);
}

.brand-card--large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--att-sp-8) var(--att-sp-6);
  border-radius: var(--att-radius-xl);
  border: 1px solid var(--att-color-border);
  background: var(--att-color-white);
  text-decoration: none;
  color: var(--att-color-text);
  transition: transform var(--att-ease-smooth), box-shadow var(--att-ease-smooth), border-color var(--att-ease-fast);
  min-height: 160px;
}

.brand-card--large:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--att-color-primary);
}

.brand-card--large .brand-card__name {
  font-size: var(--att-fs-2xl);
  font-weight: var(--att-fw-bold);
  letter-spacing: -0.02em;
}

.brand-card--large .brand-card__label {
  display: none;
}

.brand-card--large .brand-card__count {
  margin-top: var(--att-sp-2);
  font-size: var(--att-fs-sm);
  color: var(--att-color-text-secondary);
}
