/* ==========================================================================
   EVOYA — thème 2026, version B (claire, tuiles)
   Feuille unique, sans dépendance. Police Geist hébergée en local (fonts/geist).
   Sommaire : 1. Police  2. Jetons  3. Base  4. Composants  5. Navigation
              6. Héro et clavier  7. Sections  8. Contact  9. Pied de page
              10. Responsive  11. Mouvement
   ========================================================================== */

/* 1. Police --------------------------------------------------------------- */
@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/geist/geist-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Geist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/geist/geist-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. Jetons --------------------------------------------------------------- */
:root {
	--fond: #f3f4f6;         /* gris très clair : les tuiles blanches s'en détachent */
	--tuile: #ffffff;
	--bord: rgba(11, 12, 14, 0.08);
	--texte: #0b0c0e;
	--discret: #5b5f67;
	--rouge: #e74d3c;        /* rouge Evoya */
	--rouge-tuile: #c8382a;  /* fond rouge lisible avec du texte blanc */
	--bleu: #2f6fed;         /* icônes, carte et bouton revendeurs */
	--bleu-fonce: #1d4fc4;
	--vert: #37d67a;         /* voyant « ouvert » du clavier */

	--police: "Geist", "Helvetica Neue", Arial, sans-serif;
	--gouttiere: clamp(16px, 4vw, 48px);
	--section: clamp(72px, 10vw, 152px);
	--ecart: clamp(10px, 1.2vw, 16px);
	--rayon: clamp(20px, 2.4vw, 32px);
	--doux: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { background: var(--fond); scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--fond);
	color: var(--texte);
	font-family: var(--police);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
p, h1, h2, h3, ul { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 6.6vw, 6.25rem); line-height: 0.96; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.125rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.15; letter-spacing: -0.02em; }

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

.sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	padding: 10px 16px; border-radius: 999px; background: var(--texte); color: #fff; text-decoration: none;
}
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gouttiere); }

/* 4. Composants ----------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border: 1px solid var(--texte); border-radius: 999px;
	background: var(--texte); color: #fff;
	font: inherit; font-size: 0.9375rem; font-weight: 500; letter-spacing: -0.005em;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--doux);
}
.btn:hover { background: var(--rouge-tuile); border-color: var(--rouge-tuile); color: #fff; }
.btn:active { transform: scale(0.97); }
.btn-fantome { background: transparent; border-color: rgba(11, 12, 14, 0.22); color: var(--texte); }
.btn-fantome:hover { background: #fff; border-color: var(--texte); color: var(--texte); }
.btn-bleu { min-height: 60px; padding: 0 30px; gap: 14px; border-color: var(--bleu-fonce); background: linear-gradient(180deg, var(--bleu), var(--bleu-fonce)); font-size: 1.0625rem; box-shadow: 0 16px 32px -14px rgba(47, 111, 237, 0.7); }
.btn-bleu:hover { border-color: var(--bleu-fonce); background: var(--bleu-fonce); }
.btn-bleu .icone:last-child { width: 18px; height: 18px; margin-left: 6px; transition: transform 0.25s var(--doux); }
.btn-bleu:hover .icone:last-child { transform: translateX(4px); }
.icone { flex-shrink: 0; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

/* Lien fléché : la flèche est dessinée en CSS, elle n'est pas dans le texte */
.lien {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 500; text-decoration: none;
}
.lien::after {
	content: ""; width: 9px; height: 9px;
	border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
	transform: rotate(45deg); transition: transform 0.25s var(--doux);
}
.lien:hover::after { transform: translateX(5px) rotate(45deg); }

.tuile {
	--marge: clamp(24px, 2.8vw, 40px);
	position: relative; overflow: hidden;
	padding: var(--marge);
	border: 1px solid var(--bord); border-radius: var(--rayon);
	background: var(--tuile);
}
.tuile p { color: var(--discret); }
.tuile h3 + p { margin-top: 12px; }
.tuile-rouge { border-color: transparent; background: var(--rouge-tuile); color: #fff; }
.tuile-rouge p { color: rgba(255, 255, 255, 0.86); }

.section { padding-top: var(--section); }
.tete { max-width: 62rem; margin-bottom: clamp(32px, 4.5vw, 64px); }
.tete p { max-width: 46ch; margin-top: clamp(16px, 2vw, 28px); color: var(--discret); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; letter-spacing: -0.01em; }

.grille { display: grid; gap: var(--ecart); }

/* 5. Navigation ----------------------------------------------------------- */
.entete { position: fixed; top: clamp(10px, 1.6vw, 20px); left: 0; right: 0; z-index: 50; pointer-events: none; }
.entete .wrap { max-width: 1180px; }
.barre {
	pointer-events: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 64px; padding: 0 10px 0 26px;
	border: 1px solid var(--bord); border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px);
}
.logo img { width: 128px; }
.nav { display: flex; align-items: center; gap: clamp(8px, 2vw, 28px); }
.nav ul { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav ul a { display: block; padding: 10px 0; color: var(--discret); font-size: 0.9375rem; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--texte); }
.nav .btn { min-height: 44px; padding: 0 20px; }

.menu-bouton {
	display: none; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(11, 12, 14, 0.07); color: var(--texte); cursor: pointer;
}
.menu-bouton span[aria-hidden] { display: grid; gap: 5px; }
.menu-bouton i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.25s var(--doux); }
.menu-bouton[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* 6. Héro et clavier ------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-top: clamp(116px, 10vw, 164px); }
.hero .wrap {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(32px, 5vw, 80px); align-items: center;
	padding-bottom: clamp(56px, 7vw, 104px);
}
/* Titre d'accueil : phrase longue, donc plus petit que le h1 des autres pages */
.hero h1 { font-size: clamp(2.125rem, 4.5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.hero-texte p { max-width: 40ch; margin-top: clamp(20px, 2.6vw, 36px); color: var(--discret); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; letter-spacing: -0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 3.4vw, 48px); }

/* Halo : rouge quand le clavier est verrouillé, vert quand il s'ouvre */
.hero-scene { position: relative; display: grid; place-items: center; }
.hero-scene::before {
	content: ""; position: absolute; inset: -30% -40%; z-index: 0;
	background: radial-gradient(closest-side, var(--halo, rgba(231, 77, 60, 0.34)), transparent 72%);
	filter: blur(20px); transition: --halo 0.8s; opacity: 0.9;
}
@property --halo { syntax: "<color>"; inherits: true; initial-value: rgba(231, 77, 60, 0.34); }
.hero-scene:has(.est-ouvert)::before { --halo: rgba(55, 214, 122, 0.4); }

.clavier {
	position: relative; z-index: 1;
	width: min(100%, 300px); padding: 26px 26px 30px;
	border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 40px;
	background: linear-gradient(155deg, #2b2d31 0%, #131416 46%, #0a0b0c 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 40px 70px -24px rgba(11, 12, 14, 0.55);
	--etat: var(--rouge);
}
.clavier.est-ouvert { --etat: var(--vert); }
.clavier-tete {
	display: flex; align-items: center; justify-content: space-between;
	height: 56px; padding: 0 18px; margin-bottom: 22px;
	border-radius: 18px; background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.clavier-points { display: flex; gap: 10px; }
.clavier-points i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); transition: background-color 0.2s, box-shadow 0.2s; }
.clavier-points i.est-saisi { background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.7); }
.clavier.est-ouvert .clavier-points i { background: var(--vert); box-shadow: 0 0 10px var(--vert); }
.clavier-cadenas { width: 22px; height: 22px; color: var(--etat); filter: drop-shadow(0 0 8px var(--etat)); transition: color 0.4s; }
.clavier-cadenas .anse { transform-origin: 16.5px 11px; transition: transform 0.45s var(--doux); }
.clavier.est-ouvert .clavier-cadenas .anse { transform: rotate(38deg) translateY(-1px); }

.clavier-touches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clavier-touches span {
	display: grid; place-items: center; aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 28%, #3a3d42, #17181a 68%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 14px rgba(0, 0, 0, 0.6);
	color: rgba(255, 255, 255, 0.82); font-size: 1.25rem; font-weight: 500;
	transition: transform 0.15s, box-shadow 0.15s, color 0.15s;
}
.clavier-touches span.est-pressee {
	transform: scale(0.93); color: #fff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1.5px #fff, 0 0 26px rgba(255, 255, 255, 0.55);
}
.clavier-voyant { width: 56px; height: 5px; margin: 26px auto 0; border-radius: 3px; background: var(--etat); box-shadow: 0 0 16px 2px var(--etat); transition: background-color 0.4s, box-shadow 0.4s; }

/* Bandeau défilant des identifiants */
.defilant { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--bord); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defilant-piste { display: flex; width: max-content; animation: defile 64s linear infinite; }
.defilant ul { display: flex; flex-shrink: 0; }
.defilant li { display: flex; align-items: center; color: var(--discret); font-size: clamp(1.125rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; white-space: nowrap; }
.defilant li::after { content: ""; width: 26px; height: 3px; margin-inline: clamp(24px, 3vw, 44px); background: var(--rouge); transform: skewX(-32deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* 7. Sections ------------------------------------------------------------- */

/* Les trois messages (ancien slider) */
.messages { grid-template-columns: repeat(2, 1fr); padding-top: clamp(40px, 5vw, 72px); }
.messages .tuile { display: flex; flex-direction: column; min-height: clamp(240px, 22vw, 300px); }
.messages .message-alarme { min-height: clamp(340px, 32vw, 460px); }
.messages .tuile .lien { margin-top: auto; padding-top: 28px; }
.message-alarme { grid-column: span 2; }
.message-alarme > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.message-alarme::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 26%, rgba(255, 255, 255, 0) 52%); }
.message-alarme > :not(img) { position: relative; z-index: 2; max-width: min(24rem, 40%); }
.message-alarme h3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); letter-spacing: -0.03em; }

/* Nos produits */
.gammes { grid-template-columns: repeat(3, 1fr); }
.gamme { padding: 10px 10px clamp(24px, 2.6vw, 34px); }
.gamme a { display: block; color: inherit; text-decoration: none; }
.gamme a::after { content: ""; position: absolute; inset: 0; }
.gamme-photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: calc(var(--rayon) - 9px); background: var(--fond); }
.gamme-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--doux); }
.gamme:hover .gamme-photo img { transform: scale(1.045); }
.gamme h3, .gamme p { padding-inline: clamp(12px, 1.6vw, 26px); }
.gamme h3 { margin-top: clamp(20px, 2.2vw, 30px); }
.gamme h3 + p { margin-top: 8px; }
.gamme { transition: box-shadow 0.4s var(--doux), transform 0.4s var(--doux); }
.gamme:hover { box-shadow: 0 28px 56px -28px rgba(11, 12, 14, 0.28); transform: translateY(-4px); }
.section-pied { margin-top: clamp(24px, 3vw, 40px); }
.acces-rangee { display: flex; flex-wrap: wrap; align-items: center; gap: 20px clamp(24px, 3vw, 40px); }
.avantages { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 44px); padding-left: clamp(24px, 3vw, 40px); border-left: 1px solid rgba(11, 12, 14, 0.14); }
.avantages li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.avantages .icone { color: var(--bleu); }

/* Notre marque */
.vitrine { grid-template-columns: repeat(4, 1fr); }
.vitrine li { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: var(--rayon); background: #1a1c1f; }
.vitrine a { display: block; height: 100%; color: #fff; text-decoration: none; }
.vitrine img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--doux); }
.vitrine li:hover img { transform: scale(1.05); }
.vitrine-legende { position: absolute; left: 0; right: 0; bottom: 0; padding: 88px clamp(18px, 2vw, 28px) clamp(18px, 2vw, 26px); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78) 70%); }
.vitrine-legende p { margin-top: 4px; color: rgba(255, 255, 255, 0.78); font-size: 0.9375rem; line-height: 1.35; }

/* Catalogue */
.catalogue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; margin-top: var(--ecart); padding: clamp(28px, 4vw, 56px); }
.catalogue h2 { font-size: clamp(1.75rem, 3.4vw, 3rem); }
.catalogue p { margin-top: 8px; }

/* L'activité */
.activite { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.activite-photo { display: grid; place-items: center; padding: 0; }
.activite-photo img { width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.atouts { display: grid; gap: var(--ecart); }
.atouts .tuile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px 40px; align-items: start; }
.atouts .tuile h3 + p { margin-top: 0; }

/* Offres, garanties, services */
.manifeste { padding: clamp(32px, 6vw, 96px) clamp(24px, 5vw, 80px); }
.manifeste h2 { max-width: 16ch; }
.engagements { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 7vw, 112px); }
.engagements li { padding-top: 22px; border-top: 1px solid var(--texte); }
.engagements h3 + p { margin-top: 12px; }

/* Technologie */
.piliers { grid-template-columns: 1fr 1.25fr 1.1fr; }
.piliers .tuile { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(260px, 26vw, 380px); }
.pilier-visuel { margin-bottom: auto; padding-bottom: clamp(20px, 2.4vw, 32px); }
.reperes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.reperes li { grid-column: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; padding: 12px 8px; border: 1px solid var(--bord); border-radius: 16px; background: var(--fond); font-size: 0.875rem; font-weight: 500; line-height: 1.2; text-align: center; }
.reperes li:nth-child(n+4) { grid-column: span 3; }
.reperes .icone { width: 28px; height: 28px; color: var(--bleu); stroke-width: 1.5; }
.pilier-carte { margin: calc(-1 * var(--marge)) calc(-1 * var(--marge)) auto; padding: 8px 0 12px; }
.pilier-carte img { width: 100%; }
.chiffre { display: block; margin-bottom: 6px; font-size: clamp(4.5rem, 9vw, 8.5rem); font-weight: 600; line-height: 0.8; letter-spacing: -0.06em; }
.chiffre small { font-size: 0.32em; letter-spacing: -0.03em; }

/* Points forts */
.points { grid-template-columns: repeat(3, 1fr); margin-top: var(--ecart); }
.points li { display: flex; align-items: baseline; gap: 12px; padding: 22px clamp(20px, 2.4vw, 32px); border: 1px solid var(--bord); border-radius: 999px; background: #fff; font-weight: 500; }
.points li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); transform: translateY(-1px); }
.points a { text-underline-offset: 0.2em; }

/* 8. Contact -------------------------------------------------------------- */
.page-tete { padding-top: clamp(112px, 10vw, 148px); }
.contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); padding-top: clamp(32px, 5vw, 72px); align-items: start; }
.contact-carte { padding-block: clamp(12px, 1.6vw, 20px); }
.contact-infos li { display: flex; align-items: center; gap: 18px; padding-block: clamp(18px, 2vw, 24px); }
.contact-infos li + li { border-top: 1px solid var(--bord); }
.info-icone { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(47, 111, 237, 0.1); color: var(--bleu); }
.contact-infos strong { display: block; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.contact-infos span:not(.info-icone) { display: block; margin-top: 2px; color: var(--discret); }
.tuile .contact-note { padding: clamp(16px, 2vw, 22px) 0 clamp(8px, 1vw, 12px); border-top: 1px solid var(--bord); font-size: 0.9375rem; }

.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label { color: var(--texte); font-size: 0.9375rem; font-weight: 500; }
.champ input, .champ textarea {
	width: 100%; padding: 15px 18px;
	border: 1px solid rgba(11, 12, 14, 0.16); border-radius: 14px;
	background: var(--fond); color: var(--texte); font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { min-height: 200px; resize: vertical; }
.champ input:hover, .champ textarea:hover { border-color: rgba(11, 12, 14, 0.45); }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 0; border-color: var(--texte); box-shadow: 0 0 0 3px rgba(11, 12, 14, 0.12); background: #fff; }
.champ [aria-invalid="true"] { border-color: var(--rouge-tuile); }
.champ-erreur { color: var(--rouge-tuile); font-size: 0.875rem; }
.formulaire-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formulaire-etat { font-weight: 500; }
.formulaire-etat.est-erreur { color: var(--rouge-tuile); }

/* Pages légales */
.page-tete h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.legal { padding-top: clamp(32px, 5vw, 64px); }
.legal-texte { max-width: 860px; padding: clamp(28px, 4.5vw, 64px); }
.legal-texte h2 { margin-top: clamp(32px, 4vw, 48px); font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.15; }
.legal-texte h2:first-child { margin-top: 0; }
.legal-texte p, .legal-texte ul { max-width: 68ch; margin-top: 14px; }
.tuile.legal-texte p, .legal-texte li { color: #3d4148; }
.legal-texte ul { padding-left: 1.2em; list-style: disc; }
.legal-texte li + li { margin-top: 6px; }
.legal-texte li::marker { color: var(--bleu); }
.legal-texte a { color: var(--texte); font-weight: 500; text-underline-offset: 0.2em; }
.legal-texte strong { color: var(--texte); font-weight: 600; }
.tuile.legal-texte .legal-intro { margin-top: 0; font-size: 1.1875rem; }
.a-completer { padding: 2px 6px; border-radius: 6px; background: #ffe58a; color: #3d2e00; font-weight: 500; }
.formulaire-info { grid-column: 1 / -1; font-size: 0.875rem; }
.formulaire-info a { color: var(--texte); text-underline-offset: 0.2em; }

/* Accès revendeurs (page de connexion) */
.acces { padding-top: clamp(112px, 10vw, 148px); overflow: hidden; }
.acces-grille { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.acces-carte { max-width: 560px; padding: clamp(28px, 4vw, 56px); }
.acces-carte h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; }
.acces-intro { margin-top: 14px; font-size: 1.125rem; }
.acces-form { display: grid; gap: 20px; margin-top: clamp(28px, 3vw, 40px); }
.acces-form .btn { margin-top: 8px; width: 100%; }
.acces-erreur { padding: 12px 16px; border-radius: 14px; background: rgba(200, 56, 42, 0.08); font-size: 0.9375rem; font-weight: 500; }
.tuile .acces-erreur { color: var(--rouge-tuile); }
.champ-secret { position: relative; }
.champ-secret input { padding-right: 104px; }
.champ-voir {
	position: absolute; top: 50%; right: 8px; transform: translateY(-50%);
	min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px;
	background: transparent; color: var(--discret); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}
.champ-voir:hover { background: rgba(11, 12, 14, 0.06); color: var(--texte); }
.acces-aide { margin-top: 24px; font-size: 0.9375rem; }
.acces-aide a { color: var(--texte); font-weight: 500; text-underline-offset: 0.2em; }

/* 9. Pied de page --------------------------------------------------------- */
.pied { margin-top: var(--section); padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--bord); font-size: 0.9375rem; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: clamp(48px, 6vw, 80px); }
.pied .logo img { width: 150px; margin-bottom: 24px; }
.pied h2 { margin-bottom: 18px; color: var(--discret); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.55; }
.pied p { max-width: 38ch; color: var(--discret); }
.pied li + li { margin-top: 8px; }
.pied a { text-decoration: none; transition: color 0.2s; }
.pied a:hover { color: var(--rouge-tuile); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px; border-top: 1px solid var(--bord); color: var(--discret); font-size: 0.8125rem; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.pied-bas li + li { margin-top: 0; }

/* 10. Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.pied-grille { grid-template-columns: 1fr 1fr; }
	.pied-grille > :first-child { grid-column: 1 / -1; }
	.atouts .tuile { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.menu-bouton { display: grid; }
	.barre { padding-left: 22px; }
	.nav {
		position: absolute; top: calc(100% + 8px); left: var(--gouttiere); right: var(--gouttiere);
		display: none; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 22px 22px;
		border: 1px solid var(--bord); border-radius: 28px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 24px 48px -16px rgba(11, 12, 14, 0.18);
		backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	}
	.nav.est-ouverte { display: flex; }
	.entete .wrap { position: relative; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav ul a { padding: 15px 0; color: var(--texte); font-size: 1.125rem; }
	.nav li + li a { border-top: 1px solid var(--bord); }
	.nav .btn { min-height: 52px; }

	.hero .wrap, .activite, .contact, .acces-grille { grid-template-columns: 1fr; }
	.acces-scene { display: none; }
	.acces-carte { max-width: none; }
	.messages .message-alarme { min-height: 0; padding-bottom: 0; }
	.message-alarme > img { position: static; order: 9; width: calc(100% + 2 * var(--marge)); max-width: none; height: auto; aspect-ratio: 16 / 9; margin: 20px calc(-1 * var(--marge)) 0; object-position: 82% 60%; }
	.message-alarme::before { display: none; }
	.message-alarme > :not(img) { max-width: 34rem; }
	.messages .message-alarme .lien { margin-top: 0; }
	.hero-scene { order: -1; padding-block: 8px 16px; }
	.clavier { width: 220px; padding: 18px 18px 22px; border-radius: 32px; }
	.clavier-tete { height: 44px; margin-bottom: 16px; border-radius: 14px; }
	.clavier-touches { gap: 10px; }
	.clavier-touches span { font-size: 1.0625rem; }
	.clavier-voyant { margin-top: 18px; }
	.vitrine { grid-template-columns: repeat(2, 1fr); }
	.gammes, .piliers, .engagements, .points { grid-template-columns: 1fr; }
	.avantages { padding-left: 0; border-left: 0; }
	.piliers .tuile { min-height: 0; }
	.points li { border-radius: 20px; }
	.activite-photo img { max-height: 420px; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.messages { grid-template-columns: 1fr; }
	.message-alarme { grid-column: auto; }
	.vitrine { grid-template-columns: 1fr; }
	.vitrine li { aspect-ratio: 3 / 2; }
	.messages .tuile { min-height: 0; }
	.formulaire { grid-template-columns: 1fr; }
	.pied-grille { grid-template-columns: 1fr; gap: 40px; }
	.hero-actions .btn, .catalogue .btn, .formulaire-pied .btn, .acces-rangee .btn { width: 100%; }
	.avantages { flex-direction: column; }
}

/* 11. Mouvement ----------------------------------------------------------- */
@keyframes entree { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero h1, .hero-texte p, .hero-actions, .hero-scene { animation: entree 0.9s var(--doux) both; }
.hero-texte p { animation-delay: 0.08s; }
.hero-actions { animation-delay: 0.16s; }
.hero-scene { animation-delay: 0.24s; }

/* Apparition au défilement : uniquement si le JavaScript est actif */
.js .apparait { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--doux), transform 0.8s var(--doux); transition-delay: var(--retard, 0s); }
.js .apparait.est-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .apparait { opacity: 1; transform: none; }
	.defilant-piste { width: auto; flex-wrap: wrap; }
	.defilant ul[aria-hidden] { display: none; }
	.defilant ul { flex-wrap: wrap; row-gap: 10px; padding-inline: var(--gouttiere); }
}


/* ==========================================================================
   Tuile EvoPass (accueil, à la place de « Système d'alarme connecté »)
   Aux couleurs de l'application EvoPass (orange), en thème clair.
   À coller à la fin de style/evoya-2026-b.css
   ========================================================================== */
.message-evopass {
	--ep: #f47a1f;          /* orange EvoPass */
	--ep-fonce: #c24d0b;    /* orange foncé : texte blanc lisible dessus */
	grid-column: span 2;
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px); align-items: center;
	padding: clamp(28px, 4vw, 56px) clamp(28px, 4.5vw, 64px);
	border-color: rgba(244, 122, 31, 0.16);
	background:
		radial-gradient(60% 90% at 88% 40%, rgba(244, 122, 31, 0.16), transparent 70%),
		linear-gradient(135deg, #ffffff 0%, #fff6ee 100%);
}
.messages .message-evopass { display: grid; min-height: 0; }

.evopass-appli { display: inline-flex; align-items: center; gap: 12px; color: var(--texte); font-weight: 600; }
.evopass-icone {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px;
	background: linear-gradient(160deg, var(--ep), var(--ep-fonce)); color: #fff;
	box-shadow: 0 10px 20px -10px rgba(244, 122, 31, 0.8);
}
.evopass-icone .icone { width: 22px; height: 22px; stroke-width: 2; }
.message-evopass h3 { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.02; letter-spacing: -0.035em; }
.message-evopass .evopass-texte > p:not(.evopass-appli) { max-width: 46ch; margin-top: 16px; font-size: 1.0625rem; }

.evopass-fonctions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 2.6vw, 32px); }
.evopass-fonctions li {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px;
	border: 1px solid rgba(244, 122, 31, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem; font-weight: 500;
}
.evopass-fonctions .icone { width: 18px; height: 18px; color: var(--ep-fonce); stroke-width: 1.8; }
.messages .message-evopass .evopass-telecharger { margin-top: clamp(24px, 3vw, 36px); }
.evopass-telecharger { min-height: 58px; padding: 0 28px; border-color: var(--ep-fonce); background: linear-gradient(180deg, #e0640f, var(--ep-fonce)); color: #fff; font-size: 1.0625rem; box-shadow: 0 16px 32px -14px rgba(244, 122, 31, 0.75); }
.evopass-telecharger:hover { border-color: #9e3e08; background: #9e3e08; color: #fff; }

/* Téléphone dessiné en CSS */
.evopass-scene { position: relative; display: grid; place-items: center; }
.evopass-scene::before {
	content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%;
	border: 1px solid rgba(244, 122, 31, 0.18);
	box-shadow: 0 0 0 34px rgba(244, 122, 31, 0.05), 0 0 0 70px rgba(244, 122, 31, 0.035);
}
.tel {
	position: relative; width: min(100%, 290px); padding: 10px; border-radius: 46px;
	background: linear-gradient(150deg, #2b2e33, #0d0e10 55%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 40px 70px -28px rgba(90, 40, 10, 0.45);
	transform: rotate(4deg);
}
.tel-ecran { display: grid; gap: 12px; padding: 12px 14px 16px; border-radius: 37px; background: #f6f8fc; color: #0b0c0e; font-size: 0.8125rem; }
.tel .icone { width: 18px; height: 18px; stroke-width: 1.8; }
.tel-barre { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; font-size: 0.6875rem; font-weight: 600; }
.tel-encoche { width: 74px; height: 20px; border-radius: 999px; background: #0d0e10; }
.tel-entete { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.tel-entete img { width: 82px; }

.tel-serrure { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(11, 12, 14, 0.06); }
.tel-serrure-icone { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(244, 122, 31, 0.1); color: var(--ep); }
.tel-serrure-nom { font-weight: 600; line-height: 1.2; }
.tel-serrure small { display: block; font-size: 0.6875rem; font-weight: 500; }
.tel-serrure-nom small { color: #1f9d55; }
.tel-serrure-nom small::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #22c55e; vertical-align: 1px; }
.tel-serrure-batt { font-weight: 700; text-align: right; line-height: 1.2; }
.tel-serrure-batt small { color: #6b7079; }

.tel-bouton { display: grid; place-items: center; padding: 8px 0 4px; }
.tel-bouton span {
	display: grid; place-items: center; align-content: center; gap: 4px; width: 132px; aspect-ratio: 1; border-radius: 50%;
	background: radial-gradient(circle at 50% 35%, #fff, #fff3e8);
	border: 2px solid var(--ep); color: var(--ep-fonce);
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
	box-shadow: 0 0 0 8px rgba(244, 122, 31, 0.1), 0 14px 30px -12px rgba(244, 122, 31, 0.7);
	animation: evopass-pouls 2.8s ease-in-out infinite;
}
.tel-bouton .icone { width: 30px; height: 30px; }
.tel-bouton small { color: #6b7079; font-size: 0.625rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
@keyframes evopass-pouls {
	0%, 100% { box-shadow: 0 0 0 8px rgba(244, 122, 31, 0.1), 0 14px 30px -12px rgba(244, 122, 31, 0.7); }
	50% { box-shadow: 0 0 0 16px rgba(244, 122, 31, 0.06), 0 14px 30px -12px rgba(244, 122, 31, 0.7); }
}

.tel-raccourcis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.tel-raccourcis span { display: grid; justify-items: center; gap: 5px; padding: 9px 2px; border-radius: 12px; background: #fff; font-size: 0.5625rem; font-weight: 600; text-align: center; }
.tel-raccourcis .icone { color: var(--ep); }

.tel-journal { display: grid; gap: 8px; padding: 11px 12px; border-radius: 16px; background: #fff; }
.tel-journal strong { font-size: 0.75rem; }
.tel-journal span { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; font-size: 0.6875rem; font-weight: 600; }
.tel-journal i { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ep); color: #fff; font-style: normal; font-size: 0.6875rem; }
.tel-journal small { color: #6b7079; font-size: 0.625rem; font-weight: 500; }

@media (max-width: 900px) {
	.message-evopass { grid-template-columns: 1fr; }
	.evopass-scene { padding-top: 8px; }
	.tel { width: min(100%, 260px); transform: none; }
}
@media (max-width: 640px) {
	.message-evopass { grid-column: auto; }
	.messages .message-evopass .evopass-telecharger { width: 100%; }
}