/* ObjectiveAI — feuille de style unique
   Palette : orangés (signal, brûlé, ambre, abricot) sur blanc, encre aubergine. */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Literata"; src: url("/fonts/literata-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --paper: #ffffff;
  --abricot: #fff1e6;
  --abricot-2: #ffe2cc;
  --signal: #ee6a1f;
  --brule: #a8400e;
  --orange-fonce: #c24a10;
  --ambre: #f5a33c;
  --encre: #241b2f;
  --gris: #5d5463;
  --trait: #f0d9c8;
  --display: "Bricolage", "Helvetica Neue", Arial, sans-serif;
  --text: "Literata", Georgia, serif;
  --wrap: 72rem;
  --narrow: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--encre); font-family: var(--text); font-size: 1.125rem; line-height: 1.65; }
img { max-width: 100%; }
a { color: var(--brule); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--encre); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.wrap.narrow { width: min(100% - 2.5rem, var(--narrow)); }
.muted { color: var(--gris); font-size: 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* Boutons et liens forts */
.btn { display: inline-block; font-family: var(--display); font-weight: 650; font-size: 1.05rem; background: var(--brule); color: #fff; text-decoration: none; padding: .85rem 1.4rem; border-radius: 999px; transition: background .15s; }
.btn:hover { background: var(--encre); color: #fff; }
.btn-small { font-size: .95rem; padding: .55rem 1.05rem; }
.btn-light { background: #fff; color: var(--brule); }
.btn-light:hover { background: var(--encre); color: #fff; }
.link-strong { font-family: var(--display); font-weight: 650; color: var(--encre); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }

/* En-tête */
.site-header { border-bottom: 1px solid var(--trait); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: .9rem 0; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em; color: var(--encre); text-decoration: none; margin: 0; }
.logo span { color: var(--signal); }
.site-header nav { margin-left: auto; }
.nav { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; font-family: var(--display); font-weight: 550; font-size: 1rem; }
.nav a { color: var(--encre); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--signal); }

/* Fil d'Ariane */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 1.2rem 0 0; margin: 0; font-family: var(--display); font-size: .9rem; color: var(--gris); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--trait); }
.crumbs a { color: var(--gris); }

/* Hero et son crible */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); background: linear-gradient(180deg, var(--abricot) 0, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kicker { font-family: var(--display); font-weight: 600; color: var(--brule); font-size: 1rem; margin-bottom: 1rem; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }

.crible { margin: 0; background: var(--paper); border: 2px solid var(--encre); border-radius: 18px; padding: 1.4rem 1.4rem 1.1rem; box-shadow: 10px 10px 0 var(--ambre); }
.crible ul { list-style: none; margin: 0; padding: 0; }
.crible li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .2rem; border-bottom: 1px dashed var(--trait); font-family: var(--display); font-size: 1.05rem; font-weight: 520; line-height: 1.3; }
.crible li:last-child { border-bottom: 0; }
.verdict { flex: none; font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; border: 1.5px solid currentColor; }
.v-cadrer .verdict { background: var(--orange-fonce); border-color: var(--orange-fonce); color: #fff; }
.v-creuser .verdict { color: var(--brule); background: var(--abricot); border-color: var(--ambre); }
.v-arreter .verdict { color: var(--gris); }
.v-arreter .idea { color: var(--gris); text-decoration: line-through; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.crible figcaption { font-size: .88rem; color: var(--gris); margin-top: .8rem; font-style: italic; }

/* Une seule animation : les idées passent au crible au chargement */
@media (prefers-reduced-motion: no-preference) {
  .crible li .verdict { animation: verdict-in .45s ease-out backwards; }
  .crible li.v-arreter .idea { animation: strike .5s ease-out backwards; }
  .crible li:nth-child(1) .verdict, .crible li:nth-child(1) .idea { animation-delay: .5s; }
  .crible li:nth-child(2) .verdict, .crible li:nth-child(2) .idea { animation-delay: .8s; }
  .crible li:nth-child(3) .verdict, .crible li:nth-child(3) .idea { animation-delay: 1.1s; }
  .crible li:nth-child(4) .verdict, .crible li:nth-child(4) .idea { animation-delay: 1.4s; }
  .crible li:nth-child(5) .verdict, .crible li:nth-child(5) .idea { animation-delay: 1.7s; }
  .crible li:nth-child(6) .verdict, .crible li:nth-child(6) .idea { animation-delay: 2s; }
}
@keyframes verdict-in { from { opacity: 0; transform: translateX(12px); } }
@keyframes strike { from { text-decoration-color: transparent; color: var(--encre); } }

/* Sections */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tint { background: var(--abricot); }
.section-title { margin-bottom: 1.4rem; }
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 20ch; }
.page-head + .section { padding-top: 1rem; }

.thesis { margin: 0 0 2rem; font-family: var(--display); font-weight: 650; font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -0.025em; max-width: 26ch; padding-left: 1.2rem; border-left: 6px solid var(--signal); }
.thesis p { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.split h3 { font-size: 1.6rem; }
.split h3 a { color: var(--encre); text-decoration-color: var(--signal); }
.offer-list dt { font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-top: 1rem; }
.offer-list dd { margin: .2rem 0 0; }

/* Liste « menu » des ateliers : nom, question, prix alignés */
.menu { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.menu li { border-bottom: 1px solid var(--trait); }
.menu a, .related a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "n p" "q p"; gap: .1rem 1rem; padding: 1rem 0; text-decoration: none; color: var(--encre); }
.menu a:hover .menu-name, .related a:hover .menu-name { color: var(--brule); }
.menu-name { grid-area: n; font-family: var(--display); font-weight: 750; font-size: 1.35rem; letter-spacing: -0.015em; }
.menu-q { grid-area: q; color: var(--gris); font-size: 1rem; }
.menu-price { grid-area: p; align-self: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--brule); white-space: nowrap; }
.menu-wide { max-width: 48rem; }

.atelier-rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.atelier-rows li { display: grid; grid-template-columns: 15rem 1fr 12rem 8rem; gap: 1.5rem; padding: 1.6rem 0; border-bottom: 1px solid var(--trait); align-items: start; }
.atelier-rows h3 { font-size: 1.6rem; margin-bottom: .2rem; }
.atelier-rows h3 a { color: var(--encre); text-decoration-color: var(--signal); }
.ar-name p, .ar-who { color: var(--gris); font-size: 1rem; margin: 0; }
.ar-promise { margin: 0; }
.ar-price { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--brule); margin: 0; text-align: right; letter-spacing: -0.02em; }
.ar-price span { font-size: .9rem; font-weight: 600; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.steps li { counter-increment: s; position: relative; padding-top: 3rem; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--display); font-weight: 800; font-size: 1.3rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: #fff; }
.steps h3 { margin-bottom: .3rem; }
.steps p { font-size: 1rem; margin: 0; }
.steps-compact { grid-template-columns: 1fr; gap: 1rem; }
.steps-compact li { padding: 0 0 0 3rem; }
.steps-compact h3 { font-size: 1.05rem; }

/* Pages d'offre et d'atelier */
.offer { display: grid; grid-template-columns: 20rem 1fr; gap: clamp(2rem, 5vw, 4rem); }
.offer-meta { font-family: var(--display); font-weight: 600; color: var(--brule); }
.atelier-head { display: grid; grid-template-columns: 1fr 18rem; gap: 3rem; align-items: end; }
.atelier-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.price-box { border: 2px solid var(--encre); border-radius: 18px; padding: 1.4rem; box-shadow: 8px 8px 0 var(--ambre); background: #fff; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--brule); margin: 0; line-height: 1; }
.price span { font-size: 1rem; font-weight: 600; }
.price-box p:not(.price) { font-size: 1rem; color: var(--gris); margin: .5rem 0 1rem; }
.atelier-body, .about-grid { display: grid; grid-template-columns: 1fr 20rem; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.side { background: var(--abricot); border-radius: 18px; padding: 1.6rem; }
.side h2 { font-size: 1.3rem; }
.side .steps + p { margin-top: 1.4rem; }

/* Texte long */
.prose { max-width: var(--narrow); }
.prose h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--signal); }
.prose strong { font-weight: 650; }

.cv dt { font-family: var(--display); font-weight: 700; color: var(--brule); font-size: .95rem; margin-top: 1.3rem; }
.cv dd { margin: .2rem 0 0; }
.facts { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1rem; }
.facts li { padding: .5rem 0; border-bottom: 1px solid var(--abricot-2); }
.monogram { width: 5rem; height: 5rem; border-radius: 50%; background: var(--signal); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.8rem; margin-bottom: 1rem; }
.monogram-small { width: 3.6rem; height: 3.6rem; font-size: 1.3rem; flex: none; }

.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.track { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.track li { padding: .85rem 0; border-bottom: 1px solid var(--trait); }
.track strong { font-family: var(--display); font-weight: 700; }

/* Encadré TIH */
.tih { background: var(--encre); color: #fff; }
.tih-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); }
.tih h2 { color: #fff; }
.tih a { color: var(--ambre); }
.tih .muted { color: #cfc6d6; }

/* Blog */
.post-list { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 2px solid var(--encre); }
.post-list li { border-bottom: 1px solid var(--trait); }
.post-list a { display: block; padding: 1.2rem 0; text-decoration: none; color: var(--encre); }
.post-title { display: block; font-family: var(--display); font-weight: 720; font-size: 1.35rem; line-height: 1.2; letter-spacing: -0.015em; margin-bottom: .35rem; }
.post-list a:hover .post-title { color: var(--brule); }
.post-desc { display: block; color: var(--gris); font-size: 1rem; max-width: 48rem; }
.post-meta { display: block; margin-top: .4rem; font-family: var(--display); font-size: .9rem; color: var(--brule); }
.post-list-full .post-title { font-size: 1.6rem; }

.article-head { padding: clamp(2rem, 4vw, 3rem) 0 1.5rem; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 22ch; }
.article-meta { color: var(--gris); font-size: 1rem; font-family: var(--display); }
.article-body { padding-bottom: 2rem; font-size: 1.16rem; line-height: 1.72; }
.article-body > p:first-child { font-size: 1.3rem; line-height: 1.55; }
.author-box { display: flex; gap: 1.2rem; border-top: 2px solid var(--encre); border-bottom: 1px solid var(--trait); padding: 1.5rem 0; margin-bottom: 2rem; font-size: 1rem; }
.author-name { font-family: var(--display); font-weight: 750; font-size: 1.2rem; margin: 0; }
.author-name a { color: var(--encre); }
.author-role { color: var(--brule); font-family: var(--display); margin: 0 0 .6rem; }
.related { margin-bottom: 3rem; }
.related-label { font-family: var(--display); font-weight: 650; color: var(--gris); margin: 0; }
.related a { border-bottom: 1px solid var(--trait); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--trait); }
.faq details:first-child { border-top: 2px solid var(--encre); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1rem; font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--signal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h2 { font-size: 1.25rem; margin: 0; display: inline; }
.faq details p { margin: 0 0 1.4rem; }

/* Bandeau final et pied de page */
.closing { background: var(--orange-fonce); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.closing h2 { color: #fff; max-width: 24ch; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.closing p { max-width: 40rem; font-size: 1.15rem; }
.closing .btn-light { margin-top: .6rem; }
.site-footer { background: var(--encre); color: #e9e2ee; padding: 3rem 0; font-size: .98rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #fff; }
.logo-footer { color: #fff; margin-bottom: .6rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .4rem; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split, .about-teaser, .offer, .atelier-head, .atelier-body, .about-grid, .tih-inner { grid-template-columns: 1fr; }
  .atelier-rows li { grid-template-columns: 1fr auto; }
  .atelier-rows .ar-promise, .atelier-rows .ar-who { grid-column: 1 / -1; }
  .atelier-rows .ar-name { grid-column: 1; }
  .atelier-rows .ar-price { grid-column: 2; grid-row: 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; gap: .6rem 1rem; }
  .site-header { position: static; }
  .site-header nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .nav { gap: 1.1rem; font-size: .95rem; }
  .header-inner .btn-small { margin-left: auto; }
  body { font-size: 1.06rem; }
  .crible { box-shadow: 6px 6px 0 var(--ambre); }
}

/* Photo de Victoire */
.portrait { display: block; width: 100%; height: auto; border-radius: 14px; margin-bottom: 1.2rem; }
.avatar { width: 4.2rem; height: 4.2rem; border-radius: 50%; object-fit: cover; flex: none; }
.vat { font-size: .85rem !important; margin: .3rem 0 0 !important; }
