/* ============================================================================
   STYLES PARTAGÉS SERVICES MYTEL
   Styles communs pour toutes les pages de services
============================================================================ */

/* Hero Section Services */
.hero-telephonie { background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%); }
.hero-securite { background: linear-gradient(135deg, #cc0000 0%, #ff3333 100%); }
.hero-mobilite { background: linear-gradient(135deg, #00cc66 0%, #00ff88 100%); }
.hero-ia { background: linear-gradient(135deg, #9900cc 0%, #cc33ff 100%); }
.hero-crm { background: linear-gradient(135deg, #cc6600 0%, #ff8833 100%); }

/* Section Bénéfices Simples */
.benefits-simple {
    padding: 80px 20px;
    background: #f8f9fa;
}

.benefits-simple h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #212529;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #212529;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Section Fonctionnalités */
.features-section {
    padding: 80px 20px;
    background: white;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #212529;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
}

.feature-item i {
    color: #28a745;
    font-size: 24px;
    margin-top: 5px;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #212529;
}

.feature-item span {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Tarification Simple */
.pricing-simple {
    padding: 80px 20px;
    background: #f8f9fa;
}

.pricing-simple h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #212529;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
}

.price-card.featured {
    border: 3px solid #0066cc;
    box-shadow: 0 8px 30px rgba(0,102,204,0.2);
}

.price-card .badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #0066cc;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #212529;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

.price span {
    font-size: 1.2rem;
    color: #6c757d;
}

.price-desc {
    color: #6c757d;
    margin-bottom: 30px;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.price-card li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-card li:last-child {
    border-bottom: none;
}

.price-card li i {
    color: #28a745;
    margin-right: 10px;
}

.btn-price {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-price:hover {
    background: #0052a3;
}

/* PAGE FORMULAIRE - Layout Optimisé */
.form-page {
    padding: 100px 20px 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.form-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Texte à gauche */
.form-info {
    position: sticky;
    top: 100px;
}

.form-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #212529;
}

.form-info .lead {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-benefits {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.info-benefit {
    display: flex;
    gap: 15px;
    align-items: start;
}

.info-benefit i {
    color: #28a745;
    font-size: 24px;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-benefit strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #212529;
}

.info-benefit p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.trust-indicators {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-number {
    font-size: 2rem;
    font-weight: bold;
    color: #0066cc;
}

.trust-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.contact-direct {
    padding: 25px;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border-radius: 12px;
}

.contact-direct p {
    margin: 10px 0;
}

.contact-direct a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* Formulaire à droite (simplifié) */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.form-header {
    margin-bottom: 30px;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #212529;
}

.form-header p {
    color: #6c757d;
}

.simple-form .form-group {
    margin-bottom: 20px;
}

.simple-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
}

.simple-form input,
.simple-form select,
.simple-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.simple-form input:focus,
.simple-form select:focus,
.simple-form textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 20px;
}

.form-note i {
    color: #28a745;
    margin-right: 5px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 30px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.modal-header i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    padding: 30px;
}

.next-steps {
    margin: 25px 0;
}

.next-steps h4 {
    margin-bottom: 15px;
    color: #212529;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 10px 0;
    display: flex;
    align-items: start;
    gap: 10px;
}

.next-steps i {
    color: #0066cc;
    margin-top: 4px;
}

.btn-phone {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
}

.modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.btn-secondary {
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.btn-primary {
    padding: 12px 25px;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 968px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-info {
        position: static;
    }

    .benefits-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .trust-indicators {
        justify-content: space-around;
    }
}
