.feature-card:hover {
  background: rgba(219, 164, 114, 0.1);
}

.element {
  margin-bottom: 1.2rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

blockquote {
  margin: 2rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--texte);
  font-style: italic;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 2rem 0;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.05);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

ul {
  margin: 1rem 0 1.5rem 1.25rem;
}

.center-italic {
  text-align: center;
  font-style: italic;
  color: var(--accent);
}
:root {
  --fond: #f6eee3;
  --texte: #35282C;
  --accent: #DBA472;
  --secondaire: #F9D0AE;
  --surface: rgba(255, 255, 255, 0.9);
}

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

html {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 18px;
}

body {
  margin: 0;
  background-color: var(--fond);
  color: var(--texte);
  line-height: 1.7;
  padding: 2rem 1.5rem 4rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

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

.container {
  width: min(760px, 100%);
  margin: 0 auto;
}

.site-header {
  margin-bottom: 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  font-family: 'Special Elite', cursive;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--texte);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

nav a {
  text-decoration: none;
  color: var(--texte);
  border-bottom: 1px dashed transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.content-card {
  background: var(--surface);
  border: 1px solid rgba(213, 162, 108, 0.25);
  border-radius: 1.2rem;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(83, 52, 44, 0.08);
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: 0.02em;
}

h1 {
  font-family: 'Special Elite', cursive;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-family: 'Special Elite', cursive;
  font-size: 1.35rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Special Elite', cursive;
  font-size: 1.1rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.4rem;
}

em {
  font-style: italic;
  color: var(--accent);
}

hr {
  border: none;
  border-top: 1px solid var(--secondaire);
  margin: 3rem 0;
}

.subtitle {
  font-family: 'Courier Prime', monospace;
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

.header-image {
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid rgba(219, 164, 114, 0.35);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: inherit;
}

.feature-card:hover {
  background: rgba(219, 164, 114, 0.1);
}

.element {
  margin-bottom: 1.2rem;
}

.site-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--secondaire);
  color: var(--accent);
  font-size: 0.9rem;
}

/* === ROULEAU — NAVIGATION BAS DE PAGE === */
.scroll-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: min(520px, 92vw);
  background: linear-gradient(180deg, #f0e3d0 0%, var(--fond) 100%);
  border: 1px solid rgba(219, 164, 114, 0.6);
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  font-family: 'Special Elite', cursive;
  font-size: 0.88rem;
  color: var(--texte);
  letter-spacing: 0.08em;
  box-shadow: 0 -6px 20px rgba(83, 52, 44, 0.12);
  -webkit-transition: background 0.25s;
  transition: background 0.25s;
  user-select: none;
  -webkit-user-select: none;
}

.scroll-toggle:hover {
  background: linear-gradient(180deg, var(--secondaire) 0%, #f6e8d6 100%);
}

.scroll-icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.scroll-arrow {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.34, 1.1, 0.64, 1);
  font-size: 0.7rem;
  opacity: 0.6;
}

.scroll-nav.open .scroll-arrow {
  transform: rotate(180deg);
}

.scroll-panel {
  background: linear-gradient(180deg, #faf3e8 0%, var(--fond) 60%);
  border: 1px solid rgba(219, 164, 114, 0.45);
  border-bottom: none;
  width: min(520px, 92vw);
  max-height: 0;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(83, 52, 44, 0.14);
  -webkit-transition: max-height 0.6s cubic-bezier(0.34, 1.05, 0.64, 1);
  transition: max-height 0.6s cubic-bezier(0.34, 1.05, 0.64, 1);
}

.scroll-panel::before {
  content: '';
  display: block;
  height: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.055) 0%, transparent 100%);
}

.scroll-panel.open {
  max-height: 440px;
}

.scroll-panel nav {
  padding: 0.75rem 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.scroll-panel nav a {
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  text-decoration: none;
  color: var(--texte);
  letter-spacing: 0.04em;
  padding: 0.3rem 1rem;
  border-bottom: 1px dashed transparent;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.0s, transform 0.0s, color 0.2s, border-color 0.2s;
}

.scroll-panel.open nav a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s, border-color 0.2s;
}

.scroll-panel.open nav a:nth-of-type(1) { transition-delay: 0.08s; }
.scroll-panel.open nav a:nth-of-type(2) { transition-delay: 0.14s; }
.scroll-panel.open nav a:nth-of-type(3) { transition-delay: 0.20s; }
.scroll-panel.open nav a:nth-of-type(4) { transition-delay: 0.26s; }
.scroll-panel.open nav a:nth-of-type(5) { transition-delay: 0.32s; }
.scroll-panel.open nav a:nth-of-type(6) { transition-delay: 0.38s; }

.scroll-panel nav a:hover,
.scroll-panel nav a.scroll-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.scroll-sep {
  width: 40px;
  border: none;
  border-top: 1px dashed rgba(219, 164, 114, 0.5);
  margin: 0.4rem 0;
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem 1rem 3rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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