/* ============================================================
   CARDS — Composants carte réutilisables
   Utilisé dans : index.html (value-card, pricing-box), tarifs.html
   ============================================================ */

/* ---- Value Cards (section "Ce que vous obtenez") ---- */
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.value-card {
    background: white;
    border: 1.5px solid rgba(53, 152, 192, 0.12);
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.value-card:hover {
    border-color: rgba(53, 152, 192, 0.3);
    box-shadow: 0 4px 16px rgba(53, 152, 192, 0.08);
}

.value-card-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.value-card-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.value-card-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(14, 62, 73, 0.65);
}

.value-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.value-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.value-card p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--secondary);
}

/* Summary card */
.value-summary {
    background: rgba(14, 62, 73, 0.04);
    border-left: 3px solid var(--accent-data);
    border-radius: 0 10px 10px 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(14, 62, 73, 0.78);
}

.value-summary strong {
    color: var(--primary);
}

/* ---- Price Cards (section tarification) ---- */
.pricing-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
}

.pricing-box {
    background: white;
    border-radius: 14px;
    padding: 3rem;
    border: 1px solid rgba(14, 62, 73, 0.08);
    box-shadow: 0 4px 24px rgba(14, 62, 73, 0.06);
    text-align: center;
}

.pricing-box .pricing-from {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing-box .pricing-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-data), var(--accent-territory));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.pricing-box .pricing-unit {
    font-size: 0.88rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.pricing-box .pricing-detail {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(14, 62, 73, 0.6);
    margin-bottom: 1.5rem;
}

/* Pricing features */
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.pricing-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pricing-feature-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(53, 152, 192, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-feature-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--accent-data);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.pricing-feature h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.pricing-feature p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--secondary);
}

/* ---- Price Cards (calculateur - from tarifs.html) ---- */
.result-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.price-col {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}

.price-col:hover {
    background: rgba(255, 255, 255, 0.15);
}

.price-col-label {
    font-size: 0.72rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.price-col-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.price-col-sub {
    font-size: 0.72rem;
    opacity: 0.6;
    margin-top: 0.35rem;
}

.price-col-hab {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.price-col.featured {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---- Actions buttons ---- */
.result-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-devis {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.2);
}
