/* AgriMap Pro — shared styles for product landing pages
 * (/prospection-fonciere/, /pack-carriere/, /pack-energies-renouvelables/)
 * Pattern inspired by frontend/styles/plui.css.
 */

.pro-hero { padding: 42px 0 32px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: white; }
.pro-hero.theme-carriere { background: linear-gradient(180deg, #2b2a2a 0%, #1a1918 100%); }
.pro-hero.theme-enr      { background: linear-gradient(180deg, #0f4c35 0%, #0a3326 100%); }
.pro-hero-inner { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.pro-hero h1 { font-size: 34px; line-height: 1.2; margin: 12px 0 10px; letter-spacing: -0.3px; }
.pro-hero .subtitle { font-size: 17px; line-height: 1.55; opacity: 0.9; max-width: 720px; }
.pro-hero .breadcrumb { font-size: 13px; opacity: 0.7; margin-bottom: 4px; }
.pro-hero .breadcrumb a { color: inherit; text-decoration: underline; }
.pro-hero-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.pro-btn { display: inline-block; padding: 11px 22px; border-radius: 4px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 0; }
.pro-btn-primary { background: #22c55e; color: #052e16; }
.pro-btn-primary:hover { background: #4ade80; }
.pro-hero.theme-carriere .pro-btn-primary { background: #c97c34; color: white; }
.pro-hero.theme-carriere .pro-btn-primary:hover { background: #e39852; }
.pro-btn-secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.4); }
.pro-btn-secondary:hover { background: rgba(255,255,255,0.08); }

.pro-page { max-width: 960px; margin: 0 auto; padding: 0 20px 60px; }
.pro-section { padding: 36px 0; border-bottom: 1px solid #e5e7eb; }
.pro-section:last-child { border-bottom: 0; }
.pro-section h2 { font-size: 24px; margin-bottom: 14px; color: #1f2937; }
.pro-section h3 { font-size: 17px; margin: 18px 0 8px; color: #1f2937; }
.pro-section p, .pro-section li { font-size: 15px; line-height: 1.6; color: #374151; }
.pro-section p { margin-bottom: 10px; }
.pro-section ul, .pro-section ol { margin: 10px 0 10px 24px; }
.pro-section ul li, .pro-section ol li { margin-bottom: 6px; }
.pro-section strong { color: #1f2937; }

.pro-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 8px; }
@media (max-width: 720px) { .pro-steps { grid-template-columns: repeat(2, 1fr); } }
.pro-step { padding: 14px 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; border-top: 3px solid #d1d5db; text-align: left; font-family: inherit; cursor: default; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
button.pro-step { cursor: pointer; }
button.pro-step:hover { background: #f3f4f6; }
.pro-step.is-active { border-top-color: #c97c34; background: #fef9f3; }
.theme-enr .pro-step.is-active { border-top-color: #2f8f1e; background: #f3fbee; }
.pro-step .num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #9ca3af; color: white; font-weight: 700; font-size: 14px; margin-bottom: 6px; transition: background 0.15s; }
.pro-step.is-active .num { background: #c97c34; }
.theme-enr .pro-step.is-active .num { background: #2f8f1e; }
.pro-step h4 { font-size: 15px; margin-bottom: 4px; color: #1f2937; }
.pro-step p { font-size: 13px; line-height: 1.5; margin: 0; color: #4b5563; }

.pro-screenshot { margin: 20px 0; border: 1px solid #d1d5db; border-radius: 6px; overflow: hidden; background: #f3f4f6; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.pro-screenshot img { width: 100%; display: block; }
.pro-screenshot figcaption { font-size: 12px; color: #6b7280; padding: 8px 14px; background: white; border-top: 1px solid #e5e7eb; }

.pro-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.pro-table th, .pro-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.pro-table th { background: #f3f4f6; font-weight: 700; color: #1f2937; font-size: 13px; text-transform: uppercase; letter-spacing: 0.3px; }
.pro-table td code { background: #f3f4f6; padding: 1px 6px; border-radius: 3px; font-size: 12px; }
.pro-table .custom-row td { background: #fef3c7; border-left: 3px solid #f59e0b; font-style: italic; color: #78350f; }

.pricing-table .price-cell { font-weight: 700; color: #1f2937; white-space: nowrap; }
.pricing-table .note-cell { color: #6b7280; font-size: 13px; }

.pro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
@media (max-width: 720px) { .pro-cards { grid-template-columns: 1fr; } }
.pro-card { padding: 18px 20px; background: white; border: 1px solid #e5e7eb; border-left-width: 4px; border-left-color: #c97c34; border-radius: 6px; text-decoration: none; color: inherit; transition: box-shadow 0.15s; display: block; }
.pro-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.pro-card.theme-enr { border-left-color: #2f8f1e; }
.pro-card.theme-custom { border-left-color: #6b7280; }
.pro-card .tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.4px; font-weight: 700; color: #c97c34; display: block; margin-bottom: 3px; }
.pro-card.theme-enr .tag { color: #2f8f1e; }
.pro-card.theme-custom .tag { color: #6b7280; }
.pro-card h3 { font-size: 17px; margin-bottom: 6px; color: #1f2937; }
.pro-card p { font-size: 13.5px; line-height: 1.5; color: #4b5563; margin: 0; }
.pro-card .more { display: inline-block; margin-top: 10px; font-size: 13px; color: #c97c34; font-weight: 600; }
.pro-card.theme-enr .more { color: #2f8f1e; }

.pro-cta { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 6px; padding: 24px; text-align: center; margin: 24px 0; }
.pro-cta h3 { font-size: 20px; margin-bottom: 6px; }
.pro-cta p { font-size: 14px; color: #4b5563; margin-bottom: 14px; }

.pro-faq details { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 4px; padding: 14px 16px; margin-bottom: 8px; }
.pro-faq summary { cursor: pointer; font-weight: 600; color: #1f2937; font-size: 15px; }
.pro-faq details[open] summary { margin-bottom: 8px; }
.pro-faq p { font-size: 14px; margin-bottom: 0; }

.pro-footnote { font-size: 12px; color: #6b7280; margin-top: 20px; font-style: italic; }
