/*
Theme Name: JLMS Espace
Theme URI: https://jelancemasasu.fr/
Author: BUSINESS KOONSULTING
Author URI: https://jelancemasasu.fr/
Description: Thème de l’espace client Je lance ma SASU, conçu pour le tableau de bord Mentor.
Version: 0.1.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: jlms-espace
License: Proprietary
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 800;
}

:root {
  --jlms-brand: #9e1731;
  --jlms-brand-deep: #731027;
  --jlms-accent: #ff6b5e;
  --jlms-ink: #172026;
  --jlms-muted: #475467;
  --jlms-background: #f8fafc;
  --jlms-surface: #fff;
  --jlms-border: #e4e7ec;
  --jlms-success: #16794e;
  --jlms-info: #2f6fe4;
  --jlms-warning: #b86500;
  --jlms-error: #c4320a;
  --jlms-radius-sm: 8px;
  --jlms-radius-md: 12px;
  --jlms-radius-lg: 16px;
  --jlms-shadow-sm: 0 1px 2px rgb(23 32 38 / 6%);
  --jlms-shadow-md: 0 12px 32px rgb(23 32 38 / 10%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--jlms-background);
  color: var(--jlms-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.jlms-portal-page {
  background: #f4f6f8;
}

a {
  color: var(--jlms-brand);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--jlms-brand-deep);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgb(158 23 49 / 30%);
  outline-offset: 3px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 10000;
  background: var(--jlms-ink);
  border-radius: var(--jlms-radius-sm);
  color: #fff;
}

.jlms-site-header {
  background: #fff;
  border-bottom: 1px solid var(--jlms-border);
}

.jlms-header-inner,
.jlms-footer-inner,
.jlms-content-shell {
  margin: 0 auto;
  max-width: 1180px;
  width: min(calc(100% - 2rem), 1180px);
}

.jlms-header-inner {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 84px;
}

.jlms-brand-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.jlms-brand-link img {
  width: 230px;
}

.jlms-primary-nav {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.jlms-primary-nav ul {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jlms-primary-nav a {
  color: var(--jlms-ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.jlms-header-action,
.jlms-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  display: inline-flex;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  text-decoration: none;
}

.jlms-header-action,
.jlms-button--primary {
  background: var(--jlms-accent);
  color: #fff;
}

.jlms-header-action:hover,
.jlms-header-action:focus-visible,
.jlms-button--primary:hover,
.jlms-button--primary:focus-visible {
  background: #ed594e;
  color: #fff;
}

.jlms-site-main:not(.jlms-site-main--portal) {
  min-height: 60vh;
}

.jlms-content-shell {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.jlms-entry {
  background: #fff;
  border: 1px solid var(--jlms-border);
  border-radius: var(--jlms-radius-lg);
  box-shadow: var(--jlms-shadow-sm);
  margin-inline: auto;
  max-width: 860px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
}

.jlms-entry-title,
.jlms-entry-content h1,
.jlms-entry-content h2,
.jlms-entry-content h3 {
  color: var(--jlms-ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.2;
}

.jlms-entry-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1.5rem;
}

.jlms-site-footer {
  background: var(--jlms-ink);
  color: #d5dae0;
  padding-block: 2rem;
}

.jlms-footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.jlms-site-footer a {
  color: #fff;
}

@media (max-width: 760px) {
  .jlms-header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    padding-block: 1rem;
  }

  .jlms-brand-link img {
    width: 190px;
  }

  .jlms-primary-nav,
  .jlms-primary-nav ul {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .jlms-header-action {
    width: 100%;
  }

  .jlms-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
