/* ── Reset minimal ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Font Face ── */
/* ── Variables CSS ── */
:root {
  --red:        #cd2000;
  --black:      #0a0a0a;
  --white:      #ffffff;
  --surface:    #f8f8f8;
  --font-brand: 'Anton', Impact, sans-serif;
  --font-body:  Inter, system-ui, -apple-system, sans-serif;
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font-body); }
textarea, input { font-family: var(--font-body); }
img { display: block; max-width: 100%; }

/* ── Animations ── */
@keyframes pulse-dot {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%, -50%) scale(1.4); opacity: 0.65; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--black);
  height: 56px;
  transition: transform 200ms ease;
}
.nav--hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-brand);
  font-size: 24px;
  color: var(--white);
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  transition: color 150ms;
}
.nav-link:hover { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 150ms;
}
.nav-cta:hover { background: #cc2000; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* Mobile menu overlay */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  animation: fadeIn 150ms ease;
}
.nav-mobile-menu.is-open { display: flex; }

.nav-mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.nav-mobile-link {
  font-family: var(--font-brand);
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.15em;
}

/* ================================================================
   MAIN (offset for fixed nav)
   ================================================================ */
main { padding-top: 56px; }

/* ================================================================
   HERO
   ================================================================ */
.hero { border-top: 4px solid var(--red); }

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55fr 45fr;
}

.hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px;
  gap: 32px;
}

.hero-left-border {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 4px;
  background: var(--black);
}

.hero-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #999;
}

.hero-h1 {
  font-family: var(--font-brand);
  font-size: clamp(64px, 9vw, 108px);
  line-height: 0.9;
  color: var(--black);
  margin-top: 8px;
}
.hero-h1 .accent { color: var(--red); }

.hero-tagline {
  font-size: 13px;
  line-height: 1.6;
  color: var(--black);
  border-left: 3px solid var(--red);
  padding-left: 12px;
  max-width: 280px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 150ms;
  align-self: flex-start;
}
.hero-cta:hover { background: #cc2000; }

/* Right panel */
.hero-right { display: flex; flex-direction: column; }

.hero-garments {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  padding: 24px;
  background: #000;
  min-height: 320px;
}

.garment { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.garment:nth-child(1) { align-self: flex-start; }
.garment:nth-child(2) { align-self: flex-end; }
.garment:nth-child(3) { align-self: flex-start; }

.garment-body { position: relative; width: 96px; height: 120px; }
.garment-silhouette { width: 100%; height: 100%; }

.garment-star {
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: pulse-dot 2s ease-in-out infinite;
}

.garment-name { font-size: 11px; color: #666; }

.hero-design-hint {
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--red);
}

/* ── Hero Carousel ── */
.hero-carousel {
  position: relative;
  background: #000;
  min-height: 320px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 320px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.carousel-slide.is-active { opacity: 1; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: rgba(255,255,255,0.85);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 10px 14px;
  z-index: 2;
  transition: background 0.15s;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.75); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.is-active {
  background: var(--red);
  transform: scale(1.3);
}

.hero-steps {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 2px solid var(--red);
}

.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid #e8e8e8;
}

.hero-step-num { font-size: 18px; font-weight: 700; color: var(--red); width: 32px; flex-shrink: 0; }
.hero-step-title { font-size: 13px; font-weight: 700; color: var(--black); display: block; }
.hero-step-desc  { font-size: 11px; color: #666; }

/* ================================================================
   PROOF STRIP
   ================================================================ */
.proof-strip { background: #0a0a0a; border-top: 1px solid #1a1a1a; }

.proof-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-metric { padding: 20px 28px; border-right: 1px solid #1a1a1a; }
.proof-metric:last-child { border-right: none; }

.proof-val {
  font-family: var(--font-brand);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.03em;
  display: block;
}
.proof-lbl {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  margin-top: 3px;
  display: block;
}

/* ================================================================
   DEVIS — Multi-step form
   ================================================================ */
.devis-section {
  border-top: 4px solid var(--red);
  background: var(--white);
  padding: 72px 0;
}

.devis-inner {
  max-width: 580px;
  margin: 0 auto;
  padding: 0 24px;
}

.devis-tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
}

.devis-title {
  font-family: var(--font-brand);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

/* Progress bars */
.devis-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}
.pb {
  flex: 1;
  height: 3px;
  background: #e0e0e0;
  transition: background 0.3s, opacity 0.3s;
}
.pb.active { background: var(--red); opacity: 1; }
.pb.done   { background: var(--red); opacity: 0.45; }

/* Transition hint */
.step-hint {
  font-size: 10px;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  min-height: 1em;
}

/* Step heading */
.step-h {
  font-family: var(--font-brand);
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 24px;
}

/* Step panels */
.step-panel { display: none; }
.step-panel.active { display: block; }

/* Choice buttons */
.choices-col { display: flex; flex-direction: column; gap: 10px; }
.choices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.choice-btn {
  border: 2px solid #ddd;
  background: transparent;
  color: var(--black);
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  display: block;
  width: 100%;
}
.choice-btn.is-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}
.choice-btn.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.choice-btn .emoji { font-size: 22px; }
.choice-btn .sub {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #999;
  margin-top: 3px;
  display: block;
}
.choice-btn.selected .sub { color: rgba(255,255,255,0.75); }
.choice-btn .conseil {
  font-size: 9px;
  color: var(--red);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 6px;
  margin-top: 2px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  display: block;
}
.choice-btn.selected .conseil { color: rgba(255,255,255,0.6); }

/* Form fields */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #666;
}
.form-label .opt { color: #ccc; text-transform: none; letter-spacing: 0; }

.form-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid #ddd;
  color: var(--black);
  font-size: 26px;
  font-weight: 700;
  padding: 8px 0;
  outline: none;
  width: 100%;
  transition: border-color 150ms;
}
.form-input:focus { border-bottom-color: var(--red); }
.form-input.sm { font-size: 18px; }

.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid #ddd;
  color: var(--black);
  font-size: 14px;
  font-weight: 400;
  padding: 8px 0;
  outline: none;
  width: 100%;
  resize: none;
  line-height: 1.6;
  transition: border-color 150ms;
}
.form-textarea:focus { border-bottom-color: var(--red); }

/* Délai pills */
.delai-group { display: flex; flex-wrap: wrap; gap: 8px; }
.delai-btn {
  border: 2px solid #ddd;
  background: transparent;
  color: var(--black);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
}
.delai-btn.selected { border-color: var(--red); background: var(--red); color: var(--white); }

/* Visuel toggle */
.visuel-toggle { display: flex; border: 2px solid #ddd; }
.visuel-tab {
  flex: 1;
  padding: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: background 0.15s;
}
.visuel-tab.active { background: var(--red); color: var(--white); }

/* File zone */
.file-upload-btn {
  display: block;
  width: 100%;
  border: 2px dashed #ddd;
  background: transparent;
  color: var(--black);
  padding: 28px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  transition: border-color 150ms;
}
.file-upload-btn:hover { border-color: var(--red); }
.file-upload-btn.has-file { color: var(--red); border-color: var(--red); border-style: solid; }

.form-hint     { font-size: 9px; color: #bbb; }
.form-privacy  { font-size: 9px; color: var(--red); }
.form-error    { font-size: 12px; color: var(--red); display: none; }

/* Buttons */
.btn-next {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-next:disabled { opacity: 0.4; cursor: default; }

.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s;
}
.btn-submit:disabled { opacity: 0.5; cursor: default; }

.btn-back {
  background: none;
  border: none;
  color: #bbb;
  font-size: 11px;
  cursor: pointer;
  letter-spacing: 0.1em;
}

.btn-row { display: flex; gap: 12px; align-items: center; }

/* Success state */
.devis-success { display: none; }
.devis-success.show { display: block; }

/* ================================================================
   SERVICES
   ================================================================ */
.services-section { border-top: 4px solid var(--red); }

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-brand);
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 40px;
}

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

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid #e8e8e8;
}
.service-card:last-child { border-right: none; }

.service-name { font-size: 28px; font-weight: 700; color: var(--black); }
.service-desc { font-size: 13px; line-height: 1.6; color: #666; }

.service-supports {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
}
.service-support-item {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
}

.service-ideal {
  font-size: 11px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid #e8e8e8;
}

/* Mobile accordion */
.services-accordion {
  display: none;
  flex-direction: column;
  border-top: 1px solid #e8e8e8;
}

.accordion-item { border-bottom: 1px solid #e8e8e8; }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-trigger-name { font-size: 22px; font-weight: 700; color: var(--black); }
.accordion-trigger-icon { font-size: 20px; color: #999; }

.accordion-content {
  display: none;
  padding-bottom: 24px;
  flex-direction: column;
  gap: 12px;
}
.accordion-content.is-open { display: flex; }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-section { border-top: 4px solid var(--red); background: var(--surface); }

.gallery-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.gallery-h2 .accent { color: var(--red); }

.gallery-empty {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
  text-align: center;
  padding: 48px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.gallery-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; background: #e0e0e0; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s;
}
.gallery-item img:hover { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close:hover { color: var(--white); }

.lightbox-prev,
.lightbox-next {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 32px;
  cursor: pointer;
  padding: 16px;
}
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }
.lightbox-prev { margin-right: 8px; }
.lightbox-next { margin-left: 8px; }

.lightbox-img { max-height: 85vh; max-width: 80vw; width: auto; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { border-top: 4px solid var(--red); }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo { font-family: var(--font-brand); font-size: 20px; letter-spacing: 0.15em; color: var(--black); }

.footer-links { display: flex; gap: 24px; }

.footer-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
  transition: color 150ms;
}
.footer-link:hover { color: var(--black); }

.footer-copy { font-size: 11px; color: #999; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { padding: 32px 20px; }
  .hero-left-border { display: none; }

  /* Proof strip */
  .proof-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-metric:nth-child(2) { border-right: none; }
  .proof-metric:nth-child(3) { border-right: 1px solid #1a1a1a; }
  .proof-metric:nth-child(4) { border-right: none; }

  /* Services */
  .services-grid      { display: none; }
  .services-accordion { display: flex; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
}
