@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@400;600;700;800&display=swap');

:root {
  --bg: #0D1117;
  --bg2: #161B22;
  --bg3: #1C2330;
  --surface: #161B22;
  --surface2: #1C2330;
  --accent: #58A6FF;
  --accent-dim: rgba(88, 166, 255, 0.1);
  --accent-glow: rgba(88, 166, 255, 0.2);
  --text: #E6EDF3;
  --text2: #8B949E;
  --text3: #484F58;
  --border: rgba(255,255,255,0.08);
  --border2: rgba(255,255,255,0.04);
  --green: #3FB950;
  --green-dim: rgba(63, 185, 80, 0.12);
  --radius: 10px;
  --radius-lg: 14px;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle grid bg */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ——— NAV ——— */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(13,17,23,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; height: 60px;
  padding: 0 24px; gap: 4px;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: 1.2rem;
  color: var(--text); text-decoration: none;
  letter-spacing: -0.02em; margin-right: 16px; flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; flex: 1; }
.nav-links > li { position: relative; }

.nav-links a {
  color: var(--text2); text-decoration: none; font-size: 0.85rem;
  font-weight: 400; padding: 6px 11px; border-radius: 7px;
  transition: color 0.15s, background 0.15s; white-space: nowrap;
  display: flex; align-items: center; gap: 5px;
}
.nav-links a:hover { color: var(--text); background: var(--bg3); }
.nav-links a.active { color: var(--text); background: var(--bg3); }

.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 0.85rem; font-weight: 400;
  font-family: 'Inter', sans-serif;
  padding: 6px 11px; border-radius: 7px;
  transition: color 0.15s, background 0.15s;
  display: flex; align-items: center; gap: 5px;
}
.nav-dropdown-btn:hover, .nav-dropdown-btn.open { color: var(--text); background: var(--bg3); }
.dropdown-arrow { font-size: 0.6rem; transition: transform 0.2s; opacity: 0.5; }
.nav-dropdown-btn.open .dropdown-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
  padding: 8px; width: 560px;
  display: none; grid-template-columns: repeat(4, 1fr);
  gap: 2px; z-index: 300;
}
.nav-dropdown.open { display: grid; }

.nav-dropdown a {
  color: var(--text2); text-decoration: none; font-size: 0.8rem;
  padding: 7px 10px; border-radius: 7px; transition: all 0.15s;
  display: flex; align-items: center; gap: 8px; background: none;
}
.nav-dropdown a:hover { color: var(--text); background: var(--bg3); }

.nav-app-logo {
  width: 22px; height: 22px; border-radius: 5px;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav-app-logo img { width: 100%; height: 100%; object-fit: contain; }

.nav-spacer { flex: 1; }

.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  font-weight: 500 !important; padding: 7px 16px !important;
  border-radius: 8px !important; font-size: 0.83rem !important;
}
.nav-cta:hover { background: #79B8FF !important; color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border);
  color: var(--text); width: 36px; height: 36px; border-radius: 7px;
  cursor: pointer; font-size: 1rem; align-items: center; justify-content: center;
}

/* ——— HERO ——— */
.hero {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 80px 24px 64px;
}

.hero-glow {
  position: absolute; top: -60px; left: -80px;
  width: 500px; height: 400px;
  background: radial-gradient(ellipse, rgba(88,166,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--green-dim); border: 1px solid rgba(63,185,80,0.25);
  border-radius: 100px; padding: 4px 13px;
  font-size: 0.76rem; color: var(--green); margin-bottom: 1.75rem; font-weight: 500;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--green);
  border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1}50%{opacity:0.4} }

h1 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.1; letter-spacing: -0.03em; color: var(--text);
  max-width: 680px; margin-bottom: 1.25rem;
}
h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1rem; color: var(--text2); max-width: 480px;
  margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8;
}

/* ——— WIDGET ——— */
.widget-section { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px 80px; }

.widget-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 24px 60px rgba(0,0,0,0.4);
}

.widget-header {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.widget-dot { width: 10px; height: 10px; border-radius: 50%; }
.widget-url {
  margin-left: 8px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 12px; font-size: 0.72rem; color: var(--text3);
  font-family: 'Inter', monospace;
}
.widget-body { padding: 10px; min-height: 420px; }

/* ——— TRUST STRIP ——— */
.trust-strip {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--bg2);
  display: flex; justify-content: center;
  gap: clamp(2rem, 5vw, 5rem); flex-wrap: wrap;
  padding: 24px 24px; margin-bottom: 72px;
}

.trust-item { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 0.85rem; }

.trust-icon {
  width: 30px; height: 30px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-icon svg { width: 14px; height: 14px; stroke: var(--text2); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { color: var(--text); font-weight: 500; }

/* ——— SECTIONS ——— */
section { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 56px 24px; }

.section-label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 0.875rem;
}

h2 {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 0.875rem;
}

h3 { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }

.section-intro { color: var(--text2); font-size: 0.95rem; max-width: 520px; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8; }

/* ——— STEPS ——— */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem;
}
.step-card { background: var(--surface); padding: 1.75rem; transition: background 0.15s; }
.step-card:hover { background: var(--surface2); }
.step-num {
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 0.7rem;
  color: var(--accent); background: var(--accent-dim); border: 1px solid rgba(88,166,255,0.2);
  width: 26px; height: 26px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; letter-spacing: 0.02em;
}

/* ——— APPS GRID ——— */
.apps-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2rem;
}

.app-card {
  background: var(--surface); padding: 1.1rem 0.75rem;
  text-align: center; text-decoration: none; color: var(--text);
  transition: background 0.15s; display: flex; flex-direction: column;
  align-items: center; gap: 7px;
}
.app-card:hover { background: var(--surface2); }

.app-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.app-logo img { width: 100%; height: 100%; object-fit: contain; }

.app-name { font-size: 0.75rem; font-weight: 500; color: var(--text2); line-height: 1.3; }

/* ——— FAQ ——— */
.faq-list { max-width: 680px; margin-top: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  text-align: left; font-family: 'Inter', sans-serif; font-size: 0.9rem;
  font-weight: 400; padding: 1.1rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-arrow { flex-shrink: 0; color: var(--text3); font-size: 0.6rem; transition: transform 0.25s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a { color: var(--text2); font-size: 0.875rem; line-height: 1.8; padding: 0 2rem 1.1rem 0; display: none; font-weight: 300; }
.faq-a.open { display: block; }

/* ——— PAGE HERO ——— */
.page-hero { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 24px 52px; border-bottom: 1px solid var(--border); }

.breadcrumb {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  padding: 12px 24px; font-size: 0.75rem; color: var(--text3);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text3); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 5px; }

/* ——— FEATURES ——— */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem;
}
.feature-card { background: var(--surface); padding: 1.6rem; transition: background 0.15s; }
.feature-card:hover { background: var(--surface2); }
.feature-icon {
  width: 36px; height: 36px; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ——— CTA BAND ——— */
.cta-band {
  position: relative; z-index: 1;
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 64px 24px; text-align: center; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(88,166,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 0.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--text2); margin-bottom: 2rem; font-weight: 300; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.875rem;
  padding: 10px 22px; border-radius: 8px;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #79B8FF; transform: translateY(-1px); }

/* ——— FOOTER ——— */
footer { position: relative; z-index: 1; background: var(--bg2); border-top: 1px solid var(--border); padding: 52px 24px 28px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text3); font-size: 0.85rem; margin-top: 0.75rem; max-width: 260px; line-height: 1.7; font-weight: 300; }
.footer-col h4 { font-size: 0.7rem; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.footer-col a { color: var(--text3); text-decoration: none; font-size: 0.85rem; font-weight: 300; transition: color 0.15s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.75rem; color: var(--text3); flex-wrap: wrap; gap: 1rem; }

/* ——— PAGE CONTENT ——— */
.page-content { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 52px 24px; }
.content-cols { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; }
.sidebar { position: sticky; top: 76px; }

.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; }
.sidebar-box h4 { font-size: 0.7rem; font-weight: 600; color: var(--text3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.sidebar-box ul { list-style: none; display: flex; flex-direction: column; gap: 1px; }
.sidebar-box li a {
  color: var(--text2); text-decoration: none; font-size: 0.83rem;
  padding: 5px 8px; border-radius: 6px; display: flex; align-items: center; gap: 8px;
  transition: all 0.15s; font-weight: 300;
}
.sidebar-box li a:hover { color: var(--text); background: var(--bg3); }

.sidebar-app-logo { width: 20px; height: 20px; border-radius: 5px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.sidebar-app-logo img { width: 100%; height: 100%; object-fit: contain; }

.article h2 { font-size: 1.35rem; margin: 2.5rem 0 0.75rem; }
.article h3 { font-size: 1rem; margin: 1.75rem 0 0.5rem; }
.article p { color: var(--text2); margin-bottom: 1rem; font-weight: 300; line-height: 1.8; font-size: 0.9rem; }
.article ul, .article ol { color: var(--text2); padding-left: 1.5rem; margin-bottom: 1.25rem; font-weight: 300; font-size: 0.9rem; }
.article li { margin-bottom: 0.4rem; }
.article a { color: var(--accent); text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article a.related-card,
.article a.related-card:hover,
.article a.related-card strong,
.article a.related-card span { text-decoration: none !important; color: inherit; }

.tip-box { background: var(--accent-dim); border: 1px solid rgba(88,166,255,0.2); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.75rem 0; }
.tip-label { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 0.35rem; }
.tip-box p { color: var(--text); margin: 0; font-size: 0.875rem; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem; }
.related-card { background: var(--surface); padding: 0.875rem; text-decoration: none; color: var(--text); transition: background 0.15s; display: flex; align-items: center; gap: 9px; }
.related-card:hover { background: var(--surface2); }
.related-logo { width: 28px; height: 28px; border-radius: 7px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.related-logo img { width: 100%; height: 100%; object-fit: contain; }
.related-card-text strong { display: block; font-size: 0.83rem; font-weight: 500; }
.related-card-text span { font-size: 0.72rem; color: var(--text3); font-weight: 300; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-cols { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-dropdown { width: 320px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: 2rem; }
  .apps-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 1.25rem 24px; gap: 0; overflow-y: auto; z-index: 199;
  }
  .nav-links.open > li > a, .nav-links.open .nav-dropdown-btn {
    padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; width: 100%;
  }
  .nav-dropdown { position: static; display: none; width: 100%; box-shadow: none; border: none; border-radius: 0; padding: 4px 0 4px 12px; grid-template-columns: 1fr 1fr; background: none; }
  .nav-dropdown.open { display: grid; }
}

/* ——— WIDGET SIDEBAR z-index ——— */
body > div[style*="position: fixed"],
body > div[style*="position:fixed"] { z-index: 9999 !important; }

/* ——— SOCIAL PROOF ——— */
.social-proof-wrap {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 24px 72px;
}

.social-proof-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.sp-stat {
  background: var(--surface);
  padding: 1.75rem 2rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}

.sp-divider { background: var(--border); }

.social-proof-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  padding: 1.25rem 2rem;
  font-size: 0.875rem;
  color: var(--text2);
  font-weight: 300;
  line-height: 1.8;
}

.social-proof-text strong { color: var(--text); font-weight: 500; }

.social-proof-pills {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 1rem 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

@media (max-width: 640px) {
  .social-proof-stats { grid-template-columns: 1fr; }
  .sp-divider { height: 1px; }
  .social-proof-text, .social-proof-pills { padding: 1rem 1.25rem; }
}

/* ——— COUNTRIES GRID ——— */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}

.country-card {
  background: var(--surface);
  padding: 1rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: background 0.15s; cursor: default;
}

.country-card:hover { background: var(--surface2); }

.country-flag { font-size: 1.75rem; line-height: 1; }

.country-name {
  font-size: 0.72rem; color: var(--text2);
  font-weight: 400; text-align: center; line-height: 1.3;
}

@media (max-width: 640px) {
  .countries-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
  .country-flag { font-size: 1.4rem; }
  .country-name { font-size: 0.65rem; }
  .country-card { padding: 0.75rem 0.25rem; }
}

/* ——— MASQUER logo/titre widget Platfone ——— */
#tn-app [class*="logo"],
#tn-app [class*="brand"],
#tn-app img[src*="hostinger"],
#tn-app img[src*="ondeli"] { display: none !important; }

/* ——— HERO STARS ——— */
.hero-stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2px;
  margin-bottom: 4px;
  justify-content: center;
}

.hero-star {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: #F5A623;
  display: block;
}

.hero-stat-value {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-value em { color: var(--accent); font-style: normal; }

.hero-stat-label {
  font-size: 0.7rem;
  color: var(--text3);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ——— HERO BADGE PILLS ——— */
.hero-badge-pill {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.75rem;
  color: var(--text2);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.hero-badge-pill svg {
  width: 12px;
  height: 12px;
  min-width: 12px;
  max-width: 12px;
  min-height: 12px;
  max-height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: block;
}

/* ——— SOCIAL PROOF REDESIGN ——— */
.sp-wrap {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; padding: 0 24px 72px;
}

.sp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sp-big {
  background: var(--surface);
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

.sp-number {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.04em;
}

.sp-number span {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
}

.sp-desc {
  font-size: 0.72rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-top: 2px;
}

.sp-stars {
  display: flex;
  flex-direction: row;
  gap: 2px;
  margin-bottom: 6px;
}

.sp-stars svg {
  width: 14px; height: 14px;
  fill: #F5A623;
  flex-shrink: 0;
}

.sp-quote {
  background: var(--surface2);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.sp-quote p {
  font-size: 0.875rem;
  color: var(--text2);
  line-height: 1.75;
  font-weight: 300;
  margin: 0;
}

.sp-quote p strong { color: var(--text); font-weight: 500; }

.sp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sp-tags span {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: var(--text2);
  font-weight: 400;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .sp-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .sp-big { border-right: none; border-bottom: 1px solid var(--border); }
  .sp-big:nth-child(2) { border-right: 1px solid var(--border); }
  .sp-quote { grid-column: 1 / -1; border-top: 1px solid var(--border); }
}

@media (max-width: 540px) {
  .sp-grid { grid-template-columns: 1fr; }
  .sp-big { border-right: none; }
  .sp-big:nth-child(2) { border-right: none; }
  .sp-number { font-size: 2.2rem; }
  .sp-quote { grid-column: 1; }
}




/* Enlever soulignement sur les related cards */
.related-card, .related-card:hover { text-decoration: none; }
.related-card * { text-decoration: none; }

/* Force remove underline on all card links */
a.related-card,
a.related-card:link,
a.related-card:visited,
a.related-card:hover,
a.related-card:active,
a.app-card,
a.app-card:link,
a.app-card:visited,
a.app-card:hover,
a.app-card:active { text-decoration: none !important; }

/* Neutralise .article a:hover underline sur les cards */
.article a.related-card:hover,
.article a.app-card:hover { text-decoration: none !important; }

/* Grille apps page comment-ca-marche : 6 colonnes fixes */
.page-content .apps-grid {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 700px) {
  .page-content .apps-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 440px) {
  .page-content .apps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ——— Widget sidebar au-dessus de tout ——— */
nav { z-index: 50 !important; }

/* Grille apps fixe 7 colonnes dans comment-ca-marche */
.article .apps-grid {
  grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 800px) {
  .article .apps-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 500px) {
  .article .apps-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Case +300 */
.app-card-more {
  cursor: default;
  background: var(--surface2) !important;
}
.app-more {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1;
}

/* Fix étoiles cachées sur mobile */
@media (max-width: 640px) {
  .sp-stars-hidden { display: none !important; }
}

/* Case +300 redesign */
.app-card-more {
  cursor: default;
  background: var(--surface2) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.app-more {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}

.app-card-more .app-name {
  font-size: 0.72rem;
  color: var(--text3);
  font-weight: 400;
  line-height: 1;
  margin-top: 0;
}

/* +300 cell - same style as social proof numbers */
.app-card-more { cursor: default; }
.app-card-more:hover { background: var(--surface) !important; }
.app-more {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.app-more span { color: var(--accent); font-size: 0.9rem; font-weight: 700; }

/* +300 cell redesign */
.app-more-num {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.app-more-num::after {
  content: '';
}

/* Override conflicting rules */
.app-card-more { cursor: default; background: var(--surface2) !important; justify-content: flex-end !important; }
.app-card-more .app-name { color: var(--text2) !important; }

/* ——— MASQUER header + sidebar Platfone ——— */
/* Header du widget (logo + titre) */
#tn-app > div > header,
#tn-app > div > div:first-child > header,
#tn-app [class*="Header"],
#tn-app [class*="header"],
#tn-app [class*="Navbar"],
#tn-app [class*="navbar"],
#tn-app [class*="TopBar"],
#tn-app [class*="topbar"] { display: none !important; }

/* Sidebar / Menu latéral */
#tn-app [class*="Sidebar"],
#tn-app [class*="sidebar"],
#tn-app [class*="Drawer"],
#tn-app [class*="drawer"],
#tn-app [class*="Menu"],
#tn-app [class*="menu"],
#tn-app [class*="Panel"],
#tn-app [class*="panel"],
#tn-app nav,
#tn-app aside { display: none !important; }

/* Bouton hamburger qui ouvre la sidebar */
#tn-app button[class*="menu"],
#tn-app button[class*="Menu"],
#tn-app button[class*="burger"],
#tn-app button[class*="Burger"],
#tn-app button[class*="hamburger"],
#tn-app button[class*="sidebar"],
#tn-app [class*="MenuButton"],
#tn-app [class*="menuButton"] { display: none !important; }

/* ——— WIDGET NAV BAR ——— */
.widget-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-top: -1px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 12px 16px;
  max-width: 1180px;
  /* align with widget-wrap */
}

/* Match widget-wrap width */
.widget-section + .widget-nav {
  max-width: calc(1180px - 48px);
  margin-left: auto;
  margin-right: auto;
}

.widget-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 7px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  transition: all 0.15s;
  white-space: nowrap;
}

.widget-nav-btn:hover {
  color: var(--text);
  background: var(--surface2);
  border-color: var(--border2);
  text-decoration: none;
}

.widget-nav-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.widget-nav-btn-accent {
  background: var(--accent-dim);
  border-color: rgba(88,166,255,0.3);
  color: var(--accent);
}

.widget-nav-btn-accent:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

@media (max-width: 640px) {
  .widget-nav { gap: 6px; padding: 10px 12px; }
  .widget-nav-btn { padding: 6px 10px; font-size: 0.78rem; }
}

/* ——— Fix nav dropdown z-index ——— */
nav { z-index: 200 !important; }
.nav-dropdown { z-index: 300 !important; }

/* Widget nav collé au widget */
.widget-nav {
  margin-top: 0 !important;
}

/* ——— Masquer logo + titre dans le widget Platfone ——— */
/* Cache tout l'en-tête du widget */
#tn-app > div > div:first-child,
#tn-app > div > header,
#tn-app header,
#tn-app [class*="Header"],
#tn-app [class*="header"],
#tn-app [class*="Brand"],
#tn-app [class*="brand"],
#tn-app [class*="Logo"],
#tn-app [class*="logo"],
#tn-app [class*="Title"],
#tn-app [class*="title"]:not(h1):not(h2):not(h3) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}



/* ——— Masquer header widget Platfone (logo + titre) ——— */
#tn-app > div > div:first-child,
#tn-app header,
#tn-app [class*="header"],
#tn-app [class*="Header"],
#tn-app [class*="brand"],
#tn-app [class*="Brand"],
#tn-app [class*="logo"],
#tn-app [class*="Logo"],
#tn-app [class*="title"]:not([class*="step"]):not([class*="section"]),
#tn-app [class*="Title"]:not([class*="step"]):not([class*="section"]) {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Cibler img + texte adjacent dans le widget */
#tn-app img + span,
#tn-app img + div,
#tn-app img + p {
  display: none !important;
}
