/**
 * Compta Progresso — charte graphique
 * Titres : #1A3C8A · Texte : #787878 · Accents : #CBA135
 * Police : Public Sans (voir lien Google Fonts dans les pages)
 */
:root {
  --bleu: #1a3c8a;
  --bleu-fonce: #142a5c;
  --bleu-clair: #e8ecf5;
  --or: #cba135;
  --or-fonce: #a8862a;
  --blanc: #ffffff;
  --texte: #787878;
  --texte-sec: #9a9a9a;
  --fond: #f7f8fa;
  --wa: #25d366;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(26, 60, 138, 0.1);
}

html[data-theme="dark"] {
  --bleu: #8fa8e8;
  --bleu-fonce: #1a2740;
  --bleu-clair: #252d3d;
  --blanc: #1a1f2e;
  --texte: #b4b8c4;
  --texte-sec: #8a8e9a;
  --fond: #12151f;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

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

/* Scroll conservé, barres de défilement masquées */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  min-width: 0;
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  color: var(--texte);
  background: var(--fond);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Chrome, Safari, Edge (Chromium) */
::-webkit-scrollbar {
  display: none;
}

/* Titres : bleu charte */
h1,
h2,
h3,
.section-title,
.tarif-title,
.modal h2 {
  color: var(--bleu);
}

a {
  color: var(--bleu);
}

.accent,
.keyword {
  color: var(--or);
  font-weight: 700;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* Header fixe — même fond que la page */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--fond);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 0;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .logo {
    order: 1;
    min-width: 0;
  }
  .header-actions {
    order: 2;
    flex-shrink: 0;
  }
  .nav-main {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem 1.1rem;
    padding: 0.35rem 0 0.5rem;
    scrollbar-width: thin;
  }
  .nav-main a {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--bleu);
  font-weight: 800;
  font-size: 1.05rem;
}

.logo-text {
  letter-spacing: -0.02em;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--bleu-clair);
  background: var(--blanc);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.theme-toggle:hover {
  background: var(--bleu-clair);
}

.nav-main a {
  text-decoration: none;
  font-weight: 500;
  color: var(--texte);
}

.nav-main a:hover {
  color: var(--bleu);
}

.card p {
  color: var(--texte);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--bleu);
  color: var(--blanc);
  box-shadow: 0 2px 12px rgba(26, 60, 138, 0.3);
}

.btn-primary:hover {
  background: var(--bleu-fonce);
  color: var(--blanc);
}

.btn-outline {
  background: transparent;
  color: var(--bleu);
  border: 2px solid var(--bleu);
}

.btn-outline:hover {
  background: var(--bleu-clair);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  filter: brightness(1.05);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-pack {
  background: linear-gradient(180deg, #d4b24a 0%, var(--or) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(203, 161, 53, 0.35);
}

.btn-pack:hover {
  background: linear-gradient(180deg, var(--or) 0%, var(--or-fonce) 100%);
  color: #fff;
  filter: none;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, var(--fond) 0%, var(--bleu-clair) 45%, var(--fond) 100%);
}

.hero--centered {
  text-align: center;
}

.hero-inner {
  max-width: 46rem;
  margin: 0 auto;
}

.hero--centered h1 {
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  line-height: 1.22;
  margin: 0 0 1.25rem;
  color: var(--bleu);
  font-weight: 800;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.badge {
  display: inline-block;
  background: var(--or);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-sub {
  color: var(--texte);
  font-size: 1.02rem;
  margin: 0 auto 1.75rem;
  max-width: 42rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 540px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
}

/* Sections */
section {
  padding: 3rem 0;
}

main {
  display: block;
  min-width: 0;
}

/* Évite que le contenu passe sous le bouton WhatsApp fixe (mobile) */
@media (max-width: 768px) {
  main {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 600px) {
  section {
    padding: 2rem 0;
  }
  .hero {
    padding: 2rem 0 2.5rem;
  }
}

section.alt {
  background: var(--blanc);
}

.section-title {
  font-size: 1.5rem;
  color: var(--bleu);
  margin: 0 0 1.5rem;
  text-align: center;
}

html[data-theme="dark"] .section-title {
  color: var(--bleu-clair);
}

.section-lead {
  text-align: center;
  color: var(--texte-sec);
  max-width: 36rem;
  margin: -0.5rem auto 2rem;
  font-size: 1rem;
  line-height: 1.55;
}

/* Grilles cartes */
.grid-2 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--bleu-clair);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--bleu);
  font-size: 1.15rem;
}

.card .prix {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--or);
  margin: 0.75rem 0;
}

#tarifs .tarif-prix,
#tarifs .card.tarif-card > .prix {
  color: var(--texte);
}

.card .statut {
  font-size: 0.85rem;
  color: var(--texte-sec);
}

/* Avantages */
.avantages {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .avantages {
    grid-template-columns: repeat(2, 1fr);
  }
}

.avantage {
  padding: 1rem 1.25rem;
  background: var(--bleu-clair);
  border-radius: var(--radius);
  border-left: 4px solid var(--bleu);
}

.avantage strong {
  display: block;
  color: var(--bleu);
  margin-bottom: 0.25rem;
}

/* Témoignages */
.temoignage-card {
  font-style: italic;
  color: var(--texte-sec);
}

.temoignage-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--bleu);
}

/* Tarifs */
.tarifs-grid {
  align-items: stretch;
}

.tarif-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tarif-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  color: var(--bleu);
}

.feature-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1;
  font-size: 0.95rem;
  color: var(--texte);
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.45;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 800;
  font-size: 0.9rem;
}

.tarif-prix {
  margin: 0 0 0.25rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--texte);
}

.tarif-card--featured {
  border: 2px solid var(--or);
  box-shadow: 0 8px 32px rgba(203, 161, 53, 0.2);
  position: relative;
  background: linear-gradient(180deg, #fffdf8 0%, var(--blanc) 40%);
}

html[data-theme="dark"] .tarif-card--featured {
  background: linear-gradient(180deg, #2a2418 0%, var(--blanc) 45%);
}

.tarif-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--or);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.price-stack .tarif-prix {
  margin: 0;
  color: var(--texte);
}

.price-old {
  text-decoration: line-through;
  color: #888;
  font-size: 1rem;
  font-weight: 500;
}

html[data-theme="dark"] .price-old {
  color: #7a8f88;
}

.tarif-card .actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.tarifs-extra {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--bleu-clair);
  color: var(--texte-sec);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.tarifs-extra-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--bleu);
  text-decoration: none;
}

.tarifs-extra-link:hover {
  text-decoration: underline;
}

/* Contact */
.contact-block {
  text-align: center;
  padding: 2rem;
  background: var(--bleu-clair);
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  background: var(--bleu-fonce);
  color: #c5d0e8;
  padding: 2rem 0;
  font-size: 0.9rem;
}

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

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 540px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.92rem;
  }
  .logo img {
    width: 38px;
    height: 38px;
  }
}

/* Flottant WhatsApp */
.wa-float {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s;
}

.wa-float:hover {
  transform: scale(1.06);
  color: #fff;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  overflow-y: auto;
}

.modal-overlay.is-open {
  display: flex;
}

.modal {
  background: var(--blanc);
  color: var(--texte);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 440px;
  width: min(100%, 440px);
  max-height: min(90vh, 100dvh);
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--bleu-clair);
  margin: auto;
}

@media (max-width: 480px) {
  .modal-overlay.is-open {
    align-items: flex-end;
    padding: 0;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .modal {
    width: 100%;
    max-width: none;
    border-radius: var(--radius) var(--radius) 0 0;
    max-height: min(92vh, 100dvh);
  }
}

.modal h2 {
  margin: 0 0 1rem;
  color: var(--bleu);
  font-size: 1.25rem;
}

.modal-close {
  float: right;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--texte-sec);
}

.form-row {
  margin-bottom: 0.85rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row select {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
}

.form-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Animations charte : fade-in puces, lignes tableaux --- */
@keyframes cp-fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-list.animate-bullets li {
  opacity: 0;
  animation: cp-fade-in-up 0.55s ease forwards;
}

.feature-list.animate-bullets li:nth-child(1) {
  animation-delay: 0.05s;
}
.feature-list.animate-bullets li:nth-child(2) {
  animation-delay: 0.15s;
}
.feature-list.animate-bullets li:nth-child(3) {
  animation-delay: 0.25s;
}
.feature-list.animate-bullets li:nth-child(4) {
  animation-delay: 0.35s;
}
.feature-list.animate-bullets li:nth-child(5) {
  animation-delay: 0.45s;
}
.feature-list.animate-bullets li:nth-child(6) {
  animation-delay: 0.55s;
}
.feature-list.animate-bullets li:nth-child(7) {
  animation-delay: 0.65s;
}
.feature-list.animate-bullets li:nth-child(8) {
  animation-delay: 0.75s;
}

table.animate-rows tbody tr {
  opacity: 0;
  animation: cp-fade-in-up 0.45s ease forwards;
}

table.animate-rows tbody tr:nth-child(1) {
  animation-delay: 0.04s;
}
table.animate-rows tbody tr:nth-child(2) {
  animation-delay: 0.1s;
}
table.animate-rows tbody tr:nth-child(3) {
  animation-delay: 0.16s;
}
table.animate-rows tbody tr:nth-child(4) {
  animation-delay: 0.22s;
}
table.animate-rows tbody tr:nth-child(5) {
  animation-delay: 0.28s;
}
table.animate-rows tbody tr:nth-child(6) {
  animation-delay: 0.34s;
}
table.animate-rows tbody tr:nth-child(7) {
  animation-delay: 0.4s;
}
table.animate-rows tbody tr:nth-child(8) {
  animation-delay: 0.46s;
}
table.animate-rows tbody tr:nth-child(9) {
  animation-delay: 0.52s;
}
table.animate-rows tbody tr:nth-child(10) {
  animation-delay: 0.58s;
}
table.animate-rows tbody tr:nth-child(n + 11) {
  animation-delay: 0.64s;
}

@media (prefers-reduced-motion: reduce) {
  .feature-list.animate-bullets li,
  table.animate-rows tbody tr {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media print {
  .wa-float {
    display: none !important;
  }
}

/* Home template adaptation */
body.home-template {
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
  color: #5d6472;
  background:
    radial-gradient(circle at top left, rgba(203, 161, 53, 0.12), transparent 25%),
    radial-gradient(circle at top right, rgba(26, 60, 138, 0.12), transparent 28%),
    linear-gradient(180deg, #f6f8fd 0%, #eef2fb 100%);
}

body.home-template h1,
body.home-template h2,
body.home-template h3,
body.home-template h4,
body.home-template .title {
  font-family: "Public Sans", system-ui, -apple-system, sans-serif;
}

.carousel-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.wrapper {
  position: relative;
  overflow: clip;
}

.main-sec {
  position: relative;
  overflow: hidden;
}

.main-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.55)),
    radial-gradient(circle at 15% 20%, rgba(203, 161, 53, 0.18), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(26, 60, 138, 0.12), transparent 25%);
  pointer-events: none;
}

.header-main,
.hero-sec,
.brand-sec,
.service-sec,
.feature-sec,
.choose-us-sec,
.project-sec,
.pricing-sec,
.contact-template {
  position: relative;
  z-index: 1;
}

.header-bottom {
  padding: 1rem 0 0.75rem;
}

.header-shell {
  padding: 0.85rem 1.15rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 60, 138, 0.1);
  box-shadow: 0 18px 40px rgba(16, 41, 95, 0.08);
  backdrop-filter: blur(14px);
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
}

.separator-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 60, 138, 0.2), transparent);
}

.main-menu11 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

.main-menu11 a {
  color: #5b6370;
  text-decoration: none;
  font-weight: 600;
}

.main-menu11 a:hover {
  color: var(--bleu);
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.login-btn,
.sign-btn,
.btn-style1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.login-btn {
  min-height: 46px;
  padding: 0.72rem 1.2rem;
  color: var(--bleu);
  border: 1px solid rgba(26, 60, 138, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.sign-btn,
.btn-style1 {
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border: none;
  background: linear-gradient(180deg, #1a3c8a 0%, #10295f 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(26, 60, 138, 0.18);
}

.btn-style1.v2 {
  background: rgba(255, 255, 255, 0.88);
  color: var(--bleu);
  border: 1px solid rgba(26, 60, 138, 0.14);
  box-shadow: 0 12px 24px rgba(16, 41, 95, 0.08);
}

.login-btn:hover,
.sign-btn:hover,
.btn-style1:hover {
  transform: translateY(-1px);
}

.hero-sec {
  padding: 3.5rem 0 5rem;
}

.hero-decoration {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
}

.hero-decoration-one {
  top: 7rem;
  right: 8%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(203, 161, 53, 0.34), rgba(203, 161, 53, 0));
}

.hero-decoration-two {
  left: -3rem;
  bottom: 2rem;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(26, 60, 138, 0.22), rgba(26, 60, 138, 0));
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.75rem;
  align-items: center;
}

.hero-content {
  max-width: 42rem;
}

.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 60, 138, 0.12);
  color: #6a7182;
  font-size: 0.88rem;
  font-weight: 700;
}

.sub-title small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 0.7rem;
  background: var(--or);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-content .title {
  margin: 1.2rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #11254f;
}

.hero-content p {
  max-width: 40rem;
  font-size: 1.04rem;
  color: #5f6878;
  line-height: 1.78;
  margin-bottom: 1.6rem;
}

.hero-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 60, 138, 0.1);
  color: #5b6474;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-proof span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 6px rgba(203, 161, 53, 0.12);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.metric-pill {
  min-width: 185px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(26, 60, 138, 0.12);
  box-shadow: 0 18px 32px rgba(16, 41, 95, 0.06);
}

.metric-pill strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #132a5b;
  font-size: 0.98rem;
}

.metric-pill span {
  color: #6c7282;
  font-size: 0.9rem;
}

.hero-showcase {
  position: relative;
  display: grid;
  gap: 1rem;
}

.showcase-orb {
  position: absolute;
  left: -1.2rem;
  bottom: 1.2rem;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 161, 53, 0.42), rgba(203, 161, 53, 0));
  pointer-events: none;
}

.showcase-panel,
.showcase-note {
  border-radius: 28px;
  padding: 1.35rem;
  background: rgba(10, 21, 47, 0.94);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 60px rgba(11, 25, 55, 0.26);
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.showcase-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.showcase-status {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(203, 161, 53, 0.18);
  color: #f9df8c;
  font-size: 0.82rem;
  font-weight: 700;
}

.showcase-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #fff;
}

.showcase-lesson {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
}

.showcase-lesson span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.showcase-lesson strong {
  font-size: 1.35rem;
  color: #fff;
}

.showcase-lesson em {
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.55;
}

.showcase-lesson--accent {
  background: linear-gradient(135deg, rgba(203, 161, 53, 0.22), rgba(255, 255, 255, 0.08));
}

.showcase-label {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.showcase-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.showcase-list li {
  position: relative;
  padding-left: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
}

.showcase-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or);
}

.showcase-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.showcase-footer-card {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 60, 138, 0.08);
  box-shadow: 0 18px 34px rgba(16, 41, 95, 0.07);
}

.showcase-footer-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #112654;
  font-size: 1rem;
}

.showcase-footer-card span {
  color: #697283;
  line-height: 1.6;
  font-size: 0.92rem;
}

.brand-sec,
.service-sec,
.feature-sec,
.choose-us-sec,
.project-sec,
.pricing-sec,
.contact-template {
  padding: 4.5rem 0;
}

.brand-subtitle {
  margin-bottom: 1.25rem;
}

.brand-content--stats,
.service-grid,
.choose-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-stat,
.ser-card,
.feature-card,
.choose-block,
.price-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(26, 60, 138, 0.1);
  box-shadow: 0 22px 45px rgba(16, 41, 95, 0.08);
  backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.brand-stat:hover,
.ser-card:hover,
.feature-card:hover,
.choose-block:hover,
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 60, 138, 0.16);
  box-shadow: 0 28px 52px rgba(16, 41, 95, 0.12);
}

.brand-stat {
  border-radius: 22px;
  padding: 1.2rem;
}

.brand-stat strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #10295f;
  font-size: 1rem;
}

.brand-stat span {
  display: block;
  color: #6b7384;
  line-height: 1.65;
}

.sec-title {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2.4rem;
}

.sec-title .title {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #10295f;
  letter-spacing: -0.04em;
}

.sec-title p {
  margin: 0 auto;
  color: #697283;
  line-height: 1.75;
}

.ser-card {
  border-radius: 26px;
  padding: 1.4rem;
  min-height: 240px;
}

.ser-content span,
.feature-content span,
.price-card .offer {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(26, 60, 138, 0.08);
  color: var(--bleu);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ser-content .title,
.feature-content .title,
.choose-block .title,
.price-card .title {
  margin: 1rem 0 0.7rem;
  color: #112654;
  font-size: 1.35rem;
  line-height: 1.2;
}

.ser-content p,
.feature-content p,
.choose-block p,
.price-card p {
  margin: 0;
  color: #6b7384;
  line-height: 1.72;
}

.formations-template {
  align-items: stretch;
}

.feature-card {
  border-radius: 28px;
  padding: 1.45rem;
  min-height: 100%;
}

.template-price {
  margin-top: 1rem !important;
  font-size: 1.2rem;
}

.template-price strong {
  color: var(--or);
  font-size: 1.85rem;
}

.template-status {
  margin-top: 0.45rem !important;
  font-weight: 700;
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.choose-grid {
  grid-template-columns: 1fr 1.2fr 1fr;
}

.choose-block {
  border-radius: 26px;
  padding: 1.45rem;
}

.choose-block.v4 {
  background: linear-gradient(180deg, rgba(16, 41, 95, 0.96), rgba(17, 44, 96, 0.88));
  color: rgba(255, 255, 255, 0.92);
}

.choose-block.v4 .title,
.choose-block.v4 p {
  color: inherit;
}

.choose-block.v4 .btn {
  margin-top: 1rem;
  width: 100%;
}

.project-sec {
  background: linear-gradient(180deg, #10295f 0%, #0a1838 100%);
}

.sec-title.white .sub-title {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.sec-title.white .title,
.sec-title.white p {
  color: #fff;
}

.project-grid .card,
#temoignages-list .card,
#temoignages-list .temoignage-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.pricing-info {
  border-radius: 34px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(26, 60, 138, 0.08);
  box-shadow: 0 26px 48px rgba(16, 41, 95, 0.08);
}

.price-card {
  position: relative;
  border-radius: 28px;
  padding: 1.5rem;
  height: 100%;
}

.price-card .price {
  margin: 1rem 0 0.2rem;
  color: #112654;
  font-size: 2rem;
  line-height: 1;
}

.price-card .pack {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: var(--or);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card--featured {
  border: 1px solid rgba(203, 161, 53, 0.35);
  background: linear-gradient(180deg, rgba(255, 250, 237, 0.98), rgba(255, 255, 255, 0.96));
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.price-list li {
  position: relative;
  padding-left: 1.35rem;
  color: #677183;
  line-height: 1.55;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--or);
  font-weight: 800;
}

.pricing-contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-template {
  padding-top: 1rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.25rem;
  align-items: center;
  border-radius: 32px;
  padding: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(203, 161, 53, 0.14), transparent 24%),
    rgba(255, 255, 255, 0.9);
}

.contact-copy h2 {
  margin: 1rem 0 0.65rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: #10295f;
  letter-spacing: -0.04em;
}

.contact-copy p {
  margin: 0;
  color: #687384;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 260px;
}

html[data-theme="dark"] body.home-template {
  background:
    radial-gradient(circle at top left, rgba(203, 161, 53, 0.09), transparent 24%),
    radial-gradient(circle at top right, rgba(143, 168, 232, 0.1), transparent 30%),
    linear-gradient(180deg, #111722 0%, #0b1018 100%);
  color: #bdc8da;
}

html[data-theme="dark"] .main-sec::before {
  background:
    linear-gradient(135deg, rgba(14, 20, 31, 0.96), rgba(14, 20, 31, 0.72)),
    radial-gradient(circle at 15% 20%, rgba(203, 161, 53, 0.12), transparent 20%),
    radial-gradient(circle at 85% 10%, rgba(143, 168, 232, 0.1), transparent 24%);
}

html[data-theme="dark"] .separator-line {
  background: linear-gradient(90deg, transparent, rgba(143, 168, 232, 0.22), transparent);
}

html[data-theme="dark"] .header-shell,
html[data-theme="dark"] .hero-proof span,
html[data-theme="dark"] .showcase-footer-card {
  background: rgba(24, 31, 46, 0.86);
  border-color: rgba(143, 168, 232, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .main-menu11 a,
html[data-theme="dark"] .hero-content p,
html[data-theme="dark"] .sec-title p,
html[data-theme="dark"] .brand-stat span,
html[data-theme="dark"] .ser-content p,
html[data-theme="dark"] .feature-content p,
html[data-theme="dark"] .choose-block p,
html[data-theme="dark"] .price-card p,
html[data-theme="dark"] .price-list li,
html[data-theme="dark"] .contact-copy p,
html[data-theme="dark"] .showcase-footer-card span,
html[data-theme="dark"] .hero-proof span {
  color: #aab5c8;
}

html[data-theme="dark"] .hero-content .title,
html[data-theme="dark"] .sec-title .title,
html[data-theme="dark"] .ser-content .title,
html[data-theme="dark"] .feature-content .title,
html[data-theme="dark"] .choose-block .title,
html[data-theme="dark"] .price-card .title,
html[data-theme="dark"] .contact-copy h2,
html[data-theme="dark"] .brand-stat strong,
html[data-theme="dark"] .price-card .price,
html[data-theme="dark"] .showcase-footer-card strong {
  color: #edf2ff;
}

html[data-theme="dark"] .sub-title,
html[data-theme="dark"] .metric-pill,
html[data-theme="dark"] .brand-stat,
html[data-theme="dark"] .ser-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .choose-block,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .pricing-info,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .login-btn {
  background: rgba(24, 31, 46, 0.88);
  border-color: rgba(143, 168, 232, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .btn-style1.v2 {
  background: rgba(24, 31, 46, 0.92);
  color: #edf2ff;
  border-color: rgba(143, 168, 232, 0.18);
}

html[data-theme="dark"] .showcase-panel,
html[data-theme="dark"] .showcase-note,
html[data-theme="dark"] .project-sec {
  background-color: #0a1220;
}

html[data-theme="dark"] .project-grid .card,
html[data-theme="dark"] #temoignages-list .card,
html[data-theme="dark"] #temoignages-list .temoignage-card {
  background: rgba(24, 31, 46, 0.96);
}

html[data-theme="dark"] .price-card--featured {
  background: linear-gradient(180deg, rgba(54, 44, 19, 0.95), rgba(24, 31, 46, 0.98));
}

@media (max-width: 1024px) {
  .header-grid,
  .hero-layout,
  .choose-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .header-grid {
    gap: 0.9rem;
  }

  .main-menu11 {
    justify-content: flex-start;
  }

  .header-btn {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .contact-actions {
    min-width: 0;
  }

  .showcase-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .brand-content--stats,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .carousel-container {
    width: min(100% - 1rem, 100%);
  }

  .hero-sec,
  .brand-sec,
  .service-sec,
  .feature-sec,
  .choose-us-sec,
  .project-sec,
  .pricing-sec,
  .contact-template {
    padding: 3rem 0;
  }

  .brand-content--stats,
  .service-grid,
  .choose-grid {
    grid-template-columns: 1fr;
  }

  .pricing-info {
    padding: 1.2rem;
  }

  .feature-actions,
  .pricing-contact-strip,
  .hero-btn {
    flex-direction: column;
  }

  .feature-actions .btn,
  .pricing-contact-strip .btn,
  .hero-btn .btn-style1,
  .header-btn .login-btn,
  .header-btn .sign-btn {
    width: 100%;
  }

  .hero-content .title {
    font-size: 2.3rem;
  }

  .header-shell {
    padding: 0.8rem 0.95rem;
    border-radius: 24px;
  }

  .hero-proof {
    flex-direction: column;
  }
}

/* Programme + login variants */
.programme-page .programme-hero,
.login-template .login-hero {
  padding-top: 3rem;
}

.student-auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(203, 161, 53, 0.1), transparent 22%),
    radial-gradient(circle at bottom right, rgba(26, 60, 138, 0.1), transparent 24%),
    linear-gradient(135deg, #f8fafc 0%, #eef4ff 55%, #f8fbff 100%);
}

.student-auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.student-auth-container {
  width: min(100%, 440px);
}

.student-auth-container-wide {
  width: min(100%, 720px);
  transform: translateY(-28px);
}

.student-auth-brand {
  text-align: center;
  margin-bottom: 1.15rem;
  transform: translateY(-34px);
}

.student-auth-logo {
  width: 108px;
  height: 108px;
  margin: 0 auto 0.7rem;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.student-auth-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(33%) sepia(92%) saturate(1652%) hue-rotate(211deg) brightness(95%) contrast(94%);
}

.student-auth-brand h1 {
  margin: 0 0 0.35rem;
  color: #111827;
  font-size: 2rem;
  font-weight: 700;
}

.student-auth-brand p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.student-auth-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
  padding: 2rem;
}

.student-auth-card-flat {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.student-auth-alert {
  margin-bottom: 1rem;
}

.student-auth-alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #166534;
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.student-auth-form {
  display: grid;
  gap: 1.15rem;
}

.student-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.student-auth-field label {
  display: block;
  margin-bottom: 0.55rem;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 600;
}

.student-auth-field input,
.student-auth-field select {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.student-auth-field select {
  appearance: none;
}

.student-auth-field input:focus,
.student-auth-field select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.student-auth-password {
  position: relative;
}

.student-auth-password input {
  padding-right: 3.25rem;
}

.student-auth-toggle {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #9ca3af;
  padding: 0;
  cursor: pointer;
}

.student-auth-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.student-auth-toggle:hover {
  color: #4b5563;
}

.student-auth-toggle .is-hidden {
  display: none;
}

.student-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.student-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #4b5563;
}

.student-auth-check input {
  width: 16px;
  height: 16px;
}

.student-auth-meta a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.student-auth-meta a:hover,
.student-auth-foot a:hover {
  color: #1d4ed8;
}

.student-auth-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(37, 99, 235, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.student-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.28);
}

.student-auth-note {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.06);
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.student-auth-foot {
  text-align: center;
  margin-top: 1.35rem;
}

.student-auth-foot p,
.student-auth-foot small {
  display: block;
}

.student-auth-foot p {
  margin: 0 0 0.65rem;
  color: #6b7280;
  font-size: 0.92rem;
}

.student-auth-foot a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.student-auth-foot small {
  color: #9ca3af;
  font-size: 0.76rem;
}

.programme-layout {
  align-items: start;
}

@media (max-width: 720px) {
  .student-auth-grid {
    grid-template-columns: 1fr;
  }

  .student-auth-container-wide {
    width: min(100%, 440px);
  }
}

.programme-pricing {
  max-width: 980px;
  margin: 0 auto;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 1.5rem;
  align-items: center;
}

.login-intro {
  max-width: 40rem;
}

.login-intro .title {
  margin-bottom: 1rem;
}

.login-intro > p {
  max-width: 34rem;
  color: #657184;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.login-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.login-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 60, 138, 0.1);
  color: #5b6474;
  font-size: 0.88rem;
  font-weight: 700;
}

.login-proof span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 6px rgba(203, 161, 53, 0.12);
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.login-feature-card {
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 60, 138, 0.1);
  box-shadow: 0 18px 36px rgba(16, 41, 95, 0.08);
  backdrop-filter: blur(10px);
}

.login-feature-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #112654;
  font-size: 1rem;
}

.login-feature-card p {
  margin: 0;
  color: #667386;
  line-height: 1.65;
  font-size: 0.92rem;
}

.login-feature-card-accent {
  grid-column: 1 / -1;
  background: linear-gradient(145deg, rgba(17, 38, 84, 0.96), rgba(26, 60, 138, 0.9));
}

.login-feature-card-accent strong,
.login-feature-card-accent p {
  color: #fff;
}

.login-shell {
  display: flex;
  justify-content: flex-end;
}

.login-box-modern {
  width: min(100%, 430px);
  padding: 1.6rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 60, 138, 0.1);
  box-shadow: 0 24px 50px rgba(16, 41, 95, 0.1);
  backdrop-filter: blur(10px);
}

.login-box-head h2 {
  margin: 0 0 0.35rem;
  color: #112654;
  font-size: 1.65rem;
}

.login-box-head p {
  margin: 0 0 1.2rem;
  color: #6d7686;
  line-height: 1.65;
}

.login-box-modern .form-row {
  margin-bottom: 0.85rem;
}

.login-box-modern .form-row label {
  display: block;
  margin-bottom: 0.35rem;
  color: #27406e;
  font-size: 0.85rem;
  font-weight: 600;
}

.login-box-modern .form-row input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid #d7dfec;
  background: #fbfcff;
  color: #26406f;
  font: inherit;
}

.login-error {
  margin-bottom: 0.85rem;
}

.login-links {
  margin-top: 1rem;
  text-align: center;
}

.login-links span {
  display: block;
  margin-bottom: 0.35rem;
  color: #8a93a5;
  font-size: 0.85rem;
}

.login-links a {
  color: #667386;
  text-decoration: none;
  font-size: 0.92rem;
}

.login-links a:hover {
  color: var(--bleu);
}

html[data-theme="dark"] .login-box-modern {
  background: rgba(24, 31, 46, 0.92);
  border-color: rgba(143, 168, 232, 0.14);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .login-box-head h2 {
  color: #edf2ff;
}

html[data-theme="dark"] .login-box-head p,
html[data-theme="dark"] .login-links a,
html[data-theme="dark"] .login-links span,
html[data-theme="dark"] .login-intro > p,
html[data-theme="dark"] .login-feature-card p,
html[data-theme="dark"] .login-proof span {
  color: #aeb8cb;
}

html[data-theme="dark"] .login-feature-card {
  background: rgba(24, 31, 46, 0.88);
  border-color: rgba(143, 168, 232, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .login-feature-card strong,
html[data-theme="dark"] .login-intro .title,
html[data-theme="dark"] .login-box-modern .form-row label {
  color: #edf2ff;
}

html[data-theme="dark"] .login-proof span {
  background: rgba(24, 31, 46, 0.86);
  border-color: rgba(143, 168, 232, 0.14);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .login-box-modern .form-row input {
  background: rgba(13, 19, 31, 0.92);
  border-color: rgba(143, 168, 232, 0.14);
  color: #edf2ff;
}

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

  .login-shell {
    justify-content: flex-start;
  }

  .login-feature-grid {
    grid-template-columns: 1fr;
  }

  .login-proof {
    flex-direction: column;
  }
}
