/* ============================================
   TOKENS
   ============================================ */
:root {
  /* Palette tirée directement des toiles de benoit Renaux */
  --cobalt: #4E5A72;    /* ardoise — fond principal, comme les fonds gris-bleu récurrents */
  --coral: #D9A83D;     /* ocre/moutarde — CTA, blocs d'accent clairs */
  --bordeaux: #6B2338;  /* bordeaux profond — motif des formes bordeaux récurrentes */
  --sun: #C2368C;       /* magenta — accent vif sur fond sombre */
  --bubblegum: #2E8B8B; /* sarcelle — accent secondaire, décor */
  --cloud: #F3EDE3;     /* blanc cassé — surfaces et texte clairs */
  --plum: #241934;      /* encre — texte sombre sur fond clair */

  --font-display: "Fraunces", serif;
  --font-body: "Space Grotesk", sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.75rem;
  --space-4: 3rem;
  --space-5: 5rem;
  --space-6: 8rem;

  --radius-blob: 62% 38% 55% 45% / 48% 45% 55% 52%;
  --max-w: 1180px;
}

* { box-sizing: border-box; }

@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;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cobalt);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
  font-weight: 600;
}

p { max-width: 62ch; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ============================================
   FOCUS / ACCESSIBILITY
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
}

/* ============================================
   NAV
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 20, 100, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(251, 248, 243, 0.12);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--sun);
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--bubblegum);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cloud);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cobalt);
    border-bottom: 1px solid rgba(251, 248, 243, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open {
    max-height: 320px;
  }
  .nav-links a {
    display: block;
    padding: var(--space-2) var(--space-3);
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-5);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
}

@media (max-width: 860px) {
  .hero {
    padding: var(--space-5) 0 var(--space-4);
  }
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 360px;
    margin: 0 auto;
    order: -1;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-copy {
    text-align: center;
  }
  .hero p.lede {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-eyebrow {
  color: var(--sun);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  color: var(--cloud);
}

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero p.lede {
  margin-top: var(--space-3);
  font-size: 1.2rem;
  color: rgba(251, 248, 243, 0.85);
}

.hero-actions {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--coral);
  color: var(--plum);
}

.btn-primary:hover {
  background: var(--sun);
}

.btn-ghost {
  border-color: rgba(251, 248, 243, 0.4);
  color: var(--cloud);
}

.btn-ghost:hover {
  border-color: var(--bubblegum);
  color: var(--bubblegum);
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
}

.blob {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-blob);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

.blob img { width: 100%; height: 100%; object-fit: cover; }

.blob-deco {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--bubblegum);
  top: -30px;
  right: -30px;
  z-index: -1;
  opacity: 0.85;
}

/* ============================================
   SECTIONS GENERIC
   ============================================ */
section { padding: var(--space-5) 0; }

.section-cobalt { background: var(--cobalt); color: var(--cloud); }
.section-cloud { background: var(--cloud); color: var(--plum); }
.section-coral { background: var(--coral); color: var(--plum); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-4);
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
}

.section-head p {
  margin-top: var(--space-2);
  font-size: 1.1rem;
}

.section-cloud .section-head p,
.section-coral .section-head p { color: rgba(36, 25, 52, 0.75); }
.section-cobalt .section-head p { color: rgba(251, 248, 243, 0.8); }

/* ============================================
   FEATURED SALON (accueil - aperçu asymétrique)
   ============================================ */
.salon {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.salon-item {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 14px 30px rgba(0,0,0,0.25);
}

.salon-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.salon-item:hover img { transform: scale(1.05); }

.salon-item.i1 { grid-column: span 3; grid-row: span 2; }
.salon-item.i2 { grid-column: span 3; grid-row: span 1; margin-top: var(--space-5); }
.salon-item.i3 { grid-column: span 2; grid-row: span 1; }
.salon-item.i4 { grid-column: span 4; grid-row: span 1; }

.salon-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-2);
  background: linear-gradient(to top, rgba(27,20,100,0.85), transparent);
  font-size: 0.9rem;
}

@media (max-width: 780px) {
  .salon { grid-template-columns: 1fr 1fr; }
  .salon-item.i1, .salon-item.i2, .salon-item.i3, .salon-item.i4 {
    grid-column: span 1;
    grid-row: auto;
    margin-top: 0;
  }
}

/* ============================================
   GALERIE (page dédiée)
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-2);
  background: linear-gradient(to top, rgba(27,20,100,0.9), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .gallery-meta,
.gallery-item:focus-within .gallery-meta { opacity: 1; }

.gallery-meta .title { font-family: var(--font-display); font-size: 1.05rem; }
.gallery-meta .meta-line { font-size: 0.8rem; color: rgba(251,248,243,0.8); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall, .gallery-item.wide { grid-column: span 1; grid-row: auto; }
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 12, 60, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: var(--space-4);
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.lightbox-inner img {
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 10px;
}

.lightbox-caption {
  margin-top: var(--space-2);
  color: var(--cloud);
}

.lightbox-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: 2px solid rgba(251,248,243,0.4);
  color: var(--cloud);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-close:hover { border-color: var(--sun); color: var(--sun); }

/* ============================================
   À PROPOS
   ============================================ */
.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-5);
  align-items: start;
}

.about-portrait {
  border-radius: var(--radius-blob);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-text h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: var(--space-4);
  margin-bottom: var(--space-1);
  color: var(--bordeaux);
}

.about-text h3:first-child { margin-top: 0; }

.stat-row {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--bordeaux);
}
.stat-label { font-size: 0.9rem; color: rgba(36,25,52,0.65); }

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

/* ============================================
   CONTACT
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.contact-form {
  display: grid;
  gap: var(--space-3);
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: rgba(251,248,243,0.85);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251,248,243,0.25);
  background: rgba(251,248,243,0.06);
  color: var(--cloud);
  font-family: var(--font-body);
  font-size: 1rem;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(251,248,243,0.4); }

.contact-info-card {
  background: var(--coral);
  color: var(--plum);
  border-radius: 20px;
  padding: var(--space-4);
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-2);
}

.contact-info-card .info-line {
  margin-top: var(--space-2);
  font-size: 1rem;
}

.form-note {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  color: rgba(251,248,243,0.6);
}

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

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bordeaux);
  color: rgba(243, 237, 227, 0.75);
  padding: var(--space-4) 0;
  font-size: 0.9rem;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

footer a:hover { color: var(--coral); }

/* ============================================
   STRIPE DIVIDER — motif de bandes rayées inspiré
   des toiles de benoit Renaux (ciels et bordures en bandes)
   ============================================ */
.stripe-divider {
  height: 14px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0, var(--coral) 8%,
    var(--bordeaux) 8%, var(--bordeaux) 16%,
    var(--bubblegum) 16%, var(--bubblegum) 24%,
    var(--sun) 24%, var(--sun) 32%
  );
}
