/* ========== RESET SIMPLE ========== 
| Rôle                | Couleur     | Hex         | RGB         |
| ------------------- | ----------- | ----------- | ----------- |
| **Brand Primary**   | Orange      | **#f97316** | 249,115,22  |
| **Brand Secondary** | Violet      | **#4c1d95** | 76,29,149   |
| **Brand Dark**      | Bleu Nuit   | **#0f172a** | 15,23,42    |
| **UI Light**        | Blanc       | #ffffff     | 255,255,255 |
| **UI Background**   | Gris clair  | #f3f4f6     | 243,244,246 |
| **Text**            | Gris moyen  | #6b7280     | 107,114,128 |
| **Info**            | Jaune clair | #fef3c7     | 254,243,199 |
*/


*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f3f4f6;
  line-height: 1.6;
  min-height: 100vh;
}

/* ========== VARIABLES ========== */
:root {
  --color-primary: #ff6b2b;
  --color-primary-dark: #e45717;
  --color-dark: #030712;
  --color-light: #ffffff;
  --color-muted: #6b7280;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  --transition-fast: 0.2s ease;
}

/* ========== LAYOUT GLOBAL ========== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* ========== HEADER / NAVBAR ========== */



.style-toggle:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #f97316;
}


header {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  color: var(--color-light);
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--color-light);
}

.nav-logo-img {
  height: 40px;
  display: block;
}

.nav-logo span {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: radial-gradient(circle at 20% 20%, #f97316, #7c2d12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #e5e7eb;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

/* ========== BOUTONS GÉNÉRIQUES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.style-toggle {
  position: fixed;
  top: 4.75rem;
  right: 0.75rem;
  z-index: 100;
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: var(--color-light);
  box-shadow: 0 14px 30px rgba(248, 113, 113, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(248, 113, 113, 0.35);
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.btn-ghost {
  background: transparent;
  color: #f97316;
  border: 1px solid rgba(251, 250, 249, 0.16);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* ========== HERO (ACCUEIL) ========== */
.hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, 0.25), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  z-index: 1;
}

.hero-content {
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1.1fr;
    align-items: center;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.hero-tag span:first-child {
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}

.hero-title span {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: 1.1rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #374151;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-meta-item {
  max-width: 240px;
}

.hero-meta-item strong {
  display: block;
  color: #111827;
  font-size: 0.95rem;
}

/* ========== CARTE 3D / MOCKUP ========== */
.hero-card {
  background: radial-gradient(circle at top left, #f97316 0, #1f2937 35%, #020617 100%);
  border-radius: 28px;
  padding: 1.7rem 1.8rem;
  color: var(--color-light);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 260px;
  animation: heroFloat 8s ease-in-out infinite alternate;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.hero-card-subtitle {
  font-size: 0.8rem;
  opacity: 0.8;
}

.hero-card-chip {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(248, 250, 252, 0.25);
}

.hero-card-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-model {
  border-radius: 22px;
  border: 1px solid rgba(248, 250, 252, 0.1);
  padding: 1rem;
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.18), transparent 55%);
}

.hero-model-shape {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: conic-gradient(from 160deg at 40% 30%, #fed7aa, #f97316, #fb923c, #f97316, #0f172a, #020617, #fed7aa);
  position: relative;
  overflow: hidden;
}

.hero-model-overlay {
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  border: 1px solid rgba(15, 23, 42, 0.6);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.45), transparent 55%);
}

.hero-model-shape::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at center, rgba(248, 250, 252, 0.12), transparent 55%);
  mix-blend-mode: screen;
  animation: heroScan 10s linear infinite;
}

.hero-params {
  font-size: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.hero-param-row {
  display: flex;
  justify-content: space-between;
  opacity: 0.9;
}

.hero-badge {
  position: absolute;
  right: 1.4rem;
  bottom: 1.3rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(248, 250, 252, 0.25);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== SECTIONS GÉNÉRIQUES ========== */
.section {
  padding: 2.5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
  max-width: 420px;
}

/* Variante de section plus “pleine” */
.section-muted {
  background: linear-gradient(135deg, #f9fafb, #e5e7eb);
}

/* ========== CARTES / GRILLES ========== */
.grid {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 800px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px) translateZ(0);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  border-color: rgba(248, 113, 113, 0.5);
}

.card-tag {
  font-size: 0.75rem;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.3rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.7rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* ========== BOUTIQUE (STORE) ========== */
.product-price {
  font-weight: 700;
  color: #111827;
}

.product-chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(248, 250, 252, 1);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

/* Images produits dans le store */
.product-image {
  margin: 0.7rem 0 0.9rem;
  border-radius: 14px;
  overflow: hidden;
  background: #e5e7eb;
  aspect-ratio: 4 / 3;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Filtres de catégories du store */
.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.7rem;
}

.store-filter {
  border: none;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  background: #e5e7eb;
  color: #374151;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.store-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.store-filter-active {
  background: #111827;
  color: #f9fafb;
}

/* ========== SERVICES IMPRESSION / CONCEPTION ========== */
.service-list {
  display: grid;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.service-list li {
  display: flex;
  gap: 0.6rem;
}

.service-bullet {
  margin-top: 0.35rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
}

/* Étapes du process */
.steps {
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.step {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-index {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f97316;
  padding-top: 0.15rem;
}

.step-content h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ========== BLOCS "BANDEAU" ========== */
.banner {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(248, 250, 252, 0.95), #fef3c7);
  border: 1px solid rgba(251, 191, 36, 0.4);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.88rem;
}

.banner strong {
  color: #92400e;
}

/* ========== FORMULAIRE SIMPLE ========== */
.form {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
  display: inline-block;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  font: inherit;
  resize: vertical;
  background: #f9fafb;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}

/* ========== FOOTER ========== */
footer {
  margin-top: 3rem;
  padding: 1.6rem 0 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ========== ANIMATIONS & RÉVÉLATION AU SCROLL ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes heroScan {
  0% {
    transform: translate3d(-20%, -30%, 0);
  }
  100% {
    transform: translate3d(20%, 30%, 0);
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-card {
    order: -1;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .nav-cta {
    margin-left: auto;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-metas {
    flex-direction: column;
  }

  .store-filters {
    justify-content: flex-start;
  }
}

.devis-card {
  margin-top: 1.5rem;
}

.devis-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.devis-note {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Sur mobile, on peut élargir un peu le bouton */
@media (max-width: 600px) {
  .devis-content .btn {
    width: 100%;
    justify-content: center;
  }
}
