/* TCI Custom Styles — cookie banner, contact form, legal pages */

/* ── Logo : blanc sur homepage (navbar transparente), sombre sur sticky ── */
.navbar-area:not(.sticky) .navbar-brand img {
    filter: brightness(0) invert(1);
}
.navbar-area.sticky .navbar-brand img {
    filter: none;
}

/* ── Cookie Consent ── */
.tci-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-top: 3px solid #4a6cf7;
    z-index: 9999;
    padding: 18px 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
}
.tci-cookie-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.tci-cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}
.tci-cookie-text .lni {
    font-size: 1.6rem;
    color: #4a6cf7;
    margin-top: 2px;
    flex-shrink: 0;
}
.tci-cookie-text strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    margin-bottom: 4px;
}
.tci-cookie-text p {
    color: #bbb;
    font-size: .82rem;
    margin: 0;
    line-height: 1.5;
}
.tci-cookie-text a {
    color: #4a6cf7;
    text-decoration: underline;
}
.tci-cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.tci-cookie-btn {
    border: none;
    border-radius: 4px;
    padding: 9px 22px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s;
}
.tci-cookie-btn:hover { opacity: .85; }
.tci-cookie-accept {
    background: #4a6cf7;
    color: #fff;
}
.tci-cookie-refuse {
    background: transparent;
    color: #bbb;
    border: 1px solid #555;
}

/* ── Contact Page ── */
.tci-contact-section {
    padding: 120px 0 80px;
}
.tci-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 767px) {
    .tci-contact-grid { grid-template-columns: 1fr; }
}
.tci-contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.tci-contact-info-icon {
    width: 44px;
    height: 44px;
    background: #4a6cf7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.tci-contact-info-item h4 {
    font-size: .85rem;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 4px;
}
.tci-contact-info-item p,
.tci-contact-info-item a {
    font-size: .95rem;
    color: #333;
    margin: 0;
}
.tci-contact-info-item a:hover { color: #4a6cf7; }

/* Consentement RGPD */
.tci-form-consent { margin-bottom: 20px; }
.tci-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: .88rem;
    color: #444;
    line-height: 1.5;
}
.tci-consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #4a6cf7;
    cursor: pointer;
}
.tci-consent-label a { color: #4a6cf7; text-decoration: underline; }

/* Form */
.tci-form-group {
    margin-bottom: 20px;
}
.tci-form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.tci-form-group input,
.tci-form-group select,
.tci-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .95rem;
    color: #333;
    background: #fff;
    transition: border-color .2s;
    font-family: inherit;
}
.tci-form-group input:focus,
.tci-form-group select:focus,
.tci-form-group textarea:focus {
    border-color: #4a6cf7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74,108,247,.12);
}
.tci-form-group textarea {
    min-height: 130px;
    resize: vertical;
}
.tci-form-submit {
    width: 100%;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.tci-form-submit:hover { background: #3558e8; }
.tci-form-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: .9rem;
    font-weight: 600;
}
.tci-form-alert--success {
    background: #edfaf1;
    border: 1px solid #34c759;
    color: #1a7a36;
}
.tci-form-alert--error {
    background: #fff0f0;
    border: 1px solid #ff3b30;
    color: #c0392b;
}

/* ── Legal Pages ── */
.tci-legal-section {
    padding: 120px 0 80px;
}
.tci-legal-content {
    max-width: 800px;
    margin: 0 auto;
}
.tci-legal-content h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 36px;
    color: #121212;
}
.tci-legal-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 32px 0 10px;
    color: #121212;
    border-left: 3px solid #4a6cf7;
    padding-left: 12px;
}
.tci-legal-content p {
    font-size: .95rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 12px;
}
.tci-legal-content a { color: #4a6cf7; }
.tci-legal-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.tci-legal-content ul li {
    font-size: .95rem;
    color: #444;
    line-height: 1.75;
}
