/* ════════════════════════════════════════════════════════════════════
   ESTIMATEUR PRIX NETTOYAGE — Ménage Parfait
   File: /public/assets2/css/estimateur.css
   Version: 2.1 (Apr 2026)

   All classes prefixed 'est-' to avoid clashes with style.css
   Includes overrides for global .banner_other, .pricing_sec, .upper_banner
   ════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════
   GLOBAL OVERRIDES (neutralize style.css inheritance for this page)
   ════════════════════════════════════════════════════════════════════ */

/* Hero banner: override global .banner_other padding-top: 230px */
.est-page-banner.banner_other {
    background-size: cover !important;
    background-position: center !important;
    padding: 40px 0 !important;
    padding-top: 120px !important;
}

/* Pricing wrapper: kill global .pricing_sec 40px padding */
.est-page-wrapper.pricing_sec {
    padding: 0 !important;
    background: #f2f2f7 !important;
}

/* Hide the footer banner image on this page */
.est-page-wrapper + .upper_banner {
    display: none !important;
}

/* Mobile hero — responsive.css only targets .bannersec, not .banner_other */
@media screen and (max-width: 767px) {
    .est-page-banner.banner_other {
        padding-top: 90px !important;
        padding-bottom: 30px !important;
    }
    .est-page-banner.banner_other h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }
}

/* ════════════════════════════════════════════════════════════════════
   ESTIMATEUR — All classes prefixed 'est-'
   ════════════════════════════════════════════════════════════════════ */

.est-container {
    --est-blue: #1e88e5;
    --est-blue-light: #42a5f5;
    --est-blue-dark: #1565c0;
    --est-cyan: #00acc1;
    --est-orange: #ff9800;
    --est-green: #4caf50;
    --est-red: #f44336;
    --est-dark: #000000;
    --est-dark-secondary: #3c3c43;
    --est-gray: #3c3c4399;
    --est-separator: #3c3c4333;
    --est-bg: #f2f2f7;
    --est-card: #ffffff;
    --est-radius-sm: 8px;
    --est-radius-md: 12px;
    --est-radius-lg: 16px;
    --est-radius-xl: 20px;
    --est-radius-pill: 999px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
}

@media (min-width: 1024px) {
    .est-container {
        grid-template-columns: 1fr 400px;
        align-items: start;
        padding: 24px;
    }
}

/* PROMO BANNER */
.est-promo-banner {
    background: rgba(255, 152, 0, 0.12);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: var(--est-dark);
    padding: 12px 20px;
    border-radius: var(--est-radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
}

/* SECTION & CARD */
.est-section { margin-bottom: 28px; }
.est-section-header {
    padding: 0 4px 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.08px;
    color: var(--est-gray);
}
.est-card {
    background: var(--est-card);
    border-radius: var(--est-radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--est-separator);
    margin-top: 8px;
    transition: all 0.3s;
}
.est-card:hover {
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.15);
    border-color: rgba(30, 136, 229, 0.3);
}
.est-card + .est-card { margin-top: 12px; }

/* LIST ITEMS */
.est-list-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 0.5px solid var(--est-separator);
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
}
.est-list-item:last-child { border-bottom: none; }
.est-list-item:hover {
    background: rgba(30, 136, 229, 0.05);
    border-left-color: var(--est-blue);
}
.est-list-item:active { background: rgba(30, 136, 229, 0.1); }
.est-list-item.selected {
    background: rgba(30, 136, 229, 0.08);
    border-left-color: var(--est-blue);
    border-right-color: var(--est-blue);
}
.est-list-item.selected::after {
    content: '✓';
    color: var(--est-blue);
    font-weight: bold;
    font-size: 18px;
    margin-left: auto;
    padding-left: 8px;
}
.est-list-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: linear-gradient(135deg, var(--est-blue-light), var(--est-blue));
    border-radius: var(--est-radius-md);
    flex-shrink: 0;
}
.est-list-content { flex: 1; padding: 0 16px; min-width: 0; }
.est-list-title { font-size: 17px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 2px; }
.est-list-subtitle { font-size: 13px; color: var(--est-gray); }
.est-list-price { text-align: right; flex-shrink: 0; }
.est-price-strike { font-size: 13px; color: var(--est-gray); text-decoration: line-through; display: block; }
.est-price-value { font-size: 20px; font-weight: 700; color: var(--est-blue); }

/* STEPPER — Override global button rules from style.css */
.est-stepper-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-top: 1px solid var(--est-separator);
    background: rgba(30, 136, 229, 0.02);
}
.est-stepper-label { font-size: 17px; font-weight: 600; }
.est-stepper {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--est-bg);
    border-radius: var(--est-radius-pill);
    padding: 4px;
}
.est-stepper-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    background: white !important;
    color: var(--est-blue) !important;
    font-size: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.2s;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-weight: normal !important;
    min-width: 32px;
}
.est-stepper-btn:hover { border-color: var(--est-blue) !important; transform: scale(1.05); }
.est-stepper-btn:active { transform: scale(0.95); background: var(--est-blue) !important; color: white !important; }
.est-stepper-value { min-width: 32px; text-align: center; font-weight: 600; }

/* TOGGLE */
.est-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(30, 136, 229, 0.05);
}
.est-toggle-label { font-size: 17px; font-weight: 600; }
.est-toggle-highlight { color: var(--est-blue); }
.est-toggle-switch { position: relative; width: 51px; height: 31px; }
.est-toggle-switch input { opacity: 0; width: 0; height: 0; }
.est-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #e9e9ea;
    border-radius: 16px;
    transition: 0.3s;
}
.est-toggle-slider:before {
    content: "";
    position: absolute;
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
.est-toggle-switch input:checked + .est-toggle-slider { background: var(--est-blue); }
.est-toggle-switch input:checked + .est-toggle-slider:before { transform: translateX(20px); }

/* SIDEBAR (Desktop) */
.est-sidebar-col { display: none; }
@media (min-width: 1024px) {
    .est-sidebar-col { display: block; position: sticky; top: 80px; }
}
.est-sidebar-card {
    background: white;
    border-radius: var(--est-radius-xl);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid var(--est-blue);
}
.est-sidebar-header { font-size: 20px; font-weight: 700; margin-bottom: 24px; }
.est-sidebar-items { max-height: 300px; overflow-y: auto; margin-bottom: 24px; }
.est-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--est-separator);
}
.est-sidebar-item:last-child { border-bottom: none; }
.est-sidebar-item-name { font-size: 15px; color: var(--est-dark-secondary); }
.est-sidebar-item-price { font-weight: 600; }
.est-sidebar-totals { border-top: 2px solid var(--est-separator); padding-top: 16px; }
.est-sidebar-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 15px; }
.est-sidebar-row.est-total {
    border-top: 2px solid var(--est-separator);
    padding-top: 16px;
    margin-top: 8px;
    font-size: 24px;
    font-weight: 700;
}
.est-sidebar-row.est-total .est-sidebar-value { color: var(--est-blue); }
.est-sidebar-savings { color: var(--est-green); }
.est-sidebar-empty { text-align: center; padding: 32px; color: var(--est-gray); font-size: 15px; }
.est-sidebar-subtext { text-align: center; font-size: 13px; color: var(--est-gray); margin-top: 8px; }

/* CTA BUTTONS */
.est-cta {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: var(--est-radius-md);
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    box-sizing: border-box;
}
.est-cta:hover { transform: translateY(-2px); }
.est-cta:active { transform: translateY(0); }
.est-cta-whatsapp {
    background: linear-gradient(180deg, #25d366, #128c7e);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    margin-top: 24px;
}
.est-cta-whatsapp:hover { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
.est-cta-email {
    background: white;
    color: var(--est-blue) !important;
    border: 2px solid var(--est-blue);
    box-shadow: none;
    margin-top: 8px;
}
.est-cta-email:hover { background: rgba(30, 136, 229, 0.05); box-shadow: none; }

/* BOTTOM SHEET (Mobile) */
.est-bottom-sheet {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 1024px) {
    .est-bottom-sheet { display: none; }
}
.est-bottom-sheet.collapsed { transform: translateY(calc(100% - 60px)); }
.est-bottom-sheet.expanded { transform: translateY(0); }
.est-bs-handle {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-top-left-radius: var(--est-radius-xl);
    border-top-right-radius: var(--est-radius-xl);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.est-bs-summary { display: flex; align-items: center; gap: 16px; font-weight: 600; }
.est-bs-total { font-size: 20px; color: var(--est-blue); }
.est-bs-arrow { font-size: 20px; color: var(--est-gray); transition: transform 0.3s; }
.est-bottom-sheet.expanded .est-bs-arrow { transform: rotate(180deg); }
.est-bs-content { background: white; max-height: 60vh; overflow-y: auto; padding: 24px; }
.est-bs-items { margin-bottom: 24px; }
.est-bs-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--est-separator);
}
.est-bs-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s;
}
.est-bs-overlay.active { display: block; opacity: 1; }

/* FLOATING PHONE (Mobile) */
.est-floating-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    bottom: 80px;
    right: 12px;
    z-index: 1001;
    background: var(--est-blue);
    color: white;
    padding: 10px 16px;
    border-radius: var(--est-radius-pill);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.4);
    transition: all 0.2s;
}
.est-floating-phone:active { transform: scale(0.95); }
@media (min-width: 1024px) {
    .est-floating-phone { display: none; }
}

/* MINIMUM WARNING */
.est-min-warning {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: var(--est-radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: #e65100;
    margin-top: 8px;
}
.est-min-warning.visible { display: flex; }

/* TOAST */
.est-toast {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 20px;
    border-radius: var(--est-radius-pill);
    font-size: 14px;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    white-space: nowrap;
}
.est-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* FAQ */
.est-faq-item {
    margin-bottom: 8px;
    border: 2px solid var(--est-separator);
    border-radius: var(--est-radius-md);
    overflow: hidden;
    transition: all 0.3s;
}
.est-faq-item:hover { border-color: var(--est-blue); box-shadow: 0 4px 12px rgba(30, 136, 229, 0.15); }
.est-faq-item.active { border-color: var(--est-blue); }
.est-faq-question {
    padding: 16px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.2s;
    gap: 12px;
}
.est-faq-question:hover { background: var(--est-bg); }
.est-faq-arrow { transition: transform 0.3s; color: var(--est-blue); flex-shrink: 0; }
.est-faq-item.active .est-faq-arrow { transform: rotate(180deg); }
.est-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    padding: 0 16px;
    color: var(--est-dark-secondary);
    font-size: 15px;
    line-height: 1.6;
}
.est-faq-item.active .est-faq-answer { max-height: 1200px; padding: 16px; }

/* DIMENSIONS GUIDE (FAQ helper) */
.est-dimensions-guide {
    background: var(--est-bg);
    padding: 16px;
    border-radius: var(--est-radius-md);
    margin: 12px 0 0;
    border-left: 4px solid var(--est-blue);
}
.est-dimensions-guide h4 { margin: 0 0 8px; color: var(--est-blue); font-size: 15px; font-weight: 700; }
.est-dimensions-guide p { margin: 0 0 8px; font-size: 14px; }
.est-dimensions-list { list-style: none; padding: 0; margin: 8px 0 0; }
.est-dimensions-list li { padding: 8px 0; border-bottom: 1px solid var(--est-separator); font-size: 14px; }
.est-dimensions-list li:last-child { border-bottom: none; }

/* TRUST & CONTACT */
.est-trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.est-trust-badge {
    background: white;
    padding: 16px;
    border-radius: var(--est-radius-md);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.est-trust-badge-icon { font-size: 24px; margin-bottom: 4px; }
.est-trust-badge-text { font-size: 13px; color: var(--est-dark-secondary); }
.est-contact-card {
    background: linear-gradient(135deg, var(--est-red), var(--est-red));
    color: white;
    padding: 32px;
    border-radius: var(--est-radius-lg);
    text-align: center;
}
.est-contact-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.est-contact-items { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.est-contact-item { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; }
.est-contact-item a { color: white; text-decoration: none; }

/* TRUST AVATARS */
.est-avatars-section {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(30, 136, 229, 0.05);
    border-radius: var(--est-radius-md);
    margin-bottom: 24px;
}
.est-avatars-stack { display: flex; }
.est-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
    background: #f0f0f0;
}
.est-avatar img { width: 100%; height: 100%; object-fit: cover; }
.est-avatar:not(:first-child) { margin-left: -12px; }
.est-avatar.plus {
    background: var(--est-red);
    color: white;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.est-trust-text { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.4; }

/* MOBILE SPACING & SIZING */
@media (max-width: 1023px) {
    .est-content-col { padding-bottom: 120px; }
    .est-avatars-section { padding: 8px; }
    .est-avatar { width: 38px; height: 38px; }
    .est-trust-text { font-size: 13px; }
    .est-trust-badges { grid-template-columns: 1fr 1fr; }
    .est-list-item { padding: 14px 12px; }
    .est-list-content { padding: 0 10px; }
    .est-list-title { font-size: 15px; }
    .est-list-subtitle { font-size: 12px; }
    .est-price-value { font-size: 16px; }
    .est-price-strike { font-size: 12px; }
}
@media (max-width: 480px) {
    .est-trust-badges { grid-template-columns: 1fr; }
}

/* SEO CONTENT SECTIONS */
.est-seo-card {
    background: var(--est-card);
    border-radius: var(--est-radius-lg);
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--est-separator);
    margin-bottom: 24px;
}
.est-seo-card h2 { font-size: 24px; font-weight: 700; color: var(--est-dark); margin: 0 0 16px 0; line-height: 1.3; }
.est-seo-card h3 { font-size: 18px; font-weight: 600; color: var(--est-blue); margin: 24px 0 12px 0; }
.est-seo-card p { font-size: 15px; line-height: 1.7; color: var(--est-dark-secondary); margin: 0 0 16px 0; }
.est-seo-card p:last-child { margin-bottom: 0; }
.est-seo-card strong { color: var(--est-dark); }
.est-seo-card ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.est-seo-card ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--est-dark-secondary);
}
.est-seo-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--est-green); font-weight: bold; }

/* Highlight box */
.est-highlight-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 104, 76, 0.1));
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: var(--est-radius-md);
    padding: 16px 20px;
    margin-top: 20px;
}
.est-highlight-box p { margin: 0; font-weight: 600; color: var(--est-dark); }
.est-highlight-box a { color: var(--est-blue); text-decoration: none; font-weight: 700; }
.est-highlight-box a:hover { text-decoration: underline; }

/* Process steps */
.est-process-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px 0; }
@media (min-width: 768px) {
    .est-process-steps { grid-template-columns: 1fr 1fr; }
}
.est-process-step {
    background: var(--est-bg);
    border-radius: var(--est-radius-md);
    padding: 20px;
    border-left: 4px solid var(--est-blue);
}
.est-process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--est-blue);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}
.est-process-step h4 { font-size: 16px; font-weight: 600; color: var(--est-dark); margin: 0 0 8px 0; }
.est-process-step p { font-size: 14px; margin: 0; color: var(--est-gray); }

/* Comparison table */
.est-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border-radius: var(--est-radius-sm);
}
.est-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}
.est-comparison-table th, .est-comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--est-separator);
}
.est-comparison-table th {
    background: var(--est-blue);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}
.est-comparison-table th:first-child { border-radius: var(--est-radius-sm) 0 0 0; }
.est-comparison-table th:last-child { border-radius: 0 var(--est-radius-sm) 0 0; }
.est-comparison-table td:first-child {
    font-weight: 600;
    color: var(--est-dark);
    background: var(--est-bg);
}
.est-comparison-table tr:nth-child(even) td:not(:first-child) { background: rgba(30, 136, 229, 0.03); }
.est-comparison-table .est-winner { color: var(--est-green); font-weight: 600; }
.est-comparison-table .est-loser { color: var(--est-gray); }

/* Advantages grid */
.est-advantages-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0; }
@media (min-width: 600px) {
    .est-advantages-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .est-advantages-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.est-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--est-bg);
    border-radius: var(--est-radius-md);
    transition: all 0.2s;
}
.est-advantage-item:hover { background: rgba(30, 136, 229, 0.08); transform: translateY(-2px); }
.est-advantage-icon { font-size: 24px; flex-shrink: 0; }
.est-advantage-text { font-size: 14px; line-height: 1.5; color: var(--est-dark-secondary); }
.est-advantage-text strong { display: block; color: var(--est-dark); margin-bottom: 4px; }

/* CTA inline */
.est-inline-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--est-blue);
    color: white;
    padding: 12px 24px;
    border-radius: var(--est-radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 16px;
    transition: all 0.2s;
}
.est-inline-cta:hover {
    background: var(--est-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
    color: white;
}

/* Section divider */
.est-section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--est-blue), transparent);
    margin: 32px 0;
    opacity: 0.3;
}

/* SEO card mobile */
@media (max-width: 600px) {
    .est-seo-card { padding: 20px 16px; }
    .est-seo-card h2 { font-size: 20px; }
    .est-seo-card h3 { font-size: 16px; }
}