/* Bases et variables */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --light-warm: #f4f1ec;
  --anthracite: #2b2b2b;
  --fuchsia: #e0187a;
  --fuchsia-dark: #b8115f;
  --fuchsia-light: #ff3d94;
  --gray-light: #e8e5e0;
  --text-muted: #6b6868;
  --font-display: 'Barlow Condensed',sans-serif;
  --font-body: 'Barlow',sans-serif;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.13);
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--anthracite);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
}

/* Boutons et titres */

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fuchsia);
  margin-bottom: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-fuchsia {
  background: var(--fuchsia);
  border-color: var(--fuchsia);
}

.btn-fuchsia:hover {
  background: var(--fuchsia-dark);
  border-color: var(--fuchsia-dark);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-white {
  background: white;
  border-color: white;
}

.btn-white:hover {
  background: var(--off-white);
}

.btn-outline-fuchsia {
  background: transparent;
  color: var(--fuchsia);
  border-color: var(--fuchsia);
}

.btn-outline-fuchsia:hover {
  background: var(--fuchsia);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  color: var(--anthracite);
}

.section-title--white {
  color: var(--white);
}

.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 0.75rem;
}

/* En-tête et navigation */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--anthracite);
  flex-shrink: 0;
}

.logo span {
  color: var(--fuchsia);
}

.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
  height: 64px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--anthracite);
  transition: color var(--transition);
}

.main-nav > li > a .chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-top: 1px;
}

.dropdown {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid var(--fuchsia);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  list-style: none;
  padding: 8px 0;
  z-index: 100;
}

.main-nav > li > a:hover,
.main-nav > li > a.active {
  color: var(--fuchsia);
}

.main-nav > li:hover .dropdown,
.main-nav > li:focus-within .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--anthracite);
  transition: background var(--transition),color var(--transition);
}

.dropdown a:hover,
.dropdown a.active {
  background: var(--off-white);
  color: var(--fuchsia);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem 2rem 3rem;
  flex-direction: column;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--anthracite);
  border-bottom: 1px solid var(--gray-light);
}

.mobile-nav a:hover {
  color: var(--fuchsia);
}

.mobile-nav .mobile-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  border-bottom: none;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  transition: border-color var(--transition),background var(--transition);
}

.social-icon:hover {
  border-color: var(--fuchsia);
  background: var(--fuchsia);
}

/* Pied de page */

.fat-footer {
  background: var(--anthracite);
  padding: 4rem 2rem 0;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--fuchsia);
}

.footer-contact p {
  font-size: 13px;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--fuchsia);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--fuchsia);
}

/* Composants partagés */

.hero-gamme {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--anthracite);
}

.hero-gamme-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-gamme-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-gamme-content {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-gamme-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fuchsia);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.hero-gamme-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.hero-gamme-title {
  text-transform: uppercase;
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-gamme-title em {
  color: var(--fuchsia-light);
  font-style: normal;
}

.hero-gamme-desc {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-gamme-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-banner {
  background: var(--fuchsia);
  text-align: center;
}

.cta-banner-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner h2 {
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 15px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.breadcrumb {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-light);
  padding: 0.6rem 2rem;
}

.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.breadcrumb-inner a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb-inner a:hover {
  color: var(--fuchsia);
}

.breadcrumb-inner .sep {
  opacity: 0.4;
}

.breadcrumb-inner .current {
  color: var(--anthracite);
  font-weight: 500;
}

.avis-mini-section {
  background: var(--anthracite);
  padding: 4rem 2rem;
}

.avis-mini-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.avis-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.avis-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.avis-mini-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1.5rem;
}

.avis-mini-stars {
  color: #FFD700;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.avis-mini-text {
  font-size: 13px;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.avis-mini-author {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

.avis-score-sm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fuchsia);
  padding: 10px 18px;
  border-radius: var(--radius);
}

.avis-score-sm .note {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.avis-score-sm .stars {
  color: #FFD700;
  font-size: 12px;
  letter-spacing: 2px;
}

.avis-score-sm .count {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
}

.accordion {
  border: 1px solid var(--gray-light);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--white);
}

.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--anthracite);
  gap: 1rem;
  transition: background var(--transition);
}

.accordion-btn:hover {
  background: var(--off-white);
}

.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--fuchsia);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  transition: transform var(--transition);
}

.accordion.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 1.5rem 1.25rem;
}

.accordion.open .accordion-body {
  display: block;
}

.accordion-body p, .accordion-body li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

.accordion-body ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.accordion-body li {
  margin-bottom: 4px;
}

.accordion-body a {
  color: var(--fuchsia);
  font-weight: 500;
}

.accordion-body a:hover {
  text-decoration: underline;
}

/* Avis défilants */

.avis-track-wrapper {
  overflow: hidden;
  padding: 8px 0 12px;
}

.avis-track {
  display: flex;
  gap: 16px;
  padding: 0 2rem;
  width: max-content;
  animation: scrollAvis 40s linear infinite;
}

.avis-track-wrapper:hover .avis-track {
  animation-play-state: paused;
}

@keyframes scrollAvis {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .avis-track-wrapper {
    overflow-x: auto;
  }

  .avis-track {
    animation: none;
  }

  .avis-track > [aria-hidden="true"] {
    display: none;
  }
}

/* Navigation et pied de page sur petit écran */

@media (max-width: 768px) {
  .header-inner { padding: 0 1.25rem; }
  .main-nav, .btn.header-btn { display: none; }
  .hamburger { display: flex; }
  body.mobile-menu-open { overflow: hidden; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
