/*
 Theme Name:   Addison Child
 Theme URI:    http://addison.bold-themes.com
 Description:  Addison Child Theme
 Author:       BoldThemes
 Author URI:   http://bold-themes.com
 Template:     addison
 Version:      1.0.0
 Tags:         one-column, right-sidebar, custom-menu, featured-images, sticky-post, theme-options, threaded-comments, translation-ready
 Text Domain:  addison-child
*/


/* Theme customization starts here
-------------------------------------------------------------- */

/* === AZ ECO Fix Begin === */

/* --- Overflow global --- */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100% !important; }

/* --- Bold Builder wrappers --- */
.bt-bb-section, .bt-bb-row, .bt-bb-column {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* --- Sections internes --- */
section, .hero, .stats-band, .pitch,
.services, .cee, .solution,
.process, .testi, .elec,
.cta-final, .certs {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

/* Hero glow decoration (depasse de 140px a droite) */
.hero-glow-r, .hero-glow-l {
    clip-path: inset(0) !important;
}

/* --- B2 Pitch card : valeurs qui debordent --- */
.pc-row-val {
    white-space: normal !important;
    font-size: 13px !important;
    word-break: break-word !important;
    max-width: 110px !important;
}
.pc-row {
    padding: 10px 14px !important;
    gap: 8px !important;
}
.pc-row-name {
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    min-width: 0 !important;
}
.pc-context {
    flex-wrap: wrap !important;
    padding: 10px 14px !important;
    gap: 5px !important;
}
.pc-footer {
    flex-wrap: wrap !important;
    padding: 14px !important;
    gap: 6px !important;
}
.pc-footer-val { font-size: 17px !important; }

@media (max-width: 600px) {
    .stats-band { padding: 0 12px !important; }
    .stat-item  { padding: 16px 8px !important; }
    .stat-val   { font-size: 22px !important; }
    .pitch      { padding: 56px 16px !important; }
    .stats-inner { grid-template-columns: 1fr 1fr !important; }
}

/* --- B4 CEE : overflow et fiches --- */
.cee-fiche { overflow: hidden !important; }
.cee-fiche-code {
    font-size: 10px !important;
    flex-shrink: 0 !important;
}
.cee-fiche-name {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.cee-fiche-prime {
    font-size: 10px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
.cee-flow-step { overflow: hidden !important; }
.cee-flow-txt {
    min-width: 0 !important;
    flex: 1 !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

@media (max-width: 400px) {
    .cee-secteurs { grid-template-columns: 1fr !important; }
    .cee { padding: 56px 12px !important; }
}

/* --- B5 Processus : 1 colonne sur tres petit ecran --- */
@media (max-width: 420px) {
    .proc-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .ph-num  { width: 36px !important; height: 36px !important; font-size: 13px !important; }
    .ph-desc { font-size: 12px !important; }
}

/* --- BOUTONS : texte blanc partout --- */
.btn-main,
.btn-sim,
.btn-sol,
.btn-all,
.btn-sec,
.btn-outline-w { color: #ffffff !important; }

.btn-elec {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.btn-elec:hover { color: #ffffff !important; }

/* B6 exception : fond blanc -> texte vert */
.btn-white { color: #0F6E56 !important; }
.btn-white:hover { color: #0F6E56 !important; }

/* === AZ ECO Fix End === */
