:root {
  --navy: #0f172a;
  --blue: #059669;
  --blue-dark: #047857;
  --cyan: #34d399;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --text: #1e293b;
  --text-dim: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; font-weight: 600; color: var(--navy); margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #ecfdf5; color: var(--blue); font-size: .8rem; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* Buttons */
.btn-site { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-size: .92rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn-site-primary { background: var(--blue); color: #fff; }
.btn-site-primary:hover { background: var(--blue-dark); }
.btn-site-outline { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-site-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-site-white { background: #fff; color: var(--blue); }
.btn-site-white:hover { background: #ecfdf5; }
.btn-site-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-site-ghost:hover { border-color: #fff; }
.btn-site-sm { padding: 8px 16px; font-size: .82rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; max-width: 1180px; margin: 0 auto; }
.site-brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.site-brand .mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a.nav-link { font-size: .9rem; color: var(--text-dim); font-weight: 500; }
.site-nav a.nav-link:hover, .site-nav a.nav-link.active { color: var(--navy); }
.site-header-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.site-header-actions .client-link { font-size: .85rem; color: var(--text-dim); font-weight: 500; }
.site-header-actions .client-link:hover { color: var(--blue); }

/* Hero */
.hero-site { padding: 76px 0 0; background: var(--bg-light); overflow: hidden; }
.hero-site .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding-bottom: 70px; }
.hero-site h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); line-height: 1.18; }
.hero-site h1 .accent { color: var(--blue); }
.hero-site p.lead { color: var(--text-dim); font-size: 1.03rem; margin: 20px 0 30px; max-width: 480px; }
.hero-site .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.device-mock { position: relative; padding: 10px; }
.device-laptop { background: #1e2433; border-radius: 14px 14px 4px 4px; padding: 12px 12px 22px; box-shadow: 0 30px 60px -20px rgba(15,23,42,.35); }
.device-laptop .screen { background: var(--white); border-radius: 6px; aspect-ratio: 16/10; overflow: hidden; padding: 16px; }
.device-laptop .screen .sk-line { height: 9px; border-radius: 4px; background: var(--border); margin-bottom: 8px; }
.device-laptop .screen .sk-line.w60 { width: 60%; }
.device-laptop .screen .sk-line.w40 { width: 40%; background: var(--blue); opacity: .25; }
.device-laptop .screen .sk-block { height: 46px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--cyan)); opacity: .12; margin-top: 14px; }
.device-laptop .base { height: 8px; background: #2b3245; border-radius: 0 0 8px 8px; margin: -4px -12px -22px; }
.device-phone { position: absolute; right: -10px; bottom: -26px; width: 34%; background: #1e2433; border-radius: 20px; padding: 8px; box-shadow: 0 20px 40px -15px rgba(15,23,42,.4); }
.device-phone .screen { background: var(--white); border-radius: 13px; aspect-ratio: 9/17.5; padding: 12px 10px; }
.device-phone .screen .sk-line { height: 6px; border-radius: 3px; background: var(--border); margin-bottom: 6px; }
.device-phone .screen .sk-block { height: 60px; border-radius: 6px; background: linear-gradient(135deg, var(--blue), var(--cyan)); opacity: .15; margin-top: 10px; }

/* Feature bar */
.feature-bar { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 20px 50px -25px rgba(15,23,42,.15); margin-top: -46px; margin-bottom: 70px; position: relative; z-index: 5; }
.feature-bar-inner { display: grid; grid-template-columns: repeat(6, 1fr); }
.feature-item { padding: 26px 18px; text-align: center; border-right: 1px solid var(--border); }
.feature-item:last-child { border-right: none; }
.feature-item .ic { width: 42px; height: 42px; border-radius: 10px; background: #ecfdf5; color: var(--blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.feature-item .t { font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.feature-item .d { font-size: .74rem; color: var(--text-dim); line-height: 1.5; }

/* Section shell */
.site-section { padding: 80px 0; }
.site-section.alt { background: var(--bg-light); }
.site-section.dark { background: var(--navy); color: #cbd5e1; }
.site-section.dark h2, .site-section.dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: .98rem; }
.site-section.dark .section-head p { color: #94a3b8; }

/* Process */
.process-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.process-step { flex: 1; text-align: center; position: relative; }
.process-step .num { width: 52px; height: 52px; border-radius: 50%; background: #ecfdf5; color: var(--blue); font-weight: 700; font-family: "Poppins", sans-serif; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process-step .t { font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.process-step .d { font-size: .8rem; color: var(--text-dim); line-height: 1.5; padding: 0 6px; }
.process-arrow { color: var(--border); font-size: 1.4rem; padding-top: 10px; flex-shrink: 0; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 25px 50px -25px rgba(5,150,105,.35); position: relative; transform: translateY(-8px); }
.price-card .badge-featured { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: .72rem; font-weight: 600; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-card .name { font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.price-card .sub { color: var(--text-dim); font-size: .8rem; margin-top: 4px; }
.price-card .amount { font-family: "Poppins", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); margin: 18px 0 2px; }
.price-card .amount span { font-size: .95rem; font-weight: 500; color: var(--text-dim); }
.price-card ul { list-style: none; padding: 0; margin: 22px 0 26px; flex: 1; }
.price-card ul li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text); padding: 7px 0; }
.price-card ul li svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card { background: #182238; border: 1px solid #2a3652; border-radius: var(--radius); padding: 26px; }
.testi-card .stars { color: var(--cyan); font-size: .85rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-card p { font-size: .92rem; color: #e2e8f0; line-height: 1.7; }
.testi-card .who { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.testi-card .avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; font-family: "Poppins", sans-serif; }
.testi-card .name { font-size: .85rem; font-weight: 600; color: #fff; }
.testi-card .role { font-size: .74rem; color: #94a3b8; }
.testi-empty { text-align: center; color: #94a3b8; font-size: .9rem; padding: 30px; border: 1px dashed #334155; border-radius: var(--radius); }

/* CTA banner */
.cta-banner { background: linear-gradient(120deg, var(--navy), #16213f); border-radius: 24px; padding: 60px 50px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin: 0 28px; max-width: 1180px; margin-left: auto; margin-right: auto; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-banner p { color: #94a3b8; margin: 14px 0 26px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .visual { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 24px; }
.cta-banner .visual .row { display: flex; justify-content: space-between; margin-bottom: 14px; }
.cta-banner .visual .stat { text-align: center; }
.cta-banner .visual .stat .n { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; color: #fff; }
.cta-banner .visual .stat .l { font-size: .7rem; color: #94a3b8; margin-top: 2px; }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 60px 0 26px; margin-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
.footer-grid .brand { color: #fff; font-family: "Poppins", sans-serif; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-grid p { font-size: .85rem; line-height: 1.7; max-width: 280px; }
.footer-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; font-size: .85rem; }
.footer-grid ul li a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: #1e293b; display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--blue); }
.footer-bottom { padding-top: 22px; text-align: center; font-size: .78rem; }

/* Simple page hero (sub-pages) */
.page-hero { background: var(--bg-light); padding: 64px 0 56px; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.page-hero p { color: var(--text-dim); max-width: 560px; margin: 16px auto 0; }

/* Réalisations grid */
.realisations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.realisation-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.realisation-card:hover { box-shadow: 0 20px 40px -20px rgba(15,23,42,.2); transform: translateY(-3px); }
.realisation-card .thumb { aspect-ratio: 16/10; background: var(--bg-light); position: relative; overflow: hidden; }
.realisation-card .thumb .tag { position: absolute; top: 12px; left: 12px; background: #fff; font-size: .7rem; font-weight: 600; color: var(--blue); padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.realisation-card .thumb .mini-preview { position: absolute; inset: 18px 18px 0; background: #fff; border-radius: 8px 8px 0 0; box-shadow: 0 10px 30px -10px rgba(15,23,42,.2); padding: 14px; overflow: hidden; }
.realisation-card .body { padding: 18px 20px 22px; }
.realisation-card .body .name { font-weight: 600; color: var(--navy); font-size: 1rem; }
.realisation-card .body .cat { font-size: .78rem; color: var(--text-dim); margin-top: 2px; }
.realisation-card .body a.view-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ic { width: 40px; height: 40px; border-radius: 10px; background: #ecfdf5; color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-size: .84rem; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 11px 14px; border-radius: 9px; border: 1px solid var(--border); font-family: inherit; font-size: .92rem; background: #fff; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--blue); }

/* Comparatif des offres (Achat / Mensuel) */
.offer-table-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 20px 50px -30px rgba(15,23,42,.15); }
.offer-table { width: 100%; border-collapse: collapse; }
.offer-table th, .offer-table td { padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: .9rem; text-align: center; }
.offer-table tr:last-child th, .offer-table tr:last-child td { border-bottom: none; }
.offer-table th { font-family: "Poppins", sans-serif; }
.offer-table .row-label { text-align: left; color: var(--text-dim); font-weight: 500; white-space: nowrap; }
.offer-table thead .row-label { background: transparent; }
.offer-table thead th.col-achat { background: var(--bg-light); color: var(--navy); font-size: 1rem; padding-top: 22px; }
.offer-table thead th.col-mensuel { background: var(--blue); color: #fff; font-size: 1rem; padding-top: 22px; position: relative; }
.offer-table thead th.col-mensuel .badge-featured { display: block; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; opacity: .85; margin-bottom: 4px; }
.offer-table .price-cell { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.offer-table thead th.col-mensuel .price-cell { color: #fff; }
.offer-table .price-cell small { display: block; font-family: "Inter", sans-serif; font-weight: 400; font-size: .68rem; color: var(--text-dim); margin-top: 2px; }
.offer-table thead th.col-mensuel .price-cell small { color: rgba(255,255,255,.75); }
.offer-table .check { color: var(--blue); }
.offer-table .cross { color: #cbd5e1; }
.offer-table tbody td.col-mensuel { background: #f0fdf9; }
.offer-table tfoot td { text-align: center; padding: 20px; }
.offer-table tfoot td.row-label { display: none; }

/* Espace client */
.dash-shell { background: var(--bg-light); min-height: 100vh; }
.dash-top { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.dash-top .bar { display: flex; justify-content: space-between; align-items: center; max-width: 980px; margin: 0 auto; padding: 0 24px; }
.dash-main { max-width: 980px; margin: 0 auto; padding: 46px 24px 80px; }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 30px; align-items: start; }
.dash-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 24px; }
.dash-card h3 { font-size: 1rem; margin-bottom: 18px; }
.dash-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: .9rem; gap: 12px; }
.dash-row:last-child { border-bottom: none; }
.dash-row .l { color: var(--text-dim); }
.dash-row .v { font-weight: 600; color: var(--navy); text-align: right; }
.dash-plan-price { font-family: "Poppins", sans-serif; font-size: 2.1rem; font-weight: 700; color: var(--navy); }
.dash-plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-dim); }
.dash-site-row { border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.dash-site-row:last-child { margin-bottom: 0; }
.dash-site-row .name { font-weight: 600; color: var(--navy); font-size: .95rem; }
.dash-site-row .tag { font-size: .76rem; color: var(--text-dim); margin-top: 2px; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: #16a34a; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }

@media (max-width: 960px) {
  .hero-site .hero-grid { grid-template-columns: 1fr; }
  .feature-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .feature-item:nth-child(3) { border-right: none; }
  .process-row { flex-direction: column; align-items: stretch; }
  .process-arrow { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; margin: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .feature-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3) { border-right: 1px solid var(--border); }
  .feature-item:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
