/* ==========================================================================
   Agence Perpignan — par DYCAST
   Design system repris de dycast.fr : canvas crème, encre noire,
   Instrument Sans (titres), Geist Sans (texte), Geist Mono (labels).
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url(/fonts/instrument-sans-var.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Geist Sans";
  src: url(/fonts/geist-sans-var.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url(/fonts/geist-mono-var.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --canvas: #fafaf8;
  --ink: #0c0c0b;
  --muted: #55554e;
  --surface: #fff;
  --accent: #0c0c0b;
  --accent-contrast: #fafaf8;
  --line: rgba(12, 12, 11, 0.14);
  --line-soft: rgba(12, 12, 11, 0.08);
  --dark: #101114;
  --dark-ink: #f4f4f2;
  --dark-muted: #a8a8a0;
  --orange: #ff5c1f;
  --blue: #4f7df0;
  --pink: #d8447c;
  --green: #2fae7d;
  --radius-card: 1.25rem;
  --radius-panel: 1.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
  --font-display: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Geist Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --text-hero: clamp(3rem, 1.6rem + 6.4vw, 6.75rem);
  --text-mega: clamp(2.25rem, 1.4rem + 4vw, 4.5rem);
  --text-lead: clamp(1.0625rem, 0.95rem + 0.55vw, 1.375rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--canvas);
}

/* --- Layout ------------------------------------------------------------- */

.container-d {
  width: 100%;
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .container-d {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: clamp(4.5rem, 4rem + 4vw, 8rem);
}
.section-tight {
  padding-block: clamp(3rem, 2.5rem + 2.5vw, 5rem);
}

/* --- Typo --------------------------------------------------------------- */

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.kicker .dot {
  color: var(--orange);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.text-hero {
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.text-mega {
  font-size: var(--text-mega);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.lead {
  font-size: var(--text-lead);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.section-head {
  max-width: 46rem;
}
.section-head .lead {
  margin-top: 1.25rem;
}
.section-head h2 {
  margin-top: 1rem;
}

/* --- Skip link ----------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--canvas);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 0.75rem 0;
}
.skip-link:focus {
  left: 0;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background-color: rgba(250, 250, 248, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 30px rgba(12, 12, 11, 0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.brand-name .dot {
  color: var(--orange);
}
.brand-by {
  display: inline-block;
  height: 13px;
  aspect-ratio: 300 / 91;
  background: var(--muted);
  -webkit-mask: url(/images/logo-dycast.png) no-repeat left center / contain;
  mask: url(/images/logo-dycast.png) no-repeat left center / contain;
}
.brand-by-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.main-nav {
  display: none;
  flex: 1;
}
@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.main-nav a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover {
  color: var(--ink);
  background: rgba(12, 12, 11, 0.05);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.header-tel {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background-color 0.2s;
}
.header-tel:hover {
  background: rgba(12, 12, 11, 0.05);
}
@media (min-width: 640px) {
  .header-tel {
    display: inline-flex;
  }
}
@media (max-width: 559px) {
  .header-inner {
    gap: 0.75rem;
  }
  .brand-by,
  .brand-by-label {
    display: none;
  }
  .brand-name {
    font-size: 1.0625rem;
  }
  .header-actions .btn-sm {
    padding-inline: 1rem;
    font-size: 0.875rem;
  }
}

/* --- Boutons ------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.75rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, opacity 0.3s,
    transform 0.3s;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn-primary:hover {
  opacity: 0.85;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.btn-sm {
  height: 2.5rem;
  padding-inline: 1.25rem;
  font-size: 0.9375rem;
}
.btn-light {
  background: var(--dark-ink);
  color: var(--dark);
}
.btn-light:hover {
  opacity: 0.88;
}
.btn-ghost-dark {
  background: transparent;
  color: var(--dark-ink);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}
.arrow-link .arr {
  transition: transform 0.3s var(--ease);
}
.arrow-link:hover .arr {
  transform: translateX(6px);
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 3rem + 3.5vw, 7rem));
  padding-bottom: clamp(3.5rem, 3rem + 2.5vw, 5.5rem);
}
.hero h1 span {
  display: inline-block;
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 42rem;
}
.hero-ctas {
  margin-top: 2.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.hero-trust .tick {
  color: var(--green);
  font-weight: 600;
}

/* --- Stats --------------------------------------------------------------- */

.stats {
  border-block: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  padding: 1.75rem 1rem;
  text-align: center;
}
.stat + .stat {
  border-left: 1px solid var(--line-soft);
}
@media (max-width: 767px) {
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* --- Cartes expertises ---------------------------------------------------- */

.doors {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .doors {
    grid-template-columns: 1fr 1fr;
  }
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 21rem;
  overflow: clip;
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 2rem;
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (min-width: 768px) {
  .door {
    padding: 2.5rem;
  }
}
.door:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}
.door-glow {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  transition: opacity 0.5s;
  pointer-events: none;
}
.door:hover .door-glow {
  opacity: 1;
}
.door-body {
  position: relative;
}
.door-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.door-title {
  margin-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.door-desc {
  margin-top: 0.85rem;
  max-width: 26rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted);
}
.door-tags {
  position: relative;
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}
.door-tags li {
  font-size: 0.8125rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
}
.door-foot {
  position: relative;
  margin-top: 2rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.door-hook {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--ink);
}
.door-cta .arr {
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease);
}
.door:hover .door-cta .arr {
  transform: translateX(6px);
}

/* Carte sombre (DYCAST) */
.door-dark {
  background: var(--dark);
  border-color: transparent;
}
.door-dark:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.door-dark .door-kicker,
.door-dark .door-desc,
.door-dark .door-hook {
  color: var(--dark-muted);
}
.door-dark .door-title,
.door-dark .door-cta {
  color: var(--dark-ink);
}
.door-dark .door-tags li {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--dark-muted);
}

/* --- « Vous vous reconnaissez ? » ---------------------------------------- */

.symptoms {
  margin-top: 3rem;
  border-top: 1px solid var(--line-soft);
}
.symptom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 0.25rem;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background-color 0.25s;
}
@media (min-width: 768px) {
  .symptom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 0.75rem;
  }
}
.symptom:hover {
  background: rgba(12, 12, 11, 0.03);
}
.symptom-quote {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.symptom-to {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.symptom-to .arr {
  color: var(--ink);
  font-size: 1.15rem;
  transition: transform 0.3s var(--ease);
}
.symptom:hover .symptom-to .arr {
  transform: translateX(6px);
}
.symptom-to .sdot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* --- Zone d'intervention -------------------------------------------------- */

.zone-wrap {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .zone-wrap {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.chips li {
  font-size: 0.875rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.chips li.chip-main {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.zone-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}
.zone-side {
  border-radius: var(--radius-panel);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 2rem;
}
.zone-side h3 {
  font-size: 1.25rem;
}
.zone-side p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}
.zone-side .arrow-link {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
}

/* --- Marquee clients ------------------------------------------------------ */

.clients {
  border-block: 1px solid var(--line-soft);
  padding-block: 2.25rem;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  margin-bottom: 1.5rem;
}
.marquee {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.75;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .marquee-track:last-child {
    display: none;
  }
}

/* --- Méthode -------------------------------------------------------------- */

.steps {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}
.step {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1.75rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--orange);
}
.step h3 {
  margin-top: 0.9rem;
  font-size: 1.35rem;
}
.step p {
  margin-top: 0.7rem;
  font-size: 0.9063rem;
  line-height: 1.65;
  color: var(--muted);
}

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

.faq-list {
  margin-top: 3rem;
  max-width: 52rem;
  border-top: 1px solid var(--line-soft);
}
.faq-list details {
  border-bottom: 1px solid var(--line-soft);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary:hover {
  color: var(--muted);
}
.faq-list summary .plus {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary .plus {
  transform: rotate(45deg);
}
.faq-list .faq-a {
  padding: 0 0.25rem 1.5rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9688rem;
}
.faq-list .faq-a a {
  color: var(--ink);
  font-weight: 500;
}

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

.contact-panel {
  border-radius: var(--radius-panel);
  background: var(--dark);
  color: var(--dark-ink);
  overflow: clip;
  position: relative;
}
.contact-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    70% 60% at 85% 0%,
    rgba(255, 92, 31, 0.16),
    transparent 70%
  );
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  padding: clamp(2rem, 1.5rem + 2.5vw, 4rem);
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.contact-info .kicker {
  color: var(--dark-muted);
}
.contact-info h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.contact-info .lead {
  margin-top: 1.25rem;
  color: var(--dark-muted);
  font-size: 1.0625rem;
}
.contact-direct {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--dark-ink);
  transition: opacity 0.2s;
}
.contact-direct a:hover {
  opacity: 0.8;
}
.contact-trust {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--dark-muted);
  list-style: none;
}

/* Formulaire */
.form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--dark-ink);
}
.field label .req {
  color: var(--orange);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9688rem;
  color: var(--dark-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, background-color 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 244, 242, 0.4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a8a8a0' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field select option {
  color: var(--ink);
  background: #fff;
}
.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.form-rgpd {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--dark-muted);
}
.form-rgpd a {
  color: var(--dark-ink);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 3.5rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-brand p {
  margin-top: 0.9rem;
  font-size: 0.9063rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 20rem;
}
.footer-logo {
  display: inline-block;
  height: 22px;
  aspect-ratio: 300 / 91;
  background: var(--ink);
  -webkit-mask: url(/images/logo-dycast.png) no-repeat left center / contain;
  mask: url(/images/logo-dycast.png) no-repeat left center / contain;
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.footer-col ul {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.9063rem;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-col a:hover {
  opacity: 0.65;
}
.footer-col .ext {
  color: var(--muted);
  font-size: 0.8125rem;
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--ink);
}

/* --- Pages annexes (mentions, merci) -------------------------------------- */

.page-simple {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 5rem;
}
.page-simple .prose {
  max-width: 46rem;
  margin-top: 2.5rem;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}
.prose h3 {
  font-size: 1.125rem;
  margin-top: 1.75rem;
}
.prose p,
.prose li {
  margin-top: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.9688rem;
}
.prose ul {
  padding-left: 1.25rem;
}
.prose a {
  color: var(--ink);
}
.prose dl div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 640px) {
  .prose dl div {
    grid-template-columns: 14rem 1fr;
    gap: 1rem;
  }
}
.prose dt {
  font-weight: 500;
  color: var(--ink);
  font-size: 0.9063rem;
}
.prose dd {
  color: var(--muted);
  font-size: 0.9375rem;
}

/* --- Animations d'apparition ---------------------------------------------- */

.anim-rise {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.anim-rise.in {
  opacity: 1;
  transform: none;
}
.anim-d1 {
  transition-delay: 0.08s;
}
.anim-d2 {
  transition-delay: 0.16s;
}
.anim-d3 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .anim-rise {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
