/* ==========================================================================
   TSP12 - Tutorat Santé Paris 12 | Feuille de style principale
   Fidèle au thème WordPress Raft & Otter Blocks
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/Outfit-VariableFont_wght.ttf') format('truetype');
}

:root {
  /* Palette officielle TSP12 / Raft */
  --wp--preset--color--raft-bg: #fff5e0;
  --wp--preset--color--raft-fg: #292e29;
  --wp--preset--color--raft-accent: #41b06e;
  --wp--preset--color--raft-accent-secondary: #8decb4;
  --wp--preset--color--raft-bg-inv: #141e46;
  --wp--preset--color--raft-bg-alt: rgba(255, 255, 255, 0.45);
  --wp--preset--color--raft-fg-alt: #fcfcfc;

  /* Espacements */
  --wp--preset--spacing--20: 0.5rem;
  --wp--preset--spacing--30: 1rem;
  --wp--preset--spacing--40: 1.5rem;
  --wp--preset--spacing--50: 2rem;
  --wp--preset--spacing--60: 3rem;
  --wp--preset--spacing--70: 4rem;
  --wp--preset--spacing--80: clamp(3rem, 6vw, 5rem);

  /* Typographie */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --content-max-width: 1140px;
  --narrow-max-width: 840px;
}

/* Reset de base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 18px;
  line-height: 1.65;
  color: var(--wp--preset--color--raft-fg);
  background-color: var(--wp--preset--color--raft-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--wp--preset--color--raft-fg);
  text-decoration: underline;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--wp--preset--color--raft-accent);
}

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

/* Classes utilitaires de couleurs */
.has-raft-bg-background-color {
  background-color: var(--wp--preset--color--raft-bg) !important;
}
.has-raft-bg-alt-background-color {
  background-color: var(--wp--preset--color--raft-bg-alt) !important;
}
.has-raft-bg-inv-background-color {
  background-color: var(--wp--preset--color--raft-bg-inv) !important;
}
.has-raft-accent-background-color {
  background-color: var(--wp--preset--color--raft-accent) !important;
}
.has-raft-fg-background-color {
  background-color: var(--wp--preset--color--raft-fg) !important;
}

.has-raft-fg-color {
  color: var(--wp--preset--color--raft-fg) !important;
}
.has-raft-fg-alt-color {
  color: var(--wp--preset--color--raft-fg-alt) !important;
}
.has-raft-accent-color {
  color: var(--wp--preset--color--raft-accent) !important;
}

.has-background {
  /* wrapper */
}

/* Typographie utilitaire */
.has-huge-font-size {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.has-large-font-size {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  line-height: 1.3;
  font-weight: 700;
}

.has-medium-font-size {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.has-small-font-size {
  font-size: 14px;
  line-height: 1.5;
}

.has-extra-small-font-size {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(41, 46, 41, 0.7);
}

.has-text-align-center {
  text-align: center;
}
.has-text-align-left {
  text-align: left;
}
.has-text-align-right {
  text-align: right;
}

/* ==========================================================================
   En-tête (Header) & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 245, 224, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 30, 70, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.site-branding:hover .site-logo {
  transform: scale(1.05);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wp--preset--color--raft-fg);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Menu principal */
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--wp--preset--color--raft-fg);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: var(--wp--preset--color--raft-accent);
  background-color: rgba(65, 176, 110, 0.1);
}

/* Menu déroulant (Submenu) */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown-link {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wp--preset--color--raft-fg);
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-link:hover, .dropdown-link.active {
  background-color: rgba(65, 176, 110, 0.08);
  color: var(--wp--preset--color--raft-accent);
  padding-left: 22px;
}

/* Réseaux sociaux */
.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--wp--preset--color--raft-fg);
  background-color: rgba(41, 46, 41, 0.05);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-link:hover {
  color: #ffffff;
  background-color: var(--wp--preset--color--raft-accent);
  transform: translateY(-2px);
}

/* Bouton Burger Mobile */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--wp--preset--color--raft-fg);
}

.mobile-menu-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   Bannière de titre pour les pages internes
   ========================================================================== */
.page-header-banner {
  background-color: var(--wp--preset--color--raft-bg-alt);
  padding: 56px 24px 64px;
  text-align: center;
  border-bottom: 1px solid rgba(20, 30, 70, 0.05);
}

.page-header-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--wp--preset--color--raft-fg);
  max-width: var(--narrow-max-width);
  margin: 0 auto;
}

.page-content-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* ==========================================================================
   Page d'accueil (Hero, Cristolink, 3 Piliers, CTA)
   ========================================================================== */
.hero-section {
  padding: clamp(50px, 8vw, 90px) 24px 60px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.hero-subtitle {
  max-width: 820px;
  margin: 28px auto 36px;
  color: #383d37;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--wp--preset--color--raft-bg-inv);
  color: var(--wp--preset--color--raft-fg-alt);
  box-shadow: 0 4px 15px rgba(20, 30, 70, 0.2);
}

.btn-primary:hover {
  background-color: var(--wp--preset--color--raft-accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(65, 176, 110, 0.35);
}

.btn-dark {
  background-color: var(--wp--preset--color--raft-fg);
  color: var(--wp--preset--color--raft-fg-alt);
}

.btn-dark:hover {
  background-color: var(--wp--preset--color--raft-bg-inv);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bannière Image Cristolink */
.cristolink-banner {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.cristolink-banner-img {
  width: 100%;
  height: clamp(240px, 40vw, 420px);
  background-image: url('../img/bg-cristolink.jpg');
  background-size: cover;
  background-position: 43% 51%;
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(20, 30, 70, 0.12);
}

/* Section 3 Piliers */
.pillars-section {
  background-color: var(--wp--preset--color--raft-bg-inv);
  color: var(--wp--preset--color--raft-fg-alt);
  padding: clamp(60px, 8vw, 100px) 24px;
}

.pillars-grid {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pillar-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-img-wrapper {
  width: 180px;
  height: 180px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
}

.pillar-img-wrapper.is-rounded {
  border-radius: 50%;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--wp--preset--color--raft-fg-alt);
}

.pillar-card p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(252, 252, 252, 0.88);
}

/* Bannière Adhésion CTA */
.adhesion-section {
  background-color: var(--wp--preset--color--raft-accent);
  color: var(--wp--preset--color--raft-fg-alt);
  padding: clamp(50px, 6vw, 80px) 24px;
  text-align: center;
}

.adhesion-inner {
  max-width: 820px;
  margin: 0 auto;
}

.adhesion-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 28px;
  color: #ffffff;
}

.adhesion-title a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.adhesion-title a:hover {
  opacity: 0.85;
}

/* ==========================================================================
   Page Services (Timeline Otter Blocks & Offres)
   ========================================================================== */
.timeline-section {
  position: relative;
  max-width: 900px;
  margin: 0 auto 60px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  background-color: #e0e0e0;
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 16px 36px;
  box-sizing: border-box;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-icon {
  position: absolute;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 4px solid #41b06e;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item.left .timeline-icon {
  right: -16px;
}

.timeline-item.right .timeline-icon {
  left: -16px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #41b06e;
}

.timeline-card {
  background-color: #c8e4d2;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: #141e46;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}

.timeline-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #141e46;
  margin-bottom: 12px;
}

.timeline-card ul {
  padding-left: 20px;
  margin-top: 10px;
}

.timeline-card li {
  margin-bottom: 6px;
}

/* Liste des services */
.services-offerings {
  max-width: var(--narrow-max-width);
  margin: 60px auto 0;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.services-offerings h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #141e46;
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.05rem;
}

.services-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--wp--preset--color--raft-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.services-summary-box {
  margin-top: 36px;
  padding: 24px;
  background-color: rgba(65, 176, 110, 0.12);
  border-left: 5px solid var(--wp--preset--color--raft-accent);
  border-radius: 8px;
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ==========================================================================
   Page PASS, LAS et LSPS
   ========================================================================== */
.las-content {
  max-width: var(--narrow-max-width);
  margin: 0 auto;
}

.las-section {
  margin-bottom: 48px;
}

.las-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #141e46;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.las-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--wp--preset--color--raft-accent);
  border-radius: 2px;
}

.las-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.las-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--wp--preset--color--raft-accent);
}

.las-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #141e46;
  margin-bottom: 14px;
}

.las-list-ordered {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 20px 0;
  padding-left: 20px;
}

.las-table-img-wrapper {
  margin-top: 24px;
  text-align: center;
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.las-table-img-wrapper img {
  border-radius: 8px;
  margin: 0 auto;
}

/* ==========================================================================
   Page Membres / Le bureau (Trombinoscope)
   ========================================================================== */
.trombi-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.trombi-wrapper img {
  border-radius: 12px;
  width: 100%;
}

/* ==========================================================================
   Page Administratif (PDF Embeds & Downloads)
   ========================================================================== */
.admin-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.admin-docs-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.doc-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.doc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  width: 100%;
}

.doc-icon {
  width: 32px;
  height: 32px;
  color: #cf2e2e;
  flex-shrink: 0;
}

.doc-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #141e46;
}

.doc-embed-frame {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #f9fafb;
}

.doc-card .btn-download {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--wp--preset--color--raft-fg);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.doc-card .btn-download:hover {
  background-color: var(--wp--preset--color--raft-accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Page Contacts & Formulaire
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-details p {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.contact-form-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  color: #141e46;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: #292e29;
}

.form-label .required {
  color: #cf2e2e;
  margin-left: 4px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--wp--preset--color--raft-accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(65, 176, 110, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-rgpd {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 24px;
}

.form-submit-container {
  text-align: center;
}

.form-success-message {
  display: none;
  background-color: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
}

/* ==========================================================================
   Pied de page (Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--wp--preset--color--raft-bg-alt);
  border-top: 1px solid rgba(20, 30, 70, 0.08);
  padding: 28px 24px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 14px;
  color: var(--wp--preset--color--raft-fg);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--wp--preset--color--raft-fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--wp--preset--color--raft-accent);
}

/* ==========================================================================
   Animations CSS (Animate.css fidèles à Otter Blocks)
   ========================================================================== */
.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
}

@keyframes slideInLeft {
  from {
    transform: translate3d(-60px, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(60px, 0, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translate3d(0, -40px, 0);
    opacity: 0;
  }
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.03, 1.03, 1.03);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}

.slideInLeft {
  animation-name: slideInLeft;
}

.slideInRight {
  animation-name: slideInRight;
}

.slideInDown {
  animation-name: slideInDown;
}

.fadeIn {
  animation-name: fadeIn;
}

.pulse {
  animation-name: pulse;
  animation-iteration-count: infinite;
  animation-duration: 2.5s;
}

.delay-100ms {
  animation-delay: 0.1s;
}
.delay-200ms {
  animation-delay: 0.2s;
}
.delay-500ms {
  animation-delay: 0.5s;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media screen and (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 24px;
    display: none;
    flex-direction: column;
    gap: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border-bottom: 2px solid var(--wp--preset--color--raft-accent);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f9fafb;
    margin: 4px 0 10px 12px;
    border-left: 3px solid var(--wp--preset--color--raft-accent);
    border-radius: 4px;
    display: none;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .admin-docs-grid, .admin-docs-grid-3 {
    grid-template-columns: 1fr;
  }

  .las-cards-grid {
    grid-template-columns: 1fr;
  }

  .las-list-ordered {
    grid-template-columns: 1fr;
  }

  .header-right {
    gap: 12px;
  }
}

@media screen and (max-width: 650px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 54px;
    padding-right: 12px;
    text-align: left !important;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left .timeline-icon,
  .timeline-item.right .timeline-icon {
    left: 4px;
    right: auto;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Onglet & Module Connexion (Portail TSP12)
   ========================================================================== */
.nav-link.nav-connexion {
  background-color: var(--wp--preset--color--raft-accent);
  color: #ffffff !important;
  border-radius: 9999px;
  padding: 8px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(65, 176, 110, 0.3);
  transition: all 0.25s ease;
  margin-left: 6px;
}

.nav-link.nav-connexion:hover {
  background-color: #338e58;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(65, 176, 110, 0.45);
}

.nav-link.nav-connexion.active {
  background-color: var(--wp--preset--color--raft-bg-inv);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(20, 30, 70, 0.35);
}

.nav-link.nav-connexion svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  flex-shrink: 0;
}

.btn-outline {
  background-color: transparent;
  color: var(--wp--preset--color--raft-bg-inv);
  border: 2px solid var(--wp--preset--color--raft-bg-inv);
}

.btn-outline:hover {
  background-color: var(--wp--preset--color--raft-bg-inv);
  color: var(--wp--preset--color--raft-fg-alt);
  transform: translateY(-2px);
}

/* Header & Footer adaptés pour la page de Connexion */
.site-header-dark {
  background-color: rgba(9, 13, 22, 0.94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header-dark .site-title {
  color: #ffffff !important;
}

.site-header-dark .nav-link {
  color: #cbd5e1 !important;
}

.site-header-dark .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(65, 176, 110, 0.2) !important;
}

.site-header-dark .dropdown-menu {
  background-color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

.site-header-dark .dropdown-link {
  color: #cbd5e1 !important;
}

.site-header-dark .dropdown-link:hover,
.site-header-dark .dropdown-link.active {
  background-color: rgba(65, 176, 110, 0.2) !important;
  color: #ffffff !important;
}

.site-header-dark .social-icon-link {
  color: #cbd5e1 !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
}

.site-header-dark .social-icon-link:hover {
  color: #ffffff !important;
  background-color: var(--wp--preset--color--raft-accent) !important;
}

.site-header-dark .mobile-menu-toggle {
  color: #ffffff !important;
}

@media screen and (max-width: 900px) {
  .site-header-dark .main-nav {
    background-color: #0f172a !important;
    border-bottom: 2px solid var(--wp--preset--color--raft-accent) !important;
  }
  .site-header-dark .dropdown-menu {
    background-color: #1e293b !important;
  }
}

.site-footer-dark {
  background-color: rgba(9, 13, 22, 0.96) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

.site-footer-dark .footer-copy p {
  color: #94a3b8 !important;
}

.site-footer-dark .footer-nav a {
  color: #94a3b8 !important;
}

.site-footer-dark .footer-nav a:hover {
  color: #ffffff !important;
}

/* Actions rapides dans la barre de navigation du portail */
.portal-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.portal-action-btn-danger {
  background-color: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: #fda4af;
}

.portal-action-btn-danger:hover {
  background-color: rgba(244, 63, 94, 0.25);
  color: #ffffff;
}

/* Section Promotionnelle Espace Connexion sur la page d'accueil */
.portal-promo-section {
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(20, 30, 70, 0.04) 0%, rgba(65, 176, 110, 0.09) 100%);
  border-top: 1px solid rgba(20, 30, 70, 0.06);
  border-bottom: 1px solid rgba(20, 30, 70, 0.06);
}

.portal-promo-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.portal-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 9999px;
  background-color: rgba(65, 176, 110, 0.15);
  color: #277947;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.portal-promo-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--wp--preset--color--raft-bg-inv);
  line-height: 1.25;
  margin-bottom: 18px;
}

.portal-promo-content p {
  font-size: 17px;
  color: #4a5568;
  margin-bottom: 24px;
  line-height: 1.6;
}

.portal-promo-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.portal-promo-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--wp--preset--color--raft-fg);
}

.portal-promo-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--wp--preset--color--raft-accent);
  flex-shrink: 0;
}

.portal-promo-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 40px -15px rgba(20, 30, 70, 0.12);
  border: 1px solid rgba(20, 30, 70, 0.08);
  position: relative;
  overflow: hidden;
}

.portal-promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--wp--preset--color--raft-accent), #2563eb);
}

.portal-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.portal-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, #141e46, #2563eb);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.portal-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--wp--preset--color--raft-bg-inv);
}

.portal-card-subtitle {
  font-size: 13px;
  color: #64748b;
}

.portal-stats-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #f8fafc;
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
  border: 1px solid #e2e8f0;
}

.portal-stat-col {
  text-align: center;
}

.portal-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--wp--preset--color--raft-bg-inv);
}

.portal-stat-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
}

@media screen and (max-width: 900px) {
  .portal-promo-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .portal-promo-features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Modernisations Accueil TSP12 (Session 2026-2027)
   ========================================================================== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background-color: rgba(65, 176, 110, 0.12);
  color: #1b6d3a;
  border: 1px solid rgba(65, 176, 110, 0.25);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 48px auto 0;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(20, 30, 70, 0.08);
  border-radius: 18px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(20, 30, 70, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(20, 30, 70, 0.07);
}

.hero-stat-card .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wp--preset--color--raft-bg-inv);
  line-height: 1.1;
}

.hero-stat-card .stat-label {
  font-size: 13px;
  color: #4b5563;
  margin-top: 6px;
  font-weight: 500;
}

@media screen and (max-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
  }
}

/* Section Présentation Bureau sur l'Accueil */
.bureau-preview-section {
  padding: 70px 24px;
  background-color: #ffffff;
  border-top: 1px solid rgba(20, 30, 70, 0.06);
  border-bottom: 1px solid rgba(20, 30, 70, 0.06);
}

.bureau-preview-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.bureau-preview-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--wp--preset--color--raft-bg-inv);
  margin-bottom: 16px;
}

.bureau-preview-content p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 24px;
}

.bureau-preview-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(20, 30, 70, 0.1);
  border: 1px solid rgba(20, 30, 70, 0.08);
}

.bureau-preview-card img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 900px) {
  .bureau-preview-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   Sécurité SVG : Empêche tout grossissement inattendu
   ========================================================================== */
.portal-promo-feature-item svg,
.portal-feature-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  color: var(--wp--preset--color--raft-accent) !important;
}

/* ==========================================================================
   Bouton de bascule du Mode Sombre (Theme Toggle)
   ========================================================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(41, 46, 41, 0.06);
  border: 1px solid rgba(20, 30, 70, 0.08);
  color: var(--wp--preset--color--raft-fg);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background-color: rgba(65, 176, 110, 0.15);
  color: var(--wp--preset--color--raft-accent);
  transform: rotate(15deg);
}

.theme-toggle .sun-icon {
  display: none;
}
.theme-toggle .moon-icon {
  display: block;
}

html.dark .theme-toggle {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fbbf24;
}

html.dark .theme-toggle:hover {
  background-color: rgba(251, 191, 36, 0.15);
  color: #fde047;
}

html.dark .theme-toggle .sun-icon {
  display: block;
}
html.dark .theme-toggle .moon-icon {
  display: none;
}

/* ==========================================================================
   TSP12 - STYLES DU MODE SOMBRE OFFICIEL (DARK MODE)
   ========================================================================== */
html.dark,
html.dark body {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
}

/* En-tête / Navigation en mode sombre */
html.dark .site-header {
  background-color: rgba(11, 15, 25, 0.92) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .site-title {
  color: #ffffff !important;
}

html.dark .nav-link {
  color: #e2e8f0 !important;
}

html.dark .nav-link:hover,
html.dark .nav-link.active {
  color: #8decb4 !important;
  background-color: rgba(65, 176, 110, 0.16) !important;
}

html.dark .dropdown-menu {
  background-color: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
}

html.dark .dropdown-link {
  color: #e2e8f0 !important;
}

html.dark .dropdown-link:hover,
html.dark .dropdown-link.active {
  background-color: rgba(65, 176, 110, 0.16) !important;
  color: #8decb4 !important;
}

html.dark .social-icon-link {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

html.dark .social-icon-link:hover {
  background-color: #41b06e !important;
  color: #ffffff !important;
}

html.dark .mobile-menu-toggle {
  color: #ffffff !important;
}

@media screen and (max-width: 900px) {
  html.dark .main-nav {
    background-color: #0d131f !important;
    border-bottom: 2px solid #41b06e !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  }
  html.dark .dropdown-menu {
    background-color: #162238 !important;
  }
}

/* Page d'Accueil en mode sombre */
html.dark .hero-section h1 {
  color: #ffffff !important;
}

html.dark .hero-subtitle {
  color: #94a3b8 !important;
}

html.dark .hero-subtitle strong {
  color: #f1f5f9 !important;
}

html.dark .hero-badge {
  background-color: rgba(65, 176, 110, 0.18) !important;
  color: #8decb4 !important;
  border-color: rgba(65, 176, 110, 0.35) !important;
}

html.dark .hero-stat-card {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

html.dark .hero-stat-card .stat-number {
  color: #ffffff !important;
}

html.dark .hero-stat-card .stat-label {
  color: #94a3b8 !important;
}

html.dark .pillars-section {
  background-color: #0e1626 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.dark .pillar-card h3 {
  color: #ffffff !important;
}

html.dark .pillar-card p {
  color: #94a3b8 !important;
}

html.dark .portal-promo-section {
  background: linear-gradient(135deg, rgba(13, 19, 33, 0.95) 0%, rgba(19, 28, 46, 0.95) 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark .portal-promo-badge {
  background-color: rgba(65, 176, 110, 0.18) !important;
  color: #8decb4 !important;
  border-color: rgba(65, 176, 110, 0.3) !important;
}

html.dark .portal-promo-content h2 {
  color: #ffffff !important;
}

html.dark .portal-promo-content p {
  color: #94a3b8 !important;
}

html.dark .portal-promo-feature-item {
  color: #e2e8f0 !important;
}

html.dark .portal-promo-card {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5) !important;
}

html.dark .portal-card-title {
  color: #ffffff !important;
}

html.dark .portal-card-subtitle {
  color: #94a3b8 !important;
}

html.dark .portal-stats-mini {
  background: #0d1424 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .portal-stat-num {
  color: #ffffff !important;
}

html.dark .portal-stat-label {
  color: #94a3b8 !important;
}

html.dark .portal-promo-card > div[style*="background: #f1f5f9"],
html.dark .portal-promo-card > div[style*="background:#f1f5f9"] {
  background: #0d1424 !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

html.dark .portal-promo-card > div[style*="background: #f1f5f9"] > div,
html.dark .portal-promo-card > div[style*="background:#f1f5f9"] > div {
  color: #ffffff !important;
}

html.dark .bureau-preview-section {
  background-color: #090d16 !important;
  border-top-color: rgba(255, 255, 255, 0.06) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark .bureau-preview-content h2 {
  color: #ffffff !important;
}

html.dark .bureau-preview-content p {
  color: #94a3b8 !important;
}

html.dark .bureau-preview-card {
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

/* Boutons secondaires & contours en mode sombre */
html.dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

html.dark .btn-outline:hover {
  background-color: #41b06e !important;
  border-color: #41b06e !important;
  color: #ffffff !important;
}

html.dark .btn-secondary {
  background-color: #1e293b !important;
  color: #f1f5f9 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark .btn-secondary:hover {
  background-color: #283548 !important;
  color: #ffffff !important;
}

/* Pages Internes : Bannières de titres */
html.dark .page-header-banner {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html.dark .page-header-banner h1 {
  color: #ffffff !important;
}

html.dark .page-header-banner p {
  color: #94a3b8 !important;
}

/* Page Membres & Trombi */
html.dark .trombi-wrapper {
  background: #131c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}

html.dark .trombi-wrapper span {
  color: #ffffff !important;
}

html.dark .page-content-wrapper div[style*="background: rgba(65, 176, 110, 0.08)"] {
  background: rgba(65, 176, 110, 0.14) !important;
  border-color: rgba(65, 176, 110, 0.35) !important;
}

html.dark .page-content-wrapper div[style*="background: rgba(65, 176, 110, 0.08)"] h3 {
  color: #ffffff !important;
}

html.dark .page-content-wrapper div[style*="background: rgba(65, 176, 110, 0.08)"] p {
  color: #cbd5e1 !important;
}

html.dark .page-content-wrapper div[style*="background: #ffffff"],
html.dark .page-content-wrapper div[style*="background:#ffffff"] {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

html.dark .page-content-wrapper div[style*="background: #ffffff"] h4,
html.dark .page-content-wrapper div[style*="background:#ffffff"] h4 {
  color: #ffffff !important;
}

html.dark .page-content-wrapper div[style*="background: #ffffff"] p,
html.dark .page-content-wrapper div[style*="background:#ffffff"] p {
  color: #94a3b8 !important;
}

/* Page Services */
html.dark .timeline-line {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

html.dark .timeline-icon {
  background-color: #131c2e !important;
  border-color: #41b06e !important;
}

html.dark .timeline-card {
  background-color: #131c2e !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

html.dark .timeline-card h3 {
  color: #ffffff !important;
}

html.dark .timeline-date {
  color: #8decb4 !important;
}

html.dark .timeline-card li {
  color: #cbd5e1 !important;
}

html.dark .services-offerings {
  background: #131c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

html.dark .services-offerings h2 {
  color: #ffffff !important;
}

/* Page LAS & LSPS */
html.dark .las-section h2 {
  color: #ffffff !important;
}

html.dark .las-card {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

html.dark .las-card h3 {
  color: #ffffff !important;
}

html.dark .las-card p {
  color: #94a3b8 !important;
}

html.dark .las-card p strong {
  color: #ffffff !important;
}

html.dark .las-list-ordered li {
  color: #cbd5e1 !important;
}

html.dark .las-table-img-wrapper {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .las-table-img-wrapper p {
  color: #e2e8f0 !important;
}

/* Page Administratif */
html.dark .doc-card {
  background: #131c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
}

html.dark .doc-card-title {
  color: #ffffff !important;
}

html.dark .doc-icon {
  color: #8decb4 !important;
}

html.dark .btn-download {
  background-color: #1e293b !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

html.dark .btn-download:hover {
  background-color: #41b06e !important;
  border-color: #41b06e !important;
}

/* Page Contacts */
html.dark .contact-info-card {
  background: #131c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

html.dark .contact-info-card h3 {
  color: #ffffff !important;
}

html.dark .contact-info-card p {
  color: #94a3b8 !important;
}

html.dark .contact-details p {
  color: #cbd5e1 !important;
}

html.dark .contact-details strong {
  color: #ffffff !important;
}

html.dark .contact-details a {
  color: #8decb4 !important;
}

html.dark .contact-details hr {
  background: rgba(255, 255, 255, 0.1) !important;
}

html.dark .contact-form-card,
html.dark .contact-form-wrapper {
  background: #131c2e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

html.dark .contact-form-card h2 {
  color: #ffffff !important;
}

html.dark .form-label {
  color: #e2e8f0 !important;
}

html.dark .form-rgpd {
  color: #94a3b8 !important;
}

html.dark .form-control {
  background-color: #0f172a !important;
  border-color: #2d3b55 !important;
  color: #ffffff !important;
}

html.dark .form-control:focus {
  border-color: #41b06e !important;
}

/* Page Services : Encadré récapitulatif & Timeline en mode sombre */
html.dark .services-summary-box {
  background-color: rgba(65, 176, 110, 0.14) !important;
  border-left-color: #41b06e !important;
  color: #e2e8f0 !important;
}

html.dark .services-summary-box strong {
  color: #8decb4 !important;
}

html.dark .timeline-card p strong {
  color: #ffffff !important;
}

html.dark .services-offerings ul li {
  color: #cbd5e1 !important;
}

html.dark .services-offerings ul li strong {
  color: #8decb4 !important;
}

/* Pôles du Bureau (Cartes) */
.bureau-pole-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(20, 30, 70, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bureau-pole-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

html.dark .bureau-pole-card {
  background: #131c2e !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

html.dark .bureau-pole-card h4 {
  color: #ffffff !important;
}

html.dark .bureau-pole-card p {
  color: #94a3b8 !important;
}

/* Surcharge universelle pour les textes et titres colorés en dur */
html.dark [style*="color: #141e46"],
html.dark [style*="color:#141e46"] {
  color: #ffffff !important;
}

html.dark [style*="color: #4b5563"],
html.dark [style*="color:#4b5563"] {
  color: #94a3b8 !important;
}

html.dark [style*="color: #292e29"],
html.dark [style*="color:#292e29"] {
  color: #cbd5e1 !important;
}

html.dark [style*="color: #6b7280"],
html.dark [style*="color:#6b7280"] {
  color: #94a3b8 !important;
}

/* Pied de page en mode sombre */
html.dark .site-footer {
  background-color: rgba(9, 13, 22, 0.96) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

html.dark .footer-copy p {
  color: #94a3b8 !important;
}

html.dark .footer-nav a {
  color: #cbd5e1 !important;
}

html.dark .footer-nav a:hover {
  color: #8decb4 !important;
}

/* Optimisation mobile : masquer les réseaux de l'en-tête sur petits écrans */
@media screen and (max-width: 540px) {
  .header-right .social-links {
    display: none !important;
  }
}



