@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    --pa-ink: #24231f;
    --pa-ink-soft: #3d3b35;
    --pa-paper: #f6f1e8;
    --pa-sand: #e7ddd0;
    --pa-white: #fffdf8;
    --pa-orange: #e96532;
    --pa-orange-light: #f17843;
    --pa-steel: #a8aaa5;
    --pa-line: rgba(36, 35, 31, .16);
    --pa-radius: 6px;
    --pa-shadow: 0 22px 70px rgba(34, 31, 25, .14);
    --pa-display: "Manrope", sans-serif;
    --pa-body: "DM Sans", sans-serif;
}

html { scroll-behavior: smooth; }
body {
    background: var(--pa-paper);
    color: var(--pa-ink);
    font-family: var(--pa-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .site-title { font-family: var(--pa-display); letter-spacing: -.035em; }
h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3vw, 3.15rem); line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.55rem); line-height: 1.18; }
a { text-underline-offset: .2em; }

.site-header, header.site-header {
    background: rgba(246, 241, 232, .94) !important;
    border-bottom: 1px solid var(--pa-line);
    backdrop-filter: blur(14px);
}
.site-header .container { max-width: 1500px !important; }
.site-logo img, .custom-logo { max-height: 55px !important; width: auto !important; }
.logo-split img { width: 190px !important; height: auto !important; max-height: 48px !important; object-fit: contain; }
.main-navigation a, .nav-menu a {
    color: var(--pa-ink) !important;
    font: 700 .78rem/1 var(--pa-display);
    letter-spacing: .065em;
    text-transform: uppercase;
}
.main-navigation a:hover, .nav-menu a:hover { color: var(--pa-orange) !important; }

.btn, button, input[type="submit"] {
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: .01em;
}
.btn-primary { background: var(--pa-orange) !important; border-color: var(--pa-orange) !important; color: #fff !important; }
.btn-primary:hover { background: var(--pa-ink) !important; border-color: var(--pa-ink) !important; }

.block-html { overflow: clip; }
.pa-home { background: var(--pa-paper); }
.pa-shell { width: min(90vw, 1440px); margin-inline: auto; }
.pa-kicker {
    display: inline-flex; align-items: center; gap: .72rem; margin: 0 0 1.05rem;
    color: var(--pa-orange); font: 800 .72rem/1 var(--pa-display); letter-spacing: .16em; text-transform: uppercase;
}
.pa-kicker::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.pa-lead { max-width: 680px; color: #605d55; font-size: clamp(1.02rem, 1.35vw, 1.22rem); line-height: 1.72; }
.pa-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 3rem; align-items: end; margin-bottom: 3.2rem; }
.pa-section-head h2 { margin: 0; max-width: 760px; }
.pa-section-head p:last-child { margin: 0; color: #68645c; line-height: 1.7; }

.pa-hero {
    position: relative; min-height: min(790px, calc(100vh - 76px)); display: flex; align-items: stretch;
    color: var(--pa-white); background: #171715 url('../img/ponceuses-avis/hero-atelier.webp') center/cover no-repeat;
}
.pa-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,18,.94) 0%, rgba(20,20,18,.72) 43%, rgba(20,20,18,.12) 76%); }
.pa-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .13; background-image: radial-gradient(rgba(255,255,255,.55) .55px, transparent .55px); background-size: 5px 5px; }
.pa-hero__inner { position: relative; z-index: 1; width: min(90vw, 1440px); margin: auto; padding: 7rem 0 6rem; }
.pa-hero__copy { max-width: 720px; }
.pa-hero h1 { max-width: 700px; margin: 0 0 1.5rem; color: var(--pa-white); font-weight: 700; }
.pa-hero h1 em { color: var(--pa-orange-light); font-style: normal; }
.pa-hero__intro { max-width: 600px; margin: 0 0 2rem; color: #ddd6cc; font-size: clamp(1.06rem, 1.6vw, 1.3rem); line-height: 1.6; }
.pa-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.pa-action { display: inline-flex; align-items: center; gap: .7rem; min-height: 50px; padding: .2rem 1.35rem; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; transition: .25s ease; }
.pa-action--solid { border-color: var(--pa-orange); background: var(--pa-orange); }
.pa-action:hover { transform: translateY(-2px); border-color: #fff; color: #fff; }
.pa-hero__stamp { position: absolute; right: 0; bottom: 4.2rem; width: 178px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; color: #fff; text-align: center; font: 700 .75rem/1.45 var(--pa-display); letter-spacing: .12em; text-transform: uppercase; transform: rotate(7deg); }
.pa-hero__stamp b { display: block; color: var(--pa-orange-light); font-size: 1.7rem; letter-spacing: -.03em; }

.pa-router { position: relative; z-index: 3; margin-top: -1px; background: var(--pa-white); border-bottom: 1px solid var(--pa-line); }
.pa-router__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pa-route { min-height: 138px; padding: 1.6rem; border-left: 1px solid var(--pa-line); color: var(--pa-ink); text-decoration: none; transition: .25s ease; }
.pa-route:last-child { border-right: 1px solid var(--pa-line); }
.pa-route small { display: block; margin-bottom: .9rem; color: var(--pa-orange); font: 800 .69rem/1 var(--pa-display); letter-spacing: .12em; }
.pa-route strong { display: flex; justify-content: space-between; gap: .7rem; font: 700 1.05rem/1.25 var(--pa-display); }
.pa-route span { display: block; margin-top: .55rem; color: #706c63; font-size: .9rem; line-height: 1.45; }
.pa-route:hover { background: var(--pa-ink); color: var(--pa-white); transform: translateY(-8px); }
.pa-route:hover span { color: #cfc8be; }

.pa-projects { padding: clamp(5rem, 9vw, 9rem) 0; }
.pa-project-row { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 560px; margin-top: 2rem; background: var(--pa-white); box-shadow: var(--pa-shadow); }
.pa-project-row:nth-child(even) .pa-project-media { order: 2; }
.pa-project-media { min-height: 460px; overflow: hidden; }
.pa-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.25,1); }
.pa-project-row:hover img { transform: scale(1.035); }
.pa-project-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.4rem, 5vw, 5rem); }
.pa-project-copy h3 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.pa-project-copy > p { color: #67635b; line-height: 1.7; }
.pa-link-list { margin: 1.4rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--pa-line); }
.pa-link-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--pa-line); color: var(--pa-ink); text-decoration: none; font-weight: 700; }
.pa-link-list a::after { content: "→"; color: var(--pa-orange); transition: transform .2s; }
.pa-link-list a:hover::after { transform: translateX(5px); }

.pa-types { padding: clamp(4.5rem, 8vw, 8rem) 0; background: var(--pa-ink); color: var(--pa-white); }
.pa-types .pa-kicker { color: var(--pa-orange-light); }
.pa-types .pa-section-head p:last-child { color: #bab3a8; }
.pa-type-list { border-top: 1px solid rgba(255,255,255,.2); }
.pa-type { display: grid; grid-template-columns: 90px 1fr 1.2fr 40px; gap: 2rem; align-items: center; padding: 1.7rem 0; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; text-decoration: none; transition: padding .25s, background .25s; }
.pa-type:hover { padding-inline: 1.2rem; background: rgba(255,255,255,.04); color: #fff; }
.pa-type__num { color: var(--pa-orange-light); font: 700 .77rem var(--pa-display); letter-spacing: .13em; }
.pa-type strong { font: 700 clamp(1.25rem, 2vw, 1.8rem) var(--pa-display); }
.pa-type span { color: #bcb5aa; line-height: 1.55; }
.pa-type b { color: var(--pa-orange-light); font-size: 1.45rem; }

.pa-dust { padding: clamp(5rem, 9vw, 9rem) 0; background: #d9cbbb; }
.pa-dust__grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.pa-dust__media { position: relative; }
.pa-dust__media img { display: block; width: 100%; min-height: 540px; object-fit: cover; }
.pa-dust__note { position: absolute; left: -2rem; bottom: 2rem; max-width: 250px; padding: 1.3rem; background: var(--pa-orange); color: #fff; font: 700 .86rem/1.5 var(--pa-display); }
.pa-dust__copy h2 { margin: 0 0 1.25rem; }
.pa-dust__copy p { color: #5c554d; line-height: 1.72; }
.pa-checks { display: grid; gap: .8rem; margin: 2rem 0; }
.pa-check { display: grid; grid-template-columns: 32px 1fr; gap: .75rem; align-items: center; font-weight: 700; }
.pa-check i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: var(--pa-ink); color: var(--pa-orange-light); font-style: normal; }

.pa-guides { padding: clamp(5rem, 9vw, 9rem) 0; }
.pa-editorial { display: grid; grid-template-columns: 1.12fr .88fr; border-top: 1px solid var(--pa-line); }
.pa-feature { padding: 2.4rem 2.8rem 2.4rem 0; border-right: 1px solid var(--pa-line); }
.pa-feature img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 1.5rem; }
.pa-feature small, .pa-story small { color: var(--pa-orange); font: 800 .68rem var(--pa-display); letter-spacing: .12em; text-transform: uppercase; }
.pa-feature h3 { margin: .7rem 0; font-size: clamp(1.55rem, 2.5vw, 2.4rem); }
.pa-feature p { color: #68645c; line-height: 1.65; }
.pa-feature a, .pa-story a { color: inherit; text-decoration: none; }
.pa-stories { padding-left: 2.8rem; }
.pa-story { padding: 2rem 0; border-bottom: 1px solid var(--pa-line); }
.pa-story h3 { margin: .65rem 0; }
.pa-story p { margin: 0; color: #6d685f; line-height: 1.55; }

.pa-wiki { padding: clamp(4rem, 7vw, 7rem) 0; background: var(--pa-white); }
.pa-wiki__head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.pa-wiki__head h2 { margin: 0; }
.pa-wiki__grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--pa-line); border-left: 1px solid var(--pa-line); }
.pa-term { min-height: 245px; padding: 1.7rem; border-right: 1px solid var(--pa-line); border-bottom: 1px solid var(--pa-line); color: inherit; text-decoration: none; transition: background .25s; }
.pa-term span { display: block; color: var(--pa-orange); font: 800 .68rem var(--pa-display); letter-spacing: .12em; }
.pa-term h3 { margin: 2.8rem 0 .8rem; }
.pa-term p { color: #6c675f; font-size: .9rem; line-height: 1.55; }
.pa-term:hover { background: var(--pa-paper); color: var(--pa-ink); }

.pa-method { padding: clamp(5rem, 8vw, 8rem) 0; background: var(--pa-orange); color: #fff; }
.pa-method__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
.pa-method h2 { margin: 0; }
.pa-method__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pa-method__step { padding-top: 1rem; border-top: 2px solid rgba(255,255,255,.65); }
.pa-method__step b { font: 800 .72rem var(--pa-display); letter-spacing: .1em; }
.pa-method__step h3 { margin: 1.2rem 0 .6rem; font-size: 1.12rem; }
.pa-method__step p { color: rgba(255,255,255,.82); font-size: .91rem; line-height: 1.55; }
.pa-method a { color: #fff; font-weight: 800; }

.pa-final { position: relative; padding: clamp(5rem, 10vw, 10rem) 0; background: #171715; color: #fff; text-align: center; overflow: hidden; }
.pa-final::before { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(241,120,67,.32); border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 90px rgba(241,120,67,.055), 0 0 0 180px rgba(241,120,67,.03); }
.pa-final .pa-shell { position: relative; z-index: 1; }
.pa-final h2 { max-width: 820px; margin: 0 auto 1rem; color: #fff; }
.pa-final p { max-width: 600px; margin: 0 auto 2rem; color: #c9c1b6; font-size: 1.08rem; }

.pa-reveal { opacity: 1; transform: none; }

.category-hero { min-height: 420px; display: flex; align-items: end; padding: 5rem 0 3.5rem; position: relative; }
.category-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,20,18,.82), rgba(20,20,18,.12)); }
.category-hero .container { z-index: 3 !important; text-align: left; }
.category-hero nav ol { justify-content: flex-start !important; }
.category-hero h1 { max-width: 800px; margin-bottom: .8rem; color: #fff; font-size: clamp(2.35rem, 4.2vw, 4rem); }
.category-hero .hero-description { max-width: 760px; color: rgba(255,255,255,.84); font-size: 1.05rem; line-height: 1.6; }
.pillar-category-page { padding-top: 5rem; }
.pillar-category-kicker { color: var(--pa-orange) !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pillar-route-card, .subcat-card, .article-card { border-radius: var(--pa-radius) !important; box-shadow: none !important; border: 1px solid var(--pa-line) !important; }
.pillar-route-card:hover, .subcat-card:hover { transform: translateY(-4px); box-shadow: var(--pa-shadow) !important; }
.pillar-method-block { background: var(--pa-ink) !important; color: #fff; border-radius: var(--pa-radius) !important; }
.pillar-method-block h2, .pillar-method-block p { color: #fff !important; }
.pillar-method-block a { color: var(--pa-orange-light) !important; }

.article-content, .page-content { font-size: 1.04rem; line-height: 1.78; }
.article-content h2, .page-content h2 { margin-top: 2.8rem; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1.7rem 0; font-size: .94rem; }
.article-content th { background: var(--pa-ink); color: #fff; text-align: left; }
.article-content th, .article-content td { padding: .85rem; border: 1px solid var(--pa-line); }
.article-content blockquote, .pa-note { padding: 1.2rem 1.4rem; margin: 1.6rem 0; border-left: 4px solid var(--pa-orange); background: #efe5d8; }
.contact-section .form-control { border: 1px solid var(--pa-line); border-radius: 3px; background: var(--pa-white); min-height: 50px; }
.contact-section textarea.form-control { min-height: 170px; }

.site-footer, footer { background: var(--pa-ink) !important; }
.site-footer a:hover, footer a:hover { color: var(--pa-orange-light) !important; }

@media (max-width: 980px) {
    .pa-section-head, .pa-dust__grid, .pa-method__grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .pa-router__grid { grid-template-columns: repeat(2, 1fr); }
    .pa-project-row { grid-template-columns: 1fr; }
    .pa-project-row:nth-child(even) .pa-project-media { order: 0; }
    .pa-type { grid-template-columns: 58px 1fr 40px; }
    .pa-type span { grid-column: 2 / 4; }
    .pa-editorial { grid-template-columns: 1fr; }
    .pa-feature { border-right: 0; padding-right: 0; }
    .pa-stories { padding-left: 0; }
    .pa-wiki__grid { grid-template-columns: repeat(2, 1fr); }
    .pa-method__steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    h1 { font-size: clamp(2.25rem, 12vw, 3.2rem); }
    h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
    .pa-shell { width: min(88vw, 1440px); }
    .pa-hero { min-height: 680px; background-position: 61% center; }
    .pa-hero::before { background: linear-gradient(90deg, rgba(20,20,18,.95) 0%, rgba(20,20,18,.72) 78%, rgba(20,20,18,.2)); }
    .pa-hero__inner { padding: 5rem 0; }
    .pa-hero__stamp { display: none; }
    .pa-actions { align-items: stretch; flex-direction: column; }
    .pa-action { justify-content: center; }
    .pa-router__grid { grid-template-columns: 1fr; }
    .pa-route { min-height: auto; border-right: 1px solid var(--pa-line); }
    .pa-projects, .pa-types, .pa-dust, .pa-guides, .pa-wiki, .pa-method { padding-block: 4.5rem; }
    .pa-project-media { min-height: 310px; }
    .pa-project-copy { padding: 2rem 1.5rem 2.4rem; }
    .pa-type { grid-template-columns: 46px 1fr 26px; gap: 1rem; }
    .pa-dust__media img { min-height: 370px; }
    .pa-dust__note { left: 1rem; bottom: 1rem; }
    .pa-wiki__head { align-items: start; flex-direction: column; }
    .pa-wiki__grid { grid-template-columns: 1fr; }
    .pa-term { min-height: 180px; }
    .pa-term h3 { margin-top: 1.5rem; }
    .category-hero { min-height: 340px; }
    .logo-split img { width: 154px !important; max-height: 42px !important; }
    .article-content table { display: block; overflow-x: auto; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .pa-reveal { opacity: 1; transform: none; }
}
