/* ================================================================
   AWConsulting — Design System (Light)
   Font : Inter
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:           #f8fafa;
  --bg-hero:      #ffffff;
  --bg-card:      #ffffff;
  --bg-card-feat: #f0fafa;
  --bg-section:   #f2f8f8;

  /* Brand */
  --teal:         #2e9490;
  --teal-2:       #3db0ab;
  --teal-3:       #56c9c4;
  --teal-text:    #1d6e6b;
  --teal-dim:     rgba(46,148,144,0.08);
  --teal-border:  rgba(46,148,144,0.22);
  --teal-glow:    rgba(46,148,144,0.14);

  /* Orb colors */
  --orb-teal:     rgba(42,180,168,0.28);
  --orb-teal-2:   rgba(30,190,155,0.18);
  --orb-red:      rgba(200,40,50,0.12);
  --orb-red-2:    rgba(180,25,35,0.08);

  /* Text */
  --ink:          #0e1a1a;
  --ink-2:        #2a3838;
  --muted:        #5a7878;
  --muted-2:      #8aabab;

  /* Borders */
  --border:       rgba(0,0,0,0.07);
  --border-2:     rgba(0,0,0,0.11);

  /* Semantic */
  --success:      #1d8a5c;
  --success-bg:   rgba(29,138,92,0.08);
  --warning:      #9a6800;
  --warning-bg:   rgba(154,104,0,0.08);
  --danger:       #c0392b;
  --danger-bg:    rgba(192,57,43,0.08);

  --radius:       8px;
  --radius-lg:    12px;
  --radius-xl:    16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}


/* ── FORM GROUPS (global) ───────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}

.form-group input.is-error { border-color: var(--danger); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(255,255,255,0);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}

.nav.is-scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-wordmark {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--ink); }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 10px 22px;
  transition: all .2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-solid {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,148,144,0.22);
}
.btn-solid:hover {
  background: var(--teal-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,148,144,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  border-color: var(--teal-border);
  color: var(--teal-text);
}

.btn-teal-outline {
  background: transparent;
  color: var(--teal-text);
  border: 1px solid var(--teal-border);
}
.btn-teal-outline:hover {
  background: var(--teal-dim);
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 100px;
  background: var(--bg-hero);
  overflow: hidden;
}

/* ── BLOB ANIMÉ HERO ─────────────────────────────────────── */
.blob-outer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(90px);
  z-index: 0;
}

.blob-inner {
  border-radius: 9999px;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  transform: scale(0.72);
}

/* Ronds de couleur pastel — dominance vert + rouge */
.bc1 {
  position: absolute; border-radius: 50%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, #a8f0c6 0%, #6edfa0 60%, transparent 100%);
  top: -15%; right: -10%;
  animation: bc1 10s linear infinite;
  transform-origin: 30% 60%;
}
.bc2 {
  position: absolute; border-radius: 50%;
  width: 75%; height: 75%;
  background: radial-gradient(circle, #f7b8b8 0%, #f08080 55%, transparent 100%);
  bottom: -20%; left: -15%;
  animation: bc2 13s linear infinite;
  transform-origin: 70% 35%;
}
.bc3 {
  position: absolute; border-radius: 50%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, #b8d8f7 0%, #80b0f0 55%, transparent 100%);
  top: -10%; left: -5%;
  animation: bc3 16s linear infinite;
  transform-origin: 60% 65%;
}
.bc4 {
  position: absolute; border-radius: 50%;
  width: 45%; height: 45%;
  background: radial-gradient(circle, #c8f5dc 0%, #80e8aa 55%, transparent 100%);
  bottom: -10%; right: 5%;
  animation: bc4 12s linear infinite reverse;
  transform-origin: 40% 30%;
}
.bc5 {
  position: absolute; border-radius: 50%;
  width: 40%; height: 40%;
  background: radial-gradient(circle, #fcd0d0 0%, #f09898 55%, transparent 100%);
  top: 5%; left: 30%;
  animation: bc5 18s linear infinite;
  transform-origin: 50% 80%;
}

@keyframes bc1 {
  from { transform: rotate(0deg)   translateX(8%)  scale(1); }
  to   { transform: rotate(360deg) translateX(8%)  scale(1); }
}
@keyframes bc2 {
  from { transform: rotate(0deg)   translateX(-6%) scale(1); }
  to   { transform: rotate(360deg) translateX(-6%) scale(1); }
}
@keyframes bc3 {
  from { transform: rotate(0deg)   translateY(5%)  scale(1); }
  to   { transform: rotate(360deg) translateY(5%)  scale(1); }
}
@keyframes bc4 {
  from { transform: rotate(0deg)   scale(1); }
  to   { transform: rotate(360deg) scale(1); }
}
@keyframes bc5 {
  from { transform: rotate(0deg)   translateX(5%)  scale(1); }
  to   { transform: rotate(360deg) translateX(5%)  scale(1); }
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(
    ellipse 60% 60% at 50% 48%,
    rgba(255,255,255,0.78) 0%,
    rgba(255,255,255,0.45) 55%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo hero — grand, couleurs originales visibles sur fond blanc */
.hero-logo {
  width: 220px;
  height: auto;
  margin-bottom: 28px;
  opacity: 0;
  animation: anim-down .9s .1s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-bottom: 20px;
  opacity: 0;
  animation: anim-up .9s .22s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-tag::before, .hero-tag::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--teal); opacity: 0.4;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 20px;
  opacity: 0;
  animation: anim-up .9s .36s cubic-bezier(.16,1,.3,1) forwards;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.72;
  margin-bottom: 40px;
  opacity: 0;
  animation: anim-up .9s .5s cubic-bezier(.16,1,.3,1) forwards;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: anim-up .9s .62s cubic-bezier(.16,1,.3,1) forwards;
}

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: anim-fade 1s 1.4s forwards;
}

.scroll-cue span {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2);
}

.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: pulse-line 2.4s ease-in-out infinite;
}

/* ── STATS BAR ───────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.stats-bar-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
}

.stat {
  padding: 44px 28px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .25s;
}

.stat:last-child { border-right: none; }
.stat:hover { background: var(--bg-section); }

.stat-n {
  font-size: 42px; font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.04em; line-height: 1;
  margin-bottom: 6px;
}

.stat-l {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2);
}

/* ── PRODUCT SECTIONS ────────────────────────────────────────── */
.products-section {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}

.products-section:nth-child(even) { background: var(--bg-section); }

.container { max-width: 1120px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: 12px;
}

.section-eyebrow::before {
  content: '';
  width: 16px; height: 1px; background: var(--teal);
}

.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 40px;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.12;
  color: var(--ink);
}

.section-title em { font-style: normal; color: var(--teal); }

.section-sub {
  font-size: 14px; color: var(--muted);
  max-width: 300px; line-height: 1.72; flex-shrink: 0;
}

/* ── PRICING CARDS ───────────────────────────────────────────── */
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.card {
  background: var(--bg-card);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .2s;
}

.card:last-child { border-right: none; }
.card:hover { background: #fafcfc; }

.card.is-feat {
  background: var(--bg-card-feat);
}

.card.is-feat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal) 40%, var(--teal-3) 60%, transparent);
}

.card-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-text);
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  padding: 4px 10px; border-radius: var(--radius);
  margin-bottom: 24px; width: fit-content;
}

.card-tier {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 8px;
}

.card-name {
  font-size: 19px; font-weight: 600;
  color: var(--ink); margin-bottom: 5px;
}

.card-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.62; margin-bottom: 28px;
}

.card-price {
  margin-bottom: 28px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.card-price .amount {
  font-size: 48px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.04em; line-height: 1;
}

.card.is-feat .card-price .amount { color: var(--teal-text); }

.card-price .cur {
  font-size: 20px; font-weight: 500;
  opacity: 0.5; vertical-align: super; margin-right: 1px;
}

.card-price .period {
  display: block; font-size: 12px;
  color: var(--muted-2); margin-top: 5px;
}

.card-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px; flex: 1;
}

.card-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}

.card-features li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5l2.5 2.5L8 3' stroke='%232e9490' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  margin-top: 1px;
}

.btn-card {
  display: block; text-align: center;
  padding: 12px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all .2s;
  margin-top: auto;
}

.btn-card-outline {
  border: 1px solid var(--border-2);
  color: var(--muted);
}
.btn-card-outline:hover {
  border-color: var(--teal-border);
  color: var(--teal-text);
  background: var(--teal-dim);
}

.btn-card-solid {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 8px rgba(46,148,144,0.2);
}
.btn-card-solid:hover {
  background: var(--teal-2);
  box-shadow: 0 6px 18px rgba(46,148,144,0.3);
}

/* ── FOOTER → voir section FOOTER REDESIGN en bas ── */

/* ════════════════════════════════════
   DASHBOARD
════════════════════════════════════ */
.dash-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 48px; height: 64px;
  position: sticky; top: 0; z-index: 100;
}

.dash-wrap {
  max-width: 1000px; margin: 0 auto;
  padding: 52px 24px 80px;
}

.dash-header {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 24px;
}

.dash-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-text); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}

.dash-eyebrow::before { content: ''; width: 14px; height: 1px; background: var(--teal); }

.dash-title {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1.15;
}

.dash-title em { font-style: normal; color: var(--teal); }

.dash-header-right {
  font-size: 13px; color: var(--muted);
  text-align: right; flex-shrink: 0;
}

.dash-section { margin-bottom: 52px; }

.dash-section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 16px;
}

.dash-section-label::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* Licence cards */
.lic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}

.lic-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.lic-card.is-active { border-color: var(--teal-border); }

.lic-card-main {
  padding: 24px 28px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

.lic-left { display: flex; align-items: center; gap: 16px; }

.lic-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-section); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 6px;
}

.lic-icon img { width: 100%; height: 100%; object-fit: contain; }

.lic-name {
  font-size: 16px; font-weight: 600;
  color: var(--ink); margin-bottom: 5px;
}

.lic-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}

.badge::before {
  content: ''; width: 5px; height: 5px;
  border-radius: 50%; background: currentColor;
}

.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger); }

.lic-expiry { font-size: 12px; color: var(--muted); }

.lic-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lic-bar-wrap { padding: 0 28px 18px; }

.lic-bar-header {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 500; color: var(--muted-2);
  margin-bottom: 7px;
}

.lic-bar-track {
  height: 4px; background: #eef2f2;
  border-radius: 2px; overflow: hidden;
}

.lic-bar-fill {
  height: 100%; border-radius: 2px; background: var(--teal);
  transition: width .6s cubic-bezier(.16,1,.3,1);
}

.lic-bar-fill.warn { background: #e6a817; }
.lic-bar-fill.crit { background: var(--danger); }

/* Empty state */
.empty {
  background: var(--bg-card);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-lg);
  padding: 60px 32px; text-align: center;
}

.empty-icon { font-size: 36px; margin-bottom: 16px; opacity: 0.5; }
.empty h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.empty p { font-size: 13px; color: var(--muted); margin-bottom: 24px; }

/* Other products */
.other-family {
  margin-bottom: 24px;
}

.other-family:last-child { margin-bottom: 0; }

.other-family-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.other-family-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.other-family-desc {
  font-size: 12px;
  color: var(--muted-2);
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.other-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s; display: block;
}

.other-card:hover {
  border-color: var(--teal-border);
  box-shadow: 0 4px 16px rgba(46,148,144,0.08);
}

.other-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; padding: 6px;
  overflow: hidden;
}

.other-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}

.other-icon img { width: 100%; height: 100%; object-fit: contain; }

.other-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.other-price { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.other-price strong { font-size: 17px; font-weight: 700; color: var(--teal-text); }
.other-cta { font-size: 12px; font-weight: 600; color: var(--teal-text); }

/* Payments table */
.table-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}

table { width: 100%; border-collapse: collapse; }

thead th {
  padding: 12px 20px; font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted-2); text-align: left;
  background: var(--bg-section); border-bottom: 1px solid var(--border);
}

tbody td {
  padding: 15px 20px; font-size: 13px; color: var(--muted);
  border-bottom: 1px solid var(--border); transition: background .15s;
}

tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--bg-section); }

td.td-name { color: var(--ink); font-weight: 500; }
td.td-amount { font-size: 14px; font-weight: 600; color: var(--teal-text); }
td.td-ref { font-family: 'SF Mono', 'Fira Mono', monospace; font-size: 11px; color: var(--muted-2); }

.type-pill {
  display: inline-block; padding: 3px 8px;
  border-radius: 4px; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.type-new     { background: var(--teal-dim); color: var(--teal-text); }
.type-renewal { background: #eef2ff; color: #3a5aa0; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes anim-up {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes anim-down {
  from { opacity:0; transform:translateY(-14px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes anim-fade { from {opacity:0;} to {opacity:1;} }

@keyframes pulse-line {
  0%,100% { opacity:.3; transform:scaleY(.9); }
  50%      { opacity:1;  transform:scaleY(1.1); }
}

.reveal {
  opacity:0; transform:translateY(28px);
  transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
/* ── TABLET (≤960px) ─────────────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 0 20px; height: 58px; }
  .nav-links a:not(.btn-teal-outline) { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--border); }
  .card:last-child { border-bottom: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-sub { max-width: 100%; }
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  /* footer responsive → voir section contact/footer en bas */
  .dash-nav { padding: 0 20px; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dash-header-right { text-align: left; }
  .lic-card-main { flex-direction: column; align-items: flex-start; }
  .lic-actions { width: 100%; }
  .lic-actions .btn { flex: 1; justify-content: center; }
  .checkout-page { grid-template-columns: 1fr; margin-top: 16px; }
  .co-card-body { padding: 20px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: 1fr; }
  .dash-wrap { padding: 32px 16px 60px; }
  /* Carrousel — 2 cartes sur tablette */
  .real-card { flex: 0 0 calc(50% - 8px); }
  .realisations-section { padding: 70px 20px; }
}

/* ── MOBILE (≤640px) ─────────────────────────────────────── */
@media (max-width: 640px) {

  /* Nav */
  .nav { padding: 0 16px; height: 56px; }
  .nav-logo img { height: 32px; }
  .btn-teal-outline { padding: 7px 14px; font-size: 12px; }

  /* Hero */
  .hero { padding: 90px 16px 80px; }
  .hero-logo { width: 160px; }
  .hero h1 { font-size: clamp(28px, 7vw, 42px); }
  .hero-sub { font-size: 14px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Blob — plus grand sur mobile pour couvrir */
  .blob-inner { transform: scale(0.9); }

  /* Stats */
  .stats-bar-inner { grid-template-columns: repeat(2,1fr); }
  .stat { padding: 28px 16px; }
  .stat-n { font-size: 32px; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-right: none; }

  /* Sections produits */
  .products-section { padding: 60px 16px; }
  .section-title { font-size: 26px; }
  .card { padding: 28px 20px; }
  .card-price .amount { font-size: 38px; }

  /* Footer */
  .footer { padding: 28px 16px; }


  /* Dashboard */
  .dash-nav { padding: 0 16px; height: 56px; }
  .dash-wrap { padding: 24px 16px 60px; }
  .dash-title { font-size: 24px; }
  .lic-card-main { padding: 18px 16px; }
  .lic-bar-wrap { padding: 0 16px 14px; }
  .lic-actions .btn { padding: 10px 12px; font-size: 12px; }

  /* Auth pages */
  .auth-page { padding: 70px 16px 40px; }
  .form-card { border-radius: var(--radius-lg); }
  .card-head { padding: 22px 20px 18px; }
  .card-body { padding: 20px; }
  .card-foot { padding: 14px 20px 22px; }

  /* Checkout */
  .checkout-page { padding: 0 16px 60px; margin-top: 12px; }
  .co-card-head { padding: 18px 20px 14px; }
  .co-card-body { padding: 18px 20px; }

  /* Tickets */
  .ticket-row { padding: 14px 16px; }
  .ticket-subject { font-size: 13px; }

  /* Ticket detail */
  .msg { max-width: 92%; }
  .reply-body { padding: 12px 16px; }

  /* Success */
  .success-card { padding: 36px 20px; }
  .success-actions .btn { width: 100%; justify-content: center; }

  /* Table paiements */
  .table-wrap { overflow-x: auto; }
  table { min-width: 500px; }

  /* Buttons */
  .btn { padding: 11px 18px; }
  /* Carrousel — 1 carte pleine largeur sur mobile */
  .real-card { flex: 0 0 calc(100% - 8px); }
  .realisations-section { padding: 50px 16px; }
  .carousel-track { gap: 8px; }
  .real-card-img { height: 180px; }
  .carousel-arrow { width: 34px; height: 34px; font-size: 14px; }
}

/* ════════════════════════════════════
   PAGES AUTH (security, recover, reactivate, login)
════════════════════════════════════ */

.auth-page {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 60px; position: relative; overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,186,174,0.1) 0%, transparent 65%);
  filter: blur(80px); top: -100px; right: -100px; pointer-events: none;
}

.auth-page::after {
  content: '';
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(210,45,55,0.07) 0%, transparent 65%);
  filter: blur(70px); bottom: -80px; left: -60px; pointer-events: none;
}

@keyframes card-in {
  from { opacity:0; transform:translateY(18px); }
  to   { opacity:1; transform:translateY(0); }
}

.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); width: 100%; max-width: 440px;
  overflow: hidden; box-shadow: 0 4px 32px rgba(0,0,0,0.05);
  position: relative; z-index: 1;
  animation: card-in .5s cubic-bezier(.16,1,.3,1);
}

.form-card.narrow { max-width: 420px; }

.card-head {
  padding: 28px 32px 22px; border-bottom: 1px solid var(--border);
}

.card-head.centered { text-align: center; }

.card-head img {
  height: 36px; width: auto;
  display: block; margin: 0 auto 16px;
}

.card-head h1 {
  font-size: 18px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 4px;
}

.card-head p { font-size: 13px; color: var(--muted); }

.card-body { padding: 28px 32px; }

.card-foot {
  padding: 16px 32px 24px; text-align: center;
  border-top: 1px solid var(--border);
}

.card-foot a {
  font-size: 13px; color: var(--muted); text-decoration: none;
}

.card-foot a:hover { color: var(--teal-text); }

.hint { font-size: 11px; color: var(--muted-2); margin-top: 4px; }

.btn-submit {
  width: 100%; padding: 12px;
  background: var(--teal); color: #fff; border: none;
  border-radius: var(--radius); font-family: var(--font);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .2s; margin-top: 6px;
  box-shadow: 0 2px 8px rgba(46,148,144,0.22);
}

.btn-submit:hover {
  background: var(--teal-2);
  box-shadow: 0 4px 16px rgba(46,148,144,0.3);
}

/* ════════════════════════════════════
   TICKETS CLIENT
════════════════════════════════════ */

.ticket-row {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 22px;
  margin-bottom: 10px; text-decoration: none; color: inherit;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; transition: border-color .2s, box-shadow .2s;
}

.ticket-row:hover {
  border-color: var(--teal-border);
  box-shadow: 0 2px 12px rgba(46,148,144,0.07);
}

.ticket-main { flex: 1; min-width: 0; }

.ticket-subject {
  font-size: 14px; font-weight: 600; color: var(--ink);
  margin-bottom: 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

.ticket-meta {
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}

.ticket-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.priority-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.priority-low    { background: var(--muted-2); }
.priority-normal { background: var(--teal); }
.priority-high   { background: var(--danger); }

.arrow { color: var(--muted-2); font-size: 16px; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.35); z-index: 500;
  align-items: center; justify-content: center; padding: 24px;
}

.modal-overlay.is-open { display: flex; }

@keyframes modal-in {
  from { opacity:0; transform:scale(.96); }
  to   { opacity:1; transform:scale(1); }
}

.modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); width: 100%; max-width: 520px;
  overflow: hidden; box-shadow: 0 16px 64px rgba(0,0,0,0.12);
  animation: modal-in .3s cubic-bezier(.16,1,.3,1);
}

.modal-head {
  padding: 24px 28px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

.modal-head h2 { font-size: 16px; font-weight: 700; color: var(--ink); }

.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 20px; line-height: 1;
  padding: 4px; transition: color .2s;
}

.modal-close:hover { color: var(--ink); }
.modal-body { padding: 24px 28px; }

/* ════════════════════════════════════
   TICKET DETAIL
════════════════════════════════════ */

.ticket-thread {
  display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 28px;
}

.msg {
  max-width: 84%; padding: 14px 18px;
  border-radius: var(--radius-lg); font-size: 14px; line-height: 1.65;
}

.msg-client {
  align-self: flex-end;
  background: var(--teal-dim); border: 1px solid var(--teal-border);
  color: var(--ink); border-bottom-right-radius: 4px;
}

.msg-admin {
  align-self: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--ink); border-bottom-left-radius: 4px;
}

.msg-meta {
  font-size: 11px; color: var(--muted-2); margin-bottom: 6px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
}

.msg-text { white-space: pre-wrap; word-break: break-word; }

.reply-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}

.reply-head { padding: 16px 20px 12px; border-bottom: 1px solid var(--border); }
.reply-head span { font-size: 13px; font-weight: 600; color: var(--ink); }
.reply-body { padding: 16px 20px; }

.closed-notice {
  background: var(--bg-section); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 20px;
  font-size: 13px; color: var(--muted); text-align: center;
}

.new-banner {
  background: var(--success-bg); border: 1px solid rgba(29,138,92,0.18);
  border-radius: var(--radius); padding: 12px 16px;
  font-size: 13px; color: var(--success); margin-bottom: 20px;
}

/* Textarea générique */
textarea {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  font-family: var(--font); font-size: 13px; color: var(--ink);
  background: var(--bg); outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}

textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-dim); }

.recap-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--bg-section); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; padding: 6px;
}
.recap-icon img { width: 100%; height: 100%; object-fit: contain; }

/* ── LOGO PRODUIT DANS LES CARDS ────────────────────────── */
.card-product-logo {
  margin-bottom: 20px;
}

.card-product-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Icône licence dashboard — fond neutre */
.lic-icon {
  background: var(--bg-section);
  border: 1px solid var(--border);
}

.lic-icon img {
  width: 28px; height: 28px;
  object-fit: contain;
}

/* Icône other-card */
.other-icon img {
  width: 28px; height: 28px;
  object-fit: contain;
}

/* ════════════════════════════════════
   PAGE LOGIN
════════════════════════════════════ */

.login-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Blob animé login — même système que le hero */
.login-blob-outer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: blur(70px);
  z-index: 0;
  overflow: hidden;
}

.login-blob-inner {
  border-radius: 9999px;
  position: absolute;
  /* Centré et bien contenu dans la page */
  width: 600px;
  height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #fff;
}

.login-blob-inner .bc1 { animation-duration: 12s; }
.login-blob-inner .bc2 { animation-duration: 16s; }
.login-blob-inner .bc3 { animation-duration: 20s; }
.login-blob-inner .bc4 { animation-duration: 14s; }
.login-blob-inner .bc5 { animation-duration: 22s; }

.login-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
  position: relative;
  z-index: 10;
  animation: card-in .6s cubic-bezier(.16,1,.3,1) forwards;
}

.login-top {
  padding: 36px 36px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  text-align: center;
}

.login-top img {
  height: 44px; width: auto;
  margin: 0 auto 18px;
  display: block;
}

.login-top h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.025em;
}

.login-top p {
  font-size: 13px;
  color: var(--muted);
}

.login-body { padding: 28px 36px; }

.login-foot {
  padding: 16px 36px 26px;
  border-top: 1px solid rgba(0,0,0,0.07);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.login-foot a {
  color: var(--teal-text);
  font-weight: 600;
  text-decoration: none;
}

.login-foot a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .login-page { padding: 70px 16px 32px; }
  .login-top { padding: 28px 24px 20px; }
  .login-body { padding: 22px 24px; }
  .login-foot { padding: 14px 24px 22px; }
}

/* ════════════════════════════════════
   SECTION RÉALISATIONS + CARROUSEL
════════════════════════════════════ */

.realisations-section {
  padding: 100px 24px;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.carousel-outer {
  overflow: hidden;
  margin: 0 -8px;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 8px 8px 16px;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}

/* Carte réalisation */
.real-card {
  flex: 0 0 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.real-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.real-card-img {
  width: 100%; height: 160px;
  overflow: hidden;
}

.real-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.real-card:hover .real-card-img img {
  transform: scale(1.04);
}

.real-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-section);
  font-size: 36px;
}

.real-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.real-card-tag {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px;
}

.real-card-title {
  font-size: 15px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.real-card-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.65; margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.real-card-link {
  display: inline-flex; align-items: center;
  font-size: 13px; font-weight: 600;
  color: var(--teal-text); text-decoration: none;
  transition: gap .2s;
  gap: 4px;
  margin-top: auto;
}

.real-card-link:hover { gap: 8px; }

/* Nav carrousel */
.carousel-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.carousel-dots { display: flex; gap: 6px; align-items: center; }

.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--border-2); cursor: pointer;
  transition: all .2s;
}

.carousel-dot.active {
  background: var(--teal);
  width: 20px; border-radius: 3px;
}

.carousel-arrows { display: flex; gap: 8px; }

.carousel-arrow {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; color: var(--ink);
  transition: all .2s; font-family: inherit;
}

.carousel-arrow:hover {
  background: var(--teal); color: #fff; border-color: var(--teal);
}

@media (max-width: 640px) {
  .real-card { flex: 0 0 240px; }
  .realisations-section { padding: 60px 16px; }
}

/* ════════════════════════════════════
   SECTION CONTACT
════════════════════════════════════ */

.contact-section {
  padding: 100px 24px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.contact-title em { font-style: normal; color: var(--teal); }

.contact-sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 420px;
}

.contact-infos { display: flex; flex-direction: column; gap: 12px; }

.contact-info-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink);
  text-decoration: none; font-weight: 500;
  transition: color .2s;
}

.contact-info-item:hover { color: var(--teal); }

.contact-info-icon {
  width: 36px; height: 36px;
  background: var(--teal-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

/* ════════════════════════════════════
   FOOTER REDESIGN
════════════════════════════════════ */

.footer {
  background: var(--ink);
  padding: 0;
  border-top: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 48px 40px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand { max-width: 240px; }

.footer-logo img { height: 36px; width: auto; }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  margin-top: 12px;
}

.footer-cols {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color .2s;
}

.footer-col a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

.footer-payment {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  background: rgba(255,255,255,0.04);
}

.footer-payment svg { opacity: 0.8; }

/* Responsive contact + footer */
@media (max-width: 960px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-section { padding: 70px 24px; }
  .footer-top {
    flex-direction: column;
    gap: 32px;
    padding: 36px 24px 32px;
  }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 640px) {
  .contact-section { padding: 50px 16px; }
  .contact-form { padding: 22px 18px; }
  .contact-title { font-size: 26px; }
  .footer-top { padding: 28px 16px 24px; }
  .footer-cols { gap: 24px; }
  .footer-bottom { padding: 14px 16px; }
  .footer-col-title { display: none; }
}
