/*
Theme Name: Alliance Tickets CB
Description: Thème personnalisé du portail salariés de saisie des tickets CB.
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.3
Author: Alliance
License: GPL-2.0-or-later
Text Domain: ged-tickets-cb
*/

:root { color-scheme: light; --ink: #263e68; --blue: #39528b; --light: #f3fcff; --peach: #ffcea5; --line: #b4b9d8; --muted: #61718a; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--light); color: var(--ink); font: 1rem/1.6 "Segoe UI", system-ui, sans-serif; }
a { color: var(--blue); text-underline-offset: .2em; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b46323; outline-offset: 4px; }
.skip-link { position: absolute; top: -6rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: white; }
.skip-link:focus { top: .75rem; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 68rem; margin: auto; min-height: 5rem; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; font-weight: 700; line-height: 1.3; }
.brand-mark { width: 2.5rem; height: 2.5rem; border-radius: .75rem; display: grid; place-content: center; background: var(--blue); color: white; }
.brand small { display: block; font-size: .875rem; color: var(--muted); font-weight: 400; }
.header-action { font-size: .9375rem; }
.page-shell { max-width: 68rem; padding: 3.5rem 1.5rem 4rem; margin: auto; }
.portal-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.eyebrow { font-size: .875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin: 0 0 .75rem; }
h1 { max-width: 18ch; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.25rem; }
h2 { font-size: 1.375rem; line-height: 1.3; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); max-width: 34rem; font-size: 1.125rem; }
.portal-card { padding: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; box-shadow: 0 .5rem 2rem #263e6808; }
.portal-card p { color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3rem; padding: .6rem 1.1rem; border-radius: .5rem; border: 1px solid transparent; background: var(--blue); color: white; font-weight: 600; text-decoration: none; text-align: center; }
.button-secondary { background: var(--peach); color: var(--ink); }
.portal-card .button { width: 100%; margin-top: .5rem; }
.steps { display: grid; gap: 1.25rem; margin: 2.25rem 0 0; padding: 0; list-style: none; }
.steps li { padding-left: 1rem; border-left: 3px solid var(--peach); }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .9375rem; }
.admin-note { margin-top: 1.5rem; font-size: .875rem; }
.content-page { max-width: 48rem; }
.content-page h1 { max-width: none; }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem; text-align: center; font-size: .875rem; color: var(--muted); }
@media (max-width: 46rem) { .portal-intro { grid-template-columns: 1fr; gap: 2rem; } .page-shell { padding-top: 2rem; } .portal-card { padding: 1.5rem; } .header-inner { padding: 1rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
