/*
 * Infrastructure ERP BTP Landing Page Styles
 * Design system spécifique pour la page RDS ERP BTP
 * Externalisation CSS conforme SXO 2025
 */

/* ============================================
   Hero Section
   ============================================ */
.hero-erp {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-erp h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-erp .highlight {
    color: #2563eb;
}

.hero-erp-lead {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-erp-cta-wrapper {
    margin-top: 30px;
}

.hero-erp-cta-primary {
    margin-right: 15px;
}

/* ============================================
   Infrastructure Badges
   ============================================ */
.infrastructure-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 6px 14px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #374151;
    font-size: 0.8rem;
    border: 1px solid #e5e7eb;
}

/* ============================================
   Benefits Grid
   ============================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border-left: 4px solid #2563eb;
}

.benefit-card:hover {
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* ============================================
   HubSpot Form Styles
   ============================================ */
.hubspot-form-container {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.hubspot-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.hubspot-form-header h3 {
    color: #1e293b;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.hubspot-form-header p {
    color: #374151;
    font-size: 0.95rem;
}

/* Personnalisation du formulaire HubSpot */
.hubspot-form-container .hbspt-form {
    font-family: inherit;
}

.hubspot-form-container .hs-form fieldset {
    max-width: none !important;
}

.hubspot-form-container .hs-form .hs-form-field {
    margin-bottom: 15px;
}

.hubspot-form-container .hs-form .hs-form-field label {
    color: #374151;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.hubspot-form-container .hs-form .hs-input {
    width: 100% !important;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.hubspot-form-container .hs-form .hs-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.hubspot-form-container .hs-form .hs-button {
    background: #2563eb !important;
    color: white !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
}

.hubspot-form-container .hs-form .hs-button:hover {
    background: #1d4ed8 !important;
}

.hubspot-form-container .hs-form .hs-error-msgs {
    color: #dc2626;
    font-size: 12px;
    margin-top: 5px;
}

.hubspot-form-container .hs-form .hs-form-required {
    color: #dc2626;
}

.hubspot-form-footer-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: #374151;
}

/* ============================================
   Security Notice Box
   ============================================ */
.security-notice-box {
    background: #e0f2fe;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #0288d1;
}

.security-notice-text {
    margin: 0;
    font-size: 0.9rem;
    color: #01579b;
}

/* ============================================
   Calculator Container
   ============================================ */
.calculator-container {
    background: #f8fafc;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin: 30px 0;
}

.calc-input-group {
    margin-bottom: 15px;
}

.calc-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.calc-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
}

.calc-result {
    background: #10b981;
    color: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

.calc-result-title {
    font-size: 1.1rem;
}

.calc-result-value {
    font-size: 1.8rem;
    margin: 8px 0;
}

.calc-result-footnote {
    font-size: 0.85rem;
    margin-top: 8px;
    opacity: 0.8;
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cert-badge {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e5e7eb;
}

/* ============================================
   Security Grid
   ============================================ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.security-item {
    text-align: center;
    padding: 20px;
}

.security-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

/* ============================================
   Form Benefits
   ============================================ */
.form-benefits {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    margin-bottom: 20px;
}

.form-benefits h4 {
    color: #1e293b;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #374151;
}

.benefit-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
}

/* ============================================
   CTA Final Section
   ============================================ */
.cta-final-offer-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border: 2px solid #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.cta-final-subtitle {
    margin-bottom: 30px;
}

.cta-final-badges-wrapper {
    margin-top: 25px;
    color: #374151;
}

.cta-final-badges-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cta-final-badge {
    background: #f59e0b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.offer-highlight {
    color: #f59e0b;
}

.offer-highlight-strong {
    font-weight: 700;
    font-size: 1.05em;
}

.cta-btn-margin {
    margin-right: 15px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-erp h1 {
        font-size: 2rem;
    }
    .infrastructure-badges {
        flex-direction: column;
        gap: 10px;
    }
    .hubspot-form-container {
        padding: 25px;
    }
}
