/* =========================================================
   VARIABLES — changez ces valeurs pour reskin le site en
   quelques minutes (couleurs, typographie, arrondis...)
   ========================================================= */
:root {
  --color-primary: #22D3AA;      /* vert/teal lumineux (accents) */
  --color-primary-dark: #0E7C61; /* teal profond (tints, icônes) */
  --color-accent: #F59E0B;       /* ambre CTA */
  --color-accent-dark: #D97706;

  --color-bg: #05070a;
  --color-bg-alt: #0b0f14;
  --surface: #11161f;
  --color-text: #EDEFF5;
  --color-text-muted: #99A1B3;
  --color-border: rgba(255,255,255,0.08);

  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Boutons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary {
  background: var(--color-accent);
  color: #14110a;
}
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 0 28px rgba(245,158,11,0.35); }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--nav { padding: 10px 22px; font-size: 0.9rem; }
.full { width: 100%; text-align: center; }

/* ===== Barre de contact ===== */
.topbar { background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.topbar__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  height: 40px;
  font-size: 0.8rem;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}
.topbar__item svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar__item:hover { color: var(--color-primary); }

@media (max-width: 720px) {
  .topbar__item:not(:last-child) { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5,7,10,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}
.logo span { color: var(--color-accent); }
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.nav a:hover { color: var(--color-primary); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  background:
    linear-gradient(180deg, rgba(11,31,26,0.82) 0%, rgba(11,31,26,0.78) 100%),
    url('assets/hero-atelier.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(11,31,26,0.85) 0%, rgba(11,31,26,0.85) 50%, rgba(11,31,26,0.3) 100%),
      url('assets/hero-atelier.jpg');
    background-size: cover;
    background-position: center;
  }
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 4px;
  backdrop-filter: blur(4px);
}
.hero .highlight { color: var(--color-primary); }
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ===== Hero : mise en page à deux colonnes ===== */
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
  min-height: 520px;
}
.hero__headline { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__stack {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero__stack .line { display: block; font-size: clamp(2.2rem, 5.5vw, 4rem); }
.line--light { color: #fff; }
.line--accent { color: var(--color-primary); text-shadow: 0 0 24px rgba(34,211,170,0.35); }
.hero__link {
  align-self: flex-start;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
}
.hero__link:hover { color: var(--color-primary); border-color: var(--color-primary); }

.hero__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(5,7,10,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(6px);
}
.hero__tagline { font-size: 1.2rem; color: #fff; margin: 0; line-height: 1.4; }

.coverage {
  position: relative;
  height: 150px;
  border-radius: 14px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1.4px) 0 0/16px 16px,
    rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.coverage__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.coverage__marker {
  position: absolute;
  width: 30px; height: 30px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 14px rgba(34,211,170,0.35);
}
.coverage__marker svg { width: 16px; height: 16px; }

.hero__note { font-size: 0.88rem; color: rgba(255,255,255,0.75); margin: 0; }
.hero__note strong.counter { color: var(--color-primary); font-family: var(--font-heading); font-style: normal; }

.btn--pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  background: var(--color-accent);
  color: #14110a;
  font-weight: 700;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.btn--pill:hover { box-shadow: 0 0 28px rgba(245,158,11,0.4); transform: translateY(-2px); }
.btn--pill__circle {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #14110a;
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
}
.btn--pill__circle svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ===== Halo lumineux du hero ===== */
.hero__glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(110,231,199,0.35), transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.06); }
}
.hero__dots { position: absolute; inset: 0; pointer-events: none; }
.hero__dots span {
  position: absolute;
  width: 3px; height: 3px;
  background: #6EE7C7;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(110,231,199,0.7);
  animation: twinkle 3.5s ease-in-out infinite;
}
.hero__dots span:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero__dots span:nth-child(2) { top: 32%; left: 85%; animation-delay: 0.6s; }
.hero__dots span:nth-child(3) { top: 60%; left: 20%; animation-delay: 1.2s; }
.hero__dots span:nth-child(4) { top: 18%; left: 60%; animation-delay: 1.8s; }
.hero__dots span:nth-child(5) { top: 45%; left: 45%; animation-delay: 2.4s; }
.hero__dots span:nth-child(6) { top: 70%; left: 75%; animation-delay: 0.3s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

/* ===== Ligne lumineuse animée (séparateur entre sections) ===== */
.lightline {
  position: relative;
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
}
.lightline span {
  position: absolute;
  top: 0; left: -20%;
  width: 20%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  filter: drop-shadow(0 0 6px rgba(14,124,97,0.5));
  animation: travel 5s linear infinite;
}
@keyframes travel {
  0% { left: -20%; }
  100% { left: 100%; }
}

/* ===== Sections génériques ===== */
.section { position: relative; padding: 90px 0; overflow: hidden; }
.section--alt { background: var(--color-bg-alt); }

.section__glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34,211,170,0.14), transparent 70%);
  pointer-events: none;
}
.section__glow--left { top: -120px; left: -140px; }
.section__glow--right { bottom: -120px; right: -140px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 640px;
  margin-bottom: 44px;
}
.section__note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: -24px;
  margin-bottom: 32px;
}

/* ===== Grids ===== */
.grid { display: grid; gap: 28px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Cards services ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(34,211,170,0.4); box-shadow: 0 0 30px rgba(34,211,170,0.12); }
.card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(34,211,170,0.12);
  color: var(--color-primary);
  margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.1rem; }
.card p { color: var(--color-text-muted); font-size: 0.94rem; margin: 0; }

/* ===== Features "pourquoi nous" ===== */
.feature { padding: 8px; }
.feature__num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: rgba(34,211,170,0.3);
  margin-bottom: 10px;
}
.feature h3 { font-size: 1.05rem; }
.feature p { color: var(--color-text-muted); font-size: 0.94rem; margin: 0; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { text-align: center; padding: 0 10px; }
.step__circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-size: 1rem; }
.step p { color: var(--color-text-muted); font-size: 0.9rem; margin: 0; }

/* ===== Galerie réalisations ===== */
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  margin: 0;
}
.gallery-item figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(17,24,39,0.75);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ===== Section DevisFlow ===== */
.outil__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.outil__text h2 { margin-bottom: 18px; }
.outil__list { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.outil__list li { color: var(--color-text-muted); font-size: 0.95rem; }
.outil__caption { text-align: center; font-size: 0.8rem; color: var(--color-text-muted); margin-top: 14px; }

.devisflow-mock {
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.devisflow-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.devisflow-mock__bar span { width: 9px; height: 9px; border-radius: 50%; }
.devisflow-mock__bar span:nth-child(1) { background: #F87171; }
.devisflow-mock__bar span:nth-child(2) { background: #FBBF24; }
.devisflow-mock__bar span:nth-child(3) { background: var(--color-primary); }
.devisflow-mock__url {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.05);
  padding: 3px 10px;
  border-radius: 999px;
}
.devisflow-mock__body { display: flex; min-height: 240px; }
.devisflow-mock__sidebar {
  width: 52px;
  background: var(--color-bg-alt);
  border-right: 1px solid var(--color-border);
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.devisflow-mock__sidebar span { width: 22px; height: 22px; border-radius: 8px; background: rgba(255,255,255,0.06); }
.devisflow-mock__sidebar span.is-active { background: var(--color-primary); box-shadow: 0 0 10px rgba(34,211,170,0.5); }
.devisflow-mock__main { flex: 1; padding: 20px; }
.devisflow-mock__stats { display: flex; gap: 14px; margin-bottom: 20px; }
.devisflow-mock__stat {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.devisflow-mock__stat strong { display: block; font-family: var(--font-heading); color: var(--color-primary); font-size: 1.1rem; }
.devisflow-mock__stat span { font-size: 0.7rem; color: var(--color-text-muted); }
.devisflow-mock__table { display: flex; flex-direction: column; gap: 10px; }
.devisflow-mock__row {
  display: grid;
  grid-template-columns: 14px 1fr 1fr auto;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}
.devisflow-mock__dot { width: 8px; height: 8px; border-radius: 50%; }
.devisflow-mock__dot--new { background: #60A5FA; }
.devisflow-mock__dot--progress { background: #FBBF24; }
.devisflow-mock__dot--won { background: var(--color-primary); }
.devisflow-mock__tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(96,165,250,0.15);
  color: #93C5FD;
}
.devisflow-mock__tag--progress { background: rgba(251,191,36,0.15); color: #FCD34D; }
.devisflow-mock__tag--won { background: rgba(34,211,170,0.15); color: var(--color-primary); }

@media (max-width: 900px) {
  .outil__inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .devisflow-mock__row { grid-template-columns: 14px 1fr auto; }
  .devisflow-mock__row span:nth-child(3) { display: none; }
}

/* ===== Témoignages ===== */
.testimonial {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.stars { color: var(--color-accent); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial p { font-style: italic; color: var(--color-text); }
.testimonial footer { font-size: 0.85rem; color: var(--color-text-muted); font-weight: 600; }

/* ===== Contact ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact__infos { margin-top: 22px; }
.contact__infos li { margin-bottom: 10px; color: var(--color-text-muted); }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--color-border);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.form input,
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}
.form__note {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 4px 0 0;
}

/* ===== Footer ===== */
.footer { background: #0B1F1A; color: #E5E7EB; padding: 56px 0 20px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
}
.logo--footer { color: #fff; }
.footer p { color: #9CA3AF; font-size: 0.9rem; }
.footer__nav, .footer__legal { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__legal a { color: #D1D5DB; font-size: 0.9rem; }
.footer__nav a:hover, .footer__legal a:hover { color: #fff; }
.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: #6B7280;
  margin: 40px 0 0;
}

/* ===== Animations d'apparition ===== */
[data-animate] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; background: #0b0f14; flex-direction: column; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--color-border); transform: translateY(-140%); transition: transform 0.25s ease; }
  .nav.is-open { transform: translateY(0); }
  .burger { display: flex; }
  .btn--nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
}
