/* ==========================================================================
   ClicEstimation — Feuille de style principale (css/styles.css)
   Inspiration : Douceur moderne, aération & élégance (style ekurie.fr)
   Palette : Vert Émeraude Institutionnel (#059669) & Ardoise Profonde (#0f172a)
   ========================================================================== */

:root {
    /* Palette Principale */
    --brand-emerald: #059669;
    --brand-emerald-hover: #047857;
    --brand-emerald-light: #10b981;
    --brand-emerald-subtle: #ecfdf5;
    --brand-emerald-border: #a7f3d0;
    
    --brand-dark: #0f172a;
    --brand-dark-light: #1e293b;
    
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    
    --bg-page: #ffffff;
    --bg-soft: #f8fafc;
    --bg-subtle: #f1f5f9;
    
    --border-color: #e2e8f0;
    --border-soft: #f1f5f9;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   LOGO CLICESTIMATION (Carré vert posé en bas)
   ========================================================================== */
.brand-logo {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #0f172a;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
}

.brand-logo .logo-clic {
    color: #0f172a;
    font-weight: 800;
}

.brand-logo .logo-name {
    color: #0f172a;
    font-weight: 800;
}

.logo-square-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--brand-emerald);
    border-radius: 1px;
    margin-left: 2.5px;
    vertical-align: baseline;
    margin-bottom: 2px;
}

/* ==========================================================================
   NAVBAR MODERNE & DOUCE
   ========================================================================== */
.navbar-clean {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: all 0.25s ease;
}

.nav-link-item {
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 14px !important;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link-item:hover {
    color: var(--brand-emerald);
    background: var(--brand-emerald-subtle);
}

.btn-auth-outline {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 10px;
    padding: 8px 16px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.me-1\.5 {
    margin-right: 7px !important;
}

.btn-auth-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--text-main);
}

.btn-main-green {
    background: var(--brand-emerald);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 10px;
    padding: 9px 18px;
    border: none;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-main-green:hover {
    background: var(--brand-emerald-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
}

/* ==========================================================================
   HERO SECTION AÉRÉE
   ========================================================================== */
.hero-wrapper {
    background: radial-gradient(circle at 10% 0%, rgba(5, 150, 105, 0.06) 0%, transparent 45%),
                radial-gradient(circle at 90% 100%, rgba(15, 23, 42, 0.03) 0%, transparent 45%);
    padding: 70px 0 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-emerald-subtle);
    border: 1px solid var(--brand-emerald-border);
    color: var(--brand-emerald-hover);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.16;
    letter-spacing: -1px;
    color: #0f172a;
}

@media (max-width: 992px) {
    .hero-main-title { font-size: 32px; }
}

.hero-highlight {
    color: var(--brand-emerald);
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-body);
    line-height: 1.65;
}

/* ==========================================================================
   CARTE ESTIMATION POC HERO (ÉLÉGANTE & SPACIEUSE)
   ========================================================================== */
.sample-preview-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.sample-topbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sample-badge-live {
    background: var(--brand-emerald-subtle);
    color: var(--brand-emerald-hover);
    border: 1px solid var(--brand-emerald-border);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
}

.sample-body {
    padding: 24px;
}

.sample-price-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 18px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
}

.sample-range {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.sample-gauge {
    height: 8px;
    background: #e2e8f0;
    border-radius: 99px;
    position: relative;
    margin: 10px 0 16px 0;
}

.sample-gauge-cursor {
    position: absolute;
    top: -4px;
    left: 68%;
    width: 16px;
    height: 16px;
    background: var(--brand-emerald);
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.sample-indicators-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.sample-ind-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
}

.sample-ind-val {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.sample-ind-lbl {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ==========================================================================
   BANNIÈRE TIERS DE CONFIANCE
   ========================================================================== */
.trust-pill-banner {
    background: #0f172a;
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 26px 32px;
    margin: 35px 0 0 0;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.15);
}

.trust-item-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
}

.trust-item-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ==========================================================================
   EN-TÊTES DE SECTIONS ÉLÉGANTS (STYLE EKOURIE)
   ========================================================================== */
.section-header-box {
    margin-bottom: 30px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.pill-tag-vendeur {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.pill-tag-acheteur {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
}

.section-main-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.section-subtitle-text {
    font-size: 15px;
    color: var(--text-body);
    margin-top: 4px;
}

/* ==========================================================================
   MOCKUPS ÉCRANS PC AÉRÉS & POLIS (STYLE EKOURIE)
   ========================================================================== */
.pc-screen-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pc-screen-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.pc-screen-card.highlight-emerald {
    border: 2px solid var(--brand-emerald);
}

.screen-top {
    background: #f8fafc;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.dots { display: flex; gap: 5px; }
.dot-pc { width: 8px; height: 8px; border-radius: 50%; }

.screen-url {
    background: #ffffff;
    color: #64748b;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 6px;
    flex-grow: 1;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.screen-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-emerald);
    margin-bottom: 12px;
    display: block;
}

.data-row {
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title-step {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 10px;
    margin-bottom: 2px;
}

.card-desc-step {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ==========================================================================
   LES 3 FORFAITS TARIFAIRES (STYLE EKOURIE)
   ========================================================================== */
.pricing-card-clean {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    transition: all 0.25s ease;
}

.pricing-card-clean:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.pricing-card-clean.card-vendeur {
    border: 2px solid var(--brand-emerald);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 15px 35px -10px rgba(5, 150, 105, 0.12);
}

.badge-profile-acheteur {
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-profile-vendeur {
    background: var(--brand-emerald);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-profile-pro {
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-big {
    font-size: 34px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.8px;
}

/* ==========================================================================
   MÉTHODOLOGIE CARTES DOUCES
   ========================================================================== */
.method-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 26px;
    height: 100%;
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.05);
    transition: all 0.2s ease;
}

.method-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -10px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* ==========================================================================
   FOOTER ÉPURÉ (STYLE CLICARTISAN)
   ========================================================================== */
.footer-clean {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 50px 0 30px 0;
    font-size: 13.5px;
    color: #64748b;
}

.footer-nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav-link:hover {
    color: var(--brand-emerald);
}