/*
    Page : Envoi de palette économique
    Réutilise les tokens globaux (--couleur-vert-paletiz, --paletiz-dark, --paletiz-gray)
    déjà définis dans assets/css/paletiz.css.
*/

/* -- Hero -- */
.hero-section {
    background: linear-gradient(135deg, rgba(34,34,34,0.82), rgba(27,94,32,0.82));
    background-image: linear-gradient(135deg, rgba(34,34,34,0.82), rgba(27,94,32,0.82)), url(../../../assets/img/envoi_palette_economique_paletiz.jpg);
    background-size: cover;
    background-position: center center;
    height: auto;
    min-height: 60vh;
    color: #fff;
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
}
.hero-section h1 span { color: var(--couleur-vert-paletiz); }
.hero-section .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    margin: 20px 0 30px;
}
.badge-stat {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.9rem;
    display: inline-block;
    margin: 5px 5px 5px 0;
}

/* -- Sections génériques -- */
section { padding: 64px 0; }
section.bg-light-gray { background: var(--paletiz-gray); }
h2.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--paletiz-dark);
}
h2.section-title span { color: var(--couleur-vert-paletiz); }
.section-subtitle {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* -- Cards facteurs de prix -- */
.problem-card {
    border-left: 4px solid var(--paletiz-dark);
    background: #f5f7fa;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.problem-card .icon { font-size: 1.5rem; margin-bottom: 8px; color: var(--couleur-vert-paletiz); }

/* -- Cards conseils -- */
.solution-card {
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
}
.solution-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.solution-card .icon {
    width: 52px;
    height: 52px;
    background: var(--couleur-vert-paletiz);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #fff;
}
.solution-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }

/* -- Grille par poids -- */
.weight-table th { background: var(--paletiz-dark); color: #fff; }
.weight-table td { vertical-align: middle; }
.link-simulate {
    color: var(--couleur-vert-paletiz);
    font-weight: 700;
    text-decoration: none;
}
.link-simulate:hover { text-decoration: underline; }

/* -- Comparatif -- */
.compare-table th { background: var(--paletiz-dark); color: #fff; }
.compare-table th:last-child { background: var(--couleur-vert-paletiz); }
.compare-table td { vertical-align: middle; }
.check-yes { color: #28a745; font-weight: 700; font-size: 1.025rem; }
.check-no { color: #dc3545; }
.check-med { color: #fd7e14; }

/* -- FAQ -- */
.faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    font-weight: 700;
    font-size: 1rem;
    color: var(--paletiz-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer { margin-top: 12px; color: #555; font-size: 0.97rem; display: none; }
.faq-answer.open { display: block; }
.faq-toggle { color: var(--couleur-vert-paletiz); font-size: 1.3rem; }

/* -- CTA final -- */
.cta-section {
    background: linear-gradient(135deg, var(--couleur-vert-paletiz), var(--couleur-vert-paletiz-dark));
    color: #fff;
    padding: 70px 0;
    text-align: center;
}
.cta-section h2 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 32px; }
.btn-white {
    background: #fff;
    color: var(--couleur-vert-paletiz);
    border: none;
    padding: 15px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}
.btn-white:hover { background: var(--paletiz-dark); color: #fff; }

/* -- Liens internes -- */
a.internal-link { color: var(--couleur-vert-paletiz); font-weight: 600; }

@media (max-width: 768px) {
    .hero-section h1 { font-size: 1.7rem; }
    .btn-outline-paletiz { margin: 12px 0 0 0; display: block; text-align: center; }
}

#AvantageEnvoiEconomique .row { display: flex; flex-wrap: wrap; }
#AvantageEnvoiEconomique .row .col-lg-3 { margin-top: 1.5rem; }
