/* ==========================================================================
   ATELIER ÉCLAT — thème de l'étude de cas (lumineux, doux, raffiné)
   ========================================================================== */

body.theme-atelier {
  --bg: #FBF1E4;
  --fg: #5A3B24;
  --muted: #7A5D47;
  --accent: #8A5A36;
  --accent-fg: #FBF1E4;
  --line: rgba(122, 82, 51, .18);
  --line-strong: rgba(122, 82, 51, .42);
  --head-fg: #5A3B24;
  --head-bg: rgba(251, 241, 228, .9);
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --shadow: 0 40px 70px -30px rgba(106, 70, 40, .38);
  --shadow-soft: 0 24px 50px -28px rgba(106, 70, 40, .4);
  --pill-radius: 999px;
  --phone-bg: #FFFBF5;
  --phone-fg: #7A5D47;
}
.theme-atelier .cs-h2, .theme-atelier .da__title, .theme-atelier .cs-title { font-weight: 500; }
.theme-atelier .cs-h2 em, .theme-atelier .cs-title em, .theme-atelier .da__title em { font-style: italic; color: var(--accent); }
.theme-atelier .eyebrow { color: var(--accent); }
.theme-atelier .btn { --btn-fg: #FBF1E4; --btn-bg: #8A5A36; }
.theme-atelier .btn:hover { color: #8A5A36; }

/* Hero */
.theme-atelier .cs-hero {
  background:
    radial-gradient(55% 60% at 85% 30%, rgba(226, 186, 156, .45), transparent 70%),
    linear-gradient(180deg, #FBF1E4, #F6E6D3);
}
.theme-atelier .cs-hero::before {
  content: ""; position: absolute; right: 2vw; top: 9%; width: min(46vw, 620px); aspect-ratio: .78;
  border: 1px solid rgba(122, 82, 51, .22); border-radius: 999px 999px 0 0; pointer-events: none;
}
.theme-atelier .cs-title { font-size: clamp(3.4rem, 10vw, 8.6rem); letter-spacing: -.01em; }
.theme-atelier .cs-lead { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.4; }
.theme-atelier .concept-banner { background: rgba(255, 255, 255, .45); }

/* A */
.theme-atelier .cs-concept { background: #FBF1E4; }

/* B */
.theme-atelier .cs-da { background: #F6E6D3; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(.6rem, 1.6vw, 1.3rem); }
.swatch__chip {
  height: clamp(150px, 20vw, 230px); border-radius: 999px 999px 0 0;
  box-shadow: inset 0 0 0 1px rgba(122, 82, 51, .16);
}
.swatch__name { margin-top: .8rem; font-family: var(--display); font-size: 1.2rem; line-height: 1.1; }
.swatch__hex { font-size: .7rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
@media (max-width: 700px) {
  .swatches { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
}
.type-spec { box-shadow: var(--shadow-soft); width: fit-content; max-width: 100%; }
.type-spec img { max-width: 520px; width: 100%; }
.type-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.4rem; }
.type-notes div { border-top: 1px solid var(--line-strong); padding-top: .9rem; }
.type-notes b { display: block; font-family: var(--display); font-size: 1.2rem; font-weight: 500; margin-bottom: .2rem; }
.type-notes span { font-size: .9rem; color: var(--muted); }
@media (max-width: 560px) { .type-notes { grid-template-columns: 1fr; } }

/* C */
.theme-atelier .cs-gallery { background: #FBF1E4; }
.theme-atelier .gal { grid-template-columns: repeat(3, 1fr); }
.theme-atelier .gal__item:nth-child(3n+2) { margin-top: clamp(2.5rem, 7vw, 6rem); }
@media (max-width: 900px) {
  .theme-atelier .gal { grid-template-columns: repeat(2, 1fr); }
  .theme-atelier .gal__item:nth-child(3n+2) { margin-top: 0; }
  .theme-atelier .gal__item:nth-child(2n) { margin-top: 3rem; }
}
@media (max-width: 560px) {
  .theme-atelier .gal { grid-template-columns: 1fr; gap: 2.4rem; }
  .theme-atelier .gal__item:nth-child(n) { margin-top: 0; }
  .theme-atelier .gal__item:nth-child(even) { width: 88%; justify-self: end; }
}

/* D */
.theme-atelier .cs-focus { background: #F6E6D3; }
.theme-atelier .pin { background: #794F2B; }

/* Suite */
.theme-atelier .cs-next { background: #FBF1E4; }

@media (max-width: 900px) { .theme-atelier .cs-hero::before { display: none; } }
