/* Shared sky, glass surfaces and spacing for portfolio, contact and utility pages. */
.secondary-page { --surface: rgba(15,29,56,.76); --surface-line: rgba(203,216,234,.17); --text-accent: #ffac70; }
[data-theme="light"] .secondary-page { --surface: rgba(255,255,255,.65); --surface-line: rgba(100,116,139,.2); --text-accent: #a44208; }
.secondary-page .secondary-main { position: relative; isolation: isolate; }
.case-sky { position: relative; isolation: isolate; }
.case-sky::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg,rgba(10,20,38,.45),rgba(10,20,38,.65)),url('Images/Fond/Background Nuit 2 section.webp') center / 100% 100% no-repeat; -webkit-mask-image: linear-gradient(transparent,#000 9%,#000 90%,transparent); mask-image: linear-gradient(transparent,#000 9%,#000 90%,transparent); }
.case-sky-opening::before { -webkit-mask-image: linear-gradient(#000 88%,transparent); mask-image: linear-gradient(#000 88%,transparent); }
[data-theme="light"] .case-sky::before { background: linear-gradient(180deg,rgba(255,255,255,.5),rgba(253,238,222,.55)),url('Images/Fond/Background.jpg') center / 100% 100% no-repeat; }
.secondary-page .pf-header,.secondary-page .pf-text,.secondary-page .pf-result,.secondary-page .pf-reviews,.secondary-page .pf-cta { background: transparent; }
.secondary-page .pf-header { padding: 145px 0 76px; }
.secondary-page .pf-header h1 { font-size: clamp(2.3rem,4.5vw,3.7rem); letter-spacing: -.035em; line-height: 1.15; text-wrap: balance; }
.secondary-page .pf-header-grid { gap: 56px; align-items: center; }
.secondary-page .pf-header-text,.secondary-page .pf-header-visual { min-width: 0; }
.secondary-page .pf-header .lead { color: var(--slate-300); line-height: 1.85; }
.secondary-page .browser-mock { transform: none; border: 1px solid var(--surface-line); border-radius: 15px; background: var(--surface); box-shadow: 0 25px 70px rgba(2,6,23,.22); }
.secondary-page .browser-mock:hover { transform: translateY(-4px); }
.secondary-page .browser-bar,.secondary-page .proof-bar { background: rgba(15,29,56,.6); border-color: var(--surface-line); }
.secondary-page .browser-url { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.secondary-page .meta-chip,.secondary-page .spec,.secondary-page .review-feature,.secondary-page .result-card { background: var(--surface); border: 1px solid var(--surface-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.secondary-page .spec { border-radius: 16px; padding: 26px; }
.secondary-page .result-card { border-color: rgba(249,115,22,.32); background: linear-gradient(135deg,rgba(249,115,22,.12),transparent),var(--surface); }
.secondary-page .result-stat { color: var(--text-accent); }
.secondary-page .review-feature { border-radius: 20px; }
.secondary-page .pf-text { padding: 72px 0; }
.secondary-page .pf-reviews { padding: 68px 0; }
.secondary-page .pf-cta { padding: 78px 24px 96px; }
.secondary-page .btn-ghost { background: var(--surface); border-color: var(--surface-line); }
.secondary-page .sunset-wrap::before { -webkit-mask-image: linear-gradient(#000 86%,transparent); mask-image: linear-gradient(#000 86%,transparent); }
.secondary-page .proof-list { gap: 84px; }
.secondary-page .proof-item { gap: 48px; }
.secondary-page .proof-item > * { min-width: 0; }
.secondary-page .proof-bar .url { min-width: 0; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.secondary-page .proof-visual { border-color: var(--surface-line); box-shadow: 0 20px 50px rgba(2,6,23,.2); }
.secondary-page .proof-soon .proof-visual { background: var(--surface); box-shadow: none; }
.secondary-page .proof-soon-tag { text-align: center; padding: 20px; color: var(--slate-300); }
.secondary-page .list-hero { padding: 145px 0 48px; }
.secondary-page .contact-section { padding-top: 16px; }
.secondary-page .contact-form { background: var(--surface); border: 1px solid var(--surface-line); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 24px 70px rgba(2,6,23,.15); border-radius: 20px; }
html:not([data-theme="light"]) .secondary-page .sunset-wrap::before { background: linear-gradient(180deg,rgba(10,20,38,.2),rgba(10,20,38,.4)),url('Images/Fond/Background Nuit 2 section.webp') center / 100% 100% no-repeat; }
[data-theme="light"] .secondary-page .sunset-wrap::before { background: linear-gradient(180deg,rgba(255,255,255,.35),rgba(253,238,222,.45)),url('Images/Fond/Background.jpg') center / 100% 100% no-repeat; }
.contact-local { max-width: 720px; margin: 0 auto 32px; padding: 24px 28px; border-left: 2px solid var(--amber); background: var(--surface); border-radius: 0 14px 14px 0; }
.contact-local h2 { font-size: 1.15rem; margin-bottom: 10px; }
.contact-local p,.contact-local address { font-size: .9rem; line-height: 1.8; color: var(--slate-300); font-style: normal; }
.contact-local a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 4px; }
[data-theme="light"] .secondary-page .browser-bar,[data-theme="light"] .secondary-page .proof-bar { background: rgba(241,245,249,.9); }
[data-theme="light"] .secondary-page .browser-url { background: rgba(15,23,42,.05); }
.secondary-page :focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.secondary-page .skip-link { position: fixed; z-index: 10003; top: 8px; left: 16px; transform: translateY(-160%); background: var(--amber); color: #0a1426; padding: 12px 18px; border-radius: 8px; font-weight: 600; }
.secondary-page .skip-link:focus { transform: none; }
.secondary-page .nav-drop:not(.open) .nav-drop-menu { opacity: 0; visibility: hidden; transform: translate(-50%,6px); }
.secondary-page footer { background: var(--slate-950); }
[data-theme="light"] .secondary-page footer .logo img { filter: brightness(0); }
.secondary-page .footer-col a:hover { color: var(--text-accent); }
.utility-page { --amber: #f97316; --amber-light: #ffac70; --slate-950: #0a1426; --slate-300: #cbd8ea; --slate-400: #9fb0c8; --white: #fff; position: relative; isolation: isolate; background-image: none; }
.utility-page::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(rgba(10,20,38,.5),rgba(10,20,38,.85)),url('Images/Fond/Background Nuit 2 section.webp') center top / 100% 100% no-repeat; }
[data-theme="light"] .utility-page { --amber: #b45309; --amber-light: #a44208; --slate-950: #f8fafc; --slate-300: #334155; --slate-400: #475569; --white: #0f172a; }
[data-theme="light"] .utility-page::before { background: linear-gradient(rgba(255,255,255,.55),rgba(248,250,252,.8)),url('Images/Fond/Background.jpg') center top / 100% 100% no-repeat; }
.utility-page .legal-nav { gap: 16px; padding: 22px 0; }
.utility-page .utility-actions { display: flex; align-items: center; gap: 12px; }
.utility-page .theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--surface-line); border-radius: 50%; background: var(--surface); color: var(--white); cursor: pointer; }
.utility-page .theme-toggle svg { width: 20px; height: 20px; }
.utility-page .logo-day { display: none; }
[data-theme="light"] .utility-page .logo-day { display: block; }
[data-theme="light"] .utility-page .logo-night { display: none; }
.utility-page main.legal { margin: 44px 0; padding: 40px; background: var(--surface); border: 1px solid var(--surface-line); border-radius: 20px; }
.utility-page footer { background: transparent; }
.error-page .error-theme { position: absolute; top: 24px; right: 24px; }
.error-page .btn { color: #0a1426; background: #f97316; }
.error-page main { max-width: 660px; }
.error-page .logo { margin-inline: auto; }
@media (max-width: 900px) {
 .secondary-page .pf-header-grid { gap: 36px; }
 .secondary-page .pf-header { padding-top: 122px; }
 .secondary-page .pf-header-visual { max-width: 640px; width: 100%; margin: auto; }
}
@media (max-width: 600px) {
 .secondary-page .pf-header h1 { font-size: clamp(2rem,8.5vw,2.8rem); }
 .secondary-page .pf-text,.secondary-page .pf-reviews { padding: 52px 0; }
 .secondary-page .review-feature,.secondary-page .result-card { padding: 26px; }
 .secondary-page .review-feature blockquote { font-size: 1.05rem; }
 .secondary-page .proof-list { gap: 52px; }
 .secondary-page .proof-item { gap: 26px; }
 .secondary-page .proof-result { flex-wrap: wrap; gap: 10px; }
 .secondary-page .header-actions { flex-wrap: wrap; }
 .secondary-page .contact-form { padding: 24px; }
 .contact-local { padding: 20px; }
 .utility-page main.legal { padding: 25px 20px; margin: 28px 0; }
 .utility-page .legal-nav { flex-wrap: wrap; }
 .utility-page .legal-nav .back { font-size: .75rem; padding: 8px 10px; }
 .utility-page .legal-nav .logo img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
 .secondary-page { scroll-behavior: auto; }
 .secondary-page *, .secondary-page *::before, .secondary-page *::after { animation: none !important; transition: none !important; }
 .secondary-page .browser-mock:hover { transform: none; }
}
