/* ============================================================
   WeConnect — surcharges de marque
   (chargé APRÈS style.css, ne modifie pas le template d'origine)
   Palette : indigo #5a6ef8 · violet #a874c6 · corail #fe7a8f
   ============================================================ */

/* --- Logo wordmark "Weconnect" --- */
.wc-logo {
    display: inline-block;
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #0a0a23;
}
.wc-logo:hover { color: #0a0a23; }
.wc-logo span {
    background: linear-gradient(100.16deg, #5a6ef8 9.94%, #a874c6 54.82%, #fe7a8f 95.56%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wc-logo--white { color: #fff; }
.wc-logo--white:hover { color: #fff; }
@media (max-width: 575px) { .wc-logo { font-size: 26px; } }

/* --- Petits ajustements utilitaires de marque --- */
.wc-gradient-text {
    background: linear-gradient(100.16deg, #5a6ef8 9.94%, #a874c6 54.82%, #fe7a8f 95.56%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Liste de services : aligner la hauteur des cartes */
.da-service { height: calc(100% - 30px); }

/* Badge "Audit gratuit" réutilisable */
.wc-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(100.16deg, #5a6ef8 9.94%, #a874c6 54.82%, #fe7a8f 95.56%);
}

/* ============================================================
   Prix des forfaits mensuels (cartes .tp-price-box, 4 colonnes)
   Le template positionnait le <span> interne en absolu (préfixe
   "dès" dans le coin) et le <b> à 80px : on le réadapte pour des
   prix mensuels "montant + /mois" lisibles sur des cartes étroites.
   ============================================================ */
.tp-price-box .tp-price-box__info b {
    display: block;
    font-size: 54px;
    line-height: 1.1;
    padding-left: 0;
    white-space: nowrap;
}
.tp-price-box .tp-price-box__info b span {
    position: static;
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #8a8a96;
    line-height: 1.3;
}
/* Sur la carte mise en avant, on masque l'étoile pour laisser place au badge "Populaire" */
.tp-price-box.active .tp-price-box__star { display: none; }

/* ============================================================
   Classes de marque wc-section / wc-cta
   (utilisées par realisations.html et tarifs.html — non fournies
   par le template, définies ici une seule fois)
   ============================================================ */
.wc-section-subtitle {
    display: inline-block;
    margin-bottom: 14px;
    color: #5a6ef8;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.wc-section-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 700;
    color: #0a0a23;
}
.wc-cta-inner {
    background: linear-gradient(120deg, #f4f5ff 0%, #fdeff2 100%);
    border: 1px solid #ececf5;
    border-radius: 24px;
    padding: 60px 40px;
}
.wc-cta-title {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.25;
    font-weight: 700;
    color: #0a0a23;
}
@media (max-width: 575px) {
    .wc-cta-inner { padding: 40px 22px; }
}

/* ============================================================
   Bouton lecture sur les cartes vidéo (réalisations)
   ============================================================ */
.pf-single-item { position: relative; }
.wc-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .92);
    color: #5a6ef8;
    border-radius: 50%;
    font-size: 20px;
    z-index: 3;
    box-shadow: 0 10px 28px rgba(10, 10, 35, .28);
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.wc-play-btn:hover {
    background: #5a6ef8;
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}

/* ============================================================
   Honeypot anti-spam (champ caché du formulaire de devis)
   ============================================================ */
.wc-hp {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

/* ============================================================
   Message de réponse du formulaire (rempli par ajax-form.js)
   ============================================================ */
.ajax-response { font-weight: 600; }
.ajax-response.success {
    color: #1a7f4b;
    background: #e8f7ef;
    border: 1px solid #bfe8d2;
    padding: 14px 18px;
    border-radius: 10px;
}
.ajax-response.error {
    color: #b3261e;
    background: #fdecea;
    border: 1px solid #f5c6c2;
    padding: 14px 18px;
    border-radius: 10px;
}

/* ============================================================
   Bouton flottant WhatsApp (support)
   ============================================================ */
.wc-whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    transition: transform .2s ease;
}
.wc-whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.wc-whatsapp-float i { line-height: 1; }
@media (max-width: 575px) {
    .wc-whatsapp-float { width: 50px; height: 50px; font-size: 25px; left: 16px; bottom: 16px; }
}

/* ============================================================
   Case à cocher de consentement (devis)
   Le template étire tous les <input> à width:100% / height:60px ;
   on ramène la checkbox à une taille normale, alignée au texte.
   ============================================================ */
.wc-consent label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}
.wc-consent input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    min-height: 0 !important;
    flex: 0 0 18px;
    margin: 2px 10px 0 0 !important;
    padding: 0 !important;
    accent-color: #5a6ef8;
}
