/* =========================================
   CONSTRUCTION PAGE
   file: /assets/css/construction.css
   Scoped uniquement à .construction-page
========================================= */

/* =========================
   RESET LOCAL
========================= */
.construction-page,
.construction-page *,
.construction-page *::before,
.construction-page *::after {
    box-sizing: border-box;
}

.construction-page img,
.construction-page svg {
    max-width: 100%;
    display: block;
}

/* =========================
   TOKENS
========================= */
html,
body {
    overflow-x: hidden;
}

.construction-page {
    --construction-bg:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.96), transparent 28%),
        radial-gradient(circle at 86% 16%, rgba(153, 246, 228, 0.42), transparent 26%),
        radial-gradient(circle at 50% 82%, rgba(20, 184, 166, 0.16), transparent 24%),
        linear-gradient(135deg, #f0fdfa 0%, #e6f7f4 36%, #edf6f4 68%, #dff4f0 100%);

    --construction-text: #0f172a;
    --construction-title: #091b57;
    --construction-muted: #64748b;
    --construction-line: rgba(15, 23, 42, 0.10);

    --construction-surface: rgba(255, 255, 255, 0.80);
    --construction-surface-strong: rgba(255, 255, 255, 0.92);

    --construction-primary: #0f766e;
    --construction-primary-2: #14b8a6;

    --construction-shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --construction-shadow-card: 0 24px 60px rgba(15, 23, 42, 0.10);
    --construction-shadow-btn: 0 14px 34px rgba(15, 118, 110, 0.22);

    min-height: 100vh;
    color: var(--construction-text);
    background: var(--construction-bg);
    overflow-x: hidden;
}

/* =========================
   MAIN
========================= */
.construction-page .construction-main {
    position: relative;
    padding-top: 108px;
    padding-bottom: 84px;
}

.construction-page .construction-main .container {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
}

/* =========================
   HERO WRAPPER
========================= */
.construction-page .construction-hero {
    padding: 30px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 252, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* =========================
   HEADER
========================= */
.construction-page .construction-header {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 28px;
}

.construction-page .construction-badge {
    width: fit-content;
    margin: 0 auto 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #065f46 0%, #059669 55%, #10b981 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 28px rgba(5, 150, 105, 0.32), 0 0 0 3px rgba(5, 150, 105, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.20);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    position: relative;
    overflow: hidden;
}
.construction-page .construction-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
    left: -80%;
    animation: construction-badge-shimmer 3.5s ease-in-out infinite;
}
@keyframes construction-badge-shimmer {
    0%   { left: -80%; }
    55%, 100% { left: 120%; }
}
.construction-page .construction-badge .pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6ee7b7;
    flex-shrink: 0;
    animation: construction-badge-pulse 2s ease-in-out infinite;
}
@keyframes construction-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.65); }
    50%       { box-shadow: 0 0 0 5px rgba(110, 231, 183, 0); }
}
.construction-page .construction-badge .pill-check {
    flex-shrink: 0;
    display: block;
}

.construction-page .construction-title {
    margin: 0 0 14px;
    color: var(--construction-title);
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-decoration: underline;
    text-decoration-color: #0f766e;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.construction-page .construction-intro {
    margin: 0 auto;
    color: var(--construction-muted);
    font-size: 18px;
    line-height: 2;
}

/* =========================
   GRID CARDS
========================= */
.construction-page .construction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.construction-page .construction-card {
    padding: 24px 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.88);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform .22s ease, box-shadow .22s ease;
}

.construction-page .construction-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.construction-page .construction-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

/* Icon color variants */
.construction-page .ci-orange {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.11), rgba(251, 146, 60, 0.17));
    color: #c2410c;
}
.construction-page .ci-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.11), rgba(167, 139, 250, 0.17));
    color: #7c3aed;
}
.construction-page .ci-blue {
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.11), rgba(20, 184, 166, 0.17));
    color: #0f766e;
}
.construction-page .ci-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.11), rgba(45, 212, 191, 0.17));
    color: #0f766e;
}
.construction-page .ci-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.11), rgba(251, 191, 36, 0.17));
    color: #b45309;
}
.construction-page .ci-green {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.11), rgba(16, 185, 129, 0.17));
    color: #059669;
}

.construction-page .construction-card-title {
    margin: 0 0 12px;
    color: var(--construction-title);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: #16a34a;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.construction-page .construction-card-text {
    margin: 0 0 10px;
    color: var(--construction-muted);
    font-size: 15px;
    line-height: 1.9;
}

.construction-page .construction-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.construction-page .construction-list li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 10px;
    color: #475569;
    font-size: 15px;
    line-height: 1.9;
}

.construction-page .construction-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--construction-primary), var(--construction-primary-2));
}

[dir="ltr"] .construction-page .construction-list li {
    padding-right: 0;
    padding-left: 20px;
}

[dir="ltr"] .construction-page .construction-list li::before {
    right: auto;
    left: 0;
}

.construction-page .construction-card-foot {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.85;
    font-weight: 700;
}

/* =========================
   BENEFITS
========================= */
.construction-page .construction-benefits {
    margin-top: 28px;
    padding: 26px 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.90);
}

.construction-page .construction-benefits-head {
    text-align: center;
    margin-bottom: 20px;
}

.construction-page .cb-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(20, 184, 166, 0.16));
    color: var(--construction-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.construction-page .construction-benefits-title {
    margin: 0;
    color: var(--construction-title);
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: #0f766e;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
}

.construction-page .construction-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.construction-page .construction-benefit {
    padding: 24px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.construction-page .construction-benefit:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09);
}

.construction-page .construction-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.construction-page .construction-benefit h3 {
    margin: 0 0 8px;
    color: var(--construction-title);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 900;
}

.construction-page .construction-benefit p {
    margin: 0;
    color: var(--construction-muted);
    font-size: 15px;
    line-height: 1.9;
}

/* =========================
   CTA PREMIUM
========================= */
.construction-page .cb-cta-premium {
    margin-top: 24px;
    border-radius: 34px;
    background: linear-gradient(135deg, #431407 0%, #9a3412 45%, #c2410c 100%);
    overflow: hidden;
    position: relative;
}

.construction-page .cb-cta-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 55%),
                radial-gradient(circle at 80% 20%, rgba(254, 215, 170, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.construction-page .cb-cta-inner {
    position: relative;
    padding: 54px 40px;
    text-align: center;
    color: #ffffff;
}

.construction-page .cb-cta-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fed7aa;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.construction-page .cb-cta-inner h2 {
    color: #ffffff;
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 900;
    margin: 0 0 14px;
}

.construction-page .cb-cta-inner p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.9;
}

.construction-page .cb-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.construction-page .cb-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    background: #ffffff;
    color: #c2410c;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.construction-page .cb-cta-btn-primary:hover {
    background: #fff7ed;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.construction-page .cb-cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.28);
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.construction-page .cb-cta-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================
   REVEAL
========================= */
.construction-page .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.60s ease, transform 0.60s ease;
}

.construction-page .reveal.revealed {
    opacity: 1;
    transform: none;
}

/* =========================
   FOOTER PREMIUM
========================= */
.construction-page .footer {
    margin-top: 34px;
    padding: 0 0 18px;
    background: transparent;
}

.construction-page .footer .foot {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 252, 0.90));
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.construction-page .construction-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.construction-page .construction-footer-brand {
    min-width: 0;
    flex: 1 1 auto;
}

.construction-page .construction-footer-brand b {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
}

.construction-page .construction-footer-brand .muted {
    margin: 0;
    color: var(--construction-muted);
    font-size: 15px;
    line-height: 1.8;
}

.construction-page .construction-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 0 1 auto;
}

.construction-page .construction-copy {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    white-space: nowrap;
}

.construction-page .footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.construction-page .footer-socials a {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: #0f172a;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.construction-page .footer-socials a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
}

.construction-page .footer-socials a[aria-label="تيك توك"] {
    color: #111111;
    background: #ffffff;
}

.construction-page .footer-socials a[aria-label="تيك توك"]:hover {
    background: #111111;
    color: #ffffff;
}

.construction-page .footer-socials a[aria-label="إنستغرام"] {
    color: #E4405F;
    background: #ffffff;
}

.construction-page .footer-socials a[aria-label="إنستغرام"]:hover {
    color: #ffffff;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.construction-page .footer-socials a[aria-label="فيسبوك"] {
    color: #1877F2;
    background: #ffffff;
}

.construction-page .footer-socials a[aria-label="فيسبوك"]:hover {
    background: #1877F2;
    color: #ffffff;
}

/* =========================
   WHATSAPP FLOAT
========================= */
.construction-page .whatsapp-float {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    left: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 9999;
    width: 74px;
    height: 74px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #25d366 0 58%, rgba(255, 255, 255, 0.30) 59% 100%);
    color: #ffffff;
    text-decoration: none;
    box-shadow:
        0 18px 40px rgba(37, 211, 102, 0.28),
        0 0 0 10px rgba(37, 211, 102, 0.14);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.construction-page .whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
}

html[lang="fr"] .construction-page .whatsapp-float {
    left: max(18px, env(safe-area-inset-left));
    right: auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
    .construction-page .construction-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 860px) {
    .construction-page .construction-benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .construction-page .construction-main {
        padding-top: 94px;
        padding-bottom: 74px;
    }

    .construction-page .construction-main .container {
        width: min(100%, calc(100% - 24px));
    }

    .construction-page .construction-hero {
        padding: 18px 14px;
        border-radius: 24px;
    }

    .construction-page .construction-title {
        font-size: clamp(28px, 9vw, 44px);
    }

    .construction-page .construction-intro {
        font-size: 15px;
        line-height: 1.9;
    }

    .construction-page .construction-grid {
        grid-template-columns: 1fr;
    }

    .construction-page .construction-card {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .construction-page .construction-benefits {
        padding: 20px 16px;
        border-radius: 22px;
    }

    .construction-page .construction-benefits-grid {
        grid-template-columns: 1fr;
    }

    .construction-page .cb-cta-premium {
        border-radius: 24px;
    }

    .construction-page .cb-cta-inner {
        padding: 38px 24px;
    }

    .construction-page .footer .foot {
        width: min(100%, calc(100% - 24px));
        padding: 20px 18px;
        border-radius: 22px;
    }

    .construction-page .construction-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .construction-page .construction-footer-meta {
        width: 100%;
        align-items: flex-start;
    }

    .construction-page .whatsapp-float {
        right: max(14px, env(safe-area-inset-right));
        left: auto;
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 68px;
        height: 68px;
    }

    html[lang="fr"] .construction-page .whatsapp-float {
        left: max(14px, env(safe-area-inset-left));
        right: auto;
    }
}

@media (max-width: 560px) {
    .construction-page .construction-main {
        padding-top: 88px;
        padding-bottom: 66px;
    }

    .construction-page .construction-main .container {
        width: min(100%, calc(100% - 20px));
    }

    .construction-page .construction-hero {
        padding: 14px 12px;
        border-radius: 20px;
    }

    .construction-page .construction-badge {
        font-size: 11px;
        padding: 8px 14px 8px 10px;
        gap: 8px;
        box-shadow: 0 6px 18px rgba(5, 150, 105, 0.28), 0 0 0 2px rgba(5, 150, 105, 0.10);
    }

    .construction-page .construction-title {
        font-size: 26px;
        line-height: 1.14;
    }

    .construction-page .construction-intro {
        font-size: 14px;
        line-height: 1.8;
    }

    .construction-page .construction-card-title {
        font-size: 20px;
    }

    .construction-page .construction-card-text,
    .construction-page .construction-list li,
    .construction-page .construction-card-foot,
    .construction-page .construction-benefit p {
        font-size: 14px;
        line-height: 1.8;
    }

    .construction-page .construction-benefits-title {
        font-size: 22px;
    }

    .construction-page .construction-benefit h3 {
        font-size: 18px;
    }

    .construction-page .construction-cta p {
        font-size: 15px;
    }

    .construction-page .construction-cta-btn {
        width: 100%;
        min-height: 50px;
        padding: 0 18px;
        font-size: 15px;
    }

    .construction-page .footer {
        margin-top: 24px;
        padding-bottom: 14px;
    }

    .construction-page .footer .foot {
        width: min(100%, calc(100% - 20px));
        padding: 16px 14px;
        border-radius: 18px;
    }

    .construction-page .construction-foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .construction-page .construction-footer-brand {
        width: 100%;
    }

    .construction-page .construction-footer-brand b {
        font-size: 16px;
    }

    .construction-page .construction-footer-meta {
        width: 100%;
        align-items: center;
        gap: 8px;
    }

    .construction-page .construction-copy {
        width: 100%;
        text-align: center;
        white-space: normal;
        font-size: 13px;
    }

    .construction-page .footer-socials {
        width: 100%;
        justify-content: center;
    }

    .construction-page .footer-socials a {
        width: 36px;
        height: 36px;
    }

    .construction-page .whatsapp-float {
        right: max(12px, env(safe-area-inset-right));
        left: auto;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: 64px;
        height: 64px;
    }

    html[lang="fr"] .construction-page .whatsapp-float {
        left: max(12px, env(safe-area-inset-left));
        right: auto;
    }
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {

    .construction-page .construction-card,
    .construction-page .construction-benefit,
    .construction-page .cb-cta-btn-primary,
    .construction-page .cb-cta-btn-ghost,
    .construction-page .footer-socials a,
    .construction-page .whatsapp-float {
        transition: none !important;
    }

    .construction-page .reveal {
        opacity: 1;
        transform: none;
        transition: none !important;
    }
}