/* ═══════════════════════════════════════════════════════════════
   CRO Updates – Force Mobiles | Audit UX/UI
   ═══════════════════════════════════════════════════════════════ */

/* ─── Accessibility Utility ───────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── Hero Reassurance Strip ──────────────────────────────────── */
.hero-reassurance {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 22px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.90);
    font-weight: 600;
    width: fit-content;
    max-width: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-reassurance span {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.hero-reassurance i {
    color: #4ade80;
    font-size: 0.8rem;
}
.hero-reassurance .hero-trust-sep {
    color: rgba(255,255,255,0.25);
    font-weight: 300;
}
@media (max-width: 900px) {
    .hero-reassurance {
        justify-content: center;
        border-radius: 16px;
        padding: 12px 18px;
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .hero-reassurance {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 14px;
        gap: 8px;
        width: 100%;
        padding: 11px 14px;
    }
    .hero-reassurance .hero-trust-sep { 
        display: flex;
        font-size: 1rem;
        opacity: 0.6;
    }
    .hero-reassurance span {
        white-space: nowrap;
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .hero-reassurance {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 14px;
        gap: 8px;
        width: 100%;
    }
    .hero-reassurance .hero-trust-sep { 
        display: flex;
        font-size: 1rem;
        opacity: 0.6;
    }
    .hero-reassurance span {
        justify-content: center;
        width: 100%;
    }
}

/* ─── Features Tagline ────────────────────────────────────────── */
.features-tagline {
    text-align: center;
    font-style: italic;
    font-size: clamp(0.9rem, 1.8vw, 1.08rem);
    color: rgba(255,255,255,0.72);
    max-width: 680px;
    margin: -25px auto 46px;
    line-height: 1.75;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ─── Brands Section ──────────────────────────────────────────── */
.brands-section {
    padding: clamp(60px, 8vw, 96px) 0 clamp(40px, 5vw, 60px);
    background: #fff;
}
.brands-intro-text {
    text-align: center;
    color: var(--text-sec);
    font-size: 1.05rem;
    max-width: 600px;
    margin: -28px auto 46px;
    line-height: 1.7;
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.brand-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px 24px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(6,44,89,0.07);
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}
.brand-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(6,44,89,0.14);
}

/* Per-brand colors */
.brand-blackview::before { background: linear-gradient(90deg,#062c59,#0d4a96); }
.brand-blackview:hover   { border-color: #062c59; }
.brand-ulefone::before   { background: linear-gradient(90deg,#e65100,#ff6d00); }
.brand-ulefone:hover     { border-color: #e65100; }
.brand-oukitel::before   { background: linear-gradient(90deg,#1b5e20,#2e7d32); }
.brand-oukitel:hover     { border-color: #2e7d32; }
.brand-doogee::before    { background: linear-gradient(90deg,#4a148c,#7b1fa2); }
.brand-doogee:hover      { border-color: #7b1fa2; }

.brand-icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo-badge {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.brand-blackview .brand-logo-badge { background: linear-gradient(135deg,#062c59,#0d4a96); }
.brand-ulefone   .brand-logo-badge { background: linear-gradient(135deg,#e65100,#ff6d00); }
.brand-oukitel   .brand-logo-badge { background: linear-gradient(135deg,#1b5e20,#2e7d32); }
.brand-doogee    .brand-logo-badge { background: linear-gradient(135deg,#4a148c,#7b1fa2); }

.brand-card h3 {
    font-size: 1.12rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}
.brand-positioning {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 50px;
    color: #fff;
    margin-top: 4px;
}
.brand-blackview .brand-positioning { background: #0d4a96; }
.brand-ulefone   .brand-positioning { background: #e65100; }
.brand-oukitel   .brand-positioning { background: #2e7d32; }
.brand-doogee    .brand-positioning { background: #7b1fa2; }

.brand-card > p {
    font-size: 0.87rem;
    color: var(--text-sec);
    line-height: 1.65;
    margin: 0;
}
.brand-targets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
}
.brand-targets li {
    font-size: 0.83rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-targets li i {
    color: #25D366;
    font-size: 0.72rem;
    flex-shrink: 0;
}
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    margin-top: auto;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.brand-blackview .btn-brand { background: linear-gradient(135deg,#062c59,#0d4a96); }
.brand-ulefone   .btn-brand { background: linear-gradient(135deg,#e65100,#ff6d00); }
.brand-oukitel   .btn-brand { background: linear-gradient(135deg,#1b5e20,#2e7d32); }
.brand-doogee    .btn-brand { background: linear-gradient(135deg,#4a148c,#7b1fa2); }
.brand-card .btn-brand:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

/* ─── Quiz Section ────────────────────────────────────────────── */
.quiz-section {
    padding: clamp(50px, 7vw, 80px) 0;
    background: linear-gradient(150deg,#031b3a 0%,#063289 55%,#0b2f6e 100%);
    position: relative;
    overflow: hidden;
}
.quiz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.quiz-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(28px,4vw,50px);
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}
.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}
.quiz-header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg,var(--accent),var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(246,142,86,0.4);
}
.quiz-header h2 {
    font-size: clamp(1.2rem,3vw,1.65rem);
    color: var(--primary);
    margin-bottom: 8px;
}
.quiz-header p { color: var(--text-sec); font-size: 0.9rem; }

.quiz-step { display: none; animation: fadeInStep 0.35s ease both; }
.quiz-step.active { display: block; }
@keyframes fadeInStep {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}
.quiz-step h3 {
    font-size: 1.08rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-family: var(--font-heading);
}
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.quiz-option {
    background: #f8faff;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 15px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    line-height: 1.4;
}
.quiz-option:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6,44,89,0.2);
}
.quiz-progress-wrap {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.quiz-progress-track {
    flex: 1;
    height: 6px;
    background: #e8ecf4;
    border-radius: 6px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg,var(--secondary),var(--accent));
    border-radius: 6px;
    transition: width 0.4s ease;
    width: 0%;
}
.quiz-progress-text {
    font-size: 0.78rem;
    color: var(--text-sec);
    font-weight: 600;
    white-space: nowrap;
}
.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; animation: fadeInStep 0.4s ease both; }
.quiz-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.quiz-result h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 6px; }
.quiz-result-label { font-size: 0.85rem; color: var(--text-sec); margin-bottom: 14px; display: block; }
.quiz-result p { color: #444; font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.quiz-result-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-quiz-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn-quiz-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.45); }
.btn-quiz-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid #d1d9e6;
    color: var(--text-sec);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-quiz-restart:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.quiz-section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
.quiz-section-subtitle i { color: var(--accent); margin-right: 4px; }

@media (max-width: 480px) {
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-result-cta { flex-direction: column; align-items: center; }
    .btn-quiz-whatsapp, .btn-quiz-restart { width: 100%; justify-content: center; }
}

/* ─── WhatsApp Testimonials Section ──────────────────────────── */
.wa-testimonials-section {
    padding: clamp(60px,8vw,100px) 0;
    background: var(--bg-sec);
}
.wa-section-header {
    text-align: center;
    margin-bottom: 46px;
}
.wa-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.wa-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.wa-chat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(6,44,89,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.wa-chat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.11);
}
.wa-chat-header {
    background: linear-gradient(135deg,#075e54,#128C7E);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.25);
}
.wa-chat-header-info { display: flex; flex-direction: column; gap: 2px; }
.wa-chat-header-name { color: #fff; font-weight: 700; font-size: 0.92rem; }
.wa-chat-header-job  { color: rgba(255,255,255,0.75); font-size: 0.74rem; }

.wa-chat-body {
    padding: 16px;
    background-color: #e5ddd5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
}
.wa-bubble {
    max-width: 86%;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 0.87rem;
    line-height: 1.55;
    position: relative;
    word-break: break-word;
}
.wa-bubble-received {
    background: #fff;
    border-radius: 0 8px 8px 8px;
    align-self: flex-start;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-bubble-received::before {
    content: '';
    position: absolute;
    top: 0; left: -7px;
    width: 0; height: 0;
    border-right: 7px solid #fff;
    border-top: 7px solid transparent;
}
.wa-bubble-sent {
    background: #dcf8c6;
    border-radius: 8px 0 8px 8px;
    align-self: flex-end;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-bubble-sent::before {
    content: '';
    position: absolute;
    top: 0; right: -7px;
    width: 0; height: 0;
    border-left: 7px solid #dcf8c6;
    border-top: 7px solid transparent;
}
.wa-bubble-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
}
.wa-ticks { color: #4fc3f7; }

.wa-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.wa-stars i { color: #f5a623; font-size: 0.85rem; }
.wa-stars > span { font-size: 0.78rem; color: #666; margin-left: 6px; font-weight: 600; }
.wa-verified {
    color: #25D366;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.wa-verified i { font-size: 0.72rem; }

/* ─── Scarcity Tag – Product Page ────────────────────────────── */
.scarcity-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,#fff3e0,#ffe0b2);
    color: #bf360c;
    border: 1px solid rgba(191,54,12,0.22);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    animation: pulseScarcity 2.2s ease-in-out infinite;
}
.scarcity-fire { font-size: 1.15rem; }
@keyframes pulseScarcity {
    0%,100% { border-color: rgba(191,54,12,0.22); box-shadow: none; }
    50%      { border-color: rgba(191,54,12,0.5); box-shadow: 0 0 12px rgba(191,54,12,0.12); }
}

/* ─── Sticky Order Bar – Mobile ──────────────────────────────── */
.sticky-order-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid rgba(6,44,89,0.1);
    box-shadow: 0 -4px 20px rgba(6,44,89,0.12);
    padding: 10px 16px 14px;
    z-index: 980;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease;
}
.sticky-order-bar.hidden { transform: translateY(100%); }
.sticky-price-col { display: flex; flex-direction: column; flex-shrink: 0; }
.sticky-price-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; }
.sticky-price-value {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--whatsapp-dk);
    line-height: 1.1;
}
.sticky-price-value small { font-size: 0.7rem; font-weight: 600; margin-left: 2px; }
.sticky-divider { width: 1px; height: 40px; background: rgba(6,44,89,0.1); flex-shrink: 0; }
.btn-sticky-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    padding: 13px 20px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-sticky-wa i { font-size: 1.2rem; }
.btn-sticky-wa:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(37,211,102,0.45); }

@media (max-width: 768px) {
    .sticky-order-bar { display: flex; }
    body.product-page-body { padding-bottom: 80px; }
    /* Push whatsapp float above sticky bar */
    body.product-page-body .whatsapp-float { bottom: 90px; }
}

/* ─── Montres Connectées — Category Card ─────────────────────── */
.category-card--montre .category-icon {
    background: rgba(123, 31, 162, 0.10);
    color: #7b1fa2;
}
.category-card--montre:hover {
    border-color: #7b1fa2;
}
.category-card--montre:hover .category-icon {
    background: linear-gradient(135deg, #4a148c, #7b1fa2);
    color: #fff;
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.35);
}
.category-card--montre .category-count {
    color: #c62828;
    font-weight: 700;
}

/* ─── Product Thumbnail Strip (color variants) ───────────────── */
.product-thumbs-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.product-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 2px solid #e0e6f0;
    border-radius: 12px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-sec);
    min-width: 72px;
}
.product-thumb img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 7px;
    pointer-events: none;
}
.product-thumb:hover {
    border-color: #7b1fa2;
    box-shadow: 0 4px 12px rgba(123,31,162,0.15);
}
.product-thumb.active {
    border-color: #7b1fa2;
    background: rgba(123,31,162,0.04);
    color: #7b1fa2;
    box-shadow: 0 4px 14px rgba(123,31,162,0.18);
}

/* ─── Color Swatch Selector ──────────────────────────────────── */
.color-selector-block {
    margin: 6px 0 2px;
}
.color-selector-label {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin-bottom: 10px;
}
.color-selector-label strong {
    color: var(--primary);
    font-weight: 700;
}
.color-selector-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.color-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    outline: none;
}
.color-swatch:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.color-swatch-active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary), 0 4px 12px rgba(0,0,0,0.2) !important;
    transform: scale(1.08);
}
.color-check {
    color: #fff;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.color-swatch-active .color-check {
    opacity: 1;
}
