/* Réplication du design des tarifs Lovable */
:root {
    --lovable-primary: #F57A00;
    --lovable-bg: #FFFFFF;
    /* L'image montre un fond blanc initialement */
    --lovable-card-bg: #FFFFFF;
    --lovable-text-main: #181D25;
    --lovable-text-muted: #676F7E;
    --lovable-border: #E5E7EB;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--lovable-bg);
    color: var(--lovable-text-main);
    background-size: 24px 24px;
}

.pricing-page-section {
    padding: 100px 0;
    background-color: transparent;
}

/* Section En-tête */
.pricing-header-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.header-badge.orange {
    background-color: #FFF7ED;
    color: #F57A00;
    border: 1px solid #FFEDD5;
}

.header-badge.gray {
    background-color: #F3F4F6;
    color: #4B5563;
    border: 1px solid #E5E7EB;
}

.pricing-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.1;
}

.pricing-main-title span {
    color: #F57A00;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.header-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.btn-header-primary {
    background-color: #F57A00;
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-header-primary:hover {
    background-color: #EA580C;
    color: white;
    transform: translateY(-1px);
}

.btn-header-outline {
    background-color: white;
    color: #F57A00;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid #F57A00;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-header-outline:hover {
    background-color: #FFF7ED;
    color: #F57A00;
}

/* Section Bascules */
.toggles-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* Espacement entre les deux groupes de bascules */
    margin-bottom: 4rem;
}

.toggle-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 8px;
    text-align: center;
    display: block;
}

.toggle-group {
    background: #F3F4F6;
    border-radius: 12px;
    padding: 4px;
    display: inline-flex;
    position: relative;
}

.toggle-btn {
    padding: 8px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6B7280;
    border: none;
    background: transparent;
}

.toggle-btn.active {
    background-color: #F57A00;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toggle-note {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin-top: -8px;
    margin-bottom: -50px;
    text-align: center;
    max-width: 400px;
    line-height: 1.6;
}

/* Cartes */
.pricing-card-lovable {
    background: var(--lovable-card-bg);
    border: 1px solid var(--lovable-border);
    border-radius: 24px;
    padding: 40px 32px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-lovable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.pricing-card-lovable.orange-border {
    border: 2px solid #F57A00;
    box-shadow: 0 8px 30px rgba(245, 122, 0, 0.1);
}

.pricing-card-lovable.purple-border {
    border: 1px solid #A78BFA;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.05);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-desc {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 44px;
    /* Aligner les hauteurs */
}

.pricing-price-box {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pricing-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
    display: flex;
    align-items: baseline;
    letter-spacing: -1px;
}

.pricing-period {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6B7280;
    margin-left: 8px;
}

.pricing-promo-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    margin-top: 8px;
}

.pricing-promo-badge.orange {
    background-color: #FFF7ED;
    color: #C2410C;
}

.pricing-promo-badge.purple {
    background-color: #F5F3FF;
    color: #7C3AED;
}

.pricing-subtext {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-top: 4px;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Boutons */
.btn-lovable-primary {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    margin-top: auto;
    /* Pousser vers le bas */
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
}

/* Orange Normal */
.btn-lovable-orange {
    background-color: #F57A00;
}

.btn-lovable-orange:hover {
    background-color: #EA580C;
    color: white;
    transform: translateY(-2px);
}

/* Orange Plus Foncé (Carte du Milieu) */
.btn-lovable-dark-orange {
    background-color: #D94F00;
    /* Teinte plus foncée */
}

.btn-lovable-dark-orange:hover {
    background-color: #C2410C;
    color: white;
    transform: translateY(-2px);
}

/* Violet (Carte de Droite) */
.btn-lovable-purple {
    background-color: #6D28D9;
}

.btn-lovable-purple:hover {
    background-color: #5B21B6;
    color: white;
    transform: translateY(-2px);
}

/* Éléments de liste */
.feature-list-lovable {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature-list-lovable li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list-lovable li i {
    margin-right: 12px;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon-orange {
    color: #F57A00;
}

.check-icon-purple {
    color: #7C3AED;
}

.text-bold {
    font-weight: 700;
    color: #111827;
}

/* Badge Flottant */
.card-floating-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #D94F00;
    color: white;
    padding: 6px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(217, 79, 0, 0.3);
    white-space: nowrap;
}

/* Section Options */
.options-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.options-header {
    text-align: center;
    margin-bottom: 50px;
}

.options-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.options-header p {
    font-size: 1.15rem;
    color: #6B7280;
}

.options-grid {
    max-width: 900px;
    margin: 0 auto;
}

.options-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.options-card-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 32px;
    display: block;
}

.option-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #F3F4F6;
    transition: background-color 0.2s;
}

.option-row:hover {
    background-color: #FAFAFA;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 8px;
    border-bottom-color: transparent;
}

.option-row:last-child {
    border-bottom: none;
}

.option-info {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.option-name {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.option-note {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 400;
}

.option-price {
    font-size: 1rem;
    font-weight: 700;
    color: #F57A00;
    white-space: nowrap;
}

/* Section Matériel */
.hardware-section-bg {
    background-color: #f3f4f557;
    width: 100%;
    padding: 80px 0;
    margin-top: 60px;
    /* Optional: if you want it to look connected to previous section, remove margin-top */
}

.hardware-section {
    padding-bottom: 80px;
}

.hardware-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.hardware-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hardware-icon-box {
    width: 56px;
    height: 56px;
    background-color: #FFF7ED;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F57A00;
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.hardware-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
}

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

.hardware-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #4B5563;
    margin-bottom: 10px;
}

.hardware-list li i {
    color: #F57A00;
    margin-right: 8px;
}

.hardware-banner {
    background: #FFF7ED;
    border: 1px solid #FFEDD5;
    border-radius: 16px;
    padding: 24px 32px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.hardware-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.hardware-banner-icon {
    width: 48px;
    height: 48px;
    background-color: #FFEDD5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F57A00;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.hardware-banner-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.hardware-banner-text p {
    font-size: 0.9rem;
    color: #6B7280;
    margin: 0;
    line-height: 1.4;
}

.btn-hardware {
    background-color: #F57A00;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-hardware:hover {
    background-color: #C2410C;
    color: white;
}

/* Section Comparatif */
.comparison-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.comparison-table-wrapper {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    overflow: hidden;
    /* Pour les coins arrondis sur les tableaux */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.comparison-table th {
    padding: 24px 16px;
    border-bottom: 1px solid #E5E7EB;
    background-color: #FAFAFA;
}

.comparison-table th h4 {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.th-icon-orange {
    color: #F57A00;
}

.th-icon-dark {
    color: #1F2937;
}

.th-icon-purple {
    color: #7C3AED;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.95rem;
    color: #4B5563;
}

.comparison-table tr:hover td {
    background-color: #FAFAFA;
}

/* Lignes de Catégorie */
.category-row td {
    background-color: #F9FAFB;
    font-weight: 700;
    text-align: left;
    color: #111827;
    padding: 16px 24px;
    border-bottom: 1px solid #E5E7EB;
}

.first-col {
    text-align: left !important;
    font-weight: 500;
    padding-left: 32px !important;
    color: #374151;
    width: 35%;
}

.check-orange {
    color: #F57A00;
    font-size: 1.25rem;
}

.check-purple {
    color: #7C3AED;
    font-size: 1.25rem;
}

.cross-gray {
    color: #D1D5DB;
    font-size: 1.25rem;
}

.text-orange {
    color: #F57A00;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Section FAQ */
.faq-section {
    padding-bottom: 100px;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-icon-badge {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFF7ED;
    color: #F57A00;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
}

.accordion-item.faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.accordion-button.faq-button {
    background-color: white;
    color: #111827;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 24px;
    box-shadow: none !important;
}

.accordion-button.faq-button:not(.collapsed) {
    background-color: #FAFAFA;
    color: #111827;
    box-shadow: none;
}

.accordion-button.faq-button::after {
    background-size: 1.25rem;
    /* Taille d'icône Bootstrap par défaut */
}

/* Section CTA Bas de page */
.cta-bottom-section {
    background-color: #F57A00;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-bottom-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: white;
}

.cta-bottom-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.btn-cta-white {
    background-color: white;
    color: #F57A00;
    border-radius: 12px;
    padding: 14px 32px;
    font-weight: 700;
    border: none;
    font-size: 1rem;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-cta-white:hover {
    background-color: #FFF7ED;
    color: #F57A00;
    transform: translateY(-2px);
}

.btn-cta-outline-warning {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-cta-outline-warning:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}