﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

.kpi-card.info {
    border-left: 4px solid #0d6efd; /* bootstrap primary/info */
    background: #f0f6ff;
}

/* ===============================
   UX OVERRIDES – TYPOGRAPHY
   =============================== */

/* Home / landing page only */
body.index #banner h2,
body.index #banner p,
body.index header.major h2,
body.index header.special h2,
body.index header.special p,
body.index .wrapper h2,
body.index .wrapper h3 {
    text-transform: none;
    letter-spacing: normal;
}

/* Paragraphes plus confortables */
body.index p {
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.6;
}

/* Boutons : on garde l’impact */
.button {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
/* ===============================
   FIX LIST ALIGNMENT – MOBILE
   =============================== */

@media (max-width: 768px) {

    /* Cibler uniquement cette section */
    .special-alt ul {
        text-align: left;
        padding-left: 1.2rem; /* réintroduit l'indentation */
        margin-left: 0;
    }

        .special-alt ul li {
            text-align: left;
            margin-bottom: 0.6rem;
        }
}

/* ===============================
   SOCIAL PROOF – MOBILE SPACING
   =============================== */

@media (max-width: 768px) {

    header.special p {
        padding: 1rem 1rem;
        line-height: 1.5;
    }

    header.special em {
        display: block;
        margin-top: 0.5rem;
        font-style: italic;
        opacity: 0.8;
    }
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.kpi-card {
    background: var(--card-bg, #fff);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

    .kpi-card h3 {
        margin: 0;
        font-size: 16px;
        color: #666;
    }

    .kpi-card strong {
        display: block;
        font-size: 32px;
        margin-top: 8px;
    }

    .kpi-card span {
        font-size: 13px;
        color: #999;
    }
    .kpi-card.warning {
        border-left: 4px solid #ff9800;
        background: rgba(255,152,0,0.05);
    }

.kpi-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

    .kpi-list li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 4px;
    }

    .kpi-list strong {
        font-size: 18px;
    }
table img:hover {
    transform: scale(1.1);
    transition: 0.2s ease;
}