/* ═══════════════════════════════════════════════════════════
   SVERIGES FINANSHUS · Design System
   Nordisk institutionell · EB Garamond + DM Sans
   Kunglig blå · Guld · Rent vitt
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Palette — suédois royal */
  --blue:    #1a3875;
  --blue2:   #214494;
  --blue3:   #2a57b8;
  --blue-dk: #102558;
  --blue-lt: rgba(26,56,117,.07);
  --gold:    #c8952a;
  --gold2:   #e8b84b;
  --gold3:   #f5d080;
  --gold-bg: rgba(200,149,42,.08);
  --gold-bdr:rgba(200,149,42,.25);

  /* Neutres */
  --carbon:  #0e1117;
  --ink:     #141922;
  --slate:   #2d3752;
  --stone:   #596175;
  --silver:  #8b93a8;
  --border:  #dde0ea;
  --border2: #eceef5;
  --bg:      #f6f7fa;
  --bg2:     #f0f1f7;
  --white:   #ffffff;
  --cream:   #fdfcf8;

  /* Sémantique */
  --text:    #141922;
  --muted:   #596175;
  --green:   #1a6e47;
  --warn:    #7a4800;
  --warn-bg: #fef3d0;
  --dark:    #0f0f13;
  --dark2:   #16161b;
  --dark3:   #1e1e24;

  /* Typo */
  --ff-head: 'EB Garamond', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;

  /* Rayons */
  --r-xs: 3px; --r-sm: 7px; --r-md: 12px; --r-lg: 18px; --r-xl: 28px;

  /* Ombres */
  --sh-xs: 0 1px 4px rgba(14,17,23,.05);
  --sh-sm: 0 3px 14px rgba(14,17,23,.08);
  --sh-md: 0 8px 32px rgba(14,17,23,.11);
  --sh-lg: 0 18px 56px rgba(14,17,23,.14);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--ff-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
strong { font-weight: 600; color: var(--text); }

/* ── Typo ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--ff-head); font-weight: 600; line-height: 1.18; color: var(--blue); }
h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--muted); line-height: 1.78; }
.lead { font-size: 1.1rem; color: var(--slate); font-weight: 300; line-height: 1.8; }
.small { font-size: .875rem; }
.tiny  { font-size: .775rem; }

/* ── Layout ───────────────────────────────────────────────── */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 860px;  margin: 0 auto; padding: 0 28px; }
.section      { padding: 88px 0; }
.section-sm   { padding: 52px 0; }
.section-lg   { padding: 112px 0; }

.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 1.75rem; }
.col-2-1   { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3.5rem; align-items: start; }
.col-1-2   { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.center    { text-align: center; }

.mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem}
.mt-4{margin-top:2rem}  .mt-5{margin-top:3rem}
.mb-2{margin-bottom:1rem} .mb-3{margin-bottom:1.5rem}

/* ── Ligne décorative ─────────────────────────────────────── */
.rule { width: 40px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 1px; margin: .9rem 0 1.3rem; }
.rule-center { margin: .9rem auto 1.3rem; }

/* ── Labels ───────────────────────────────────────────────── */
.label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ff-body); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .8rem; border-radius: var(--r-xs); }
.label-blue  { background: var(--blue-lt); color: var(--blue2); border: 1px solid rgba(26,56,117,.18); }
.label-gold  { background: var(--gold-bg); color: var(--warn); border: 1px solid var(--gold-bdr); }
.label-green { background: rgba(26,110,71,.08); color: var(--green); border: 1px solid rgba(26,110,71,.18); }
.label-dark  { background: var(--dark2); color: #fff; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn, .btn-outline, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-size: .925rem; font-weight: 600;
  padding: .82rem 1.8rem; border-radius: var(--r-sm); cursor: pointer;
  transition: all .22s ease; text-decoration: none;
  border: 2px solid transparent; letter-spacing: .01em;
}
.btn { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 3px 12px rgba(26,56,117,.28); }
.btn:hover { background: var(--blue-dk); border-color: var(--blue-dk); box-shadow: 0 6px 22px rgba(26,56,117,.38); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #e0a820); color: #fff; border-color: var(--gold); box-shadow: 0 3px 12px rgba(200,149,42,.32); }
.btn-gold:hover { background: linear-gradient(135deg, #b07a1a, var(--gold)); box-shadow: 0 6px 22px rgba(200,149,42,.42); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-outline-w:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.65); }
.btn-lg  { font-size: 1.02rem; padding: .95rem 2.2rem; }
.btn-sm  { font-size: .82rem; padding: .55rem 1.2rem; border-radius: var(--r-xs); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── Topbar ───────────────────────────────────────────────── */
.topbar { background: var(--dark); color: rgba(255,255,255,.5); font-size: .77rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; }
.topbar a { color: rgba(255,255,255,.6); transition: color .18s; }
.topbar a:hover { color: var(--gold3); }
.topbar-right { display: flex; gap: 1.5rem; align-items: center; }
.topbar-right span { display: flex; align-items: center; gap: 5px; }

/* ── Header ───────────────────────────────────────────────── */
.header { position: relative; top: 0; left: 0; right: 0; z-index: 900; background: rgba(253,252,248,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border2); transition: box-shadow .3s; }
.header.scrolled { box-shadow: var(--sh-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--ff-head); text-decoration: none; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.05rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase; }
.logo-tag  { font-size: .58rem; color: var(--gold); font-family: var(--ff-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; }
.nav a { font-size: .875rem; font-weight: 400; color: var(--stone); padding: .5rem .85rem; border-radius: var(--r-xs); transition: color .18s, background .18s; white-space: nowrap; }
.nav a:hover  { color: var(--blue); background: var(--border2); }
.nav a.active { color: var(--blue); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--blue); padding: .4rem; }
.mobile-menu { display: none; position: fixed; inset: 72px 0 0 0; z-index: 899; background: var(--cream); flex-direction: column; border-top: 1px solid var(--border2); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: .975rem; color: var(--slate); padding: 1rem 1.5rem; border-bottom: 1px solid var(--border2); }
.mobile-menu a:hover { background: var(--bg); color: var(--blue); }
.mobile-cta { padding: 1.25rem 1.5rem; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: 130px 0 80px; background: var(--dark); position: relative; overflow: hidden; min-height: 88vh; display: flex; align-items: center; }
/* Texture scandinave — grain subtil */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Croix suédoise subtile en fond */
.hero-cross {
  position: absolute; right: -5%; top: 50%; transform: translateY(-50%);
  width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
  z-index: 0; opacity: .025;
  background:
    linear-gradient(rgba(200,149,42,1) 0%, rgba(200,149,42,1) 100%) center/18% 100% no-repeat,
    linear-gradient(rgba(200,149,42,1) 0%, rgba(200,149,42,1) 100%) center/100% 18% no-repeat;
}
.hero-content { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 440px; gap: 5rem; align-items: center; }
.hero h1 { color: #fff; font-weight: 400; font-style: italic; margin-bottom: 1.5rem; }
.hero h1 strong { font-style: normal; font-weight: 800; color: #fff; display: block; }
.hero h1 em { color: var(--gold2); }
.hero .lead { color: rgba(255,255,255,.6); margin-bottom: 2.5rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-kpi { display: flex; gap: 2.5rem; flex-wrap: wrap; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.08); }
.hero-kpi-item strong { display: block; font-family: var(--ff-head); font-size: 1.85rem; font-weight: 700; color: var(--gold2); line-height: 1.1; }
.hero-kpi-item span { font-size: .72rem; color: rgba(255,255,255,.4); letter-spacing: .08em; text-transform: uppercase; }

/* ── Calculatrice ─────────────────────────────────────────── */
.calc-card { background: var(--cream); border-radius: var(--r-xl); padding: 2rem; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.calc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold2), var(--blue)); }
.calc-head { font-size: .73rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--stone); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 8px; }
.calc-head::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.calc-field { margin-bottom: 1.3rem; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.calc-lbl { font-size: .77rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.calc-val { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; color: var(--blue); }
.calc-slider { width: 100%; height: 4px; border-radius: 2px; background: var(--border2); -webkit-appearance: none; appearance: none; outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid var(--cream); cursor: pointer; box-shadow: 0 0 0 2px var(--blue); transition: box-shadow .2s; }
.calc-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px rgba(26,56,117,.2); }
.calc-result { background: var(--dark2); border-radius: var(--r-md); padding: 1.25rem; margin-top: 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.r-lbl { font-size: .7rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.r-val { font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700; color: var(--gold2); }
.r-sub { font-size: .7rem; color: rgba(255,255,255,.3); margin-top: .2rem; }
.calc-disc { font-size: .68rem; color: var(--silver); line-height: 1.55; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border2); }
.calc-cta { margin-top: 1.25rem; }

/* ── Trust bar ────────────────────────────────────────────── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border2); padding: 15px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; color: var(--stone); }
.trust-item::before { content: '✓'; color: var(--green); font-weight: 900; font-size: .85rem; }

/* ── Section header ───────────────────────────────────────── */
.section-header { max-width: 640px; margin-bottom: 3.5rem; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-top: .5rem; margin-bottom: .9rem; }

/* ── Product cards ────────────────────────────────────────── */
.product-card { background: var(--white); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 2rem; transition: border-color .25s, box-shadow .25s, transform .25s; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.product-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.product-card:hover { border-color: rgba(26,56,117,.2); box-shadow: var(--sh-md); transform: translateY(-3px); }
.product-card:hover::after { transform: scaleX(1); }
.product-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--bg); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; }
.product-card h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.product-card p { flex: 1; font-size: .9rem; }
.rate-badge { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border2); font-size: .78rem; font-weight: 700; color: var(--blue2); display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: .05em; }
.rate-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.feat-list { margin: .9rem 0 0; display: flex; flex-direction: column; gap: .45rem; }
.feat-list li { display: flex; align-items: flex-start; gap: 7px; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.feat-list li::before { content: '—'; color: var(--gold); font-weight: 900; flex-shrink: 0; font-size: .75rem; margin-top: 2px; }

/* ── Cards ────────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 2rem; box-shadow: var(--sh-xs); }
.card-dark { background: var(--dark2); color: #fff; border-color: transparent; }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark p { color: rgba(255,255,255,.6); }
.card-blue { background: var(--dark2); color: #fff; border-color: transparent; }
.card-blue h3, .card-blue h4 { color: #fff; }
.card-blue p { color: rgba(255,255,255,.65); }
.card-stone { background: var(--bg); }

/* ── Stats ────────────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { padding: 2.5rem 1.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,.07); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--ff-head); font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 700; color: var(--gold2); line-height: 1; margin-bottom: .4rem; }
.stat-label { font-size: .77rem; color: rgba(255,255,255,.4); letter-spacing: .07em; text-transform: uppercase; }

/* ── Étapes ───────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.step-line { position: absolute; top: 27px; left: calc(16.66% + 27px); right: calc(16.66% + 27px); height: 1px; background: repeating-linear-gradient(90deg,var(--gold-bdr) 0,var(--gold-bdr) 6px,transparent 6px,transparent 14px); }
.step { padding: 0 1.5rem; text-align: center; }
.step-num { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 1.5rem; background: var(--white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; color: var(--blue); position: relative; z-index: 1; box-shadow: var(--sh-sm); }
.step h4 { margin-bottom: .5rem; }

/* ── Témoignages ──────────────────────────────────────────── */
.testimonial { background: var(--white); border: 1px solid var(--border2); border-radius: var(--r-md); padding: 1.75rem; box-shadow: var(--sh-xs); }
.testimonial-text { font-size: .95rem; color: var(--slate); line-height: 1.75; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-text::before { content: '\201C'; font-family: var(--ff-head); font-size: 3rem; line-height: .5; color: rgba(200,149,42,.22); display: block; margin-bottom: .5rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-av { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg,var(--blue-dk),var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--ff-head); font-size: .85rem; font-weight: 700; }
.author-name { font-weight: 600; font-size: .9rem; color: var(--blue); }
.author-detail { font-size: .77rem; color: var(--silver); }
.stars { color: var(--gold2); font-size: .85rem; letter-spacing: 2px; margin-bottom: .75rem; }

/* ── CTA section ──────────────────────────────────────────── */
.cta-section { background: var(--dark); position: relative; overflow: hidden; padding: 88px 0; }
.cta-section::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg,var(--blue),var(--gold),var(--blue)); }
.cta-section::after { content: ''; position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle,rgba(200,149,42,.05),transparent 70%); }
.cta-inner { position: relative; z-index: 1; max-width: 680px; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.6); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-box { border-radius: var(--r-lg); padding: 56px 3rem; }

/* ── Formulaire ───────────────────────────────────────────── */
.form-card { background: var(--white); border: 1px solid var(--border2); border-radius: var(--r-xl); padding: 2.5rem; box-shadow: var(--sh-md); position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--blue),var(--gold2),var(--blue)); }
.error-banner { background: #fef2f2; border: 1.5px solid rgba(220,38,38,.25); border-left: 4px solid #dc2626; border-radius: var(--r-sm); padding: .9rem 1.2rem; font-size: .875rem; color: #7f1d1d; margin-bottom: 1.5rem; display: none; }
.error-banner.show { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .75rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
input, select, textarea { width: 100%; padding: .82rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: .95rem; outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(26,56,117,.1); }
input.invalid, select.invalid, textarea.invalid { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,.08); }
textarea { min-height: 110px; resize: vertical; }
select { cursor: pointer; }
input::placeholder, textarea::placeholder { color: #aaa; font-style: italic; }

/* ── Checkboxes ───────────────────────────────────────────── */
.checkbox-group { display: flex; flex-direction: column; gap: .75rem; }
.checkbox-row { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: .9rem 1.1rem; background: var(--bg); border: 1.5px solid var(--border2); border-radius: var(--r-sm); transition: border-color .2s; }
.checkbox-row:focus-within { border-color: var(--blue); }
.checkbox-row input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; padding: 0; margin-top: 2px; cursor: pointer; accent-color: var(--blue); }
.checkbox-row label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .84rem; color: var(--slate); cursor: pointer; line-height: 1.55; margin: 0; }
.checkbox-row label a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ── Boîtes info ──────────────────────────────────────────── */
.rep-box { background: var(--bg); border: 1.5px solid var(--gold-bdr); border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: 1.1rem 1.3rem; margin-bottom: 1.5rem; font-size: .84rem; line-height: 1.75; color: var(--slate); }
.rep-box .rep-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); margin-bottom: .5rem; display: flex; align-items: center; gap: 6px; }
.notice { background: var(--warn-bg); border-left: 4px solid var(--gold2); border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: .9rem 1.2rem; font-size: .84rem; color: var(--warn); line-height: 1.65; }
.info-box { background: var(--blue-lt); border: 1px solid rgba(26,56,117,.12); border-radius: var(--r-sm); padding: .9rem 1.2rem; font-size: .84rem; color: var(--blue); line-height: 1.65; display: flex; gap: 9px; align-items: flex-start; }
.info-box svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; color: var(--blue2); }

/* ── Spinner ──────────────────────────────────────────────── */
.btn-submit { position: relative; }
.btn-submit .spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-submit.loading .btn-text { opacity: 0; }
.btn-submit.loading .spinner { display: block; position: absolute; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; }
details.faq { border-bottom: 1px solid var(--border2); }
details.faq:first-child { border-top: 1px solid var(--border2); }
details.faq summary { font-family: var(--ff-body); font-weight: 600; font-size: .975rem; padding: 1.1rem 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--blue); }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--gold); font-weight: 400; flex-shrink: 0; }
details.faq[open] summary::after { content: '−'; }
details.faq .faq-body { padding: 0 0 1.25rem; color: var(--muted); line-height: 1.75; font-size: .95rem; }

/* ── Page hero ────────────────────────────────────────────── */
.page-hero { background: var(--dark); padding: 132px 0 58px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg,var(--blue),var(--gold),var(--blue)); }
.page-hero::after { content: ''; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle,rgba(200,149,42,.06),transparent 70%); }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-style: italic; }
.page-hero h1 strong { font-style: normal; }
.page-hero p { color: rgba(255,255,255,.55); margin-top: .75rem; max-width: 540px; }
.breadcrumb { font-size: .77rem; color: rgba(255,255,255,.35); margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255,255,255,.4); }
.breadcrumb a:hover { color: var(--gold3); }
.breadcrumb span { margin: 0 .4rem; }

/* ── Prose légale ─────────────────────────────────────────── */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.5rem; margin-bottom: .6rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border2); }
.prose h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; color: var(--slate); }
.prose p { color: var(--stone); line-height: 1.8; margin-bottom: .85rem; font-size: .95rem; }
.prose ul { margin: .6rem 0 1rem; display: flex; flex-direction: column; gap: .35rem; }
.prose ul li { display: flex; gap: 8px; color: var(--stone); font-size: .95rem; line-height: 1.6; }
.prose ul li::before { content: '›'; color: var(--blue2); font-weight: 900; flex-shrink: 0; }
.tabla-rep { border: 1.5px solid var(--border); border-radius: var(--r-sm); overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; font-size: .9rem; }
.tabla-rep table { width: 100%; border-collapse: collapse; }
.tabla-rep th { background: var(--dark2); color: rgba(255,255,255,.8); padding: .65rem 1rem; text-align: left; font-size: .77rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.tabla-rep td { padding: .65rem 1rem; border-bottom: 1px solid var(--border2); }
.tabla-rep tr:last-child td { border-bottom: none; }
.tabla-rep td:first-child { color: var(--stone); width: 55%; }
.tabla-rep td:last-child { font-weight: 700; color: var(--blue); }
.tabla-rep tr:hover td { background: var(--bg); }

/* ── Contact ──────────────────────────────────────────────── */
.contact-card { background: var(--dark); border-radius: var(--r-xl); padding: 2.5rem; color: #fff; position: relative; overflow: hidden; }
.contact-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg,var(--blue),var(--gold),var(--blue)); }
.contact-card h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-item { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-icon { width: 38px; height: 38px; border-radius: var(--r-sm); flex-shrink: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.contact-item h4 { color: rgba(255,255,255,.5); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: .25rem; }
.contact-item p, .contact-item a { font-size: .9rem; color: rgba(255,255,255,.8); }
.contact-item a:hover { color: var(--gold3); }

/* ── Status ───────────────────────────────────────────────── */
.status-page { min-height: 60vh; display: flex; align-items: center; padding: 80px 0; }
.status-box { text-align: center; max-width: 560px; margin: 0 auto; }
.status-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.status-icon.success { background: linear-gradient(135deg,var(--green),#0d9e5c); box-shadow: 0 10px 28px rgba(26,110,71,.3); border: 3px solid var(--gold); }

/* ── Compliance bar ───────────────────────────────────────── */
.compliance-bar { background: #080b12; border-top: 3px solid var(--blue); padding: 1.25rem 0; font-size: .73rem; color: rgba(255,255,255,.4); line-height: 1.7; }
.compliance-bar strong { color: rgba(255,255,255,.75); }
.compliance-bar a { color: var(--gold3); }
.compliance-bar a:hover { color: #fff; }
.compliance-title { font-size: .77rem; font-weight: 700; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .07em; margin-bottom: .4rem; }

/* ── Cookie banner ────────────────────────────────────────── */
#cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(14,17,23,.97); border-top: 2px solid var(--blue); backdrop-filter: blur(16px); padding: 1.1rem 0; }
.cookie-inner { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; }
.cookie-text { font-size: .8rem; color: rgba(255,255,255,.55); flex: 1; min-width: 240px; line-height: 1.6; }
.cookie-text a { color: var(--gold3); }
.cookie-btns { display: flex; gap: .6rem; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.footer { background: var(--dark); color: rgba(255,255,255,.45); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { font-size: .84rem; line-height: 1.7; max-width: 260px; color: rgba(255,255,255,.35); margin-top: 1rem; }
.footer-col h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.3); margin-bottom: .9rem; font-family: var(--ff-body); }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col a { color: rgba(255,255,255,.45); font-size: .85rem; text-decoration: none; transition: color .18s; }
.footer-col a:hover { color: var(--gold3); }
.footer-legal { font-size: .7rem; color: rgba(255,255,255,.2); line-height: 1.7; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.05); margin-bottom: 1.25rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; font-size: .77rem; color: rgba(255,255,255,.25); }
.footer-bottom a { color: rgba(255,255,255,.3); }
.footer-bottom a:hover { color: var(--gold3); }
.footer-se-flag { display: inline-flex; gap: 3px; align-items: center; }
.footer-se-flag span { display: inline-block; width: 16px; height: 11px; background: var(--blue); position: relative; border-radius: 1px; }
.footer-se-flag span::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 3px; background: var(--gold2); }
.footer-se-flag span::after { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 3px; background: var(--gold2); }

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.a1{animation:fadeUp .55s .05s both} .a2{animation:fadeUp .55s .15s both}
.a3{animation:fadeUp .55s .25s both} .a4{animation:fadeUp .55s .35s both}
.a5{animation:fadeUp .55s .45s both}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid, .col-2-1, .col-1-2 { grid-template-columns: 1fr; }
  .calc-card { max-width: 500px; margin: 0 auto; }
  .grid-4, .stat-grid { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 110px 0 50px; }
  .section { padding: 70px 0; }
  .section-sm { padding: 40px 0; }
  .section-lg { padding: 90px 0; }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.07); }
}

@media (max-width: 992px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .header-actions .btn { display: none; }
  .header-inner { gap: 1rem; }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .section-sm { padding: 35px 0; }
  .section-lg { padding: 70px 0; }
  .grid-2, .steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .step-line { display: none; }
  .hero { padding: 100px 0 50px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .hero-actions .btn-outline-w { width: 100%; justify-content: center; }
  .topbar { font-size: .7rem; padding: .35rem 0; }
  .topbar-inner { flex-direction: column; gap: .25rem; }
  .topbar-right { gap: .75rem; justify-content: center; font-size: .7rem; }
  .cta-section { padding: 60px 0; }
  .cta-box { padding: 40px 1.5rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn, .cta-actions .btn-outline-w { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 48px 0 0; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .cookie-btns { width: 100%; justify-content: center; }
  .page-hero { padding: 95px 0 45px; }
  .product-card, .card { padding: 1.5rem; }
  .form-card { padding: 1.75rem; }
  .contact-card { padding: 1.75rem; }
  .calc-card { padding: 1.5rem; }
  .calc-result { grid-template-columns: 1fr; }
  .trust-items { gap: 1rem; }
  .trust-item { font-size: .75rem; }
  .hero-kpi { gap: 1.25rem; }
  .hero-kpi-item { min-width: 45%; }
  .step { padding: 0 1rem; margin-bottom: 1.5rem; }
  .stat-item { padding: 1.75rem 1rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .stat-item:last-child { border-bottom: none; }
  .stat-item:nth-child(n+3) { border-top: none; }
  .testimonial { padding: 1.25rem; }
  .checkbox-row { padding: .75rem .9rem; }
  .rep-box, .notice, .info-box { padding: .9rem 1rem; }
  .compliance-bar { padding: 1rem 0; }
  .tabla-rep { font-size: .85rem; }
}

@media (max-width: 480px) {
  .container, .container-sm { padding: 0 16px; }
  .form-card { padding: 1.25rem; }
  .contact-card { padding: 1.5rem; }
  .product-card, .card { padding: 1.25rem; }
  .hero-kpi { gap: 1rem; }
  .hero-kpi-item { min-width: 100%; }
  .hero-kpi-item strong { font-size: 1.5rem; }
  .page-hero { padding: 85px 0 40px; }
  .hero { padding: 90px 0 45px; }
  .cta-section { padding: 50px 0; }
  .cta-box { padding: 32px 1.25rem; }
  .trust-items { gap: .6rem; }
  .calc-result { padding: 1rem; }
  .r-val { font-size: 1.25rem; }
  .logo-img { height: 38px; }
  .logo-name { font-size: .9rem; letter-spacing: .04em; }
  .header-inner { height: 64px; gap: 1rem; }
  .mobile-menu { inset: 64px 0 0 0; }
  .mobile-menu a { padding: .85rem 1.25rem; font-size: .9rem; }
  .mobile-cta { padding: 1rem 1.25rem; }
  .compliance-bar { font-size: .68rem; }
  .compliance-title { font-size: .72rem; }
  .footer-legal { font-size: .65rem; }
  .footer-bottom { font-size: .72rem; padding: 1rem 0; }
  .tabla-rep { font-size: .82rem; }
  .tabla-rep th, .tabla-rep td { padding: .5rem .75rem; }
  input, select, textarea { padding: .7rem .85rem; font-size: .9rem; }
  .btn, .btn-outline, .btn-ghost { padding: .7rem 1.4rem; font-size: .88rem; }
  .btn-lg { padding: .8rem 1.8rem; font-size: .95rem; }
  .hero-actions { gap: .75rem; }
  .section-header { margin-bottom: 2.5rem; }
  .step-num { width: 48px; height: 48px; font-size: 1rem; }
  .step { margin-bottom: 1rem; }
  .author-av { width: 36px; height: 36px; font-size: .8rem; }
  .author-name { font-size: .85rem; }
  .author-detail { font-size: .72rem; }
  .cookie-text { font-size: .75rem; }
  .cookie-inner { gap: 1rem; }
}
