/* ============================================================================
   CaledoCompta — landing page refresh
   Overrides for the public frontend theme (loaded AFTER style.css, so these win).
   Keep the frontend theme's own style.css untouched; put refresh tweaks here.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Fresh buttons — same treatment as the tenant app: solid fill, weight 600,
   soft shadow, smooth hover (no jarring colour flip, no vertical jump).
   Applies to the hero "Essayer" / CTA / "S'inscrire" (.site_btn, .x-button-1)
   and the secondary "Voir les tarifs" (.site_btn_2).
   ---------------------------------------------------------------------------- */
.site_btn,
.hero_area_inner .x-button-1 {
    font-weight: 600 !important;
    border: none !important;
    border-radius: 6px !important;
    background-color: #0187C5 !important;
    box-shadow: 0 2px 6px rgba(1, 135, 197, .18) !important;
    transition: background-color .16s ease, box-shadow .16s ease !important;
}
.site_btn:hover,
.site_btn:focus,
.hero_area_inner .x-button-1:hover,
.hero_area_inner .x-button-1:focus {
    background-color: #0679ad !important;
    box-shadow: 0 4px 12px rgba(1, 135, 197, .28) !important;
    color: #ffffff !important;
}

/* Secondary / ghost */
.site_btn_2 {
    font-weight: 600 !important;
    background-color: #ffffff !important;
    color: #0187C5 !important;
    border: 1px solid #cfe6f2 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(31, 45, 61, .06) !important;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease !important;
}
.site_btn_2:hover,
.site_btn_2:focus {
    background-color: #eaf6fc !important;
    border-color: #a9dcf0 !important;
    color: #0679ad !important;
}

/* Top-menu "S'inscrire" button (theme class .frontent-signup-button) */
.frontent-signup-button {
    font-weight: 600 !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(1, 135, 197, .18) !important;
    transition: background-color .16s ease, box-shadow .16s ease !important;
}
.frontent-signup-button:hover,
.frontent-signup-button:focus {
    background-color: #0679ad !important;
    box-shadow: 0 4px 12px rgba(1, 135, 197, .28) !important;
    color: #ffffff !important;
}

/* ----------------------------------------------------------------------------
   Footer — from raw black-on-white to a clean, professional light panel:
   horizontal wordmark, soft background, readable typography, tidy link states.
   (The 4 columns are DB HTML rendered in .footer-content, styled generically.)
   ---------------------------------------------------------------------------- */
#footer_wrapper.footer {
    background-color: #f7f9fb;
    border-top: 1px solid #e6e9f0;
}
/* Wider content block (break out of the ~1140px Bootstrap container) — Abby-style
   wide footer. The light background already spans full width; only the centered
   inner block widens. */
#footer_wrapper.footer > .container {
    max-width: 1320px;
    padding-left: 40px;
    padding-right: 40px;
}
@media (max-width: 767px) {
    #footer_wrapper.footer > .container { padding-left: 20px; padding-right: 20px; }
}
.footer-brand {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eaedf2;
}
.footer-logo-img {
    height: 20px;
    width: auto;
    max-width: 100%;
}
.footer .footer-content {
    font-size: 15px;
    line-height: 1.75;
    color: #5a6b7b;
}
.footer .footer-content h1,
.footer .footer-content h2,
.footer .footer-content h3,
.footer .footer-content h4,
.footer .footer-content h5,
.footer .footer-content strong,
.footer .footer-content b {
    color: #1f2d3d;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: .2px;
}
.footer .footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer .footer-content ul li {
    margin-bottom: 9px;
}
.footer .footer-content a {
    color: #5a6b7b;
    text-decoration: none;
    transition: color .15s ease;
}
.footer .footer-content a:hover {
    color: #0187C5;
}
@media (max-width: 991px) {
    .footer-brand { margin-bottom: 28px; padding-bottom: 22px; text-align: center; }
}
/* Brochure (footer left column): stylised first-page mockup with a small download
   button floating over its bottom-right corner. */
.footer-brochure {
    position: relative;
    display: block;               /* own line, below the address text (not inline after it) */
    width: -moz-fit-content;
    width: fit-content;           /* shrink to the mockup so the CTA stays centred on it */
    margin-top: 20px;
    margin-bottom: 18px;
}
/* the fake document page */
.footer-brochure-doc {
    position: relative;
    flex: none;
    width: 138px;
    height: 98px;
    background: #ffffff;
    border: 1px solid #e2e7ef;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(31, 45, 61, .10);
    padding: 24px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.footer-brochure-doc::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 15px;
    background: linear-gradient(90deg, #20aee3, #0187C5);
}
.footer-brochure-doc:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(31, 45, 61, .16);
}
.footer-brochure-doc .fbd-title { height: 6px; width: 62%; border-radius: 2px; background: #2b3a4a; }
.footer-brochure-doc .fbd-line { height: 4px; border-radius: 2px; background: #e4e8ee; }
.footer-brochure-doc .fbd-line.short { width: 48%; }
.footer-brochure-doc .fbd-block { margin-top: auto; height: 22px; border-radius: 4px; background: #eaf6fc; border: 1px solid #d7ecfb; }

/* subtle download button, one line, floating over the doc's bottom-right corner */
.footer-brochure-cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e6e9f0;
    color: #1f2d3d;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(31, 45, 61, .12);
    transition: box-shadow .15s ease, border-color .15s ease;
}
.footer-brochure-cta:hover {
    border-color: #cfe0ee;
    box-shadow: 0 6px 16px rgba(31, 45, 61, .18);
    color: #1f2d3d;
}
.footer-brochure-cta-icon {
    width: 26px;
    height: 26px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdecea;
    color: #e0452f;
    border-radius: 6px;
    font-size: 13px;
}
/* Below desktop, the floating button overflows narrow columns — un-float it and
   stack it under the mockup, left-aligned. */
@media (max-width: 991px) {
    .footer-brochure-cta {
        position: static;
        transform: none;
        margin-top: 14px;
    }
}

/* Bottom copyright line */
.footer-bottom {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid #eaedf2;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: #8a94a1;
    margin: 0;
}

/* ----------------------------------------------------------------------------
   Hero display type — keep Poppins (theme font), just clean up the big heading:
   defined weight, tighter tracking + line-height.
   ---------------------------------------------------------------------------- */
.hero_area_inner .x-heading-1 {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    margin-bottom: 20px !important;
}

/* Hero wordmark (h1, replaces the text title — above the ESSAI GRATUIT badge) */
.hero_area_inner h1.hero-logo {
    margin: 0 0 18px;
    padding: 0;
    font-size: 0;
    line-height: 0;
}
.hero_area_inner h1.hero-logo img {
    height: 34px;
    width: auto;
    max-width: 100%;
}

/* Hero reassurance badges — light, fresh green-tint pills (vs heavy solid green) */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 22px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 15px 6px 12px;
    background: #e9f7f0;
    color: #0e8f6e;
    border: 1px solid #cdeede;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}
.hero-badge i {
    color: #16b886;
    font-size: 15px;
}

/* ============================================================================
   Contact form — modern redesign: white card, larger inputs with clear focus,
   readable labels, full-width submit, tidy left-column intro.
   ============================================================================ */
.contact .page-wrapper { padding-bottom: 100px; }

/* left column: intro text */
.contact .contact-details { padding-right: 24px; }
.contact .contact-details,
.contact .contact-details p,
.contact .contact-details div {
    font-size: 15.5px;
    line-height: 1.75;
    color: #5a6b7b;
}
.contact .contact-details a { color: #0187C5; text-decoration: none; }
.contact .contact-details a:hover { color: #0679ad; }

/* right column: form card */
.contact .contact-form {
    max-width: 560px !important;
    background: #ffffff !important;
    border: 1px solid #e6e9f0 !important;
    border-radius: 14px !important;
    padding: 36px 34px !important;
    box-shadow: 0 12px 40px rgba(31, 45, 61, .08) !important;
}
.contact .contact-form .control-label {
    font-size: 13px;
    font-weight: 600;
    color: #3e5569;
    margin-bottom: 7px;
    padding: 0;
}
.contact .contact-form .form-group { margin-bottom: 20px; }
.contact .contact-form .form-control {
    height: auto;
    min-height: 46px;
    padding: 11px 15px;
    font-size: 14.5px;
    color: #2b3440;
    background: #f8fafc;
    border: 1px solid #e2e7ef;
    border-radius: 9px;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.contact .contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}
.contact .contact-form .form-control:focus {
    background: #ffffff;
    border-color: #20aee3;
    box-shadow: 0 0 0 3px rgba(32, 174, 227, .15);
}
.contact .contact-form .form-control::placeholder { color: #a9b2bd; }

/* submit: full-width, centered */
.contact .contact-form .text-right { text-align: center !important; padding-top: 8px !important; }
.contact .contact-form .site_btn {
    display: block;
    width: 100%;
    padding: 13px 24px !important;
    font-size: 15px !important;
    text-align: center !important;
}

/* ============================================================================
   Pricing page — modern redesign: clean cards, highlighted "Populaire" plan
   (white + site-blue accent border, not a heavy solid card), tidy feature rows
   (green checks / red crosses), fresh CTAs, brand toggle.
   ============================================================================ */

/* monthly/yearly toggle -> brand */
.pricing .switch-container .switch input:checked + .slider { background-color: #0187C5 !important; }
.pricing .switch-container .pricing-toggle-period.active { color: #0187C5 !important; }

/* cards */
.pricing .pricing-plan {
    border-radius: 16px !important;
    border: 1px solid #e6e9f0 !important;
    background-color: #ffffff !important;
    box-shadow: 0 6px 24px rgba(31, 45, 61, .06) !important;
    transition: box-shadow .15s ease !important;
}
.pricing .pricing-plan:hover {
    border-color: #e6e9f0 !important;
    box-shadow: 0 14px 36px rgba(31, 45, 61, .12) !important;
}
.pricing .pricing-plan .card-body { padding: 30px 26px !important; }
.pricing .pricing-plan .card-body h4 {
    font-size: 14px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #3e5569;
}
.pricing .pricing-plan .card-body .pricing-card-title {
    font-size: 38px;
    font-weight: 800;
    color: #1f2d3d;
    letter-spacing: -0.02em;
    margin: 8px 0 18px;
}
.pricing .pricing-plan .card-body .pricing-card-title small { font-size: 14px !important; font-weight: 500; color: #8a94a1; }
/* currency symbol (XPF): smaller + lighter than the amount so the number stands out */
.pricing .pricing-plan .card-body .pricing-card-title .pc-cur { font-size: 16px; font-weight: 600; color: #67757c; letter-spacing: 0; }

/* client-limit stat — the headline differentiator, kept subtle: a single tinted
   row, label left / value right, rather than a big hero block. */
.pricing .pricing-plan .card-body .pricing-clients {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 18px;
    padding: 9px 14px;
    background: #f4f9fd;
    border-radius: 8px;
}
.pricing .pricing-plan .card-body .pricing-clients-eyebrow {
    font-size: 13px;
    font-weight: 500;
    color: #67757c;
}
.pricing .pricing-plan .card-body .pricing-clients-value {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #0187C5;
}
/* unlimited = top tier: green row + value as a filled green-gradient badge */
.pricing .pricing-plan .card-body .pricing-clients--unlimited {
    background: #e9f7f0;
}
.pricing .pricing-plan .card-body .pricing-clients--unlimited .pricing-clients-value {
    color: #ffffff;
    background: linear-gradient(135deg, #1ecb98, #12a878);
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 15px;
    letter-spacing: .4px;
    box-shadow: 0 3px 9px rgba(22, 184, 134, .30);
}

/* feature rows */
.pricing .pricing-plan .card-body ul li {
    padding: 7px 0 !important;
    font-size: 14px;
    color: #4a5763;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.pricing .pricing-plan .card-body ul li .x-icon { width: 20px !important; height: 20px !important; line-height: 20px !important; font-size: 12px !important; flex: none; margin-top: 1px; }
.pricing .pricing-plan .card-body ul li .x-icon.x-icon-yes { color: #16b886 !important; background-color: #e9f7f0 !important; }
.pricing .pricing-plan .card-body ul li .x-icon.x-icon-no { color: #d0334b !important; background-color: #fdeaed !important; }
.pricing .pricing-plan .card-body ul li .x-text { padding-left: 0 !important; }

/* CTA button: solid primary (same on every card) */
.pricing .pricing-plan .frontent-pricing-button {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 12px 20px !important;
    border-radius: 9px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    background-color: #0187C5 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(1, 135, 197, .24) !important;
    transition: background-color .15s ease, box-shadow .15s ease !important;
}
.pricing .pricing-plan .frontent-pricing-button:hover { background-color: #0679ad !important; color: #ffffff !important; }

/* FEATURED plan: white card, no accent border (subtle shadow highlight only) */
.pricing .pricing-plan.pricing-featured-yes {
    background-color: #ffffff !important;
    border: 1px solid #e6e9f0 !important;
    box-shadow: 0 16px 40px rgba(1, 135, 197, .18) !important;
}
/* undo the theme's white-on-dark-blue treatment for the featured card */
.pricing .pricing-plan.pricing-featured-yes .card-body h4 { color: #3e5569 !important; }
.pricing .pricing-plan.pricing-featured-yes .card-body .pricing-card-title,
.pricing .pricing-plan.pricing-featured-yes .card-body h1 { color: #1f2d3d !important; }
.pricing .pricing-plan.pricing-featured-yes .card-body .pricing-card-title small,
.pricing .pricing-plan.pricing-featured-yes .card-body small { color: #8a94a1 !important; }
.pricing .pricing-plan.pricing-featured-yes .card-body .x-icon-yes { color: #16b886 !important; background-color: #e9f7f0 !important; }
.pricing .pricing-plan.pricing-featured-yes .card-body .x-icon-no { color: #d0334b !important; background-color: #fdeaed !important; }
.pricing .pricing-plan.pricing-featured-yes:hover { background-color: #ffffff !important; border-color: #e6e9f0 !important; }
/* featured CTA: solid primary (selector includes .card-body to beat the theme's
   more-specific rule that forced dark purple text). */
.pricing .pricing-plan.pricing-featured-yes .card-body .frontent-pricing-button {
    background-color: #0187C5 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 3px 10px rgba(1, 135, 197, .24) !important;
}
.pricing .pricing-plan.pricing-featured-yes .card-body .frontent-pricing-button:hover { background-color: #0679ad !important; color: #ffffff !important; }

/* ============================================================
   [FENUACOMPTA] Pricing card feature list (redesign) — scoped .fc-pc-.
   Mirrors the approved mockup. Used by /pricing (frontend/pricing/_features).
   ============================================================ */
.pricing .fc-pc-per { font-size: 14px; font-weight: 600; color: #9aa6b8; text-transform: lowercase; }
/* the theme sets a very black weight on the price title; lighten it */
.pricing .pricing-card-title { font-weight: 600 !important; }
/* "Facturation complète" is a flat first row (same icon column as the rest), lightly emphasised */
.fc-pc-lead { align-items: flex-start; }
.fc-pc-lead .fc-pc-ic { margin-top: 2px; }
.fc-pc-lead .fc-pc-lab b { display: block; font-weight: 700; color: #1f2a44; line-height: 1.3; }
.fc-pc-lead .fc-pc-lab small { display: block; font-size: 12.5px; color: #67748b; font-weight: 400; margin-top: 1px; }
.fc-pc-feat { list-style: none; margin: 18px 0 0; padding: 0; }
.fc-pc-feat li { display: flex; align-items: center; gap: 11px; padding: 8px 0; margin: 0; font-size: 14.5px; color: #1f2a44; line-height: 1.35; }
.fc-pc-feat li.fc-pc-off { color: #9aa6b8; }
.fc-pc-ic { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; line-height: 1; }
.fc-pc-ic.ok { background: #e8f7ef; color: #2fb673; }
.fc-pc-ic.ko { background: #fdedee; color: #e0616b; }
.fc-pc-ic.neu { background: #eaf2fb; color: #2f80c7; }
.fc-pc-ic .mdi { line-height: 1; }
.fc-pc-lab { flex: 0 1 auto; }
.fc-pc-chip { margin-left: auto; font-size: 12.5px; font-weight: 800; border-radius: 8px; padding: 4px 11px; letter-spacing: .01em; white-space: nowrap; }
.fc-pc-chip.cap { background: #fdecee; color: #e0505a; }
.fc-pc-chip.unl { background: linear-gradient(135deg, #18b898, #12a486); color: #fff; }
.fc-pc-qty { font-weight: 650; }
.fc-pc-sep { border-top: 1px dashed #e9eef5; margin-top: 14px; padding-top: 18px; }
.fc-pc-info { position: relative; display: inline-flex; align-items: center; color: #9aa6b8; cursor: help; margin-left: 6px; font-size: 15px; }
.fc-pc-tip { position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%) translateY(4px); width: 230px; background: #1f2a44; color: #fff; font-size: 12px; font-weight: 500; line-height: 1.5; padding: 10px 12px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.22); opacity: 0; visibility: hidden; transition: .15s; z-index: 20; text-align: left; text-transform: none; }
.fc-pc-tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: #1f2a44; }
.fc-pc-info:hover .fc-pc-tip, .fc-pc-info:focus .fc-pc-tip { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* let the tooltip escape the card */
.pricing .pricing-plan.card, .pricing .pricing-plan .card-body { overflow: visible; }

/* [FENUACOMPTA] /pricing billing period toggle — same look as the signup .billing-toggle */
.pricing .fc-billtoggle-wrap { text-align: center; margin: 8px 0 30px; }
.pricing .fc-billtoggle { display: inline-flex; margin: 0 auto; background: #f5f5f5; border-radius: 6px; padding: 3px; }
.pricing .fc-billseg { border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: #666; padding: 5px 40px; border-radius: 5px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: all .2s ease; }
.pricing .fc-billseg.is-active { background: #fff; color: #0187C5; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.pricing .fc-billseg-save { font-size: 12px; line-height: 1.2; font-weight: 800; color: #fff; background: #ff5c6c; border-radius: 4px; padding: 3px 7px; letter-spacing: .02em; }
