﻿:root {
  --site-radius: 1.25rem;
  --site-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.08);
  --bs-body-color: #202124;
}

body {
  font-family: "Google Sans", sans-serif;
  background: radial-gradient(1200px 600px at 15% -10%, rgba(13, 110, 253, 0.12), transparent 60%),
    radial-gradient(900px 500px at 85% 10%, rgba(25, 135, 84, 0.12), transparent 60%),
    var(--bs-body-bg);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
}

.site-header {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--bs-border-color);
}

.hero {
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
  --bs-body-color: #202124;
  background: linear-gradient(135deg, var(--bs-light), #ffffff);
}

.next-holiday {
  border-radius: 999px;
  background: var(--bs-primary);
  color: #fff;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
}

.calendar-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.month-card {
  border-radius: var(--site-radius);
  border: 1px solid var(--bs-border-color);
  background: #fff;
  padding: 1rem;
  box-shadow: var(--site-shadow);
  --bs-body-color: #202124;
}

.month-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.month-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 2.5rem rgba(32, 33, 36, 0.12);
  border-color: rgba(13, 110, 253, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  .month-card {
    transition: none;
  }
  .month-card:hover {
    transform: none;
  }
}


.month-name {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.month-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.day-label,
.day-cell {
  text-align: center;
  font-size: 0.85rem;
  padding: 0.25rem 0;
}

.day-label {
  color: #202124;
  font-weight: 600;
}

.day-cell {
  border-radius: 0.4rem;
  color: var(--bs-body-color);
}

.day-cell[role="button"] {
  cursor: pointer;
}

.day-cell.muted {
  color: var(--bs-secondary-color);
}

.day-cell.holiday {
  font-weight: 700;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
}

.day-cell.holiday.national {
  background: var(--bs-info);
}

.day-cell.holiday.religieux {
  background: var(--bs-success);
}

.day-cell.holiday.social {
  background: var(--bs-warning);
}

.holiday-card {
  border-radius: var(--site-radius);
  overflow: hidden;
  box-shadow: var(--site-shadow);
  --bs-body-color: #202124;
  border: 1px solid var(--bs-border-color);
  background: #fff;
}

.holiday-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.day-popup {
  position: absolute;
  z-index: 1055;
  width: 260px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.day-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.day-popup-close {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.25rem;
  color: var(--bs-secondary-color);
  cursor: pointer;
  position: absolute;
  top: 6px;
  right: 8px;
}

.day-popup-summary {
  font-size: 0.9rem;
  margin: 0.35rem 0 0.5rem;
  color: var(--bs-body-color);
}

.badge-type {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-button {
  font-size: 0.75rem;
}

.badge-button.disabled {
  opacity: 1;
  pointer-events: none;
}

.legal-note {
  background: var(--bs-warning-bg-subtle);
  border: 1px solid var(--bs-warning-border-subtle);
  border-radius: var(--site-radius);
  padding: 1rem;
}

.footer {
  border-top: 1px solid var(--bs-border-color);
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.footer-dot {
  opacity: 0.6;
}

.copyright-symbol {
  display: inline-block;
  transform: scale(1.8);
  transform-origin: center;
  vertical-align: baseline;
  position: relative;
  top: 0.25em;
}

.legal-summary {
  border-radius: var(--site-radius);
  border: 1px solid var(--bs-border-color);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(10px);
  position: relative;
}

.legal-summary ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.legal-summary li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0;
}

.legal-summary li i {
  color: #d4a017;
  margin-top: 0.2rem;
}

.legal-summary-badge {
  position: absolute;
  top: -12px;
  left: 16px;
  background: #d4a017;
  color: #1f1f1f;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.legal-disclaimer {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  max-width: 800px;
  margin: 0 auto;
  background: #f8f6f1;
}

.legal-disclaimer i {
  font-size: 1.1rem;
  color: #8c6d3f;
  margin-top: 0.15rem;
}

.legal-card {
  border-radius: var(--site-radius);
  border: 1px solid var(--bs-border-color);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1.5rem 3rem rgba(32, 33, 36, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2rem 3.5rem rgba(32, 33, 36, 0.18);
}

.legal-card-repos {
  border-top: 4px solid #D1D1D1;
}

.legal-card-remuneration {
  border-top: 4px solid var(--bs-success);
}

.legal-card-fetes {
  border-top: 4px solid #d4a017;
}

.legal-card-ponts {
  border-top: 4px solid #c76b4a;
}

.legal-text-remuneration {
  color: var(--bs-success);
}

.legal-text-fetes {
  color: #d4a017;
}

.legal-text-ponts {
  color: #c76b4a;
}

.legal-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.legal-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  font-size: 1.1rem;
}

.legal-action-card {
  border-radius: var(--site-radius);
  background: #eef3f9;
  border: 1px solid rgba(13, 110, 253, 0.12);
  padding: 1.5rem;
  box-shadow: var(--site-shadow);
}

.legal-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.legal-checklist-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-check-item {
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid var(--bs-border-color);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  transition: background 160ms ease, border-color 160ms ease;
}

.btn-info {
  color: #ffffff !important;
}

.btn-warning {
  color: #ffffff !important;
}

.btn-success {
  color: #ffffff !important;
}

.legal-check-item i {
  color: var(--bs-success);
  margin-top: 0.2rem;
}

.legal-check-item:hover {
  background: #f5f8ff;
  border-color: rgba(13, 110, 253, 0.35);
}

.legal-action-card .btn {
  white-space: nowrap;
}

.legal-links {
  margin-top: 0;
}

.legal-link-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: var(--site-radius);
  border: 1px solid var(--bs-border-color);
  background: #fff;
  padding: 1.25rem;
  box-shadow: var(--site-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.legal-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1.25rem 2.25rem rgba(32, 33, 36, 0.12);
  border-color: rgba(13, 110, 253, 0.35);
}

.comparison-table-wrap {
  border-radius: var(--site-radius);
  background: #fff;
  border: 1px solid var(--bs-border-color);
  padding: 1.5rem;
  box-shadow: var(--site-shadow);
}

.comparison-table {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(13, 110, 253, 0.12);
  box-shadow: 0 1.25rem 2.5rem rgba(32, 33, 36, 0.08);
}

.comparison-table thead th {
  background: #dbf2e3;
  font-weight: 700;
  border-bottom: 1px solid var(--bs-border-color);
}

.comparison-table tbody td {
  border-top: 1px solid var(--bs-border-color);
}

.comparison-table tbody tr:nth-child(even) td {
  background: #fcfcfd;
}

.holiday-table-section .holiday-toggle .btn.active {
  background: var(--bs-primary);
  color: #fff;
  border-color: var(--bs-primary);
}

.holiday-table-section .holiday-table {
  margin-top: 0.5rem;
}

.holiday-table-section .holiday-name-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.holiday-religious-badge {
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  border: 1px solid rgba(13, 110, 253, 0.35);
  font-weight: 600;
  font-size: 0.7rem;
}

.holiday-table-section[data-sector="public"] th[data-col="private"],
.holiday-table-section[data-sector="public"] td[data-col="private"] {
  opacity: 0.35;
}

.holiday-table-section[data-sector="private"] th[data-col="public"],
.holiday-table-section[data-sector="private"] td[data-col="public"] {
  opacity: 0.35;
}

.next-holiday-card {
  margin-top: 1.5rem;
  border-radius: var(--site-radius);
  background: #fff;
  border: 1px solid var(--bs-border-color);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--site-shadow);
}

.next-holiday-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.next-holiday-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.next-holiday-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(13, 110, 253, 0.12);
  color: var(--bs-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

.next-holiday-days {
  font-weight: 700;
  font-size: 1.25rem;
  color: #d4a017;
}

.next-holiday-name {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.next-holiday-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #202124;
}

.next-holiday-meta .dot {
  color: var(--bs-border-color);
}

.next-holiday-sub {
  margin-top: 0.6rem;
  color: var(--bs-secondary-color);
}

.next-holiday-actions {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.next-holiday-inline-banner {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-family: "Google Sans", "Roboto", sans-serif;
}

.next-holiday-inline-label {
  font-weight: 600;
  color: #1f2a37;
}

.next-holiday-inline-text {
  font-weight: 600;
  color: #1f2a37;
}

.next-holiday-inline-timer {
  margin-left: 0;
  flex: 0 0 auto;
  display: inline-block;
  width: fit-content;
  padding-top: 0;
  margin-top: 0;
  font-weight: 700;
  color: #9a6b05;
}

.next-holiday-inline-sep {
  flex: 0 0 auto;
  width: fit-content;
  align-self: flex-start;
  display: inline-block;
  border-top: 1px solid rgba(154, 107, 5, 0.35);
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
  min-width: 120px;
}

@media (max-width: 768px) {
  .next-holiday-inline-timer {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .legal-action-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-checklist-grid {
    grid-template-columns: 1fr;
  }
}
.faq-page .lead.text-muted,
.legal-page .lead.text-muted {
  font-size: 19px;
  color: #272727 !important;
}

.navbar .form-control[type="search"] {
  width: 28ch;
  min-width: 18ch;
}

@media (max-width: 991.98px) {
  .navbar form.d-flex {
    width: 100%;
  }

  .navbar .form-control[type="search"] {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header .top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

.legal-page .lead.text-muted {
  font-size: 19px;
  color: #272727 !important;
}

.blog .lead.text-muted, .legal-page .lead.text-muted {
    font-size: 19px;
    color: #272727 !important;
}

.apropos .lead.text-muted, .legal-page .lead.text-muted {
    font-size: 19px;
    color: #272727 !important;
}

.contact .lead.text-muted, .legal-page .lead.text-muted {
    font-size: 19px;
    color: #272727 !important;
}
