/* ============================================================================
   FenuaCompta — 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: inline-block;
    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;
}

/* 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 h3 {
    font-size: 30px;
    font-weight: 800;
    color: #1f2d3d;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
.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;
}
