/* Rayon Vert — démonstration de site vitrine (ZataLabs, V7.4). Style brut. */
:root { --jaune: #ffd400; --noir: #111; --blanc: #fff; --gris: #f2f2f2; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--blanc); color: var(--noir); font: 500 17px/1.55 "Space Grotesk", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Archivo Black", Impact, sans-serif; font-weight: 400; margin: 0; line-height: .95; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--noir); outline-offset: 2px; }
.bouton { display: inline-block; padding: 1rem 1.4rem; background: var(--noir); color: var(--jaune); text-decoration: none; font: 400 1.05rem/1 "Archivo Black", sans-serif; border: 3px solid var(--noir); transition: background .15s, color .15s; }
.bouton:hover { background: var(--jaune); color: var(--noir); }

.entete { display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 4vw, 3rem); border-bottom: 3px solid var(--noir); background: var(--jaune); position: sticky; top: 0; z-index: 10; }
.logo { font: 400 1.6rem/1 "Archivo Black", sans-serif; text-decoration: none; letter-spacing: -.02em; }
.logo span { background: var(--noir); color: var(--jaune); padding: 0 .25rem; margin-left: .15rem; }
.entete nav { display: flex; gap: 1.4rem; }
@media (max-width: 560px) { .entete { flex-wrap: wrap; gap: .4rem 1rem; } .entete nav { gap: .9rem; flex-wrap: wrap; } }
.entete nav a { font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .9rem; }
.entete nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; }

.hero { position: relative; padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 3rem) 0; background: var(--jaune); overflow: hidden; border-bottom: 3px solid var(--noir); }
.hero h1 { font-size: clamp(3.4rem, 13vw, 10rem); letter-spacing: -.03em; position: relative; z-index: 1; }
.hero h1 span { -webkit-text-stroke: 3px var(--noir); color: transparent; }
.hero__bas { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; padding: 2rem 0 2.5rem; position: relative; z-index: 1; max-width: 55%; }
.hero__bas p { margin: 0; font-size: 1.1rem; max-width: 32rem; }
.hero__velo { position: absolute; right: -2%; bottom: 1rem; width: min(560px, 48%); }
/* Chaque groupe de rayons tourne autour de son propre centre. */
.rayons { transform-box: fill-box; transform-origin: center; animation: tourne 3s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
@media (max-width: 820px) { .hero__bas { max-width: none; } .hero__velo { position: static; width: 100%; margin-bottom: 1rem; } .rayons { animation: none; } }

.bandeau-defile { overflow: hidden; background: var(--noir); color: var(--jaune); border-bottom: 3px solid var(--noir); }
.bandeau-defile div { display: inline-block; white-space: nowrap; padding: .8rem 0; font: 400 1.1rem/1 "Archivo Black", sans-serif; animation: defile 22s linear infinite; }
@keyframes defile { to { transform: translateX(-50%); } }

.section { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); border-bottom: 3px solid var(--noir); }
.section h2 { font-size: clamp(2.2rem, 7vw, 4.5rem); margin-bottom: 2rem; }
.section--jaune { background: var(--jaune); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); border: 3px solid var(--noir); }
.services article { padding: 1.5rem; border-right: 3px solid var(--noir); display: flex; flex-direction: column; gap: .6rem; transition: background .15s; }
.services article:last-child { border-right: 0; }
.services article:hover { background: var(--jaune); }
.services span { font: 400 2.4rem/1 "Archivo Black", sans-serif; -webkit-text-stroke: 2px var(--noir); color: transparent; }
.services h3 { font-size: 1.4rem; }
.services p { margin: 0; flex: 1; }
.services b { font: 400 1.2rem/1 "Archivo Black", sans-serif; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr 1fr; } .services article:nth-child(2) { border-right: 0; } .services article:nth-child(-n+2) { border-bottom: 3px solid var(--noir); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } .services article { border-right: 0; border-bottom: 3px solid var(--noir); } .services article:last-child { border-bottom: 0; } }

/* Devis */
.devis { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .devis { grid-template-columns: 1fr; } }
.devis fieldset { border: 3px solid var(--noir); background: var(--blanc); margin: 0 0 1.2rem; padding: 1rem 1.2rem 1.2rem; }
.devis legend { font: 400 1rem/1 "Archivo Black", sans-serif; padding: .3rem .5rem; background: var(--noir); color: var(--jaune); }
.segments { display: flex; flex-wrap: wrap; gap: .5rem; }
.segments input, .cases input, .urgent input { position: absolute; opacity: 0; }
.segments span { display: block; padding: .6rem 1rem; border: 3px solid var(--noir); font-weight: 700; cursor: pointer; }
.segments input:checked + span { background: var(--noir); color: var(--jaune); }
.segments input:focus-visible + span, .cases input:focus-visible + span, .urgent input:focus-visible + span { outline: 4px solid var(--noir); outline-offset: 2px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
@media (max-width: 520px) { .cases { grid-template-columns: 1fr; } }
.cases label { position: relative; }
.cases span { display: flex; justify-content: space-between; gap: .5rem; padding: .7rem .8rem; border: 3px solid var(--noir); cursor: pointer; font-weight: 700; }
.cases span small { font-weight: 500; }
.cases input:checked + span { background: var(--jaune); }
.cases input:checked + span::before { content: "✓ "; }
.urgent { display: inline-flex; position: relative; cursor: pointer; }
.urgent span { padding: .7rem 1rem; border: 3px solid var(--noir); background: var(--blanc); font-weight: 700; }
.urgent input:checked + span { background: var(--noir); color: var(--jaune); }
.ticket { background: var(--blanc); border: 3px solid var(--noir); padding: 1.3rem; font-family: "Space Grotesk", monospace; box-shadow: 10px 10px 0 var(--noir); position: sticky; top: 90px; }
.ticket__titre { margin: 0 0 1rem; font: 400 1rem/1 "Archivo Black", sans-serif; border-bottom: 3px dashed var(--noir); padding-bottom: .8rem; }
.ticket ul { list-style: none; margin: 0; padding: 0; min-height: 3rem; }
.ticket li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.ticket li.vide { color: #777; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0 .3rem; padding-top: .8rem; border-top: 3px dashed var(--noir); font-weight: 700; }
.ticket__total b { font: 400 2rem/1 "Archivo Black", sans-serif; }
.ticket__delai { margin: 0 0 .8rem; font-weight: 700; }
.ticket__note { margin: 0; font-size: .8rem; color: #555; }

.atelier { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 760px) { .atelier { grid-template-columns: 1fr; } }
.atelier__carte { border: 3px solid var(--noir); }
.atelier__carte svg { display: block; width: 100%; }
.infos { display: grid; grid-template-columns: auto 1fr; gap: .8rem 1.5rem; margin: 0; font-size: 1.1rem; }
.infos dt { font: 400 .95rem/1.6 "Archivo Black", sans-serif; }
.infos dd { margin: 0; }
.infos b { font: 400 1.6rem/1 "Archivo Black", sans-serif; background: var(--jaune); padding: 0 .3rem; }
.infos small { color: #666; }
.pied { padding: 1.5rem clamp(1rem, 4vw, 3rem); background: var(--noir); color: var(--jaune); font-weight: 700; }
