/* =========================================================================
   CLARIO CASH — pages A propos, Tarifs et Contact
   =========================================================================
   Complement de clario-home.css : memes roles de couleur (--ch-*), memes
   cartes, memes boutons. Rien ici ne fixe une couleur en dur sans sa
   version sombre.
   ========================================================================= */

/* ---------------------------------------------------------- En-tete ---- */
.ch-page-hero {
    position: relative;
    padding: 56px 0 72px;
    background:
        radial-gradient(900px 440px at 90% 0%, rgba(16, 185, 129, .10), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(255, 107, 0, .07), transparent 60%),
        var(--ch-bg);
    overflow: hidden;
}
.ch-page-hero.is-centered { text-align: center; padding-bottom: 40px; }
.ch-page-hero.is-centered .ch-hero-lead { margin-left: auto; margin-right: auto; max-width: 680px; }
.ch-page-title {
    font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; font-weight: 800;
    letter-spacing: -0.02em; color: var(--ch-title); margin: 20px 0 16px;
}
.ch-crumbs {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13.5px; font-weight: 600; color: var(--ch-muted); margin-bottom: 18px;
}
.ch-page-hero.is-centered .ch-crumbs { justify-content: center; }
.ch-crumbs a { color: var(--ch-green) !important; }
.ch-crumbs a:hover { text-decoration: underline; }
.ch-crumbs i { font-size: 10px; opacity: .6; }
.ch-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ch-checks.is-centered { justify-content: center; }

.ch-section.is-tight { padding-top: 40px; }
.ch-narrow { max-width: 860px; }
.ch-empty { text-align: center; color: var(--ch-muted); font-size: 17px; padding: 40px 0; }

.ch-photo {
    margin: 0; border-radius: 26px; overflow: hidden; position: relative;
    border: 1px solid var(--ch-border-strong);
    box-shadow: var(--ch-shadow), 0 0 0 8px rgba(14, 140, 79, .06);
    background: var(--ch-surface);
}
.ch-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Liste de points dans une carte (A propos) */
.ch-list-card {
    margin: 0; padding: 28px; border-radius: var(--ch-radius);
    background: var(--ch-surface); border: 1px solid var(--ch-border);
    box-shadow: var(--ch-shadow-sm);
}
.ch-list-card li { line-height: 1.45; align-items: flex-start; }
.ch-list-card li i { margin-top: 1px; }

/* ------------------------------------------------ Trois modules (A propos) */
.ch-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ch-module {
    display: flex; align-items: center; gap: 16px; padding: 22px;
    border-radius: var(--ch-radius); background: var(--ch-surface);
    border: 1px solid var(--ch-border); box-shadow: var(--ch-shadow-sm);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.ch-module:hover { transform: translateY(-4px); border-color: var(--ch-green); box-shadow: var(--ch-shadow); }
.ch-module-ico {
    flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: #0E8C4F; color: #fff; font-size: 22px; box-shadow: 0 12px 26px -12px rgba(14, 140, 79, .8);
}
.ch-module.is-orange .ch-module-ico { background: #FF6B00; box-shadow: 0 12px 26px -12px rgba(255, 107, 0, .8); }
.ch-module-body { display: grid; gap: 4px; min-width: 0; flex: 1 1 auto; }
.ch-module-body strong { color: var(--ch-title); font-size: 17px; font-weight: 800; }
.ch-module-body span { color: var(--ch-muted); font-size: 14.5px; line-height: 1.5; }
.ch-module-go { color: var(--ch-green); transition: transform .2s ease; }
.ch-module.is-orange .ch-module-go { color: var(--ch-orange-ink); }
.ch-module:hover .ch-module-go { transform: translateX(4px); }

/* --------------------------------------------------- Bandeau final ---- */
.ch-cta-section { padding-top: 24px; }
.ch-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    padding: 44px 48px; border-radius: 28px; position: relative; overflow: hidden;
    background:
        radial-gradient(520px 260px at 100% 0%, rgba(255, 138, 31, .35), transparent 60%),
        linear-gradient(135deg, #0B6B3A 0%, #084A2B 100%);
    box-shadow: 0 30px 60px -30px rgba(8, 74, 43, .8);
}
.ch-cta h2 { color: #fff; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; margin: 0 0 8px; }
.ch-cta p { color: rgba(255, 255, 255, .82); font-size: 17px; margin: 0; max-width: 560px; }
.ch-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ch-btn-light { background: rgba(255, 255, 255, .12); color: #fff !important; border: 1px solid rgba(255, 255, 255, .35); }
.ch-btn-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ------------------------------------------------- Offre mise en avant */
.ch-plan { position: relative; }
.ch-plan.is-featured {
    border-color: var(--ch-orange);
    box-shadow: 0 24px 50px -24px rgba(255, 107, 0, .55), 0 0 0 1px var(--ch-orange);
}
.ch-plan-flag {
    position: absolute; top: -13px; right: 22px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px; background: #FF6B00; color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .02em;
    box-shadow: 0 10px 20px -10px rgba(255, 107, 0, .9);
}

/* ------------------------------------------------------- Comparatif ---- */
.ch-compare-wrap {
    overflow-x: auto; border-radius: var(--ch-radius);
    border: 1px solid var(--ch-border); background: var(--ch-surface); box-shadow: var(--ch-shadow-sm);
}
.ch .ch-compare { width: 100%; min-width: 620px; border-collapse: collapse; background: transparent; margin: 0; }
.ch .ch-compare th, .ch .ch-compare td {
    padding: 16px 18px; border-bottom: 1px solid var(--ch-border);
    text-align: center; color: var(--ch-text); background: transparent; font-size: 15px;
    border-left: 0; border-right: 0; border-top: 0; box-shadow: none;
}
.ch .ch-compare tbody tr:last-child th, .ch .ch-compare tbody tr:last-child td { border-bottom: 0; }
.ch .ch-compare thead th {
    color: var(--ch-green); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 14px;
    background: var(--ch-surface-2);
}
.ch .ch-compare thead th small {
    display: block; margin-top: 4px; text-transform: none; letter-spacing: 0;
    color: var(--ch-muted); font-weight: 600; font-size: 13px;
}
.ch .ch-compare tbody th { text-align: left; font-weight: 600; color: var(--ch-title); }
.ch .ch-compare .is-featured { background: var(--ch-orange-soft); }
.ch .ch-compare thead th.is-featured { color: var(--ch-orange-ink); }
.ch-yes { color: var(--ch-green); font-size: 18px; }
.ch-no { color: var(--ch-muted); opacity: .6; }

/* -------------------------------------------------------------- FAQ ---- */
.ch-faq { display: grid; gap: 12px; }
.ch-faq details {
    border-radius: var(--ch-radius-sm); background: var(--ch-surface);
    border: 1px solid var(--ch-border); transition: border-color .2s ease, box-shadow .2s ease;
}
.ch-faq details[open] { border-color: var(--ch-green); box-shadow: var(--ch-shadow-sm); }
.ch-faq summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 22px; font-weight: 700; font-size: 16.5px; color: var(--ch-title);
}
.ch-faq summary::-webkit-details-marker { display: none; }
.ch-faq summary i {
    flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center;
    background: var(--ch-orange-soft); color: var(--ch-orange-ink); font-size: 12px; transition: transform .25s ease;
}
.ch-faq details[open] summary i { transform: rotate(45deg); }
.ch-faq summary:focus-visible { outline: 3px solid rgba(255, 107, 0, .45); outline-offset: 2px; border-radius: var(--ch-radius-sm); }
.ch-faq details p { margin: 0; padding: 0 22px 20px; color: var(--ch-muted); font-size: 15.5px; line-height: 1.65; }

/* ---------------------------------------------------------- Contact ---- */
.ch-contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.ch-contact-info, .ch-contact-help, .ch-form-card {
    border-radius: var(--ch-radius); background: var(--ch-surface);
    border: 1px solid var(--ch-border); box-shadow: var(--ch-shadow-sm);
}
.ch-contact-info { padding: 26px; display: grid; gap: 12px; }
.ch-contact-info h2, .ch-form-card h2 { font-size: 22px; font-weight: 800; color: var(--ch-title); margin: 0 0 4px; }
.ch-contact-card {
    display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--ch-radius-sm);
    background: var(--ch-surface-2); border: 1px solid var(--ch-border);
    transition: border-color .2s ease, transform .2s ease;
}
a.ch-contact-card:hover { border-color: var(--ch-green); transform: translateY(-2px); }
.ch-contact-ico {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: #FF6B00; color: #fff; font-size: 18px;
}
.ch-contact-card.is-green .ch-contact-ico { background: #0E8C4F; }
.ch-contact-card small { display: block; color: var(--ch-muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ch-contact-card strong { display: block; color: var(--ch-title) !important; font-size: 16px; font-weight: 700; word-break: break-word; }
.ch a.ch-contact-card, .ch a.ch-contact-card small { color: var(--ch-muted) !important; }
.ch-contact-note { margin: 0; color: var(--ch-muted); font-size: 15px; line-height: 1.6; }
.ch-contact-hours { margin: 4px 0 0; color: var(--ch-muted); font-size: 14.5px; display: flex; gap: 8px; align-items: center; }
.ch-contact-hours i { color: var(--ch-green); }

.ch-contact-help { padding: 22px 26px; margin-top: 18px; display: grid; gap: 4px; }
.ch-contact-help h3 { font-size: 15px; font-weight: 800; color: var(--ch-title); margin: 0 0 6px; }
.ch-contact-help a {
    display: flex; align-items: center; gap: 12px; padding: 10px 0;
    color: var(--ch-text) !important; font-weight: 600; font-size: 15px; border-top: 1px solid var(--ch-border);
}
.ch-contact-help a:first-of-type { border-top: 0; }
.ch-contact-help a > i:first-child { color: var(--ch-green); width: 18px; text-align: center; }
.ch-contact-help a > i:last-child { margin-left: auto; color: var(--ch-muted); font-size: 12px; transition: transform .2s ease; }
.ch-contact-help a:hover { color: var(--ch-green) !important; }
.ch-contact-help a:hover > i:last-child { transform: translateX(3px); color: var(--ch-green); }

.ch-form-card { padding: 32px; }
.ch-form-card > p { color: var(--ch-muted); font-size: 14px; margin: 0 0 22px; }
.ch-form { display: grid; gap: 16px; }
.ch-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ch-field { display: grid; gap: 7px; }
.ch .ch-field label { font-weight: 700; font-size: 14px; color: var(--ch-title); margin: 0; }
.ch .ch-field label span { color: var(--ch-orange); }
.ch .ch-field label small { color: var(--ch-muted); font-weight: 500; }
.ch .ch-field input, .ch .ch-field textarea {
    width: 100%; border-radius: 12px; padding: 13px 15px; font-size: 15.5px;
    background: var(--ch-bg); color: var(--ch-text); border: 1px solid var(--ch-border-strong);
    transition: border-color .2s ease, box-shadow .2s ease; outline: 0; resize: vertical;
}
.ch .ch-field input::placeholder, .ch .ch-field textarea::placeholder { color: var(--ch-muted); opacity: .8; }
.ch .ch-field input:focus, .ch .ch-field textarea:focus { border-color: var(--ch-green); box-shadow: 0 0 0 4px var(--ch-green-soft); }
.ch .ch-field .error, .ch .ch-field label.error { color: var(--ch-danger); font-size: 13px; font-weight: 600; }
.ch-form .ch-btn { justify-self: start; }

/* -------------------------------------------------------- Responsive ---- */
@media (max-width: 991px) {
    .ch-modules { grid-template-columns: minmax(0, 1fr); }
    .ch-contact-grid { grid-template-columns: minmax(0, 1fr); }
    .ch-contact-grid .ch-form-card { order: -1; }
    .ch-page-hero { padding: 40px 0 56px; }
}
@media (max-width: 640px) {
    .ch-form-row { grid-template-columns: minmax(0, 1fr); }
    .ch-form-card, .ch-contact-info { padding: 22px 18px; }
    .ch-cta { padding: 32px 22px; }
    .ch-cta-actions, .ch-cta-actions .ch-btn, .ch-actions .ch-btn, .ch-form .ch-btn { width: 100%; }
    .ch-faq summary { padding: 16px 18px; font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .ch-module, .ch-contact-card, .ch-faq summary i, .ch-module-go { transition: none; }
}
