/* Hallmark · v2.0.0 · redesign: restyle (thème atelier, beta) · theme: brand (anthracite, jaune, Manrope : la marque bmgr) · genre: editorial · scope: site */
/* Critique : plus aucune monospace ni capitale espacée ; les libellés sont la police du texte, un cran plus petit, en minuscules. Les flèches et points médians collés au texte sont retirés. Reste à trancher avec le client : un titre d'accueil de 12 mots et un sous-titre de deux phrases (règles 13 et 58). */
/*
 * Thème « atelier » (activé par SITE_THEME=atelier).
 * Mêle les codes d'un bureau d'ingénieur (cartouche, filets)
 * et ceux d'une agence d'architecture (grandes surfaces, grille asymétrique,
 * titres légers). Les couleurs de la marque restent celles de styles.css.
 */

html:has(> body.theme-atelier),
body.theme-atelier {
  overflow-x: clip;
}

.theme-atelier {
  --rule: #d9d9de;
  --label-size: 0.875rem;
  --sidebar: 0px;
  --dur-short: 220ms;
  --dur-long: 560ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(20px, 4vw, 64px);
  --space: clamp(96px, 11vw, 176px);
}

/* ---------- Pleine page : conteneur large, grandes marges ---------- */
.theme-atelier .container {
  max-width: 1440px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.theme-atelier .section {
  padding: var(--space) 0;
}
.theme-atelier .section + .section:not(.section-alt):not(.section-cta) {
  border-top: 1px solid var(--rule);
}

/* ---------- Angles droits, sans ombres ---------- */
.theme-atelier .card,
.theme-atelier .btn,
.theme-atelier .nav-cta,
.theme-atelier .offer-card,
.theme-atelier .testimonial,
.theme-atelier .project-facts,
.theme-atelier .callout,
.theme-atelier .service-list a,
.theme-atelier .service-icon,
.theme-atelier .tag,
.theme-atelier .chapter-media img,
.theme-atelier .service-hero-img,
.theme-atelier .team-card,
.theme-atelier .team-photo {
  border-radius: 0;
  box-shadow: none;
}

/* ---------- En-tête et fil d'Ariane ---------- */
.theme-atelier .header-inner {
  padding-top: 22px;
  padding-bottom: 22px;
}
.theme-atelier .nav-link {
  font-size: 15px;
}
.theme-atelier .breadcrumb {
  background: var(--anthracite-dark);
  border-bottom: none;
}

.theme-atelier .breadcrumb a {
  color: var(--anthracite-light);
}

.theme-atelier .breadcrumb li[aria-current="page"] {
  color: var(--yellow);
}

.theme-atelier .breadcrumb-list {
  font-size: var(--label-size);
}

.theme-atelier button[type="submit"] {
  border: none;
}

/* ---------- Typographie à la suisse : grasse, serrée ---------- */
.theme-atelier .hero-title {
  font-weight: 800;
  font-size: clamp(2.8rem, 6.6vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  max-width: 15ch;
}
.theme-atelier .hero-subtitle {
  font-weight: 600;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  max-width: 46ch;
}
.theme-atelier .page-title {
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  max-width: 18ch;
}
.theme-atelier .page-subtitle {
  font-weight: 600;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  max-width: 52ch;
}
.theme-atelier .section-title,
.theme-atelier .chapter-title {
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
/* Titre de section : la hiérarchie tient à l'échelle et au vide, sans filet */
.theme-atelier .section-title {
  display: block;
  max-width: 22ch;
  padding-bottom: 0;
  margin-bottom: clamp(40px, 4vw, 64px);
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.theme-atelier .section-title::after {
  content: none;
}
.theme-atelier .section-head {
  position: relative;
}
.theme-atelier .section-head .section-title {
  flex: 1 1 100%;
}
.theme-atelier .section-head .section-link {
  position: absolute;
  right: 0;
  top: 0.6em;
}
.theme-atelier .chapter-title {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.theme-atelier .section-intro {
  font-weight: 600;
  font-size: 1.15rem;
  margin: -24px 0 48px;
}
.theme-atelier .prose,
.theme-atelier .sector-lead {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---------- Libellés : la police du texte, un cran plus petit, en minuscules ---------- */
.theme-atelier .card-year,
.theme-atelier .card-meta,
.theme-atelier .card-link,
.theme-atelier .section-link,
.theme-atelier .service-list-label,
.theme-atelier .offer-label,
.theme-atelier .chapter-project-year,
.theme-atelier .chapter-project-client,
.theme-atelier .project-facts dt,
.theme-atelier .legal-updated,
.theme-atelier .article-meta,
.theme-atelier .meta-label,
.theme-atelier .footer-legal,
.theme-atelier .footer-tagline,
.theme-atelier .form-privacy-note,
.theme-atelier .contact-form label {
  font-size: var(--label-size);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.theme-atelier .card-meta,
.theme-atelier .service-list-label,
.theme-atelier .offer-label,
.theme-atelier .project-facts dt,
.theme-atelier .chapter-project-client {
  color: var(--muted);
}

/* Titres : une graisse, une couleur, jamais de débordement */
.theme-atelier .hero-title,
.theme-atelier .page-title,
.theme-atelier .section-title,
.theme-atelier .chapter-title,
.theme-atelier .card-title,
.theme-atelier .offer-title,
.theme-atelier .cta-title,
.theme-atelier .sector-block-title {
  overflow-wrap: break-word;
  min-width: 0;
}

/* ---------- Boutons : à plat, en capitales ---------- */
.theme-atelier .btn {
  font-size: 15px;
  padding: 16px 28px;
}

/* ---------- Ouverture : pleine hauteur, texte en bas ---------- */
.theme-atelier .hero-with-bg {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 72px;
}
.theme-atelier .hero-with-bg > .container {
  width: 100%;
}
.theme-atelier .page-header {
  padding: 120px 0 56px;
}
.theme-atelier .page-header-with-bg {
  min-height: 72vh;
}

/* ---------- « Une relation dans la durée » : trois colonnes éditoriales ---------- */
.theme-atelier .specialty-text {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  max-width: none;
  font-size: 1.08rem;
}
.theme-atelier .specialty-text p strong {
  display: block;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

/* ---------- Cartes : supprimées, place à l'image et au texte ---------- */
.theme-atelier .card {
  border: 0;
  background: transparent;
}
.theme-atelier .card:hover {
  transform: none;
  box-shadow: none;
}
.theme-atelier .card-body {
  padding: 0;
}
.theme-atelier .card-title {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Projets : grandes images sur deux colonnes, légende courte puis titre en gras */
.theme-atelier .grid-projects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 6vw, 96px) clamp(24px, 3vw, 48px);
}
.theme-atelier .grid-projects .card-img {
  height: auto;
  aspect-ratio: 4 / 3;
  border-bottom: 4px solid var(--yellow);
  transition: opacity var(--dur-short) var(--ease-out);
}
.theme-atelier .grid-projects .card:hover .card-img {
  opacity: 0.9;
}
.theme-atelier .grid-projects .card-body {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}
.theme-atelier .grid-projects .card-meta {
  order: -1;
  margin-bottom: 4px;
}
.theme-atelier .grid-projects .card-title {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.1;
  margin: 0;
}
.theme-atelier .grid-projects .card-text,
.theme-atelier .grid-projects .card-link {
  display: none;
}

/* Publics et articles : index typographique */
.theme-atelier .grid-sectors,
.theme-atelier .grid-articles {
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--anthracite);
}
.theme-atelier .grid-sectors > .card,
.theme-atelier .grid-articles > .card {
  border-top: 1px solid var(--anthracite);
}
.theme-atelier .grid-sectors .card-img,
.theme-atelier .grid-articles .card-img {
  display: none;
}
.theme-atelier .grid-sectors .card-body,
.theme-atelier .grid-articles .card-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 40px;
  align-items: baseline;
  padding: 36px 0;
}
.theme-atelier .grid-sectors .card-title,
.theme-atelier .grid-articles .card-title {
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
  transition: color 0.2s ease;
}
.theme-atelier .grid-sectors .card:hover .card-title,
.theme-atelier .grid-articles .card:hover .card-title {
  color: var(--yellow-dark);
}
.theme-atelier .grid-sectors .card-text,
.theme-atelier .grid-articles .card-text {
  margin: 0;
}
.theme-atelier .grid-articles .card-meta {
  grid-column: 1 / -1;
  margin: 0 0 -24px;
}

/* Services : index sur deux colonnes */
.theme-atelier .grid-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}
.theme-atelier .grid-services > .card {
  border-top: 1px solid var(--anthracite);
}
.theme-atelier .grid-services .card-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 20px;
  padding: 28px 0 36px;
}
.theme-atelier .grid-services .service-icon {
  grid-row: 1 / span 3;
  margin: 4px 0 0;
}
.theme-atelier .grid-services .card-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

/* ---------- Offres : lignes d'un cahier des charges ---------- */
.theme-atelier .offer-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--anthracite);
}
.theme-atelier .offer-card {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  column-gap: clamp(28px, 4vw, 64px);
  border: 0;
  border-top: 1px solid var(--anthracite);
  background: transparent;
  padding: 44px 0;
}
.theme-atelier .offer-title {
  grid-column: 1;
  grid-row: 1 / span 4;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.theme-atelier .offer-situation { grid-column: 2; grid-row: 1; font-size: 1.08rem; }
.theme-atelier .offer-label { grid-column: 2; grid-row: 2; }
.theme-atelier .offer-list { grid-column: 2; grid-row: 3; margin-bottom: 0; }
.theme-atelier .offer-services {
  grid-column: 3;
  grid-row: 1 / span 3;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Page Services : index des offres */
.theme-atelier .sector-block {
  padding: 56px 0;
  border-bottom-color: var(--anthracite);
}
.theme-atelier .sector-block-title {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.theme-atelier .service-list a {
  background: transparent;
  border-left: 0;
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
}
.theme-atelier .service-list a:hover {
  border-bottom-color: var(--yellow);
}

/* ---------- Fiche projet : cartouche technique en tête ---------- */
.theme-atelier .project-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 72px;
}
.theme-atelier .project-facts {
  order: -1;
  position: static;
  background: var(--white);
  border: 1px solid var(--anthracite);
  border-top: 4px solid var(--yellow);
  padding: 0;
}
.theme-atelier .project-facts dl {
  display: grid;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
.theme-atelier .project-facts dt,
.theme-atelier .project-facts dd {
  margin: 0;
  padding: 14px 20px;
  border-left: 1px solid var(--rule);
}
.theme-atelier .project-facts dt {
  padding-bottom: 0;
}
.theme-atelier .project-facts dd {
  padding-top: 6px;
}
.theme-atelier .project-facts dt:first-child,
.theme-atelier .project-facts dd:first-of-type {
  border-left: 0;
}
.theme-atelier .project-facts .btn-block {
  margin: 0;
}
.theme-atelier .project-layout .prose {
  max-width: 820px;
}

/* ---------- Portfolio en chapitres : grandes images ---------- */
.theme-atelier .chapter-layout {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 88px);
}
.theme-atelier .chapter-reverse {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.theme-atelier .chapter-media img {
  aspect-ratio: 4 / 5;
  max-height: 82vh;
  border-bottom-width: 4px;
}
.theme-atelier .chapter-text {
  font-size: 1.15rem;
}
.theme-atelier .chapter-projects {
  border-top-color: var(--anthracite);
}
.theme-atelier .chapter-project-title {
  font-weight: 500;
  font-size: 1.1rem;
}

/* ---------- Appel à l'action : une phrase en très grand ---------- */
.theme-atelier .section-cta {
  padding: var(--space) 0;
}
.theme-atelier .cta-band {
  align-items: flex-end;
}
.theme-atelier .cta-title {
  font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

/* ---------- Formulaire : champs soulignés ---------- */
.theme-atelier .contact-form input,
.theme-atelier .contact-form select,
.theme-atelier .contact-form textarea {
  border: 0;
  border-bottom: 1px solid var(--anthracite);
  border-radius: 0;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.theme-atelier .contact-form input:focus,
.theme-atelier .contact-form select:focus,
.theme-atelier .contact-form textarea:focus {
  outline: none;
}

/* ---------- Pied de page : la marque en grand ---------- */
.theme-atelier .site-footer {
  border-top: 4px solid var(--yellow);
  padding-top: 88px;
}
.theme-atelier .footer-brand {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ---------- Tablette et mobile ---------- */
@media (max-width: 960px) {
  .theme-atelier .specialty-text,
  .theme-atelier .grid-services {
    grid-template-columns: 1fr;
  }
  .theme-atelier .grid-projects,
  .theme-atelier .chapter-layout,
  .theme-atelier .chapter-reverse {
    grid-template-columns: 1fr;
  }
  .theme-atelier .grid-sectors .card-body,
  .theme-atelier .grid-articles .card-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .theme-atelier .offer-card {
    grid-template-columns: 1fr;
  }
  .theme-atelier .offer-card > * {
    grid-column: 1;
    grid-row: auto;
  }
  .theme-atelier .offer-title {
    margin-bottom: 14px;
  }
  .theme-atelier .offer-services {
    margin-top: 20px;
  }
  .theme-atelier .project-facts dl {
    display: block;
  }
  .theme-atelier .project-facts dt,
  .theme-atelier .project-facts dd {
    border-left: 0;
  }
  .theme-atelier .chapter-media img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- Colonne de navigation fixe à gauche, à la place de la barre d'en-tête (grand écran) ---------- */
@media (min-width: 1100px) {
  .theme-atelier {
    --sidebar: 300px;
  }
  .theme-atelier .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    z-index: 100;
  }
  .theme-atelier .site-header .header-inner {
    height: 100%;
    max-width: none;
    padding: 40px 36px 44px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  .theme-atelier .nav-toggle {
    display: none;
  }
  .theme-atelier .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .theme-atelier .main-nav .nav-link:not(.nav-cta) {
    font-size: clamp(1.7rem, 2.2vw, 2.3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--white);
  }
  .theme-atelier .main-nav .nav-link:not(.nav-cta):hover {
    color: var(--yellow);
  }
  .theme-atelier .lang-switch {
    margin: 16px 0 0;
  }
  .theme-atelier .nav-cta {
    margin-top: 28px;
    font-size: 15px;
    font-weight: 700;
  }
  .theme-atelier main,
  .theme-atelier .site-footer {
    margin-left: var(--sidebar);
  }
  .theme-atelier .cookie-banner,
  .theme-atelier .messages {
    left: var(--sidebar);
  }
  .theme-atelier .hero-with-bg {
    min-height: 100vh;
  }
  .theme-atelier .skip-link:focus {
    left: calc(var(--sidebar) + 16px);
  }
  .theme-atelier .breadcrumb {
    position: fixed;
    z-index: 100;
    width: 100%;
  }
}

/* ---------- Marque et coordonnées : un bloc, au gabarit de la colonne ---------- */
.theme-atelier .header-contact {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.theme-atelier .header-contact {
  gap: 8px;
}
.theme-atelier .header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.theme-atelier .header-contact-icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--yellow);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.theme-atelier .header-contact a {
  color: var(--white);
  transition: color var(--dur-short) var(--ease-out);
}
.theme-atelier .header-contact a:hover {
  color: var(--yellow);
}
@media (min-width: 1100px) {
  .theme-atelier .header-brand {
    width: 100%;
  }
  .theme-atelier .brand {
    display: block;
  }
  /* Le logo occupe toute la largeur de la colonne, comme un titre */
  .theme-atelier .brand-logo {
    width: 100%;
    height: auto;
    max-width: 200px;
  }
  .theme-atelier .header-contact {
    margin-top: 36px;
  }
}
@media (max-width: 1099px) {
  .theme-atelier .header-brand {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .theme-atelier .header-contact {
    font-size: 0.95rem;
  }
}
@media (max-width: 640px) {
  .theme-atelier .header-contact {
    display: none;
  }
}

/* ---------- Équipe : une ligne par personne, portrait, nom, texte ---------- */
.theme-atelier .team-grid {
  display: block;
}
.theme-atelier .team-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding: clamp(48px, 5vw, 80px) 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.theme-atelier .team-card + .team-card {
  border-top: 1px solid var(--rule);
}
.theme-atelier .team-card:hover {
  box-shadow: none;
}
.theme-atelier .team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0;
  border: 0;
}
.theme-atelier .team-photo-placeholder {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.theme-atelier .team-name {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.theme-atelier .team-role {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.theme-atelier .team-bio {
  color: var(--anthracite);
  font-size: 1.02rem;
  line-height: 1.65;
}
.theme-atelier .team-links {
  gap: 20px;
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 700;
}
.theme-atelier .team-links a {
  border-bottom: 0;
  color: var(--anthracite);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.theme-atelier .team-links a:hover {
  color: var(--yellow-dark);
}
.theme-atelier .team-publications {
  margin-top: 20px;
  font-size: 0.95rem;
}
@media (max-width: 960px) {
  .theme-atelier .team-card {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  }
  .theme-atelier .team-body {
    grid-column: 1 / -1;
  }
}

/* ---------- Contact : les coordonnées en grand, le formulaire à nu ---------- */
.theme-atelier .contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(48px, 6vw, 120px);
}
.theme-atelier .contact-details {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 0;
  border-top: 0;
}
.theme-atelier .contact-detail {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.theme-atelier .contact-detail a:hover {
  color: var(--yellow-dark);
}
.theme-atelier .contact-detail:not(:has(a)) {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  color: var(--muted);
}
.theme-atelier .contact-form-wrap {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.theme-atelier .contact-form .form-row {
  gap: 0 clamp(24px, 3vw, 48px);
}
.theme-atelier .form-field {
  margin-bottom: clamp(28px, 3vw, 40px);
}
.theme-atelier .form-field label {
  color: var(--muted);
  margin-bottom: 4px;
}
.theme-atelier .contact-form input,
.theme-atelier .contact-form select,
.theme-atelier .contact-form textarea {
  width: 100%;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  font-weight: 600;
  padding-top: 10px;
  padding-bottom: 12px;
  color: var(--anthracite);
}
.theme-atelier .contact-form textarea {
  min-height: 180px;
  resize: vertical;
}
.theme-atelier .contact-form ::placeholder {
  color: var(--gray-accent);
  font-weight: 500;
}
.theme-atelier .contact-form input:focus,
.theme-atelier .contact-form select:focus,
.theme-atelier .contact-form textarea:focus {
  border-bottom-color: var(--anthracite);
  box-shadow: inset 0 -2px 0 var(--yellow);
}
.theme-atelier .contact-form .btn {
  margin-top: 8px;
  padding: 20px 36px;
  font-size: 1rem;
}
@media (max-width: 960px) {
  .theme-atelier .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mouvement : entrée de l'ouverture, apparitions au défilement, fil de progression ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Entrée de l'ouverture, au chargement : le titre, la phrase, puis les actions. */
  .theme-atelier .hero-content > *,
  .theme-atelier .page-header-content > * {
    animation: atelier-rise 760ms var(--ease-out) both;
  }
  .theme-atelier .hero-content > :nth-child(2),
  .theme-atelier .page-header-content > :nth-child(2) {
    animation-delay: 110ms;
  }
  .theme-atelier .hero-content > :nth-child(3),
  .theme-atelier .page-header-content > :nth-child(3) {
    animation-delay: 220ms;
  }
  @keyframes atelier-rise {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: none; }
  }

  /* Apparitions au défilement : seuls les éléments que le script a marqués (rien n'est caché sans JavaScript). */
  .js .theme-atelier [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .js .theme-atelier [data-reveal].is-seen {
    opacity: 1;
    transform: none;
  }
}

/* Fil de progression : une règle jaune de 2px le long de la colonne de navigation (ou du bord gauche sur mobile). */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 40rem) {
    body.theme-atelier::after {
      content: "";
      position: fixed;
      top: 0;
      bottom: 0;
      left: var(--sidebar);
      width: 6px;
      z-index: 101;
      background: var(--yellow);
      transform-origin: top;
      transform: scaleY(0);
      pointer-events: none;
      animation: atelier-progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes atelier-progress {
      to { transform: scaleY(1); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-atelier *,
  .theme-atelier *::before,
  .theme-atelier *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
