/* ============================================================
   SOLES – Solutions Scéniques
   Design System (css/style.css)
   Basado en LUXURY_SYSTEM.md + BUILD_SPEC.md
   ============================================================ */

/* --------------------------------------------------------
   1. Custom Properties (3 colores + dorado accent)
   -------------------------------------------------------- */
:root {
  --tinta:      #1C1C1B;
  --crema:      #F5EFE4;
  --crema-2:    #FAF6EE;
  --crema-3:    #EFE7D7;
  --bordeaux:   #6E2431;
  --bordeaux-2: #56212c;
  --dorado:     #C9A14B;
  --dorado-2:   #A8842A;

  --texto:        #1A1A19;
  --texto-suave:  #4A453F;
  --texto-mute:   #615C55; /* 4.5:1+ sobre crema-3 (a11y) */
  --blanco:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script:  'Caveat', cursive;

  --spacing-xs:  0.75rem;   /* 12 px */
  --spacing-sm:  1.5rem;    /* 24 px */
  --spacing-md:  3rem;      /* 48 px */
  --spacing-lg:  5rem;      /* 80 px */
  --spacing-xl:  7rem;      /* 112 px */

  --radius: 2px;
}

/* --------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { overflow-x: hidden; } /* el mobile-nav trasladado fuera de pantalla no debe crear scroll lateral */

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* Skip link ------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--bordeaux);
  color: var(--crema);
  padding: .5rem 1rem;
  z-index: 9999;
  font-size: .85rem;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------
   3. Typography
   -------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--tinta);
}
h1 { font-size: clamp(48px, 6.5vw, 84px); letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4vw, 56px);  letter-spacing: -.01em; }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: 1.125rem; font-weight: 500; }

.italic-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--bordeaux); /* dorado #C9A14B sobre crema no pasa contraste AA en texto 12px */
}

.script {
  font-family: var(--font-script);
  font-weight: 600;
}

/* --------------------------------------------------------
   4. Gold-line (hairline luxury)
   -------------------------------------------------------- */
.gold-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--dorado), transparent);
  vertical-align: middle;
  flex-shrink: 0;
}

/* thin divider */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--dorado), transparent);
  border: none;
  margin: 1.5rem 0;
  opacity: .6;
}

/* --------------------------------------------------------
   5. Buttons
   -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s ease;
}

.btn-primary {
  background: var(--bordeaux);
  border-color: var(--bordeaux);
  color: var(--crema);
}
.btn-primary:hover {
  background: transparent;
  border-color: var(--dorado);
  color: var(--bordeaux);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--tinta);
  color: var(--tinta);
}
.btn-secondary:hover {
  border-color: var(--dorado);
  color: var(--dorado);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--tinta);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--bordeaux); }

/* --------------------------------------------------------
   6. Layout (desktop)
   -------------------------------------------------------- */
.container {
  width: 92%;
  max-width: 1180px;
  margin-inline: auto;
}

.container-narrow {
  width: 92%;
  max-width: 820px;
  margin-inline: auto;
}

.section { padding-block: var(--spacing-lg); }
.section-tinte {
  background: var(--crema-3);
}

/* --------------------------------------------------------
   7. Header
   -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid rgba(201,161,75,.18);
}
/* Header oscuro (tinta) en todo el sitio: el logo lleva un halo semitransparente
   de su fondo original que solo se funde limpio sobre fondo oscuro.
   blur en ::before: backdrop-filter directo en el header convertiría al header
   en containing block del #mobile-nav fixed y el menú no cubriría la pantalla */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28,28,27,.96);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 116px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--crema);
}
.logo:hover {
  filter: drop-shadow(0 0 12px rgba(201,161,75,.35));
}
.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: .55rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(245,239,228,.6);
  margin-top: -2px;
}

/* Nav desktop */
.nav-desktop { display: flex; gap: 1.5rem; }
.nav-desktop a {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(245,239,228,.8);
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--dorado);
  transition: width .25s ease;
}
.nav-desktop a:hover { color: var(--crema); }
.nav-desktop a:hover::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  color: var(--crema);
}

/* --------------------------------------------------------
   8. Mobile Nav (< 768 px)
   -------------------------------------------------------- */
@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-toggle  { display: block; }

  .header-inner { height: 84px; }
  .logo { padding-left: 76px; }
  .logo .logo-mark { width: 64px; height: 64px; }

  .mobile-nav {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--crema);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 99;
    overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }

  .mobile-nav a {
    display: block;
    padding: .75rem 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--tinta);
    border-bottom: 1px solid rgba(28,28,27,.08);
  }
}
@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

/* --------------------------------------------------------
   9. Hero
   -------------------------------------------------------- */
.hero {
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  text-align: center;
}
.hero-eyebrow     { margin-bottom: var(--spacing-xs); }
.hero h1          { max-width: 900px; margin-inline: auto; }
.hero-sub         {
  max-width: 600px;
  margin: var(--spacing-sm) auto 0;
  font-size: 1.05rem;
  color: var(--texto-suave);
}
.hero-ctas        { margin-top: var(--spacing-sm); display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------
  10. Cards
   -------------------------------------------------------- */
.card-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
  background: var(--crema-2);
  border: 1px solid rgba(28,28,27,.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.card:hover { box-shadow: 0 12px 40px rgba(28,28,27,.08); transform: translateY(-3px); }

.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #D3CCC1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  color: var(--texto-mute);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card-img a { display: block; width: 100%; height: 100%; }

/* Card completa clicable: el link principal se estira sobre toda la card */
.card { position: relative; }
.card .stretched::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-link span { display: inline-block; transition: transform .25s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-link { color: var(--dorado); }
.card:hover .card-link span, .card-link:hover span { transform: translateX(4px); }
.card:hover h3 { color: var(--bordeaux); transition: color .25s ease; }
.section-scene .card:hover h3, .section-velours .card:hover h3 { color: var(--dorado); }

.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .5rem; font-family: var(--font-display); font-weight: 400; }
.card-body p  { font-size: .95rem; color: var(--texto-suave); }
.card-link    { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; font-size: .85rem; font-weight: 500; color: var(--bordeaux); transition: color .2s; }
.card-link:hover { color: var(--dorado); }

/* --------------------------------------------------------
   11. FAQ Accordion
   -------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid rgba(28,28,27,.1);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--tinta);
  text-align: left;
}
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--dorado);
  transition: transform .25s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  font-size: .95rem;
  color: var(--texto-suave);
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.2rem;
}

/* --------------------------------------------------------
   12. Footer
   -------------------------------------------------------- */
.site-footer {
  background: var(--crema-3);
  padding: var(--spacing-md) 0 var(--spacing-sm);
  border-top: 1px solid rgba(201,161,75,.18);
}
.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-col .footer-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--tinta);
}
.footer-col a {
  display: block;
  font-size: .9rem;
  color: var(--texto-suave);
  padding: .25rem 0;
  transition: color .2s;
}
.footer-col a:hover { color: var(--bordeaux); }

.footer-bottom {
  margin-top: var(--spacing-sm);
  padding-top: var(--spacing-xs);
  border-top: 1px solid rgba(28,28,27,.1);
  text-align: center;
  font-size: .85rem;
  color: var(--texto-mute);
}
/* Hero dividido (texto izquierda + foto derecha con marco dorado) */
.hero-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
}
.hero-split h1 { margin-inline: 0; max-width: none; }
.hero-split .hero-sub { margin-left: 0; }
.hero-split .hero-ctas { justify-content: flex-start; }
.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%;
  height: clamp(320px, 34vw, 480px);
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.hero-media::before {
  content: '';
  position: absolute;
  top: 16px; right: -16px; bottom: -16px; left: 16px;
  border: 1px solid rgba(201,161,75,.55);
  border-radius: var(--radius);
  pointer-events: none;
}
@media (max-width: 700px) {
  .hero-split { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .hero-split .hero-ctas { justify-content: center; }
  .hero-media::before { display: none; }
  .hero-media img { height: auto; aspect-ratio: 16 / 9; }
}

/* Hero image band (bajo el hero de texto) */
.hero-band { margin: 0; }
.hero-band img {
  width: 100%;
  height: clamp(300px, 46vw, 540px);
  object-fit: cover;
  display: block;
}

/* Galerias de fotos */
.gallery-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.footer-legal { margin-top: .35rem; }
.footer-legal a { color: var(--texto-suave); transition: color .2s; }
.footer-legal a:hover { color: var(--bordeaux); }

/* --------------------------------------------------------
  13. Misc (utilities, 404, focus)
   -------------------------------------------------------- */
.text-center { text-align: center; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }

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

/* 404 page */
.page-404 {
  text-align: center;
  padding: var(--spacing-xl) 0;
}
.page-404 h1 { font-size: 6rem; color: var(--dorado); }
.page-404 p  { max-width: 500px; margin-inline: auto; color: var(--texto-suave); }
.page-404 .btn-primary { margin-top: 1.5rem; }

/* decorative quieter section variant */
.section-muted {
  background: var(--crema-2);
}

/* --------------------------------------------------------
   15. TEATRO — secciones "escenario" (dark stage)
   -------------------------------------------------------- */
.section-scene {
  position: relative;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(201,161,75,.16), transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 110%, rgba(110,36,49,.35), transparent 65%),
    var(--tinta);
  color: rgba(245,239,228,.85);
  overflow: hidden;
}
.section-scene h1, .section-scene h2, .section-scene h3 { color: var(--crema); }
.section-scene .eyebrow { color: var(--dorado); }
.section-scene p { color: rgba(245,239,228,.85); }
.section-scene .btn-secondary { border-color: rgba(245,239,228,.55); color: var(--crema); }
.section-scene .btn-secondary:hover { border-color: var(--dorado); color: var(--dorado); }
.section-scene .btn-primary:hover { color: var(--crema); border-color: var(--dorado); }

/* Terciopelo burdeos (CTA final) */
.section-velours {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(201,161,75,.14), transparent 60%),
    linear-gradient(160deg, #501A24 0%, var(--bordeaux) 45%, #3E141C 100%);
  color: rgba(245,239,228,.9);
  overflow: hidden;
}
.section-velours h2 { color: var(--crema); }
.section-velours .eyebrow { color: var(--dorado); }
.section-velours p { color: rgba(245,239,228,.85); }
.section-velours .btn-primary { background: var(--crema); border-color: var(--crema); color: var(--bordeaux); }
.section-velours .btn-primary:hover { background: transparent; border-color: var(--dorado); color: var(--crema); }
.section-velours .btn-secondary { border-color: rgba(245,239,228,.55); color: var(--crema); }
.section-velours .btn-secondary:hover { border-color: var(--dorado); color: var(--dorado); }

/* Haz de luz de escenario (decorativo, aria-hidden) */
.spotlight {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(640px, 90%);
  height: 100%;
  background: linear-gradient(180deg, rgba(201,161,75,.10), transparent 70%);
  clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.section-scene > .container, .section-velours > .container,
.section-scene > .container-narrow, .section-velours > .container-narrow { position: relative; }

/* Ornamento teatral (máscaras + hairlines) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto var(--spacing-sm);
  color: var(--dorado);
}
.ornament::before, .ornament::after {
  content: '';
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dorado));
}
.ornament::after { background: linear-gradient(90deg, var(--dorado), transparent); }
.ornament svg { display: block; }

/* Banda de estadísticas (números de escena) */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.5rem; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1;
  color: var(--dorado);
}
.stat-label {
  margin-top: .5rem;
  font-size: .85rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(245,239,228,.85);
}

/* Cards sobre fondo oscuro */
.section-scene .card { background: rgba(245,239,228,.04); border-color: rgba(201,161,75,.25); }
.section-scene .card-body p { color: rgba(245,239,228,.8); }

/* --------------------------------------------------------
   16. Footer teatral (tinta, telón cerrado)
   -------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(110,36,49,.28), transparent 60%),
    var(--tinta);
  border-top: 2px solid var(--dorado);
}
.site-footer .footer-col .footer-title { color: var(--crema); }
.site-footer .footer-col a { color: rgba(245,239,228,.78); }
.site-footer .footer-col a:hover { color: var(--dorado); }
.site-footer .footer-col p { color: rgba(245,239,228,.7) !important; }
.site-footer .footer-bottom { border-top: 1px solid rgba(201,161,75,.25); color: rgba(245,239,228,.75); }
.site-footer .footer-bottom a { color: rgba(245,239,228,.78); }
.site-footer .footer-bottom a:hover { color: var(--dorado); }

/* Hero con calidez de candilejas */
.hero {
  background:
    radial-gradient(ellipse 55% 60% at 78% 30%, rgba(201,161,75,.10), transparent 65%),
    radial-gradient(ellipse 45% 50% at 15% 80%, rgba(110,36,49,.07), transparent 60%);
}

/* --------------------------------------------------------
   17. Hero oscuro de subpágina (escenario de apertura)
   -------------------------------------------------------- */
.hero-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 65% at 50% -5%, rgba(201,161,75,.17), transparent 62%),
    radial-gradient(ellipse 50% 45% at 82% 105%, rgba(110,36,49,.45), transparent 65%),
    var(--tinta);
  color: rgba(245,239,228,.88);
}
.hero-scene h1 { color: var(--crema); }
.hero-scene .hero-sub { color: rgba(245,239,228,.85); }
.hero-scene .eyebrow { color: var(--dorado); }
.hero-scene .btn-secondary { border-color: rgba(245,239,228,.55); color: var(--crema); }
.hero-scene .btn-secondary:hover { border-color: var(--dorado); color: var(--dorado); }
.hero-scene .btn-primary:hover { color: var(--crema); border-color: var(--dorado); }
.hero-scene > .container { position: relative; }

/* Breadcrumb sobre fondo oscuro (continuo con hero-scene).
   Especificidad doble .breadcrumb.breadcrumb-dark: las reglas genéricas
   de .breadcrumb quedaron después en el archivo y ganarían por orden. */
.breadcrumb.breadcrumb-dark { background: var(--tinta); padding-top: 1.1rem; padding-bottom: .2rem; }
.breadcrumb.breadcrumb-dark ol { color: rgba(245,239,228,.55); }
.breadcrumb.breadcrumb-dark a { color: rgba(245,239,228,.75); }
.breadcrumb.breadcrumb-dark a:hover { color: var(--dorado); }
.breadcrumb.breadcrumb-dark [aria-current="page"] { color: var(--crema); }
.breadcrumb.breadcrumb-dark li + li::before { color: var(--dorado); }

/* Logo con sol dorado (absoluto: no altera el flujo del texto).
   El header ahora es oscuro en todo el sitio (sección 7), así que el halo
   semitransparente del PNG ya se funde limpio sin necesitar placa propia. */
.logo { position: relative; padding-left: 114px; }
.logo .logo-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* Ajustes móviles de ritmo (menos "largueros") */
@media (max-width: 600px) {
  .hero { padding: 3.2rem 0 2.8rem; }
  h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .section { padding-block: 3.5rem; }
}

/* --------------------------------------------------------
  14. Breadcrumb (Fil d'Ariane)
   -------------------------------------------------------- */
.breadcrumb {
  padding-top: var(--spacing-sm);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  letter-spacing: .03em;
  color: var(--texto-mute);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.breadcrumb li + li::before {
  content: '›';
  color: var(--dorado);
}
.breadcrumb a {
  color: var(--texto-suave);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--bordeaux); }

/* --------------------------------------------------------
   18. Communauté / Actualités (formulaire + feed)
   -------------------------------------------------------- */
.community-field { margin-bottom: 1.1rem; }
.community-field label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--texto-suave);
  margin-bottom: .4rem;
}
.community-field input[type="text"],
.community-field input[type="email"],
.community-field input[type="password"],
.community-field select,
.community-field textarea {
  width: 100%;
  padding: .7rem .9rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--texto);
  background: var(--crema-2);
  border: 1px solid rgba(28,28,27,.15);
  border-radius: var(--radius);
}
.community-field input:focus,
.community-field select:focus,
.community-field textarea:focus {
  outline: none;
  border-color: var(--dorado);
}
.community-field input[type="file"] { font-size: .85rem; }
.community-post-form { margin-top: 1.5rem; }
.community-hint { margin-top: .75rem; font-size: .82rem; color: var(--texto-mute); }

.community-login-form label { display: block; font-size: .9rem; margin-bottom: .6rem; color: var(--texto-suave); }
.community-login-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.community-login-row input { flex: 1; min-width: 220px; padding: .7rem .9rem; border: 1px solid rgba(28,28,27,.15); border-radius: var(--radius); background: var(--crema-2); font-family: var(--font-body); }

.community-post-msg { margin-top: .85rem; font-size: .88rem; }
.community-post-msg.success { color: var(--bordeaux); }
.community-post-msg.error { color: #a33; }

.community-auth-status { font-size: .92rem; color: var(--texto-suave); }
.community-auth-status button { background: none; border: none; padding: 0; font: inherit; color: var(--bordeaux); cursor: pointer; text-decoration: underline; }

.community-filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.community-filter-btn {
  padding: .5rem 1.1rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--texto-suave);
  background: transparent;
  border: 1px solid rgba(201,161,75,.35);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
}
.community-filter-btn:hover { border-color: var(--dorado); color: var(--tinta); }
.community-filter-btn.is-active { background: var(--dorado); border-color: var(--dorado); color: var(--tinta); }
.section-scene .community-filter-btn { color: rgba(245,239,228,.85); border-color: rgba(201,161,75,.4); }
.section-scene .community-filter-btn:hover { color: var(--crema); }
.section-scene .community-filter-btn.is-active { color: var(--tinta); }

.community-feed { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 1.5rem; }
.community-post-img { width: 100%; height: auto; border-radius: var(--radius); margin: .75rem 0; }
.community-post-author { margin-top: .75rem; font-size: .85rem; color: var(--texto-mute); font-style: italic; }
.section-scene .community-post-msg.success { color: var(--dorado); }

.community-intro { color: var(--texto-suave); margin-bottom: 1.5rem; }

/* Honeypot antispam : hors écran, jamais visible ni focusable visuellement */
.community-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------
   19. Panel d'administration (noindex)
   -------------------------------------------------------- */
.admin-list { display: grid; gap: 1.25rem; margin-top: 1rem; }
.admin-item {
  background: var(--crema-2);
  border: 1px solid rgba(28,28,27,.08);
  border-left: 3px solid var(--dorado);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.admin-item h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.admin-item-body { font-size: .95rem; color: var(--texto-suave); }
.admin-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.admin-actions .btn { padding: .55rem 1.2rem; font-size: .8rem; }
.breadcrumb [aria-current="page"] { color: var(--tinta); }
