/**
 * --------------------------------------------------------------------------------------------
 * @Package       BMS vCard 8.x
 * @Author        MSA Réalisations Sàrl
 * @Copyright     © 2026 MSA Réalisations Sàrl. Tous droits réservés.
 * @Version       8.1
 * --------------------------------------------------------------------------------------------
 * @File          bmscontent/Styles/css/colors.css
 * @Description   Couleurs et habillage MSA Réalisations — seul fichier de style propre au
 *                site (décision 33 : jamais touché par une mise à jour ; style.css reste le
 *                style du produit, recopié à la main).
 *                Variante « sombre » : reprend la charte du site _int/msa_realisations
 *                (main.css, variables --clr-* du :root, thème dark-theme par défaut) — rouge
 *                #D63A43 et ses nuances, noirs #0C0C0C / #161616, gris du thème, police Jost —
 *                par-dessus le style Obsidian du produit, chargé avant : ces valeurs
 *                l'emportent. Signatures du site reprises : pastilles du « pre-title » autour
 *                de la fonction, bouton plein rouge aux angles asymétriques (.btn-solid),
 *                trait rouge sous le bandeau (.line).
 * --------------------------------------------------------------------------------------------
 * @Created       2026-10-04
 * @Updated       2026-10-06
 * --------------------------------------------------------------------------------------------
 */

/* ================================================================
   POLICE DU SITE — Jost, servie en local (../fonts/, licence OFL,
   fonte variable 100-900 : un seul fichier pour toutes les graisses).
   La CSP interdit toute source externe : pas de Google Fonts ici,
   contrairement au site.
================================================================ */
@font-face {
    font-family: "Jost";
    src: url("../fonts/jost-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ================================================================
   VARIABLES — charte du site (main.css : --clr-*)
================================================================ */
:root {
    /* Rouge MSA : --clr-main, --clr-accent (survol), --clr-secondary (profond) */
    --c-accent   : #d63a43;
    --c-accent2  : #af2f36;
    --c-deep     : #8b252b;

    /* Noirs du site (--clr-dark-blue, --clr-semi-dark-blue) ; verre et filets du produit */
    --c-bg       : #0c0c0c;
    --c-surface  : #161616;
    --c-glass    : rgba(255, 255, 255, 0.045);
    --c-glass-hi : rgba(255, 255, 255, 0.08);
    --c-border   : rgba(255, 255, 255, 0.09);
    --c-text     : #f1f1f1;                          /* --clr-grey : texte clair du thème sombre */
    --c-muted    : rgba(241, 241, 241, 0.58);

    /* Typographie : Jost partout, le site n'a qu'une police */
    --ff-display : "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ff-serif   : "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --ff-body    : "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Angles du site (.btn-solid) : 0.25rem, coins haut-droit et bas-gauche à 1rem */
    --radius     : 16px;
    --radius-sm  : 0.25rem;
    --radius-cut : 1rem;
}

/* ================================================================
   BANDEAU — photo nette (le produit la floute à 38 %), voile qui
   fond vers le noir du site ; sans photo, lueur rouge sur le noir
   relevé ; trait rouge en bas comme la ligne des titres du site
================================================================ */
.hero--empty {
    background:
        radial-gradient(120% 90% at 20% 0%, rgba(214, 58, 67, 0.55) 0%, transparent 60%),
        radial-gradient(100% 80% at 90% 20%, rgba(139, 37, 43, 0.45) 0%, transparent 55%),
        var(--c-surface);
    opacity: 1;
}
.hero__banner  { opacity: 0.8; filter: none; transform: none; }
.hero__overlay { background: linear-gradient(to bottom, rgba(12, 12, 12, 0.05) 0%, rgba(12, 12, 12, 0.45) 55%, var(--c-bg) 100%); }
.hero::after   { height: 2px; opacity: 1; background: linear-gradient(90deg, transparent 0%, var(--c-accent) 25%, var(--c-accent) 75%, transparent 100%); }

/* ================================================================
   PORTRAIT — anneau rouge tournant du produit, initiales en Jost
================================================================ */
.avatar-initials { font-family: var(--ff-display); font-weight: 600; font-size: 2.6rem; letter-spacing: 2px; }

/* ================================================================
   IDENTITÉ — nom en Jost semi-gras (titres du site : 500-600,
   espacement 1,5 px, sans capitales) ; fonction comme le
   « pre-title » du site : capitales rouges espacées entre deux
   pastilles ; entreprise ou accroche en capitales claires
================================================================ */
.identity__name {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
    letter-spacing: 1.5px;
    line-height: 1.15;
    text-transform: none;
    color: #ffffff;
    margin-bottom: 10px;
}
.identity__title-row { gap: 10px; }
.identity__sep       { width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); opacity: 1; }
.identity__title     { font-weight: 600; font-size: 0.74rem; letter-spacing: 0.14em; color: var(--c-accent); }
.identity__company   { font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; color: var(--c-text); margin-bottom: 16px; }
.identity__bio       { font-family: var(--ff-body); font-style: normal; font-weight: 400; font-size: 1rem; line-height: 1.65; color: rgba(241, 241, 241, 0.72); max-width: 360px; }

@media (min-width: 480px) { .identity__name { font-size: 2.5rem; } }
@media (min-width: 680px) { .identity__name { font-size: 2.7rem; } }

/* ================================================================
   BOUTON — .btn-solid du site : plein rouge, texte blanc, bordure
   2 px, angles asymétriques ; au survol, fond transparent et texte
   rouge (la bordure reste)
================================================================ */
.cta__btn {
    padding: 13px 30px;
    border: 2px solid var(--c-accent);
    border-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-cut);
    border-bottom-left-radius: var(--radius-cut);
    background: var(--c-accent);
    color: #ffffff;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 1px;
    text-transform: none;
    box-shadow: 0 10px 28px rgba(214, 58, 67, 0.18);
    transition:
        background   0.3s ease-in-out,
        color        0.3s ease-in-out,
        transform    0.3s var(--ease-spring),
        box-shadow   0.25s var(--ease);
}
.cta__btn:hover,
.cta__btn:focus-visible { background: transparent; color: var(--c-accent); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); }

/* ================================================================
   SECTIONS — intitulés rouges précédés d'une pastille (pre-title)
================================================================ */
.section__eyebrow {
    position: relative;
    padding-left: 14px;
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: var(--c-accent);
}
.section__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
    transform: translateY(-50%);
}
.section-divider__dot { width: 6px; height: 6px; opacity: 1; }

/* ================================================================
   COORDONNÉES ET RÉSEAUX — cartes de verre du produit, aux angles
   du site ; icône sur assise rouge translucide
================================================================ */
.contact-item,
.social-btn,
.card__back {
    border-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-cut);
    border-bottom-left-radius: var(--radius-cut);
}
.contact-icon-wrap   { background: rgba(214, 58, 67, 0.12); color: var(--c-accent); }
.contact-sublabel    { font-weight: 500; }
.contact-value       { font-weight: 500; }
.social-label        { font-weight: 500; }

/* ================================================================
   LOGO ET PIED DE PAGE — logo blanc du site (Company/
   logo-footer-inverse.png, champ `logo` des cartes) ; raison
   sociale en rouge, comme le crédit du pied de page du site
================================================================ */
.brand     { padding: 26px 20px 0; }
.brand img { max-width: 170px; max-height: 66px; opacity: 1; }

.footer                { color: rgba(241, 241, 241, 0.32); letter-spacing: 0.08em; }
.footer strong         { color: rgba(241, 241, 241, 0.6); font-weight: 600; }
.footer p:first-child strong { color: var(--c-accent); }

/* ================================================================
   PAGE NEUTRE (404, 500)
================================================================ */
.card__code { font-family: var(--ff-display); font-weight: 700; letter-spacing: 2px; }
