/* ============================================================
   RCM Audio — feuille de style unique
   Prise de son de concerts & séances d'enregistrement
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  /* couleurs — encre nocturne, papier chaud, laiton de VU-mètre, vert de mer */
  --ink: #1b2430;
  --ink-soft: #3c4a5c;
  --paper: #efe9dc;
  --paper-deep: #e4dcc9;
  --brass: #a9793f;
  --brass-bright: #c79355;
  --teal: #3e5c56;
  --line: rgba(27, 36, 48, 0.16);
  --white: #fbf9f4;

  /* type */
  --font-display: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius: 3px;
  --wrap: 1080px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
img, audio { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.4rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 1.9rem); }
h3 { font-size: 1.1rem; font-weight: 600; }

p { max-width: 62ch; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- boutons & liens ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn--brass {
  border-color: var(--brass);
  color: var(--ink);
  background: var(--brass);
  color: var(--white);
}
.btn--brass:hover { background: var(--brass-bright); border-color: var(--brass-bright); }

.link-underline {
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 4px;
}
.link-underline:hover { color: var(--brass); }

/* ---------- en-tête / navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-name { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; }
.brand-name span { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); margin-top: 2px; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle-label span { width: 24px; height: 2px; background: var(--ink); }

.main-nav ul { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-color: var(--brass); color: var(--brass); }

@media (max-width: 720px) {
  .nav-toggle-label { display: flex; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--line);
  }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header .wrap { flex-wrap: wrap; }
  .nav-toggle:checked ~ .main-nav { display: block; }
}

/* ---------- onde sonore décorative (élément signature) ---------- */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 34px;
}
.waveform span {
  width: 3px;
  background: var(--brass);
  border-radius: 2px;
  animation: wave 1.8s ease-in-out infinite;
}
.waveform span:nth-child(1) { height: 40%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.waveform span:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.waveform span:nth-child(4) { height: 85%; animation-delay: 0.45s; }
.waveform span:nth-child(5) { height: 50%; animation-delay: 0.6s; }
.waveform span:nth-child(6) { height: 90%; animation-delay: 0.75s; }
.waveform span:nth-child(7) { height: 35%; animation-delay: 0.9s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.waveform.static span { animation: none; }

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-block: 0;
}

/* ---------- héros ---------- */
.hero {
  padding-block: 64px 48px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-portrait {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.hero-text .eyebrow { margin-bottom: 18px; }
.hero-text h1 { margin-bottom: 18px; }
.hero-text p { color: var(--ink-soft); margin-bottom: 10px; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 320px; }
}

/* ---------- galerie ---------- */
.gallery {
  padding-block: 8px 64px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.gallery-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- appel à l'action ---------- */
.cta {
  padding-block: 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta h2 { margin-bottom: 22px; }
.cta-links { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ---------- pied de page ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* ---------- page : à propos ---------- */
.about {
  padding-block: 64px 80px;
}
.about .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-portrait {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.about-text p { color: var(--ink-soft); margin-bottom: 20px; }

@media (max-width: 720px) {
  .about .wrap { grid-template-columns: 1fr; }
  .about-portrait { max-width: 280px; }
}

/* ---------- services / procés / tarifes ---------- */
.section-block {
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.section-block .eyebrow { margin-bottom: 12px; display: inline-flex; }
.section-block > .wrap > h2 { margin-bottom: 8px; }
.section-block .intro { color: var(--ink-soft); margin-bottom: 32px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
}
.service-item h3 { margin-bottom: 8px; }
.service-item p { color: var(--ink-soft); font-size: 0.95rem; }

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.process-list {
  border-top: 1px solid var(--line);
}
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.process-item .tc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  padding-top: 3px;
}
.process-item h3 { margin-bottom: 4px; font-size: 1rem; }
.process-item p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 560px) {
  .process-item { grid-template-columns: 1fr; gap: 4px; }
}

.pricing-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  margin-bottom: 28px;
}
.pricing-note p { color: var(--ink-soft); margin-bottom: 0; max-width: none; }
.pricing-note p + p { margin-top: 12px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.pricing-tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.pricing-tier .tc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pricing-tier .amount {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 500;
  margin-block: 8px 6px;
}
.pricing-tier p.desc { color: var(--ink-soft); font-size: 0.88rem; }

@media (max-width: 780px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.availability {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.availability .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---------- page : projets ---------- */
.page-title { padding-block: 56px 8px; }
.page-title p { color: var(--ink-soft); margin-top: 14px; }

.references {
  padding-block: 32px 8px;
}
.references ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.references li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.references li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--line); }
.references li:nth-child(even) { padding-left: 24px; }
.references .tc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brass);
  white-space: nowrap;
  padding-top: 2px;
}

@media (max-width: 640px) {
  .references ul { grid-template-columns: 1fr; }
  .references li:nth-child(odd) { padding-right: 0; border-right: none; }
  .references li:nth-child(even) { padding-left: 0; }
}

.projects {
  padding-block: 48px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--line);
}
.project-card h3 { margin-bottom: 6px; }
.project-card p { color: var(--ink-soft); font-size: 0.92rem; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .project-grid { grid-template-columns: 1fr; }
}

.listening {
  padding-block: 20px 72px;
}
.listening-list {
  border-top: 1px solid var(--line);
}
.listening-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.listening-item .tc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--brass);
}
.listening-item h3 { font-size: 1rem; }
audio { width: 100%; height: 36px; }

@media (max-width: 640px) {
  .listening-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- page : contact ---------- */
.contact {
  padding-block: 64px 88px;
}
.contact-card {
  max-width: 480px;
  margin-inline: auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  background: var(--white);
}
.contact-card p.lead { color: var(--ink-soft); margin-inline: auto; margin-bottom: 24px; }
.contact-card h3 { margin-bottom: 6px; }
.contact-card .detail {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 4px;
}
.contact-card .detail:hover { color: var(--brass); }
.social {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.social a {
  display: inline-flex;
  color: var(--ink);
  transition: color 0.2s ease;
}
.social a:hover { color: var(--brass); }
