/* Le Carpe.ai 0.4 : sobre et elegant */
:root { --deep: #0A0B17; }
body { background: #fff; }
.site-header { border-top: 0; box-shadow: 0 1px 0 rgba(12, 59, 95, 0.08); }
.site-header .wrap { height: 84px; align-items: center; padding: 0 48px; max-width: 1240px; }
.logo2 { margin-top: 0; }
.logo2 .nm { font-size: 27px; }
.logo2 .bl { color: #9A7B2E; font-weight: 600; letter-spacing: 0.01em; }
.nav { flex-direction: row; }
.nav .nav-sub { display: none; }
.nav-main { margin: 0; height: auto; gap: 6px; }
.nav-main a { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); padding: 0 12px; line-height: 84px; }
.nav-main a:hover { color: var(--red); }

.hero4 { position: relative; height: 540px; background: #fff; overflow: hidden; border-bottom: 6px solid #0F2436; }
.h4-tri { position: absolute; left: 0; top: 0; bottom: 0; width: 26%; background: linear-gradient(160deg, #24344A 0%, #0C1524 70%); clip-path: polygon(0 0, 100% 44%, 100% 56%, 0 100%); }
.h4-pan { position: absolute; right: 0; top: 0; bottom: 0; width: 26%; background: #0A0B17 url('/assets/img/bandeau-poisson-rouge.jpg') right center / cover no-repeat; clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 84%); }
.hero4-inner { position: absolute; left: 26%; right: 26%; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 12px; }
.hero4 h1 { font-family: var(--f-thin); font-weight: 100; font-size: 42px; line-height: 1.18; color: var(--ink); text-transform: uppercase; }
.hero4 h1 em { font-style: normal; color: var(--red); }
.l4 { margin-top: 26px; max-width: 520px; font-size: 20px; line-height: 1.5; font-weight: 400; color: #000; }
.k4 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); }

.w4 { max-width: 1140px; margin: 0 auto; padding: 0 48px; }
.dom4 { padding: 96px 0 72px; scroll-margin-top: 84px; }
.grid4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 36px; }
.d4 { border-top: 1px solid rgba(7, 33, 54, 0.18); padding-top: 26px; }
.n4 { font-family: var(--f-thin); font-weight: 300; font-size: 15px; letter-spacing: 0.1em; color: var(--red); }
.d4 h2 { margin-top: 14px; font-family: var(--f-thin); font-weight: 300; font-size: 28px; line-height: 1.2; color: var(--ink); }
.d4 p { margin-top: 14px; font-size: 15.5px; line-height: 1.7; font-weight: 300; color: #2B3440; }
.regle4 { margin-top: 60px; font-size: 14px; line-height: 1.6; color: #5A6470; max-width: 720px; }

.meth4 { background: var(--deep); padding: 56px 0; }
.meth4 p { font-family: var(--f-thin); font-weight: 100; font-size: 32px; line-height: 1.35; color: #fff; text-align: center; }
.meth4 b { font-weight: 300; color: #F3B262; }

.pub4 { padding: 96px 0 72px; scroll-margin-top: 84px; }
.pub4 h2 { margin-top: 14px; font-family: var(--f-thin); font-weight: 100; font-size: 40px; line-height: 1.2; color: var(--ink); }
.pubs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 44px; }
.p4 { display: block; }
.p4 img { width: 100%; height: auto; aspect-ratio: 262 / 369; object-fit: cover; box-shadow: 0 10px 30px rgba(11, 22, 38, 0.12); transition: transform 0.25s ease; }
.p4:hover img { transform: translateY(-4px); }
.pn { display: block; margin-top: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); }
.pt { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--ink); }
.lic4 { margin-top: 48px; font-size: 13px; line-height: 1.6; color: #5A6470; max-width: 760px; }

.con4 { border-top: 1px solid rgba(7, 33, 54, 0.1); padding: 56px 0 64px; }
.con4 p { font-size: 17px; font-weight: 300; color: var(--ink); }
.con4 a { color: var(--red); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* pied de page */
.f4 { border-top: 1px solid rgba(7, 33, 54, 0.1); padding: 40px 0 44px; background: #fff; }
.f4-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.f4-b { display: block; font-family: var(--f-thin); font-weight: 300; font-size: 22px; color: var(--ink); }
.f4-b .ai { color: var(--red); }
.f4-s { display: block; margin-top: 4px; font-size: 13px; color: #9A7B2E; font-weight: 600; }
.f4-l { display: flex; gap: 24px; flex-wrap: wrap; }
.f4-l a { font-size: 13px; color: #5A6470; text-decoration: none; }
.f4-l a:hover { color: var(--red); }
.f4-o { margin-top: 22px; font-size: 12px; color: #8A929B; }

/* pages secondaires */
.legal, .lb-page { background: #fff; }

@media (max-width: 960px) {
  .grid4 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pubs4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 900px) {
  .site-header .wrap { height: 68px; padding: 0 16px; }
  .nav { flex-direction: column; }
  .nav-main a { line-height: 24px; padding: 10px 0; }
  .hero4 { height: auto; }
  .h4-tri { width: 34%; height: 200px; bottom: auto; }
  .h4-pan { position: relative; display: block; margin-left: auto; width: 62%; height: 200px; bottom: auto; }
  .hero4-inner { position: relative; left: auto; right: auto; padding: 28px 20px 48px; }
  .hero4 h1 { font-size: 30px; }
  .l4 { font-size: 17px; }
  .w4 { padding: 0 20px; }
  .dom4, .pub4 { padding: 64px 0 48px; }
  .meth4 p { font-size: 24px; padding: 0 8px; }
  .pub4 h2 { font-size: 30px; }
  .f4-l { gap: 10px 20px; }
}

/* 0.5 : Le Carpe Consulting */
.logo5 { display: block; }
.logo5 img { display: block; width: 220px; height: auto; }
.hero4 h1 .nw { white-space: nowrap; }
.hero4 h1 { font-size: 38px; line-height: 1.15; }
.hero4 h1 .h1b { display: block; margin-top: 14px; font-size: 24px; line-height: 1.3; letter-spacing: 0.02em; }
.l4 { font-size: 18px; max-width: 580px; }
.meth4 { padding: 60px 0; }
.meth4 .m5a { font-family: var(--f-thin); font-weight: 100; font-size: 27px; line-height: 1.4; color: #fff; text-align: center; max-width: 900px; margin: 0 auto; }
.meth4 .m5b { margin: 20px auto 0; font-family: var(--f-body); font-size: 15px; line-height: 1.6; color: #F3B262; text-align: center; letter-spacing: 0.02em; }
.sub5 { margin-top: 10px; font-size: 16px; font-weight: 300; color: #5A6470; }
.p4a { display: block; text-decoration: none; }
.p4:hover img { transform: none; }
.p4a:hover img { transform: translateY(-4px); }
.pp5 { display: block; margin-top: 8px; font-size: 13px; line-height: 1.5; font-weight: 300; color: #5A6470; }
.pp5 a, .lbp5 a { white-space: nowrap; color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; }
.lbp5 { margin: 0 auto 18px; max-width: 900px; text-align: center; font-size: 15px; color: #5A6470; }
.pass5 { padding: 0 0 88px; }
.pass5-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; padding-top: 40px; background: linear-gradient(rgba(7, 33, 54, 0.18), rgba(7, 33, 54, 0.18)) 48px 0 / calc(100% - 96px) 1px no-repeat; }
.pass5 h2 { margin-top: 12px; font-family: var(--f-thin); font-weight: 100; font-size: 40px; line-height: 1.1; color: var(--ink); }
.pass5 p:not(.k4) { font-size: 16px; line-height: 1.75; font-weight: 300; color: #2B3440; }
.pass5 p:not(.k4) + p { margin-top: 14px; }
@media (max-width: 900px) { .pass5-in { grid-template-columns: minmax(0, 1fr); gap: 16px; background-position: 20px 0; background-size: calc(100% - 40px) 1px; } .pass5 { padding-bottom: 60px; } }
.part5 { background: #fff; padding: 72px 0 76px; text-align: center; border-bottom: 1px solid rgba(7, 33, 54, 0.1); }
.part5-logo { display: inline-block; margin-top: 28px; }
.part5-logo img { display: block; width: 220px; height: auto; }
.part5-t { margin: 30px auto 0; max-width: 640px; font-family: var(--f-thin); font-weight: 300; font-size: 20px; line-height: 1.5; color: var(--ink); }
.part5-l { margin-top: 14px; font-size: 14px; letter-spacing: 0.04em; }
.part5-l a { color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; }
.part5 + .con4 { border-top: 0; }
@media (max-width: 900px) { .part5 { padding: 56px 0 60px; } .part5-logo img { width: 170px; } .part5-t { font-size: 18px; } }
.rec5 { background: #0A0B17; padding: 72px 0 80px; }
.rec5 .k4 { color: #F3B262; }
.rec5 ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; }
.rec5 li { font-family: var(--f-thin); font-weight: 300; font-size: 24px; line-height: 1.35; color: #fff; padding-left: 22px; border-left: 2px solid var(--red); }
@media (max-width: 900px) { .rec5 { padding: 56px 0 60px; } .rec5 ul { grid-template-columns: minmax(0, 1fr); } .rec5 li { font-size: 20px; } }
.dom4 .grid4 { margin-top: 28px; }
@media (max-width: 900px) {
  .logo5 img { width: 150px; }
  .hero4 h1 { font-size: 30px; }
  .hero4 h1 .h1b { font-size: 19px; }
  .l4 { font-size: 16px; }
  .meth4 .m5a { font-size: 21px; }
}
