/* ============================================================
   Page Politique de confidentialité
   ============================================================ */

.kt-privacy-section {
  max-width: 820px;
  margin: 0 auto 48px;
}

.kt-privacy-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin: 8px auto 80px;
  align-items: stretch;
}

.kt-privacy-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 30px 28px;
  border-radius: 18px;
  border: 1px solid rgba(30, 43, 80, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px rgba(30, 43, 80, 0.06);
  position: relative;
  overflow: hidden;
}

.kt-privacy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00ae01, #0018b4);
}

.kt-privacy-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 174, 1, 0.12), rgba(0, 24, 180, 0.08));
  color: var(--kt-header-bg, #1e2b50);
  flex-shrink: 0;
}

.kt-privacy-card__icon .kt-icon {
  width: 22px;
  height: 22px;
  color: var(--kt-header-bg, #1e2b50);
}

.kt-privacy-card__title {
  margin: 0 0 16px;
  color: var(--kt-header-bg, #1e2b50);
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.kt-privacy-card p {
  margin: 0 0 12px;
  color: #5a6472;
  font-size: 14.5px;
  line-height: 1.7;
}

.kt-privacy-card p:last-child {
  margin-bottom: 0;
}

.kt-privacy-card__org {
  color: var(--kt-header-bg, #1e2b50) !important;
  font-weight: 700;
}

.kt-privacy-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.kt-privacy-card a {
  color: var(--kt-blue, #0018b4);
  text-decoration: none;
  word-break: break-word;
}

.kt-privacy-card a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .kt-privacy-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 560px;
  }
}

.kt-privacy-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--kt-header-bg, #1e2b50);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid #eef1f7;
}

.kt-privacy-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 174, 1, 0.12), rgba(0, 24, 180, 0.08));
  border-radius: 8px;
  color: var(--kt-green, #00ae01);
}

.kt-privacy-section__icon .kt-icon {
  width: 20px;
  height: 20px;
  color: var(--kt-header-bg, #1e2b50);
}

.kt-privacy-prose {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.75;
}

.kt-privacy-prose p {
  margin: 0 0 14px;
}

.kt-privacy-prose p:last-child {
  margin-bottom: 0;
}

.kt-privacy-prose h3 {
  margin: 20px 0 10px;
  color: var(--kt-blue, #0018b4);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kt-privacy-prose ul {
  margin: 0 0 14px 20px;
  padding: 0;
  list-style: disc;
}

.kt-privacy-prose ul li {
  margin-bottom: 6px;
}

.kt-privacy-prose a {
  color: var(--kt-blue, #0018b4);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.kt-privacy-prose a:hover {
  color: var(--kt-green, #00ae01);
}

/* Tableau cookies */
.kt-privacy-table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.kt-privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  white-space: nowrap;
}

.kt-privacy-table thead {
  background: #1e2b50;
  color: #fff;
}

.kt-privacy-table th,
.kt-privacy-table td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.kt-privacy-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kt-privacy-table tbody tr:last-child td {
  border-bottom: 0;
}

.kt-privacy-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

/* Bouton Gérer préférences */
.kt-privacy-consent-btn {
  margin-top: 16px;
  font-size: 13px !important;
  padding: 10px 22px !important;
}

@media (max-width: 600px) {
  .kt-privacy-section {
    margin-bottom: 36px;
  }
  .kt-privacy-prose {
    font-size: 14px;
  }
}
