/* ===================================================================
   COURTIER SENIOR — Thème "Corporate clair & luxe"
   Design system autonome (aucune dépendance au template d'origine)
   =================================================================== */

:root {
  /* surfaces claires */
  --bg: #f5f8fd;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --surface-3: #e6edf7;

  /* encres */
  --ink: #14223f;       /* titres */
  --txt: #2a3754;       /* texte courant */
  --txt-muted: #5a6781; /* secondaire */
  --txt-dim: #8794aa;   /* tertiaire */

  /* navy (sections sombres : footer non, mais bandeaux) */
  --navy-900: #0c1730;
  --navy-800: #122046;

  --line: rgba(18, 38, 78, .10);
  --line-strong: rgba(18, 38, 78, .16);

  --blue: #1f6fe0;
  --blue-bright: #2f86ff;
  --blue-deep: #134fab;
  --gold: #c9a227;
  --gold-soft: #e2c463;
  --gold-ink: #a87f15;     /* doré lisible sur fond clair */

  --grad-blue: linear-gradient(135deg, #2f86ff 0%, #134fab 100%);
  --grad-gold: linear-gradient(135deg, #e2c463 0%, #c9a227 100%);

  --shadow-sm: 0 6px 18px -10px rgba(18, 38, 78, .25);
  --shadow-lg: 0 28px 60px -28px rgba(18, 38, 78, .35);
  --shadow-blue: 0 18px 40px -16px rgba(31, 111, 224, .45);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1240px;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); letter-spacing: -.4px; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.1rem; color: var(--txt-muted); }
a { color: var(--blue-deep); text-decoration: none; transition: color .25s; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--grad-gold); }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--grad-gold); }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.lead { font-size: 1.08rem; color: var(--txt-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 15px 30px; border-radius: 50px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  letter-spacing: .01em;
}
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 24px 50px -16px rgba(31,111,224,.6); }
.btn-gold { background: var(--grad-gold); color: #3a2f06; }
.btn-gold:hover { transform: translateY(-3px); color: #3a2f06; box-shadow: 0 20px 44px -18px rgba(201,162,39,.6); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); transform: translateY(-3px); }
.btn-block { width: 100%; }
.btn .ar { transition: transform .25s; }
.btn:hover .ar { transform: translateX(4px); }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .8rem; color: rgba(255,255,255,.62);
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar span.k { color: var(--gold-soft); margin-right: 7px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 10px; line-height: 0;
  box-shadow: var(--shadow-sm);
}
.brand-logo img { height: 46px; width: auto; }

/* menu = liens + CTA alignés sur une seule ligne (desktop) */
.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; color: var(--txt-muted); font-weight: 500; font-size: .94rem;
  border-radius: 8px; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink);
  width: 46px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 1.3rem; line-height: 1;
  position: relative; z-index: 103;
}

html.menu-open, body.menu-open { overflow: hidden; height: 100%; touch-action: none; }
/* quand le menu est ouvert : on ne voit que lui */
body.menu-open .gtranslate_wrapper,
body.menu-open .gt_float_switcher,
body.menu-open [class*="gt_float"],
body.menu-open .pf-wrap { display: none !important; }

/* éléments injectés par JS (cachés sur desktop) */
.nav-head { display: none; }
.nav-close { display: none; }

@media (max-width: 992px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  body.menu-open .nav-toggle { visibility: hidden; }

  /* ----- Menu plein écran (fondu, sans déplacement horizontal) ----- */
  .nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 200;
    background: var(--surface);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 0; gap: 0;
    opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.98);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1); }

  /* barre de titre : logo + croix */
  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0;
  }
  .nav-head .brand-logo img { height: 42px; }
  .nav-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--surface-2); border: 1px solid var(--line); color: var(--ink);
    font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .2s, transform .25s;
  }
  .nav-close:hover { background: var(--surface-3); transform: rotate(90deg); }

  .nav-links { flex: 1; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; padding: 22px 22px 0; box-sizing: border-box; }
  .nav-links a {
    padding: 18px 18px; font-size: 1.15rem; font-weight: 600; border-radius: 12px;
    color: var(--ink); display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { content: "\203A"; color: var(--txt-dim); font-size: 1.3rem; opacity: .6; position: static; background: none; width: auto; height: auto; }
  .nav-links a:hover, .nav-links a.active { background: var(--surface-2); color: var(--ink); }
  .nav-links a.active::after { content: "\203A"; position: static; display: inline; background: none; width: auto; height: auto; color: var(--gold-ink); opacity: 1; }

  .nav-cta { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; margin: 0; padding: 18px 22px 30px; box-sizing: border-box; flex-shrink: 0; }
  .nav-cta .btn { width: 100%; padding: 17px; font-size: 1.05rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(70px, 11vw, 130px) 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 85% -10%, rgba(47,134,255,.16), transparent 55%),
              radial-gradient(80% 80% at 0% 100%, rgba(201,162,39,.10), transparent 60%),
              var(--bg);
  z-index: -2;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 span { color: var(--blue); }
.hero p.lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 42px; }
.hero-mini { display: flex; flex-wrap: wrap; gap: 34px; }
.hero-mini .n { font-family: var(--font-head); font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-mini .l { font-size: .82rem; color: var(--txt-dim); }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-visual .frame img { width: 100%; height: 520px; object-fit: cover; }
.hero-badge {
  position: absolute; left: -22px; bottom: 36px; z-index: 2;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px;
}
.hero-badge .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--grad-gold); display: grid; place-items: center; color: #3a2f06; font-size: 1.3rem; }
.hero-badge .t b { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.15rem; }
.hero-badge .t span { font-size: .8rem; color: var(--txt-dim); }

/* ---------- Generic section ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section.alt { background: var(--surface-2); }
.section.deep { background: var(--navy-900); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 30px; }
.trust .item { text-align: center; }
.trust .item b { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.trust .item span { font-size: .82rem; color: var(--txt-dim); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 54px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad-gold); transition: width .35s; }
.card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.card:hover::before { width: 100%; }
.card .ico {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(31,111,224,.10); border: 1px solid rgba(31,111,224,.20);
  color: var(--blue); font-size: 1.5rem; margin-bottom: 22px;
}
.card h3 { color: var(--ink); margin-bottom: 10px; }
.card p { margin: 0; font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-lg); width: 100%; height: 480px; object-fit: cover; }
.split-media .tag {
  position: absolute; right: -18px; top: 28px; background: var(--grad-blue); color: #fff;
  padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow-blue); text-align: center;
}
.split-media .tag b { font-family: var(--font-head); font-size: 1.7rem; display: block; line-height: 1; }
.split-media .tag span { font-size: .76rem; opacity: .9; }
.ticks { list-style: none; padding: 0; margin: 22px 0 30px; }
.ticks li { padding: 7px 0 7px 32px; position: relative; color: var(--txt); }
.ticks li::before {
  content: "\2713"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px;
  border-radius: 50%; background: rgba(201,162,39,.16); color: var(--gold-ink);
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
}

/* ---------- Counters band ---------- */
.counters { background: var(--grad-blue); position: relative; overflow: hidden; }
.counters::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 90% 10%, rgba(255,255,255,.18), transparent 60%); }
.counters .container { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.counter { text-align: center; color: #fff; }
.counter .num { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: #fff; }
.counter .lbl { font-size: .9rem; opacity: .92; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.tslider { position: relative; margin-top: 50px; }
.ttrack { display: flex; transition: transform .55s cubic-bezier(.5,.1,.2,1); }
.tslide { min-width: 100%; padding: 0 10px; box-sizing: border-box; }
@media (min-width: 768px) { .tslide { min-width: 50%; } }
@media (min-width: 1100px) { .tslide { min-width: 33.333%; } }
.tcard {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; height: 100%;
  box-shadow: var(--shadow-sm);
}
.tcard .quote { font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); line-height: .6; }
.tcard p { color: var(--txt); font-size: .98rem; margin: 16px 0 22px; }
.tcard .who { display: flex; align-items: center; gap: 14px; }
.tcard .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line); }
.tcard .who b { color: var(--ink); font-family: var(--font-body); display: block; font-size: .95rem; }
.tcard .who span { color: var(--gold-ink); font-size: .8rem; }
.tnav { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
.tnav button {
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.1rem; transition: all .25s;
}
.tnav button:hover { background: var(--grad-gold); color: #3a2f06; border-color: transparent; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.gitem { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; box-shadow: var(--shadow-sm); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gitem:hover img { transform: scale(1.08); }
.gitem .cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(8,16,33,.92));
  color: #fff; font-family: var(--font-head); font-size: 1.02rem;
}
.gitem .cap span { display: block; font-family: var(--font-body); font-size: .72rem; color: var(--gold-soft); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { position: relative; padding: clamp(80px, 12vw, 130px) 0 clamp(40px, 6vw, 64px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bg); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 85% -20%, rgba(47,134,255,.16), transparent 55%);
}
.breadcrumb { font-size: .82rem; color: var(--txt-dim); margin-bottom: 14px; letter-spacing: .04em; }
.breadcrumb a { color: var(--gold-ink); }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* ---------- CTA band (sombre, accent premium) ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(10,21,46,.94), rgba(10,21,46,.72)), var(--grad-blue); }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { margin: 0; }

/* ---------- Forms ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; color: var(--txt-muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: #fff; border: 1px solid var(--line-strong); color: var(--ink);
  padding: 14px 16px; border-radius: 10px; font-family: var(--font-body); font-size: .95rem; transition: border-color .25s, box-shadow .25s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--txt-dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,111,224,.16); }
.field input[type=file] { padding: 11px 14px; color: var(--txt-muted); background: var(--surface-2); }
.field input:disabled { opacity: .6; background: var(--surface-2); }
.field textarea { resize: vertical; min-height: 130px; }

/* tables (amortization) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-top: 18px; }
table.amort { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.amort th, table.amort td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); color: var(--txt-muted); }
table.amort th { background: var(--surface-2); color: var(--blue-deep); position: sticky; top: 0; }
table.amort tr:nth-child(even) td { background: var(--surface-2); }

.result-box { margin-top: 22px; text-align: center; }
.result-box .big { font-family: var(--font-head); font-size: 2rem; color: var(--blue-deep); }

/* legal/article content */
.article { max-width: 860px; margin: 0 auto; }
.article h2 { margin-top: 0; }
.article h3 { color: var(--blue-deep); margin-top: 2em; font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; }
.article p, .article li { color: var(--txt-muted); }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--ink); }

/* info cards (contact) */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow-sm); }
.info-card .ico { color: var(--gold-ink); font-size: 1.3rem; margin-bottom: 10px; }
.info-card b { color: var(--ink); display: block; font-family: var(--font-body); font-size: .9rem; }
.info-card span, .info-card a { color: var(--txt-muted); font-size: .92rem; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; box-shadow: var(--shadow-sm); }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Footer (clair) ---------- */
.site-footer { background: var(--surface-2); border-top: 1px solid var(--line); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid h4 { color: var(--ink); font-family: var(--font-body); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid a { color: var(--txt-muted); font-size: .93rem; }
.footer-grid a:hover { color: var(--gold-ink); }
.footer-brand .brand-logo { display: inline-block; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; color: var(--txt-muted); }
.foot-contact li { color: var(--txt-muted); font-size: .92rem; display: flex; gap: 10px; }
.foot-contact .ico { color: var(--gold-ink); margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.footer-bottom p { margin: 0; font-size: .82rem; color: var(--txt-dim); }
.legal-line { font-size: .78rem; color: var(--txt-dim); border-top: 1px solid var(--line); padding: 18px 0 30px; line-height: 1.6; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- Status modal / popup ---------- */
.cs-overlay { position: fixed; inset: 0; background: rgba(10,21,46,.45); backdrop-filter: blur(4px); z-index: 999; display: none; }
.cs-modal {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 1000;
  width: min(460px, 92vw); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; text-align: center; box-shadow: var(--shadow-lg); display: none;
}
.cs-modal .badge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 1.8rem; }
.cs-modal.success .badge { background: rgba(34,150,60,.14); color: #1f9d44; }
.cs-modal.error .badge { background: rgba(214,45,60,.12); color: #d62d3c; }
.cs-modal h4 { margin: 0 0 8px; }
.cs-modal p { color: var(--txt-muted); }
.cs-modal .btn { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-media { order: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .container, .counters .container { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards, .gallery, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .hero-visual .frame img { height: 380px; }
  .hero-badge { left: 0; }
  .split-media img { height: 340px; }
}
