/* ============================================
   Boris Duda — Coaching / Design tokens
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Color */
  --ink: #0e0d0b;
  --ink-soft: #14120f;
  --charcoal: #1a1815;
  --line: #2e2b26;
  --line-soft: #221f1b;
  --paper: #ede8de;
  --paper-dim: #cfc9bc;
  --stone: #a39c8e;
  --stone-dim: #766f62;
  --brass: #c6a15b;
  --brass-bright: #ddbd7c;
  --brass-deep: #8c723f;

  /* Type */
  --display: 'Spectral', Georgia, serif;
  --body: 'Manrope', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  /* Layout */
  --max: 1180px;
  --pad: clamp(24px, 5vw, 72px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

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

a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--paper);
}

p { margin: 0; }

.italic { font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 2px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-bright); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 13, 11, 0.88);
  backdrop-filter: blur(10px);
  border-color: var(--line-soft);
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-logo {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.nav-logo span { color: var(--brass); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  color: var(--stone);
}
.nav-links a { transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--paper); }

.nav-cta {
  padding: 10px 20px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  width: 42px;
  height: 42px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links:not(.mobile-open) { display: none; }
  .nav-links.mobile-open {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--ink-soft);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px var(--pad) 24px;
  }
  .nav-links.mobile-open a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: 140px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,0.55) 0%, rgba(14,13,11,0.75) 55%, var(--ink) 100%);
}

/* signature element: slow ambient "breath" glow */
.breath {
  position: absolute;
  top: 18%;
  left: 50%;
  width: 640px;
  height: 640px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,161,91,0.16) 0%, rgba(198,161,91,0) 70%);
  z-index: -1;
  animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .55; transform: translateX(-50%) scale(0.92); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .breath { animation: none; opacity: .8; }
}

.hero-inner {
  padding-bottom: 88px;
  max-width: 780px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-top: 18px;
}
.hero .sub {
  font-family: var(--display);
  font-style: italic;
  color: var(--brass-bright);
  font-weight: 400;
}
.hero-desc {
  margin-top: 26px;
  max-width: 540px;
  color: var(--paper-dim);
  font-size: 17px;
}
.hero-stat {
  margin-top: 20px;
  font-family: var(--display);
  font-style: italic;
  color: var(--stone);
  font-size: 15px;
}
.hero-cta { margin-top: 38px; }

/* ---------- Hero credibility (photo + bio) ---------- */
.hero-credibility {
  padding: 156px 0 40px;
}

/* ---------- Section basics ---------- */
section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 14px; }

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

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testimonial {
  background: var(--ink);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}
.testimonial-quote {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
}
.testimonial-author {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--stone);
}
.testimonial-author b { color: var(--brass); font-weight: 500; }

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

/* ---------- Coach / bio split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
  border: 1px solid var(--line);
  background: var(--charcoal);
}
.pull {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--brass-bright);
  line-height: 1.4;
  margin: 24px 0;
}
.body-copy p { margin-bottom: 18px; color: var(--paper-dim); }
.body-copy p:last-child { margin-bottom: 0; }

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

/* ---------- Cards (services) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  border: 1px solid var(--line);
  padding: 36px 30px;
  background: var(--ink-soft);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--brass-deep); transform: translateY(-4px); }
.card .eyebrow { display: block; margin-bottom: 14px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card .tag {
  font-family: var(--display);
  font-style: italic;
  color: var(--brass-bright);
  font-size: 15px;
  display: block;
  margin-bottom: 16px;
}
.card p { color: var(--stone); font-size: 14.5px; }

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

.cards.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
@media (max-width: 860px) {
  .cards.cols-2 { grid-template-columns: 1fr; }
}

/* ---------- Logos strip ---------- */
.logos-strip {
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}
.logos-strip span { color: var(--line); margin: 0 18px; }

/* ---------- Fit grid (pour qui / pas pour vous) ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.fit-col {
  background: var(--ink-soft);
  padding: 40px 36px;
}
.fit-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.fit-col.yes h3 { color: var(--brass-bright); }
.fit-col.no h3 { color: var(--stone-dim); }
.fit-list { list-style: none; padding: 0; margin: 0; }
.fit-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  gap: 14px;
  font-size: 14.5px;
  color: var(--paper-dim);
}
.fit-list li:first-child { border-top: none; }
.fit-col.no .fit-list li { color: var(--stone); }
.fit-mark {
  font-family: var(--mono);
  flex-shrink: 0;
  width: 16px;
}
.fit-col.yes .fit-mark { color: var(--brass); }
.fit-col.no .fit-mark { color: var(--stone-dim); }

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

/* ---------- Bullet list ---------- */
.bullets { list-style: none; padding: 0; margin: 28px 0; }
.bullets li {
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-dim);
  display: flex;
  gap: 16px;
}
.bullets li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 9px;
  flex-shrink: 0;
}

/* ---------- Timeline (À propos) ---------- */
.timeline {
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.timeline-item .eyebrow { padding-top: 4px; }
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.timeline-item p { color: var(--stone); font-size: 14.5px; max-width: 560px; }

@media (max-width: 700px) {
  .timeline-item { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  border: 1px solid var(--line);
  padding: 64px var(--pad);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(198,161,91,0.08), transparent 60%),
    var(--ink-soft);
}
.cta-banner h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 620px; margin: 16px auto 0; }
.cta-banner p { color: var(--stone); max-width: 520px; margin: 20px auto 0; }
.cta-banner .btn { margin-top: 32px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}
.contact-socials { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); }
.contact-socials a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--paper-dim);
  font-size: 15px;
  transition: color .2s ease, padding-left .2s ease;
}
.contact-socials a:hover { color: var(--brass-bright); padding-left: 6px; }
.contact-socials a span { font-family: var(--mono); font-size: 12px; color: var(--stone-dim); }

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

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad) 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--stone); }
.footer-nav a:hover { color: var(--brass-bright); }
.footer-socials { display: flex; gap: 24px; font-size: 14px; color: var(--stone); }
.footer-socials a:hover { color: var(--brass-bright); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--stone-dim);
}

/* ---------- Page header (non-home pages) ---------- */
.page-header {
  padding: 168px 0 60px;
}
.page-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: 18px; max-width: 700px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
