/*
Theme Name: Nomad Soul — Or
Theme URI: https://nomad_soul.dev
Author: nomad_soul.dev
Author URI: https://nomad_soul.dev
Description: Page d'attente pour nomad_soul.dev : papier sable #F8F6F2, encre #192432, or #BC873B, courbes de niveau et halo solaire. Textes et avancement réglables dans le personnalisateur.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nomad-soul-or
Tags: one-column, custom-logo, translation-ready

Nomad Soul — Or — page d'attente d'une seule page.
Palette relevée directement sur le logo : #F8F6F2 / #192432 / #BC873B
*/

/* --------------------------------------------------------------
   1. Base
   -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html,
body { margin: 0; }

body {
	font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* --------------------------------------------------------------
   2. Structure
   -------------------------------------------------------------- */
.page {
	position: relative;
	z-index: 1;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	padding: clamp(18px, 3vw, 34px) clamp(20px, 4.5vw, 64px) clamp(22px, 3vw, 32px);
}

.decor {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

/* --------------------------------------------------------------
   3. Navigation
   -------------------------------------------------------------- */
.site-nav { display: flex; justify-content: flex-end; }

.liens { display: flex; gap: clamp(18px, 3vw, 40px); align-items: center; }

.liens a {
	text-decoration: none;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
}

.liens a[aria-disabled] { opacity: .45; cursor: default; }

/* --------------------------------------------------------------
   4. Bloc central
   -------------------------------------------------------------- */
.centre {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: clamp(24px, 4.5vh, 56px) 0;
}

.logo,
.custom-logo-link { display: block; margin: 0 auto; }

.logo,
.custom-logo { width: min(330px, 62vw); height: auto; }

.titre {
	margin: clamp(18px, 3vw, 30px) 0 0;
	font-weight: 600;
	font-size: clamp(24px, 5.4vw, 52px);
	letter-spacing: .2em;
	line-height: 1.24;
	padding-left: .2em;
}

.texte { margin: clamp(18px, 2.6vw, 26px) auto 0; max-width: 60ch; }

.texte p {
	margin: 0;
	font-weight: 300;
	font-size: clamp(14px, 1.55vw, 16px);
	line-height: 1.75;
}

.texte p + p { margin-top: 13px; }

.texte .lead {
	font-weight: 400;
	font-size: clamp(15px, 1.9vw, 19px);
	line-height: 1.65;
}

.texte .signature {
	margin-top: 19px;
	padding-top: 17px;
	font-weight: 500;
	font-size: clamp(14px, 1.7vw, 17px);
}

/* --------------------------------------------------------------
   5. Barre d'avancement
   -------------------------------------------------------------- */
.progression { width: min(360px, 72vw); margin: clamp(24px, 3.4vw, 36px) auto 0; }

.rail { height: 5px; border-radius: 3px; overflow: hidden; }

.rail b {
	display: block;
	height: 100%;
	border-radius: 3px;
}

/* Sans JavaScript, la barre et le pourcentage s'affichent directement
   à leur valeur finale ; assets/js/attente.js les anime de 0 jusque-là. */

.progression .valeur {
	display: block;
	margin-top: 11px;
	font-size: 11px;
	letter-spacing: .26em;
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------
   6. Bouton de contact
   -------------------------------------------------------------- */
.contact {
	display: inline-block;
	margin-top: clamp(22px, 3vw, 34px);
	text-decoration: none;
	font-size: 12px;
	letter-spacing: .24em;
	text-transform: uppercase;
	padding: 14px 28px;
	transition: background-color .25s, color .25s, border-color .25s;
}

/* --------------------------------------------------------------
   7. Technologies
   -------------------------------------------------------------- */
.technos {
	width: 100%;
	max-width: 940px;
	margin: clamp(22px, 3.5vw, 40px) auto 0;
	padding-top: clamp(20px, 3vw, 30px);
	border-top: 1px solid var(--filet);
	text-align: center;
}

.groupe + .groupe { margin-top: clamp(20px, 3vw, 30px); }

.stack h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(10px, 2vw, 18px);
	margin: 0 0 clamp(14px, 2vw, 20px);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .3em;
	text-transform: uppercase;
}

.stack h2::before,
.stack h2::after {
	content: "";
	width: clamp(20px, 6vw, 70px);
	height: 1px;
	background: currentColor;
	opacity: .45;
}

.stack ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(12px, 2vw, 22px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.stack li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	width: 92px;
	font-size: 11.5px;
	font-weight: 400;
	letter-spacing: .02em;
	line-height: 1.25;
}

.ic {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	transition: transform .25s ease, box-shadow .25s ease;
}

.ic svg { width: 31px; height: 31px; fill: currentColor; }

.stack li:hover .ic { transform: translateY(-3px); }

/* --------------------------------------------------------------
   7b. Pied de page
   -------------------------------------------------------------- */
.site-footer {
	display: flex;
	justify-content: center;
	padding-top: clamp(20px, 3vw, 30px);
}

.copy {
	margin: 0;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	text-align: center;
}

/* --------------------------------------------------------------
   8. Adaptatif
   -------------------------------------------------------------- */
@media (max-width: 700px) {
	.stack li { width: 78px; font-size: 10.5px; }

	.ic { width: 50px; height: 50px; border-radius: 15px; }

	.ic svg { width: 26px; height: 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.ic { transition: none; }

	.stack li:hover .ic { transform: none; }
}

/* --------------------------------------------------------------
   9. Charte — logo or sur papier sable
   -------------------------------------------------------------- */
:root {
	--papier: #f8f6f2;
	--encre: #192432;
	--or: #bc873b;
	--gris: #5d6779;
	--filet: rgba(188, 135, 59, .35);
}

body { background: var(--papier); color: var(--encre); }

.decor svg.topo {
	position: absolute;
	bottom: -4%;
	left: 50%;
	transform: translateX(-50%);
	width: 1440px;
	max-width: none;
	height: auto;
}

.decor svg.topo path { fill: none; stroke: var(--or); stroke-width: 1; opacity: .15; }

.soleil {
	position: absolute;
	top: 16%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: min(560px, 84vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(188, 135, 59, .16), rgba(188, 135, 59, .05) 55%, transparent 70%);
}

.liens a { color: var(--gris); }
.liens a.actif { color: var(--encre); }
.liens a:not([aria-disabled]):hover { color: var(--or); }
.liens a:focus-visible { outline: 1px solid var(--or); outline-offset: 6px; }

.texte p { color: var(--gris); }
.texte .lead { color: var(--encre); }
.texte .signature { border-top: 1px solid rgba(188, 135, 59, .4); color: var(--encre); }

.rail { background: rgba(25, 36, 50, .10); }
.rail b { background: var(--or); }
.progression .valeur { color: var(--gris); }

.contact { background: var(--encre); color: var(--papier); border: 1px solid var(--encre); }
.contact:hover { background: var(--or); border-color: var(--or); }
.contact:focus-visible { outline: 2px solid var(--or); outline-offset: 4px; }

.stack h2 { color: var(--or); }
.stack li { color: var(--gris); }
.ic { background: rgba(25, 36, 50, .05); }
.stack li:hover .ic { box-shadow: 0 8px 20px rgba(25, 36, 50, .10); }
.copy { color: var(--gris); }

/* Logos des technologies en encre monochrome plutôt qu'en couleurs de marque :
   décommenter le bloc ci-dessous.
.ic { color: var(--encre) !important; }
*/
