/**************************************************************
   CMS Pages - France Déneigement
   Template : B2B Fiche Produit
   Fichier complet - remplace /themes/default-bootstrap/css/cms.css

   Charte : Arial | #1d496f | Flat design B2B
   Compatible TinyMCE : uniquement HTML classique (div, p, ul, table)
***************************************************************/


/* ==============================================================
   1. BASE CMS
   ============================================================== */

#cms #center_column {
    max-width: 1250px;
    padding: 40px 20px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #1d496f;
}

#cms .breadcrumb {
    display: none;
}

#cms #center_column img {
    max-width: 100%;
    height: auto;
}


/* ==============================================================
   2. MASQUER LES H1 NATIFS PRESTASHOP
   Le fd-header fournit son propre h1 stylé
   ============================================================== */

#cms #center_column > h1,
#cms h1.page-heading,
#cms .page-subheading {
    display: none !important;
}

#cms .fd-header h1 {
    display: block !important;
}


/* ==============================================================
   3. TYPOGRAPHIE DE BASE
   ============================================================== */

#cms #center_column p {
    color: #1d496f;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}

#cms #center_column h2 {
    color: #1d496f;
    font-size: 22px;
    font-weight: 600;
    margin: 36px 0 16px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #1d496f;
}

#cms #center_column h3 {
    color: #1d496f;
    font-size: 17px;
    font-weight: 600;
    margin: 24px 0 8px 0;
}

#cms #center_column strong {
    color: #1d496f;
    font-weight: 600;
}

#cms #center_column a {
    color: #1d496f;
    text-decoration: underline;
}

#cms #center_column a:hover {
    color: #163855;
}


/* ==============================================================
   4. HEADER — bandeau de titre avec barre bleue
   ============================================================== */

.fd-header {

    padding-top: 60px;
    margin-bottom: 32px;
}

.fd-header-kicker {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #1d496f;
    opacity: 0.6;
    font-weight: 600;
    margin-bottom: 8px;
}

#cms .fd-header h1 {
    color: #1d496f;
    font-size: 30px;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.2;
    padding: 0;
    border: 0;
    background: none;
    text-transform: none;
}

.fd-header-subtitle {
    color: #1d496f;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 1200px;
    margin: 0;
}


/* ==============================================================
   5. TABLEAU CARACTÉRISTIQUES
   ============================================================== */

.fd-specs {
    background: #F7F9FB;
    border: 1px solid #E1E5EB;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 0 32px 0;
}

.fd-specs-header {
    background: #1d496f;
    color: #FFFFFF !important;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.fd-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin: 0;
}

.fd-specs table tr {
    border-bottom: 1px solid #E1E5EB;
}

.fd-specs table tr:last-child {
    border-bottom: none;
}

.fd-specs table tr:nth-child(even) {
    background: #FFFFFF;
}

.fd-specs table td {
    padding: 14px 24px;
    color: #1d496f;
    line-height: 1.5;
    vertical-align: top;
}

.fd-specs table td:first-child {
    font-weight: 600;
    width: 40%;
}


/* ==============================================================
   6. LISTE À PUCES VERTES (processus, avantages)
   ============================================================== */

.fd-checklist {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
}

.fd-checklist li {
    padding: 14px 0 14px 40px;
    position: relative;
    color: #1d496f;
    font-size: 15px;
    line-height: 1.6;
    border-bottom: 1px solid #E1E5EB;
    list-style: none;
}

.fd-checklist li:last-child {
    border-bottom: none;
}

.fd-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    background: #E8F4EC;
    color: #2E7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}


/* ==============================================================
   7. CALLOUT — encadré point d'attention
   ============================================================== */

.fd-callout {
    padding: 16px 20px;
    border-radius: 0 6px 6px 0;
    margin: 0 0 32px 0;
}

.fd-callout-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.fd-callout-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.fd-callout-warning {
    background: #FFF7E6;
    border-left: 4px solid #F2A623;
}

.fd-callout-warning .fd-callout-title,
.fd-callout-warning .fd-callout-text,
.fd-callout-warning p {
    color: #8B5A00;
}

.fd-callout-info {
    background: #E8F1F9;
    border-left: 4px solid #1d496f;
}

.fd-callout-info .fd-callout-title,
.fd-callout-info .fd-callout-text,
.fd-callout-info p {
    color: #1d496f;
}

.fd-callout-success {
    background: #E8F4EC;
    border-left: 4px solid #2E7D32;
}

.fd-callout-success .fd-callout-title,
.fd-callout-success .fd-callout-text,
.fd-callout-success p {
    color: #1B5E20;
}


/* ==============================================================
   8. FAQ (questions/réponses dépliées)
   ============================================================== */

.fd-faq-item {
    padding: 20px 0;
    border-bottom: 1px solid #E1E5EB;
}

.fd-faq-item:last-child {
    border-bottom: none;
}

.fd-faq-question {
    color: #1d496f;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.fd-faq-answer {
    color: #1d496f;
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
    margin: 0;
}


/* ==============================================================
   9. CTA DE FIN DE PAGE
   ============================================================== */

.fd-cta {
    background: #F0F4F8;
    border-radius: 8px;
    padding: 28px 32px;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.fd-cta-content {
    flex: 1;
    min-width: 250px;
}

.fd-cta-title {
    color: #1d496f;
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.fd-cta-subtitle {
    color: #1d496f;
    font-size: 14px;
    opacity: 0.75;
    margin: 0;
}

.fd-cta-btn {
    display: inline-block;
    background: #1d496f;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.fd-cta-btn:hover {
    background: #163855;
    color: #FFFFFF !important;
}


/* ==============================================================
   10. RESPONSIVE - Mobile (< 768px)
   ============================================================== */

@media (max-width: 768px) {

    #cms #center_column {
        padding: 24px 16px;
    }

    #cms .fd-header h1 {
        font-size: 26px;
    }

    .fd-header-subtitle {
        font-size: 15px;
    }

    #cms #center_column h2 {
        font-size: 20px;
    }

    .fd-specs-header {
        padding: 12px 16px;
        font-size: 14px;
    }

    .fd-specs table td {
        padding: 12px 16px;
        font-size: 14px;
    }

    .fd-specs table td:first-child {
        width: 45%;
    }

    .fd-cta {
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .fd-cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .fd-header {

    padding-top: 15px;
    margin-bottom: 32px;
}
    
}

/**************************************************************
   AJOUT CSS — Masquer le breadcrumb sur les pages CMS
   À COLLER À LA FIN de /themes/default-bootstrap/css/cms.css
***************************************************************/


/* ==============================================================
   Masquage du breadcrumb sur toutes les pages CMS
   ============================================================== */

body#cms .breadcrumb,
body#cms nav.breadcrumb,
body#cms #columns .breadcrumb,
body#cms ol.breadcrumb,
body#cms ul.breadcrumb {
    display: none !important;
}
