/* ============================================================
   SPI L.A. Préventif - styles des pages modèles du menu
   « Batardeaux » (/batardeau-porte/, et les pages à venir).
   Le commun (en-tête, pied de page, boutons) est dans base.css
   ============================================================ */

/* Des boutons suivent le chapô dans le bandeau de titre */
.page-hero .lead { margin-bottom: 30px; }

/* --- BANDEAU AVANTAGES --- */
.quickbenefits { background: var(--bg-light); border-bottom: 1px solid #eaeaea; padding: 35px 0; }
.quickbenefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 25px; }
.qb-item { display: flex; align-items: center; gap: 14px; }
.qb-item i { font-size: 1.6rem; color: var(--secondary); background: rgba(1,146,239,0.1); width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qb-item strong { display: block; font-family: 'Montserrat', sans-serif; color: var(--primary); font-size: 0.95rem; }
.qb-item span { font-size: 0.85rem; }

/* --- USAGES : une carte par type d'ouverture --- */
.usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; margin-top: 30px; }
.usage-card { display: flex; gap: 26px; align-items: center; background: var(--white); border: 1px solid #eaeaea; border-radius: 18px; padding: 25px; box-shadow: var(--shadow); }
.usage-card > img { flex: 0 0 200px; width: 200px; height: 240px; object-fit: cover; border-radius: 14px; }
.usage-body { flex: 1; min-width: 0; }
.usage-body h3 { font-size: 1.375rem; margin-bottom: 14px; }
.usage-body > p { margin-bottom: 14px; }
.model-specs { display: flex; flex-wrap: wrap; gap: 10px; }
.model-specs span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; background: var(--bg-light); border: 1px solid #e5e9ec; color: var(--text); padding: 7px 14px; border-radius: 8px; }
.model-specs i { color: var(--secondary); }
.model-specs .spec-prix { font-weight: 700; color: var(--primary); }

/* --- ATOUTS --- */
.features-section { background: var(--bg-light); }
.atouts-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin-top: 30px; }
.feature-card { flex: 1 1 300px; max-width: 390px; background: var(--white); border: 1px solid #eaeaea; border-radius: 14px; padding: 32px 28px; box-shadow: var(--shadow); transition: var(--transition); border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-8px); border-bottom-color: var(--secondary); }
.feature-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 18px; }
.feature-card .feature-titre { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.2rem; line-height: 1.2; color: var(--primary); margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; }

/* --- PRIX --- */
.prix-bloc { max-width: 860px; margin: 30px auto 0; }
.prix-table-wrap { overflow-x: auto; border: 1px solid #eaeaea; border-radius: 14px; box-shadow: var(--shadow); }
.prix-table { width: 100%; min-width: 420px; border-collapse: collapse; }
.prix-table th { background: var(--primary); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; text-align: left; padding: 16px 24px; }
.prix-table td { padding: 16px 24px; border-bottom: 1px solid #eaeaea; }
.prix-table tbody tr:nth-child(even) { background: var(--bg-light); }
.prix-table tbody tr:last-child td { border-bottom: 0; }
.prix-table th:last-child, .prix-table td:last-child { text-align: right; }
.prix-table td:last-child { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); white-space: nowrap; }
.prix-note { margin: 30px 0 34px; background: #eaf4fd; border: 1px solid #b8dcf7; border-radius: 14px; padding: 22px 28px; display: flex; flex-direction: column; gap: 10px; }
.prix-note strong { color: var(--primary); }
.prix-note a { color: var(--primary); font-weight: 700; text-decoration: underline; }
.prix-note a:hover { color: var(--secondary); }

/* --- POSE : vidéo + quatre gestes --- */
.pose-section { background: var(--bg-light); }
.pose-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 30px; }
.pose-etapes ol { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.pose-etapes li { display: flex; align-items: center; gap: 18px; }
.pose-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }

/* --- COMMANDE EN QUATRE ÉTAPES --- */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 30px; margin-top: 30px; }
.how-step { text-align: center; padding: 20px; }
.how-num { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.5rem; }
.how-step h3 { font-size: 1.25rem; margin-bottom: 12px; }
.how-step p { font-size: 0.97rem; }

/* --- RÉALISATIONS --- */
.proof-section { background: linear-gradient(135deg, var(--primary), #012f6b); color: var(--white); }
.proof-section .section-title { color: var(--white); }
.real-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin: 30px 0 36px; }
.real-grid img { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }

/* --- FAQ --- */
.faq-list { max-width: 900px; margin: 20px auto 0; }
.faq-item { border: 1px solid #e3e8e7; border-radius: 12px; margin-bottom: 14px; overflow: hidden; background: var(--white); }
.faq-titre { margin: 0; font-size: inherit; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 26px; font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--primary); display: flex; justify-content: space-between; align-items: center; gap: 18px; transition: var(--transition); }
.faq-q:hover { background: var(--bg-light); }
.faq-q i { color: var(--secondary); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 26px 24px; font-size: 0.97rem; }
.faq-a-inner a { color: var(--secondary); text-decoration: underline; }

/* --- CTA --- */
.cta-banner { background-color: var(--secondary); padding: 70px 0; text-align: center; color: var(--white); }
.cta-banner h2 { color: var(--white); margin-bottom: 22px; font-size: 2.4rem; }
.cta-banner p { font-size: 1.12rem; margin-bottom: 35px; max-width: 780px; margin-left: auto; margin-right: auto; font-weight: 600; }
.cta-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1120px) {
    .usage-grid { grid-template-columns: 1fr; }
    .pose-grid { grid-template-columns: 1fr; gap: 30px; }
    .cta-banner h2 { font-size: 1.8rem; }
}

@media (max-width: 600px) {
    .usage-card { flex-direction: column; align-items: stretch; padding: 20px; }
    .usage-card > img { flex: none; width: 100%; height: 240px; }
    .prix-table th, .prix-table td { padding: 14px 16px; }
    .prix-note { padding: 20px; }
}
