/* ============================================================
   front.css — EliteHost Site Public
   Palette: #F5C518 (jaune) | #111 (noir) | #FFF (blanc)
   ============================================================ */

:root {
    --yellow:       #F5C518;
    --yellow-dark:  #E0B000;
    --yellow-light: #FFF8E1;
    --black:        #111111;
    --white:        #FFFFFF;
    --gray:         #F7F7F5;
    --gray-mid:     #E8E8E4;
    --text:         #222222;
    --text-light:   #666666;
    --radius:       16px;
    --shadow:       0 8px 40px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Typographie globale - 100% Montserrat */
body { 
    font-family: 'Montserrat', -apple-system, sans-serif; 
    color: var(--text); 
    background: var(--white); 
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700;
}

p, span, div, a, li, td, th, label, input, textarea, select, button, strong, b, em, i {
    font-family: 'Montserrat', sans-serif !important;
}

/* Force Playfair Display uniquement pour logo si nécessaire */
.nav-logo, .logo-y, .logo-w {
    font-family: 'Montserrat', sans-serif !important;
}
img { max-width: 100%; display: block; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 6vw;
    background: rgba(17,17,17,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: padding .3s;
}
.nav.scrolled { padding: 12px 6vw; }
.nav-logo { font-family: 'Montserrat', sans-serif !important; font-size: 1.6rem; font-weight: 700; text-decoration: none; }
.logo-y { color: var(--yellow); }
.logo-w { color: var(--white); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,.75); text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-btn-outline { color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.2); padding: 8px 18px; border-radius: 50px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.nav-btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.nav-btn-cta { background: var(--yellow); color: var(--black); padding: 9px 20px; border-radius: 50px; font-weight: 700; font-size: .88rem; text-decoration: none; transition: all .2s; }
.nav-btn-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 4px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh; background: var(--black);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 120px 6vw 80px;
    position: relative; overflow: hidden;
}
.hero::before {
    content:''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(245,197,24,.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 860px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,197,24,.15); border: 1px solid rgba(245,197,24,.35); color: var(--yellow); font-size: .82rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; margin-bottom: 28px; letter-spacing: .5px; text-transform: uppercase; }
.hero-title { font-family: 'Montserrat', sans-serif !important; font-size: clamp(2.8rem,6vw,5.5rem); font-weight: 900; line-height: 1.05; color: var(--white); margin: 0 auto 24px; }
.hero-title em { color: var(--yellow); font-style: italic; }
.hero-sub { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 520px; margin: 0 auto 40px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.h-stat { text-align: center; }
.h-val { display: block; font-family: 'Montserrat', sans-serif !important; font-size: 2rem; font-weight: 900; color: var(--yellow); }
.h-lbl { font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 2px; text-transform: uppercase; letter-spacing: 1px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.3); font-size: .8rem; letter-spacing: 2px; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary { background: var(--yellow); color: var(--black); padding: 15px 32px; border-radius: 50px; font-weight: 700; font-size: 1rem; text-decoration: none; transition: all .25s; display: inline-block; box-shadow: 0 4px 24px rgba(245,197,24,.35); border: none; cursor: pointer; }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,197,24,.45); }
.btn-ghost { background: transparent; color: var(--white); padding: 15px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid rgba(255,255,255,.25); transition: all .25s; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 96px 6vw; }
.section-gray { background: var(--gray); }
.section-dark { background: var(--black); }
.section-yellow { background: var(--yellow); }
.container { max-width: 1180px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; background: var(--yellow); color: var(--black); font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 50px; margin-bottom: 16px; }
.section-title { font-family: 'Montserrat', sans-serif !important; font-size: clamp(2rem,3.5vw,3rem); font-weight: 900; line-height: 1.15; }
.section-sub { color: var(--text-light); font-size: 1.05rem; margin-top: 14px; max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ── SERVICES GRID ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 32px; border: 1px solid var(--gray-mid); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.service-card::after { content:''; position: absolute; bottom:0; left:0; right:0; height:3px; background: var(--yellow); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-light); font-size: .93rem; line-height: 1.6; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
.steps { display: flex; gap: 0; position: relative; }
.steps::before { content:''; position: absolute; top: 44px; left:0; right:0; height:2px; background: linear-gradient(90deg,var(--yellow) 0%,rgba(245,197,24,.2) 100%); }
.step { flex:1; text-align: center; padding: 0 24px; }
.step-num { width: 88px; height: 88px; border-radius: 50%; background: var(--yellow); color: var(--black); font-family: 'Montserrat',sans-serif !important; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; position: relative; z-index:1; }
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.step p { color: rgba(255,255,255,.55); font-size: .93rem; line-height: 1.6; }

/* ── PROPERTIES GRID ─────────────────────────────────────── */
.props-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 24px; }
.prop-card { text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-mid); transition: transform .25s, box-shadow .25s; }
.prop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.prop-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--gray); }
.prop-img { width:100%; height:100%; object-fit: cover; transition: transform .4s; }
.prop-card:hover .prop-img { transform: scale(1.05); }
.prop-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:3rem; }
.prop-type { position: absolute; top:12px; left:12px; background: rgba(17,17,17,.8); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; text-transform: uppercase; backdrop-filter: blur(4px); }
.prop-body { padding: 20px; }
.prop-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.prop-loc { font-size: .85rem; color: var(--text-light); margin-bottom: 10px; }
.prop-meta { display: flex; gap: 14px; font-size: .82rem; color: var(--text-light); margin-bottom: 12px; }
.prop-price { font-family: 'Montserrat',sans-serif !important; font-size: 1.2rem; font-weight: 900; color: var(--black); }
.prop-price small { font-family: 'DM Sans',sans-serif; font-size: .8rem; font-weight: 400; color: var(--text-light); }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.testi-stars { color: #E0B000; font-size: 1.1rem; margin-bottom: 14px; }
.testi-text { font-size: .95rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--black); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .93rem; }
.testi-role { color: var(--text-light); font-size: .82rem; }

/* ── AUDIT FORM ──────────────────────────────────────────── */
.audit-box { background: var(--black); border-radius: 28px; padding: 72px 56px; max-width: 760px; margin: 0 auto; text-align: center; position: relative; overflow: hidden; }
.audit-box::before { content:''; position: absolute; top:-80px; right:-80px; width:280px; height:280px; border-radius:50%; background: var(--yellow); opacity: .06; }
.audit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.audit-input { width:100%; padding: 13px 18px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18); color: var(--white); font-size: .95rem; outline: none; transition: border-color .2s; font-family: inherit; }
.audit-input::placeholder { color: rgba(255,255,255,.35); }
.audit-input:focus { border-color: var(--yellow); }
.audit-select { appearance: none; }
.audit-textarea { min-height: 90px; resize: vertical; grid-column: span 2; }
.audit-error { color: #f87171; font-size: 11px; margin-top: 4px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-mid); overflow: hidden; }
.faq-q { width:100%; text-align:left; padding: 20px 24px; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: inherit; }
.faq-arrow { color: var(--yellow); font-size: 1.1rem; transition: transform .3s; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 24px; color: var(--text-light); font-size: .95rem; line-height: 1.7; transition: max-height .35s ease, padding .35s ease; }

/* ── BLOG GRID ───────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-mid); transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.blog-img-placeholder { aspect-ratio:16/9; background:var(--gray); display:flex; align-items:center; justify-content:center; font-size:2.5rem; }
.blog-body { padding: 22px; flex:1; display:flex; flex-direction:column; }
.blog-cat { display: inline-block; background: var(--yellow-light); color: var(--yellow-dark); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-bottom: 8px; }
.blog-date { font-size: .8rem; color: var(--text-light); margin-bottom: 8px; }
.blog-title { font-weight: 700; font-size: .97rem; line-height: 1.5; margin-bottom: 8px; }
.blog-excerpt { font-size: .87rem; color: var(--text-light); line-height: 1.6; flex:1; }
.blog-read { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 700; color: var(--yellow-dark); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer { background: var(--black); color: rgba(255,255,255,.5); padding: 64px 6vw 32px; }
.footer-logo { font-family: 'Montserrat',sans-serif !important; font-size: 1.8rem; font-weight: 700; margin-bottom: 14px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: .93rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; justify-content: space-between; font-size: .82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }

/* ── FADE UP ANIMATIONS ──────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .testi-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .steps { flex-direction: column; gap: 32px; }
    .steps::before { display: none; }
    .audit-grid { grid-template-columns: 1fr; }
    .audit-textarea { grid-column: span 1; }
}
@media (max-width: 640px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--black); padding: 20px; gap: 1rem; }
    .nav-links.open { display: flex; }
    .nav-burger { display: block; }
    .testi-grid, .blog-grid, .props-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .audit-box { padding: 40px 24px; }
    .hero-stats { gap: 24px; }
}
