/* Guide Impôts USA — France-USA-Net.Com */
.taxes-category-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

@media (min-width: 640px) {
  .taxes-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.taxes-category-card {
  border: 1px solid rgba(20, 80, 67, 0.22);
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(145deg, #eef8f4 0%, #ffffff 100%);
  color: #0a1620;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.taxes-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(10, 30, 40, 0.09);
}

.taxes-category-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #145043;
}

.taxes-category-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #2a3a44;
}

.taxes-category-card a {
  color: #b45309;
  font-weight: 600;
}

.taxes-step-list {
  counter-reset: taxes-step;
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.taxes-step-list > li {
  counter-increment: taxes-step;
  position: relative;
  padding: 0 0 16px 2.75rem;
  margin-bottom: 8px;
  line-height: 1.65;
}

.taxes-step-list > li::before {
  content: counter(taxes-step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #145043, #c41e3a);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.taxes-forms-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .taxes-forms-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.taxes-forms-grid .taxes-panel {
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.taxes-forms-grid .taxes-panel--light {
  background: linear-gradient(145deg, #eef8f4 0%, #ffffff 100%);
  color: #0a1620;
}

.taxes-forms-grid .taxes-panel--light h3 {
  margin-top: 0;
  color: #145043;
}

.taxes-forms-grid .taxes-panel--light li {
  color: #2a3a44;
}

.taxes-forms-grid .taxes-panel--light a {
  color: #1d4ed8;
  font-weight: 600;
}

.taxes-forms-grid .taxes-panel--dark {
  background: linear-gradient(135deg, #145043 0%, #0b1020 100%);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.14);
}

.taxes-forms-grid .taxes-panel--dark h3 {
  margin-top: 0;
  color: #a7f3d0;
}

.taxes-forms-grid .taxes-panel--dark li {
  color: #e2e8f0;
}

.taxes-forms-grid .taxes-panel--dark a {
  color: #93c5fd;
  font-weight: 600;
}

.taxes-forms-grid ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
}

.taxes-callout {
  margin-top: 14px;
  border-radius: 12px;
  padding: 14px 16px;
  border-left: 4px solid #b05a00;
  background: linear-gradient(135deg, #fff9f2 0%, #fff3e6 100%);
  color: #3d2814;
  font-size: 0.94rem;
  line-height: 1.6;
}

.taxes-callout strong {
  color: #6e3800;
}

.taxes-callout--legal {
  border-left-color: #5a4a12;
  background: linear-gradient(135deg, #fffef6 0%, #f6f3e4 100%);
  color: #2c2610;
}

.taxes-callout--legal strong {
  color: #5a4a12;
}

.taxes-mini-grid {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}

@media (min-width: 760px) {
  .taxes-mini-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.taxes-mini-card {
  border: 1px solid rgba(20, 80, 67, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fbfefc;
}

.taxes-mini-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: #145043;
}

.taxes-mini-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
  color: #2a3a44;
}
