/* ============================================================
   Extension Bootstrap — Charte graphique Relax Nautique
   Mappe la charte (marine / teal / aqua / crème / corail) sur les
   variables Bootstrap. Chargé après bootstrap.min.css.
   ============================================================ */

:root {
    /* Couleurs de marque (charte) */
    --brand-primary:        #1E6D7A;   /* teal — couleur principale */
    --brand-primary-hover:  #17606B;
    --brand-primary-active: #124E58;
    --brand-marine:         #0D3B66;   /* marine — titres */
    --brand-aqua:           #7EC8CF;   /* cyan clair */
    --brand-accent:         #FF5A3C;   /* corail — call-to-action */
    --brand-accent-hover:   #E64A2E;

    /* Thème Bootstrap : primary = teal, liens = teal */
    --bs-primary:          var(--brand-primary);
    --bs-primary-rgb:      30, 109, 122;
    --bs-link-color:       var(--brand-primary);
    --bs-link-color-rgb:   30, 109, 122;
    --bs-link-hover-color: var(--brand-primary-hover);

    /* La charte n'a pas de vert : « success » est aligné sur le teal
       (badges actif/oui, pastille « étape terminée » du stepper, bordures…). */
    --bs-success:          var(--brand-primary);
    --bs-success-rgb:      30, 109, 122;
}

/* Boutons primaires → teal */
.btn-primary {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-bg: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
}

/* Boutons « valider » (success) → teal aussi (pas de vert dans la charte) */
.btn-success {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary-hover);
    --bs-btn-hover-border-color: var(--brand-primary-hover);
    --bs-btn-active-bg: var(--brand-primary-active);
    --bs-btn-active-border-color: var(--brand-primary-active);
    --bs-btn-disabled-bg: var(--brand-primary);
    --bs-btn-disabled-border-color: var(--brand-primary);
}
