/* Composants visuels DAF — articles blog Nael (guide de gestion) */

.conseil-daf {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #FFFBF0;
  border: 1px solid rgba(212, 160, 23, 0.22);
  border-left: 4px solid #D4A017;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.conseil-daf-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.3;
}
.conseil-daf-body { flex: 1; }
.conseil-daf-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #9A6F08;
  margin-bottom: 10px;
}
.conseil-daf p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 10px;
}
.conseil-daf p:last-child { margin: 0; }

.formula-box {
  background: rgba(28, 26, 20, 0.04);
  border: 1.5px solid rgba(28, 26, 20, 0.12);
  border-radius: 12px;
  padding: 22px 28px;
  margin: 28px 0;
  text-align: center;
}
.formula-text {
  font-family: 'Courier New', Courier, monospace;
  font-size: 17px;
  font-weight: 700;
  color: #1B4FCC;
  line-height: 1.4;
}
.formula-caption {
  font-size: 13px;
  color: #6B6560;
  margin-top: 10px;
  font-style: italic;
}

.ratio-gauge-wrapper {
  background: #fff;
  border: 1px solid rgba(28, 26, 20, 0.10);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 28px 0;
}
.ratio-gauge-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
.ratio-gauge-bar {
  height: 26px;
  border-radius: 13px;
  overflow: hidden;
  display: flex;
}
.gauge-zone {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
}
.gauge-zone.green  { background: #1B4FCC; }
.gauge-zone.orange { background: #D4770A; }
.gauge-zone.red    { background: #B0332A; }
.ratio-gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #6B6560;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 12px;
  border: 1px solid rgba(28, 26, 20, 0.10);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 460px;
  margin: 0;
}
.comparison-table thead th {
  background: #1C1A14;
  color: rgba(247, 245, 240, 0.92);
  padding: 11px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.comparison-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(28, 26, 20, 0.10);
  vertical-align: middle;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) { background: rgba(28, 26, 20, 0.03); }

.badge-sector {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Courier New', Courier, monospace;
}
.badge-trad   { background: #EAF0FE; color: #1B4FCC; }
.badge-rapide { background: #FEF3E2; color: #C35A00; }
.badge-bar    { background: #F3E8FF; color: #6B21A8; }

.newsletter-cta {
  background: linear-gradient(135deg, #fff 0%, rgba(27, 79, 204, 0.05) 100%);
  border: 1px solid rgba(27, 79, 204, 0.18);
  border-radius: 12px;
  padding: 24px 26px;
  margin: 36px 0 8px;
  text-align: left;
}
.newsletter-cta-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1B4FCC;
  margin-bottom: 10px;
}
.newsletter-cta-text {
  font-size: 15px;
  line-height: 1.65;
  color: #6B6560;
  margin: 0 0 16px;
}
.newsletter-cta-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #1B4FCC;
}
.newsletter-cta-link:hover { color: #1640A8; }
