/* ================================================================================== */
/* ========================== RESET & VARIABLES ==================================== */
/* ================================================================================== */
:root {
  --bg: #0a0a0a;
  --surface: #121212;
  --card: #1a1a1a;
  --elev: #101010;
  --line: #2a2a2a;
  --text: #f5f5f5;
  --muted: #c0b283;
  --muted-2: #8f8b72;

  --accent: #d4af37;   
  --accent-2: #f5d76e; 
  --accent-3: #c5a100; 
  --brand: #d4af37;

  --shadow-1: 0 6px 18px rgba(0,0,0,.55);
  --shadow-2: 0 12px 36px rgba(0,0,0,.65);
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(1000px 700px at 20% 0%, #1a1a1a 0%, #0a0a0a 60%, #050505 100%);
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  margin: 0;
}
p { color: var(--muted); }

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 4px; 
}

.brand .logo {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 1px;
}

.brand .tagline {
  font-size: 0.95rem;
  color:var(muted-2);
  margin: 0;
  font-weight: 400;
}

/* ================================================================================== */
/* ========================== HEADER =============================================== */
/* ================================================================================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(10,10,10,.95);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
}

/* ================================================================================== */
/* ========================== HERO ================================================= */
/* ================================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  width: 100%;
  background: url("../img/background.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 60% at 50% 20%, rgba(212,175,55,.25) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.95) 70%, #000 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding: 0 16px;
  color: #fff;
}

/* Effet glitch doré */
.glitch {
  position: relative;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-family: "Montserrat", sans-serif; 
  font-weight: 800;
  color: #fff; 
  text-transform: uppercase;
  animation: glitch-skew 1s linear alternate-reverse 2; 
  text-shadow: 0 2px 6px rgba(212,175,55,.35);
}

/* Texte doublé pour effet bug */
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  opacity: 0.9;
}

/* Avant : doré clair */
.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #f5d76e;
  animation: glitch-anim 2s linear alternate-reverse 1; 
}

/* Après : doré foncé */
.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #c5a100;
  animation: glitch-anim2 0.5s linear alternate-reverse 1; 
}

/* Animations bug */
@keyframes glitch-anim {
  0% { clip: rect(0, 9999px, 0, 0); }
  20% { clip: rect(20px, 9999px, 60px, 0); }
  40% { clip: rect(40px, 9999px, 100px, 0); }
  60% { clip: rect(10px, 9999px, 70px, 0); }
  80% { clip: rect(30px, 9999px, 90px, 0); }
  100% { clip: rect(0, 9999px, 120px, 0); }
}
@keyframes glitch-anim2 {
  0% { clip: rect(10px, 9999px, 80px, 0); }
  25% { clip: rect(50px, 9999px, 100px, 0); }
  50% { clip: rect(30px, 9999px, 70px, 0); }
  75% { clip: rect(0, 9999px, 40px, 0); }
  100% { clip: rect(20px, 9999px, 120px, 0); }
}
@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  25% { transform: skew(3deg); }
  50% { transform: skew(-3deg); }
  75% { transform: skew(2deg); }
  100% { transform: skew(0deg); }
}

/* ================================================================================== */
/* ========================== CTA & BOUTONS ======================================== */
/* ================================================================================== */
.hero-cta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
.hero-cta a {
  flex: 1 1 auto;
  margin: 0.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  box-shadow: var(--shadow-1);
  transition: all .25s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  filter: brightness(1.1);
}
.btn-secondary {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .25s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* Responsive boutons */
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta a {
    font-size: 1.2rem;
    padding: 18px 24px;
    min-width: 240px;
    text-align: center;
    border-radius: 14px;
  }
}

/* ================================================================================== */
/* ========================== SERVICES ============================================== */
/* ================================================================================== */
.services {
  padding: 4rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-header .section-separator {
  display: inline-block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  margin: 0.5rem auto 1rem;
}
.section-header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--card);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255,255,255,.05);
  opacity: 0;
  transform: translateY(40px);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.service-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  color: var(--accent-2);
}
.service-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Animations Services */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* État initial : invisibles et décalés vers le bas */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quand l’élément est révélé */
.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Délais en cascade */
.service-card.animate:nth-child(1) { animation-delay: 0.1s; }
.service-card.animate:nth-child(2) { animation-delay: 0.3s; }
.service-card.animate:nth-child(3) { animation-delay: 0.5s; }

/* ================================================================================== */
/* ========================== TIMELINE PROCESS ===================================== */
/* ================================================================================== */
.process-steps {
  background: var(--bg);
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--line);
}
.section-header h2 { color: var(--accent); }
.section-separator {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.section-header p { color: var(--muted); }

.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.step { text-align: center; max-width: 280px; }
.step-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(212,175,55,.35);
}
.step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--accent-2);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .steps-wrapper { flex-direction: column; gap: 2rem; }
  .step-arrow { transform: rotate(90deg); }
}

/* ================================================================================== */
/* ========================== FORMULAIRE DE COMMANDE =============================== */
/* ================================================================================== */

/* =============================== */
/* FORMULAIRE GLOBAL               */
/* =============================== */

/* Indicateur champ obligatoire */
.required {
  color: #e74c3c;
  font-weight: bold;
  margin-left: 4px;
}

/* Messages généraux (alerte) */
.alert {
  padding: 15px 20px;
  margin: 20px auto;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  text-align: center;
  max-width: 640px;
  font-weight: 600;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  box-shadow: var(--shadow-1);
}
.alert-warning {
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.4);
  color: var(--accent-2);
}
.alert-warning i {
  font-size: 1.2rem;
  margin-right: 8px;
  vertical-align: middle;
}

/* =============================== */
/* TITRES                          */
/* =============================== */

.title_form {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: .5rem;
}
.title_form::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  margin: .8rem auto 0;
  border-radius: 2px;
}

/* Sous-titres */
.form-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-2);
  margin-top: 2rem;
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-left: 4px solid var(--accent);
  padding-left: .6rem;
}
@media (max-width: 600px) {
  .form-subtitle { font-size: 1rem; margin-top: 1.5rem; }
}

/* =============================== */
/* CONTAINER FORM                  */
/* =============================== */

.section#contact { 
  padding: 4rem 1.5rem; 
  background: var(--bg); 
}
.form-card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  max-width: 680px;
  margin: 0 auto;
  padding: 2.4rem;
  border: 1px solid rgba(255,255,255,.08);
  opacity: 0;
  transform: translateY(40px);
}

/* Animation d’apparition */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.form-card.animate { animation: fadeUp .6s ease forwards; }

/* 🔹 Ajustements responsive container */
@media (max-width: 768px) {
  .form-card {
    padding: 1.6rem;
    border-radius: 12px;
  }
}
@media (max-width: 480px) {
  .form-card {
    padding: 1.2rem;
    box-shadow: none;
    border: 1px solid rgba(255,255,255,.12);
  }
}

/* =============================== */
/* INPUTS                          */
/* =============================== */

#client-form { 
  display: flex; 
  flex-direction: column; 
  gap: .9rem; 
}

.input-group { 
  position: relative; 
  display: flex; 
  align-items: center; 
}
.input-group i {
  position: absolute; 
  left: 14px; 
  top: 50%; 
  transform: translateY(-50%);
  color: var(--muted-2); 
  font-size: 1rem; 
  pointer-events: none;
}
.input-group.textarea i { top: 18px; transform: none; }

.input-group input,
.input-group textarea {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 1rem;
  transition: all .25s ease;
}
#client-form input::placeholder,
#client-form textarea::placeholder { color: var(--muted-2); }
#client-form input:focus,
#client-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15);
  transform: translateY(-1px);
}
#client-form textarea { min-height: 140px; resize: vertical; }

/* 🔹 Inputs sur mobile : plus grands pour le tactile */
@media (max-width: 480px) {
  .input-group input,
  .input-group textarea {
    font-size: .95rem;
    padding: 12px 12px 12px 40px;
  }
  .input-group i { font-size: .9rem; left: 12px; }
}

/* Erreurs */
.error { 
  font-size: .86rem; 
  color: #ff5252; 
  margin-top: 2px; 
  display: none; 
}
.error.show { display: block; }

/* =============================== */
/* FILE UPLOAD                     */
/* =============================== */

.input-group.file-upload {
  position: relative;
  border: 2px dashed var(--accent);
  border-radius: 10px;
  padding: 1rem 1.25rem 1rem 2.75rem;
  background: rgba(255,255,255,.03);
  text-align: center;
  cursor: pointer;
}
.input-group.file-upload i {
  position: absolute;
  left: 12px; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--accent);
}
.input-group.file-upload .file-label {
  color: var(--muted); 
  font-style: italic;
}
.input-group.file-upload input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
#file-list {
  margin-top: 12px;
  font-size: .92rem;
  color: var(--text);
}
#file-list li {
  margin: 6px 0;
  padding: 8px 12px;
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
}
#file-list li i { font-size: 1.05rem; color: var(--accent); }
#file-list li span { flex: 1; font-weight: 600; }
#file-list li button {
  background: none; border: none; color: #ff4d4d;
  font-size: .95rem; cursor: pointer;
}
#file-list li button:hover { text-decoration: underline; }

/* 🔹 Ajustements mobiles */
@media (max-width: 480px) {
  .input-group.file-upload {
    padding: 0.9rem 1rem 0.9rem 2.5rem;
  }
  #file-list li {
    flex-wrap: wrap;
    font-size: .85rem;
  }
}

/* =============================== */
/* CGV                             */
/* =============================== */

label { 
  display: flex; 
  align-items: center; 
  font-size: .95rem; 
  color: var(--muted); 
  gap: 6px; 
}
label a { 
  color: var(--accent); 
  text-decoration: underline; 
  font-weight: 600; 
}
label input[type="checkbox"] { accent-color: var(--accent); }
.error#error-cgv { display: block; font-size: .86rem; color: #ff4d4d; }

/* =============================== */
/* RECAPITULATIF COMMANDE          */
/* =============================== */

.order-summary {
  background: #1c1c1c;
  border-radius: 12px;
  padding: 22px;
  margin-top: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.order-summary h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1c40f;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  padding: 6px 0;
  color: #ddd;
}
.summary-row strong {
  color: #fff;
  font-weight: 700;
}

/* 🔹 Responsive récap */
@media (max-width: 480px) {
  .summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: .95rem;
  }
  .order-summary {
    padding: 16px;
  }
}

/* Note confirmation */
.confirmation-note {
  margin-top: 15px;
  font-size: 0.95rem;
  color: #aaa;
}
.confirmation-note i { color: #f1c40f; margin-right: 6px; }

/* Code promo */
.summary-row.promo-row.valid strong { color: #2ecc71; }
.summary-row.promo-row.invalid strong { color: #e74c3c; }

/* Messages promo */
.promo-alert {
  font-size: .86rem; 
  margin-top: 4px;
}

.promo-alert[hidden] { display: none; }
.promo-alert--success { color: #2ecc71; }
.promo-alert--error { color: #e74c3c; }

/* =============================== */
/* CODE PROMO FIELD — VERSION FINALE ÉQUILIBRÉE */
/* =============================== */

.promo-input-group {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
  padding: 2px 4px;
  margin-top: 6px;
  max-width: 360px;
}

.promo-input-group i {
  color: var(--accent);
  font-size: 0.9rem;
  margin-left: 8px;
}

.promo-input-group input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  padding: 9px 8px;
  outline: none;
}
.promo-input-group input::placeholder {
  color: var(--muted-2);
  opacity: 0.8;
}

/* Bouton compact, discret et aligné */
.promo-input-group button {
  background: var(--accent);
  color: #000;
  border: none;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-right: 4px;
}
.promo-input-group button:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

/* ✅ Responsive — version mobile compacte et fluide */
@media (max-width: 600px) {
  .promo-input-group {
    max-width: 100%;
    padding: 2px 6px;
  }
  .promo-input-group i {
    margin-left: 6px;
    font-size: 0.8rem;
  }
  .promo-input-group input {
    font-size: 0.82rem;
    padding: 8px 6px;
  }
  .promo-input-group button {
    padding: 7px 10px;
    font-size: 0.82rem;
    border-radius: 6px;
  }
}

/* =============================== */
/* BADGE CODE PROMO APPLIQUÉ       */
/* =============================== */

.promo-applied-box {
  display: inline-flex;         
  align-items: center;
  gap: 6px;
  background: #f1c40f;         
  color: #000;                
  border-radius: 25px;          
  padding: 6px 14px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  width: auto;                  
  max-width: fit-content;     
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  animation: fadeInPromo 0.3s ease-in-out;
}

.promo-applied-box i.fa-tag { 
  color: #000;   
}

#promo-name { 
  color: #000;   
  letter-spacing: 0.5px;
}

/* Effet apparition douce du badge */
@keyframes fadeInPromo {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.remove-promo {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}
.remove-promo:hover {
  color: #ffffff;
  transform: scale(1.2);
}


/* =============================== */
/* BADGE CODE PROMO APPLIQUÉ       */
/* =============================== */

.promo-applied-box {
  display: inline-flex;         
  align-items: center;
  gap: 6px;
  background: #f1c40f;         
  color: #000;                
  border-radius: 25px;          
  padding: 6px 14px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  width: auto;                  
  max-width: fit-content;     
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.promo-applied-box i.fa-tag { color: #000; }

#promo-name { 
  color: #000;   
  letter-spacing: 0.5px;
}

.remove-promo {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

.remove-promo:hover {
  color: #ffffff;
  transform: scale(1.2);
}


/* =============================== */
/* INPUT NOM DE DOMAINE            */
/* =============================== */
.domain-status {
  margin-top: 4px;
  font-size: .86rem; 
  line-height: 1.4;
  color: #ff5252;
  min-height: 0;          
}

.domain-status:empty {
  display: none;
}
/* Couleurs dynamiques */
.domain-status.success {
  font-weight: 600;
  color: #15803d; 
}

.domain-status.error {
  color: #ff5252; 
}

.domain-status.warning {
  color: #d97706; 
}

/* ====================================================================== */
/* ✅ Suggestions d'adresse (API data.gouv.fr)                            */
/* ====================================================================== */
.suggestions {
  position: absolute;
  top: 100%;                 
  left: 0;
  width: 100%;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  list-style: none;
  margin-top: 4px;
  padding: 4px 0;
  z-index: 1000;
  box-shadow: var(--shadow-2);
  overflow: hidden;
}

.suggestions li {
  padding: 10px 14px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.25s ease;
  font-size: 0.95rem;
  line-height: 1.4;
}

.suggestions li:hover,
.suggestions li:focus {
  background: rgba(255, 255, 255, 0.08);
}

.suggestions li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}


/* =================================================================== */
/* ========================== PAGE JURIDIQUES ========================= */
/* =================================================================== */
.legal-page {
  max-width: 800px;
  width: 90%; /* ✅ Ajout : limite la largeur sur petits écrans */
  margin: 3rem auto;
  background: var(--card);
  border-radius: 18px;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  line-height: 1.7;
  box-shadow: var(--shadow-1);
  padding: 2rem;
}

/* Liens */
.legal-page a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease;
}
.legal-page a:hover {
  color: var(--accent-2);
}

/* Titres principaux */
.legal-page h1 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 3rem;
  color: var(--accent);
  position: relative;
}
.legal-page h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: var(--accent-2);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* Sections */
.legal-page section {
  margin-bottom: 3rem;
  border-left: 4px solid var(--accent);
  padding: 1.6rem 1.5rem 1.6rem 1.8rem;
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.legal-page section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* Sous-titres */
.legal-page h2 {
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.legal-page h2 i { color: var(--accent-2); font-size: 1.3rem; }
.legal-page h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

/* Texte */
.legal-page p, .legal-page li {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}
.legal-page ul {
  margin: 1rem 0 1.5rem 1.5rem;
  list-style: disc;
}
.legal-page li { margin-bottom: .5rem; }

/* Responsive */
@media (max-width: 768px) {
  .legal-page {
    width: 92%;          
    padding: 1.5rem;
  }
  .legal-page h1 { font-size: 1.9rem; }
  .legal-page h2 { font-size: 1.3rem; }
  .legal-page h3 { font-size: 1.1rem; }
  .legal-page p, .legal-page li { font-size: .95rem; }
}

/* =================================================================== */
/* ========================== PAGE DE REMERCIEMENT =================== */
/* =================================================================== */
body.thank-you-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}
body.thank-you-page main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
body.thank-you-page .section {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-1);
  text-align: center;
}
body.thank-you-page .thank-you-box {
  background: var(--elev);
  padding: 2.4rem 1.8rem;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  animation: fadeUp .6s ease forwards;
}
body.thank-you-page .thank-you-box h1 {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}
body.thank-you-page .thank-you-box p {
  font-size: 1rem;
  margin-bottom: .8rem;
  color: var(--muted);
}
body.thank-you-page .thank-you-box strong { color: var(--accent-2); }
body.thank-you-page .client-name {
  color: var(--accent);
  font-weight: 700;
}
body.thank-you-page .btn-return-home {
  display: inline-block;
  margin-top: 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: var(--shadow-1);
}
body.thank-you-page .btn-return-home:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

/* Responsive */
@media (max-width: 768px) {
  body.thank-you-page .thank-you-box h1 { font-size: 1.6rem; }
  body.thank-you-page .thank-you-box p { font-size: .95rem; }
}
@media (max-width: 480px) {
  body.thank-you-page .thank-you-box { padding: 1.4rem 1rem; border-radius: 10px; }
  body.thank-you-page .thank-you-box h1 { font-size: 1.25rem; }
  body.thank-you-page .thank-you-box p { font-size: .88rem; }
  body.thank-you-page .btn-return-home { padding: 9px 14px; font-size: .88rem; }
}
body.thank-you-page footer {
  font-size: .78rem;
  line-height: 1.45;
  padding: 1rem 0;
  text-align: center;
  color: var(--muted-2);
}

/* ================================================================================== */
/* ========================== COOKIE POPUP ========================================= */
/* ================================================================================== */
#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: transparent;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
}
#cookie-popup.show { display: flex; opacity: 1; transform: translateY(0); filter: blur(0); }
.cookie-card {
  max-width: 420px; background: var(--card);
  padding: 1.4rem; border-radius: 12px; box-shadow: var(--shadow-2);
  text-align: center; border: 1px solid rgba(255,255,255,.1);
}
.cookie-card h3 { color: var(--accent);  margin: 0 0 .45rem; }
.cookie-actions button {
  padding: .7rem 1.3rem; border-radius: 8px;
  font-weight: 800; cursor: pointer;
  transition: all .25s;
  cursor: pointer;
  font-size: .95rem;
}
#accept-cookies {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000; border: none;
}
#reject-cookies {
  background: rgba(255,255,255,.08); color: var(--text);
  border: 1px solid rgba(255,255,255,.2);
}

/* Responsive cookies */
@media (max-width: 768px) {
  .cookie-card { max-width: 90%; padding: 1.2rem; }
  .cookie-card h3 { font-size: 1rem; }
  .cookie-card p { font-size: .88rem; }
  .cookie-actions button { flex: 1; min-width: 120px; }
}

/* ================================================================================== */
/* ========================== THANK YOU PAGE ======================================= */
/* ================================================================================== */

body.thank-you-page {
  display: flex; flex-direction: column; min-height: 100vh;
  background: var(--bg); color: var(--text);
}
body.thank-you-page .section {
  max-width: 900px; margin: auto;
  padding: 2.5rem 3rem; background: var(--card);
  border-radius: 18px; box-shadow: var(--shadow-1); text-align: center;
}
body.thank-you-page .thank-you-box {
  background: var(--elev); padding: 2.5rem;
  border-radius: 12px; box-shadow: var(--shadow-2);
  animation: fadeUp .6s ease forwards;
}
body.thank-you-page .thank-you-box h1 { color: var(--accent); }
body.thank-you-page .thank-you-box strong { color: var(--accent-2); }
body.thank-you-page .btn-return-home {
  display: inline-block; margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000; padding: 12px 20px; font-weight: 700;
  border-radius: 8px; transition: all .25s;
}
body.thank-you-page .btn-return-home:hover { filter: brightness(1.1); }