.elementor-104 .elementor-element.elementor-element-aa5c8a8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-104 .elementor-element.elementor-element-1beeed7{--display:flex;}/* Start custom CSS for html, class: .elementor-element-63ddf17 */<style>
/* ============================================================
   TEMPLATE PAGE ARTICLE — DÉFINITIF
   NouveauFrontalier.ch
   Zéro variable non définie, zéro doublon
============================================================ */

.nf-article-wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
  padding: 48px 0 80px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #111827;
  line-height: 1.6;
  overflow-x: hidden;
}

.nf-article-wrap * { box-sizing: border-box; }
.nf-article-wrap a { text-decoration: none; }

/* BREADCRUMB */
.nf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #9CA3AF;
  flex-wrap: wrap;
}
.nf-breadcrumb a { color: #9CA3AF; transition: color 0.15s; }
.nf-breadcrumb a:hover { color: #2563EB; }
.nf-breadcrumb-sep { color: #E5E7EB; }
.nf-breadcrumb-current { color: #6B7280; font-weight: 500; }

/* BADGE */
.nf-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.nf-badge-fiscalite  { background: #E0E7FF; color: #3730A3; border: 1px solid #C7D2FE; }
.nf-badge-assurance  { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.nf-badge-prevoyance { background: #EDE9FE; color: #5B21B6; border: 1px solid #DDD6FE; }
.nf-badge-pratique   { background: #FEF3C7; color: #92400E; border: 1px solid #FDE68A; }
.nf-badge-debute     { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }
.nf-badge-situation  { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }

/* EN-TÊTE */
.nf-article-header { max-width: 800px; margin-bottom: 40px; }
.nf-article-header h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: #0F172A;
  margin: 0 0 16px;
}
.nf-article-intro { font-size: 17px; line-height: 1.78; color: #6B7280; margin: 0; }
.nf-article-meta { display: none; }

/* LAYOUT */
.nf-article-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}

/* TOC */
.nf-toc {
  position: sticky;
  top: 96px;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  background: #F9FAFB;
}
.nf-toc-title {
  display: block;
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6B7280;
  border-bottom: 1px solid #E5E7EB;
}
.nf-toc a {
  display: flex;
  align-items: center;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
  border-left: 2px solid transparent;
  border-bottom: 1px solid #F3F4F6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.15s;
}
.nf-toc a:last-child { border-bottom: none; }
.nf-toc a:hover { color: #2563EB; border-left-color: #2563EB; background: #EEF2FF; }

/* CONTENU */
.nf-article-content { min-width: 0; }
.nf-article-content h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #0F172A;
  margin: 44px 0 12px;
}
.nf-article-content h2:first-child { margin-top: 0; }
.nf-article-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 28px 0 8px;
}
.nf-article-content p { font-size: 16px; line-height: 1.82; color: #4B5563; margin: 0 0 14px; }

/* RÉPONSE COURTE */
.nf-answer-box {
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
}
.nf-answer-box strong {
  display: block;
  color: #2563EB;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
}
.nf-answer-box p { margin: 0; color: #1E3A5F; font-size: 15.5px; line-height: 1.72; }

/* CE QUE VOUS APPRENDREZ */
.nf-learn-box {
  padding: 20px 24px;
  margin-bottom: 36px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
}
.nf-learn-box strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 14px;
}
.nf-learn-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.nf-learn-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #374151; line-height: 1.5; }
.nf-learn-check {
  width: 20px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16A34A;
  color: white;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

/* ENCADRÉS */
.nf-alert {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  margin: 20px 0;
  border: 1px solid transparent;
}
.nf-alert-icon {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  align-self: center;
}
.nf-alert-body { flex: 1; min-width: 0; }
.nf-alert strong { display: block; font-family: 'Manrope', sans-serif; font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.nf-alert p { margin: 0; font-size: 14px; line-height: 1.6; }

.nf-alert-info    { background: #F0F7FF; border-color: #BFDBFE; }
.nf-alert-info .nf-alert-icon    { background: #DBEAFE; }
.nf-alert-info strong { color: #1D4ED8; }
.nf-alert-info p      { color: #1E40AF; }

.nf-alert-warning { background: #FFFBEB; border-color: #FDE68A; }
.nf-alert-warning .nf-alert-icon { background: #FEF3C7; }
.nf-alert-warning strong { color: #B45309; }
.nf-alert-warning p      { color: #92400E; }

.nf-alert-danger  { background: #FFF5F5; border-color: #FECACA; }
.nf-alert-danger .nf-alert-icon  { background: #FEE2E2; }
.nf-alert-danger strong { color: #B91C1C; }
.nf-alert-danger p      { color: #991B1B; }

.nf-alert-success { background: #F0FDF4; border-color: #BBF7D0; }
.nf-alert-success .nf-alert-icon { background: #D1FAE5; }
.nf-alert-success strong { color: #065F46; }
.nf-alert-success p      { color: #064E3B; }

/* FAQ */
.nf-faq { margin: 44px 0 0; }
.nf-faq-title {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.nf-faq-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.nf-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #FFFFFF;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  transition: background 0.15s, color 0.15s;
}
.nf-faq-question:hover { background: #F9FAFB; color: #2563EB; }
.nf-faq-icon {
  width: 26px;
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #F3F4F6;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 300;
  color: #9CA3AF;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  line-height: 1;
}
.nf-faq-item.open .nf-faq-icon { transform: rotate(45deg); background: #EEF2FF; color: #2563EB; }
.nf-faq-answer { display: none; padding: 0 20px 18px; font-size: 14.5px; line-height: 1.75; color: #6B7280; }
.nf-faq-item.open .nf-faq-answer { display: block; }

/* CTA PITAXES */
.nf-cta-pitaxes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 40px;
  border-radius: 20px;
  background: #0F172A;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(37,99,235,0.50), transparent 38%),
    radial-gradient(circle at 10% 80%, rgba(37,99,235,0.18), transparent 38%);
  margin: 44px 0;
  box-shadow: 0 20px 60px rgba(15,23,42,0.18);
}
.nf-cta-pitaxes h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.nf-cta-pitaxes p { margin: 0; color: rgba(255,255,255,0.64); font-size: 14.5px; line-height: 1.62; }
.nf-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0F172A;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,255,255,0.12);
}
.nf-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.20); color: #0F172A; }

/* ARTICLES LIÉS */
.nf-related { margin-top: 44px; }
.nf-related-title {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.nf-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nf-related-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.nf-related-card:hover { border-color: #BFDBFE; box-shadow: 0 8px 28px rgba(37,99,235,0.08); transform: translateY(-2px); }
.nf-related-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #2563EB; margin-bottom: 7px; display: block; }
.nf-related-card h4 { font-family: 'Manrope', sans-serif; font-size: 14.5px; font-weight: 700; color: #111827; margin: 0 0 5px; line-height: 1.35; }
.nf-related-card p { font-size: 13px; color: #9CA3AF; margin: 0; line-height: 1.5; }

/* ============================================================
   DARK MODE
============================================================ */
body.dark-mode .nf-breadcrumb,
body.dark-mode .nf-breadcrumb a { color: #4B5563; }
body.dark-mode .nf-breadcrumb-current { color: #9CA3AF; }
body.dark-mode .nf-article-header h1 { color: #F9FAFB; }
body.dark-mode .nf-article-intro { color: #94A3B8; }
body.dark-mode .nf-article-content h2 { color: #F9FAFB; }
body.dark-mode .nf-article-content h3 { color: #E5E7EB; }
body.dark-mode .nf-article-content p { color: #9CA3AF; }
body.dark-mode .nf-toc { background: #111827; border-color: rgba(255,255,255,0.08); }
body.dark-mode .nf-toc-title { color: #4B5563; border-bottom-color: rgba(255,255,255,0.08); }
body.dark-mode .nf-toc a { color: #9CA3AF; border-bottom-color: rgba(255,255,255,0.06); }
body.dark-mode .nf-toc a:hover { color: #93C5FD; border-left-color: #3B82F6; background: rgba(37,99,235,0.08); }
body.dark-mode .nf-answer-box { background: rgba(37,99,235,0.10); border-color: rgba(37,99,235,0.25); }
body.dark-mode .nf-answer-box p { color: #BFDBFE; }
body.dark-mode .nf-learn-box { background: #111827; border-color: rgba(255,255,255,0.08); }
body.dark-mode .nf-learn-box strong { color: #F9FAFB; }
body.dark-mode .nf-learn-list li { color: #CBD5E1; }
body.dark-mode .nf-alert-info { background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.22); }
body.dark-mode .nf-alert-info .nf-alert-icon { background: rgba(59,130,246,0.16); }
body.dark-mode .nf-alert-info strong { color: #93C5FD; }
body.dark-mode .nf-alert-info p { color: #BFDBFE; }
body.dark-mode .nf-alert-warning { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.22); }
body.dark-mode .nf-alert-warning .nf-alert-icon { background: rgba(245,158,11,0.16); }
body.dark-mode .nf-alert-warning strong { color: #FCD34D; }
body.dark-mode .nf-alert-warning p { color: #FDE68A; }
body.dark-mode .nf-alert-danger { background: rgba(239,68,68,0.08); border-color: rgba(239,68,68,0.22); }
body.dark-mode .nf-alert-danger .nf-alert-icon { background: rgba(239,68,68,0.16); }
body.dark-mode .nf-alert-danger strong { color: #FCA5A5; }
body.dark-mode .nf-alert-danger p { color: #FECACA; }
body.dark-mode .nf-alert-success { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.22); }
body.dark-mode .nf-alert-success .nf-alert-icon { background: rgba(16,185,129,0.16); }
body.dark-mode .nf-alert-success strong { color: #6EE7B7; }
body.dark-mode .nf-alert-success p { color: #A7F3D0; }
body.dark-mode .nf-faq-title { color: #F9FAFB; }
body.dark-mode .nf-faq-item { background: #111827; border-color: rgba(255,255,255,0.08); }
body.dark-mode .nf-faq-question { background: #111827; color: #F1F5F9; }
body.dark-mode .nf-faq-question:hover { background: rgba(255,255,255,0.03); color: #93C5FD; }
body.dark-mode .nf-faq-icon { background: rgba(255,255,255,0.08); color: #6B7280; }
body.dark-mode .nf-faq-item.open .nf-faq-icon { background: rgba(37,99,235,0.18); color: #93C5FD; }
body.dark-mode .nf-faq-answer { color: #9CA3AF; }
body.dark-mode .nf-related-title { color: #F9FAFB; }
body.dark-mode .nf-related-card { background: #111827; border-color: rgba(255,255,255,0.08); }
body.dark-mode .nf-related-card:hover { border-color: rgba(59,130,246,0.25); box-shadow: 0 8px 28px rgba(0,0,0,0.30); }
body.dark-mode .nf-related-card h4 { color: #F1F5F9; }
body.dark-mode .nf-related-card p { color: #6B7280; }

/* ============================================================
   RESPONSIVE — TABLETTE
============================================================ */
@media (max-width: 900px) {
  .nf-article-layout { grid-template-columns: 1fr; gap: 0; }
  .nf-toc { display: none; }
  .nf-cta-pitaxes { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; align-items: stretch; }
  .nf-cta-btn { width: 100%; }
  .nf-related-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */
@media (max-width: 560px) {
  .nf-article-wrap { padding: 32px 0 60px; }
  .nf-article-header h1 { font-size: 24px; }
  .nf-article-intro { font-size: 15.5px; }
  .nf-related-grid { grid-template-columns: 1fr; }
  .nf-cta-pitaxes { padding: 24px 20px; gap: 16px; }
  .nf-cta-pitaxes h3 { font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
  .nf-cta-pitaxes p { font-size: 14px; }
  .nf-faq-question { padding: 15px 18px; font-size: 14px; }
  .nf-faq-answer { padding: 0 18px 15px; }
  .nf-alert { padding: 14px 16px; gap: 12px; }
  .nf-alert-icon { width: 36px; min-width: 36px; max-width: 36px; height: 36px; font-size: 17px; }
}
/* FORCE FAQ LIGHT MODE — priorité maximale */
.nf-article-wrap .nf-faq-item {
  background: #FFFFFF !important;
  border-color: #E5E7EB !important;
}

.nf-article-wrap .nf-faq-question {
  background: #FFFFFF !important;
  color: #111827 !important;
}

.nf-article-wrap .nf-faq-answer {
  color: #6B7280 !important;
}

/* FORCE FAQ DARK MODE */
body.dark-mode .nf-article-wrap .nf-faq-item {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

body.dark-mode .nf-article-wrap .nf-faq-question {
  background: #111827 !important;
  color: #F1F5F9 !important;
}

/* FAQ ELLIPSIS — texte tronqué sur mobile */
.nf-faq-question {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  overflow: hidden !important;
}

.nf-faq-question > span:first-child {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.nf-faq-item.open .nf-faq-question > span:first-child {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.nf-faq-question > span.nf-faq-icon {
  flex-shrink: 0 !important;
  width: 26px !important;
  min-width: 26px !important;
}
</style>/* End custom CSS */