:root {
  --ink: #162033;
  --navy: #1f2a44;
  --teal: #167f72;
  --teal-dark: #0f665d;
  --mint: #dff8f3;
  --amber: #f59e0b;
  --paper: #f6f8fb;
  --white: #ffffff;
  --muted: #64748b;
  --line: #dce4ee;
  --shadow: 0 24px 70px rgba(23, 37, 61, .14);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 112px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 999; padding: 12px 18px; background: var(--navy); color: white; border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(18px); box-shadow: 0 8px 30px rgba(23,37,61,.08); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: var(--teal); }
.brand-mark svg { width: 40px; height: 40px; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: .96rem; font-weight: 600; }
.main-nav > a:not(.btn) { color: #43506a; }
.main-nav > a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 12px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 4px 0; transition: transform .2s ease, opacity .2s ease; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: white; box-shadow: 0 12px 30px rgba(22,127,114,.24); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-secondary:hover { background: var(--mint); }
.btn-ghost { background: white; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: #b8c5d4; box-shadow: 0 10px 24px rgba(23,37,61,.08); }
.btn-light { background: white; color: var(--navy); }
.btn-light:hover { box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.wide { width: 100%; }

.hero { position: relative; min-height: 820px; overflow: hidden; padding-top: 164px; background: linear-gradient(180deg, #f7fbff 0%, #ffffff 80%); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 52px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 16px; color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: .11em; font-size: .78rem; }
.eyebrow.light { color: #a9eee5; }
h1, h2, h3 { font-family: Manrope, sans-serif; margin-top: 0; color: var(--navy); line-height: 1.12; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 5vw, 5rem); letter-spacing: -.055em; }
h1 span { color: var(--teal); }
h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); letter-spacing: -.04em; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.hero-lead { max-width: 640px; font-size: 1.18rem; color: #536079; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; font-size: .9rem; font-weight: 600; color: #526079; }
.trust-row span { position: relative; padding-left: 18px; }
.trust-row span::before { content: ""; position: absolute; left: 0; top: .57em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-orb-one { width: 420px; height: 420px; right: -140px; top: 100px; background: radial-gradient(circle at 30% 30%, #bff4eb, #d8e4ff); }
.hero-orb-two { width: 260px; height: 260px; left: -120px; bottom: 70px; background: radial-gradient(circle at 50% 50%, #fff0c6, #f8fbff); }

.hero-visual { position: relative; z-index: 2; perspective: 1200px; }
.app-window { background: white; border: 1px solid #dfe6ef; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transform: rotateY(-4deg) rotateX(2deg); }
.window-bar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; background: #f8fafc; border-bottom: 1px solid #e7edf4; font-size: 11px; color: #68758d; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.window-dots span:nth-child(1) { background: #fb7185; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #34d399; }
.window-status { justify-self: end; color: #9a6700; background: #fff7d6; border-radius: 999px; padding: 4px 8px; }
.app-layout { display: grid; grid-template-columns: 130px 1fr; min-height: 480px; }
.app-sidebar { padding: 20px 12px; background: var(--navy); color: white; }
.mini-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 12px; margin-bottom: 22px; }
.mini-brand span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 8px; background: var(--teal); }
.side-item { width: 100%; border: 0; color: #d2d9e5; background: transparent; text-align: left; padding: 9px 10px; border-radius: 8px; font-size: 10px; margin-bottom: 4px; }
.side-item.active { background: rgba(255,255,255,.11); color: white; }
.app-main { padding: 18px; background: #f6f8fb; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-head small { display: block; color: #8692a6; font-size: 9px; }
.app-head strong { font-size: 16px; }
.app-head button { border: 0; color: white; background: var(--teal); border-radius: 8px; padding: 8px 10px; font-size: 9px; }
.workspace-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 12px; }
.plan-card, .quote-card { background: white; border: 1px solid #e3e9f0; border-radius: 12px; }
.plan-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-bottom: 1px solid #edf1f5; font-size: 10px; font-weight: 700; }
.plan-toolbar button { border: 1px solid #dbe2eb; background: white; width: 24px; height: 22px; }
.room-plan { width: 100%; height: 260px; }
.surface-summary { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #edf1f5; }
.surface-summary div { padding: 10px; border-right: 1px solid #edf1f5; }
.surface-summary div:last-child { border-right: 0; }
.surface-summary span { display: block; font-size: 8px; color: #8995a8; }
.surface-summary strong { font-size: 11px; color: var(--navy); }
.quote-card { padding: 14px; }
.quote-title { margin-bottom: 16px; }
.quote-title span { display: block; color: #9aa5b6; font-size: 8px; }
.quote-title strong { font-size: 15px; }
.quote-line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf1f5; font-size: 9px; }
.quote-line.muted { color: #8b6b23; background: #fffaf0; margin: 0 -8px; padding: 10px 8px; }
.quote-total { margin-top: 14px; padding: 12px; border-radius: 9px; background: var(--mint); }
.quote-total span { display: block; font-size: 8px; color: #55766f; }
.quote-total strong { color: var(--teal-dark); font-size: 17px; }
.full-btn { margin-top: 12px; width: 100%; border: 0; border-radius: 8px; background: var(--navy); color: white; padding: 10px; font-size: 9px; font-weight: 700; }
.floating-card { position: absolute; min-width: 145px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 16px 36px rgba(23,37,61,.13); }
.floating-card span { display: block; font-size: 10px; color: #7b879a; }
.floating-card strong { font-family: Manrope, sans-serif; color: var(--navy); font-size: 18px; }
.floating-one { left: -36px; bottom: 38px; }
.floating-two { right: -20px; top: 70px; }

.proof-band { background: var(--navy); color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.proof-grid div { padding: 34px 42px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid div:last-child { border-right: 0; }
.proof-grid strong { display: block; font-family: Manrope, sans-serif; font-size: 1.1rem; margin-bottom: 4px; }
.proof-grid span { color: #b9c4d6; font-size: .9rem; }

.section-heading { max-width: 760px; margin-bottom: 52px; }
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-heading.compact { max-width: 620px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.feature-card:hover { transform: translateY(-7px); border-color: #b8d8d2; box-shadow: 0 20px 44px rgba(23,37,61,.09); }
.feature-card p { color: var(--muted); margin-bottom: 0; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: var(--teal); background: var(--mint); }
.feature-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.workflow { background: var(--paper); }
.workflow-grid { display: grid; grid-template-columns: 1fr .82fr; gap: 72px; align-items: center; }
.workflow-copy > p:not(.eyebrow) { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 36px 0 0; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: white; color: var(--teal); font-family: Manrope, sans-serif; font-weight: 800; box-shadow: 0 8px 18px rgba(23,37,61,.06); }
.steps strong { display: block; color: var(--navy); font-family: Manrope, sans-serif; margin-bottom: 5px; }
.steps p { margin: 0; color: var(--muted); }
.calculator-card { padding: 32px; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.calc-head p { margin: 0; font-family: Manrope, sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--navy); }
.calc-head span { font-size: .75rem; color: #8c98aa; background: var(--paper); padding: 6px 9px; border-radius: 999px; }
.calculator-card label { display: block; margin: 20px 0 8px; font-weight: 700; font-size: .9rem; }
.range-row { display: grid; grid-template-columns: 1fr 90px; gap: 18px; align-items: center; }
input[type="range"] { accent-color: var(--teal); width: 100%; }
.range-row output { text-align: right; color: var(--teal); font-weight: 800; }
.calc-result { margin-top: 30px; padding: 24px; border-radius: 18px; background: var(--navy); color: white; }
.calc-result span { display: block; color: #b9c4d6; font-size: .84rem; }
.calc-result strong { display: block; font-family: Manrope, sans-serif; font-size: 2rem; margin: 5px 0; }
.calc-result small { color: #9eabbd; }

.use-cases { overflow: hidden; }
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.case-card { position: relative; overflow: hidden; min-height: 235px; padding: 28px; border-radius: var(--radius-md); background: linear-gradient(145deg, #f8fbff, #eef5f8); }
.case-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -55px; bottom: -65px; border-radius: 50%; background: var(--mint); }
.case-card > span { display: inline-block; color: var(--teal); font-family: Manrope, sans-serif; font-weight: 800; margin-bottom: 40px; }
.case-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); }

.pricing { background: var(--navy); color: white; }
.pricing .section-heading h2 { color: white; }
.pricing .section-heading p:not(.eyebrow) { color: #b8c4d5; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); background: rgba(255,255,255,.06); }
.price-card.featured { transform: translateY(-12px); background: white; color: var(--ink); box-shadow: 0 26px 60px rgba(0,0,0,.22); }
.price-card:not(.featured) h3, .price-card:not(.featured) .plan-name { color: white; }
.plan-name { margin: 0 0 18px; font-family: Manrope, sans-serif; font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.price strong { font-family: Manrope, sans-serif; font-size: 2.3rem; line-height: 1; }
.price span { color: #9aa6b8; font-size: .85rem; }
.price-card > p:not(.plan-name) { color: #aeb9ca; }
.price-card.featured > p:not(.plan-name) { color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 28px 0; }
.price-card li { position: relative; padding: 10px 0 10px 25px; border-bottom: 1px solid rgba(255,255,255,.09); }
.price-card.featured li { border-color: var(--line); }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: #5bd7c5; font-weight: 800; }
.price-card.featured li::before { color: var(--teal); }
.popular { position: absolute; right: 24px; top: 22px; padding: 6px 10px; border-radius: 999px; background: var(--mint); color: var(--teal-dark); font-size: .72rem; font-weight: 800; }

.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; }
.faq-intro { position: sticky; top: 120px; align-self: start; }
.faq-intro p:not(.eyebrow) { color: var(--muted); }
.accordion details { border-top: 1px solid var(--line); padding: 22px 0; }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { position: relative; list-style: none; padding-right: 32px; font-family: Manrope, sans-serif; font-weight: 800; color: var(--navy); cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.35rem; color: var(--teal); }
.accordion details[open] summary::after { content: "−"; }
.accordion p { color: var(--muted); margin: 14px 0 0; }

.cta-section { padding-top: 40px; }
.cta-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; padding: 56px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #116f65, #1f2a44); color: white; box-shadow: var(--shadow); }
.cta-card h2 { color: white; }
.cta-copy > p:not(.eyebrow) { color: #c2d2dc; font-size: 1.05rem; }
.lead-form { padding: 28px; border-radius: 20px; background: rgba(255,255,255,.11); backdrop-filter: blur(10px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: block; font-size: .85rem; font-weight: 700; color: #dce7ec; margin-bottom: 14px; }
.lead-form input, .lead-form select { width: 100%; min-height: 46px; margin-top: 7px; padding: 0 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; background: rgba(255,255,255,.96); color: var(--ink); outline: none; }
.lead-form input:focus, .lead-form select:focus { border-color: #99e9dd; box-shadow: 0 0 0 3px rgba(153,233,221,.2); }
.form-note, .form-success { margin: 12px 0 0; text-align: center; color: #bcd0d8; font-size: .76rem; }
.form-success { color: #d9fff9; font-weight: 700; }
.form-success.form-error { color: #ffe0e0; }
.form-honeypot { position: absolute!important; left: -9999px!important; width: 1px!important; height: 1px!important; opacity: 0!important; pointer-events: none!important; }

.site-footer { padding: 70px 0 28px; background: #111827; color: #aeb8c7; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 48px; }
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; }
.footer-brand { color: white; margin-bottom: 6px; }
.footer-grid strong { color: white; margin-bottom: 7px; }
.footer-grid a:hover { color: white; }
.footer-grid p { max-width: 330px; margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 840px; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .workflow-grid, .cta-card { grid-template-columns: 1fr; }
  .faq-grid { gap: 40px; }
}

@media (max-width: 820px) {
  .section-pad { padding: 82px 0; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 84px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: white; box-shadow: 0 22px 38px rgba(23,37,61,.12); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform .25s ease, opacity .25s ease; }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 14px 8px; }
  .nav-cta { margin-top: 8px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .app-window { transform: none; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1180px); }
  .hero { padding-top: 132px; }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.1rem; }
  .feature-grid, .case-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .app-layout { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .workspace-grid { grid-template-columns: 1fr; }
  .quote-card { display: none; }
  .room-plan { height: 230px; }
  .floating-card { display: none; }
  .window-title { display: none; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .window-status { grid-column: 2; }
  .field-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 30px 20px; }
  .lead-form { padding: 22px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .proof-grid div { padding: 26px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Contenu éditorial SEO — v1.1.0 */
.seo-intro { background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%); }
.seo-intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.seo-intro-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--teal-dark); font-weight: 800; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.seo-topic-grid { display: grid; gap: 16px; }
.seo-topic-grid article { padding: 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 14px 38px rgba(23,37,61,.07); }
.seo-topic-grid h3 { margin: 0 0 8px; color: var(--navy); }
.seo-topic-grid p { margin: 0; color: var(--muted); }
.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { padding: 24px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.legal-main { padding: 72px 0 96px; }
.legal-card { max-width: 860px; padding: 44px; border-radius: var(--radius-md); background: var(--white); box-shadow: 0 18px 50px rgba(23,37,61,.09); }
.legal-card h1 { margin-top: 0; color: var(--navy); }
.legal-card h2 { margin-top: 32px; color: var(--navy); font-size: 1.3rem; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-note { padding: 16px 18px; border-left: 4px solid var(--amber); background: #fff8e8; color: #77550c; }

@media (max-width: 900px) {
  .seo-intro-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
