/* ============================================================
   Ready2Perform — Benoit Foucher
   Minimalist site — modelled on scienceofselling.co
   White background, black text. Typography/colour to refine later.
   ============================================================ */

:root {
  --bg:    #f7f7f5;       /* soft white */
  --ink:   #0f1c2e;       /* dark blue — text, headings */
  --body:  #3a4554;       /* slate-navy body copy */
  --muted: #6b7280;       /* secondary / captions */
  --accent:#d4af37;       /* classic rich gold — fills, accents */
  --accent-d:#b8941f;     /* darker gold (hover) */
  --gold-deep:#9c7c1f;    /* deeper gold for small text (legibility) */
  --line:  #e6e2d8;       /* warm hairlines */
  --line-2:#d9d4c7;
  --soft:  #efede6;       /* faint warm tint for alternating sections */

  --maxw: 1080px;
  --measure: 720px;       /* prose width */
  --ease: cubic-bezier(.22,.61,.36,1);

  --font:      "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-disp: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { color: var(--ink); font-family: var(--font-disp); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.4rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }

p { color: var(--body); }
strong { color: var(--ink); font-weight: 600; }
em { font-style: italic; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(22px, 6vw, 40px); }
.section { padding: clamp(64px, 11vw, 150px) 0; }
.divider { border: 0; border-top: 1px solid var(--line); }

.measure { max-width: var(--measure); }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.5rem;
}

.lead { font-size: clamp(1.12rem, 1.7vw, 1.4rem); color: var(--body); line-height: 1.6; }
.prose p + p { margin-top: 1.25rem; }
.prose p { color: #333; }

/* ---------- links & buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: 1rem; font-weight: 600; padding: .92rem 1.8rem; border-radius: 6px;
  background: var(--accent); color: var(--ink); border: 1px solid var(--accent);
  transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.88); color: var(--ink); opacity: 1; }

/* dark closing band (Steps 11 + 12) */
.closing { background: var(--ink); color: #fff; }
.closing .eyebrow { color: var(--accent); }
.closing h2 { color: #fff; }
.closing h2 em { color: var(--accent); }
.closing p { color: rgba(255,255,255,.82); }
.closing p + p { margin-top: 1.2rem; }

.tlink { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: opacity .2s; }
.tlink:hover { opacity: .6; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 2.2rem; }
.cta-row.center { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,247,245,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a { font-size: .95rem; color: #444; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 1.9rem; }
.lang { font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
.lang a { color: var(--muted); transition: color .2s; }
.lang a:hover { color: var(--ink); }
.lang a.on { color: var(--ink); font-weight: 600; }
.lang .sep { color: var(--line-2); margin: 0 .3rem; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100vh - 70px);
  display: flex; align-items: center;
  padding: clamp(48px, 9vw, 96px) 0;
}
.hero .measure { max-width: 980px; margin: 0 auto; }   /* wider so the headline sits on ~3 lines */
.hero h1 { margin-bottom: 1.7rem; text-wrap: balance; }
.hero .lead { color: var(--body); max-width: 40rem; margin-left: auto; margin-right: auto; }
.hero .eyebrow { margin-bottom: 1.6rem; }

/* ---------- proof strip ---------- */
.proofbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.proofbar .row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; color: var(--muted); font-size: .92rem; }
.proofbar .row span { white-space: nowrap; }
.proofbar .row span + span::before { content: "·"; margin-right: 2rem; color: var(--line-2); }

/* ---------- taken-apart / columns ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 3.4rem; }
.col h3 { margin-bottom: .6rem; }
.col .sub { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.col p { font-size: 1rem; color: #444; }

/* ---------- list of links (Start here) ---------- */
.linklist { margin-top: 3rem; border-top: 1px solid var(--line); }
.linkrow { display: block; padding: 1.7rem 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease); }
.linkrow:hover { padding-left: 10px; }
.linkrow .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.linkrow h3 { margin: .35rem 0 .3rem; }
.linkrow p { font-size: .98rem; color: #555; }
.linkrow .more { font-size: .9rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- featured quote ---------- */
.feature-quote { max-width: 820px; margin: 0 auto; text-align: center; }
.feature-quote blockquote { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.4; color: var(--ink); font-weight: 500; letter-spacing: -.01em; }
.feature-quote .cite { margin-top: 1.8rem; color: var(--muted); font-size: .95rem; }
.feature-quote .cite strong { color: var(--ink); }

/* ---------- founder split ---------- */
.split { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev { grid-template-columns: 1fr 320px; }
.split.feature { grid-template-columns: 440px 1fr; }
.split img { border-radius: 8px; width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split h2 { margin-bottom: 1rem; }

/* credentials fact list */
.facts { list-style: none; margin-top: 1.7rem; }
.facts li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts li strong { font-weight: 600; }

/* benefits — hover-lift boxes (Step 5) */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.8rem; }
.benefits li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.7rem 1.6rem;
  color: var(--body); font-size: .98rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.benefits li::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); margin-bottom: 1.1rem; }
.benefits li:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -24px rgba(18,22,28,.45); border-color: var(--line-2); }
.benefits li strong { display: block; color: var(--ink); font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem; letter-spacing: -.01em; }
@media (min-width: 861px) and (max-width: 1080px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }

/* About hero portrait (circular, legacy/centered) */
.portrait-hero { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.9rem; box-shadow: 0 14px 34px -18px rgba(18,22,28,.45); }

/* About hero — two columns: portrait left, text right */
.hero-split { display: grid; grid-template-columns: 420px 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; width: 100%; }
.hero-split .about-portrait { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; box-shadow: 0 18px 44px -22px rgba(18,22,28,.4); }
.hero-split .eyebrow { margin-bottom: 1.2rem; }
.hero-split h1 { margin-bottom: 1.4rem; }
.hero-split .lead { margin: 0; max-width: 34rem; }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; gap: 1.8rem; } .hero-split .about-portrait { max-width: 320px; } }

/* offer panel (Step 7) */
.offer-panel {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 48px);
  max-width: 920px; margin: 2.8rem auto 0; background: #fff; border: 1px solid var(--line-2);
  border-radius: 16px; padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: 0 24px 54px -30px rgba(18,22,28,.35);
  align-items: start;
}
.offer-incl h3 { margin-bottom: .2rem; }
.offer-incl .facts { margin-top: .9rem; }
.offer-incl .facts li { font-size: .96rem; }
.offer-price { text-align: center; align-self: center; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.price-big { font-family: var(--font-disp); font-size: clamp(2.4rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.price-sub { color: var(--muted); margin: .45rem 0 1.5rem; font-size: .95rem; }
.offer-price .btn { width: 100%; }
.price-note { margin-top: 1rem; font-size: .84rem; color: var(--muted); }
@media (max-width: 760px) { .offer-panel { grid-template-columns: 1fr; } .offer-price { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1.6rem; } }

/* testimonials (Step 6) */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.testimonials figure { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.testimonials figure:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -24px rgba(18,22,28,.4); }
.testimonials blockquote { font-family: var(--font-disp); font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.testimonials figcaption { margin-top: 1.2rem; font-size: .88rem; color: var(--muted); }
.testimonials figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.proof-photo { margin-top: 2.6rem; }
.proof-photo img { width: 100%; height: auto; border-radius: 12px; }
.proof-photo figcaption { margin-top: .9rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 860px) { .testimonials { grid-template-columns: 1fr; } }

/* testimonial alongside a photo (uses .split) */
.split blockquote { font-family: var(--font-disp); font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.36; color: var(--ink); font-weight: 500; }
.split .cite { margin-top: 1.2rem; color: var(--muted); font-size: .95rem; }
.split .cite strong { color: var(--ink); }

/* ---------- services ---------- */
.offer-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2.5rem; padding: 2.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.offer-row .k { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.offer-row h3 { margin-bottom: .6rem; }
.offer-row p { font-size: 1rem; color: #444; max-width: 46ch; }
.offer-row .right { text-align: right; white-space: nowrap; }
.offer-row .price { font-size: 1.5rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.offer-row .price small { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: .2rem; }
.offer-row .right a { display: inline-block; margin-top: 1rem; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 0; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; transition: border .25s;
}
.field input::placeholder, .field textarea::placeholder { color: #aaa; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.aside h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.aside p { font-size: .95rem; color: #555; }
.aside .block { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3.4rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.4rem; }
.footer .brand { font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: .92rem; color: #555; }
.footer-links a:hover { color: var(--ink); }
.footer .copy { width: 100%; margin-top: 1.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .cols { grid-template-columns: 1fr; gap: 2.2rem; }
  .split, .split.rev { grid-template-columns: 1fr; }
  .split img { max-width: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 1.1rem clamp(22px,6vw,40px) 1.6rem; gap: 1rem; border-bottom: 1px solid var(--line); }
  .offer-row { grid-template-columns: 1fr; }
  .offer-row .right { text-align: left; }
  .offer-row .right a { margin-top: .6rem; }
}
