/* =========================================================
   WAUden · feuille de styles commune
   1. Base   2. Composants   3. En-tête   4. Hero
   5. Maquettes de la console   6. Sections   7. Tarif et FAQ
   8. Contact   9. Pages légales   10. Pied de page   11. Responsive
   ========================================================= */

/* 1. Base */
:root {
  --bg: #08150f;
  --bg2: #0b1c16;
  --card: #0e231c;
  --field: #081a14;
  --line: rgba(255, 255, 255, .07);
  --line2: rgba(46, 230, 166, .26);
  --text: #e8f2ed;
  --muted: #a0b5ab;
  --dim: #6c8278;
  --accent: #2ee6a6;
  --accent2: #7ff6c4;
  --grad: linear-gradient(120deg, #8ef7c0 0%, #2ee6a6 50%, #10c493 100%);
  --ink: #04241a;
  --err: #f0a0a0;
  --sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', Consolas, monospace;
  --r: 12px;
  --pad: 28px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%
}

body {
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip
}

img,
svg {
  display: block;
  max-width: 100%
}

a {
  color: inherit
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.12
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  max-width: 720px;
  margin-bottom: 16px
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--pad)
}

section {
  padding: 96px 0
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none
}

.skip:focus {
  top: 16px
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px
}

/* 2. Composants */
.label {
  display: flex;
  align-items: center;
  gap: 10px;
  font: .8rem var(--mono);
  color: var(--accent);
  margin-bottom: 16px
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent)
}

.hl {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.intro {
  color: var(--muted);
  max-width: 660px;
  font-size: 1.05rem
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 .95rem var(--sans);
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, opacity .2s
}

.btn svg {
  width: 16px;
  height: 16px
}

.btn-main {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 24px -8px rgba(46, 230, 166, .6)
}

.btn-main:hover {
  background: #4cf0b6;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px -8px rgba(46, 230, 166, .75)
}

.btn-sec {
  border-color: var(--line2);
  background: rgba(46, 230, 166, .05)
}

.btn-sec:hover {
  background: rgba(46, 230, 166, .12)
}

.btn[disabled] {
  opacity: .6;
  cursor: wait
}

.link {
  text-decoration: underline;
  text-decoration-color: var(--line2);
  text-underline-offset: 4px;
  font-weight: 500
}

.link:hover {
  text-decoration-color: var(--accent)
}

.box {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card)
}

/* 3. En-tête */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s
}

.nav.scrolled,
.nav.open {
  background: rgba(8, 21, 15, .9);
  border-color: var(--line)
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px
}

.brand {
  position: relative;
  flex: none;
  width: 208px;
  height: 40px
}

.brand img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .3s
}

.brand .full {
  height: 40px;
  width: auto
}

.brand .sq {
  width: 36px;
  height: 36px;
  opacity: 0
}

.nav.scrolled .brand .full {
  opacity: 0
}

.nav.scrolled .brand .sq {
  opacity: 1
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: .93rem;
  color: var(--muted)
}

.menu a {
  text-decoration: none;
  transition: color .2s
}

.menu a:not(.btn):hover {
  color: var(--text)
}

.menu .btn {
  color: var(--ink);
  padding: 9px 16px;
  font-size: .88rem
}

.burger {
  display: none;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer
}

.burger svg {
  width: 26px;
  height: 26px
}

/* 4. Hero */
.hero,
.doc {
  position: relative;
  overflow: hidden
}

.hero {
  padding: 144px 0 0;
  text-align: center
}

.hero .wrap,
.doc .wrap {
  position: relative
}

.glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none
}

.glow.a {
  width: 820px;
  height: 820px;
  right: -260px;
  top: -300px;
  background: radial-gradient(circle, rgba(46, 230, 166, .16), transparent 62%)
}

.glow.b {
  width: 600px;
  height: 600px;
  left: -260px;
  top: 120px;
  background: radial-gradient(circle, rgba(16, 120, 90, .22), transparent 65%)
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(46, 230, 166, .06);
  font-size: .84rem;
  color: var(--accent2)
}

.pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent)
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 900px;
  margin: 0 auto 24px
}

.hero .intro {
  font-size: 1.15rem;
  margin: 0 auto 32px
}

.hero-act {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px
}

.hero-shot {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
  padding: 8px 8px 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(46, 230, 166, .22), rgba(46, 230, 166, .03) 60%);
  box-shadow: 0 -20px 80px -30px rgba(46, 230, 166, .35)
}

.hero-shot .win {
  border-radius: 8px 8px 0 0
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(transparent, var(--bg))
}

/* 5. Maquettes de la console (thème clair) */
.win {
  overflow: hidden;
  background: #eef4f1;
  color: #1d3b31;
  font-size: 12px;
  line-height: 1.4;
  text-align: left
}

.win.framed {
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8)
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #082019;
  color: #9db8ad;
  font-size: 11px
}

.win-bar .ic {
  width: 22px;
  height: 22px
}

.win-bar .wm {
  height: 12px;
  width: auto
}

.win-bar .sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .2)
}

.win-bar .usr {
  margin-left: auto
}

.win-body {
  display: grid;
  grid-template-columns: 160px 1fr
}

.side {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 8px;
  background: #fff;
  border-right: 1px solid #dbe7e1;
  font-size: 11.5px
}

.side span {
  padding: 8px 12px;
  border-radius: 6px;
  color: #34524a
}

.side .on {
  background: #dff1e8;
  color: #06201a;
  font-weight: 600;
  box-shadow: inset 3px 0 0 #0b6a52
}

.main {
  min-width: 0;
  padding: 16px 20px 20px
}

.main h4,
.m-head h4 {
  font-size: 17px;
  color: #06201a;
  margin-bottom: 12px
}

.kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px
}

.kpi,
.panel,
.cardm,
.cfg-row,
.tblwrap {
  background: #fff;
  border: 1px solid #dbe7e1;
  border-radius: 8px
}

.kpi {
  padding: 8px 10px
}

.kpi small,
.kpi em {
  display: block;
  font-size: 11px;
  font-style: normal;
  color: #6b857b
}

.kpi small {
  color: #4b665d;
  line-height: 1.25;
  min-height: 28px
}

.kpi b {
  display: block;
  font-size: 20px;
  color: #06201a;
  margin: 2px 0
}

.kpi.warn {
  border-left: 3px solid #a66a00
}

.panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.panel,
.cardm {
  padding: 10px 12px
}


.panel h5,
.cardm h5 {
  font-size: 11.5px;
  color: #06201a;
  margin-bottom: 8px
}

.bar {
  display: grid;
  grid-template-columns: 104px 1fr 24px;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
  font-size: 11px;
  color: #1c6a55
}

.bar span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis
}

.bar i {
  display: block;
  height: 8px;
  width: var(--w, 100%);
  border-radius: 4px;
  background: #26755f
}

.bar b {
  text-align: right;
  font-weight: 500;
  color: #34524a
}

.w7 {
  --w: 7%
}

.w42 {
  --w: 42%
}

.w50 {
  --w: 50%
}

.w64 {
  --w: 64%
}

.m-head {
  display: flex;
  align-items: center;
  gap: 10px
}

.m-head h4 {
  margin: 0
}

.ok-tag,
.cfg-row .v,
.avail {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 999px;
  padding: 2px 10px
}

.ok-tag,
.cfg-row .v {
  background: #dff1e8;
  color: #0b6a52
}

.avail {
  background: #fdf0d8;
  color: #8a5600
}

.crumb {
  font-size: 11px;
  color: #6b857b;
  margin: 4px 0 12px
}

.crumb b {
  color: #1c6a55
}

.m-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px
}

.m-actions .b {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #cfdfd7
}

.m-actions .p {
  background: #0b6a52;
  border-color: #0b6a52;
  color: #fff
}

.m-actions small {
  flex-basis: 100%;
  font-size: 11px;
  color: #6b857b
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px
}

.cardm dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 11px
}

.cardm dt {
  color: #6b857b;
  font-weight: 600
}

.tblwrap {
  overflow-x: auto
}

.mt {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px
}

.mt th,
.mt td {
  padding: 7px 9px;
  text-align: left;
  border-bottom: 1px solid #edf3ef
}

.mt th {
  background: #f1f6f3;
  color: #34524a;
  font-weight: 600
}

.mt tr:last-child td {
  border-bottom: 0
}

.mt td:first-child,
.mt .up {
  color: #0b6a52;
  font-weight: 600;
  white-space: nowrap
}

.cfg {
  display: grid;
  gap: 8px
}

.cfg-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px
}

.cfg-row b {
  display: block;
  font-size: 11.5px;
  color: #06201a
}

.cfg-row small {
  font-size: 11px;
  color: #6b857b
}

.tog {
  position: relative;
  flex: none;
  width: 30px;
  height: 17px;
  border-radius: 999px;
  background: #26755f
}

.tog::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff
}

.caption {
  font: .75rem var(--mono);
  color: var(--dim);
  margin-top: 12px
}

.kpi b,
.bar b,
.mt td,
.amount,
.total b,
.calc input {
  font-variant-numeric: tabular-nums
}

/* 6. Sections */
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.prose p {
  color: var(--muted);
  margin-bottom: 16px
}

.prose strong {
  color: var(--text);
  font-weight: 600
}

.qs {
  list-style: none;
  display: grid;
  gap: 8px
}

.qs li {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  transition: border-color .2s, transform .2s
}

.qs li:hover {
  border-color: var(--line2);
  transform: translateX(4px)
}

.feat:hover {
  border-color: var(--line2);
  transform: translateY(-3px)
}

.qs span {
  font: .82rem var(--mono);
  color: var(--accent);
  padding-top: 3px
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px
}

.feat,
.step {
  padding: 24px;
  transition: border-color .25s, transform .25s
}

.feat {
  background: linear-gradient(180deg, var(--card), rgba(14, 35, 28, .4))
}

.feat svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  margin-bottom: 16px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: rgba(46, 230, 166, .09);
  color: var(--accent)
}

.feat h3,
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 8px
}

.feat p,
.step p,
.seclist p {
  color: var(--muted);
  font-size: .94rem
}

.step .n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: var(--grad);
  font: 500 .8rem var(--mono);
  color: var(--ink)
}

.show {
  background: linear-gradient(180deg, var(--bg), var(--bg2) 25%, var(--bg2) 75%, var(--bg))
}

.sec {
  background: radial-gradient(800px 420px at 90% 10%, rgba(46, 230, 166, .08), transparent 60%), var(--bg2)
}

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin: 36px 0 40px;
  max-width: 100%;
  overflow-x: auto
}

.tab {
  flex: none;
  padding: 8px 18px;
  border: 0;
  border-radius: 8px;
  background: none;
  font: 600 .9rem var(--sans);
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s, color .2s
}

.tab[aria-selected=true] {
  background: var(--accent);
  color: var(--ink)
}

.pane {
  display: grid;
  grid-template-columns: .75fr 1.5fr;
  gap: 48px;
  align-items: center
}

.pane[hidden] {
  display: none
}

.pane h3 {
  font-size: 1.35rem;
  margin-bottom: 12px
}

.pane p {
  color: var(--muted);
  margin-bottom: 16px
}

.ticks {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: .95rem
}

.ticks li {
  position: relative;
  padding-left: 26px
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(46, 230, 166, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ee6a6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center/11px no-repeat
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 28px;
  font-size: .9rem;
  color: var(--dim)
}

.tools span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted)
}

.sec-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: start
}

.sec-note {
  margin-top: 24px;
  color: var(--dim);
  font-size: .9rem
}

.seclist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.seclist .box {
  padding: 20px;
  background: rgba(14, 35, 28, .6)
}

.seclist h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .98rem;
  margin-bottom: 6px
}

.seclist svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent)
}

/* 7. Tarif et FAQ */
.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 44px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(46, 230, 166, .35)
}

.price-l,
.calc {
  padding: 40px
}

.price-l,
.cta {
  position: relative;
  overflow: hidden
}

.price-l {
  background: linear-gradient(150deg, #0e3a2d, #09241c)
}

.price-l::after,
.cta::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none
}

.price-l::after {
  right: -100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(46, 230, 166, .2), transparent 65%)
}

.cta::before {
  right: -140px;
  top: -160px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(46, 230, 166, .2), transparent 65%)
}

.price-l>*,
.cta>* {
  position: relative;
  z-index: 1
}

.calc {
  background: var(--card)
}

.amount {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1
}

.amount small {
  margin-left: 10px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted)
}

.floor {
  color: var(--muted);
  margin: 16px 0 24px;
  max-width: 420px
}

.price-l .ticks {
  margin-bottom: 32px
}

.calc h3 {
  font-size: 1.05rem;
  margin-bottom: 20px
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .93rem
}

.calc input[type=number] {
  width: 104px;
  padding: 8px 10px;
  text-align: right;
  font-weight: 600;
  border-color: var(--line2)
}

.calc input[type=range] {
  width: 100%;
  margin: 6px 0 20px;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--accent)
}

.total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.total b {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap
}

.total small,
.fine {
  color: var(--dim);
  font-size: .85rem
}

.fine {
  margin-top: 16px
}

.big {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem
}

.faq {
  display: grid;
  gap: 8px;
  max-width: 840px;
  margin-top: 36px
}

details {
  padding: 0 24px
}

details[open] {
  border-color: var(--line2)
}

summary {
  position: relative;
  padding: 20px 36px 20px 0;
  list-style: none;
  font-weight: 600;
  cursor: pointer
}

summary::-webkit-details-marker {
  display: none
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .2s
}

details[open] summary::after {
  transform: rotate(45deg)
}

details p {
  padding: 0 36px 20px 0;
  color: var(--muted);
  font-size: .96rem
}

/* 8. Contact */
.cta {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  padding: 56px;
  border: 1px solid var(--line2);
  border-radius: 24px;
  background: linear-gradient(140deg, #0e3a2d 0%, #0a2219 55%, #08170f 100%)
}

.cta .mark {
  width: 110px;
  height: auto;
  margin-top: 36px
}

form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(4, 14, 10, .55)
}

.f {
  display: grid;
  gap: 16px
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  color: var(--muted)
}

label .req {
  color: var(--accent)
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--field);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s
}

select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a0b5ab' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  cursor: pointer
}

select option {
  background: var(--bg2);
  color: var(--text)
}

textarea {
  min-height: 104px;
  resize: vertical
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 230, 166, .18)
}

.err {
  border-color: #e46a6a
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .82rem;
  line-height: 1.5
}

.check input {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent)
}

.check.err span,
.form-msg {
  color: var(--err)
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.cf-turnstile {
  min-height: 65px
}

.form-msg {
  font-size: .88rem;
  min-height: 1.3em
}

.ok {
  display: none;
  padding: 28px 0;
  text-align: center
}

.ok h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--accent2)
}

.ok p {
  color: var(--muted)
}

.sent .f {
  display: none
}

.sent .ok {
  display: block
}

/* 9. Pages légales */
.doc {
  padding: 144px 0 96px
}

.doc .wrap {
  max-width: 820px
}

.doc .glow.a {
  opacity: .7
}

.doc h1 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  letter-spacing: -.03em;
  margin-bottom: 12px
}

.doc .date {
  color: var(--dim);
  font-size: .9rem;
  margin-bottom: 44px
}

.doc h2 {
  max-width: none;
  margin: 40px 0 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  letter-spacing: -.01em
}

.doc h2:first-of-type {
  border-top: 0;
  padding-top: 0
}

.doc p,
.doc li,
.doc td {
  color: var(--muted);
  line-height: 1.7
}

.doc p {
  margin-bottom: 12px
}

.doc strong,
.doc dd,
.doc th {
  color: var(--text);
  font-weight: 600
}

.doc dd {
  font-weight: 400
}

.doc a {
  color: var(--accent)
}

.doc ul {
  margin: 0 0 16px 20px
}

.doc li {
  margin-bottom: 6px
}

.doc dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 24px;
  margin: 4px 0 16px;
  padding: 18px 22px
}

.doc dt {
  color: var(--dim);
  font-size: .92rem
}

.doc table {
  width: 100%;
  margin: 8px 0 16px;
  border-collapse: collapse;
  font-size: .93rem;
  border: 1px solid var(--line)
}

.doc th,
.doc td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line)
}

.doc th {
  background: var(--card)
}

.doc tr:last-child td {
  border-bottom: 0
}

/* 10. Pied de page */
footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--dim)
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px
}

.foot .fb {
  display: flex;
  align-items: center;
  gap: 10px
}

.foot .ic {
  width: 26px;
  height: 26px
}

.foot .wm {
  height: 15px;
  width: auto
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px
}

.foot nav a {
  text-decoration: none;
  color: var(--muted)
}

.foot nav a:hover,
.foot nav a[aria-current] {
  color: var(--text)
}

.legal {
  margin-top: 24px
}

/* 11. Responsive */
@keyframes fade {
  from {
    opacity: 0
  }
}

.pane:not([hidden]) {
  animation: fade .3s ease
}

/* Tablette */
@media (max-width:1024px) {
  .two,
  .pane,
  .sec-grid,
  .cta,
  .price {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .price {
    gap: 0
  }

  .grid3 {
    grid-template-columns: 1fr 1fr
  }

  .cta {
    padding: 40px
  }
}

/* Menu replié */
@media (max-width:900px) {
  .burger {
    display: block
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--pad) 20px;
    background: rgba(8, 21, 15, .97);
    border-bottom: 1px solid var(--line)
  }

  .nav.open .menu {
    display: flex
  }

  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .menu .btn {
    margin-top: 16px;
    padding: 12px;
    border: 0
  }
}

/* Mobile */
@media (max-width:640px) {
  :root {
    --pad: 20px
  }

  body {
    font-size: 16px
  }

  section {
    padding: 72px 0
  }

  .nav-in {
    height: 64px
  }

  .brand {
    width: 160px
  }

  .brand .full {
    height: 31px
  }

  .hero {
    padding-top: 112px
  }

  .hero-act .btn {
    flex: 1 1 100%
  }

  .grid3,
  .seclist,
  .row2 {
    grid-template-columns: 1fr
  }

  /* Maquettes simplifiées : moins d'éléments, même lisibilité */
  .win-body {
    grid-template-columns: 1fr
  }

  .side,
  .win-bar .usr,
  .kpi:nth-child(n+5),
  .panels .panel:nth-child(2),
  .cards3 .cardm:nth-child(n+2),
  .mt th:nth-child(2),
  .mt td:nth-child(2) {
    display: none
  }

  .kpis {
    grid-template-columns: 1fr 1fr
  }

  .panels,
  .cards3 {
    grid-template-columns: 1fr
  }


  .price-l,
  .calc,
  .cta {
    padding: 28px 20px
  }

  .amount {
    font-size: 3.6rem
  }

  .amount small {
    display: block;
    margin: 12px 0 0
  }

  form {
    padding: 20px
  }

  details {
    padding: 0 16px
  }

  .doc {
    padding-top: 112px
  }

  .doc dl {
    grid-template-columns: 1fr;
    gap: 0
  }

  .doc dd {
    margin-bottom: 8px
  }

  .doc table,
  .doc tbody,
  .doc tr,
  .doc td {
    display: block
  }

  .doc th {
    display: none
  }

  .doc td {
    border: 0;
    padding: 4px 14px
  }

  .doc tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
    animation: none !important
  }

  html {
    scroll-behavior: auto
  }
}

/* =========================================================
   12. Ajustements « designer »
   Retouches légères par-dessus le style d'origine.
   Supprimer ce bloc pour retrouver exactement le premier modèle.
   ========================================================= */

/* Dégradé de texte réservé au titre principal ; ailleurs, menthe unie */
h2 .hl {
  background: none;
  color: var(--accent)
}

/* Une seule source lumineuse : le hero. Les halos secondaires disparaissent */
.glow.b,
.price-l::after,
.cta::before {
  display: none
}

.glow.a {
  opacity: .75
}

/* Graisses un cran plus calmes */
.hero h1,
.amount,
.total b {
  font-weight: 700
}

/* Boutons : lueur plus discrète, pas de saut au survol */
.btn-main {
  box-shadow: 0 4px 16px -8px rgba(46, 230, 166, .5)
}

.btn-main:hover {
  transform: none;
  box-shadow: 0 6px 20px -8px rgba(46, 230, 166, .6)
}

/* Survol : changement de bordure seulement, les cartes ne bougent plus */
.feat:hover,
.qs li:hover {
  transform: none
}

/* Aperçu du hero : liseré plus fin, halo réduit */
.hero-shot {
  box-shadow: 0 -12px 60px -30px rgba(46, 230, 166, .25)
}
