/**
 * Pages internes — refonte 2026 (aligné accueil)
 */

body.bras-site:not(.home) {
  --bras-accent: var(--bras-red);
  --bras-accent-hover: var(--bras-red-dark);
  --bras-accent-soft: rgba(139, 35, 50, 0.1);
  --bras-line: var(--bras-border);
  --bras-inner-max: 1080px;
  --bras-inner-radius: var(--bras-radius);
  --bras-inner-border: var(--bras-border);
  --bras-inner-surface: var(--bras-canvas);
  font-family: var(--bras-font);
  -webkit-font-smoothing: antialiased;
}

/* Header / footer : shell.css (identique à l'accueil). */

body.bras-site:not(.home) .bras-page-hero {
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: transparent;
  border-bottom: 1px solid var(--bras-line);
}

body.bras-site:not(.home) .bras-page-hero--tool {
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

body.bras-site:not(.home) .bras-page-hero .bras-container {
  max-width: var(--bras-inner-max);
}

body.bras-site:not(.home) .bras-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--bras-muted);
}

body.bras-site:not(.home) .bras-breadcrumb a {
  color: var(--bras-muted);
  text-decoration: none;
}

body.bras-site:not(.home) .bras-breadcrumb a:hover {
  color: var(--bras-accent);
}

body.bras-site:not(.home) .bras-breadcrumb [aria-current="page"] {
  color: var(--bras-ink);
  font-weight: 600;
}

body.bras-site:not(.home) .bras-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

body.bras-site:not(.home) .bras-page-title,
body.bras-site:not(.home) h1 {
  font-family: var(--bras-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--bras-ink);
}

body.bras-site:not(.home) .bras-cr-card__title,
body.bras-site:not(.home) .bras-cr-aside h2,
body.bras-site:not(.home) .bras-fi-aside h2,
body.bras-site:not(.home) .bras-contact-card h2,
body.bras-site:not(.home) h2 {
  font-family: var(--bras-font);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--bras-ink);
}

body.bras-site:not(.home) .bras-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bras-accent);
}

body.bras-site:not(.home) .bras-page-hero__lead,
body.bras-site:not(.home) .bras-lead {
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--bras-muted);
}

body.bras-site:not(.home) .bras-content {
  width: min(100% - 2rem, var(--bras-inner-max));
  padding: clamp(2rem, 5vw, 3rem) 0;
}

body.bras-site:not(.home) .bras-section {
  padding-top: clamp(1.5rem, 4vw, 2.25rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

body.bras-site:not(.home) .bras-section .bras-container {
  max-width: var(--bras-inner-max);
}

@media (min-width: 900px) {
  body.bras-site:not(.home) .bras-svc-layout,
  body.bras-site:not(.home) .bras-salle-layout,
  body.bras-site:not(.home) .bras-sig-layout,
  body.bras-site:not(.home) .bras-cr-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--bras-inner-max);
    margin-inline: auto;
  }

  body.bras-site:not(.home) .bras-svc-main,
  body.bras-site:not(.home) .bras-salle-main,
  body.bras-site:not(.home) .bras-sig-app,
  body.bras-site:not(.home) .bras-cr-main {
    grid-column: 1 / -1;
  }

  body.bras-site:not(.home) .bras-svc-aside,
  body.bras-site:not(.home) .bras-salle-aside,
  body.bras-site:not(.home) .bras-sig-aside,
  body.bras-site:not(.home) .bras-cr-aside {
    grid-column: 1 / -1;
    grid-row: auto;
    position: static;
    top: auto;
  }
}

body.bras-site:not(.home) .bras-svc-aside,
body.bras-site:not(.home) .bras-salle-aside,
body.bras-site:not(.home) .bras-cr-aside,
body.bras-site:not(.home) .bras-fi-aside {
  margin-top: 0.5rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--bras-inner-border);
  border-radius: var(--bras-inner-radius);
  background: var(--bras-inner-surface);
  box-shadow: none;
}

body.bras-site:not(.home) .bras-salle-aside {
  margin-top: 1.25rem;
}

body.bras-site:not(.home) .bras-cr-card,
body.bras-site:not(.home) .bras-fi-card,
body.bras-site:not(.home) .bras-svc-card,
body.bras-site:not(.home) .bras-contact-card,
body.bras-site:not(.home) .bras-sig-card {
  border: 1px solid var(--bras-inner-border);
  border-radius: var(--bras-inner-radius);
  background: var(--bras-surface);
  box-shadow: none;
}

body.bras-site:not(.home) .bras-cr-card:hover,
body.bras-site:not(.home) .bras-fi-card:hover,
body.bras-site:not(.home) .bras-svc-card:hover {
  border-color: rgba(139, 35, 50, 0.22);
  box-shadow: 0 8px 28px rgba(16, 16, 15, 0.06);
  transform: none;
}

body.bras-site:not(.home) .bras-btn,
body.bras-site:not(.home) .bras-cr-card__btn,
body.bras-site:not(.home) .bras-fi-card__btn,
body.bras-site:not(.home) .button,
body.bras-site:not(.home) input[type="submit"] {
  border-radius: 999px;
  font-family: var(--bras-font);
  font-weight: 600;
}

body.bras-site:not(.home) .bras-btn--primary,
body.bras-site:not(.home) .bras-cr-card__btn,
body.bras-site:not(.home) input[type="submit"] {
  background: var(--bras-accent);
  border-color: var(--bras-accent);
}

body.bras-site:not(.home) .bras-btn--primary,
body.bras-site:not(.home) .bras-cr-card__btn,
body.bras-site:not(.home) .bras-cr-card__pdf-actions .bras-btn--primary,
body.bras-site:not(.home) .bras-fi-card__actions .bras-btn--primary,
body.bras-site:not(.home) input[type="submit"] {
  color: #ffffff !important;
}

body.bras-site:not(.home) .bras-btn--primary:hover,
body.bras-site:not(.home) .bras-cr-card__btn:hover,
body.bras-site:not(.home) .bras-cr-card__pdf-actions .bras-btn--primary:hover,
body.bras-site:not(.home) .bras-fi-card__actions .bras-btn--primary:hover,
body.bras-site:not(.home) input[type="submit"]:hover {
  color: #ffffff !important;
  background: var(--bras-accent-hover);
  border-color: var(--bras-accent-hover);
}

body.bras-site:not(.home):not(.bras-svc-page):not(.bras-contact-page):not(.bras-search-page) #content a:not(.bras-btn):not(.bras-btn--primary):not(.bras-btn--secondary):not(.bras-cr-card__btn) {
  color: var(--bras-accent);
}

body.bras-site:not(.home):not(.bras-svc-page):not(.bras-contact-page):not(.bras-search-page) #content a:not(.bras-btn):not(.bras-btn--primary):not(.bras-btn--secondary):not(.bras-cr-card__btn):hover {
  color: var(--bras-accent-hover);
}

body.bras-site:not(.home) .bras-home-citizen {
  border-radius: 999px;
  background: var(--bras-accent);
}

body.bras-site:not(.home) input[type="text"],
body.bras-site:not(.home) input[type="email"],
body.bras-site:not(.home) input[type="tel"],
body.bras-site:not(.home) input[type="search"],
body.bras-site:not(.home) input[type="date"],
body.bras-site:not(.home) textarea,
body.bras-site:not(.home) select {
  border: 1px solid var(--bras-line);
  border-radius: 12px;
  background: var(--bras-surface);
  font-family: var(--bras-font);
}

body.bras-site:not(.home) input:focus,
body.bras-site:not(.home) textarea:focus,
body.bras-site:not(.home) select:focus {
  border-color: rgba(196, 49, 75, 0.4);
  outline: 2px solid rgba(196, 49, 75, 0.12);
  outline-offset: 1px;
}

.bras-sig-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.bras-sig-simple__contact,
.bras-sig-simple__types {
  padding: 1.25rem;
  border: 1px solid var(--bras-line);
  border-radius: var(--bras-inner-radius);
  background: var(--bras-surface);
}

.bras-sig-simple__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.bras-sig-simple__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.bras-sig-simple__icon {
  display: inline-flex;
  color: var(--bras-accent);
}

.bras-sig-simple__icon svg {
  width: 20px;
  height: 20px;
}

.bras-sig-simple__note {
  color: var(--bras-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.bras-sig-contact {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.bras-sig-contact li + li {
  margin-top: 0.65rem;
}

@media (max-width: 768px) {
  .bras-sig-simple {
    grid-template-columns: 1fr;
  }
}
