/* ==========================================================================
   1. VARIABLES & CONFIGURATION DE BASE (Édition Halloween)
   ========================================================================== */

:root {
  --blue: #2B4BFF;
  --orange: #FF7700; /* Teinte orange plus incandescente pour Halloween */
  --ink: #f0e6f5; /* Texte clair pour fond sombre */
  --paper: #0d0518; /* Fond global sombre mystique */
  --h-purple: #1f0a38;
  --h-green: #39ff14;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font: 400 17px/1.55 "Work Sans", system-ui, sans-serif;
  position: relative;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: Archivo, "Arial Black", sans-serif;
  margin: 0;
  line-height: 1.02;
  color: var(--orange) !important;
  text-shadow: 0 0 10px rgba(255, 119, 0, 0.4);
}


/* ==========================================================================
   ANIMATIONS DE FOND HALLOWEEN (Lune, Chauves-souris, Brume)
   ========================================================================== */

.halloween-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.moon {
  position: absolute;
  top: 40px;
  right: 8%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #fffed6 60%, #ffd000 100%);
  border-radius: 50%;
  box-shadow: 0 0 40px #ffd000, 0 0 80px rgba(255, 208, 0, 0.4);
  animation: moonGlow 4s infinite alternate ease-in-out;
}

@keyframes moonGlow {
  from { box-shadow: 0 0 30px #ffd000, 0 0 60px rgba(255, 208, 0, 0.3); }
  to { box-shadow: 0 0 50px #ffd000, 0 0 100px rgba(255, 208, 0, 0.6); }
}

.bat {
  position: absolute;
  width: 40px;
  height: 25px;
  background-color: #000;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4.5C10 7 7 9 2 8c2 4 6 5 8 8 1-2 1-2 2-2s1 0 2 2c2-3 6-4 8-8-5 1-8-1-10-3.5z'/></svg>") no-repeat center/contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 4.5C10 7 7 9 2 8c2 4 6 5 8 8 1-2 1-2 2-2s1 0 2 2c2-3 6-4 8-8-5 1-8-1-10-3.5z'/></svg>") no-repeat center/contain;
  opacity: 0.7;
  animation: flyBat 12s linear infinite;
}

.bat1 { top: 15%; left: -50px; animation-delay: 0s; transform: scale(0.8); }
.bat2 { top: 35%; left: -50px; animation-delay: 4s; transform: scale(1.2); }
.bat3 { top: 20%; left: -50px; animation-delay: 8s; transform: scale(0.6); }

@keyframes flyBat {
  0% { left: -60px; transform: translateY(0) scale(0.8) rotate(5deg); }
  25% { transform: translateY(-20px) scale(0.8) rotate(-5deg); }
  50% { transform: translateY(15px) scale(0.8) rotate(5deg); }
  75% { transform: translateY(-10px) scale(0.8) rotate(-5deg); }
  100% { left: 105vw; transform: translateY(0) scale(0.8) rotate(5deg); }
}

.fog {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 150px;
  background: linear-gradient(to top, rgba(128, 0, 128, 0.2), transparent);
  animation: fogMove 20s linear infinite alternate;
  pointer-events: none;
  z-index: 1;
}

@keyframes fogMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* S'assurer que le contenu reste au-dessus du fond animé */
nav, header, section, footer {
  position: relative;
  z-index: 2;
}


/* ==========================================================================
   2. NAVIGATION & HEADER EN-TÊTE
   ========================================================================== */

nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 80px;
  padding: 14px clamp(16px, 5vw, 56px) 0;
  position: relative;
  z-index: 3;
  background: rgba(13, 5, 24, 0.9);
  border-bottom: 2px solid var(--orange);
  backdrop-filter: blur(5px);
}

nav > div {
  align-self: center;
  margin-top: -14px;
}

/* Logo animé */
.logo {
  position: relative;
  display: block;
  width: clamp(76px, 15vw, 124px);
  aspect-ratio: 1;
  border-radius: 22px;
  padding: 3px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(255, 119, 0, .3);
}

.logo::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(#ff7700, #39ff14, #9400d3, #ff7700);
  animation: spin 4s linear infinite;
  will-change: transform;
}

.logo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out infinite;
  z-index: 2;
}

.logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
}

nav div span {
  margin-left: clamp(12px, 3vw, 26px);
  font: 800 14px Archivo, sans-serif;
  letter-spacing: .04em;
}

nav div span a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

nav div span a:hover,
nav div span a:focus-visible {
  color: var(--orange) !important;
  text-shadow: 0 0 8px var(--orange);
}

nav div span:first-child {
  color: var(--orange);
}


/* ==========================================================================
   3. SECTION HERO (ACCUEIL) & BOUTONS
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 12px clamp(16px, 5vw, 56px) 0;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c) 2.6px, transparent 3px) 0 0 / 17px 17px;
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 68%);
  mask-image: radial-gradient(circle, #000 0, transparent 68%);
}

.hero::before {
  --c: #9400d3;
  width: 90vmin;
  height: 90vmin;
  right: -22vmin;
  top: -20vmin;
}

.hero::after {
  --c: var(--orange);
  width: 70vmin;
  height: 70vmin;
  left: -24vmin;
  bottom: -14vmin;
  opacity: .9;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Creepster', Archivo, "Arial Black", sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  max-width: 1300px;
  padding: 0 clamp(0px, 9vw, 130px);
  text-wrap: balance;
  margin: 8px auto 0;
  letter-spacing: 2px;
}

/* Citrouille décorative Halloween */
.hero::after {
  content: "🎃";
  font-size: 2.5rem;
  position: absolute;
  top: 10px;
  right: 20px;
  animation: floatPumpkin 3s infinite ease-in-out;
  background: none !important;
  mask-image: none !important;
}

@keyframes floatPumpkin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* Boutons d'action */
.btns {
  padding: 6px 0 48px;
  margin-top: clamp(40px, 5vw, 72px);
  position: relative;
  z-index: 3;
}

.btn {
  display: inline-block;
  font: 800 16px Archivo, sans-serif;
  padding: 14px 26px;
  border-radius: 6px;
  border: 2px solid var(--orange);
  margin: 6px 5px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #ff7700, #b33600);
  box-shadow: 0 0 15px rgba(255, 119, 0, 0.6);
  animation: pulseBtn 2s infinite;
}

.btn:hover {
  background: linear-gradient(135deg, #ff9933, #e64a00);
  transform: scale(1.05);
}

@keyframes pulseBtn {
  0% { box-shadow: 0 0 10px rgba(255, 119, 0, 0.5); }
  50% { box-shadow: 0 0 22px rgba(255, 119, 0, 0.9); }
  100% { box-shadow: 0 0 10px rgba(255, 119, 0, 0.5); }
}

.btn.main {
  background: linear-gradient(135deg, #ff7700, #b33600);
  border-color: var(--orange);
  color: #fff;
}


/* ==========================================================================
   4. DISPOSITION 3 COLONNES & SCÈNE CENTRALE 3D (ACCUEIL)
   ========================================================================== */

.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5.5vw, 88px);
  max-width: 1440px;
  margin: clamp(36px, 5vw, 64px) auto 0;
}

.side h2 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
}

.side h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--orange);
  margin: 10px 0 14px;
}

.side.l {
  text-align: right;
}

.side.l h2::after {
  margin-left: auto;
}

.side.r {
  text-align: left;
}

.side p {
  margin: 0 0 14px;
  font-size: 16px;
  color: #d1b3f0;
}

.side b {
  font: 800 16px Archivo, sans-serif;
  color: #fff;
}

/* Encart d'information violet/sombre */
.box {
  padding: 20px 22px;
  background: rgba(31, 10, 56, 0.85);
  border-right: 5px solid var(--orange);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 20px rgba(255, 119, 0, 0.15);
  backdrop-filter: blur(4px);
}

.side.r .box {
  border-right: 0;
  border-left: 5px solid var(--orange);
  border-radius: 0 12px 12px 0;
}

.box h2::after {
  background: var(--orange);
}

.box p:last-child {
  margin-bottom: 0;
}

/* Encart promotionnel vert citrouille/toxique */
.promo {
  margin-top: 26px;
  padding: 16px 20px;
  background: rgba(20, 10, 35, 0.9);
  border-right: 5px solid var(--h-green);
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 15px rgba(57, 255, 20, 0.2);
}

.promo h3 {
  font: 800 20px Archivo, sans-serif;
  color: var(--h-green) !important;
  margin: 0 0 6px;
}

.promo p {
  margin: 0;
  color: #d1b3f0;
}

/* Scène rotative centrale avec produits */
.stage {
  container-type: inline-size;
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.person {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 86%;
  transform: translateX(-50%);
  z-index: 2;
  -webkit-mask-image: linear-gradient(#000 82%, transparent);
  mask-image: linear-gradient(#000 82%, transparent);
  filter: drop-shadow(0 0 10px rgba(255, 119, 0, 0.3));
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: spin 48s linear infinite;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 2px dashed rgba(255, 119, 0, .4);
}

.item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}

.item figure {
  position: absolute;
  margin: 0;
  width: clamp(70px, 25cqw, 150px);
  left: 0;
  top: 0;
  translate: -50% -50%;
  rotate: var(--r);
  text-align: center;
  animation: spin 48s linear infinite reverse;
}

.item figure > div {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .6));
}

.item figcaption {
  margin-top: 6px;
  font: 800 13px Archivo, sans-serif;
  background: #1a0933;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
}

/* Positionnement des éléments du cercle */
@media (min-width: 0) {
  .i1, .i2, .i3, .i4 {
    --d: 41cqw;
  }
}

.i1 { transform: rotate(0deg) translateY(calc(var(--d) * -1)); }
.i2 { transform: rotate(90deg) translateY(calc(var(--d) * -1)); }
.i3 { transform: rotate(180deg) translateY(calc(var(--d) * -1)); }
.i4 { transform: rotate(270deg) translateY(calc(var(--d) * -1)); }

.i1 figure { --r: 0deg; }
.i2 figure { --r: -90deg; }
.i3 figure { --r: -180deg; }
.i4 figure { --r: -270deg; }


/* ==========================================================================
   5. SECTION GRAVURE LASER (ACCUEIL)
   ========================================================================== */

.laser {
  position: relative;
  overflow: hidden;
  background: #0d0518;
  color: #F3EBE4;
  padding: clamp(44px, 8vw, 84px) clamp(20px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
  border-top: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

.laser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(255, 119, 0, .07) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 119, 0, .07) 1px, transparent 1px) 0 0 / 44px 44px;
}

.laser::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FF8A3D 30%, var(--orange) 70%, transparent);
  box-shadow: 0 0 18px 3px rgba(255, 90, 31, .8);
}

.laser > * {
  position: relative;
  z-index: 1;
}

.laser h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  max-width: 20ch;
  color: #FF8A3D;
}

.laser p {
  max-width: 44ch;
  margin: 14px 0 24px;
  color: #d1b3f0;
}

.laser .btn {
  border-color: var(--orange);
  color: #fff;
}

.laser .txt {
  flex: 1 1 320px;
}

.laser figure {
  flex: 0 1 300px;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

.laser figure img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, .8));
}

.laser figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #c9b8ab;
}


/* ==========================================================================
   6. PIED DE PAGE (FOOTER & ICÔNES)
   ========================================================================== */

footer {
  position: relative;
  background: #06020c;
  color: #d1b3f0;
  padding: clamp(36px, 6vw, 64px) clamp(20px, 5vw, 56px) 0;
  font-size: 15px;
  box-shadow: 0 -14px 24px -14px rgba(0, 0, 0, .8);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange) 25%, var(--orange) 75%, transparent);
}

.f-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.7fr;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
}

.f-brand img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: block;
  margin-bottom: 14px;
}

.f-brand p {
  margin: 0;
  max-width: 30ch;
  opacity: .92;
}

footer h3 {
  font: 800 17px Archivo, sans-serif;
  margin: 0 0 14px;
  color: var(--orange);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 8px;
}

footer a {
  color: #d1b3f0;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--orange);
  text-decoration: underline;
}

/* Colonne Contact & Icônes SVG */
.f-contact li {
  opacity: .95;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.f-contact li::before {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--orange);
  -webkit-mask-image: var(--ico);
  mask-image: var(--ico);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.ico-tel { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.ico-adresse { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.ico-societe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E"); }
.ico-tva { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3Ccircle cx='6.5' cy='6.5' r='2.5'/%3E%3Ccircle cx='17.5' cy='17.5' r='2.5'/%3E%3C/svg%3E"); }
.ico-hebergeur { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='8' rx='2'/%3E%3Crect x='2' y='14' width='20' height='8' rx='2'/%3E%3Cpath d='M6 6h.01M6 18h.01'/%3E%3C/svg%3E"); }
.ico-mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }

/* Réseaux sociaux */
.f-soc {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.f-soc a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  color: var(--orange);
}

.f-soc a:hover {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
}

.f-soc svg {
  width: 20px;
  height: 20px;
}

/* Bas de page */
.f-bottom {
  max-width: 1200px;
  margin: clamp(28px, 5vw, 48px) auto 0;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 119, 0, .25);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.f-bottom nav {
  display: flex;
  gap: 6px 20px;
  flex-wrap: wrap;
  height: auto;
  padding: 0;
  z-index: auto;
  background: transparent;
  border: none;
}


/* ==========================================================================
   7. ANIMATIONS (@KEYFRAMES) & ACCESSIBILITÉ
   ========================================================================== */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shine {
  0%, 55% { left: -70%; }
  100% { left: 130%; }
}

@keyframes scan {
  from { top: 10%; }
  to { top: 90%; }
}

@media (prefers-reduced-motion: no-preference) {
  .laser::after {
    animation: scan 4.5s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ring,
  .item figure,
  .logo::before,
  .logo::after,
  .laser::after,
  .carte,
  .carte img,
  .filtre,
  .chip span {
    animation: none;
    transition: none;
  }
}

@media (hover: hover) {
  .stage:hover .ring,
  .stage:hover .item figure {
    animation-play-state: paused;
  }
}


/* ==========================================================================
   8. PAGE GALERIE (STYLE MASONRY / PINTEREST PLEIN CADRE)
   ========================================================================== */

nav div span a {
  color: inherit;
  text-decoration: none;
}

nav div span a:hover,
nav div span a:focus-visible {
  color: var(--orange);
}

.page-galerie nav div span:first-child {
  color: #fff;
}

.page-galerie nav div span.actif {
  color: var(--orange);
}

.hero-galerie {
  padding-bottom: clamp(24px, 4vw, 44px);
}

.hero-galerie h1 {
  margin-top: clamp(16px, 3vw, 36px);
}

.accroche {
  max-width: 56ch;
  margin: 16px auto 0;
  font-size: 18px;
  color: #d1b3f0;
}

.galerie {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 56px) clamp(48px, 7vw, 80px);
}

/* Filtres de la galerie */
.filtres {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 clamp(24px, 4vw, 40px);
}

.filtre {
  font: 800 14px Archivo, sans-serif;
  letter-spacing: .05em;
  padding: 10px 24px;
  border-radius: 99px;
  border: 2px solid var(--orange);
  background: rgba(31, 10, 56, 0.85);
  color: #fff;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.filtre:hover,
.filtre:focus-visible {
  border-color: var(--h-green);
  color: var(--h-green);
}

.filtre.actif {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* Grille Masonry 3 colonnes */
.grille {
  column-count: 3;
  column-gap: clamp(16px, 2.5vw, 28px);
}

.carte {
  margin: 0 0 clamp(16px, 2.5vw, 28px);
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  background: rgba(31, 10, 56, 0.85);
  border: 1px solid var(--orange);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .4);
  padding: 0;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s ease;
}

.carte[hidden] {
  display: none;
}

.carte img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1);
}

.carte:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 119, 0, .25);
}

.carte:hover img {
  transform: scale(1.03);
}


/* ==========================================================================
   9. PAGE TARIFS
   ========================================================================== */

.page-tarifs nav div span:first-child {
  color: #fff;
}

.page-tarifs nav div span.actif {
  color: var(--orange);
}

.tarifs {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 56px) clamp(48px, 7vw, 80px);
}

.tarifs-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.tarif {
  background: rgba(31, 10, 56, 0.9);
  border: 1px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tarif table {
  width: 100%;
  border-collapse: collapse;
}

.tarif th,
.tarif td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: middle;
  color: #d1b3f0;
}

.tarif thead th {
  font: 800 19px Archivo, sans-serif;
  letter-spacing: .02em;
  color: #fff;
}

.tarif thead th:last-child {
  text-align: right;
}

.tarif.textiles thead th { background: #511281; }
.tarif.fetes thead th    { background: var(--orange); }
.tarif.divers thead th   { background: #140824; }

.tarif tbody tr {
  border-top: 1px solid rgba(255, 119, 0, .2);
}

.tarif tbody tr:first-child {
  border-top: 0;
}

.tarif tbody tr:nth-child(even) {
  background: rgba(20, 8, 35, 0.6);
}

.tarif td:last-child {
  text-align: right;
  white-space: nowrap;
  font: 800 17px Archivo, sans-serif;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.tarif small {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #b59ac7;
}

.ast {
  color: var(--orange);
  font-weight: 800;
}

.tarif-note {
  margin: auto 0 0;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255, 119, 0, .2);
  font-size: 13.5px;
  color: #b59ac7;
}


/* ==========================================================================
   10. PAGE CONTACT / DEVIS
   ========================================================================== */

.page-contact nav div span:first-child {
  color: #fff;
}

.page-contact nav div span.actif {
  color: var(--orange);
}

.contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 56px) clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.cote {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.panneau {
  background: rgba(31, 10, 56, 0.9);
  border: 1px solid var(--orange);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
  padding: clamp(20px, 3vw, 36px);
  color: #d1b3f0;
}

.panneau h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
}

.panneau h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--orange);
  margin: 10px 0 18px;
}

.cote .panneau h2::after {
  background: #9400d3;
}

.aide {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #b59ac7;
}

.aide a,
.accord a {
  color: #ff9933;
}

/* Structure Formulaire & Champs */
.champs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.large {
  grid-column: 1 / -1;
}

.champ label,
.champ legend {
  font: 800 14px Archivo, sans-serif;
  letter-spacing: .02em;
  padding: 0;
  margin-bottom: 6px;
  color: #fff;
}

.champ input:not([type=checkbox]):not([type=radio]),
.champ select,
.champ textarea {
  width: 100%;
  font: inherit;
  color: #fff;
  background: #140824;
  border: 2px solid rgba(255, 119, 0, .3);
  border-radius: 8px;
  padding: 12px 14px;
}

.champ textarea {
  min-height: 140px;
  resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 119, 0, .3);
}

.champ input[type=file] {
  padding: 10px 12px;
  font-size: 15px;
}

/* Pastilles interactives (Chips) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  position: relative;
  display: inline-block;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-block;
  font: 800 14px Archivo, sans-serif;
  padding: 9px 18px;
  border-radius: 99px;
  border: 2px solid var(--orange);
  color: #d1b3f0;
  background: #140824;
  transition: background .2s, color .2s, border-color .2s;
}

.chip input:not(:checked):hover + span {
  border-color: var(--h-green);
  color: var(--h-green);
}

.chip input:checked + span {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(255, 119, 0, .4);
}

/* Case à cocher RGPD */
.accord {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.45;
  color: #d1b3f0;
}

.accord input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--orange);
}

button.btn {
  cursor: pointer;
  background: linear-gradient(135deg, #ff7700, #b33600);
}

button.btn.main {
  background: linear-gradient(135deg, #ff7700, #b33600);
}

.piege {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Liste des étapes numérotées */
.etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: etape;
}

.etapes li {
  counter-increment: etape;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.45;
  color: #d1b3f0;
}

.etapes li:last-child {
  margin-bottom: 0;
}

.etapes li::before {
  content: counter(etape);
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font: 800 15px/32px Archivo, sans-serif;
  text-align: center;
}

.etapes b {
  font: 800 16px Archivo, sans-serif;
  color: #fff;
}


/* ==========================================================================
   11. PAGES LÉGALES & RGPD
   ========================================================================== */

.legale {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px clamp(16px, 5vw, 56px) clamp(48px, 7vw, 80px);
  color: #d1b3f0;
}

.legale .panneau h2 {
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 28px;
}

.legale .panneau h2:first-child {
  margin-top: 0;
}

.legale .panneau h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: var(--orange);
  margin: 8px 0 14px;
}

.legale .panneau p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.legale .panneau ul {
  margin: 0 0 18px 20px;
  padding: 0;
}

.legale .panneau li {
  margin-bottom: 8px;
}

.legale .panneau code {
  background: #140824;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 500;
  color: #ff9933;
}


/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */

@media (max-width: 1100px) {
  .cols {
    grid-template-columns: 1fr;
  }
  .stage {
    order: -1;
  }
  .side.l,
  .side.r {
    text-align: left;
  }
  .side.l h2::after {
    margin-left: 0;
  }
  .promo,
  .box {
    border-right: 0;
    border-left: 5px solid;
    border-radius: 0 12px 12px 0;
  }
  .promo {
    border-color: var(--h-green);
  }
  .box,
  .side.r .box {
    border-color: var(--orange);
  }
  .side {
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .tarifs-grille {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .grille {
    column-count: 2;
  }
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .f-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav div span {
    margin-left: 8px;
    font-size: 12px;
    letter-spacing: .02em;
  }
  .logo {
    width: 68px;
  }
}

@media (max-width: 560px) {
  .grille {
    column-count: 1;
  }
  .filtre {
    padding: 9px 16px;
  }
  .champs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  nav div span {
    margin-left: 6px;
    font-size: 11px;
    letter-spacing: 0;
  }
}