:root {

    /* ==========================
       PARTENAIRES — COULEURS
       ========================== */

    --color-rose: #ec008c;
    --color-rose-light: #FEF2F9;

}

/* ==========================
   PARTENAIRES — NAVBAR CO-BRANDEE
   ========================== */

.navbar-partenaire .navbar-brand-wrapper {
    align-items: flex-end;
    gap: var(--space-32);
}

.navbar-partenaire-fill14 {
    display: none;
}

@media (max-width: 1200px) {
    .navbar-partenaire-sep,
    .navbar-partenaire-logo {
        display: none;
    }

    .navbar-partenaire-fill14 {
        display: block;
        height: 32px;
        width: auto;
        filter: invert(9%) sepia(96%) saturate(7496%) hue-rotate(309deg) brightness(90%) contrast(110%);
    }
}

.navbar-partenaire-sep {
    display: block;
    width: 1px;
    height: var(--space-40);
    background: var(--color-gray-3);
}

.navbar-partenaire-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.navbar-partenaire-label {
    font-family: var(--font-family-secondary);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: var(--color-muted);
    white-space: nowrap;
}

.bienChoisir .row.flex {
    row-gap: var(--space-48);
}

/* ==========================
   PARTENAIRES — JUMBOTRON
   ========================== */

.partenariat.bg-bleu .jumbotron,
.partenariat.bg-bleu.bg-right .jumbotron {
    background-image: none;
}

/* Supprime le margin-bottom du main sur les pages partenaires */
.partenariat + main.container {
    margin-bottom: 0;
}

/* ==========================
   PARTENAIRES — FOND GRIS
   ========================== */

.bg-gris {
    background-color: #f9f9f9;
}

/* ==========================
   PARTENAIRES — BLOC ECONOMIES
   ========================== */

.combienEconomiser {
    padding: var(--space-88) 0;
}

.combienEconomiser .h2 {
    color: var(--color-primary-dark);
}

.economies-chiffre-principal {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-0);
    color: var(--color-primary);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.economies-stat-icone {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background-color: var(--color-blue-light);
    border-radius: var(--tag-radius);
    font-size: var(--font-size-2);
    color: var(--color-primary-dark);
}

.economies-graphe-montant {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-2);
    color: var(--color-primary-dark);
}

.economies-graphe-montant--switch {
    color: var(--color-primary);
}

/* Desktop : colonnes verticales cote a cote */
.economies-graphe-col {
    flex: 0 0 135px;
    width: 135px;
}

.economies-graphe-barre {
    width: 100%;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.economies-graphe-barre--banque {
    height: 345px;
    background-color: var(--color-gray-3);
}

.economies-graphe-barre--switch {
    height: 134px;
    background-color: var(--color-primary);
}

/* Tablette et mobile : barres horizontales */
@media (max-width: 1200px) {
    /* Conteneur graphe : passe en colonne */
    .combienEconomiser .flex.flex-end.flex-row.gap-56 {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-16);
    }

    /* Chaque colonne graphe : label + barre + montant sur une ligne */
    .combienEconomiser .economies-graphe-col {
        flex: none;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: var(--space-16);
    }

    /* Barres horizontales */
    .combienEconomiser .economies-graphe-barre {
        height: 40px;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
    }

    .combienEconomiser .economies-graphe-barre--banque {
        flex: 1 0 0;
        width: auto;
    }

    .combienEconomiser .economies-graphe-barre--switch {
        width: 222px;
        flex: none;
    }

    /* Montants : taille tablette */
    .combienEconomiser .economies-graphe-montant {
        font-size: var(--font-size-1);
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .combienEconomiser {
        padding: var(--space-40) 0;
    }
}

/* ==========================
   PARTENAIRES — PANEL VEEPEE + FAQ
   ========================== */

.panel.panel-veepee {
    background-color: var(--color-rose-light);
    border: var(--border-muted);
    border-radius: var(--modal-radius);
    margin-bottom: 0;
}

.panel.panel-veepee .panel-body {
    padding: var(--space-32);
}

.panel.panel-veepee img {
    flex-shrink: 0;
    width: 66px;
    height: auto;
}

.panel.panel-veepee .gap-8 {
    flex: 1;
    min-width: 0;
}

.panel.panel-veepee .bloc-avantage-veepee-titre {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-1);
    color: var(--color-black);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.panel.panel-veepee .bloc-avantage-veepee-offre {
    color: var(--color-rose);
}

@media (max-width: 991px) {
    .panel.panel-veepee .bloc-avantage-veepee-offre {
        display: block;
    }
}

.panel.panel-veepee .bloc-avantage-veepee-mention {
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
}

.btn-rose {
    flex-shrink: 0;
    background-color: var(--color-rose);
    border-color: var(--color-rose);
    color: var(--color-white);
    white-space: nowrap;
}

.btn-rose:hover,
.btn-rose:focus {
    background-color: var(--color-rose);
    border-color: var(--color-rose);
    color: var(--color-white);
    opacity: 0.9;
}

/* ==========================
   PARTENAIRES — FOOTER
   ========================== */

.footer-partenaire {
    background-color: var(--color-primary-dark);
    padding: 56px 0;
}

.footer-partenaire-top {
    margin-bottom: 24px;
}

/* Logos */
.footer-partenaire-logos {
    align-items: flex-end;
    gap: var(--space-32);
}

.footer-partenaire-sep {
    display: block;
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.3);
}

.footer-partenaire-logo-partenaire {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.footer-partenaire-label {
    position: absolute;
    top: -16px;
    left: 0;
    font-family: var(--font-family-secondary);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    line-height: 22px;
}

/* Tel + Trustpilot */
.footer-partenaire-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-partenaire-tel {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-partenaire-tel i {
    color: var(--color-accent);
}

.footer-partenaire-tel small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Separateur */
.footer-partenaire-hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 0 0 24px;
}

/* Mentions legales */
.footer-partenaire-mentions {
    font-family: var(--font-family-secondary);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-partenaire-mentions a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

.footer-partenaire-mentions a:hover {
    color: var(--color-white);
}


/* Panel global */
.panel-cta-veepee {
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 0 12.5px rgba(0, 0, 0, 0.1);
    padding: var(--space-32);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Bloc avantage rose-light */
.panel-cta-avantage {
    background-color: var(--color-rose-light);
    border-radius: var(--border-radius);
    padding: 24px 65px 24px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Fill-14 : décoratif absolu, incliné, semi-transparent */
.panel-cta-fill14 {
    position: absolute;
    left: 101px;
    top: -23px;
    width: 166px;
    transform: rotate(10.59deg);
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.panel-cta-avantage-textes {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 164px;
}

.panel-cta-boite {
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    object-fit: cover;
}

strong.panel-cta-avantage-label {
    font-family: var(--font-family-secondary);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    color: #939493;
    display: block;
    white-space: nowrap;
}

h2.panel-cta-avantage-offre {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    line-height: 24px;
    color: var(--color-rose);
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
    margin: 0;
    white-space: nowrap;
}

small.panel-cta-avantage-mention {
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-medium);
    font-size: 8px;
    color: #404042;
    display: block;
}

/* Titre */
h3.panel-cta-titre {
    font-family: var(--font-family-secondary);
    font-weight: var(--font-weight-bold);
    font-size: 24px;
    color: var(--color-black);
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
    margin: 0;
}

/* Bouton CTA base */
.btn-cta-veepee img {
    flex-shrink: 0;
    width: 49px;
    height: auto;
}

.btn-cta-veepee--rose img {
    width: 37px;
}

.btn-cta-veepee {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 4px solid transparent;
    border-radius: var(--border-radius);
    box-shadow: 0 0 12.5px rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    font-family: var(--font-family-secondary);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    text-align: center;
    text-decoration: none;
    padding: 12px 24px;
    gap: 8px;
}

.btn-cta-veepee:hover,
.btn-cta-veepee:focus {
    text-decoration: none;
    background-color: var(--color-rose-light);
    border-color: var(--color-rose);
    color: var(--color-rose);
}

/* Variante rose */
.btn-cta-veepee--rose {
    border-color: var(--color-rose-light);
    color: var(--color-rose);
}

.btn-cta-veepee--rose:hover,
.btn-cta-veepee--rose:focus {
    color: var(--color-rose);
}

@media (max-width: 767px) {
    .navbar-partenaire .navbar-brand-wrapper {
        gap: var(--space-12);
    }

    .btn-cta-veepee {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* Couleurs texte panel CTA — neutralise le blanc du jumbotron */
.panel-cta-veepee,
.panel-cta-veepee p,
.panel-cta-veepee h2,
.panel-cta-veepee h3,
.panel-cta-veepee span,
.panel-cta-veepee strong,
.panel-cta-veepee small {
    color: var(--color-black);
}

/* Reset marges BS3 sur h2/h3 dans le panel */
.panel-cta-veepee h2,
.panel-cta-veepee h3 {
    margin: 0;
}

/* Offre rose : priorité sur la neutralisation globale */
h2.panel-cta-avantage-offre {
    color: var(--color-rose);
}

/* Label gris : priorité sur la neutralisation globale */
strong.panel-cta-avantage-label {
    color: #939493;
}
.panel-cta-veepee .trustpilot-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    font-family: var(--font-family-secondary);
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: #404042;
}
