/* Typographies auto-hébergées (RGPD : aucune requête vers Google) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url(../fonts/jost-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   Atelier BARROS - Carnet d'atelier doré
   Palette : ivoire #FBF7F0 · brun chocolat #543F32 · or #C9A054
   Typo : Cormorant Garamond (titres) · Jost (corps)
   ========================================================================== */

:root {
  --ivoire: #FBF7F0;
  --ivoire-fonce: #F3ECDF;
  --brun: #543F32;
  --brun-doux: #6E5847;
  --or: #C9A054;
  --or-pale: #E3CD9E;
  --sauge: #8A9077;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --largeur: 1100px;
  --transition: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--brun);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Texture papier très subtile */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201, 160, 84, 0.05), transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(84, 63, 50, 0.04), transparent 50%);
}

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

a {
  color: var(--brun);
  text-decoration-color: var(--or);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--or);
}

:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

/* Lien d'évitement : caché tant qu'il n'a pas le focus clavier */
.lien-evitement {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--brun);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  transition: top var(--transition);
}

.lien-evitement:focus-visible {
  top: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot anti-spam : caché aux humains, visible des robots */
.champ-gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-style: italic;
}

h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
}

h3 {
  font-size: 1.4rem;
}

.surtitre {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or);
  margin: 0 0 1rem;
}

.italique {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Révélations au scroll
   -------------------------------------------------------------------------- */

.reveler {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveler.est-visible {
  opacity: 1;
  transform: none;
}

.reveler:nth-child(2) { transition-delay: 0.12s; }
.reveler:nth-child(3) { transition-delay: 0.24s; }
.reveler:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveler {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   En-tête & navigation
   -------------------------------------------------------------------------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 160, 84, 0.25);
}

.entete__inner {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.logo em {
  color: var(--or);
  font-style: italic;
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  background: none;
  border: 1px solid rgba(84, 63, 50, 0.3);
  border-radius: 4px;
  cursor: pointer;
}

.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--brun);
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.nav__liste.est-ouverte {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ivoire);
  border-bottom: 1px solid rgba(201, 160, 84, 0.3);
  padding: 0.5rem 1.25rem 1.25rem;
  gap: 0.25rem;
}

.nav__liste a {
  display: block;
  padding: 0.7rem 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__liste a[aria-current="page"] {
  color: var(--or);
  border-bottom: 1px solid var(--or);
}

@media (min-width: 760px) {
  .nav__toggle {
    display: none;
  }

  .nav__liste,
  .nav__liste.est-ouverte {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 1.75rem;
  }

  .nav__liste a {
    padding: 0.25rem 0;
  }
}

/* --------------------------------------------------------------------------
   Structure commune
   -------------------------------------------------------------------------- */

.section {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vw, 6.5rem) 1.25rem;
}

.section--fonce {
  max-width: none;
  background: var(--ivoire-fonce);
}

.section--fonce > .section__inner {
  max-width: var(--largeur);
  margin: 0 auto;
}

.centre {
  text-align: center;
}

.bouton {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivoire);
  background: var(--brun);
  border: 1px solid var(--brun);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.bouton:hover,
.bouton:focus-visible {
  background: var(--or);
  border-color: var(--or);
  color: var(--brun);
}

.bouton--contour {
  background: transparent;
  color: var(--brun);
}

.bouton--contour:hover,
.bouton--contour:focus-visible {
  background: var(--brun);
  color: var(--ivoire);
}

/* --------------------------------------------------------------------------
   Héros (accueil)
   -------------------------------------------------------------------------- */

.heros {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(4rem, 12vw, 8rem) 1.25rem clamp(3rem, 8vw, 6rem);
  display: grid;
  gap: 2.5rem;
}

.heros__texte p {
  max-width: 32em;
  font-size: 1.1rem;
}

.heros__citation {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: var(--brun-doux);
  border-left: 2px solid var(--or);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

.heros__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.heros__actions--centre {
  justify-content: center;
}

.heros__oeuvre {
  justify-self: center;
  width: min(420px, 78vw);
  margin: 0;
}

.heros__oeuvre img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(84, 63, 50, 0.22));
}

.heros__oeuvre figcaption {
  margin-top: 1.4rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brun-doux);
}

@media (min-width: 900px) {
  .heros {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Œuvres en vitrine (accueil) - les toiles posées sur le mur ivoire
   -------------------------------------------------------------------------- */

.vitrine {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: end;
}

.vitrine figure {
  margin: 0;
  text-align: center;
}

.vitrine a {
  display: block;
  text-decoration: none;
}

.vitrine img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 12px 26px rgba(84, 63, 50, 0.2));
  transition: transform var(--transition), filter var(--transition);
}

.vitrine a:hover img,
.vitrine a:focus-visible img {
  transform: translateY(-6px);
  filter: drop-shadow(0 20px 32px rgba(84, 63, 50, 0.26));
}

.vitrine figcaption {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brun-doux);
}

.vitrine__action {
  margin-top: 2.75rem;
}

@media (min-width: 760px) {
  .vitrine {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vitrine a:hover img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Figures dans les pages de contenu
   -------------------------------------------------------------------------- */

.prose__figure {
  margin: 2.25rem 0;
}

.prose__figure img {
  width: 100%;
  border-radius: 3px;
  filter: drop-shadow(0 10px 22px rgba(84, 63, 50, 0.18));
}

.prose__figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--brun-doux);
}

/* Variante : l'image sort du rythme « pleine largeur » pour respirer,
   alignée à droite et resserrée sur grand écran */
@media (min-width: 760px) {
  .prose__figure--decale {
    width: min(82%, 620px);
    margin-left: auto;
    margin-right: 0;
  }

  .prose__figure--decale figcaption {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Cartes carnet (services)
   -------------------------------------------------------------------------- */

.carnet {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carnet__carte {
  background: var(--ivoire);
  border: 1px solid rgba(201, 160, 84, 0.35);
  border-radius: 3px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.carnet__carte::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 10px;
  height: 10px;
  background: var(--or);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  opacity: 0.85;
}

.carnet__carte:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(84, 63, 50, 0.09);
}

.carnet__carte h3 {
  font-style: italic;
  color: var(--brun);
}

.carnet__carte p {
  margin-bottom: 0;
  color: var(--brun-doux);
}

@media (min-width: 760px) {
  .carnet {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .carnet__carte:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   À propos (extrait accueil + page)
   -------------------------------------------------------------------------- */

.apropos {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.apropos__portrait {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brun-doux);
}

.apropos__portrait img {
  width: min(300px, 70vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 14px 28px rgba(84, 63, 50, 0.2));
}

@media (min-width: 860px) {
  .apropos {
    grid-template-columns: 1fr 1.4fr;
  }
}

/* Sous-titre court sous le H1 de la page « à propos » */
.apropos__intro {
  max-width: 46em;
  margin: 1rem 0 3rem;
  color: var(--brun-doux);
  font-size: 1.1rem;
}

.points-forts {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.points-forts li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.points-forts li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  background: var(--or);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  transform: translateY(1px);
}

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */

.galerie-grille {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .galerie-grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .galerie-grille {
    grid-template-columns: repeat(3, 1fr);
  }
}

.oeuvre {
  background: var(--ivoire);
  border: 1px solid rgba(201, 160, 84, 0.3);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.oeuvre:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(84, 63, 50, 0.1);
}

.oeuvre__cadre {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ivoire-fonce);
  border-bottom: 1px solid rgba(201, 160, 84, 0.3);
  overflow: hidden;
  /* de la marge sous l'œuvre : l'ombre portée ne doit pas être rognée */
  padding: 1.6rem;
}

.oeuvre__cadre img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* même parti pris que l'accueil : les œuvres sont posées sur l'ivoire,
     l'ombre épouse leur découpe */
  filter: drop-shadow(0 7px 16px rgba(84, 63, 50, 0.17));
  transition: transform 0.6s ease, filter var(--transition);
}

.oeuvre:hover .oeuvre__cadre img {
  transform: scale(1.03);
  filter: drop-shadow(0 11px 22px rgba(84, 63, 50, 0.22));
}

.oeuvre__infos {
  padding: 1.35rem 1.35rem 1.5rem;
}

.oeuvre__titre {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.oeuvre__technique {
  color: var(--brun-doux);
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
}

.oeuvre__ligne {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.oeuvre__prix {
  font-weight: 400;
  letter-spacing: 0.03em;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--or);
  color: var(--brun);
  background: rgba(201, 160, 84, 0.12);
}

.badge--vendu {
  border-color: rgba(84, 63, 50, 0.35);
  background: rgba(84, 63, 50, 0.07);
  color: var(--brun-doux);
  /* libellé plus long que « Disponible » : on resserre pour qu'il tienne
     sur une ligne, y compris sur les cartes étroites */
  letter-spacing: 0.07em;
}

.galerie-chargement {
  margin: 3rem 0 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--brun-doux);
}

.galerie-vide {
  margin-top: 3rem;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px dashed rgba(201, 160, 84, 0.6);
  border-radius: 3px;
  background: rgba(251, 247, 240, 0.6);
}

.galerie-vide p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--brun-doux);
  max-width: 30em;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .oeuvre:hover,
  .oeuvre:hover .oeuvre__cadre img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: grid;
  gap: 0.85rem;
}

.faq details {
  background: var(--ivoire);
  border: 1px solid rgba(201, 160, 84, 0.35);
  border-radius: 3px;
  padding: 0;
}

.faq summary {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-size: 1.3rem;
  color: var(--or);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  padding: 0 1.5rem 1.35rem;
  color: var(--brun-doux);
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.formulaires {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .formulaires {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.formulaire {
  background: var(--ivoire);
  border: 1px solid rgba(201, 160, 84, 0.35);
  border-radius: 3px;
  padding: 2rem 1.75rem;
}

.formulaire h2 {
  font-size: 1.6rem;
  font-style: italic;
}

.champ {
  margin-bottom: 1.25rem;
}

.champ label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  color: var(--brun-doux);
}

.champ input,
.champ textarea,
.champ select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--brun);
  background: var(--ivoire);
  border: 1px solid rgba(84, 63, 50, 0.3);
  border-radius: 2px;
  transition: border-color var(--transition);
}

.champ input:focus,
.champ textarea:focus,
.champ select:focus {
  outline: none;
  border-color: var(--or);
  box-shadow: 0 0 0 1px var(--or);
}

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

.coordonnees {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.coordonnees > div {
  padding: 1.5rem;
  border-top: 1px solid rgba(201, 160, 84, 0.4);
}

.coordonnees .surtitre {
  margin-bottom: 0.35rem;
}

@media (min-width: 760px) {
  .coordonnees {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Pages légales & contenu long
   -------------------------------------------------------------------------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
}

.prose ul {
  padding-left: 1.25rem;
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.pied {
  background: var(--brun);
  color: var(--ivoire);
  margin-top: 2rem;
}

.pied__inner {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
  display: grid;
  gap: 2rem;
}

.pied a {
  color: var(--ivoire);
  text-decoration-color: var(--or-pale);
}

.pied a:hover,
.pied a:focus-visible {
  color: var(--or-pale);
}

.pied__marque {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

.pied__contact {
  margin: 0.5rem 0 1.1rem;
  font-size: 0.92rem;
}

.pied__liens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.95rem;
}

.pied__copyright {
  font-size: 0.85rem;
  opacity: 0.75;
  border-top: 1px solid rgba(251, 247, 240, 0.15);
  padding-top: 1.5rem;
}

@media (min-width: 760px) {
  .pied__inner {
    align-items: center;
  }
}

/* --------------------------------------------------------------------------
   Rapport de sécurité - impression
   -------------------------------------------------------------------------- */

.rapport-tableau {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.rapport-tableau th,
.rapport-tableau td {
  border: 1px solid rgba(84, 63, 50, 0.3);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.rapport-tableau th {
  background: var(--ivoire-fonce);
  font-family: var(--serif);
  font-size: 1.05rem;
}

@media print {
  .entete,
  .pied,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
    color: #333;
    font-size: 11pt;
  }

  .section {
    padding: 0.5cm 0;
  }

  a {
    text-decoration: none;
    color: #333;
  }
}

/* --------------------------------------------------------------------------
   Mention RGPD sous les formulaires
   -------------------------------------------------------------------------- */

.mention-rgpd {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--brun-doux);
}

/* --------------------------------------------------------------------------
   Pages de message (merci, 404)
   -------------------------------------------------------------------------- */

.page-message {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-message .prose {
  margin-left: auto;
  margin-right: auto;
}

.page-message .heros__actions {
  justify-content: center;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Retours des formulaires (envoi AJAX)
   -------------------------------------------------------------------------- */

.formulaire__alerte {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--or);
  background: var(--ivoire-fonce);
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--brun);
}

.formulaire--merci {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-color: var(--or);
}

.formulaire--merci:focus {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}

.formulaire--merci h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 1rem auto 0;
  background: var(--or);
}

/* --------------------------------------------------------------------------
   Engagements de l'atelier - encadrés de deux filets, page À propos
   -------------------------------------------------------------------------- */

.engagements {
  max-width: 760px;
  margin: 4rem auto 0;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201, 160, 84, 0.4);
  border-bottom: 1px solid rgba(201, 160, 84, 0.4);
}

.engagements h2 {
  margin-bottom: 0.25rem;
}
