/* ============================================================
   Investycoon — Site vitrine  (v2 · playful & friendly)
   ============================================================ */

:root {
  --cream: #FBF7EF;
  --cream-2: #F5EEE1;
  --white: #ffffff;
  --mint: #EBF7EE;
  --ink: #1B2A22;
  --slate: #5E6B62;
  --slate-2: #8A958C;
  --line: #ECE4D5;
  --line-2: #E0D6C4;

  --green: #21B869;
  --green-d: #169152;
  --green-tint: #E4F6EC;
  --amber: #FFB22E;
  --amber-d: #E0901A;
  --amber-tint: #FFF1D6;
  --blue: #4C8BF5;
  --blue-d: #2F6BD6;
  --blue-tint: #E5EEFE;
  --coral: #FF6F5E;
  --coral-d: #E8503F;
  --coral-tint: #FFE7E2;
  --violet: #8B7BF0;
  --violet-d: #6E5BD8;
  --violet-tint: #ECE8FD;

  --accent: #348ddb;
  --accent-d: #2470b8;
  --accent-tint: #e0eefb;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --maxw: 1180px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 14px 34px -18px rgba(40, 35, 20, 0.28);
  --shadow-lg: 0 30px 60px -26px rgba(40, 35, 20, 0.34);
}

.ic-page * { box-sizing: border-box; }
.ic-page { background: var(--cream); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-weight: 500; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.ic-page a { color: inherit; text-decoration: none; }
.ic-page button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.ic-page img { max-width: 100%; }
.ic-page h1, .ic-page h2, .ic-page h3, .ic-page h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }

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

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- buttons ---------- */
.ic-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: var(--r-sm);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s ease, background .15s ease;
  white-space: nowrap; user-select: none;
}
.ic-page .btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-d); }
.ic-page .btn-primary:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 5px 0 var(--accent-d); }
.ic-page .btn-primary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--accent-d); }
.ic-page .btn-secondary { background: var(--white); color: var(--ink); box-shadow: 0 4px 0 var(--line-2); border: 1.5px solid var(--line-2); }
.ic-page .btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--line-2); }
.ic-page .btn-secondary:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line-2); }
.ic-page .btn-lg { padding: 17px 32px; font-size: 18px; border-radius: 16px; }
.ic-page .btn-ghost { color: var(--slate); font-weight: 700; padding: 10px 12px; }
.ic-page .btn-ghost:hover { color: var(--ink); }

/* ---------- nav ---------- */
.ic-page .nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.ic-page .nav.scrolled { background: rgba(251, 247, 239, 0.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.ic-page .nav.scrolled.nav-dark { background: var(--ink); backdrop-filter: none; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.ic-page .nav.nav-dark .brand-logo { filter: brightness(0) invert(1); }
.ic-page .nav-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.ic-page .nav-links { display: flex; gap: 26px; margin-left: 14px; }
.ic-page .nav-links a { color: var(--slate); font-weight: 700; font-size: 15.5px; transition: color .15s; }
.ic-page .nav-links a:hover { color: var(--ink); }
.ic-page .nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.ic-page .brand { display: flex; align-items: center; flex-shrink: 0; }
.ic-page .brand-logo { height: 44px; width: auto; display: block; }
.ic-page .footer .brand-logo { filter: brightness(0) invert(1); }

.ic-page .lang-pick { position: relative; }
.ic-page .lang-trigger {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 10px 6px 8px; border-radius: 10px;
  background: var(--cream-2); font-family: var(--font-display);
  font-size: 13px; font-weight: 600; color: var(--ink);
  transition: background .15s;
}
.ic-page .lang-trigger:hover { background: var(--line); }
.ic-page .lang-flag { font-size: 17px; line-height: 1; display: block; }
.ic-page .lang-chevron { width: 13px; height: 13px; color: var(--slate-2); transition: rotate .18s; flex-shrink: 0; }
.ic-page .lang-pick.open .lang-chevron { rotate: 180deg; }
.ic-page .lang-drop {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1.5px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 4px; min-width: 136px; z-index: 100;
  animation: lang-in .12s ease;
}
@keyframes lang-in { from { opacity: 0; translate: 0 -4px; } }
.ic-page .lang-drop button {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 10px; border-radius: 8px; text-align: left;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 600;
  color: var(--slate); transition: background .12s, color .12s;
}
.ic-page .lang-drop button:hover { background: var(--cream-2); color: var(--ink); }
.ic-page .lang-drop button.on { color: var(--accent-d); background: var(--accent-tint); }
.ic-page .lang-backdrop { position: fixed; inset: 0; z-index: 99; }

/* ---------- pills / eyebrows ---------- */
.ic-page .pill {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display);
  font-weight: 600; font-size: 14px; padding: 8px 15px; border-radius: 100px;
  background: var(--accent-tint); color: var(--accent-d);
}
.ic-page .pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.ic-page .kicker { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--accent-d); text-transform: uppercase; }

/* ---------- section scaffolding ---------- */
.ic-page .s { padding: 92px 0; position: relative; }
.ic-page .s-mint { background: var(--mint); }
.ic-page .s-cream2 { background: var(--cream-2); }
.ic-page .s-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.ic-page .s-head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; }
.ic-page .s-head p { color: var(--slate); font-size: 19px; margin-top: 16px; }

/* ---------- hero ---------- */
.ic-page .hero { padding: 56px 0 64px; }
.ic-page .hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: 40px; align-items: center; }
.ic-page .hero h1 { font-size: clamp(40px, 5.6vw, 70px); margin: 22px 0 0; letter-spacing: -0.025em; }
.ic-page .hero h1 .hl { color: var(--accent); position: relative; display: inline-block; }
.ic-page .hero h1 .hl svg { position: absolute; left: 0; right: 0; bottom: -8px; width: 100%; height: 12px; }
.ic-page .hero-sub { color: var(--slate); font-size: clamp(18px, 1.6vw, 21px); margin-top: 22px; max-width: 30ch; font-weight: 600; }
.ic-page .hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.ic-page .hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.ic-page .avatars { display: flex; }
.ic-page .avatars span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -12px; background: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 14px; }
.ic-page .avatars span:first-child { margin-left: 0; }
.ic-page .hero-proof .txt { font-size: 14.5px; color: var(--slate); font-weight: 700; }
.ic-page .hero-proof .txt b { color: var(--ink); }
.ic-page .stars { color: var(--amber); letter-spacing: 1px; }

/* ---------- hero tiles ---------- */
.ic-page .tiles { position: relative; height: 460px; }
.ic-page .tile {
  position: absolute; border-radius: 24px; background: var(--white);
  box-shadow: var(--shadow-lg); border: 1.5px solid var(--line);
  display: flex; flex-direction: column; gap: 8px; padding: 18px;
}
.ic-page .tile .glyph { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.ic-page .tile .tlabel { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.ic-page .tile .tval { font-family: var(--font-display); font-weight: 600; font-size: 22px; white-space: nowrap; }
.ic-page .tile .tmeta { font-size: 12.5px; color: var(--slate-2); font-weight: 700; }
.ic-page .float { animation: ic-bob 5s ease-in-out infinite; }
@keyframes ic-bob { 50% { translate: 0 -12px; } }
.ic-page .spark { position: absolute; border-radius: 50%; }
.ic-page .dotline { position: absolute; border-top: 3px dotted var(--line-2); }

/* colored glyph variants */
.ic-page .glyph { display: grid; place-items: center; }
.ic-page .g-green { background: var(--green-tint); color: var(--green-d); }
.ic-page .g-amber { background: var(--amber-tint); color: var(--amber-d); }
.ic-page .g-blue { background: var(--blue-tint); color: var(--blue-d); }
.ic-page .g-violet { background: var(--violet-tint); color: var(--violet-d); }
.ic-page .g-coral { background: var(--coral-tint); color: var(--coral-d); }

/* ---------- steps ---------- */
.ic-page .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ic-page .step {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 24px; box-shadow: var(--shadow); position: relative;
  transition: transform .2s ease;
}
.ic-page .step:hover { transform: translateY(-5px); }
.ic-page .step-n { position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; display: grid; place-items: center; font-size: 16px; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.ic-page .step .glyph { width: 60px; height: 60px; border-radius: 18px; margin: 12px 0 16px; }
.ic-page .step h3 { font-size: 20px; }
.ic-page .step p { color: var(--slate); font-size: 15px; margin-top: 8px; font-weight: 600; }

/* ---------- why bento ---------- */
.ic-page .why { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ic-page .why-card {
  border-radius: var(--r); padding: 28px; position: relative; overflow: hidden;
  border: 1.5px solid var(--line); background: var(--white); box-shadow: var(--shadow);
  transition: transform .2s ease;
  grid-column: span 2;
}
.ic-page .why-card:hover { transform: translateY(-5px); }
.ic-page .why-card.wide { grid-column: span 3; }
.ic-page .why-card.tall { grid-column: span 3; }
.ic-page .why-card .glyph { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 18px; }
.ic-page .why-card h3 { font-size: 22px; }
.ic-page .why-card p { color: var(--slate); font-size: 15.5px; margin-top: 10px; font-weight: 600; max-width: 36ch; }
.ic-page .why-card .deco { position: absolute; right: -28px; bottom: -28px; width: 130px; height: 130px; border-radius: 50%; opacity: .5; }

/* ---------- stats ---------- */
.ic-page .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ic-page .stat { text-align: center; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 34px 18px; box-shadow: var(--shadow); }
.ic-page .stat .glyph { width: 50px; height: 50px; border-radius: 15px; margin: 0 auto 14px; }
.ic-page .stat .v { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 46px); color: var(--ink); letter-spacing: -0.02em; }
.ic-page .stat .l { color: var(--slate); font-weight: 700; font-size: 15px; margin-top: 4px; }

/* ---------- pricing ---------- */
.ic-page .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ic-page .plan {
  background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative;
}
.ic-page .plan.reco { border: 2.5px solid var(--accent); box-shadow: var(--shadow-lg); transform: scale(1.03); z-index: 2; }
.ic-page .plan-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 6px 16px; border-radius: 100px; box-shadow: 0 4px 0 var(--accent-d); white-space: nowrap; }
.ic-page .plan .glyph { width: 56px; height: 56px; border-radius: 17px; margin-bottom: 16px; }
.ic-page .plan-name { font-family: var(--font-display); font-weight: 600; font-size: 23px; }
.ic-page .plan-tag { color: var(--slate); font-size: 14.5px; margin-top: 4px; font-weight: 600; min-height: 42px; }
.ic-page .plan-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 4px; }
.ic-page .plan-price .num { font-family: var(--font-display); font-weight: 600; font-size: 42px; color: var(--ink); }
.ic-page .plan-price .num.word { font-size: 30px; white-space: nowrap; }
.ic-page .plan-price .per { color: var(--slate-2); font-weight: 700; font-size: 14px; }
.ic-page .plan-feats { list-style: none; display: grid; gap: 12px; margin: 22px 0 26px; padding: 0; }
.ic-page .plan-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); font-weight: 600; }
.ic-page .plan-feats .chk { width: 22px; height: 22px; border-radius: 7px; background: var(--accent-tint); color: var(--accent-d); display: grid; place-items: center; flex: none; }
.ic-page .plan-feats .chk svg { width: 12px; height: 12px; }
.ic-page .plan .btn { margin-top: auto; width: 100%; }

/* ---------- CTA band ---------- */
.ic-page .cta { padding: 40px 0 100px; }
.ic-page .cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--accent); color: #fff; text-align: center; padding: 64px 40px;
  box-shadow: 0 8px 0 var(--accent-d), var(--shadow-lg);
}
.ic-page .cta-band h2 { color: #fff; font-size: clamp(30px, 4.4vw, 52px); }
.ic-page .cta-band p { font-size: 20px; margin-top: 14px; opacity: .92; font-weight: 600; }
.ic-page .cta-band .btn { margin-top: 30px; }
.ic-page .cta-band .btn-primary { background: #fff; color: var(--accent-d); box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.ic-page .cta-band .deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.13); }

/* ---------- footer ---------- */
.ic-page .footer { background: var(--ink); color: #C8D2CB; padding: 60px 0 36px; }
.ic-page .foot-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 36px; }
.ic-page .footer .brand-name { color: #fff; }
.ic-page .footer .brand-name b { color: var(--accent); }
.ic-page .foot-blurb { color: #93A099; font-size: 14.5px; margin-top: 16px; max-width: 34ch; font-weight: 600; }
.ic-page .foot-col h5 { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 14px; }
.ic-page .foot-col a { display: block; color: #93A099; font-size: 14.5px; padding: 5px 0; font-weight: 600; transition: color .15s; }
.ic-page .foot-col a:hover { color: #fff; }
.ic-page .foot-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: #75827B; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; gap: 10px; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .ic-page .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .ic-page .hero-sub { max-width: 46ch; }
  .ic-page .tiles { height: 380px; max-width: 480px; margin: 8px auto 0; }
  .ic-page .steps { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .ic-page .why { grid-template-columns: repeat(4, 1fr); }
  .ic-page .why-card, .ic-page .why-card.wide, .ic-page .why-card.tall { grid-column: span 2; }
  .ic-page .stats { grid-template-columns: 1fr 1fr; }
  .ic-page .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .ic-page .plan.reco { transform: none; }
  .ic-page .nav-links { display: none; }
  .ic-page .btn-ghost { display: none; }
  .ic-page .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ic-page { font-size: 16px; }
  .ic-page .wrap { padding: 0 18px; }
  .ic-page .s { padding: 64px 0; }
  .ic-page .hero { padding: 32px 0 40px; }
  .ic-page .hero-sub { max-width: 100%; font-size: 17px; }
  .ic-page .hero-cta { gap: 10px; }
  .ic-page .hero-cta .btn { flex: 1; min-width: 0; }
  .ic-page .hero-tiles-wrap { display: flex; justify-content: center; overflow: hidden; height: 310px; }
  .ic-page .tiles { flex: none; width: 480px; height: 460px; transform: scale(0.67); transform-origin: top center; }
  .ic-page .steps,
  .ic-page .why,
  .ic-page .stats { grid-template-columns: 1fr; }
  .ic-page .why-card,
  .ic-page .why-card.wide,
  .ic-page .why-card.tall { grid-column: span 1; }
  .ic-page .foot-grid { grid-template-columns: 1fr; }
  .ic-page .cta-band { padding: 44px 24px; }
}
@media (max-width: 400px) {
  .ic-page .lang-pick { display: none; }
  .ic-page .btn-primary { font-size: 14px; padding: 12px 18px; }
  .ic-page .hero-tiles-wrap { height: 300px; }
  .ic-page .tiles { transform: scale(0.56); }
}

@media (prefers-reduced-motion: reduce) {
  .ic-page .float { animation: none !important; }
}

/* ---------- content layout (pages annexes) ---------- */
.ic-page .content-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 26px 96px;
}
.ic-page .content-prose h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 12px; }
.ic-page .content-prose h2 { font-size: 24px; margin-top: 48px; margin-bottom: 12px; }
.ic-page .content-prose h3 { font-size: 19px; margin-top: 32px; margin-bottom: 8px; }
.ic-page .content-prose p,
.ic-page .content-prose li { color: var(--slate); line-height: 1.75; font-weight: 600; margin-top: 14px; }
.ic-page .content-prose a { color: var(--accent-d); text-decoration: underline; }
.ic-page .content-prose ul,
.ic-page .content-prose ol { padding-left: 1.4em; }
.ic-page .content-prose .content-sub { font-size: 0.95rem; font-weight: 400; color: var(--slate); opacity: .7; margin-top: 0; margin-bottom: 32px; }
.ic-page .content-prose h4 { font-size: 16px; margin-top: 24px; margin-bottom: 6px; }
.ic-page .content-prose h5 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--slate); margin-top: 20px; margin-bottom: 4px; }
.ic-page .content-prose hr { border: none; border-top: 1.5px solid var(--line); margin: 40px 0; }
.ic-page .content-prose pre {
  background: var(--ink);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  overflow-x: auto;
  margin-top: 16px;
  margin-bottom: 8px;
}
.ic-page .content-prose pre code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.7;
  color: #d4d4d4;
  background: none;
  padding: 0;
}
.ic-page .content-prose code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 0.88em;
  background: var(--cream-2);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 5px;
}
.ic-page .content-prose .table-wrap { overflow-x: auto; margin-top: 20px; margin-bottom: 8px; }
.ic-page .content-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ic-page .content-prose thead th {
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.ic-page .content-prose tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  color: var(--slate);
  font-weight: 600;
}
.ic-page .content-prose tbody td:first-child,
.ic-page .content-prose tbody td:nth-child(2) { white-space: nowrap; }
.ic-page .content-prose tbody tr:last-child td { border-bottom: none; }
.ic-page .content-prose .item-type {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-top: 32px;
}
.ic-page .content-prose .item-type h4 { margin-top: 0; }
.ic-page .content-prose .sdk-note {
  background: var(--cream-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 12px 16px;
  font-size: 14.5px;
  margin-top: 20px;
}

/* ---------- sdk hero ---------- */
.ic-page .sdk-hero {
  background: var(--ink);
  padding: 80px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ic-page .sdk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(52, 141, 219, .2) 0%, transparent 65%);
  pointer-events: none;
}
.ic-page .sdk-hero-inner { position: relative; z-index: 1; }
.ic-page .sdk-pill {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #C8D2CB;
}
.ic-page .sdk-hero-title {
  color: #fff;
  font-size: clamp(36px, 5.5vw, 64px);
  margin: 22px 0 0;
  letter-spacing: -0.025em;
}
.ic-page .sdk-hero-sub {
  color: #93A099;
  font-size: clamp(16px, 1.8vw, 19px);
  margin: 18px auto 0;
  max-width: 44ch;
  font-weight: 600;
  line-height: 1.65;
}
.ic-page .sdk-hero-cmd {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-sm);
  padding: 13px 22px;
  margin-top: 34px;
  max-width: calc(100% - 48px);
  overflow-x: auto;
}
.ic-page .sdk-cmd-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #75827B;
  white-space: nowrap;
  flex-shrink: 0;
}
.ic-page .sdk-hero-cmd code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 14px;
  color: #C8D2CB;
  background: none;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
}
.ic-page .sdk-hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.ic-page .sdk-btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #C8D2CB;
  border: 1.5px solid rgba(255, 255, 255, .16);
  box-shadow: none;
}
.ic-page .sdk-btn-ghost:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: none;
}

/* ---------- blog — listing ---------- */
.ic-page .blog-index-hero { background: var(--cream-2); padding: 64px 0 52px; border-bottom: 1.5px solid var(--line); }
.ic-page .blog-index-title { font-size: clamp(28px, 5vw, 44px); margin: 8px 0 12px; }
.ic-page .blog-index-sub { color: var(--slate); font-size: 17px; font-weight: 500; max-width: 560px; margin: 0; }
.ic-page .blog-back-link { font-size: 13.5px; font-weight: 700; color: var(--slate); display: inline-block; margin-bottom: 16px; transition: color .15s; }
.ic-page .blog-back-link:hover { color: var(--ink); }

.ic-page .blog-index-body { display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start; padding-top: 52px; padding-bottom: 80px; }
@media (max-width: 900px) { .ic-page .blog-index-body { grid-template-columns: 1fr; } }

/* card grid — min(280px,100%) évite le dépassement horizontal sur mobile */
.ic-page .blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; min-width: 0; }
.ic-page .blog-empty { color: var(--slate); font-style: italic; }

/* blog card */
.ic-page .blog-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; position: relative; cursor: pointer; }
.ic-page .blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ic-page .blog-card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; position: relative; z-index: 1; }
.ic-page .blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ic-page .blog-card:hover .blog-card-img { transform: scale(1.03); }
.ic-page .blog-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ic-page .blog-card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.ic-page .blog-lang-badge { font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--slate-2); padding: 2px 7px; border-radius: 20px; }
.ic-page .blog-card-title { font-size: 17px; font-family: var(--font-body); font-weight: 700; line-height: 1.3; margin: 0; }
.ic-page .blog-card-title a { color: var(--ink); transition: color .15s; }
.ic-page .blog-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.ic-page .blog-card-title a:hover { color: var(--accent-d); }
.ic-page .blog-card-desc { font-size: 14px; color: var(--slate); font-weight: 500; line-height: 1.6; margin: 0; flex: 1; }
.ic-page .blog-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; position: relative; z-index: 1; }

/* sidebar */
.ic-page .blog-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; position: sticky; top: calc(74px + 24px); }
@media (max-width: 900px) { .ic-page .blog-sidebar { position: static; } }
.ic-page .blog-sidebar-block { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.ic-page .blog-sidebar-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-2); margin: 0 0 14px; }
.ic-page .blog-sidebar-cats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ic-page .blog-sidebar-cat { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--slate); transition: .15s; }
.ic-page .blog-sidebar-cat:hover, .ic-page .blog-sidebar-cat.active { background: var(--cream-2); color: var(--ink); }
.ic-page .blog-sidebar-cat-count { font-size: 11px; font-weight: 700; background: var(--cream-2); color: var(--slate-2); padding: 2px 7px; border-radius: 20px; }
.ic-page .blog-sidebar-cat.active .blog-sidebar-cat-count { background: var(--accent-tint); color: var(--accent-d); }
.ic-page .blog-sidebar-scroll-wrap { max-height: 260px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.ic-page .blog-sidebar-scroll-wrap::-webkit-scrollbar { width: 5px; }
.ic-page .blog-sidebar-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.ic-page .blog-sidebar-scroll-wrap::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.ic-page .blog-sidebar-more { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--accent); text-decoration: none; }
.ic-page .blog-sidebar-more:hover { text-decoration: underline; }
.ic-page .blog-tag-cloud { display: flex; gap: 7px; flex-wrap: wrap; }
.ic-page .blog-tag.active { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-d); }
.ic-page .blog-tag-cloud--lg { gap: 10px; }
.ic-page .blog-tag--counted { display: inline-flex; align-items: center; gap: 6px; }
.ic-page .blog-tag-count { font-size: 11px; font-weight: 700; background: var(--cream-2); color: var(--slate-2); padding: 1px 6px; border-radius: 20px; }
.ic-page .blog-tags-page { min-width: 0; align-content: start; }

/* pagination */
.ic-page .blog-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 0 0 80px; }
.ic-page .blog-page-btn { font-size: 14px; font-weight: 700; color: var(--slate); padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 10px; transition: .15s; }
.ic-page .blog-page-btn:hover { color: var(--ink); border-color: var(--ink); }
.ic-page .blog-page-info { font-size: 14px; color: var(--slate); font-weight: 600; }

/* ---------- blog ---------- */
.ic-page .blog-post-main { padding: 48px 0 96px; }

/* breadcrumb */
.ic-page .blog-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--slate); margin-bottom: 40px; }
.ic-page .blog-breadcrumb a { color: var(--slate); transition: color .15s; }
.ic-page .blog-breadcrumb a:hover { color: var(--ink); }
.ic-page .blog-breadcrumb-sep { opacity: .4; }

/* post header */
.ic-page .blog-post-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; margin-bottom: 36px; }
.ic-page .blog-post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.ic-page .blog-category-badge { display: inline-block; background: var(--mint); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 6px; }
.ic-page .blog-post-date { font-size: 14px; color: var(--slate); font-weight: 600; }
.ic-page .blog-post-author { font-size: 14px; color: var(--slate); font-weight: 600; }
.ic-page .blog-post-author::before { content: "·"; margin-right: 14px; opacity: .4; }
.ic-page .blog-post-title { font-size: clamp(28px, 5vw, 48px); margin: 0 0 16px; }
.ic-page .blog-post-description { font-size: 19px; color: var(--slate); font-weight: 500; margin: 0 0 24px; line-height: 1.6; }
.ic-page .blog-post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }

/* tags */
.ic-page .blog-tag { font-size: 13px; font-weight: 700; color: var(--slate); background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 20px; padding: 3px 12px; transition: .15s; }
.ic-page .blog-tag:hover { color: var(--ink); border-color: var(--line-2); }

/* article body — extends content-prose without max-width override */
.ic-page .blog-article { max-width: 760px; padding: 0 0 64px; }
.ic-page .blog-article blockquote { border-left: 4px solid var(--accent); background: var(--cream-2); border-radius: 0 var(--r) var(--r) 0; padding: 14px 20px; margin: 24px 0; color: var(--slate); font-style: normal; }
.ic-page .blog-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.ic-page .blog-article th, .ic-page .blog-article td { border: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.ic-page .blog-article th { background: var(--cream-2); font-weight: 700; }
/* ── Blog CTA ── */
.ic-page .blog-cta {
  margin: 48px 0 32px;
  background: linear-gradient(135deg, var(--accent) 0%, #06b6d4 100%);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 32px rgba(52, 141, 219, 0.28);
  text-align: center;
  padding: 52px 32px 44px;
  position: relative;
  overflow: hidden;
}
.ic-page .blog-cta::before {
  content: "";
  position: absolute;
  inset: -60px -40px;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%);
  pointer-events: none;
}
.ic-page .blog-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
}
.ic-page .blog-cta-sub,
.ic-page .content-prose .blog-cta-sub {
  color: #e0f2fe;
  font-size: 1rem;
  font-weight: 500;
  max-width: 42ch;
  margin: 0 auto 28px;
  line-height: 1.55;
}
.ic-page .blog-cta-btn,
.ic-page .content-prose .blog-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  padding: 14px 30px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  z-index: 1;
}
.ic-page .blog-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.ic-page .blog-cta-btn:active {
  transform: translateY(2px);
  box-shadow: none;
}

/* prev / next nav */
.ic-page .blog-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1.5px solid var(--line); padding-top: 40px; margin-top: 16px; }
.ic-page .blog-post-nav-prev,
.ic-page .blog-post-nav-next { display: flex; flex-direction: column; gap: 6px; }
.ic-page .blog-post-nav-next { text-align: right; }
.ic-page .blog-post-nav a { display: flex; flex-direction: column; gap: 4px; }
.ic-page .blog-post-nav-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }
.ic-page .blog-post-nav-title { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; transition: color .15s; }
.ic-page .blog-post-nav a:hover .blog-post-nav-title { color: var(--accent-d); }
@media (max-width: 600px) { .ic-page .blog-post-nav { grid-template-columns: 1fr; } .ic-page .blog-post-nav-next { text-align: left; } }

/* ---------- contact page ---------- */
.ic-page .contact-main { padding: 80px 0 100px; }
.ic-page .contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.ic-page .contact-info { position: sticky; top: 100px; }
.ic-page .contact-info .kicker { margin-bottom: 14px; }
.ic-page .contact-info h1 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 16px; }
.ic-page .contact-info > p { color: var(--slate); font-size: 17px; line-height: 1.7; font-weight: 600; margin: 0; max-width: 36ch; }
.ic-page .contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.ic-page .contact-detail { display: flex; align-items: center; gap: 16px; }
.ic-page .contact-detail-info { display: flex; flex-direction: column; gap: 2px; }
.ic-page .contact-detail-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-2); }
.ic-page .contact-detail-value { font-size: 15px; font-weight: 700; color: var(--ink); transition: color .15s; }
.ic-page .contact-detail-value:hover { color: var(--accent-d); }

.ic-page .contact-form-wrap { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.ic-page .form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.ic-page .form-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.ic-page .form-label .required { color: var(--coral); margin-left: 2px; }
.ic-page .form-input,
.ic-page .form-textarea {
  width: 100%; padding: 12px 16px; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--ink); background: var(--cream); border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s; outline: none; box-sizing: border-box;
}
.ic-page .form-input:focus,
.ic-page .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.ic-page .form-input.invalid,
.ic-page .form-textarea.invalid { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-tint); }
.ic-page .form-textarea { resize: vertical; min-height: 140px; }
.ic-page .form-error { font-size: 13px; color: var(--coral-d); font-weight: 600; }
.ic-page .form-submit { width: 100%; margin-top: 8px; }
.ic-page .form-submit.loading { opacity: .7; pointer-events: none; }
.ic-page .form-global-error { background: var(--coral-tint); border: 1.5px solid var(--coral); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--coral-d); margin-bottom: 20px; }
.ic-page .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ic-page .recaptcha-notice { font-size: 12px; color: var(--slate-2); margin-top: 16px; text-align: center; line-height: 1.6; }
.ic-page .recaptcha-notice a { color: var(--accent-d); text-decoration: underline; }

.ic-page .contact-success { text-align: center; padding: 48px 24px; }
.ic-page .contact-success h2 { font-size: 26px; margin: 0 0 12px; }
.ic-page .contact-success p { color: var(--slate); font-size: 16px; font-weight: 600; margin: 0; }

@media (max-width: 900px) {
  .ic-page .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .ic-page .contact-info { position: static; }
  .ic-page .contact-info > p { max-width: 100%; }
  .ic-page .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ic-page .contact-main { padding: 48px 0 64px; }
  .ic-page .contact-form-wrap { padding: 28px 20px; }
}

/* ===== AUTH PAGES ===== */
.ic-page.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; background: var(--cream); }
.ic-page .auth-card { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 48px 40px; box-shadow: var(--shadow); width: 100%; max-width: 460px; text-align: center; }
.ic-page .auth-brand { display: inline-block; margin-bottom: 32px; }
.ic-page .auth-card h2 { font-size: 26px; margin: 0 0 8px; }
.ic-page .auth-sub { color: var(--slate); font-size: 16px; font-weight: 600; margin: 0; }
.ic-page .auth-form { text-align: left; }
.ic-page .auth-form .form-field { display: flex; flex-direction: column; gap: 7px; }
.ic-page .auth-form .form-hint { font-size: 13px; color: var(--slate-2); font-weight: 600; }
.ic-page .auth-warning { background: var(--cream-2); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 16px; font-size: 14px; color: var(--slate); font-weight: 600; line-height: 1.6; text-align: left; }
.ic-page .auth-error-detail { color: var(--coral-d); font-size: 15px; font-weight: 600; margin: 12px 0 0; }
.ic-page .auth-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 20px; }
.ic-page .auth-icon-success { background: var(--mint); color: var(--green-d); }
.ic-page .auth-icon-error { background: var(--coral-tint, #fff0ee); color: var(--coral-d, #c0392b); }
.ic-page .auth-spinner { display: flex; justify-content: center; margin: 32px 0 8px; }
.ic-page .spinner { width: 40px; height: 40px; border: 3px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.ic-page .btn-danger { background: var(--coral, #e74c3c); color: #fff; box-shadow: 0 4px 0 rgba(0,0,0,.18); border-radius: var(--r-sm); padding: 13px 24px; font-size: 15px; font-weight: 700; transition: filter .15s, transform .08s; }
.ic-page .btn-danger:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ic-page .btn-danger:active { transform: translateY(4px); box-shadow: none; }
.ic-page .btn-danger:disabled { opacity: .5; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.ic-page .notif-list { display: flex; flex-direction: column; gap: 0; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; text-align: left; }
.ic-page .notif-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; cursor: pointer; background: var(--white); transition: background .12s; border-bottom: 1.5px solid var(--line); }
.ic-page .notif-row:last-child { border-bottom: none; }
.ic-page .notif-row:hover { background: var(--cream); }
.ic-page .notif-info { flex: 1; }
.ic-page .notif-title { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.ic-page .notif-desc { display: block; font-size: 13px; color: var(--slate); font-weight: 600; margin-top: 2px; }
.ic-page .notif-toggle { width: 44px; height: 26px; border-radius: 13px; background: var(--line-2); position: relative; flex-shrink: 0; transition: background .18s; cursor: pointer; }
.ic-page .notif-toggle.on { background: var(--accent); }
.ic-page .notif-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); position: absolute; top: 3px; left: 3px; transition: left .18s; }
.ic-page .notif-toggle.on .notif-thumb { left: 21px; }
@media (max-width: 520px) {
  .ic-page .auth-card { padding: 36px 20px; }
}
