/* =============================================
   FORMULAIRE NUISIBLES PRO v5.0
   ============================================= */

#tcf-wrapper,
#tcf-wrapper *,
#tcf-wrapper *::before,
#tcf-wrapper *::after {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
}

#tcf-wrapper {
    width: 100% !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45) !important;
}

#tcf-wrapper .tcf-grid {
    display: grid !important;
    grid-template-columns: 1.2fr 1fr !important;
    align-items: stretch !important;
}

/* ==============================================
   COLONNE GAUCHE
   ============================================== */
#tcf-wrapper .tcf-col-left {
    background: #181375 !important;
    padding: 28px 32px 32px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Succes caché par defaut */
#tcf-wrapper #tcf-success {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 60px 30px !important;
    min-height: 400px !important;
}
#tcf-wrapper #tcf-success.tcf-visible {
    display: flex !important;
    animation: tcf-fadein 0.4s ease !important;
}
#tcf-wrapper .tcf-success-check {
    width: 72px !important; height: 72px !important;
    background: linear-gradient(135deg,#2d8a4e,#1e6b3a) !important;
    color:#fff !important; font-size:34px !important;
    border-radius:50% !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    margin-bottom:22px !important;
    box-shadow:0 10px 28px rgba(45,138,78,0.5) !important;
}
#tcf-wrapper #tcf-success h3 {
    font-size:28px !important; font-weight:800 !important;
    color:#00d4ff !important; margin-bottom:14px !important; line-height:1.3 !important;
}
#tcf-wrapper #tcf-success-msg {
    font-size:16px !important; color:#ffffff !important; line-height:1.7 !important;
}

/* Bandeau rappel */
#tcf-wrapper .tcf-recall-banner {
    background: rgba(0,212,255,0.12) !important;
    border: 1px solid rgba(0,212,255,0.35) !important;
    color: #00d4ff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    margin-bottom: 22px !important;
}

/* Header */
#tcf-wrapper .tcf-form-header { margin-bottom: 20px !important; }

#tcf-wrapper .tcf-form-badge {
    display: inline-flex !important;
    align-items: center !important; gap: 6px !important;
    background: rgba(0,212,255,0.12) !important;
    border: 1px solid rgba(0,212,255,0.35) !important;
    color: #00d4ff !important;
    font-size: 13px !important; font-weight: 600 !important;
    padding: 5px 14px !important; border-radius: 50px !important;
    margin-bottom: 10px !important;
}

/* TITRE GRAND ET BLANC */
#tcf-wrapper .tcf-form-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.15 !important;
    margin-bottom: 6px !important;
}

#tcf-wrapper .tcf-form-sub {
    font-size: 15px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Honeypot */
#tcf-wrapper .tcf-hp {
    position:absolute !important; left:-9999px !important;
    opacity:0 !important; pointer-events:none !important;
}

/* Grid 2 cols */
#tcf-wrapper .tcf-row-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
}
#tcf-wrapper .tcf-mb { margin-bottom: 10px !important; }
#tcf-wrapper .tcf-field-block { margin-bottom: 10px !important; }

/* Bloc select avec label au dessus */
#tcf-wrapper .tcf-select-block { display: block !important; }

#tcf-wrapper .tcf-label-sm {
    display: block !important;
    font-size: 13px !important; font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important; letter-spacing: 0.07em !important;
}

/* ============================================
   BOUTONS PARTICULIER / PRO — #00d4ff visible
   ============================================ */
#tcf-wrapper .tcf-radio-pill { display:flex !important; cursor:pointer !important; }
#tcf-wrapper .tcf-radio-pill input[type="radio"] { display:none !important; }

#tcf-wrapper .tcf-radio-pill span {
    display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 8px !important;
    width: 100% !important;
    padding: 14px !important;
    font-size: 16px !important; font-weight: 700 !important;
    color: rgba(255,255,255,0.55) !important;
    background: rgba(255,255,255,0.08) !important;
    border: 2px solid rgba(255,255,255,0.18) !important;
    border-radius: 8px !important;
    transition: all 0.2s !important; cursor: pointer !important;
}

/* SELECTIONNE = fond #00d4ff + texte foncé */
#tcf-wrapper .tcf-radio-pill input[type="radio"]:checked + span {
    color: #0a0a2e !important;
    background: #00d4ff !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 20px rgba(0,212,255,0.45) !important;
}

#tcf-wrapper .tcf-radio-pill:hover span {
    border-color: #00d4ff !important;
    color: #fff !important;
}

/* ============================================
   RADIOS OUI / PAS SUR / NON — #00d4ff
   ============================================ */
#tcf-wrapper .tcf-radio-row { display:flex !important; flex-wrap:wrap !important; gap:8px !important; }
#tcf-wrapper .tcf-radio-check { display:flex !important; cursor:pointer !important; }
#tcf-wrapper .tcf-radio-check input[type="radio"] { display:none !important; }

#tcf-wrapper .tcf-radio-check span {
    display: inline-flex !important; align-items: center !important;
    padding: 10px 20px !important;
    font-size: 15px !important; font-weight: 600 !important;
    color: rgba(255,255,255,0.55) !important;
    background: rgba(255,255,255,0.08) !important;
    border: 2px solid rgba(255,255,255,0.18) !important;
    border-radius: 7px !important;
    cursor: pointer !important; transition: all 0.18s !important;
}

#tcf-wrapper .tcf-radio-check input[type="radio"]:checked + span {
    color: #0a0a2e !important;
    background: #00d4ff !important;
    border-color: #00d4ff !important;
    box-shadow: 0 0 16px rgba(0,212,255,0.4) !important;
}

#tcf-wrapper .tcf-radio-check:hover span {
    border-color: #00d4ff !important; color: #fff !important;
}

/* Input wrapper */
#tcf-wrapper .tcf-field-wrap { position: relative !important; }

#tcf-wrapper .tcf-ico {
    position: absolute !important; left: 13px !important;
    top: 50% !important; transform: translateY(-50%) !important;
    font-size: 15px !important; pointer-events: none !important;
    z-index: 2 !important; opacity: 0.7 !important;
}

/* INPUTS FOND BLANC */
#tcf-wrapper .tcf-input {
    display: block !important; width: 100% !important;
    padding: 14px 14px 14px 40px !important;
    font-size: 15px !important;
    color: #1a1a2e !important;
    background: #ffffff !important;
    border: 2px solid transparent !important;
    border-radius: 8px !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    -webkit-appearance: none !important; appearance: none !important;
    line-height: 1.4 !important;
}
/* Placeholder visible, pas gris terne */
#tcf-wrapper .tcf-input::placeholder { color: #8a8aaa !important; font-size: 14px !important; }
#tcf-wrapper .tcf-input:focus {
    border-color: #00d4ff !important;
    box-shadow: 0 0 0 3px rgba(0,212,255,0.2) !important;
}

/* Select sans icone gauche */
#tcf-wrapper .tcf-select-noi { padding-left: 14px !important; }

/* Select */
#tcf-wrapper .tcf-select { cursor:pointer !important; color:#1a1a2e !important; padding-right:34px !important; }
#tcf-wrapper .tcf-select option { background:#fff !important; color:#1a1a2e !important; }
#tcf-wrapper .tcf-caret {
    position:absolute !important; right:12px !important; top:50% !important;
    transform:translateY(-50%) !important; font-size:10px !important;
    color:#555 !important; pointer-events:none !important; z-index:2 !important;
}

/* Fichier */
#tcf-wrapper .tcf-file-zone {
    display:flex !important; align-items:center !important;
    justify-content:center !important; gap:9px !important;
    width:100% !important; padding:14px !important;
    font-size:14px !important; color:rgba(255,255,255,0.6) !important;
    background:rgba(255,255,255,0.06) !important;
    border:2px dashed rgba(255,255,255,0.2) !important;
    border-radius:8px !important; cursor:pointer !important; transition:all 0.2s !important;
}
#tcf-wrapper .tcf-file-zone:hover {
    border-color:#00d4ff !important; color:#00d4ff !important;
    background:rgba(0,212,255,0.06) !important;
}
#tcf-wrapper .tcf-file-zone em { font-style:normal !important; opacity:0.55 !important; font-size:13px !important; }

/* CGU */
#tcf-wrapper .tcf-cgu-label {
    display:flex !important; align-items:flex-start !important; gap:10px !important;
    cursor:pointer !important; padding:12px 14px !important;
    background:rgba(0,212,255,0.07) !important;
    border:1px solid rgba(0,212,255,0.2) !important;
    border-radius:8px !important;
}
#tcf-wrapper .tcf-cgu-label input[type="checkbox"] {
    width:18px !important; height:18px !important; min-width:18px !important;
    margin-top:2px !important; accent-color:#00d4ff !important;
    cursor:pointer !important; padding:0 !important;
}
#tcf-wrapper .tcf-cgu-label span {
    font-size:14px !important; color:rgba(255,255,255,0.8) !important; line-height:1.5 !important;
}
#tcf-wrapper .tcf-cgu-label a { color:#00d4ff !important; text-decoration:underline !important; font-weight:600 !important; }

/* Erreur */
#tcf-wrapper #tcf-error {
    display:none !important; font-size:14px !important; color:#ff6b6b !important;
    background:rgba(255,80,80,0.1) !important; border:1px solid rgba(255,80,80,0.3) !important;
    border-radius:7px !important; padding:12px 14px !important;
    margin-bottom:12px !important; line-height:1.5 !important;
}

/* ============================================
   BOUTON SUBMIT — couleur #00d4ff
   ============================================ */
#tcf-wrapper .tcf-btn-submit {
    display:inline-flex !important; align-items:center !important;
    justify-content:center !important; gap:10px !important;
    width:100% !important; padding:17px 24px !important;
    font-size:17px !important; font-weight:800 !important;
    color: #0a0a2e !important;
    background: #00d4ff !important;
    border:none !important; border-radius:9px !important;
    cursor:pointer !important; transition:all 0.2s !important;
    box-shadow: 0 5px 24px rgba(0,212,255,0.45) !important;
    margin-bottom:10px !important; line-height:1 !important;
}
#tcf-wrapper .tcf-btn-submit:hover {
    background: #22deff !important;
    transform:translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(0,212,255,0.6) !important;
}
#tcf-wrapper .tcf-btn-submit:disabled { opacity:0.6 !important; cursor:not-allowed !important; transform:none !important; }

#tcf-wrapper .tcf-btn-spin {
    display:none !important; width:16px !important; height:16px !important;
    border:2px solid rgba(10,10,46,0.3) !important; border-top-color:#0a0a2e !important;
    border-radius:50% !important; animation:tcf-spin 0.65s linear infinite !important;
    flex-shrink:0 !important;
}
#tcf-wrapper .tcf-btn-submit.tcf-loading .tcf-btn-label { display:none !important; }
#tcf-wrapper .tcf-btn-submit.tcf-loading .tcf-btn-spin  { display:inline-block !important; }
@keyframes tcf-spin { to { transform:rotate(360deg); } }

#tcf-wrapper .tcf-legal {
    font-size:12px !important; color:rgba(255,255,255,0.3) !important;
    text-align:center !important; line-height:1.5 !important;
}

@keyframes tcf-fadein {
    from { opacity:0; transform:translateY(10px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ==============================================
   COLONNE DROITE — sans vide en bas
   ============================================== */
#tcf-wrapper .tcf-col-right {
    background: #100e5e !important;
    padding: 28px 26px !important;
    border-left: 1px solid rgba(255,255,255,0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

/* Header droit */
#tcf-wrapper .tcf-right-header {
    margin-bottom: 20px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid rgba(0,212,255,0.15) !important;
}

#tcf-wrapper .tcf-right-badge {
    font-size: 24px !important; font-weight: 800 !important;
    color: #ffffff !important; margin-bottom: 6px !important; display: block !important;
}

#tcf-wrapper .tcf-right-horaires {
    font-size: 15px !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

/* Cartes tel — fond plein #00d4ff */
#tcf-wrapper .tcf-phone-card {
    display:flex !important; align-items:center !important; gap:14px !important;
    background: #00d4ff !important;
    border: none !important;
    border-radius:10px !important; padding:16px 18px !important;
    margin-bottom:10px !important; text-decoration:none !important;
    transition:all 0.2s !important;
    box-shadow: 0 4px 18px rgba(0,212,255,0.35) !important;
}
#tcf-wrapper .tcf-phone-card:hover {
    background: #22deff !important;
    transform:translateX(3px) !important;
    box-shadow: 0 6px 24px rgba(0,212,255,0.55) !important;
}

/* 2e carte : vert */
#tcf-wrapper .tcf-phone-card-green {
    background: #1db954 !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(29,185,84,0.35) !important;
}
#tcf-wrapper .tcf-phone-card-green:hover {
    background: #22d160 !important;
    box-shadow: 0 6px 24px rgba(29,185,84,0.55) !important;
}

#tcf-wrapper .tcf-phone-icon {
    display:flex !important; align-items:center !important; justify-content:center !important;
    width:44px !important; height:44px !important;
    background: rgba(0,0,0,0.15) !important; border-radius:10px !important;
    font-size:22px !important; flex-shrink:0 !important;
}
#tcf-wrapper .tcf-ico-green { background: rgba(0,0,0,0.15) !important; }

#tcf-wrapper .tcf-phone-info { display:flex !important; flex-direction:column !important; gap:4px !important; }

#tcf-wrapper .tcf-phone-num {
    font-size: 20px !important; font-weight: 800 !important;
    color: #0a0a2e !important; letter-spacing: 0.03em !important;
    display: block !important; line-height: 1.2 !important;
}
#tcf-wrapper .tcf-phone-green { color: #0a2e1a !important; }

#tcf-wrapper .tcf-phone-label {
    font-size:13px !important; color: rgba(0,0,0,0.6) !important; font-weight:600 !important;
}
#tcf-wrapper .tcf-phone-label em { font-style:normal !important; opacity:0.8 !important; }

#tcf-wrapper .tcf-divider {
    height:1px !important; background:rgba(255,255,255,0.08) !important; margin:16px 0 !important;
}

/* Features — remplissent tout le reste, espacees egalement */
#tcf-wrapper .tcf-features {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
}

#tcf-wrapper .tcf-feature {
    display:flex !important; align-items:flex-start !important; gap:14px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}
#tcf-wrapper .tcf-feature:last-child {
    border-bottom: none !important;
}

#tcf-wrapper .tcf-feat-ico {
    display:flex !important; align-items:center !important; justify-content:center !important;
    width:46px !important; height:46px !important;
    background:rgba(0,212,255,0.1) !important;
    border:1px solid rgba(0,212,255,0.18) !important;
    border-radius:10px !important; font-size:22px !important; flex-shrink:0 !important;
}

#tcf-wrapper .tcf-feature strong {
    display:block !important; font-size:16px !important; font-weight:700 !important;
    color:#ffffff !important; line-height:1.3 !important; margin-bottom:4px !important;
}
#tcf-wrapper .tcf-feature p {
    font-size:14px !important; color:rgba(255,255,255,0.65) !important; line-height:1.5 !important;
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width:860px) {
    #tcf-wrapper .tcf-grid { grid-template-columns:1fr !important; }
    #tcf-wrapper .tcf-col-right { border-left:none !important; border-top:1px solid rgba(255,255,255,0.07) !important; }
    #tcf-wrapper .tcf-features { display:grid !important; grid-template-columns:1fr 1fr !important; gap:12px !important; justify-content:start !important; }
}
@media (max-width:520px) {
    #tcf-wrapper .tcf-col-left  { padding:22px 16px !important; }
    #tcf-wrapper .tcf-col-right { padding:22px 16px !important; }
    #tcf-wrapper .tcf-row-2     { grid-template-columns:1fr !important; }
    #tcf-wrapper .tcf-form-title { font-size:26px !important; }
    #tcf-wrapper .tcf-features  { grid-template-columns:1fr !important; }
}
