@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #070E12;
  --bg-card: #0D171C;
  --bg-deep: #101D23;
  --teal: #1BC7B1;
  --teal-dark: #0E8F81;
  --text: #FAFAF8;
  --text-muted: rgba(250, 250, 248, 0.60);
  --text-faint: rgba(250, 250, 248, 0.38);
  --border: rgba(27, 199, 177, 0.22);
  --border-soft: rgba(250, 250, 248, 0.08);
  --halo: rgba(27, 199, 177, 0.30);
  --grad: linear-gradient(135deg, #1BC7B1, #0E8F81);
  --radius: 0.9rem;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  scroll-behavior: smooth;
}

body { position: relative; overflow-x: hidden; }

::selection { background: var(--teal); color: #06110F; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(27, 199, 177, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(27, 199, 177, 0.07), transparent 60%);
}

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
section { position: relative; z-index: 1; }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.fade-up.in { opacity: 1; transform: translateY(0); }

@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg);} 50% { transform: translateY(-10px) rotate(1deg);} }
.floaty { animation: floaty 6s ease-in-out infinite; }

@keyframes drift { 0% { transform: translate(0,0) rotate(8deg); opacity:.5;} 50% { transform: translate(20px,-30px) rotate(14deg); opacity:.8;} 100% { transform: translate(0,0) rotate(8deg); opacity:.5;} }
.drift { animation: drift 14s ease-in-out infinite; }

@keyframes shimmer { 0% { background-position: -200% 0;} 100% { background-position: 200% 0;} }
.shimmer-text {
  background: linear-gradient(90deg, #FAFAF8 0%, #FAFAF8 40%, #1BC7B1 50%, #FAFAF8 60%, #FAFAF8 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 14, 18, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-muted); font-size: .92rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn-primary { background: var(--grad); color: #06110F; box-shadow: 0 8px 24px -8px var(--halo); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--halo); }
.btn-ghost { background: transparent; border-color: var(--border-soft); color: var(--text); }
.btn-ghost:hover { border-color: var(--border); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 72px; left: 0; right: 0; background: var(--bg-card); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 18px; border-bottom: 1px solid var(--border-soft); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border-soft); }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: 96px 0 60px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border); color: var(--teal); font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 20px; }
.hero p.lead { font-size: 1.1rem; color: var(--text-muted); max-width: 46ch; margin: 0 0 30px; line-height: 1.6; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-note { color: var(--text-faint); font-size: .85rem; }

.call-card {
  background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  position: relative;
}
.call-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.call-card .top .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); display:flex; align-items:center; justify-content:center; font-weight:700; color:#06110F; }
.call-card .top .who { font-weight: 600; font-size: .95rem; }
.call-card .top .status { font-size: .78rem; color: var(--teal); }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .88rem; line-height: 1.45; margin-bottom: 10px; }
.bubble.in { background: var(--bg-deep); border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--grad); color: #06110F; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.call-card .blob { position:absolute; width:220px; height:220px; right:-60px; top:-60px; background: radial-gradient(circle, var(--halo), transparent 70%); z-index:-1; }

/* ---------- Section heading ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { color: var(--teal); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.section-head p { color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ---------- Audience strip ---------- */
.audience { padding: 40px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.audience .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.audience .chip { display:flex; align-items:center; gap:10px; padding: 12px 20px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--border-soft); font-size: .92rem; font-weight: 600; color: var(--text-muted); }
.audience .chip .ico { font-size: 1.1rem; }

/* ---------- Features ---------- */
.features { padding: 110px 0; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.feat-card:hover { border-color: var(--border); transform: translateY(-4px); }
.feat-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--grad); display:flex; align-items:center; justify-content:center; font-size: 1.25rem; margin-bottom: 18px; }
.feat-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; }
.feat-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; margin: 0; }

@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.how { padding: 0 0 110px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-deep); border: 1px solid var(--border); color: var(--teal); font-weight: 800; display:flex; align-items:center; justify-content:center; margin-bottom: 16px; }
.step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; }
.step p { color: var(--text-muted); font-size: .88rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Boundaries (does / doesn't) ---------- */
.bounds { padding: 0 0 110px; }
.bounds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bounds-card { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border-soft); background: var(--bg-card); }
.bounds-card h3 { margin: 0 0 18px; font-size: 1.05rem; font-weight: 700; }
.bounds-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.bounds-card li { display: flex; gap: 10px; color: var(--text-muted); font-size: .92rem; line-height: 1.5; }
.bounds-card.yes h3 { color: var(--teal); }
.bounds-card .mark { flex-shrink: 0; font-weight: 800; }
.bounds-card.yes .mark { color: var(--teal); }
.bounds-card.no .mark { color: var(--text-faint); }
@media (max-width: 760px) { .bounds-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { padding: 0 0 110px; }
.price-note { text-align: center; color: var(--text-faint); font-size: .82rem; margin: -30px 0 40px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--border); box-shadow: 0 20px 50px -30px var(--halo); position: relative; }
.price-card.featured::before { content: 'Populaire'; position: absolute; top: -12px; right: 24px; background: var(--grad); color: #06110F; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.price-card .amount { font-size: 2.1rem; font-weight: 800; margin: 6px 0 4px; }
.price-card .amount span { font-size: .9rem; font-weight: 500; color: var(--text-faint); }
.price-card .desc { color: var(--text-muted); font-size: .86rem; margin-bottom: 20px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-card li { font-size: .87rem; color: var(--text-muted); display: flex; gap: 9px; }
.price-card li .mark { color: var(--teal); font-weight: 800; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 110px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-family: inherit; padding: 20px 24px; font-size: .96rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .plus { color: var(--teal); font-size: 1.2rem; transition: transform .2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 24px 20px; margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact { padding: 0 0 120px; }
.contact-box { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: 1.4rem; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; position: relative; overflow: hidden; }
.contact-box .blob { position:absolute; width:280px; height:280px; left:-80px; bottom:-100px; background: radial-gradient(circle, var(--halo), transparent 70%); z-index:0; }
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin: 0 0 16px; letter-spacing: -0.01em; }
.contact-copy p { color: var(--text-muted); line-height: 1.6; margin: 0 0 24px; max-width: 40ch; }
.contact-copy .miniinfo { display: flex; flex-direction: column; gap: 10px; font-size: .88rem; color: var(--text-muted); }
form.contact-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; color: var(--text-faint); }
.field input, .field textarea {
  background: var(--bg-deep); border: 1px solid var(--border-soft); color: var(--text);
  padding: 12px 14px; border-radius: .6rem; font-family: inherit; font-size: .92rem; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--border); }
.field textarea { resize: vertical; min-height: 90px; }
.form-msg { font-size: .85rem; color: var(--teal); min-height: 1.2em; }
@media (max-width: 860px) { .contact-box { grid-template-columns: 1fr; padding: 36px 26px; } }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border-soft); padding: 46px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
footer .f-links { display: flex; gap: 22px; }
footer .f-links a { color: var(--text-muted); font-size: .86rem; }
footer .f-links a:hover { color: var(--text); }
footer .legal { color: var(--text-faint); font-size: .78rem; margin-top: 6px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}
