/* ===========================
   PROSPLEX style.css
   =========================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #0D0D0D;
    --dark: #141414;
    --card: #1C1C1C;
    --card-hover: #222222;
    --teal: #3DBFA0;
    --teal-light: #52D4B5;
    --teal-dim: rgba(61, 191, 160, 0.10);
    --teal-border: rgba(61, 191, 160, 0.28);
    --white: #FFFFFF;
    --muted: #A0A0A0;
    --dim: #666666;
    --border: rgba(255, 255, 255, 0.11);
    --border-soft: rgba(255, 255, 255, 0.06);
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Inter", sans-serif;
    --max-w: 1240px;
    --gutter: clamp(24px, 4vw, 60px);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
h1 { font-family: var(--font-body); font-size: clamp(52px, 7.5vw, 104px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; }
h1 em { font-style: italic; color: var(--teal); }
h2 { font-size: clamp(36px, 4vw, 64px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; margin-bottom: 8px; }
.section-tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.section-header { margin-bottom: 64px; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--teal); color: #050505; padding: 14px 26px; border-radius: 5px; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-primary .arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--white); padding: 13px 26px; border-radius: 5px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; transition: border-color 0.2s, background 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.04); }
.btn-large { padding: 18px 34px; font-size: 15px; }
.reveal-item { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-item.visible { opacity: 1; transform: translateY(0); }
/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 0; transition: padding 0.35s var(--ease), background 0.35s, border-color 0.35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(8, 8, 8, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 14px 0; border-bottom-color: var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 40px; }
.nav-logo img { display: block; }
.nav-links { display: flex; list-style: none; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.01em; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: 0.05em; padding: 9px 20px; border: 1px solid var(--teal-border); border-radius: 4px; white-space: nowrap; transition: background 0.2s, border-color 0.2s; }
.nav-cta:hover { background: var(--teal-dim); border-color: rgba(61, 191, 160, 0.4); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 6px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
/* HERO */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--black); display: flex; align-items: center; }
.hero-bg-text { position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: clamp(100px, 20vw, 300px); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.10); white-space: nowrap; letter-spacing: 0.06em; z-index: 1; pointer-events: none; user-select: none; will-change: transform; }
.hero::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 280px; background: radial-gradient(ellipse at center bottom, rgba(61, 191, 160, 0.07) 0%, transparent 70%); z-index: 2; pointer-events: none; }
.hero-building { position: absolute; bottom: 0; right: 4%; width: 52%; max-width: 780px; z-index: 3; pointer-events: none; will-change: transform; }
.hero-building-placeholder { width: 100%; height: 72vh; background: linear-gradient(to top, rgba(61, 191, 160, 0.04) 0%, rgba(61, 191, 160, 0.01) 40%, transparent 100%); border-left: 1px solid rgba(61,191,160,0.06); }
.hero-building img { width: 100%; height: auto; object-fit: contain; object-position: bottom center; }
.hero-content { position: relative; z-index: 4; width: 100%; max-width: calc(var(--max-w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); padding-top: 80px; }
.hero-content-inner { max-width: 520px; }
.hero-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.hero-title { margin-bottom: 24px; }
.hero-sub { font-size: 15px; color: var(--muted); line-height: 1.75; max-width: 400px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 36px; left: var(--gutter); left: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); z-index: 4; display: flex; align-items: center; gap: 14px; color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-scroll-line { width: 48px; height: 1px; background: var(--dim); }
/* STATS */
.stats { padding: 56px 0; background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: flex; align-items: center; justify-content: space-around; gap: 24px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.stat-value { display: flex; align-items: baseline; gap: 2px; }
.stat-number, .stat-suffix { font-family: var(--font-display); font-size: clamp(44px, 5.5vw, 80px); color: var(--teal); line-height: 1; }
.stat-suffix { font-size: clamp(28px, 3.5vw, 52px); }
.stat-label { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 8px; }
.stat-divider { width: 1px; height: 56px; background: var(--border); flex-shrink: 0; }
/* APPROCHE */
.approche { padding: 130px 0; }
.approche-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.approche-card { position: relative; background: var(--card); padding: 52px 44px; transition: background 0.3s; overflow: hidden; }
.approche-card:hover { background: var(--card-hover); }
.approche-num { position: absolute; top: 20px; right: 28px; font-family: var(--font-display); font-size: 80px; color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none; user-select: none; }
.approche-icon { display: block; font-size: 26px; color: var(--teal); margin-bottom: 28px; }
.approche-card h3 { color: var(--white); }
.approche-card p { font-size: 14px; color: var(--muted); line-height: 1.85; }
/* PROJETS */
.projets { padding: 130px 0; background: var(--dark); }
.projets-grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 20px; align-items: start; }
.projet-card { border-radius: 10px; overflow: hidden; background: var(--card); border: 1px solid var(--border); transition: transform 0.35s var(--ease), border-color 0.3s; }
.projet-card:hover { transform: translateY(-6px); border-color: var(--teal-border); }
.projet-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.projet-featured .projet-image { aspect-ratio: 3 / 4; }
.projet-img-placeholder { position: relative; width: 100%; height: 100%; transition: transform 0.5s var(--ease); }
.projet-img-placeholder::after { content: 'Photo à venir'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.18); }
.projet-card:hover .projet-img-placeholder { transform: scale(1.03); }
.gradient-1 { background: linear-gradient(135deg, #2C3030 0%, #363E3C 50%, #2A3535 100%); }
.gradient-2 { background: linear-gradient(160deg, #1E2E28 0%, #283D35 50%, #1C2E28 100%); }
.gradient-3 { background: linear-gradient(135deg, #28282E 0%, #32323C 50%, #262630 100%); }
.projet-status { position: absolute; top: 14px; left: 14px; font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; }
.status-etude { background: rgba(255, 196, 0, 0.12); color: #FFC400; border: 1px solid rgba(255, 196, 0, 0.28); }
.status-dev { background: var(--teal-dim); color: var(--teal); border: 1px solid var(--teal-border); }
.status-opp { background: rgba(255,255,255,0.06); color: var(--white); border: 1px solid var(--border); }
.projet-info { padding: 28px 26px 32px; }
.projet-info h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.projet-info p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.projet-link { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: 0.04em; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s var(--ease); }
.projet-link:hover { gap: 10px; }
/* POURQUOI */
.pourquoi { padding: 130px 0; }
.pourquoi-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.pourquoi-left { position: sticky; top: 110px; }
.pourquoi-left h2 { margin-bottom: 18px; }
.pourquoi-sub { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 40px; }
.pourquoi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pourquoi-item { background: var(--card); padding: 36px 28px; transition: background 0.3s; }
.pourquoi-item:hover { background: var(--card-hover); }
.pourquoi-icon { display: block; font-size: 20px; color: var(--teal); margin-bottom: 14px; }
.pourquoi-item h4 { color: var(--white); }
.pourquoi-item p { font-size: 13px; color: var(--muted); line-height: 1.75; }
/* CTA BANNER */
.cta-banner { padding: 100px 0; background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-text .section-tag { display: block; }
.cta-text h2 { margin-top: 6px; }
/* FOOTER */
.footer { padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.footer-brand img { margin-bottom: 20px; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.85; max-width: 300px; }
.footer-nav h4, .footer-contact-info h4 { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-nav a:hover { color: var(--white); }
.footer-contact-info { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-info p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 4px; }
.footer-contact-info a { font-size: 14px; color: var(--teal); transition: opacity 0.2s; }
.footer-contact-info a:hover { opacity: 0.7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; }
.footer-bottom p { font-size: 12px; color: var(--dim); }
.footer-icon { opacity: 0.4; }
/* RESPONSIVE */
@media (max-width: 1024px) {
    .projets-grid { grid-template-columns: 1fr 1fr; }
    .projet-featured { grid-column: 1 / -1; }
    .projet-featured .projet-image { aspect-ratio: 16 / 7; }
    .pourquoi-inner { grid-template-columns: 1fr; gap: 52px; }
    .pourquoi-left { position: static; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    :root { --gutter: 24px; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open { display: flex !important; flex-direction: column; position: fixed; top: 58px; left: 0; right: 0; background: rgba(8,8,8,0.97); backdrop-filter: blur(16px); padding: 28px var(--gutter); gap: 22px; border-bottom: 1px solid var(--border); z-index: 99; }
    .nav-links.open a { font-size: 16px; color: var(--white); }
    .hero-building { width: 85%; right: -15%; opacity: 0.35; }
    .hero-content-inner { max-width: 100%; }
    .approche-grid { grid-template-columns: 1fr; }
    .projets-grid { grid-template-columns: 1fr; }
    .projet-featured { grid-column: auto; }
    .projet-featured .projet-image { aspect-ratio: 4/3; }
    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
    .stat-divider { display: none; }
    .pourquoi-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .footer-top { grid-template-columns: 1fr; gap: 36px; }
    .footer-brand { grid-column: auto; }
    .hero-ctas { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat { align-items: flex-start; text-align: left; }
}