/* Colours sampled from the business cards: the indigo night, the lilac, the moon's silver. */
:root {
  --nuit: #494a92;
  --nuit-profonde: #2f3068;
  --lilas: #d6d3e6;
  --lilas-clair: #f1f0f7;
  --encre: #22224f;
  --encre-douce: #55557e;
  --argent: #c8c3ae;
  --etoile: #1b2a4b;
  --blanc: #ffffff;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --script: 'Great Vibes', 'Snell Roundhand', cursive;
  --sans: Jost, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 96px);
  --max: 1160px;
  --icon-line: var(--nuit);
  --icon-tone: rgba(73, 74, 146, 0.14);
  --icon-accent: #a89d6f;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--lilas-clair);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h2 { font-size: clamp(32px, 4.2vw, 50px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }

.script {
  font-family: var(--script);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1;
  color: var(--nuit);
  margin: 0 0 0.25em;
}

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1em;
  height: 1em;
  color: var(--icon-line);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

/* Buttons ------------------------------------------------------------ */
.button {
  display: inline-block;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--nuit);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(20, 20, 60, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(20, 20, 60, 0.26); }
.button:focus-visible, a:focus-visible, input:focus-visible + span, textarea:focus-visible, input[type="text"]:focus-visible {
  outline: 2px solid var(--argent);
  outline-offset: 3px;
}

.button-small {
  padding: 9px 20px;
  white-space: nowrap;
  font-size: 15px;
  background: var(--nuit);
  color: var(--blanc);
  box-shadow: none;
}

.button-small:hover { background: var(--nuit-profonde); box-shadow: none; }

.text-link {
  color: var(--lilas);
  text-decoration: underline;
  text-decoration-color: rgba(214, 211, 230, 0.5);
  text-underline-offset: 5px;
}

.text-link:hover { color: var(--blanc); }

/* Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  background: rgba(241, 240, 247, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(73, 74, 146, 0.12);
}

.wordmark {
  font-family: var(--script);
  font-size: 32px;
  line-height: 1;
  color: var(--nuit);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
}

.site-nav a {
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
  color: var(--encre-douce);
}

.site-nav a:hover { color: var(--nuit); }

/* Twinkling sparkles, drawn like the stars on the cards. */
.sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.sky svg {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  fill: var(--etoile);
  animation: twinkle 4.5s ease-in-out var(--d) infinite;
}

.sky svg:nth-child(even) { fill: var(--argent); }

@keyframes twinkle {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

/* Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: var(--blanc);
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--argent);
  margin-bottom: 1.2em;
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 500;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--lilas);
}

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 34em;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 32px;
}

.hero-logo { width: 100%; max-width: 520px; justify-self: center; }

/* Sections ----------------------------------------------------------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}

.section-head p:not(.script) { color: var(--encre-douce); }

/* Vous vous reconnaissez */
.quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quotes li {
  padding: 28px 32px;
  background: var(--blanc);
  border-radius: 18px;
  border-left: 3px solid var(--lilas);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.4;
}

.recognize-close {
  text-align: center;
  margin: 40px 0 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--nuit);
}

/* Accompagnement */
.offer { padding-top: 0; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  padding: 36px 32px;
  background: var(--blanc);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(73, 74, 146, 0.08);
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--lilas-clair);
  font-size: 34px;
}

.pillar p { color: var(--encre-douce); }

.pillar ul {
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--lilas);
  font-size: 15px;
}

.pillar li { position: relative; padding-left: 22px; margin-bottom: 6px; }

.pillar li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--icon-accent);
  font-size: 12px;
  top: 3px;
}

/* La PNL band */
.band {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: var(--blanc);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.band .script { color: var(--lilas); }

.band-moon {
  position: absolute;
  top: clamp(24px, 4vw, 56px);
  right: clamp(-40px, 3vw, 64px);
  width: clamp(90px, 12vw, 165px);
  filter: drop-shadow(0 0 40px rgba(255, 255, 240, 0.25));
}

.band-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}

.band-text h2 { max-width: 14em; }
.band-text p:not(.script) { color: rgba(255, 255, 255, 0.86); max-width: 36em; }

.principles { list-style: none; margin: 0; padding: 0; }

.principles li {
  padding: 22px 0;
  border-top: 1px solid rgba(214, 211, 230, 0.3);
}

.principles h3 { font-size: 22px; color: var(--lilas); margin-bottom: 0.3em; }
.principles p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.8); }

/* Déroulement */
.step-list {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step-list li { counter-increment: step; position: relative; padding-top: 72px; }

.step-list li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--nuit);
  font-family: var(--serif);
  font-size: 26px;
  color: var(--nuit);
}

/* The dotted trail joining the steps, like the trail of stars on the card's back. */
.step-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 26px;
  left: 66px;
  right: -14px;
  border-top: 2px dotted rgba(73, 74, 146, 0.35);
}

.step-list p { color: var(--encre-douce); font-size: 16px; }

/* À propos */
.about {
  background: var(--lilas);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about-logo { width: 100%; max-width: 460px; justify-self: center; }
.about-text p:not(.script) { color: var(--encre); }

.about blockquote {
  margin: 28px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--nuit);
}

.about blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.4;
  color: var(--nuit);
}

/* Contact ------------------------------------------------------------ */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--nuit-profonde);
  color: var(--blanc);
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}

.contact .script { color: var(--lilas); }

.contact-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.contact-head {
  position: relative;
  max-width: 640px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: center;
}

.contact-head p:not(.script) { color: rgba(255, 255, 255, 0.86); }

/* The Google booking calendar sits on a white card: Google's page is white. */
.booking {
  position: relative;
  max-width: var(--max);
  margin: 0 auto clamp(56px, 7vw, 96px);
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--blanc);
  color: var(--encre);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  scroll-margin-top: 96px;
}

.booking-head { max-width: 640px; margin-bottom: 8px; }
.booking-head h3 { font-size: clamp(26px, 2.6vw, 32px); color: var(--nuit); }
.booking-head p { color: var(--encre-douce); }

.booking-frame iframe {
  display: block;
  width: 100%;
  height: 830px; /* Google's page doesn't report its height: sized to fit it, no inner scroll */
  border: 0;
}

.booking-pending {
  margin: 8px 0 0;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--lilas-clair);
  color: var(--nuit);
}

.booking.is-ready .booking-pending { display: none; }

.booking-fallback { margin: 12px 0 0; font-size: 14px; color: var(--encre-douce); }
.booking .button { background: var(--nuit); color: var(--blanc); }
.booking .button:hover { background: var(--nuit-profonde); }

.contact-intro h3 { font-size: clamp(26px, 2.6vw, 32px); }
.contact-intro > p { color: rgba(255, 255, 255, 0.86); }

.contact-email {
  display: inline-block;
  margin: 6px 0 36px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--blanc);
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

.contact-card {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  transform: rotate(-3deg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.contact-form {
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--lilas-clair);
  color: var(--encre);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.field { display: block; margin: 0 0 22px; padding: 0; border: 0; }

.field > span, .field legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--encre-douce);
}

.field input[type="text"], .field textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--blanc);
  border: 1px solid var(--lilas);
  border-radius: 12px;
  resize: vertical;
}

.field input[type="text"]:focus, .field textarea:focus { border-color: var(--nuit); outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chips input { position: absolute; opacity: 0; pointer-events: none; }

.chips span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--lilas);
  border-radius: 999px;
  background: var(--blanc);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chips input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--blanc); }

.contact-form .button { background: var(--nuit); color: var(--blanc); width: 100%; }
.contact-form .button:hover { background: var(--nuit-profonde); }

.form-note { margin: 16px 0 0; font-size: 14px; color: var(--encre-douce); }

/* Footer ------------------------------------------------------------- */
.site-footer {
  padding: 40px var(--gutter) 48px;
  background: var(--nuit-profonde);
  border-top: 1px solid rgba(214, 211, 230, 0.15);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-size: 15px;
}

.site-footer p { margin: 0 0 6px; }
.footer-name { font-family: var(--script); font-size: 34px; color: var(--blanc); line-height: 1.2; }
.footer-small { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* Reveal on scroll (site.js adds .reveal only when motion is welcome) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .step-list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step-list li:nth-child(2)::after { display: none; }
  .band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
  .site-nav { display: none; }
}

@media (max-width: 820px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 300px; }
  .hero-text { text-align: center; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .about-logo { max-width: 320px; }
  .quotes { grid-template-columns: 1fr; }
  .contact-card { max-width: 340px; margin-inline: auto; }
  .booking-frame iframe { height: 1290px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wordmark { font-size: 27px; }
  .step-list { grid-template-columns: 1fr; }
  .step-list li::after { display: none; }
  .quotes li { padding: 22px 24px; }
  .booking { padding: 24px 14px 18px; }
  .booking-head { padding: 0 8px; }
  .booking-frame iframe { height: 1420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sky svg { animation: none; }
  .button { transition: none; }
}
