:root {
  --bg: #F6F5EC;
  --text: #14392A;
  --text-subtitle: #2A5240;
  --text-secondary: #5C6A5F;
  --text-count: #8A9389;
  --border: #E4E2D2;
  --border-light: #EAE8D9;
  --border-lighter: #F0EEDF;
  --border-input: #DEDCC8;
  --border-hover: #B9B7A0;
  --accent: #14392A;
  --accent-hover: #0D2A1E;
  --accent-text: #FFFFFF;
  --periwinkle: #7C7FF2;
  --lime: #C7F464;
  --corail: #FF5C93;
  --mint: #7DEFB0;
  --star-filled: #C7F464;
  --star-empty: #E4E2D2;
  --white: #ffffff;
  --danger: oklch(50% 0.17 25);
  --font-heading: 'Sora', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

a { text-decoration: none; }

.page-header {
  border-bottom: 1px solid var(--border-light);
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-title-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.brand-icon { color: var(--text); flex-shrink: 0; }

.page-header .btn-secondary {
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 14px;
}

.page-header .btn-secondary:hover {
  background: var(--accent-hover);
  color: var(--accent-text);
}

.view {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 64px 0;
  animation: fadeIn 0.35s ease both;
}

.view--form { max-width: 640px; }

.view--home { max-width: 1100px; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Inputs ---- */

.text-input, .select-input, .textarea-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: var(--white);
  color: inherit;
  font-family: inherit;
}

.text-input--compact, .select-input--compact {
  padding: 12px 14px;
}

.textarea-input {
  padding: 12px 14px;
  resize: vertical;
}

/* ---- Buttons ---- */

.btn-primary {
  align-self: flex-start;
  width: auto;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.btn-primary:hover { background: var(--lime); color: var(--text); }

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary--auto { width: auto; }

@media (max-width: 480px) {
  .btn-primary { align-self: stretch; width: 100%; padding: 14px 16px; }
}

.btn-secondary {
  width: auto;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-input);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--text);
}

/* ---- Modal ---- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.01 250 / 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  max-width: 420px;
  width: 100%;
  animation: fadeIn 0.2s ease both;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.modal-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 480px) {
  .modal-actions { flex-direction: column-reverse; }
  .btn-secondary, .modal-actions .btn-primary--auto { width: 100%; }
}

/* ---- Home: search + list ---- */

.search-wrap { position: relative; }

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  line-height: 1;
  opacity: 0.5;
  pointer-events: none;
}

.search-input {
  margin-top: 0;
  padding-left: 42px;
  padding-right: 40px;
}

.search-clear {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
}

.search-clear:hover {
  background: var(--bg);
  color: var(--text);
}

.home-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px 0 72px;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--lime);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 22px;
  transform: rotate(-1deg);
  margin-bottom: 28px;
}

.home-hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--text);
  max-width: 760px;
}

.hero-title-line { display: block; }

.hero-son { font-weight: 600; }

.hero-word {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--periwinkle);
  transition: opacity 0.5s ease;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.home-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  text-align: left;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 16px 0 oklch(20% 0.01 250 / 0.12);
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}

.home-suggestions:empty {
  display: none;
  border: none;
  box-shadow: none;
}

.home-suggestions .suggestion-empty {
  padding: 14px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Barre de recherche accueil : pilule englobante avec bouton "Recherche" intégré */

.search-wrap--pill {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  margin-top: 28px;
  border: 1px solid var(--border-input);
  border-radius: 16px;
  background: var(--white);
  padding: 6px 6px 6px 20px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.search-wrap--pill:focus-within {
  box-shadow: 0 1px 6px 0 oklch(20% 0.01 250 / 0.18);
}

.search-wrap--pill .search-icon {
  position: static;
  top: auto;
  transform: none;
  margin-right: 8px;
  flex-shrink: 0;
}

.search-wrap--pill .search-input--pill {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 10px 4px;
  background: transparent;
}

.search-wrap--pill .search-input--pill:focus { outline: none; }

.search-wrap--pill .search-clear {
  position: static;
  top: auto;
  transform: none;
  flex-shrink: 0;
  margin-right: 4px;
}

.search-embedded-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 26px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.search-embedded-btn:hover { background: var(--accent-hover); }

@media (max-width: 480px) {
  .search-embedded-btn { padding: 12px 16px; }
}

.list-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 8px;
  min-height: 1em;
}

.commune-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.commune-list--results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commune-card {
  cursor: pointer;
  border: none;
  border-radius: 18px;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--white);
  box-shadow: 0 1px 3px 0 rgba(20, 57, 42, 0.06);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  color: inherit;
  text-decoration: none;
}

.commune-card:hover {
  box-shadow: 0 6px 20px 0 rgba(20, 57, 42, 0.10);
  transform: translateY(-2px);
}

.commune-card--row {
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}

.commune-card--row .commune-rating-row {
  margin-top: 0;
  flex-shrink: 0;
}

.commune-card--row .commune-card-info {
  flex: 1;
  min-width: 0;
}

.commune-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.commune-name { font-weight: 700; font-size: 16px; }

.commune-meta {
  font-size: 13px;
  color: var(--text-secondary);
}

.commune-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.commune-avis-count {
  font-size: 13px;
  color: var(--text-secondary);
}

.stars-row { display: flex; gap: 2px; flex-shrink: 0; }

.star { color: var(--star-empty); }
.star--filled { color: var(--star-filled); }

.star--18 { font-size: 18px; }
.star--30 { font-size: 30px; }
.star--16 { font-size: 16px; }
.star--14 { font-size: 14px; }
.star--28 { font-size: 28px; cursor: pointer; }
.star--26 { font-size: 26px; cursor: pointer; }

.mission-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 72px 0 64px;
}

.mission-card {
  border-radius: 28px;
  padding: 44px;
}

.mission-card--main {
  background: var(--periwinkle);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
}

.mission-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.mission-brand .brand-icon {
  width: 34px;
  height: 34px;
}

.mission-headline {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin-top: 32px;
}

.mission-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mission-card--lime {
  background: var(--lime);
  color: var(--text);
  aspect-ratio: 1 / 1;
  max-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission-lime-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.mission-lime-text {
  font-size: 16px;
  line-height: 1.5;
}

.mission-card--mint {
  background: var(--mint);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-height: 340px;
}

.empty-state {
  text-align: center;
  padding: 40px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ---- Commune detail ---- */

.back-link {
  cursor: pointer;
  color: var(--periwinkle);
  font-size: 14px;
}

.commune-identity {
  margin-top: 32px;
  background: var(--mint);
  border-radius: 28px;
  padding: 40px;
}

.commune-identity-name {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}

.commune-identity-meta {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.7;
  margin-top: 6px;
}

.btn-coral {
  display: inline-block;
  width: auto;
  margin: 24px 0 4px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  background: var(--corail);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.btn-coral:hover { background: #E84F84; }

@media (max-width: 480px) {
  .btn-coral { width: 100%; }
}

.global-rating {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.global-rating-count {
  font-size: 14px;
  color: var(--text-secondary);
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 28px 0 8px;
}

.criteria-grid--form {
  gap: 16px;
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
}

.global-rating-form {
  padding-top: 6px;
  border-top: 1px solid var(--border-light);
}

#global-stars-display .star {
  cursor: default;
}

.global-rating-hint {
  font-size: 12px;
  color: var(--text-count);
  margin-top: 6px;
}

.criterion-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.criterion-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border-input);
  cursor: help;
}

.criterion-info-icon {
  font-family: Georgia, serif;
  font-size: 10px;
  font-style: italic;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1;
}

.criterion-info-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 200px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px 0 rgba(20, 57, 42, 0.2);
  z-index: 30;
}

.criterion-info:hover .criterion-info-tooltip,
.criterion-info:focus .criterion-info-tooltip {
  display: block;
}

.avis-list { margin-top: 18px; }

.avis-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.avis-item-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.avis-item-poste { font-size: 14px; font-weight: 600; }

.avis-item-date { font-size: 13px; color: var(--text-secondary); }

.avis-item-stars { display: flex; gap: 2px; margin: 8px 0; }

.avis-item-texte { font-size: 15px; line-height: 1.5; }

.report-link {
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
  color: var(--text-count);
  font-size: 12px;
}

.report-link:hover { color: var(--danger); }

.report-link--done {
  cursor: default;
  color: var(--text-count);
}

.report-link--done:hover { color: var(--text-count); }

.avis-empty { padding: 24px 0; color: var(--text-secondary); font-size: 14px; }

/* ---- Form ---- */

.form-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 20px 0 20px;
}

.form-fields { display: flex; flex-direction: column; gap: 18px; }

.field-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.commune-picker { position: relative; }

.commune-picker-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--border-input);
  border-radius: 10px;
  background: var(--white);
}

.commune-picker-selected-name { font-size: 15px; font-weight: 600; }

.commune-picker-change {
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 13px;
}

.suggestions {
  border: 1px solid var(--border-input);
  border-radius: 10px;
  margin-top: 4px;
  background: var(--white);
  overflow-y: auto;
  max-height: 280px;
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--border-lighter);
}

.suggestion-item:last-child { border-bottom: none; }

.suggestion-item:hover { background: var(--bg); }

.suggestion-dept { color: var(--text-secondary); }

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--text-count);
  margin-top: 4px;
}

.form-error {
  font-size: 13px;
  color: var(--danger);
  line-height: 1.4;
}

.submit-hint {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: -6px;
}

.recaptcha-blocked {
  font-size: 13px;
  color: var(--danger);
  line-height: 1.5;
  padding: 12px 14px;
  border: 1px solid var(--danger);
  border-radius: 10px;
  background: oklch(50% 0.17 25 / 0.06);
}

.confirmation {
  text-align: center;
  padding: 60px 20px;
}

.success-badge {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-badge-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  transform: scale(0);
  animation: successBounceIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s both;
}

@keyframes successBounceIn {
  0% { transform: scale(0); opacity: 0; }
  55% { transform: scale(1.18); opacity: 1; }
  75% { transform: scale(0.92); }
  100% { transform: scale(1); opacity: 1; }
}

.spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 10px;
  border-radius: 2px;
  background: var(--spark-color, var(--lime));
  opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-6px) scale(0.3);
  animation: sparkBurst 0.5s ease-out both;
}

@keyframes sparkBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-6px) scale(0.3); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-32px) scale(1); }
}

.confirmation-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.confirmation-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ---- FAQ ---- */

.home-faq-section {
  margin: 88px 0 80px;
}

.faq-carousel {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.faq-carousel-track {
  flex: 1;
  min-width: 0;
  position: relative;
}

.faq-slide {
  display: none;
}

.faq-slide--active {
  display: block;
  animation: fadeIn 0.4s ease both;
}

.faq-carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid var(--border-input);
  background: var(--white);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

.faq-carousel-arrow:hover {
  border-color: var(--border-hover);
  background: var(--bg);
}

.faq-mission-slide {
  min-height: 615px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .faq-carousel { gap: 10px; }
  .faq-carousel-arrow { width: 36px; height: 36px; font-size: 18px; }
}

.faq-badge {
  display: inline-block;
  background: var(--periwinkle);
  color: var(--accent-text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  padding: 10px 24px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.faq-intro {
  text-align: center;
  padding: 12px 0 8px;
}

.faq-intro-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.faq-intro-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.faq-accordion {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-accordion-item {
  background: var(--white);
  border-radius: 14px;
  padding: 4px 20px;
  box-shadow: 0 1px 3px 0 rgba(20, 57, 42, 0.06);
}

.faq-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.faq-accordion-chevron {
  transition: transform 0.2s ease;
  color: var(--text-secondary);
}

.faq-accordion-item.open .faq-accordion-chevron { transform: rotate(180deg); }

.faq-accordion-body {
  display: none;
  padding: 0 0 18px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.faq-accordion-item.open .faq-accordion-body { display: block; }

.faq-list {
  margin-top: 20px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq-question {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ---- Legal / Contact ---- */

.legal-content {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-content p { margin: 0 0 16px; }

.legal-content strong { color: var(--text); }

.legal-content a { color: var(--accent); }

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-content li { margin-bottom: 4px; }

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border-light);
  margin-top: 48px;
}

.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 64px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-sitemap a {
  font-size: 13px;
  color: var(--periwinkle);
}

.footer-sitemap a:hover { color: var(--accent); }

.footer-copyright {
  font-size: 12px;
  color: var(--text-count);
}

@media (max-width: 900px) {
  .view { padding-left: 32px; padding-right: 32px; }
  .page-header-inner { padding-left: 32px; padding-right: 32px; }
  .site-footer-inner { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 720px) {
  .mission-section { grid-template-columns: 1fr; }
  .mission-headline { font-size: 34px; }
}

@media (max-width: 480px) {
  .page-header-inner { padding: 16px 16px; }
  .brand-title-small { font-size: 16px; }
  .view { padding: 14px 16px 0; }
  .commune-identity-name { font-size: 22px; }
  .site-footer-inner { padding: 20px 16px 24px; }
  .home-hero { padding: 56px 0 48px; }
  .home-hero-title { font-size: 32px; }
  .hero-stats { gap: 28px; }
  .hero-badge { font-size: 13px; padding: 12px 20px; }
}
