/* ==========================================================================
   La Collègue RH — Style « carnet de la collègue »
   Papier crème, traits à la main inspirés du logo (ligne + point terracotta,
   « Rh » manuscrit), annotations dans la marge.
   Polices : Lora (titres), Poppins (texte), La Belle Aurore (notes manuscrites)
   ========================================================================== */

:root {
  --olive: #434936;
  --olive-deep: #343A2B;
  --sage: #6D7261;
  --sage-soft: #E4E3D6;
  --paper: #FAF6EE;
  --paper-card: #FFFDF8;
  --cream: #F2E5D8;
  --terracotta: #BF8C5D;
  --terracotta-ink: #A2643A;   /* terracotta plus foncé pour le texte lisible */
  --ink: #2E3127;
  --ink-soft: #5C5F53;
  --line: #E2DACB;

  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Poppins', -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'La Belle Aurore', 'Segoe Script', cursive;

  --max: 1120px;
  --t: 220ms ease;

  /* Traits dessinés (SVG) */
  --souligne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 30 3, 60 10, 95 6 S 160 3, 198 7' fill='none' stroke='%23BF8C5D' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --cercle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'%3E%3Cpath d='M28 9 C 80 -1, 185 2, 195 26 C 203 48, 70 60, 20 47 C -6 39, 2 14, 46 6' fill='none' stroke='%23BF8C5D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  --crochet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12.5 C 6 14, 7.5 16.5, 9 19 C 12 12, 16 7, 21.5 3.5' fill='none' stroke='%23BF8C5D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --biffe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M1 6 C 50 3, 120 8, 199 4' fill='none' stroke='%236D7261' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.30 0 0 0 0 0.22 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--olive-deep);
  line-height: 1.2;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Écriture à la main ---------- */
.hand {
  font-family: var(--font-hand);
  color: var(--terracotta-ink);
  font-size: 1.55rem;
  line-height: 1.35;
  font-weight: 400;
}
.label {                         /* remplace les petits titres en majuscules */
  display: inline-block;
  font-family: var(--font-hand);
  color: var(--terracotta-ink);
  font-size: 1.45rem;
  margin-bottom: 8px;
  transform: rotate(-2deg);
  transform-origin: left center;
}
.bg-olive .label, .bg-olive .hand { color: var(--cream); }

.souligne {
  background-image: var(--souligne);
  background-repeat: no-repeat;
  background-size: 100% .38em;
  background-position: 0 100%;
  padding-bottom: .12em;
}
.encercle { position: relative; white-space: nowrap; }
.encercle::after {
  content: ""; position: absolute; inset: -.28em -.45em -.3em -.45em;
  background: var(--cercle) no-repeat center / 100% 100%;
  pointer-events: none;
}
.surligne {
  background: linear-gradient(100deg, rgba(191,140,93,0) 1%, rgba(191,140,93,.28) 3%, rgba(191,140,93,.22) 96%, rgba(191,140,93,0) 99%);
  background-size: 100% .55em; background-repeat: no-repeat; background-position: 0 85%;
  padding: 0 .1em;
}

/* Note dans la marge avec flèche */
.margin-note { position: relative; display: inline-flex; align-items: flex-start; gap: 6px; transform: rotate(-3deg); }
.margin-note svg { flex: none; width: 58px; height: 46px; margin-top: 4px; }
.margin-note .hand { max-width: 260px; }

/* Séparateur inspiré du logo : ligne — point — ligne */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto; max-width: 340px; padding: 8px 24px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1.5px; background: var(--terracotta); border-radius: 2px; opacity: .85; }
.divider span { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--olive);
  border-radius: 30px 24px 28px 22px / 22px 28px 24px 30px;   /* bords légèrement irréguliers */
  transition: background var(--t), color var(--t), transform var(--t);
}
.btn:hover { transform: translateY(-1px) rotate(-.4deg); }
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--olive-deep); }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--sage-soft); }
.btn-light { background: var(--paper); color: var(--olive-deep); border-color: var(--paper); }
.btn-light:hover { background: var(--cream); }
.link-hand {
  font-weight: 500; color: var(--olive-deep); text-decoration: none;
  background-image: var(--souligne); background-repeat: no-repeat; background-size: 100% 7px; background-position: 0 100%;
  padding-bottom: 6px;
}
.link-hand:hover { color: var(--terracotta-ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 34px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: rgba(250, 246, 238, .95);
  backdrop-filter: blur(6px);
}
.site-header::after {             /* trait de crayon sous l'en-tête */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 6px;
  background: var(--biffe) no-repeat center / 100% 100%; opacity: .45;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 36px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { text-decoration: none; font-size: .92rem; color: var(--ink-soft); padding: 6px 0; }
.main-nav a:hover { color: var(--olive-deep); }
.main-nav a[aria-current="page"] {
  color: var(--olive-deep);
  background-image: var(--souligne); background-repeat: no-repeat; background-size: 100% 6px; background-position: 0 100%;
}
.main-nav .nav-cta {
  border: 1.5px solid var(--olive); color: var(--olive); padding: 9px 18px;
  border-radius: 30px 24px 28px 22px / 22px 28px 24px 30px; background-image: none !important;
}
.main-nav .nav-cta:hover { background: var(--olive); color: var(--paper); }
.main-nav .lang-switch { font-size: .82rem; letter-spacing: .08em; color: var(--sage); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--olive); margin: 5px 0; border-radius: 2px; }
.nav-toggle span:nth-child(2) { width: 18px; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); padding: 8px 24px 22px; display: none;
    box-shadow: 0 14px 24px rgba(46,49,39,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .main-nav .nav-cta { margin-top: 16px; width: auto; border-bottom: 1.5px solid var(--olive); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.bg-cream { background: rgba(242, 229, 216, .55); }
.bg-olive { background-color: var(--olive); background-image: var(--grain); }
.bg-olive h1, .bg-olive h2, .bg-olive h3 { color: var(--paper); }
.bg-olive p { color: #DCDDD1; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Héros ---------- */
.hero { padding: 110px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1fr 250px; gap: 40px; align-items: end; }
.hero h1 { max-width: 820px; }
.hero .lede { font-size: 1.15rem; max-width: 640px; }
.hero-note { padding-bottom: 110px; }
.page-hero { padding: 90px 0 60px; }
.page-hero h1 { max-width: 820px; font-size: clamp(2rem, 4.2vw, 3.1rem); }
.page-hero .lede { font-size: 1.12rem; max-width: 660px; }
@media (max-width: 900px) {
  .hero { padding: 70px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-note { padding-bottom: 0; }
  .section { padding: 72px 0; }
  .page-hero { padding: 60px 0 36px; }
}

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .grid-2, .grid-3, .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Fiches (cartes de papier) ---------- */
.fiche {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line);
  padding: 38px 30px 28px;
  box-shadow: 0 1px 0 rgba(46,49,39,.04), 0 12px 26px -14px rgba(46,49,39,.22);
  transform: rotate(-.6deg);
}
.fiche:nth-child(2) { transform: rotate(.5deg); }
.fiche:nth-child(3) { transform: rotate(-.3deg); }
.fiche::before {                     /* bout de ruban adhésif */
  content: ""; position: absolute; top: -11px; left: 50%; width: 86px; height: 22px;
  transform: translateX(-50%) rotate(-2deg);
  background: rgba(191, 140, 93, .28);
  border-left: 1px dashed rgba(255,255,255,.5); border-right: 1px dashed rgba(255,255,255,.5);
}
.fiche .chiffre { font-family: var(--font-hand); font-size: 2.6rem; color: var(--terracotta-ink); line-height: 1; display: block; margin-bottom: 10px; }
.fiche h3 { margin-bottom: 10px; }
.fiche p { font-size: .96rem; margin: 0; }
.fiche .tags { margin-top: 18px; }

/* Petits papillons autocollants (citations) */
.post-its { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.post-it {
  background: #FBF1E4; padding: 26px 24px; min-height: 150px;
  font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--olive-deep); line-height: 1.5;
  box-shadow: 0 10px 22px -12px rgba(46,49,39,.35);
  transform: rotate(-1.4deg);
}
.post-it:nth-child(2) { transform: rotate(1deg) translateY(10px); background: #EEF0E6; }
.post-it:nth-child(3) { transform: rotate(-.5deg); }
@media (max-width: 900px) { .post-its { grid-template-columns: 1fr; } .post-it { min-height: 0; } }

/* ---------- Listes ---------- */
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding: 9px 0 9px 36px; color: var(--ink); }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px;
  background: var(--crochet) no-repeat center / contain;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.tags li {
  font-size: .82rem; padding: 4px 12px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 16px 12px 14px 10px; background: var(--paper);
}

/* ---------- Grande phrase ---------- */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.45;
  color: var(--olive-deep);
  margin: 0 auto;
  max-width: 860px;
}

/* ---------- Avant / après ---------- */
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.avant-apres h3 { font-family: var(--font-hand); font-weight: 400; font-size: 2rem; color: var(--sage); margin-bottom: 12px; }
.avant-apres .col-apres h3 { color: var(--terracotta-ink); }
.avant-apres ul { list-style: none; margin: 0; padding: 0; }
.avant-apres li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.col-avant li span {
  color: var(--ink-soft);
  background: var(--biffe) no-repeat 0 55% / 100% 10px;
}
.col-apres li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.col-apres li::before { content: ""; position: absolute; left: 0; top: 16px; width: 22px; height: 22px; background: var(--crochet) no-repeat center / contain; }
@media (max-width: 760px) { .avant-apres { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Forfait ---------- */
.forfait {
  position: relative; max-width: 820px; margin: 0 auto;
  background: var(--paper-card); border: 1px solid var(--line);
  padding: 56px 56px 44px;
  box-shadow: 0 18px 40px -22px rgba(46,49,39,.35);
  transform: rotate(-.35deg);
}
.forfait::before, .forfait::after {
  content: ""; position: absolute; top: -12px; width: 96px; height: 24px; background: rgba(191,140,93,.28);
}
.forfait::before { left: 36px; transform: rotate(-4deg); }
.forfait::after { right: 36px; transform: rotate(3deg); }
.forfait-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.forfait h3 { font-size: 2.1rem; margin: 0 0 6px; }
.forfait .prix { font-family: var(--font-display); font-size: 2.6rem; color: var(--olive-deep); line-height: 1; padding: 14px 22px; }
.forfait .prix small { font-family: var(--font-body); font-size: .9rem; color: var(--ink-soft); }
.forfait .prix-note { font-size: .82rem; color: var(--ink-soft); text-align: right; margin: 4px 0 0; }
.forfait .fine-print { font-size: .83rem; color: var(--ink-soft); margin: 20px 0 0; }
.forfait-note { position: absolute; right: -40px; bottom: -58px; }
@media (max-width: 1000px) { .forfait-note { position: static; margin-top: 28px; } }
@media (max-width: 700px) {
  .forfait { padding: 44px 24px 32px; transform: none; }
  .forfait .prix { padding-left: 0; }
  .forfait .prix-note { text-align: left; }
}

/* ---------- Photo « polaroïd » ---------- */
.polaroid {
  background: var(--paper-card); padding: 14px 14px 18px; margin: 0;
  box-shadow: 0 16px 32px -16px rgba(46,49,39,.4);
  transform: rotate(-2deg); max-width: 360px; position: relative;
}
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(3deg); background: rgba(109,114,97,.25); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.polaroid figcaption { font-family: var(--font-hand); color: var(--olive-deep); font-size: 1.35rem; text-align: center; margin-top: 12px; }

/* ---------- Service détaillé ---------- */
.service { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 44px 0; border-top: 1px dashed var(--line); }
.service:last-child { border-bottom: 1px dashed var(--line); }
.service .chiffre { font-family: var(--font-hand); font-size: 4rem; color: var(--terracotta-ink); line-height: .9; }
.service .verbe { font-family: var(--font-hand); color: var(--sage); font-size: 1.4rem; display: block; margin-bottom: 2px; }
.service .tags { margin-top: 18px; }
@media (max-width: 700px) { .service { grid-template-columns: 1fr; gap: 4px; } .service .chiffre { font-size: 3rem; } }

/* ---------- Ressource ---------- */
.ressource { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: center; }
.ressource img { transform: rotate(-2.5deg); box-shadow: 0 20px 40px -18px rgba(46,49,39,.45); }
@media (max-width: 760px) { .ressource { grid-template-columns: 1fr; } .ressource img { max-width: 230px; } }

/* ---------- Contact ---------- */
.coordonnees { list-style: none; padding: 0; margin: 0; }
.coordonnees li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.coordonnees .quoi { font-family: var(--font-hand); color: var(--terracotta-ink); font-size: 1.3rem; display: block; line-height: 1.2; }
.coordonnees a { color: var(--olive-deep); }
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 0; }
.etapes li { counter-increment: e; position: relative; padding: 4px 0 18px 46px; color: var(--ink); }
.etapes li::before { content: counter(e); position: absolute; left: 4px; top: -8px; font-family: var(--font-hand); font-size: 2.2rem; color: var(--terracotta-ink); }
.calendly-inline-widget { min-width: 320px; height: 720px; background: var(--paper-card); border: 1px solid var(--line); }

/* ---------- Appel à l'action ---------- */
.cta-band { padding: 96px 0; text-align: center; }
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-band .actions { justify-content: center; }
.cta-band .hand { display: block; margin-bottom: 14px; font-size: 1.7rem; transform: rotate(-2deg); }

/* ---------- Pied de page ---------- */
.site-footer { background-color: var(--olive-deep); background-image: var(--grain); color: #C9CBBE; padding: 70px 0 30px; font-size: .9rem; }
.site-footer p { color: #C9CBBE; }
.footer-top { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px dashed rgba(250,246,238,.2); }
.footer-top .logo img { height: 32px; margin-bottom: 14px; }
.footer-signature { font-family: var(--font-hand); color: var(--cream); font-size: 1.45rem; line-height: 1.3; }
.footer-title { font-family: var(--font-hand); font-size: 1.35rem; color: var(--terracotta); display: block; margin-bottom: 8px; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { text-decoration: none; color: #E6E6DC; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; font-size: .8rem; color: #A6A99A; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Apparition douce ---------- */
.reveal { opacity: 0; translate: 0 12px; transition: opacity 650ms ease, translate 650ms ease; }
.reveal.in-view { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; } }

/* Petit surtitre en texte standard (pour les sigles comme OBNL, peu lisibles en manuscrit) */
.kicker { display: inline-block; font-size: .9rem; font-weight: 500; color: var(--sage); margin-bottom: 18px; letter-spacing: .02em; }
.kicker::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); margin-right: 10px; vertical-align: middle; }
.forfait .prix small { margin-left: .55em; }
.forfait-note { right: -24px; bottom: -78px; }

/* ---------- Pages simples (diagnostic, remerciements) ---------- */
.lp-top { text-align: center; padding: 34px 24px 10px; }
.lp-top img { height: 40px; width: auto; margin: 0 auto; }
.lp-hero { padding: 40px 0 70px; }
.lp-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.lp-grid .couverture img { max-width: 320px; width: 100%; margin: 0 auto; transform: rotate(-2.5deg); box-shadow: 0 22px 44px -18px rgba(46,49,39,.45); }
@media (max-width: 860px) { .lp-grid { grid-template-columns: 1fr; gap: 36px; } .lp-grid .couverture img { max-width: 240px; } }
.lp-form { max-width: 600px; margin: 0 auto; transform: rotate(-.3deg); }
.lp-form iframe { width: 100%; min-height: 400px; border: 0; display: block; }
.lp-trust { text-align: center; padding: 34px 24px 56px; color: var(--ink-soft); font-size: .85rem; }

.merci { max-width: 680px; margin: 0 auto; padding: 50px 24px 90px; text-align: center; }
.merci .crochet-grand { width: 86px; height: 86px; margin: 0 auto 18px; background: var(--crochet) no-repeat center / 70%; border-radius: 50%; position: relative; }
.merci .crochet-grand::after { content: ""; position: absolute; inset: -4px; background: var(--cercle) no-repeat center / 100% 100%; }
.merci .fiche { text-align: left; margin: 34px auto 0; transform: rotate(-.4deg); }
.merci .fiche h2 { font-size: 1.4rem; }
.merci .etapes li { color: var(--ink-soft); }
.merci .actions { justify-content: center; }
