/* Sen·plify — feuille de style
   Identité : gris anthracite du logo, sable du point central, beaucoup de blanc. */

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-italique.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--blanc: #ffffff;
	--papier: #f6f1e9;      /* sable très clair */
	--gris: #595959;        /* gris du logo */
	--encre: #333333;       /* texte courant */
	--anthracite: #454545;  /* bandeau contact */
	--sable: #d1b48c;       /* point du logo */
	--sable-fonce: #846537; /* liens sur fond clair */
	--filet: #dcdad6;

	--police: "Jost", "Century Gothic", "Avenir Next", Avenir, sans-serif;
	--marge: clamp(1.25rem, 5vw, 4rem);
	--largeur: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
	margin: 0;
	background: var(--blanc);
	color: var(--encre);
	font-family: var(--police);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.6;
	-webkit-text-size-adjust: 100%;
}

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

a { color: var(--sable-fonce); text-underline-offset: 0.2em; }
a:hover { color: var(--encre); }

:focus-visible { outline: 3px solid var(--sable-fonce); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-weight: 300; line-height: 1.1; margin: 0; color: var(--gris); text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--largeur); margin-inline: auto; padding-inline: var(--marge); }

.skip {
	position: absolute; left: var(--marge); top: -4rem;
	background: var(--encre); color: var(--blanc); padding: 0.5rem 1rem; z-index: 20;
}
.skip:focus { top: 0.5rem; color: var(--blanc); }

/* ---------- En-tête ---------- */

.site-header {
	position: sticky; top: 0; z-index: 10;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--filet);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem 2rem; flex-wrap: wrap;
	padding-block: 0.9rem;
}
.brand img { width: 9.5rem; }
.nav {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem;
}
.nav a {
	color: var(--gris); text-decoration: none; font-size: 1rem;
	padding-block: 0.35rem; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--encre); border-bottom-color: var(--sable); }
.nav a[aria-current="true"] { color: var(--encre); border-bottom-color: var(--sable); }

/* ---------- Accroche ---------- */

.hero { padding-block: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; gap: 3.5rem clamp(2rem, 6vw, 5rem); align-items: center; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); } }
.hero h1 {
	font-size: clamp(2.4rem, 5.2vw, 4.4rem);
	font-weight: 200;
	letter-spacing: -0.015em;
}
.hero-lead {
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	max-width: 32em; margin-top: 1.75rem; color: var(--gris);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin: 2.25rem 0 0; }

/* Le logo rond, dessiné par un trait qui se démêle */
.hero-mark { justify-self: center; width: min(100%, 21rem); }
@media (max-width: 55.99rem) { .hero-mark { width: min(72vw, 17rem); justify-self: start; } }
.hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.mark-ring { fill: none; stroke: var(--gris); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.mark-s { fill: var(--gris); }
.mark-dot { fill: var(--sable); }
.mark-line { display: none; fill: none; stroke: var(--gris); stroke-linecap: round; stroke-linejoin: round; }
/* Pendant l'animation : le trait remplace le S, le cercle attend son tour */
.is-animating .mark-s { visibility: hidden; }
.is-animating .mark-line { display: block; }
.is-animating .mark-ring { stroke-dashoffset: 1; }

.hero-quote { margin: 2.25rem 0 0; color: var(--gris); }
.hero-quote p { font-size: 1.05rem; margin: 0 0 0.4em; }
.hero-quote footer { font-size: 0.95rem; }

/* ---------- Boutons et liens ---------- */

.button {
	display: inline-block; cursor: pointer;
	font: inherit; font-weight: 500; text-decoration: none;
	color: var(--blanc); background: var(--gris);
	border: 2px solid var(--gris); border-radius: 999px;
	padding: 0.7rem 1.6rem;
	transition: background-color 0.15s, color 0.15s;
}
.button:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.button-light { background: var(--sable); border-color: var(--sable); color: #2b2b2b; }
.button-light:hover { background: var(--blanc); border-color: var(--blanc); color: #2b2b2b; }
.button[disabled] { opacity: 0.6; cursor: progress; }

.text-link { color: var(--gris); font-weight: 500; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--filet); }
.section h2 { font-size: clamp(2rem, 4vw, 2.75rem); }

.split { display: grid; gap: 2rem clamp(2rem, 6vw, 5rem); }
@media (min-width: 56rem) {
	.split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; }
	.section:not(.contact) h2 { position: sticky; top: 6.5rem; }
}

.prose p { max-width: 38em; }
.section-intro { color: var(--gris); }

/* Mot du dirigeant */
.founder {
	margin: 3rem 0 0; padding-top: 2.5rem; border-top: 1px solid var(--filet);
	display: grid; gap: 1.5rem 2rem; grid-template-columns: 1fr;
}
@media (min-width: 40rem) { .founder { grid-template-columns: 9.5rem 1fr; } }
.founder img { width: 9.5rem; border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--sable); padding: 4px; }
.founder h3 { font-size: 1.35rem; font-weight: 400; margin-bottom: 0.7rem; }
.founder p, .founder ul { max-width: 34em; }
/* Le parcours reste discret : texte plus petit et plus clair que le reste de la page */
.founder > div > p { font-size: 1rem; line-height: 1.55; color: var(--gris); max-width: 38em; }
.founder ul { margin: 0 0 1em; padding-left: 1.2em; }
.founder li { margin-bottom: 0.2em; }
.founder li::marker { color: var(--sable); }
/* La citation : italique, avec un grand guillemet sable en ouverture */
.founder blockquote { position: relative; margin: 2.25rem 0 0; padding-left: 3.25rem; }
.founder blockquote::before {
	content: "\00AB"; position: absolute; left: 0; top: -0.35em;
	font-size: 4rem; font-weight: 300; line-height: 1; color: var(--sable);
}
.founder blockquote p {
	font-size: clamp(1.15rem, 1.8vw, 1.3rem); font-weight: 300; font-style: italic; line-height: 1.5;
	color: var(--gris); margin: 0;
}
.founder blockquote p::after {
	content: "\00A0\00BB"; font-style: normal; font-size: 1.7em; line-height: 0;
	vertical-align: -0.12em; color: var(--sable);
}

/* Services */
.services { display: grid; gap: 3rem clamp(2rem, 5vw, 4rem); }
@media (min-width: 40rem) { .services { grid-template-columns: 1fr 1fr; } }
.service img { height: 5rem; width: 5rem; margin-bottom: 1.5rem; }
.service h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 0.6rem; }
.service p { margin: 0; max-width: 26em; }

/* Méthode : quatre étapes numérotées */
.steps {
	list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: etape;
	display: grid; gap: 2.5rem clamp(2rem, 5vw, 4rem);
}
@media (min-width: 40rem) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: etape; border-top: 1px solid var(--filet); padding-top: 1.25rem; }
.steps li::before {
	content: counter(etape); display: block;
	font-size: 2.75rem; font-weight: 200; line-height: 1; color: var(--sable-fonce); margin-bottom: 0.75rem;
}
.steps h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 0.6rem; }
.steps p { margin: 0; max-width: 26em; }

/* Clients */
.clients {
	list-style: none; margin: 2rem 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: 0.75rem;
}
.clients li {
	background: var(--blanc); border: 1px solid var(--filet); border-radius: 6px;
	aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.1rem;
}
.clients img { max-height: 4.25rem; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Contact ---------- */

.contact { background: var(--anthracite); color: #ededed; border-top: 0; }
.contact h2 { color: var(--blanc); }
.contact a { color: var(--sable); }
.contact a:hover { color: var(--blanc); }
.contact :focus-visible { outline-color: var(--sable); }
.contact-intro { margin-top: 1.25rem; max-width: 24em; }

.coords { margin: 2.5rem 0 0; display: grid; gap: 1.25rem; }
.coords dt { font-size: 0.95rem; color: #c9c9c9; }
.coords dd { margin: 0; font-size: 1.15rem; }
.coords address { font-style: normal; }

.form { display: grid; gap: 1.1rem; }
.field-pair { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.3rem; }
.field label { font-size: 1rem; }
.optional { color: #c9c9c9; }
.field input, .field textarea {
	font: inherit; color: var(--encre); background: var(--blanc);
	border: 2px solid transparent; border-radius: 6px;
	padding: 0.6rem 0.75rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--sable); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: #e9a08f; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: #d6d6d6; margin: 0; }
.form .button { justify-self: start; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 500; }
.form-status.is-error { color: #f3b9ab; }
.form-status.is-ok { color: var(--sable); }

/* ---------- Pied de page ---------- */

.site-footer { background: #3a3a3a; color: #d6d6d6; font-size: 1rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.5rem; }
.footer-inner p { margin: 0; }
.site-footer a { color: #ededed; }
.site-footer a:hover { color: var(--sable); }

/* ---------- Page mentions légales ---------- */

.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 200; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.6rem; font-weight: 400; margin: 2.75rem 0 0.75rem; }
.legal p, .legal ul { max-width: 40em; }
.legal ul { padding-left: 1.2em; }
.todo { background: #fff3c4; padding: 0 0.25em; border-radius: 3px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.button { transition: none; }
}
