/*
Theme Name: LuminoMind
Theme URI: https://luminomind.com
Author: LuminoMind
Description: Thème WordPress — design system foundation.
Version: 1.2.1
Text Domain: luminomind
*/

:root {
  --lm-bg: #f5f5f5;
  --lm-dark: #0b0b0d;
  --lm-card: #ffffff;
  --lm-text: #202124;
  --lm-muted: #6f7278;
  --lm-accent: #0084d7;
  --lm-accent-hover: #006eaf;
  --lm-border: #e5e5e7;

  --lm-radius-sm: 8px;
  --lm-radius-md: 16px;
  --lm-radius-pill: 999px;

  --lm-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  --lm-container: 1200px;

  --lm-space-xs: 8px;
  --lm-space-sm: 16px;
  --lm-space-md: 24px;
  --lm-space-lg: 48px;
  --lm-space-xl: 96px;
}


/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
.editor-styles-wrapper {
  margin: 0;
  color: var(--lm-text);
  background: #fff;

  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  line-height: 1.5;

  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--lm-accent);
  outline-offset: 2px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;

  font-family: "Assistant", sans-serif;
  line-height: 1.15;
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 5.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 600;
}

h5 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin-top: 0;
  font-size: 1.08rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}


/* =========================================================
   LAYOUT
   ========================================================= */

.lm-container,
.editor-styles-wrapper .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));

  margin-left: auto;
  margin-right: auto;
}

.lm-section {
  padding: var(--lm-space-xl) 0;
}

.lm-section-sm {
  padding: var(--lm-space-lg) 0;
}

.lm-muted {
  color: var(--lm-muted);
}

.lm-center {
  text-align: center;
}

.lm-content {
  width: 100%;
  max-width: none;
}

.lm-content > .alignfull {
  width: 100%;
  max-width: none;

  margin-left: 0;
  margin-right: 0;
}

/* =========================================================
   HERO
   ========================================================= */

.lm-hero.wp-block-cover,
.editor-styles-wrapper .lm-hero.wp-block-cover {
  position: relative;
  width: 100%;
  max-width: none;

  min-height: calc(100vh - 76px);

  padding: 140px 0;

  display: flex;
  align-items: center;

  color: #fff;
}


/* Image */

.lm-hero .wp-block-cover__image-background {
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}


/* Overlay sombre */

.lm-hero > .wp-block-cover__background {
  z-index: 1;

  background: #000 !important;
  opacity: 0.5 !important;
}


/* =========================================================
   Gutenberg : neutralisation du layout constrained
   ========================================================= */

.lm-hero > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
}


/*
 * Gutenberg applique une largeur de contenu à l'enfant direct
 * d'un layout constrained. On force ici notre propre container.
 */
.lm-hero > .wp-block-cover__inner-container > .lm-container {
  width: min(calc(100% - 40px), var(--lm-container)) !important;
  max-width: var(--lm-container) !important;

  margin-left: auto !important;
  margin-right: auto !important;
}


/* Wrapper généré à l'intérieur du Group lm-container */

.lm-hero .lm-container > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
}


/* =========================================================
   Colonne de contenu
   ========================================================= */

.lm-hero .lm-hero-content,
.editor-styles-wrapper .lm-hero .lm-hero-content {
  width: 100% !important;
  max-width: 1000px !important;

  margin-left: 0 !important;
  margin-right: auto !important;
}


/* Wrapper Gutenberg du groupe lm-hero-content */

.lm-hero .lm-hero-content > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
}


/*
 * Les enfants d'un layout constrained sont normalement recentrés.
 * Ici ils restent alignés à gauche.
 */

.lm-hero .lm-hero-content > .wp-block-group__inner-container > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* =========================================================
   Titre
   ========================================================= */

.lm-hero-title,
.editor-styles-wrapper .lm-hero-title {
    width: 100%;
    max-width: 100% !important;
    margin: 0 !important;

    color: #fff;

    font-family: "Assistant", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

/* Soulignement */

.lm-highlight {
  position: relative;
  display: inline-block;

  white-space: nowrap;
}

.lm-highlight::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -8px;

  height: 6px;

  background: var(--lm-accent);

  border-radius: var(--lm-radius-pill);

  transform: rotate(-1.5deg);
}


/* =========================================================
   Texte principal
   ========================================================= */

.lm-hero-lead,
.editor-styles-wrapper .lm-hero-lead {
  width: 100%;
  max-width: 780px !important;

  margin: 48px 0 0 !important;

  color: rgba(255, 255, 255, 0.92);

  font-size: 1.28rem;
  line-height: 1.55;
}


/* Tagline */

.lm-hero-tagline,
.editor-styles-wrapper .lm-hero-tagline {
  width: 100%;
  max-width: 780px !important;

  margin: 28px 0 0 !important;

  color: #fff;

  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.5;
}


/* =========================================================
   CTA
   ========================================================= */

.lm-hero-actions {
  margin: 42px 0 0 !important;
}

.lm-hero-button .wp-block-button__link {
  padding: 15px 28px;

  color: #111;
  background: rgba(255, 255, 255, 0.92);

  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--lm-radius-pill);

  font-family: "Source Sans 3", sans-serif;
  font-size: 1.08rem;
  font-weight: 600;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.lm-hero-button .wp-block-button__link:hover {
  background: #fff;

  transform: translateY(-1px);
}


/* =========================================================
   USE CASES
   ========================================================= */

.lm-uses.wp-block-cover,
.editor-styles-wrapper .lm-uses.wp-block-cover {
  position: relative;

  width: 100%;
  max-width: none;

  min-height: 820px;

  padding-top: 80px;
  padding-bottom: 90px;

  color: #fff;
}


/* Image */

.lm-uses .wp-block-cover__image-background {
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
}


/* Overlay */

.lm-uses > .wp-block-cover__background {
  z-index: 1;
}


/* Contenu */

.lm-uses > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;

  width: 100%;
}

.lm-uses .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));
  max-width: var(--lm-container);

  margin-left: auto;
  margin-right: auto;
}


/* Titre */

.lm-uses-title {
  max-width: 900px;

  margin-bottom: 70px;
}

.lm-uses-title h3 {
  margin: 0 0 12px;

  color: #fff;

  font-size: 2rem;
  line-height: 1.2;
}

.lm-uses-title p {
  margin: 0;

  color: #fff;

  font-size: 1.05rem;
}


/* Cartes */

.lm-use-grid,
.editor-styles-wrapper .lm-use-grid {
  display: flex;
  flex-direction: column;

  width: min(100%, 600px);

  margin-left: auto;
  margin-right: auto;

  gap: 40px;
}

.lm-use-card,
.editor-styles-wrapper .lm-use-card {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;

  width: 100%;
  min-height: 150px;

  padding: 0;

  overflow: hidden;

  color: #111;
  background: #fff;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;

  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}


/* Image carte */

.lm-use-card .wp-block-image {
  width: 150px;
  min-width: 150px;

  margin: 0;

  flex-shrink: 0;
}

.lm-use-card .wp-block-image img {
  display: block;

  width: 150px;
  height: 150px;

  object-fit: cover;

  border-radius: 0;
}


/* Texte carte */

.lm-use-content {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 17px 16px;
}

.lm-use-content h5 {
  margin: 0 0 8px;

  color: #111;

  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
}

.lm-use-content p {
  margin: 0;

  color: #111;

  font-size: 0.96rem;
  line-height: 1.45;
}


/* =========================================================
   GUTENBERG EDITOR
   ========================================================= */

.editor-styles-wrapper .lm-hero.wp-block-cover {
  min-height: 750px;
}

.editor-styles-wrapper .lm-hero > .wp-block-cover__inner-container,
.editor-styles-wrapper .lm-uses > .wp-block-cover__inner-container {
  width: 100%;
}

.editor-styles-wrapper .lm-use-content {
  flex: 1;

  padding: 17px 16px;
}

.editor-styles-wrapper .lm-use-content h5 {
  margin: 0 0 8px;
  color: #111;
}

.editor-styles-wrapper .lm-use-content p {
  margin: 0;
  color: #111;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .lm-container,
  .editor-styles-wrapper .lm-container {
    width: calc(100% - 28px);
  }


  /* Hero */

  .lm-hero.wp-block-cover {
    min-height: calc(100vh - 70px);

    padding-top: 80px;
    padding-bottom: 80px;
  }

  .lm-hero .lm-container {
    width: calc(100% - 28px) !important;
  }

    .lm-hero-title {
        font-size: clamp(2.2rem, 10vw, 3.6rem);
    }

  .lm-hero-lead {
    margin-top: 36px;

    font-size: 1.08rem;
  }

  .lm-hero-tagline {
    margin-top: 22px;

    font-size: 1.05rem;
  }

  .lm-hero-actions {
    margin-top: 32px !important;
  }


  /* Uses */

  .lm-uses.wp-block-cover {
    min-height: auto;

    padding-top: 65px;
    padding-bottom: 65px;
  }

  .lm-uses .lm-container {
    width: calc(100% - 28px);
  }

  .lm-uses-title {
    margin-bottom: 45px;
  }

  .lm-use-grid {
    width: 100%;

    gap: 22px;
  }

  .lm-use-card {
    min-height: 125px;
  }

  .lm-use-card .wp-block-image {
    width: 125px;
    min-width: 125px;
  }

  .lm-use-card .wp-block-image img {
    width: 125px;
    height: 125px;
  }

  .lm-use-content {
    padding: 14px;
  }

  .lm-use-content h5 {
    font-size: 1.05rem;
  }

  .lm-use-content p {
    font-size: 0.9rem;
  }
}


/* =========================================================
   STEPS / Présentation
   ========================================================= */

.lm-steps-section {
  width: 100%;
  max-width: none;

  padding-top: 96px;
  padding-bottom: 80px;

  background: #fff;
}

.lm-steps-section > .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));
  max-width: var(--lm-container);

  margin-inline: auto;
}

.lm-steps-wrap {
  display: flex;
  align-items: center;

  gap: 64px;

  margin: 0;
}

.lm-step-list {
  flex: 1;
}

.lm-step-list h3 {
  margin-bottom: 40px;
}

.lm-step-list p {
  margin-bottom: 24px;

  font-size: 1.15rem;
  line-height: 1.5;
}

.lm-step-list p:last-child {
  margin-bottom: 0;
}

.lm-step-list strong {
  color: var(--lm-accent);
}

.lm-steps-image {
  flex: 1;
}

.lm-steps-image .wp-block-image {
  margin: 0;
}

.lm-steps-image img {
  width: 100%;
  height: auto;

  display: block;
}


/* Gutenberg */

.editor-styles-wrapper .lm-steps-section {
  padding-top: 96px;
  padding-bottom: 80px;
}

.editor-styles-wrapper .lm-steps-wrap {
  gap: 64px;
}


/* Mobile */

@media (max-width: 700px) {

  .lm-steps-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .lm-steps-wrap {
    flex-direction: column;

    gap: 40px;
  }

  .lm-step-list h3 {
    margin-bottom: 28px;
  }

  .lm-step-list p {
    margin-bottom: 18px;

    font-size: 1.05rem;
  }
}


/* =========================================================
   PARALLAX VISUEL
   ========================================================= */

.lm-parallax.wp-block-cover,
.editor-styles-wrapper .lm-parallax.wp-block-cover {
  position: relative;

  width: 100%;
  max-width: none;

  min-height: 650px;

  padding-top: 112px;
  padding-bottom: 128px;

  color: #fff;

  overflow: hidden;
}


/* Image */

.lm-parallax .wp-block-cover__image-background {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: 50% 75%;
}


/* Overlay noir */

.lm-parallax > .wp-block-cover__background {
  background: #000 !important;
  opacity: 0.5 !important;
}


/* Contenu */

.lm-parallax > .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;

  width: 100%;
}


/* Gutenberg */

.editor-styles-wrapper .lm-parallax.wp-block-cover {
  min-height: 650px;
}


/* Mobile */

@media (max-width: 700px) {
  .lm-parallax.wp-block-cover {
    min-height: 420px;

    padding-top: 80px;
    padding-bottom: 80px;
  }
}


/* =========================================================
   EXPERIENCE SENSORIELLE
   ========================================================= */

.lm-experience-section,
.editor-styles-wrapper .lm-experience-section {
  width: 100%;
  max-width: none;

  padding-top: 96px;
  padding-bottom: 88px;

  background: #fff;
}

.lm-experience-section > .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));
  max-width: var(--lm-container);

  margin-inline: auto;
}


/* Header */

.lm-experience-head {
  margin-bottom: 40px;
}

.lm-experience-head h3 {
  margin-bottom: 14px;
}

.lm-experience-subtitle {
  max-width: 900px;

  margin: 0;

  font-size: 1.15rem;
  line-height: 1.5;
}


/* Grille */

.lm-experience-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 24px;

  margin: 0;
}


/* Carte */

.lm-experience-card {
  height: 100%;

  overflow: hidden;

  background: #fff;

  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-md);

  box-shadow: var(--lm-shadow);
}

.lm-experience-card .wp-block-image {
  margin: 0;
}

.lm-experience-card .wp-block-image img {
  display: block;

  width: 100%;
  aspect-ratio: 1 / 1;

  object-fit: cover;
}


/* Corps */

.lm-experience-card-body {
  padding: 22px 20px 24px;
}

.lm-experience-card-body h5 {
  margin: 0 0 12px;

  text-align: center;

  font-size: 1.15rem;
  line-height: 1.3;
}

.lm-experience-card-body p {
  margin: 0;

  color: var(--lm-text);

  font-size: 1rem;
  line-height: 1.5;

  text-align: justify;
}


/* Gutenberg */

.editor-styles-wrapper .lm-experience-grid {
  gap: 24px;
}

.editor-styles-wrapper .lm-experience-card {
  height: 100%;
}


/* Tablet */

@media (max-width: 950px) {
  .lm-experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Mobile */

@media (max-width: 700px) {

  .lm-experience-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .lm-experience-section > .lm-container {
    width: calc(100% - 28px);
  }

  .lm-experience-head {
    margin-bottom: 32px;
  }

  .lm-experience-grid {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .lm-experience-subtitle {
    font-size: 1.05rem;
  }

  .lm-experience-card-body {
    padding: 20px;
  }
}


/* =========================================================
   SCIENCE / POURQUOI LA LUMIÈRE RYTHMÉE
   ========================================================= */

.lm-science-section,
.editor-styles-wrapper .lm-science-section {
  position: relative;

  width: 100%;
  max-width: none;

  padding-top: 136px;
  padding-bottom: 232px;

  background: #fff;
  overflow: hidden;
}

.lm-science-section > .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));
  max-width: var(--lm-container);

  margin-inline: auto;
}


/* Colonnes */

.lm-science-grid {
  display: flex;
  align-items: center;

  gap: 8.333%;

  margin: 0;
}


/* Image */

.lm-science-image-col {
  flex: 0 0 41.666%;
}

.lm-science-image {
  margin: 0;
}

.lm-science-image img {
  display: block;

  width: 100%;
  height: auto;
}


/* Texte */

.lm-science-copy {
  flex: 0 0 50%;
}

.lm-science-copy h3 {
  margin-bottom: 32px;
}

.lm-science-copy p,
.lm-science-copy li {
  font-size: 1.125rem;
  line-height: 1.55;
}

.lm-science-copy p {
  margin-bottom: 20px;
}

.lm-science-copy ul {
  margin: 0 0 32px;
  padding-left: 1.2em;
}


/* CTA */

.lm-science-actions {
  margin-top: 32px;
}

.lm-science-button .wp-block-button__link {
  padding: 14px 28px;

  background: var(--lm-dark);
  color: #fff;

  border-radius: var(--lm-radius-sm);

  font-size: 1.05rem;
  font-weight: 600;
}

.lm-science-button .wp-block-button__link:hover {
  background: #222;
}


/* Gutenberg */

.editor-styles-wrapper .lm-science-grid {
  gap: 8.333%;
}

.editor-styles-wrapper .lm-science-copy p,
.editor-styles-wrapper .lm-science-copy li {
  font-size: 1.125rem;
}


/* Mobile */

@media (max-width: 700px) {

  .lm-science-section {
    padding-top: 72px;
    padding-bottom: 96px;
  }

  .lm-science-section > .lm-container {
    width: calc(100% - 28px);
  }

  .lm-science-grid {
    flex-direction: column;
    gap: 48px;
  }

  .lm-science-image-col,
  .lm-science-copy {
    flex: 0 0 100%;
    width: 100%;
  }

  .lm-science-copy h3 {
    margin-bottom: 24px;
  }

  .lm-science-copy p,
  .lm-science-copy li {
    font-size: 1.05rem;
  }
}


/* =========================================================
   FAQ
   ========================================================= */

.lm-faq-section {
  width: 100%;

  padding-top: 96px;
  padding-bottom: 96px;

  background: #fff;
}

.lm-faq-section .lm-container {
  width: min(calc(100% - 40px), var(--lm-container));
  max-width: var(--lm-container);

  margin-inline: auto;
}


/* Titre */

.lm-faq-header {
  margin-bottom: 48px;
}

.lm-faq-header h3 {
  margin: 0;
}


/* Liste */

.lm-faq-list {
  max-width: 900px;

  margin-inline: auto;

  border-top: 1px solid var(--lm-border);
}


/* Élément */

.lm-faq-item {
  border-bottom: 1px solid var(--lm-border);
}


/* Question */

.lm-faq-question {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 24px 0;

  cursor: pointer;

  list-style: none;

  font-family: "Assistant", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.lm-faq-question::-webkit-details-marker {
  display: none;
}


/* + */

.lm-faq-icon {
  position: relative;

  width: 20px;
  height: 20px;

  flex: 0 0 20px;
}

.lm-faq-icon::before,
.lm-faq-icon::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 16px;
  height: 2px;

  background: currentColor;

  transform: translate(-50%, -50%);
}

.lm-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);

  transition: transform 0.2s ease;
}

.lm-faq-item[open] .lm-faq-icon::after {
  transform: translate(-50%, -50%) rotate(0);
}


/* Réponse */

.lm-faq-answer {
  max-width: 800px;

  padding: 0 40px 26px 0;

  color: var(--lm-muted);
}

.lm-faq-answer p:last-child {
  margin-bottom: 0;
}


/* Mobile */

@media (max-width: 700px) {

  .lm-faq-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .lm-faq-section .lm-container {
    width: calc(100% - 28px);
  }

  .lm-faq-header {
    margin-bottom: 32px;
  }

  .lm-faq-question {
    padding: 20px 0;

    font-size: 1.1rem;
  }

  .lm-faq-answer {
    padding-right: 0;
  }
}


/* Menu desktop */

.lm-menu-list {
  display: flex;
  align-items: center;

  gap: 32px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.lm-menu-list li {
  margin: 0;
}

.lm-menu-list a {
  display: block;

  text-decoration: none;
}


/* Menu mobile */

.lm-mobile-menu-list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.lm-mobile-menu-list li {
  margin: 0;
}

.lm-mobile-menu-list a {
  display: block;

  padding: 12px 0;
}


.lm-footer {
    margin-top: 80px;
    padding: 64px 0 24px;
    background: #062130;
    color: rgba(255, 255, 255, .72);
}

.lm-footer-grid {
    display: grid;
    grid-template-columns: 2.8fr 0.9fr 1.4fr 1fr;
    gap: 32px;
}

.lm-footer h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.lm-footer-brand {
    max-width: 500px;
}

.lm-footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.lm-footer-logo-img,
.lm-footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 60px;
    height: auto;
    object-fit: contain;
}

.lm-footer-brand > p:first-of-type {
    margin: 0 0 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.lm-footer-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.lm-footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.lm-footer-menu li {
    margin: 0 0 10px;
}

.lm-footer a {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
    transition: color .2s ease;
}

.lm-footer a:hover {
    color: #fff;
}

.lm-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.lm-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, .72);
    font-size: 22px;

    transition:
        color .2s ease,
        transform .2s ease;
}

.lm-social a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.lm-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12px;
    color: rgba(255, 255, 255, .45);
}

.lm-footer-bottom-links {
    display: flex;
    gap: 20px;
}

.lm-footer-bottom a {
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 900px) {
    .lm-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lm-footer-brand {
        grid-column: 1 / -1;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .lm-footer {
        padding-top: 45px;
    }

    .lm-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .lm-footer-brand {
        grid-column: auto;
    }

    .lm-footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================================================
   COMPONENTS — règles complémentaires
   ========================================================= */

/* Boutons */
.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--lm-radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: .15s ease;
}

.lm-btn:hover {
  transform: translateY(-1px);
}

.lm-btn:active {
  transform: scale(.98);
}

.lm-btn-primary {
  color: #fff;
  background: var(--lm-accent);
  box-shadow: 0 3px 8px rgba(0, 132, 215, .2);
}

.lm-btn-primary:hover {
  background: var(--lm-accent-hover);
}

.lm-btn-light {
  color: #111;
  background: #fff;
}

.lm-btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .35);
}

.lm-btn-ghost {
  color: var(--lm-accent);
  background: transparent;
  border-color: var(--lm-accent);
}


/* Header / navigation */
.lm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.lm-nav {
  height: 76px;
  display: flex;
  align-items: center;
  gap: var(--lm-space-md);
}

.lm-brand img {
  width: auto;
  height: 40px;
}

.lm-menu {
  display: flex;
  flex: 1;
  align-items: center;
  gap: var(--lm-space-md);
}

.lm-menu a {
  color: #333;
  font-size: .93rem;
  font-weight: 600;
}

.lm-menu a:hover,
.lm-menu a[aria-current="page"] {
  color: var(--lm-accent);
}

.lm-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--lm-space-xs);
}

.lm-icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: 50%;
  cursor: pointer;
  transition: .1s ease;
}

.lm-icon-btn:hover {
  background: #f0f0f2;
}

.lm-mobile-toggle {
  display: none;
}

.lm-mobile-nav {
  display: none;
  padding: var(--lm-space-sm) 0;
  background: #fff;
  border-top: 1px solid var(--lm-border);
}

.lm-mobile-nav.is-open {
  display: block;
}

.lm-mobile-nav a {
  display: block;
  padding: var(--lm-space-xs) 0;
  color: #333;
  font-weight: 600;
}


/* Accessibilité */
.lm-skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 100;
  padding: 8px 16px;
  color: #fff;
  background: var(--lm-accent);
}

.lm-skip-link:focus {
  top: 0;
}

.lm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Cookies */
.lm-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: #fff;
  border-top: 1px solid var(--lm-border);
  box-shadow: 0 -3px 8px rgba(0, 0, 0, .06);
}

.lm-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lm-space-sm);
  padding: var(--lm-space-sm) 0;
}

.lm-cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--lm-space-xs);
}


/* Témoignages */
.lm-testimonials {
  position: relative;
}

.lm-slide {
  position: relative;
  display: none;
  min-height: 900px;
  padding: 300px 20px 80px;
  background-position: center;
  background-size: cover;
}

.lm-slide.is-active {
  display: block;
}

.lm-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  pointer-events: none;
}

.lm-quote {
  position: relative;
  z-index: 2;
  width: min(640px, 90%);
  margin: auto;
  padding: var(--lm-space-lg);
  text-align: center;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--lm-radius-md);
  box-shadow: var(--lm-shadow);
}

.lm-quote blockquote {
  margin: var(--lm-space-sm) 0;
  font-size: 1.3rem;
  line-height: 1.5;
}

.lm-carousel-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.lm-testimonial-prev,
.lm-testimonial-next {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: var(--lm-space-lg);
  height: var(--lm-space-lg);
  padding: 0;
  color: var(--lm-card);
  background: var(--lm-dark);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--lm-radius-pill);
  opacity: .5;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: opacity 150ms ease, transform 150ms ease;
}

.lm-testimonial-prev {
  left: calc(var(--lm-space-lg) - var(--lm-space-xs));
}

.lm-testimonial-next {
  right: calc(var(--lm-space-lg) - var(--lm-space-xs));
}

.lm-testimonial-prev:hover,
.lm-testimonial-prev:focus-visible,
.lm-testimonial-next:hover,
.lm-testimonial-next:focus-visible {
  opacity: .9;
}

.lm-testimonial-prev:active,
.lm-testimonial-next:active {
  transform: translateY(-50%) scale(.96);
}

.lm-testimonial-prev svg,
.lm-testimonial-next svg {
  display: block;
}

.lm-testimonial-dots {
  position: absolute;
  left: 50%;
  bottom: var(--lm-space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: auto;
}

.lm-testimonial-dot {
  display: grid;
  place-items: center;
  width: calc(var(--lm-space-lg) - var(--lm-space-xs));
  height: calc(var(--lm-space-lg) - var(--lm-space-xs));
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--lm-radius-pill);
  opacity: .5;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 150ms ease, transform 150ms ease;
}

.lm-testimonial-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lm-card);
  border-radius: var(--lm-radius-pill);
}

.lm-testimonial-dot:hover,
.lm-testimonial-dot:focus-visible,
.lm-testimonial-dot[aria-current="true"] {
  opacity: 1;
}

.lm-testimonial-dot:active {
  transform: scale(.96);
}

.lm-testimonial-dot[aria-current="true"]::before {
  width: 12px;
  height: 12px;
}

.lm-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: var(--lm-space-xs) 0;
}

.lm-stars svg {
  display: inline;
  flex: 0 0 auto;
}


/* Carte générique */
.lm-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-md);
}

.lm-card img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.lm-card-body {
  padding: var(--lm-space-sm) var(--lm-space-md);
}

.lm-card-body p {
  color: #555;
  font-size: 1rem;
}


/* =========================================================
   UTILITAIRES DE PAGES
   ========================================================= */

.lm-full-visual {
  min-height: 70vh;
}

.wp-block-columns.lm-exp-grid {
  max-width: 960px;
  margin: auto;
  gap: var(--lm-space-md);
}

.wp-block-columns.lm-exp-grid > .wp-block-column {
  flex: 1 1 45%;
  min-width: 280px;
}

.wp-block-group.lm-final-cta {
  padding: 120px 0;
  text-align: center;
  background: #fff;
}

.wp-block-group.lm-final-cta h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.lm-page {
  padding: var(--lm-space-xl) 0;
}

.lm-page .lm-reading {
  max-width: 960px;
}

.lm-page h1 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.lm-content p,
.lm-content li {
  max-width: 80ch;
}

.lm-archive {
  padding: var(--lm-space-xl) 0;
}

.lm-archive-item {
  margin-bottom: var(--lm-space-lg);
}

.lm-archive-item h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.lm-empty {
  padding: var(--lm-space-xl) 0;
  color: var(--lm-muted);
  text-align: center;
}

.lm-content strong {
  color: var(--lm-accent-hover);
  font-weight: 600;
}

.lm-content p,
.lm-content li {
  margin-inline: auto;
}

.lm-content ul,
.lm-content ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.lm-content li {
  margin-bottom: .3em;
}

.lm-content ul li::marker {
  color: var(--lm-muted);
}

.wp-block-separator {
  width: min(80px, 30%);
  height: 0;
  margin: var(--lm-space-lg) auto;
  border: 0;
  border-top: 1px solid var(--lm-border);
}


/* =========================================================
   RESPONSIVE — composants
   ========================================================= */

@media (max-width: 900px) {
  .lm-menu,
  .lm-nav-actions .lm-login,
  .lm-nav-actions .lm-contact {
    display: none;
  }

  .lm-mobile-toggle {
    display: grid;
  }

  .lm-testimonial-prev,
  .lm-testimonial-next {
    top: auto;
    bottom: var(--lm-space-sm);
    transform: none;
  }

  .lm-testimonial-prev {
    left: var(--lm-space-sm);
  }

  .lm-testimonial-next {
    right: var(--lm-space-sm);
  }

  .lm-testimonial-prev:active,
  .lm-testimonial-next:active {
    transform: scale(.96);
  }

  .lm-exp-grid {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .lm-cookie-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .lm-cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .lm-section {
    padding: var(--lm-space-lg) 0;
  }

  .wp-block-group.lm-final-cta {
    padding: 80px 0;
  }
}
