/* SimuSanté — Light Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #f0fdf4;
  --bg2: #ffffff;
  --card: #ffffff;
  --text: #111827;
  --text2: #374151;
  --text3: #6b7280;
  --green: #059669;
  --green-dark: #047857;
  --green-light: #10b981;
  --light-green: #d1fae5;
  --light-green2: #ecfdf5;
  --border: #e5e7eb;
  --border2: #d1fae5;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(5,150,105,0.08);
  --shadow-lg: 0 8px 32px rgba(5,150,105,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img { width: 32px; height: 32px; }
.logo span { color: var(--green); }

nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; }

nav a {
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  color: var(--text2);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

nav a:hover, nav a.active {
  background: var(--light-green);
  color: var(--green-dark);
}

.nav-cta {
  background: var(--green) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  margin-left: auto;
}

.nav-cta:hover { background: var(--green-dark) !important; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text);
  margin-left: auto;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.75rem 1rem; border-radius: 8px; color: var(--text2); font-weight: 500; }
.mobile-nav a:hover { background: var(--light-green); color: var(--green-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg2);
  border: 1px solid var(--border2);
  color: var(--green);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(5,150,105,0.1);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight { color: var(--green); }

.hero p {
  font-size: 1.15rem;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(5,150,105,0.3);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5,150,105,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg2);
  color: var(--green);
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border2);
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--light-green);
  border-color: var(--green);
  color: var(--green-dark);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green);
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.hero-stat span { font-size: 0.85rem; color: var(--text3); }

/* ===== SECTION LAYOUT ===== */
.section { padding: 5rem 1.5rem; }
.section-alt { background: var(--bg2); }
.section-green { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }
.container-md { max-width: 960px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.section-header p { color: var(--text3); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--light-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card p { color: var(--text3); font-size: 0.9rem; margin-bottom: 1.25rem; line-height: 1.6; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.6rem; }

/* ===== CALCULATOR PAGES ===== */
.calc-page { padding: 3rem 1.5rem 5rem; }

.calc-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-header .breadcrumb {
  font-size: 0.85rem;
  color: var(--text3);
  margin-bottom: 1rem;
}

.calc-header .breadcrumb a { color: var(--green); }

.calc-header h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 0.75rem; }
.calc-header p { color: var(--text3); max-width: 600px; margin: 0 auto; }

.calc-container {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 700px) {
  .calc-container { grid-template-columns: 1fr; }
}

.calc-box, .result-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.calc-box h2, .result-box h2 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-green);
  color: var(--green-dark);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
  background: var(--bg2);
}

.form-group .hint { font-size: 0.78rem; color: var(--text3); margin-top: 0.3rem; }

.btn-calc {
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(5,150,105,0.25);
  margin-top: 0.5rem;
}

.btn-calc:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5,150,105,0.3);
}

/* Result box */
.result-placeholder {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text3);
}

.result-placeholder svg { margin: 0 auto 1rem; opacity: 0.4; }

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.result-item:last-child { border-bottom: none; }

.result-label { font-size: 0.875rem; color: var(--text2); flex: 1; }
.result-label small { display: block; color: var(--text3); font-size: 0.78rem; margin-top: 0.2rem; }

.result-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  text-align: right;
  white-space: nowrap;
}

.result-value.big {
  font-size: 1.5rem;
  color: var(--green-dark);
}

.result-value.neutral { color: var(--text); }
.result-value.warn { color: #d97706; }

.result-total {
  background: var(--light-green2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
  text-align: center;
}

.result-total .label { font-size: 0.85rem; color: var(--text3); margin-bottom: 0.25rem; }
.result-total .amount {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
}

.result-total .period { font-size: 0.85rem; color: var(--text3); }

.info-box {
  background: var(--light-green2);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.6;
}

.warn-box {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #92400e;
  line-height: 1.6;
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.blog-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-img {
  height: 140px;
  background: linear-gradient(135deg, var(--light-green) 0%, #a7f3d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body { padding: 1.5rem; }

.blog-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.blog-tag {
  background: var(--light-green);
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-date { font-size: 0.8rem; color: var(--text3); }

.blog-card h3 { font-size: 1rem; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { font-size: 0.875rem; color: var(--text3); line-height: 1.6; }

/* ===== ARTICLE ===== */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

.article-header { margin-bottom: 2.5rem; }
.article-header .breadcrumb { font-size: 0.85rem; color: var(--text3); margin-bottom: 1rem; }
.article-header .breadcrumb a { color: var(--green); }

.article-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--text3);
  margin-bottom: 1.5rem;
}

.article-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.article-content h2 {
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.article-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }

.article-content p { margin-bottom: 1.25rem; color: var(--text2); line-height: 1.75; }

.article-content ul, .article-content ol {
  margin: 1rem 0 1.25rem 1.5rem;
  color: var(--text2);
  line-height: 1.75;
}

.article-content li { margin-bottom: 0.4rem; }

.article-content strong { color: var(--text); font-weight: 600; }

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.article-content th {
  background: var(--light-green);
  color: var(--green-dark);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
}

.article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

.article-content tr:last-child td { border-bottom: none; }

.article-content .highlight-box {
  background: var(--light-green2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.article-content .highlight-box h4 {
  color: var(--green-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.article-content .highlight-box p { margin: 0; color: var(--text2); }

.article-content .cta-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
  margin: 2rem 0;
}

.article-content .cta-box h3 { color: #fff; margin-bottom: 0.75rem; }
.article-content .cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; }

.cta-box .btn-white {
  display: inline-block;
  background: #fff;
  color: var(--green-dark);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.cta-box .btn-white:hover { background: var(--light-green); }

/* Sidebar */
.article-sidebar { position: sticky; top: 80px; }

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  font-size: 0.95rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-green);
}

.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { font-size: 0.875rem; color: var(--text2); display: flex; gap: 0.5rem; align-items: center; }
.sidebar-widget ul li a:hover { color: var(--green); }

/* ===== FEATURES / HOW IT WORKS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.step { text-align: center; }

.step-num {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 1rem;
}

.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--text3); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--card);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg); }

.faq-question.open { background: var(--light-green2); color: var(--green-dark); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--green);
}

.faq-question.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-answer.open { display: block; }

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}

.data-table th {
  background: var(--green);
  color: #fff;
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.data-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  color: var(--text2);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) { background: var(--bg); }
.data-table tr:hover td { background: var(--light-green2); }

/* ===== FOOTER ===== */
footer {
  background: var(--text);
  color: #d1d5db;
  padding: 4rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .logo { margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand .logo span { color: #6ee7b7; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: #9ca3af; }

.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: #9ca3af; transition: color 0.2s; }
.footer-col ul li a:hover { color: #6ee7b7; }

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-bottom a { color: #6b7280; }
.footer-bottom a:hover { color: #6ee7b7; }

/* ===== LEGAL / STATIC PAGES ===== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-page h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-page .updated { color: var(--text3); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--green-dark); }
.legal-page p { color: var(--text2); margin-bottom: 1rem; line-height: 1.75; }
.legal-page ul { margin: 0.75rem 0 1rem 1.5rem; color: var(--text2); line-height: 1.75; }
.legal-page li { margin-bottom: 0.35rem; }

/* ===== ADSENSE ===== */
.ad-banner {
  margin: 2rem auto;
  text-align: center;
  max-width: 970px;
  min-height: 90px;
  background: var(--bg2);
  border: 1px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot { display: block; width: 100%; }

/* ===== BADGES & CHIPS ===== */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green { background: var(--light-green); color: var(--green-dark); }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-orange { background: #fef3c7; color: #92400e; }

/* ===== TRUST SECTION ===== */
.trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
}

.trust-items {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text2);
  font-weight: 500;
}

.trust-item svg { color: var(--green); flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { display: none; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 3rem 1rem; }
  .calc-page { padding: 2rem 1rem 3rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  .article-content { padding: 1.5rem; }
  .calc-box, .result-box { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.5s ease forwards; }

/* ===== ELIGIBILITY RESULT ===== */
.eligibility-result {
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 1rem;
}

.eligibility-result.eligible {
  background: var(--light-green2);
  border: 2px solid var(--green);
}

.eligibility-result.partial {
  background: #fffbeb;
  border: 2px solid #f59e0b;
}

.eligibility-result.not-eligible {
  background: #fff1f2;
  border: 2px solid #f43f5e;
}

.eligibility-result .result-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.eligibility-result h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.eligibility-result p { font-size: 0.9rem; color: var(--text2); }

/* Progress bar */
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  border-radius: 100px;
  transition: width 0.6s ease;
}

/* Remboursement breakdown */
.remb-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.remb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
}

.remb-secu { background: var(--light-green2); }
.remb-mutuelle { background: #eff6ff; }
.remb-reste { background: #fff1f2; }

.remb-item .label { font-weight: 500; }
.remb-item .amount { font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; }
.remb-secu .amount { color: var(--green); }
.remb-mutuelle .amount { color: #2563eb; }
.remb-reste .amount { color: #e11d48; }


.bottom-nav-fixed {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
}
.bnav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bnav-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bnav-item:hover, .bnav-item.active { color: #22c55e; }
@media (max-width: 767px) {
  .bottom-nav-fixed { display: flex; }
  body { padding-bottom: 65px; }
}
