/* ============================================================
   JOHAN Plombier Paris 18
   Palette : risograph deux encres — rose fluo + bleu roi, papier
   ============================================================ */

:root {
  --bg: #f7f5ea;
  --paper: #fffdf4;
  --ink-a: #ff48b0;
  --ink-b: #1f3fff;
  --ink: #14121c;
  --ink-soft: #4a4658;
  --rule: rgba(20, 18, 28, 0.16);
  --tint: rgba(31, 63, 255, 0.045);
  --shadow: 0 1px 0 rgba(20, 18, 28, 0.06), 0 18px 40px -28px rgba(20, 18, 28, 0.35);
  --radius: 4px;
  --wrap: 1180px;
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121c;
    --paper: #1c1a26;
    --ink-a: #ff6cc0;
    --ink-b: #7d92ff;
    --ink: #f4f1e6;
    --ink-soft: #b3aec4;
    --rule: rgba(244, 241, 230, 0.18);
    --tint: rgba(125, 146, 255, 0.07);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 55% at 8% -5%, rgba(255, 72, 176, 0.20) 0%, transparent 62%),
    radial-gradient(ellipse 65% 60% at 100% 8%, rgba(31, 63, 255, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 80% 50% at 50% 108%, rgba(255, 72, 176, 0.10) 0%, transparent 60%);
  background-attachment: fixed;
  text-wrap: pretty;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body {
    background-image:
      radial-gradient(ellipse 70% 55% at 8% -5%, rgba(255, 108, 192, 0.16) 0%, transparent 62%),
      radial-gradient(ellipse 65% 60% at 100% 8%, rgba(125, 146, 255, 0.16) 0%, transparent 58%),
      radial-gradient(ellipse 80% 50% at 50% 108%, rgba(255, 108, 192, 0.08) 0%, transparent 60%);
  }
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink-b);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

/* ---------- Typographie : axe de largeur qui respire ---------- */

h1, h2, h3 { line-height: 1.06; margin: 0; letter-spacing: -0.015em; }

h1, h2 {
  font-variation-settings: "wdth" 88, "wght" 700;
  animation: breathe 7s ease-in-out infinite;
}

h1 { font-size: clamp(2.15rem, 1.3rem + 4.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 2.4vw, 2.7rem); }

@keyframes breathe {
  0%, 100% { font-variation-settings: "wdth" 78, "wght" 700; }
  50%      { font-variation-settings: "wdth" 118, "wght" 700; }
}

/* ---------- Bandeau défilant ---------- */

.ticker {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  border-bottom: 2px solid var(--ink-a);
}

.ticker__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding-block: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: scroll 42s linear infinite;
}

.ticker__track span { flex: none; }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem clamp(1.15rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--ink-a);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--ink-b);
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.05rem; letter-spacing: 0.06em; }
.brand__text em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav { display: flex; gap: 1.35rem; }

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.site-nav a:hover { border-bottom-color: var(--ink-a); }

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  background: var(--ink-b);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2px;
  box-shadow: 3px 3px 0 var(--ink-a);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.call-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink-a); }

.call-btn__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  border: 2px solid var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn--primary {
  background: var(--ink-a);
  color: #fff;
  border-color: var(--ink-a);
  box-shadow: 4px 4px 0 var(--ink-b);
}

.btn--primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink-b); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--invert {
  background: var(--bg);
  color: var(--ink-b);
  border-color: var(--bg);
  box-shadow: 4px 4px 0 var(--ink-a);
  white-space: nowrap;
}

.btn--invert:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink-a); }

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

.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-b);
  margin: 0 0 1rem;
}

.hero h1 { margin-bottom: 1.1rem; }

.lede {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 1.75rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.25rem; }

.hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
}

.hero__facts li { display: flex; flex-direction: column; gap: 0.2rem; }

.hero__facts strong {
  font-size: 1.25rem;
  color: var(--ink-a);
  font-variation-settings: "wdth" 95, "wght" 700;
}

.hero__facts span { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.4; }

.hero__figure {
  margin: 0;
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.6rem;
  box-shadow: 8px 8px 0 var(--ink-a);
}

.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero__figure figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding-top: 0.6rem;
  line-height: 1.5;
}

/* ---------- Bandeau bleu ---------- */

.band { background: var(--ink-b); color: #fff; }

.band__grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.band__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink-a);
  white-space: nowrap;
}

.band__line { margin: 0; font-size: 1rem; line-height: 1.55; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--rule);
}

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { margin-bottom: 0.85rem; }
.section__head p { margin: 0; color: var(--ink-soft); }

/* ---------- Menu / prestations ---------- */

.menu { display: grid; gap: clamp(2rem, 4vw, 3rem); }

.menu__group h3 {
  font-size: 1.15rem;
  font-variation-settings: "wdth" 92, "wght" 700;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.menu__group h3::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ink-a);
  transform: translateY(-3px);
}

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--rule);
}

.item__name {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-weight: 600;
}

.item__name em {
  font-style: normal;
  font-weight: 400;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.item__price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-b);
  white-space: nowrap;
}

.menu__note {
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 70ch;
  border-left: 3px solid var(--ink-a);
  padding-left: 1rem;
}

/* ---------- Étapes ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.5rem 1.35rem;
  box-shadow: 5px 5px 0 var(--ink-b);
}

.step:nth-child(2) { box-shadow: 5px 5px 0 var(--ink-a); }

.step__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ink-a);
  margin-bottom: 0.6rem;
}

.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Galerie ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.gallery figure {
  margin: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0.5rem;
}

.gallery img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; }

.gallery figcaption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-top: 0.55rem;
}

.hood {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rule);
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

.hood__col h3 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-b);
  margin-bottom: 0.6rem;
}

.hood__col p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Avis ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.quotes blockquote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink-a);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.quotes blockquote:nth-child(even) { border-left-color: var(--ink-b); }

.quotes p { margin: 0 0 0.85rem; font-size: 0.98rem; }

.quotes cite {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

/* ---------- Cartes contact ---------- */

.footer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 1.6rem 1.5rem;
  box-shadow: 6px 6px 0 var(--ink-a);
}

.card--place { box-shadow: 6px 6px 0 var(--ink-b); }
.card--call { box-shadow: 6px 6px 0 var(--ink); }

.card h3 {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.hours { list-style: none; margin: 0 0 1rem; padding: 0; }

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.35rem;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.9rem;
}

.hours li span:last-child { font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink-b); }

.card address { font-style: normal; font-size: 1rem; line-height: 1.6; margin-bottom: 0.9rem; }

.card__note { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.85rem; line-height: 1.55; }
.card__note:last-child { margin-bottom: 0; }

.card--place .btn { margin-top: 0.35rem; }

.phone-big {
  display: block;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  font-weight: 800;
  font-variation-settings: "wdth" 95, "wght" 800;
  text-decoration: none;
  color: var(--ink-a);
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.phone-big:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Citation de clôture ---------- */

.closing {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--rule);
}

.closing__quote {
  font-size: clamp(1.25rem, 1rem + 1.5vw, 1.9rem);
  line-height: 1.35;
  font-variation-settings: "wdth" 85, "wght" 600;
  max-width: 34ch;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.closing__sig {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: clamp(2.25rem, 5vw, 3.25rem) 1.75rem;
}

.footer__top { margin-bottom: 1.75rem; }

.footer__name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.footer__meta { margin: 0 0 0.25rem; font-size: 0.88rem; color: rgba(247, 245, 234, 0.72); }
.footer__meta a { color: var(--ink-a); text-decoration: none; }
.footer__meta a:hover { text-decoration: underline; }

.claim-wrap { margin: 0 0 1.25rem; }

.claim-banner {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.75rem;
  color: rgba(247, 245, 234, 0.78);
  background: rgba(247, 245, 234, 0.07);
  border: 1px solid rgba(247, 245, 234, 0.18);
  border-radius: 2px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.claim-banner:hover { background: rgba(247, 245, 234, 0.14); color: #fff; }

.muted { font-size: 0.75rem; color: rgba(247, 245, 234, 0.5); margin: 0; }
.muted a { color: rgba(247, 245, 234, 0.7); text-decoration: none; }
.muted a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .band__grid { grid-template-columns: 1fr; }
  .band__kicker { margin-bottom: 0.25rem; }
  .steps,
  .gallery,
  .hood,
  .footer-cards { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .site-nav { order: 3; width: 100%; gap: 1rem; overflow-x: auto; }
}

@media (max-width: 560px) {
  .hero__facts { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero__facts li { flex-direction: row; align-items: baseline; gap: 0.6rem; }
  .hero__facts strong { font-size: 1.05rem; }
  .item { grid-template-columns: 1fr; gap: 0.2rem; }
  .item__price { justify-self: start; }
  .brand__text em { display: none; }
  .call-btn { padding: 0.55rem 0.85rem; font-size: 0.88rem; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  h1, h2 { font-variation-settings: "wdth" 92, "wght" 700; }
  .ticker__track { transform: none; }
}
