/* Espace Pro: home sections, section nav, footer band. Loaded on /espace-pro/ pages (templates) and in the Pro world.
   Nothing here animates on entry: the hero reel and the statement are the home page's (main.css, main.js). Colours come from the world tokens (main.css), with fallbacks. */

/* Hero: the photos of gp_pro_hero_scenes() under the existing .gp-page-hero--media layout */
.gp-pro-hero__media { position: absolute; inset: 0; }
.gp-pro-hero .gp-page-hero__shade { background: linear-gradient(0deg, rgba(10, 11, 13, .95), rgba(10, 11, 13, .8) 58%, rgba(10, 11, 13, .8)); } /* .8 scrim: the cream ring #fefee2 10.80:1 over a white sky (T18) */
.gp-pro-hero .gp-h1 { max-width: 10.8em; }
.gp-pro-hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; padding: 0; list-style: none; font-weight: 700; }
.gp-pro-hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.gp-pro-hero__facts .gp-i { flex: none; width: 18px; height: 18px; color: var(--accent-ink); }

/* Hero reel (owner review of 10 Nov 2026): the scenes of the home page (.gp-scene, main.css) under the same shade */
.gp-pro-hero__media { background: var(--bg-3); }
.gp-pro-hero .gp-scene img { object-position: var(--pos, 50% 40%); }
.gp-pro-hero .gp-actions { align-items: center; }
.gp-pro-hero .gp-lead { margin-bottom: 18px; }
@media (min-width: 900px) {
	/* Wide screens: the words keep the dark left half (.95 to .78 under them: white text >= 10:1 and the cream ring
	   >= 10:1 over a white photo), the photo shows on the right half, framed for it (--side-pos). */
	.gp-pro-hero .gp-page-hero__shade { background: linear-gradient(0deg, rgba(10, 11, 13, .92), rgba(10, 11, 13, 0) 34%), linear-gradient(90deg, rgba(10, 11, 13, .95) 0%, rgba(10, 11, 13, .88) 40%, rgba(10, 11, 13, .78) 58%, rgba(10, 11, 13, .18) 100%); }
	.gp-pro-hero .gp-scene--side { left: auto; width: min(54%, 900px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%); mask-image: linear-gradient(90deg, transparent, #000 32%); }
	.gp-pro-hero .gp-scene--side img { object-position: var(--side-pos, var(--pos, 50% 40%)); }
}
.gp-pro-hero__tech { min-height: 44px; display: inline-flex; align-items: center; }
.gp-pro-hero__tabs { max-width: 620px; }

/* Animated statement: the home page's, with less air around it (the next section brings its own) */
.gp-pro-statement { padding-block: clamp(64px, 10vw, 150px) clamp(8px, 2vw, 30px); }

/* Sections */
.gp-pro-sec { padding-block: clamp(56px, 8vw, 110px) 0; }
.gp-pro-sec__title { margin-bottom: clamp(22px, 3vw, 40px); }
.gp-pro-sec .gp-section-head--row .gp-h2 { margin: 0; }
.gp-pro-sec + .gp-study, .gp-study + .gp-pro-sec { margin-top: var(--space-section); } /* the section room on both sides of the sheet (main.css) */

/* « Deux façons de commander » */
.gp-pro-order { display: grid; gap: 14px; }
.gp-pro-order__card { display: grid; align-content: start; justify-items: start; gap: 14px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); }
.gp-pro-order__card p { margin: 0; color: var(--muted); max-width: 52ch; }
.gp-pro-order__card .gp-btn, .gp-pro-order__card .gp-link { margin-top: auto; }
@media (min-width: 800px) { .gp-pro-order { grid-template-columns: 1fr 1fr; } }

/* « Nos services aux professionnels »: the owner's four services, two by two */
.gp-pro-serv__intro { max-width: 74ch; margin: 0 0 clamp(22px, 3vw, 36px); color: var(--muted); font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.55; }
.gp-pro-serv__intro strong { color: var(--ink); font-weight: 700; }
.gp-pro-serv { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gp-pro-serv__card a { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: start; gap: 12px; height: 100%; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .35s var(--ease-out); }
.gp-pro-serv__card a:hover { border-color: var(--accent-ink); transform: translateY(-3px); }
.gp-pro-serv__card p { margin: 0; color: var(--muted); max-width: 46ch; }
.gp-pro-serv__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface-2); color: var(--accent-ink); }
.gp-pro-serv__icon .gp-i { width: 24px; height: 24px; }
.gp-pro-serv__card .gp-link { margin-top: 6px; }
@media (min-width: 800px) { .gp-pro-serv { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* « Nos sacs par métier »: 6 photo tiles + the image-less logo tile */
.gp-pro-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gp-pro-tiles .gp-tile { aspect-ratio: 4 / 5; }
.gp-tile--plain { background: var(--bg-3); border: 1px solid var(--line); }
.gp-tile--plain a { color: var(--ink); }
.gp-tile--plain a::after { content: none; }
.gp-tile__tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 9px 4px; border-radius: 6px; background: #0a0b0d; color: #f4f4f0; font: 600 12px/1.25 var(--font-body); letter-spacing: .01em; pointer-events: none; }
@media (min-width: 800px) { .gp-pro-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } .gp-pro-tiles .gp-tile { aspect-ratio: 1; } }

/* « Ils nous font confiance » */
.gp-pro-refs { display: grid; gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.gp-pro-refs li { padding: 22px 0; border-top: 1px solid var(--line); }
.gp-pro-refs p { margin: 0; color: var(--muted); max-width: 60ch; }
.gp-pro-refs .gp-pro-refs__name { margin-bottom: 8px; color: var(--ink); font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--font-display); letter-spacing: -.01em; }
@media (min-width: 800px) { .gp-pro-refs { grid-template-columns: 1fr 1fr; gap: 0 28px; } }

/* « Ils nous font confiance »: the owner's lists by sector, a few names each and the link to the rest */
.gp-pro-sectors { display: grid; gap: 14px; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0; list-style: none; }
.gp-pro-sector { display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 14px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); }
.gp-pro-sector__title { margin: 0; font: 800 1.12rem/1.15 var(--font-display); text-transform: uppercase; text-wrap: balance; }
.gp-pro-sector__names { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; gap: 6px; margin: 0; padding: 0; list-style: none; }
.gp-pro-sector__names li { padding: 5px 10px; border-radius: 14px; background: var(--surface-2); color: var(--ink-2); font-size: .9rem; line-height: 1.3; }
.gp-pro-sector .gp-link { min-height: 44px; display: inline-flex; align-items: center; }
.gp-pro-refs__actions { margin-top: clamp(22px, 3vw, 36px); align-items: center; }
@media (min-width: 700px) { .gp-pro-sectors { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) { .gp-pro-sectors { grid-template-columns: repeat(3, 1fr); } }

/* Proof: awards 1–3 and key numbers */
.gp-pro-proof { padding-bottom: clamp(70px, 9vw, 130px); }
.gp-pro-proof__numbers { margin: clamp(40px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.gp-pro-proof__numbers .gp-numbers__n, .gp-pro-proof__numbers .gp-numbers__l { margin-top: 0; }

/* Section nav (child pages): pills that scroll sideways on phones, 44 px targets */
.gp-pro-nav { margin: 0 calc(var(--gutter) * -1) clamp(22px, 3vw, 36px); }
.gp-pro-nav__list { display: flex; gap: 8px; margin: 0; padding: 4px var(--gutter); list-style: none; overflow-x: auto; scroll-padding-inline: var(--gutter); scrollbar-width: thin; }
.gp-pro-nav__list li { flex: none; }
.gp-pro-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: border-color .2s var(--ease-out); }
.gp-pro-nav__link:hover { border-color: var(--accent-ink); }
.gp-pro-nav__link:focus-visible { outline-offset: -2px; } /* inside the scroller, so it is never clipped */
.gp-pro-nav__link[aria-current="page"] { background: var(--accent); border-color: var(--accent-ink); color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent-rim); } /* G1 cue: filled against outlined; on light, where the cream fill alone is 1.06:1, a 2.5 px olive edge against the others' 1 px line */
.gp-pro-nav__link[aria-current="page"]:focus-visible { outline-color: var(--band-focus, #0a0b0d); box-shadow: 0 0 0 4px var(--accent); }
@media (min-width: 1000px) { .gp-pro-nav { margin-inline: 0; } .gp-pro-nav__list { flex-wrap: wrap; overflow: visible; padding-inline: 0; } }

/* Pro footer band (template-parts/pro/footer-band.php, class .gp-pro-band): cream fill, dark text and rings, as on lime.
   On a light page the cream is 1.06:1 against it, so a 2 px olive rule marks the band's top edge (--accent-rim: none on dark). */
.gp-pro-band { --band-focus: #0a0b0d; background: var(--gp-pro, #fefee2); color: var(--gp-pro-on, #0a0b0d); box-shadow: inset 0 2px 0 var(--accent-rim, transparent); padding-block: clamp(36px, 5vw, 64px); }
.gp-pro-band :is(.gp-eyebrow, .gp-lead, p, a) { color: inherit; opacity: 1; }
.gp-pro-band :focus-visible { outline: 2px solid var(--band-focus); outline-offset: 3px; } /* #0a0b0d on #fefee2 19.21:1 */
.gp-pro-band .gp-btn { --btn-bg: var(--paper-ink); --btn-fg: #fff; --btn-edge: #000; --btn-rim: transparent; } /* the dark button: #fff 18.58:1, the button 18.12:1 on the band */
.gp-pro-band .gp-btn:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
	.gp-pro-nav__link { transition: none; }
	:is(.gp-pro-hero, .gp-pro-sec, .gp-pro-band) :is(.gp-btn, .gp-tile a > img, .gp-tile__label, .gp-tile__arrow, .gp-pro__card a, .gp-pro-serv__card a) { transition: none; translate: none; transform: none; scale: none; }
}
