/* ==========================================================================
   Beaulieu Retouches — styles
   Palette : ivoire #FAF6EF · encre #2B2118 · bordeaux #6E1F2E · or #B08D57
             · lin #6B6154 (textes secondaires)
   Type    : Cormorant Garamond (display) · Jost (texte)
   Relief  : parallaxe héro, tilt 3D des prestations, fil conducteur au scroll
   ========================================================================== */

/* --- Polices auto-hébergées ------------------------------------------------
   Fichiers variables (subset latin) rapatriés de Google Fonts : plus aucune
   requête bloquante vers un domaine tiers, et la CSP peut rester en 'self'.
   Licence SIL Open Font License 1.1 pour les deux familles. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-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: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-italic.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: 100 900;
  font-display: swap;
  src: url("../fonts/jost-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;
}

:root {
  --ivoire: #faf6ef;
  --ivoire-fonce: #f1e9db;
  --encre: #2b2118;
  --bordeaux: #6e1f2e;
  --or: #b08d57;
  /* Lin : teinte des textes secondaires. Assombrie par rapport au #8a7e6f
     d'origine, qui ne donnait que 3,7:1 sur l'ivoire — celle-ci atteint
     5,6:1 et satisfait le niveau AA. */
  --lin: #6b6154;

  --display: "Cormorant Garamond", "Didot", Georgia, serif;
  --texte: "Jost", "Segoe UI", system-ui, sans-serif;

  --mesure: 62ch;
  --large: 68rem;
}

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

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--texte);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--bordeaux);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* Les états de survol restent réservés aux pointeurs qui savent survoler :
   sur tactile, un tap les figerait jusqu'au tap suivant. */
@media (hover: hover) {
  a:hover {
    color: var(--encre);
  }
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--encre);
  color: var(--ivoire);
  padding: 0.5rem 1rem;
  z-index: 10;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Cible du skip-link : focalisable au clavier sans contour parasite. */
main:focus {
  outline: none;
}

/* --- Fil conducteur (le site se coud au fil de la lecture) -------------- */

.fil-guide {
  position: fixed;
  top: 10vh;
  bottom: 10vh;
  left: clamp(0.875rem, 2.5vw, 2.25rem);
  width: 20px;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fil-guide.actif {
  opacity: 1;
}

.fil-trace {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  margin-left: -1px;
  height: calc(var(--avancee, 0) * 100%);
  background: repeating-linear-gradient(
    to bottom,
    color-mix(in srgb, var(--bordeaux) 60%, var(--ivoire)) 0 7px,
    transparent 7px 13px
  );
}

.fil-aiguille {
  position: absolute;
  left: 50%;
  top: calc(var(--avancee, 0) * 100%);
  transform: translate(-50%, -6px);
  width: 16px;
  height: 52px;
  color: var(--or);
}

@media (max-width: 64rem) {
  .fil-guide {
    display: none;
  }
}

/* --- Hero : scène en profondeur ----------------------------------------- */

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
  perspective: 1100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Le bloc s'incline d'un seul tenant : aplati en une couche, il est transformé
     par le compositeur. En preserve-3d, chaque enfant serait re-rastérisé à des
     positions sub-pixel changeantes et les traits fins grésilleraient. */
  transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg));
  backface-visibility: hidden;
  will-change: transform;
}

/* Toile de mercerie : épingles et boutons dérivants, cousus au canvas */

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-eyebrow {
  margin: 0 0 1.75rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lin);
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bordeaux);
}

.stitch-underline {
  margin-top: 1.25rem;
  color: var(--bordeaux);
}

.hero-tagline {
  margin: 2rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  color: var(--encre);
  max-width: 40ch;
}

.hero-nav {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-nav a {
  color: var(--encre);
  text-decoration: none;
  border-bottom: 1px dashed var(--or);
  padding-bottom: 0.2em;
}

@media (hover: hover) {
  .hero-nav a:hover {
    color: var(--bordeaux);
    border-bottom-color: var(--bordeaux);
  }
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--or);
}

/* Entrée en scène au chargement + dérive lente des pièces */

@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow {
    animation: lever 0.7s 0.1s both;
  }

  .hero-title {
    animation: lever 0.8s 0.25s both;
  }

  .stitch-underline {
    animation: coudre 1.1s 0.85s both;
  }

  .hero-tagline {
    animation: lever 0.8s 1.1s both;
  }

  .hero-nav {
    animation: lever 0.8s 1.3s both;
  }
}

@keyframes lever {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes coudre {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

/* --- Fil de bâti (séparateur signature) -------------------------------- */

.stitch-divider {
  position: relative;
  height: 2px;
  max-width: min(52rem, 84vw);
  margin: 0 auto;
  background: repeating-linear-gradient(
    90deg,
    color-mix(in srgb, var(--bordeaux) 55%, var(--ivoire)) 0 8px,
    transparent 8px 15px
  );
}

@media (prefers-reduced-motion: no-preference) {
  .stitch-divider {
    animation: batir 20s linear infinite;
  }
}

@keyframes batir {
  to {
    background-position-x: 150px;
  }
}

.stitch-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ivoire);
  border: 1.5px solid var(--or);
  box-shadow: inset 0 0 0 3.5px var(--ivoire), inset 0 0 0 4.5px var(--or);
}

/* --- Sections ----------------------------------------------------------- */

.section-inner {
  max-width: var(--large);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.savoir-faire,
.infos {
  padding: 5.5rem 0;
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.875rem);
  line-height: 1.1;
  text-align: center;
}

.section-lead {
  max-width: var(--mesure);
  margin: 0 auto;
  text-align: center;
  color: color-mix(in srgb, var(--encre) 88%, var(--ivoire));
}

/* --- Prestations : cartes inclinables ------------------------------------ */

.prestations {
  list-style: none;
  margin: 3.5rem auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.75rem 1.5rem;
  max-width: 58rem;
  perspective: 1200px;
}

.prestation {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem 1.75rem;
  border: 1px solid color-mix(in srgb, var(--or) 30%, var(--ivoire));
  border-radius: 10px;
  background: color-mix(in srgb, #ffffff 38%, var(--ivoire));
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx, 0) * 1deg)) rotateY(calc(var(--ry, 0) * 1deg));
  transition: transform 0.12s ease-out, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .prestation:hover {
    box-shadow: 0 26px 48px -24px rgba(43, 33, 24, 0.38);
  }
}

/* Reflet satiné qui suit le curseur */
.prestation::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    240px circle at calc(var(--gx, 50) * 1%) calc(var(--gy, 50) * 1%),
    rgba(255, 253, 247, 0.65),
    transparent 65%
  );
  opacity: var(--lueur, 0);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.prestation-icon {
  width: 40px;
  height: 40px;
  color: var(--or);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .prestation:hover .prestation-icon {
    transform: translateZ(30px);
  }
}

.prestation h3 {
  margin: 0.75rem 0 0.35rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.375rem;
  transition: transform 0.2s ease;
}

.prestation p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lin);
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .prestation:hover h3 {
    transform: translateZ(18px);
  }

  .prestation:hover p {
    transform: translateZ(10px);
  }
}

/* --- Infos pratiques ------------------------------------------------------ */

.infos {
  background: var(--ivoire-fonce);
}

.infos-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  max-width: 58rem;
  margin-left: auto;
  margin-right: auto;
}

.infos-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: color-mix(in srgb, var(--ivoire) 70%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--or) 24%, var(--ivoire-fonce));
  border-radius: 10px;
}

.infos-label {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordeaux);
}

.horaires {
  display: block;
  margin: 0 auto;
  font-size: 1rem;
}

.horaires tbody {
  display: block;
}

.horaires tr {
  display: block;
  margin-bottom: 0.6rem;
}

.horaires tr:last-child {
  margin-bottom: 0;
}

.horaires th,
.horaires td {
  display: block;
  text-align: center;
  padding: 0.15rem 0;
}

.horaires th {
  font-weight: 600;
}

.horaires .sep {
  color: var(--or);
}

.horaires .ferme td,
.horaires .ferme th {
  color: var(--lin);
}

.adresse {
  font-style: normal;
  line-height: 1.7;
}

.adresse-detail {
  font-size: 0.9rem;
  color: var(--lin);
}

.infos-links {
  margin: 1.25rem 0 0;
}

.btn-ligne {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--bordeaux);
  border-radius: 999px;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (hover: hover) {
  .btn-ligne:hover {
    background: var(--bordeaux);
    color: var(--ivoire);
  }
}

.tel {
  margin: 0;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.4;
}

.tel a {
  text-decoration: none;
  color: var(--encre);
}

@media (hover: hover) {
  .tel a:hover {
    color: var(--bordeaux);
  }
}

.tel .tel-second {
  font-size: 1.25rem;
  color: var(--lin);
}

.infos-note {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--lin);
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--encre);
  color: var(--ivoire);
  padding: 2rem 0 1.75rem;
  text-align: center;
}

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

@media (hover: hover) {
  .footer a:hover {
    color: var(--or);
  }
}

.footer-marque {
  margin: 0;
  font-family: var(--display);
  font-size: 1.375rem;
}

.footer-depuis {
  font-size: 1rem;
  font-style: italic;
  color: color-mix(in srgb, var(--ivoire) 65%, var(--encre));
}

.footer-social {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
}

.mentions {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ivoire) 70%, var(--encre));
}

.mentions summary {
  cursor: pointer;
  display: inline-block;
}

.mentions-texte {
  max-width: var(--mesure);
  margin: 1rem auto 0;
  text-align: left;
}

.footer-credit {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ivoire) 60%, var(--encre));
}

/* --- Apparition au défilement (bascule 3D) ---------------------------------- */

.reveal {
  opacity: 0;
  transform: perspective(900px) rotateX(9deg) translateY(24px);
  transform-origin: top center;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--retard, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-content,
  .prestation {
    transform: none;
  }
}

/* --- Mobile ------------------------------------------------------------------ */

@media (max-width: 480px) {
  .hero {
    min-height: 64vh;
    padding-top: 4rem;
  }

  .savoir-faire,
  .infos {
    padding: 4rem 0;
  }

  .prestations {
    gap: 1.5rem 1.25rem;
  }
}

/* --- Page 404 --------------------------------------------------------------- */

.erreur {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 4rem 0;
  text-align: center;
}

.erreur-inner {
  max-width: 46rem;
}

.erreur-code {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 18vw, 9rem);
  line-height: 1;
  color: var(--or);
  opacity: 0.35;
  letter-spacing: 0.06em;
}

.erreur-titre {
  margin: 0.25rem 0 1.25rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
}

.erreur-texte {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--lin);
}

.erreur .stitch-underline {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  color: var(--or);
}

.erreur-liens {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
}

.erreur-tel {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--lin);
}

.erreur-tel a {
  color: var(--bordeaux);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* --- Cartes de prestation cliquables ---------------------------------------
   La carte entière devient la cible du lien (::before étiré) : le maillage
   interne est réel pour les crawlers, la mise en page ne bouge pas. */

.prestation-lien {
  display: block;
  color: inherit;
  text-decoration: none;
}

.prestation-lien::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}

.prestation:has(.prestation-lien:focus-visible) {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

.prestation-lien:focus-visible {
  outline: none;
}

.prestation-plus {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordeaux);
  border-bottom: 1px dashed var(--or);
  padding-bottom: 0.2em;
  transition: border-color 0.2s ease;
}

@media (hover: hover) {
  .prestation:hover .prestation-plus {
    border-bottom-color: var(--bordeaux);
  }
}

/* --- Questions fréquentes --------------------------------------------------- */

.questions {
  padding: 5.5rem 0;
}

.faq {
  display: grid;
  gap: 1.75rem;
  max-width: var(--mesure);
  margin-top: 2.5rem;
}

/* Sur l'accueil, les sections sont centrées : la FAQ suit. */
.questions .faq {
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  padding-left: 1.5rem;
  border-left: 1px dashed color-mix(in srgb, var(--or) 60%, var(--ivoire));
}

.faq-q {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
}

.faq-r {
  margin: 0;
  color: var(--lin);
}

.infos-communes {
  margin-top: 1rem;
}

/* --- Pages de prestation ---------------------------------------------------- */

.entete-interne {
  border-bottom: 1px dashed color-mix(in srgb, var(--or) 45%, var(--ivoire));
  padding: 1.25rem 0;
}

.entete-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2rem;
}

.entete-marque {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--encre);
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) {
  .entete-marque:hover {
    color: var(--bordeaux);
  }
}

.entete-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.entete-nav a {
  color: var(--lin);
  text-decoration: none;
}

/* La page courante reste signalée partout ; seul le survol est conditionnel. */
.entete-nav a[aria-current="page"] {
  color: var(--bordeaux);
}

@media (hover: hover) {
  .entete-nav a:hover {
    color: var(--bordeaux);
  }
}

.fil-ariane {
  padding: 2.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--lin);
}

.fil-ariane ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fil-ariane a {
  color: var(--lin);
}

.service {
  max-width: var(--mesure);
  padding: 2.5rem 0 1rem;
}

.service-titre {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
  line-height: 1.1;
}

.service-intro {
  margin: 1.5rem 0 0;
  font-size: 1.125rem;
}

.service .stitch-underline {
  display: block;
  margin: 2rem 0 0;
  max-width: 100%;
  color: var(--or);
}

.service-h2 {
  margin: 3.5rem 0 1.25rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.625rem, 3.5vw, 2.125rem);
  line-height: 1.15;
}

.service-liste {
  margin: 0;
  padding-left: 1.15rem;
}

.service-liste li {
  margin-bottom: 0.6rem;
}

.service p {
  margin: 0 0 1.15rem;
}

.service .faq {
  margin-top: 1.5rem;
}

.service-infos,
.service-autres {
  padding: 4.5rem 0 0;
}

.service-autres {
  padding-bottom: 5rem;
}

.liens-prestations {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}

.liens-prestations a {
  display: block;
  height: 100%;
  padding: 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--or) 30%, var(--ivoire));
  border-radius: 10px;
  background: color-mix(in srgb, #ffffff 38%, var(--ivoire));
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) {
  .liens-prestations a:hover {
    border-color: color-mix(in srgb, var(--bordeaux) 40%, var(--ivoire));
    box-shadow: 0 18px 32px -22px rgba(43, 33, 24, 0.35);
  }
}

.lien-nom {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--bordeaux);
}

.lien-teaser {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--lin);
}

.page-service .footer {
  margin-top: 0;
}

@media (max-width: 40rem) {
  .questions {
    padding: 4rem 0;
  }

  .faq-item {
    padding-left: 1.15rem;
  }

  .service {
    padding-top: 1.75rem;
  }
}

/* --- Photographies de l'atelier --------------------------------------------- */

.photo {
  margin: 0;
}

.photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--or) 30%, var(--ivoire));
}

.photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--lin);
  font-style: italic;
}

/* Bandeau de la page d'accueil : la photo prend la largeur de la section. */
.photo-large {
  margin: 3rem auto 0;
  max-width: 52rem;
  text-align: center;
}

.photos {
  margin: 2.25rem 0 0;
}

/* Deux photos verticales côte à côte, empilées sur petit écran. */
.photos-duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem;
}

.photos .photo img {
  max-width: 30rem;
}

@media (max-width: 40rem) {
  .photo-large {
    margin-top: 2.25rem;
  }
}
