/* ==========================================================================
   Ambiance « studio » de l'accueil, étendue à tout le site public.
   Mur crème, rais de lumière d'une fenêtre, cartes de verre, titres centrés
   à l'encre prune avec une touche rose gold — comme la vitrine (showroom.css).
   Chargée après rococo.css, uniquement par layouts/site.html.twig.
   ========================================================================== */

:root {
  --st-wall: #E6DACF;
  --st-wall-light: #F3ECE4;
  --st-ink: #3B2B27;
  --st-ink-soft: #6E5A52;
  /* Rose gold du texte : toutes les teintes ≥ 3:1 sur le mur crème (WCAG 1.4.3, grands titres) */
  --st-rg: linear-gradient(100deg, #8E4B57 0%, #A86A74 30%, #9C5864 55%, #A5646F 78%, #8A4652 100%);
  /* Le mur du studio, avec la lumière qui entre par la gauche */
  --st-bg:
    radial-gradient(130% 95% at 50% 40%, transparent 55%, rgb(120 96 80 / .18) 100%),
    linear-gradient(116deg, transparent 0 6%, rgb(255 252 247 / .55) 6% 15%, transparent 15% 19%, rgb(255 252 247 / .35) 19% 25%, transparent 25%),
    radial-gradient(48% 60% at 16% 22%, rgb(255 250 244 / .75), transparent 70%),
    radial-gradient(60% 55% at 52% 44%, var(--st-wall-light) 0%, rgb(243 236 228 / 0) 75%),
    var(--st-wall);
  --st-glass: rgb(255 253 250 / .62);
  --st-glass-line: rgb(255 255 255 / .75);
  --st-shadow: 0 1px 0 rgb(255 255 255 / .7) inset, 0 24px 50px -30px rgb(110 86 72 / .45);
}

/* — Plus de marge bordeaux ni de cadre doré : le site occupe tout l'écran, comme l'accueil — */
body:has(> .frame) {
  --frame-gap: 0px;
  --frame-radius: 0px;
  background: var(--st-wall);
}
.frame::before, .frame-corners { display: none; }
.frame {
  box-shadow: none;
  background:
    radial-gradient(90% 40% at 50% 0%, rgb(255 255 255 / .7), transparent 70%),
    linear-gradient(180deg, #F7F1EB, #FBF7F3 30%, #FBF7F3 70%, #F4ECE5);
}

/* — En-têtes de pages : la lumière du studio, titre centré comme la vitrine — */
.page-head {
  margin-top: -76px;
  padding: calc(76px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  color: var(--st-ink);
  background:
    linear-gradient(180deg, transparent 70%, #F7F1EB 100%),
    var(--st-bg);
  box-shadow: none;
}
.page-head h1, .page-head h2 { color: var(--st-ink); }
.page-head__mark { display: none; }
.page-head__grid { display: block; }
.page-head h1 {
  font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
/* Fin filet rose gold sous le titre, comme sous le nom des poses */
.page-head h1::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: clamp(1rem, 2vw, 1.4rem) auto 0;
  background: var(--st-rg);
}
.page-head__lead {
  max-width: 38rem;
  margin: clamp(.9rem, 2vw, 1.25rem) auto 0;
  padding: 0;
  font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
  color: var(--st-ink-soft);
}
.page-head__kicker { margin: 0 0 .5rem; font-size: var(--t-small); color: color-mix(in srgb, var(--st-ink) 82%, transparent); }
.page-head__kicker .script, .page-head .script, .page-head h1 em {
  font-size: 1.6rem;
  margin-right: .2rem;
  background: var(--st-rg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-head h1 em { font-size: inherit; margin: 0; }
.page-head a:not(.btn) { color: #8E4B57; }
.page-head .breadcrumb { color: var(--st-ink-soft); justify-content: center; }
.page-head--compact { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }

/* — L'en-tête du site flotte sur le studio, puis se voile au défilement — */
.site-header.is-scrolled { background: rgb(247 241 235 / .78); }

/* — Panneaux, formulaires et encarts : cartes de verre — */
.panel,
.catalog-addons,
.service-facts.panel,
.empty {
  background: var(--st-glass);
  border: 1px solid var(--st-glass-line);
  box-shadow: var(--st-shadow);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
}
.catalog-addons { border-radius: var(--radius-l); }

/* Titres de catégories et intertitres : la calligraphie rose gold de l'accueil */
.catalog__group h2,
.faq-topic h2,
.contact-info h2 {
  font-family: var(--f-script);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
  background: var(--st-rg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.catalog__group h2 { font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); }
.faq-topic h2, .contact-info h2 { font-size: clamp(1.7rem, 1.4rem + .8vw, 2.2rem); }

/* Carte des prestations : filets dorés pointillés, comme la carte de l'accueil */
.menu__list { border-top-color: var(--c-line-gold); }
.menu__row { border-bottom-style: dotted; border-bottom-color: var(--c-line-gold); }
.faq-item { border-bottom: 1px dotted var(--c-line-gold); }

/* Valeurs de l'institut : petites cartes de verre */
.values:not(.values--cameo) .value {
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--st-glass-line);
  border-radius: var(--radius-l);
  background: var(--st-glass);
  box-shadow: var(--st-shadow);
}

/* — Connexion / inscription : le visuel passe du bordeaux au studio — */
.auth__art {
  background: var(--st-bg) !important;
  box-shadow: inset 0 0 0 1px var(--st-glass-line);
}

/* — Sections longues (contenu des pages) : léger rappel du mur du studio en bas de page — */
main > section:last-of-type:not(.showroom):not(.home-section) {
  padding-bottom: var(--s-9);
}
.values:not(.values--cameo) .value__title {
  margin-top: 0;
  font-family: var(--f-script);
  font-style: normal;
  font-size: clamp(1.5rem, 1.25rem + .6vw, 1.9rem);
  color: var(--c-rosegold-deep);
}
.auth__art { border-radius: var(--radius-l); }
.auth__quote {
  background: var(--st-rg);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth__art img { filter: drop-shadow(0 18px 24px rgb(110 86 72 / .35)); }
