/* Capsule Corp. by Caroline Nguyên : site vitrine
   Fond blanc partout (choix de Caro). L'arc-en-ciel vient de la bannière
   d'origine et des photos ; les couleurs des pétales de la robe servent
   seulement d'accents (boutons, soulignés, filets). */

@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-italique.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --blanc: #FFFFFF;
  --encre: #2A1D42;
  --encre-douce: #5E5272;
  --filet: #ECE6F2;
  --garance: #D7304F;
  --safran: #F2A81D;
  --lagon: #139E98;
  --amethyste: #7C3FA6;
  --rose: #E85A94;
  --nuit: #1E1336;

  --titre: "Fraunces", Georgia, serif;
  --texte: "Figtree", system-ui, sans-serif;
  --mesure: 66ch;
  --gouttiere: clamp(16px, 4vw, 48px);
  --sortie: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--blanc); color: var(--encre);
  font-family: var(--texte); font-size: 1.125rem; line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amethyste); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--safran); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--titre); font-weight: 600; line-height: 1.05; margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -0.01em; text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 5.4rem); font-optical-sizing: auto; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
p { margin: 0 0 1em; max-width: var(--mesure); text-wrap: pretty; }

.passer { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--safran); color: var(--nuit); padding: 0.6em 1em; }
.passer:focus { left: 8px; top: 8px; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-tête : la bannière d'origine ---------- */
.entete { background: var(--blanc); position: relative; z-index: 10; border-bottom: 1px solid var(--filet); }
.banniere { display: block; max-width: 907px; margin: 0 auto; padding: 8px var(--gouttiere) 0; }
.banniere img { width: 100%; }
.entete-int {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 0.4rem var(--gouttiere) 0.7rem; max-width: 1400px; margin: 0 auto;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.4rem; }
.nav a { color: var(--encre); text-decoration: none; font-size: 0.98rem; padding: 0.35rem 0; display: inline-block; border-bottom: 2px solid transparent; transition: border-color 160ms ease; }
.nav li:nth-child(5n+1) a:hover, .nav li:nth-child(5n+1) a[aria-current="page"] { border-bottom-color: var(--garance); }
.nav li:nth-child(5n+2) a:hover, .nav li:nth-child(5n+2) a[aria-current="page"] { border-bottom-color: var(--safran); }
.nav li:nth-child(5n+3) a:hover, .nav li:nth-child(5n+3) a[aria-current="page"] { border-bottom-color: var(--lagon); }
.nav li:nth-child(5n+4) a:hover, .nav li:nth-child(5n+4) a[aria-current="page"] { border-bottom-color: var(--amethyste); }
.nav li:nth-child(5n+5) a:hover, .nav li:nth-child(5n+5) a[aria-current="page"] { border-bottom-color: var(--rose); }
.bouton-menu { display: none; }

@media (max-width: 1080px) {
  .entete-int { justify-content: flex-end; }
  .bouton-menu {
    display: inline-flex; align-items: center; gap: 0.5rem; background: var(--blanc); color: var(--encre);
    border: 1px solid #D9D0E4; border-radius: 999px; padding: 0.5rem 1.1rem; font: inherit; font-size: 0.95rem; cursor: pointer;
  }
  .bouton-menu:active { transform: scale(0.97); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); padding: 0.5rem var(--gouttiere) 1.5rem; display: none; border-bottom: 1px solid var(--filet); box-shadow: 0 12px 24px rgba(42, 29, 66, 0.08); }
  .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font-size: 1.15rem; padding: 0.6rem 0; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 104px) var(--gouttiere); }
.section + .section { padding-top: 0; }
.int { max-width: 1240px; margin: 0 auto; }
.doux { color: var(--encre-douce); }
.chapeau { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.voix { font-family: var(--titre); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.35; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1.4rem; align-items: center; margin-top: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--garance); color: var(--blanc); text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer;
  transition: transform 160ms var(--sortie), background-color 200ms ease;
}
.btn:hover { background: #BE2343; text-decoration: none; }
.btn:active { transform: scale(0.97); }
.lien-fort { font-weight: 600; color: var(--encre); }

/* Photo mise en avant (sans cadre) */
.cadre { margin: 0; }
.cadre img { width: 100%; border-radius: 4px; }

/* ---------- Accueil : héros ---------- */
.heros { padding-top: clamp(24px, 4vw, 56px); }
.heros .int { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.heros h1 { margin-bottom: 0.35em; }
.heros .robe-vedette { margin: 0; }
.heros .robe-vedette img { width: 100%; max-width: 620px; margin-left: auto; }
.heros figcaption { font-size: 0.95rem; color: var(--encre-douce); text-align: center; margin-top: 1rem; }
@media (max-width: 820px) {
  .heros .int { grid-template-columns: 1fr; }
  .heros .robe-vedette { order: -1; }
  .heros .robe-vedette img { max-width: 440px; margin: 0 auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .heros .robe-vedette img { animation: entre 1000ms var(--sortie) both 120ms; }
  @keyframes entre { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
}

/* Bloc robe */
.robe { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.robe .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.robe .photos img { border-radius: 4px; }
.robe .photos figure { margin: 0; }
.robe .photos figcaption { grid-column: 1 / -1; text-align: center; font-size: 0.95rem; color: var(--encre-douce); margin-top: 1rem; }
.robe > .cadre { max-width: 440px; }
.faits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 1.8rem 0; padding: 0; list-style: none; max-width: 34rem; }
.faits li { border-top: 2px solid var(--lagon); padding-top: 0.6rem; }
.faits li:nth-child(2) { border-color: var(--safran); }
.faits li:nth-child(3) { border-color: var(--rose); }
.faits li:nth-child(4) { border-color: var(--amethyste); }
.faits b { display: block; font-family: var(--titre); font-size: 1.9rem; font-weight: 600; line-height: 1.1; font-variation-settings: "SOFT" 100, "WONK" 1; }
.prix { font-family: var(--titre); font-size: 1.6rem; margin: 0.5rem 0 0; }
.tete-page .robe { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
@media (max-width: 820px) { .robe, .tete-page .robe { grid-template-columns: 1fr; } }

/* Mosaïque d'aperçu */
.apercu { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 2rem 0; }
.apercu button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; aspect-ratio: 2 / 3; }
.apercu img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--sortie); }
@media (hover: hover) { .apercu button:hover img { transform: scale(1.04); } }
@media (max-width: 820px) { .apercu { grid-template-columns: repeat(3, 1fr); } }

/* Deux grandes vitrines Femme / Homme */
.vitrines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); margin-top: 2rem; }
.vitrine { position: relative; display: block; color: var(--blanc); text-decoration: none; border-radius: 6px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--filet); }
.vitrine img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 600ms var(--sortie); }
.vitrine span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4rem 1.4rem 1.3rem; background: linear-gradient(transparent, rgba(30,19,54,0.82)); font-family: var(--titre); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1; }
.vitrine span small { display: block; font-family: var(--texte); font-size: 1rem; font-weight: 400; opacity: 0.92; }
@media (hover: hover) { .vitrine:hover img { transform: scale(1.03); } }
@media (max-width: 560px) { .vitrines { grid-template-columns: 1fr; } .vitrine { aspect-ratio: 4 / 3; } }

/* Qui je suis (aperçu) */
.portrait { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait .cadre { max-width: 420px; }
@media (max-width: 820px) { .portrait { grid-template-columns: 1fr; } .portrait .cadre { max-width: 320px; } }

/* ---------- Vidéos ---------- */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 2rem; }
.video figure { margin: 0; }
.lecteur { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #000; }
.lecteur button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.lecteur button img { width: 100%; height: 100%; object-fit: cover; }
.lecteur button::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--garance) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 34px no-repeat;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.3); transition: transform 200ms var(--sortie);
}
.lecteur button:hover::after { transform: scale(1.06); }
.lecteur button:active::after { transform: scale(0.96); }
.lecteur button:focus-visible { outline: 3px solid var(--safran); outline-offset: -3px; }
.lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { margin-top: 0.9rem; }
.video figcaption b { display: block; font-family: var(--titre); font-size: 1.35rem; font-weight: 600; font-variation-settings: "SOFT" 100, "WONK" 1; }
@media (max-width: 820px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Galeries ---------- */
.galerie { columns: 4 220px; column-gap: 12px; margin-top: 2rem; }
.galerie button { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--filet); cursor: zoom-in; border-radius: 4px; overflow: hidden; break-inside: avoid; }
.galerie img { width: 100%; height: auto; }
.galerie figcaption { font-size: 0.85rem; text-align: left; padding: 0.4rem 0.6rem 0.6rem; color: var(--encre-douce); background: var(--blanc); }
.plus { display: flex; justify-content: center; margin-top: 1.5rem; }
.bande { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 8px; margin: 1.4rem 0 1rem; scroll-snap-type: x mandatory; }
.bande button { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; scroll-snap-align: start; }
.bande img { width: 100%; height: 100%; object-fit: cover; }
.collection { padding: 2.4rem 0; border-top: 1px solid var(--filet); }
.collection:first-of-type { border-top: 0; }

/* Visionneuse (fond blanc, comme le site) */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.visionneuse::backdrop { background: rgba(255, 255, 255, 0.97); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr auto; }
.vis-haut { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: var(--encre); }
.vis-centre { display: grid; place-items: center; min-height: 0; padding: 0 64px; position: relative; }
.vis-centre img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; object-fit: contain; border-radius: 3px; }
.vis-btn { background: var(--blanc); color: var(--encre); border: 1px solid #D9D0E4; border-radius: 999px; width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; transition: transform 140ms var(--sortie), border-color 200ms; }
.vis-btn:hover { border-color: var(--garance); }
.vis-btn:active { transform: scale(0.94); }
.vis-prec, .vis-suiv { position: absolute; top: 50%; margin-top: -24px; }
.vis-prec { left: 8px; } .vis-suiv { right: 8px; }
.vis-legende { text-align: center; color: var(--encre-douce); padding: 10px 16px 16px; font-size: 0.95rem; }
@media (max-width: 560px) { .vis-centre { padding: 0 8px; } .vis-prec, .vis-suiv { top: auto; bottom: -56px; } .vis-prec { left: 16px; } .vis-suiv { right: 16px; } }
@media (prefers-reduced-motion: no-preference) {
  .visionneuse[open] .vis-centre img { animation: apparait 260ms var(--sortie); }
  @keyframes apparait { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
}

/* ---------- Pages de texte ---------- */
.tete-page { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 5vw, 64px); }
.tete-page + .section { padding-top: 0; }
.recit { max-width: 46rem; margin: 0 auto; }
.recit h2 { margin-top: 1.6em; }
.recit h3 { margin-top: 1.4em; }
.recit p { max-width: none; }
.recit figure { margin: 2.2rem 0; }
.recit figure.droite { float: right; width: min(42%, 300px); margin: 0.4rem 0 1.4rem 2rem; }
.recit figcaption { font-size: 0.9rem; color: var(--encre-douce); margin-top: 0.6rem; }
@media (max-width: 640px) { .recit figure.droite { float: none; width: 100%; margin: 1.5rem 0; } }
.citations { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0.8rem; }
.citations li { font-family: var(--titre); font-style: italic; font-size: 1.3rem; line-height: 1.35; padding-left: 1rem; border-left: 4px solid var(--rose); }
.citations li:nth-child(5n+2) { border-color: var(--safran); }
.citations li:nth-child(5n+3) { border-color: var(--lagon); }
.citations li:nth-child(5n+4) { border-color: var(--amethyste); }
.citations li:nth-child(5n+5) { border-color: var(--garance); }

/* Listes dépliables (fermées par défaut) */
details { border-top: 1px solid var(--filet); }
details:last-of-type { border-bottom: 1px solid var(--filet); }
summary { cursor: pointer; padding: 1rem 0; font-family: var(--titre); font-size: 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-variation-settings: "SOFT" 100, "WONK" 1; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--texte); font-weight: 400; transition: transform 200ms var(--sortie); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 1.4rem; }
.noms { columns: 3 180px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.noms li { break-inside: avoid; padding: 0.15rem 0; }
.noms b { font-weight: 600; }
.boutiques { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem 2rem; }
.boutiques b { display: block; }

/* Presse */
.presse { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; margin-top: 1.5rem; }
.presse figure { margin: 0; }
.presse img { border-radius: 4px; border: 1px solid var(--filet); }
.presse figcaption { margin-top: 0.7rem; font-size: 1rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--blanc); color: var(--encre-douce); padding: 2.5rem 0 2rem; border-top: 1px solid var(--filet); margin-top: clamp(32px, 5vw, 64px); }
.pied-int { max-width: 1240px; margin: 0 auto; padding: 0 var(--gouttiere); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; }
.pied-marque { display: flex; align-items: center; gap: 1.2rem; }
.pied-marque p { margin: 0; }
.pied-marque .voix { color: var(--encre); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pied a { color: var(--encre); }
.pied-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; }
.pied small { display: block; max-width: 1240px; margin: 2rem auto 0; padding: 0 var(--gouttiere); font-size: 0.85rem; }
.pied small a { color: var(--encre-douce); margin-left: 0.4rem; }

/* ---------- Le gardien : l'hippocampe de la marque ---------- */
.gardien { width: 72px; height: auto; flex: none; }
.gardien-grand { width: 120px; margin: 1.5rem 0; }
.avec-gardien { display: flex; gap: 1.2rem; align-items: center; margin: 1.5rem 0; }
.avec-gardien p { margin: 0; }
.pied-gardien { width: 70px; height: auto; flex: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; } .contact .gardien-grand { width: 90px; } }
.formulaire { display: grid; gap: 1.1rem; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .deux { grid-template-columns: 1fr; } }
.champ { display: grid; gap: 0.35rem; }
.champ label { font-weight: 600; font-size: 1rem; }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--encre); background: var(--blanc);
  border: 1px solid #CFC5DC; border-radius: 8px; padding: 0.75rem 0.9rem; width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.champ textarea { resize: vertical; min-height: 9rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--amethyste); box-shadow: 0 0 0 3px rgba(124, 63, 166, 0.18); }
.champ [aria-invalid="true"] { border-color: var(--garance); }
.petit { font-size: 0.92rem; margin: 0; }
.formulaire .btn { justify-self: start; }
.formulaire .btn:disabled { opacity: 0.7; cursor: wait; }
.retour { margin: 0; font-weight: 600; min-height: 1.6em; }
.retour.reussi { color: var(--lagon); }
.retour.erreur { color: var(--garance); }

/* Photos qui ponctuent les récits */
.recit h2 { clear: both; }
.recit figure.gauche { float: left; width: min(42%, 300px); margin: 0.4rem 2rem 1.4rem 0; }
.recit figure img { border-radius: 4px; }
@media (max-width: 640px) { .recit figure.gauche { float: none; width: 100%; margin: 1.5rem 0; } }
.recit .actions, .recit .citations, .recit .avec-gardien { clear: both; }
.recit figure:not(.droite):not(.gauche) { clear: both; }
.citation-gardien { font-family: var(--titre); font-style: italic; font-size: 1.3rem; line-height: 1.35; margin: -0.5rem 0 1.5rem; max-width: 18rem; }
.defile-final { margin: 0.5rem 0 2rem; }
.defile-final img { width: 100%; border-radius: 6px; }
.defile-final figcaption { font-size: 0.95rem; color: var(--encre-douce); margin-top: 0.7rem; }

/* Trois photos côte à côte */
.trio { clear: both; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 2rem 0; }
.trio img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; aspect-ratio: 424 / 600; }

/* Archives : une photo pour ouvrir chaque rubrique */
.archive-intro { display: grid; grid-template-columns: minmax(160px, 0.45fr) 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: 1.5rem; }
.archive-intro img { width: 100%; border-radius: 4px; }
#points-de-vente .archive-intro { grid-template-columns: minmax(140px, 0.3fr) 1fr; }
@media (max-width: 640px) { .archive-intro, #points-de-vente .archive-intro { grid-template-columns: 1fr; } .archive-intro img { max-width: 320px; } }
figure.large { margin: 2.5rem 0 0; }
figure.large img { width: 100%; border-radius: 6px; }
.recit figure.fin { clear: both; max-width: 340px; margin: 2.5rem auto; text-align: center; }

/* ---------- Aquarelles ---------- */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2.5rem 1.8rem; }
.carte { display: flex; flex-direction: column; gap: 0.4rem; }
.carte-photo { padding: 0; border: 0; background: var(--filet); cursor: zoom-in; border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; }
.carte-photo img { width: 100%; height: auto; transition: transform 400ms var(--sortie); }
@media (hover: hover) { .carte-photo:hover img { transform: scale(1.03); } }
.carte h3 { font-size: 1.3rem; margin: 0; }
.carte p { margin: 0; }
.carte-presente { font-family: var(--titre); font-style: italic; color: var(--encre-douce); }
.carte-prix { font-weight: 600; }
.carte details summary { font-size: 1rem; padding: 0.5rem 0; }
.carte-texte p, .carte-texte dl { font-size: 0.95rem; margin: 0 0 0.5rem; }
.carte-texte dt { font-weight: 600; }
.carte-texte dd { margin: 0 0 0.4rem; }
.tete-page .robe .photos img { width: 100%; aspect-ratio: 3 / 4.3; object-fit: contain; object-position: 50% 100%; }

/* Sous-menu des Archives */
.a-sous-menu { position: relative; }
.a-sous-menu.dedans > a { border-bottom-color: var(--amethyste); }
.nav .sous-menu { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1081px) {
  .nav .sous-menu { position: absolute; left: -1rem; top: 100%; min-width: 190px; background: var(--blanc); border: 1px solid var(--filet); border-radius: 8px; box-shadow: 0 12px 28px rgba(42, 29, 66, 0.12); padding: 0.5rem 1rem; display: grid; gap: 0.1rem;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 160ms ease, transform 160ms var(--sortie), visibility 160ms; z-index: 20; }
  .nav .a-sous-menu:hover > .sous-menu, .nav .a-sous-menu:focus-within > .sous-menu { opacity: 1; visibility: visible; transform: none; }
  .nav .sous-menu a { display: block; padding: 0.35rem 0; white-space: nowrap; }
}
@media (max-width: 1080px) {
  .nav .sous-menu { padding-left: 1rem; border-left: 2px solid var(--filet); margin: 0 0 0.4rem 0.2rem; }
  .nav .sous-menu a { font-size: 1rem; padding: 0.4rem 0; }
}

/* Mosaïque : tous les petits carrés d'un coup */
.mosaique { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin-top: 1.6rem; }
.mosaique button { padding: 0; border: 0; background: var(--filet); cursor: zoom-in; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 3px; display: block; width: 100%; content-visibility: auto; contain-intrinsic-size: 130px; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; transition: transform 350ms var(--sortie); }
@media (hover: hover) { .mosaique button:hover img { transform: scale(1.07); } }
@media (max-width: 560px) { .mosaique { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; } }
.rubrique-tete { margin-bottom: 0.4rem; }
