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

:root {
  --white:      #ffffff;
  --off-white:  #f7f6f3;
  --gray-50:    #f0efec;
  --gray-100:   #e2e0db;
  --gray-200:   #c4c2bc;
  --gray-300:   #9c9a94;
  --gray-400:   #706e68;
  --gray-500:   #54524d;
  --gray-600:   #3d3b37;
  --gray-700:   #2a2926;
  --gray-800:   #1a1917;
  --gray-900:   #0f0e0c;
  --black:      #080807;
  --accent:     #c94f13;
  --accent-hover: #b0440f;
  --accent-light: #fdf4ed;
  --accent-dim: rgba(201,79,19,.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;
  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,.06);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-500);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent); }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

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

.btn--outline:hover {
  background: var(--gray-700);
  color: var(--white);
}

/* ==============================
   NAVIGATION
   ============================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  transition: box-shadow .4s ease;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__logo {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .15em;
  color: var(--gray-800);
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  transition: color .3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .3s ease;
}

.nav__links a:hover {
  color: var(--gray-800);
}

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-600);
  transition: all .3s ease;
}

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

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--off-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.03) 0%, transparent 100%),
    radial-gradient(ellipse at 30% 50%, rgba(201,79,19,.04) 0%, transparent 70%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0,0,0,.025) 40px, rgba(0,0,0,.025) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,0,0,.025) 40px, rgba(0,0,0,.025) 41px);
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(201,79,19,.06) 0%, transparent 60%);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 80px;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.08;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 18px;
  color: var(--gray-400);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray-300);
  opacity: .7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gray-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(.6); }
}

/* ==============================
   SECTIONS
   ============================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section--dark-alt {
  background: var(--gray-50);
}

.section__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  color: var(--gray-800);
  margin-bottom: 20px;
}

.section__text {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 640px;
}

.section__header {
  margin-bottom: 60px;
}

/* ==============================
   ABOUT
   ============================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.stat:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat::after {
  content: '+';
  display: block;
  font-size: 20px;
  color: var(--accent);
  margin-top: -4px;
  opacity: .6;
}

.stat__label {
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ==============================
   COLLECTIONS
   ============================== */
       /* grille collections */
        .collection__grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 1rem;
        }

        .collection__card {
            background: #111111;
            border-radius: 2rem;
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.3s ease;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .collection__card:hover {
            transform: translateY(-6px);
            box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
            border-color: rgba(184, 124, 79, 0.3);
        }

        /* zone image : conteneur avec fond sombre + image centrée */
        .collection__img {
            position: relative;
            width: 100%;
            padding-top: 85%;
            overflow: hidden;
            background: #1a1a1a;
        }

        .collection__shoe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center 55%;
            transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        .collection__card:hover .collection__shoe {
            transform: scale(1.03);
        }

        /* informations carte */
        .collection__info {
            padding: 1.8rem 1.5rem 2rem 1.5rem;
        }

        .collection__info h3 {
            font-size: 1.6rem;
            font-weight: 500;
            letter-spacing: -0.3px;
            margin-bottom: 0.65rem;
            color: #f5f0ea;
        }

        .collection__info p {
            font-size: 0.95rem;
            line-height: 1.5;
            color: #b3b3b3;
            margin-bottom: 1.2rem;
        }

        .collection__tag {
            display: inline-flex;
            background: rgba(184, 124, 79, 0.2);
            padding: 0.3rem 1rem;
            border-radius: 60px;
            font-size: 0.75rem;
            font-weight: 500;
            letter-spacing: 0.3px;
            color: #d9a066;
            border: 0.5px solid rgba(184, 124, 79, 0.3);
            backdrop-filter: blur(2px);
        }

        /* petite optimisation pour que les images aient un super rendu même si chargement lent */
        @media (max-width: 640px) {
            .collection__img {
                padding-top: 75%;
            }
            .collection__info {
                padding: 1.4rem 1.2rem 1.6rem;
            }
            .collection__info h3 {
                font-size: 1.4rem;
            }
        }

        /* animation subtile au scroll */
        .collection__card {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeUp 0.6s forwards;
        }

        .collection__card:nth-child(1) { animation-delay: 0.05s; }
        .collection__card:nth-child(2) { animation-delay: 0.15s; }
        .collection__card:nth-child(3) { animation-delay: 0.25s; }

        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 32px;
  border: 1px solid var(--gray-100);
  background: var(--white);
  transition: border-color .3s ease, box-shadow .3s ease;
}

.testimonial:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial__text {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial__author {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: .04em;
}

/* ==============================
   CONTACT
   ============================== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact__details {
  margin-top: 32px;
}

.contact__details p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 16px;
}

.contact__details strong {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.form__group {
  margin-bottom: 20px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-200);
}

.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  padding: 80px 0 32px;
  border-top: 1px solid var(--gray-100);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer__logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--gray-800);
  display: block;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
  max-width: 320px;
}

.footer__links h4,
.footer__social h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links ul li a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color .3s ease;
}

.footer__links ul li a:hover {
  color: var(--accent);
}

.social__icons {
  display: flex;
  gap: 12px;
}

.social__icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-100);
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  transition: all .3s ease;
}

.social__icons a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}

.footer__bottom p {
  font-size: 12px;
  color: var(--gray-300);
}

/* ==============================
   ANIMATIONS
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .collection__grid { grid-template-columns: 1fr 1fr; }
  .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    z-index: 999;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    display: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__links a {
    display: block;
    padding: 18px 24px;
    font-size: 14px;
  }

  .nav__toggle {
    display: flex;
    padding: 12px;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__desc {
    font-size: 16px;
  }

  .collection__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .about__stats {
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .about__stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat {
    padding: 20px 12px;
  }

  .stat__num {
    font-size: 36px;
  }

  .timeline {
    padding-left: 32px;
  }
}
