/**
 * Buttons, navigation links, panels, prose, forms, CTAs.
 *
 * @package LiberteOriginal
 */

.footer-menu-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu-list a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
}

.button {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  background: var(--color-primary-deep);
}

.button-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.panel,
.info-list,
.form-placeholder,
.prose,
.cta-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.panel,
.form-placeholder,
.prose,
.cta-box {
  padding: 32px 36px;
}

.info-list {
  overflow: hidden;
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt,
.info-row dd {
  margin: 0;
  padding: 16px 20px;
  font-size: 1.04rem;
  line-height: 1.85;
}

.info-row dt {
  font-weight: 700;
  background: var(--color-section-tint);
  font-size: 0.98rem;
}

.panel--intro .section-head {
  margin-bottom: 18px;
}

.prose--flush {
  max-width: none;
  margin: 0;
}

.panel-note {
  background: var(--color-section-tint);
  border-color: rgba(136, 185, 165, 0.35);
}

.panel-note p {
  margin: 0;
}

.law-info-list {
  margin: 0;
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  margin-top: 0;
}

.cta-tel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-heading);
}

.contact-panel-title {
  margin: 8px 0 12px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.contact-tel {
  margin: 0 0 14px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.04em;
}

.contact-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contact-form-side .section-head {
  margin-bottom: 16px;
}

.contact-form-side .section-head h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.contact-form-side .section-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.form-placeholder code {
  display: block;
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--color-section-tint);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  word-break: break-all;
}

.prose {
  max-width: var(--prose-max);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: var(--prose-line);
  color: var(--color-text);
}

.prose h2 {
  margin-top: 2.25em;
  margin-bottom: 0.85em;
  padding-bottom: 0.55em;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-heading);
  border-bottom: 1px solid rgba(45, 125, 107, 0.2);
  letter-spacing: 0.05em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.35em;
}

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

.form-placeholder {
  border-style: dashed;
}

.form-placeholder-title {
  margin-top: 0;
  margin-bottom: 6px;
  font-weight: 700;
}

.placeholder-note {
  color: var(--color-muted);
}

@media (max-width: 960px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .panel,
  .form-placeholder,
  .prose,
  .cta-box {
    padding: 20px;
  }
}
