/* ============================================================
   Optinet 2k26 — Styles pages intérieures
   ============================================================ */

/* Pages intérieures : fond clair sur tout le body (sélecteur :has moderne) */
body:has(.page-header-net) {
    background: var(--clr-light) !important;
}

/* Sections pleine largeur */
.section-page     { background: var(--clr-light); }
.section-page-alt { background: var(--clr-light2); }

/* Page Header */
.page-header-net {
    background: linear-gradient(135deg, var(--clr-optigroup) 0%, #0244a0 100%);
    padding: 3rem 2rem;
    margin-bottom: 0;
}

.page-header-net h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.page-header-net .uk-text-lead {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin: 0;
}

/* Top-barre compte */
.top-barre-lang a {
    color: rgba(255,255,255,0.7);
    margin-right: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.top-barre-lang a.active,
.top-barre-lang a:hover {
    color: white;
}

.top-barre-form .uk-input {
    height: 34px;
    line-height: 34px;
    font-size: 0.9rem;
    margin-right: 5px;
}

.top-barre-account {
    gap: 12px;
    color: white;
}
.top-barre-account i {
    font-size: 1.2rem;
    color: white;
}
.top-barre-account a {
    color: white;
    font-size: 0.95rem;
}
.top-barre-account a:hover {
    color: rgba(255,255,255,0.75);
}
.top-barre-account .btn-logout {
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Navbar active */
.navbar nav .uk-active a {
    color: var(--clr-optinet) !important;
    border-bottom: 2px solid var(--clr-optinet);
}

/* Couleur utilitaire */
.color-optinet { color: var(--clr-optinet); }
.color-optigroup { color: var(--clr-optigroup); }

/* Badge nav */
.uk-badge.badge-optinet {
    background-color: var(--clr-optinet);
    color: white;
}

/* Table domaines */
.uk-table th { color: var(--clr-optigroup); font-weight: 700; }
.uk-table del { color: #aaa; }

/* Hosting cards */
.hosting-card {
    border-radius: 20px;
    border: 2px solid #e8e8e8;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hosting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hosting-card-featured {
    border-color: var(--clr-optinet);
    box-shadow: 0 4px 16px rgba(243,123,36,0.2);
}

.hosting-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-optinet);
    color: white;
    padding: 3px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.hosting-card .uk-card-header {
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid #eee;
    border-radius: 18px 18px 0 0;
}

.hosting-card .uk-card-header h3 {
    margin: 0 0 0.5rem;
    color: var(--clr-optigroup);
    font-size: 1.4rem;
}

.hosting-price .price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--clr-optinet);
    font-family: 'Poppins', sans-serif;
}

.hosting-price .price-period {
    font-size: 1rem;
    color: var(--clr-dark2);
}

.hosting-card .uk-card-body .uk-list li {
    padding: 4px 0;
    font-size: 1rem;
}

.hosting-card .uk-card-body .uk-list li i {
    color: var(--clr-optinet);
    margin-right: 6px;
}

.hosting-card .uk-card-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    border-radius: 0 0 18px 18px;
}

/* ── Tableau comparatif hébergements ─────────────────────────── */
.heb-compare-heading {
    text-align: center;
    color: var(--clr-optigroup);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 2rem;
}

.heb-spec-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    position: relative;
    background: #fff;
    overflow: visible;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.heb-spec-badge {
    position: absolute;
    top: -18px;
    right: 18px;
    background: var(--clr-optigroup);
    color: #fff;
    border-radius: 50%;
    width: 76px;
    height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 14px rgba(3,85,194,.35);
    z-index: 1;
}

.heb-spec-badge-amount {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
}

.heb-spec-badge-period {
    font-size: .5rem;
    opacity: .9;
    line-height: 1.3;
}

.heb-spec-title {
    color: var(--clr-optigroup);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 20px 20px 10px;
    margin: 0;
}

.heb-spec-table {
    width: 100%;
    border-collapse: collapse;
    flex: 1;
}

.heb-spec-table tr:nth-child(odd) td {
    background: #f7f8fa;
}

.heb-spec-feat {
    padding: 8px 12px;
    font-size: .85rem;
    color: #444;
    border-bottom: 1px solid #eee;
    width: 65%;
}

.heb-spec-val {
    padding: 8px 12px;
    font-size: .85rem;
    border-bottom: 1px solid #eee;
    text-align: right;
    color: #222;
    font-weight: 500;
}

.heb-spec-check {
    color: var(--clr-optinet);
    font-weight: 700;
    font-size: 1rem;
}

.heb-spec-dash  { color: #bbb; }
.heb-spec-cross { color: #e53935; font-weight: 700; font-size: 1rem; }

.heb-spec-price-row td {
    padding: 10px 12px;
    font-size: .9rem;
    color: #555;
    background: #fff !important;
    border-bottom: none;
}

.heb-spec-price-row td:last-child {
    color: var(--clr-optinet);
    font-size: 1rem;
    font-weight: 700;
    text-align: right;
}

.heb-spec-footer {
    padding: 16px;
    text-align: center;
    border-top: 1px solid #eee;
}

/* Tableau comparatif packs web */
.pack-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
    min-width: 680px;
}
.pack-compare-table thead th {
    background: #f4f6f9;
    padding: 10px 8px;
    text-align: center;
    border-bottom: 2px solid #e0e4ee;
    vertical-align: bottom;
}
.pack-compare-name {
    font-weight: 700;
    color: var(--clr-optigroup);
    font-size: .95rem;
}
.pack-compare-price {
    font-size: .82rem;
    color: var(--clr-optinet);
    font-weight: 600;
    margin-top: 2px;
}
.pack-compare-feat {
    padding: 8px 12px;
    font-weight: 600;
    color: #444;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    background: #fafafa;
}
.pack-compare-cell {
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.pack-compare-table tbody tr:hover .pack-compare-feat,
.pack-compare-table tbody tr:hover .pack-compare-cell {
    background: #fff8f0;
}
.pack-cell-yes  { color: var(--clr-optinet); font-weight: 700; font-size: 1rem; }
.pack-cell-no   { color: #ccc; }
.pack-cell-text { font-size: .8rem; color: #555; }

/* Numéros d'étapes */
.step-number {
    width: 48px;
    height: 48px;
    background: var(--clr-optinet);
    color: white;
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: 'Poppins', sans-serif;
}

/* Formulaire contact */
.uk-form-stacked .uk-form-label {
    font-weight: 600;
    color: var(--clr-dark2);
    margin-bottom: 4px;
}

/* Social icons footer */
.social-ico {
    margin: 12px 0;
}
.social-ico a {
    font-size: 1.5rem;
    margin-right: 10px;
}
.social-ico a i {
    color: var(--clr-optigroup) !important;
    transition: color 0.2s;
}
.social-ico a:hover i {
    color: var(--clr-optinet) !important;
}

/* Footer divisions logos */
.footer .nav-logos .uk-nav-subtitle {
    font-size: 0.75rem;
    color: var(--clr-dark2);
    margin-top: 4px;
}
