/*
Theme Name: Patsscape
Theme URI: https://patsscape.secourit.fr
Author: Secourit
Description: Journal outdoor éditorial et moderne pour Patsscape.
Version: 1.0.0
Text Domain: patsscape
*/

:root {
  --ink: #14251e;
  --forest: #173b2d;
  --moss: #728853;
  --sage: #c8d1b7;
  --sand: #f2e9d9;
  --paper: #fbfaf6;
  --sun: #eaa43b;
  --line: rgba(20, 37, 30, .14);
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(20, 37, 30, .12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--moss);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-title { margin: 0; font: 400 clamp(2.1rem, 4vw, 4rem)/1.05 var(--serif); letter-spacing: -.045em; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--forest);
  border-radius: 99px;
  background: var(--forest);
  color: white;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .04em;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: #23523f; }
.button--light { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.button--outline { background: transparent; color: var(--forest); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: white;
}
.site-header.is-solid, body:not(.home) .site-header { position: relative; background: var(--paper); color: var(--ink); border-color: var(--line); }
.nav-wrap { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .8rem; font-size: 1.1rem; font-weight: 850; letter-spacing: -.03em; }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.brand span small { display: block; margin-top: -.2rem; font-size: .56rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; margin: 0; padding: 0; list-style: none; gap: 1.8rem; }
.main-nav a { font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.social-nav { display: flex; gap: .65rem; }
.social-nav a { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .67rem; }
.menu-toggle { display: none; border: 0; background: none; color: currentColor; font-weight: 750; }

.hero { position: relative; min-height: min(860px, 92vh); display: grid; align-items: end; overflow: hidden; color: white; background: var(--forest); }
.hero__image, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; }
.hero__veil { background: linear-gradient(90deg, rgba(10,29,22,.82) 0%, rgba(10,29,22,.35) 52%, rgba(10,29,22,.15)), linear-gradient(0deg, rgba(10,29,22,.8), transparent 55%); }
.hero__content { position: relative; z-index: 2; padding-block: 190px 72px; }
.hero__kicker { display: inline-flex; gap: .65rem; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero__kicker::before { content: ""; width: 34px; height: 1px; background: var(--sun); }
.hero h1 { max-width: 850px; margin: 1.1rem 0 1.25rem; font: 400 clamp(3.2rem, 7.5vw, 7.4rem)/.9 var(--serif); letter-spacing: -.065em; }
.hero__lead { max-width: 610px; margin: 0 0 2rem; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero__footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.hero__metrics { display: grid; grid-template-columns: repeat(4, auto); gap: 2.5rem; }
.metric strong { display: block; font: 400 1.55rem/1 var(--serif); }
.metric span { display: block; margin-top: .45rem; font-size: .62rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; opacity: .67; }
.scroll-note { writing-mode: vertical-rl; font-size: .62rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.intro { padding: 110px 0 90px; }
.intro__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.intro__copy { margin: 0; font: 400 clamp(1.9rem, 3.7vw, 3.7rem)/1.14 var(--serif); letter-spacing: -.04em; }
.intro__copy em { color: var(--moss); font-style: italic; }
.intro__aside { max-width: 450px; padding-top: .65rem; }

.stories { padding: 85px 0 105px; background: #edf0e7; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.stories-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.3rem; }
.story-card { grid-column: span 4; position: relative; overflow: hidden; border-radius: var(--radius); background: white; box-shadow: 0 10px 30px rgba(20,37,30,.05); }
.story-card:first-child { grid-column: span 8; }
.story-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.story-card:first-child .story-card__media { aspect-ratio: 2 / 1; }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.story-card:hover img { transform: scale(1.035); }
.story-card__tag { position: absolute; top: 1rem; left: 1rem; padding: .45rem .75rem; border-radius: 99px; background: rgba(251,250,246,.9); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(8px); }
.story-card__body { padding: 1.5rem 1.5rem 1.65rem; }
.story-card__body h3 { margin: .35rem 0 .8rem; font: 400 clamp(1.5rem, 2.4vw, 2.15rem)/1.08 var(--serif); letter-spacing: -.035em; }
.story-card__meta { display: flex; flex-wrap: wrap; gap: .55rem 1rem; color: #607066; font-size: .72rem; font-weight: 700; }
.story-card__excerpt { color: #5b675f; font-size: .9rem; }

.manifesto { padding: 120px 0; background: var(--forest); color: white; overflow: hidden; }
.manifesto__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 8rem); }
.manifesto__visual { position: relative; min-height: 570px; }
.manifesto__visual img { width: 82%; height: 570px; object-fit: cover; border-radius: 48% 48% 1rem 1rem; }
.manifesto__stamp { position: absolute; right: 0; bottom: 3rem; display: grid; width: 185px; aspect-ratio: 1; place-items: center; padding: 2rem; border-radius: 50%; background: var(--sun); color: var(--ink); text-align: center; font: italic 1.3rem/1.15 var(--serif); transform: rotate(7deg); }
.manifesto h2 { margin: 0 0 1.5rem; font: 400 clamp(2.6rem, 5vw, 5.2rem)/.98 var(--serif); letter-spacing: -.055em; }
.manifesto p { max-width: 520px; color: rgba(255,255,255,.72); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.15); }
.principle { padding: 1.2rem .8rem 0 0; }
.principle strong { display: block; color: var(--sun); font: 400 1.5rem var(--serif); }
.principle span { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }

.social-section { padding: 100px 0; }
.social-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.3rem; margin-top: 2.5rem; }
.social-card { position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 2rem; border-radius: var(--radius); color: white; background: var(--forest); }
.social-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.social-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,25,18,.85), transparent 70%); }
.social-card__content { position: relative; z-index: 2; }
.social-card h3 { margin: .3rem 0 .65rem; font: 400 2.2rem var(--serif); }

.newsletter { padding: 0 0 110px; }
.newsletter__box { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; padding: clamp(2rem, 6vw, 5rem); border-radius: var(--radius); background: var(--sand); }
.newsletter h2 { margin: 0; font: 400 clamp(2.3rem, 4vw, 4.3rem)/1 var(--serif); letter-spacing: -.05em; }
.newsletter form { display: flex; padding: .35rem; border-bottom: 1px solid var(--forest); }
.newsletter input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
.newsletter button { border: 0; background: transparent; color: var(--forest); font-weight: 800; cursor: pointer; }

.site-footer { padding: 65px 0 30px; background: #0d251c; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(2, .7fr); gap: 3rem; padding-bottom: 60px; }
.footer-brand { max-width: 420px; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,.58); }
.footer-col h3 { margin: 0 0 1rem; color: var(--sun); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-col a { display: block; margin: .5rem 0; color: rgba(255,255,255,.72); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.42); font-size: .7rem; }

.page-hero { padding: 100px 0 70px; background: var(--sand); }
.page-hero h1 { max-width: 900px; margin: 0; font: 400 clamp(3rem, 7vw, 6.8rem)/.95 var(--serif); letter-spacing: -.06em; }
.archive-wrap { padding: 80px 0 110px; }
.archive-wrap .stories-grid { margin-top: 2.5rem; }
.article-hero { position: relative; min-height: 670px; display: flex; align-items: end; color: white; background: var(--forest); }
.article-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,23,17,.88), rgba(7,23,17,.05) 70%); }
.article-hero__content { position: relative; z-index: 2; padding-block: 150px 55px; }
.article-hero h1 { max-width: 940px; margin: .8rem 0 1.5rem; font: 400 clamp(3rem, 7vw, 6.5rem)/.94 var(--serif); letter-spacing: -.055em; }
.route-stats { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 1rem; margin-top: -1px; background: var(--forest); color: white; }
.route-stat { padding: 1.5rem; border-right: 1px solid rgba(255,255,255,.14); }
.route-stat:last-child { border: 0; }
.route-stat strong { display: block; font: 400 1.75rem var(--serif); }
.route-stat span { font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; opacity: .6; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: clamp(3rem, 8vw, 8rem); padding-block: 75px 120px; }
.entry-content { font-size: 1.08rem; }
.entry-content > * { max-width: 720px; }
.entry-content h2 { margin: 2.6rem 0 1rem; font: 400 2.3rem/1.1 var(--serif); letter-spacing: -.035em; }
.entry-content blockquote { margin: 2.5rem 0; padding: .5rem 0 .5rem 1.8rem; border-left: 3px solid var(--sun); color: var(--forest); font: italic 1.7rem/1.35 var(--serif); }
.entry-content img { margin-block: 2rem; border-radius: 1rem; }
.article-aside { font-size: .85rem; }
.aside-box { position: sticky; top: 2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 1rem; }
.aside-box h3 { margin-top: 0; font: 400 1.4rem var(--serif); }
.video-link { display: grid; min-height: 180px; place-items: center; margin-top: 1rem; border-radius: .8rem; background: var(--sand); text-align: center; }
.video-link span { display: grid; width: 54px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: var(--sun); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; z-index: 30; display: none; flex-direction: column; justify-content: center; background: var(--forest); color: white; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; align-items: center; font-size: 1.4rem; }
  .main-nav .menu-toggle { position: absolute; top: 2rem; right: 2rem; }
  .hero__metrics { gap: 1.4rem; }
  .intro__grid, .manifesto__grid, .newsletter__box, .article-layout { grid-template-columns: 1fr; }
  .story-card, .story-card:first-child { grid-column: span 6; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .article-aside { order: -1; }
  .aside-box { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 48px; height: 48px; }
  .hero { min-height: 780px; }
  .hero__content { padding-block: 145px 38px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero__footer { display: block; }
  .hero__metrics { grid-template-columns: 1fr 1fr; margin-top: 2.3rem; }
  .scroll-note { display: none; }
  .intro, .social-section { padding-block: 75px; }
  .stories { padding-block: 70px; }
  .section-head { align-items: start; flex-direction: column; }
  .story-card, .story-card:first-child { grid-column: 1 / -1; }
  .story-card:first-child .story-card__media, .story-card__media { aspect-ratio: 4 / 3; }
  .manifesto { padding-block: 75px; }
  .manifesto__visual { min-height: 420px; }
  .manifesto__visual img { height: 420px; }
  .manifesto__stamp { width: 130px; padding: 1rem; font-size: 1rem; }
  .social-grid { grid-template-columns: 1fr; }
  .social-card { min-height: 390px; }
  .newsletter__box { gap: 2.3rem; }
  .newsletter form { flex-direction: column; gap: 1rem; align-items: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .article-hero { min-height: 560px; }
  .article-hero__content { padding-bottom: 35px; }
  .route-stats { grid-template-columns: 1fr 1fr; }
  .route-stat:nth-child(2n) { border-right: 0; }
  .route-stat:last-child { grid-column: 1 / -1; }
}
