/* Sections ajoutées aux pages offres (étapes, matériaux, budget, profils,
   réalisations, FAQ). Reprend les couleurs du thème GeneratePress. */
.pip-sec { padding: 64px 20px; background: var(--base-3, #fff); color: var(--contrast, #101528); }
.pip-sec.pip-alt { background: var(--base-2, #f7f8f9); }
.pip-sec.pip-dark { background: var(--contrast-2, #1f2641); color: #fff; }
.pip-wrap { max-width: 1200px; margin: 0 auto; }
.pip-sec h2 { font-size: 32px; line-height: 1.25; margin: 0 0 16px; }
.pip-sec.pip-dark h2 { color: #fff; }
.pip-sec h3 { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.pip-lead { font-size: 17px; max-width: 760px; margin: 0 0 32px; }
.pip-sec p { margin: 0 0 12px; }

/* Étapes */
.pip-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; counter-reset: pip-step; }
.pip-steps li { position: relative; padding: 56px 20px 20px; background: var(--base-2, #f7f8f9); border-radius: 12px; counter-increment: pip-step; }
.pip-steps li::before { content: counter(pip-step); position: absolute; top: 16px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-2, #fbd711); color: var(--contrast, #101528); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pip-steps p { font-size: 15px; margin: 0; }

/* Tableau matériaux */
.pip-table { overflow-x: auto; border-radius: 12px; border: 1px solid #e3e6ea; background: #fff; }
.pip-table table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15px; }
.pip-table th { background: var(--contrast-2, #1f2641); color: #fff; text-align: left; padding: 14px 16px; font-weight: 600; white-space: nowrap; }
.pip-table td { padding: 14px 16px; border-top: 1px solid #e3e6ea; vertical-align: top; }
.pip-table td:first-child { font-weight: 600; }
.pip-table tr:nth-child(even) td { background: #fafbfc; }

/* Budget */
.pip-2col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.pip-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pip-cards li { padding: 20px; border-radius: 12px; background: var(--base-2, #f7f8f9); border-left: 4px solid var(--accent-3, #ff3d77); }
.pip-cards p { font-size: 15px; margin: 0; }
.pip-btn { display: inline-block; width: auto; margin-top: 8px; padding: 14px 24px; border-radius: 5px; background: var(--accent-2, #fbd711); color: var(--contrast, #101528) !important; font-weight: 600; text-decoration: none; }
.pip-btn:hover { background: #ffe34d; }

/* Profils */
.pip-grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.pip-grid4 > div { padding: 24px; border-radius: 12px; background: #fff; box-shadow: 0 2px 12px rgba(16, 21, 40, .06); }
.pip-grid4 p { font-size: 15px; margin: 0; }

/* Réalisations */
.pip-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pip-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 12px rgba(16, 21, 40, .08); }
.pip-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pip-gallery figcaption { padding: 14px 18px; font-size: 15px; line-height: 1.4; }

/* FAQ */
.pip-faq details { background: #fff; border-radius: 10px; margin: 0 0 12px; border: 1px solid #e3e6ea; }
.pip-faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 20px; font-weight: 600; position: relative; }
.pip-faq summary::-webkit-details-marker { display: none; }
.pip-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--accent-3, #ff3d77); }
.pip-faq details[open] summary::after { content: "–"; }
.pip-faq details p { padding: 0 20px 18px; margin: 0; }

/* Bandeau France */
.pip-band { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.pip-band > div { max-width: 760px; }
.pip-band p { margin: 0; font-size: 17px; }

@media (max-width: 768px) {
  .pip-sec { padding: 44px 16px; }
  .pip-sec h2 { font-size: 26px; }
  .pip-2col, .pip-cards, .pip-gallery { grid-template-columns: 1fr; gap: 24px; }
}
