/* =============================================
   KAMELEON SOLUTIONS — CSS
   Identité visuelle: Violet #2D1B69, Noir #0D0D0D, Cuivre #A0522D
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@300;400;500;600;900&display=swap');

/* ── Variables ── */
:root {
  --violet:        #2D1B69;
  --violet-light:  #3d2589;
  --violet-dark:   #1a0f3f;
  --copper:        #A0522D;
  --copper-light:  #c8783f;
  --copper-glow:   #d4894a;
  --black:         #0D0D0D;
  --white:         #F5F3EF;
  --grey:          #1a1a2e;
  --blue:		   #0045ff;
  --green:		   #013e00;

  --font-display:  'Montserrat Alternates', sans-serif;
  --font-body:     'Montserrat Alternates', sans-serif;

  --section-pad: 120px 60px;
  --overlap: -120px;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--violet-dark);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

/* ── Custom Cursor ── */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--copper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(13,13,13,0.95) 0%, transparent 100%);
  backdrop-filter: blur(4px);
}

.nav-logo { display: flex; align-items: center; gap: 14px; }

.nav-logo img {
  height: 100px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(240,232,216,0.6)) drop-shadow(0 0 28px rgba(240,232,216,0.3));
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-brand span { color: var(--copper); }

.nav-links { display: flex; gap: 40px; list-style: none; }

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.65);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width 0.35s ease;
}

.nav-links a:hover { color: var(--copper-glow); }
.nav-links a:hover::after { width: 100%; }

/* ══════════════════════════════════════════
   SECTION 1 — HERO
══════════════════════════════════════════ */
.section-pres {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 100% 91%, 0 100%);
  margin-bottom: var(--overlap);
  z-index: 4;
}

.pres-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(45,27,105,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 25% 60%, rgba(160,82,45,0.12) 0%, transparent 60%);
  z-index: 0;
}

.pres-content {
  position: relative;
  z-index: 1;
  padding: 0 60px;
  max-width: 900px;
}

.pres-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.pres-eyebrow-line { width: 48px; height: 1px; background: var(--copper); }

.pres-eyebrow-text {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 500;
}

.pres-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 16px;
}

.pres-title .highlight { color: var(--copper); display: block; }
.highlight--violet { color: var(--violet-light); }

.pres-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(245,243,239,0.55);
  margin-bottom: 52px;
  max-width: 480px;
  line-height: 1.8;
}

.pres-placeholder {
  font-style: italic;
  color: rgba(160,82,45,0.45);
  font-size: 0.95rem;
  border-left: 2px solid rgba(160,82,45,0.3);
  padding-left: 14px;
  margin-top: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  background: transparent;
  border: 1.5px solid var(--copper);
  color: var(--copper-light);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--copper);
  transform: translateX(-105%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--black); box-shadow: 0 0 32px rgba(160,82,45,0.4); }
.btn-primary span { position: relative; z-index: 1; }
.btn-arrow { position: relative; z-index: 1; font-size: 1rem; transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(6px); }

/* ══════════════════════════════════════════
   GLOSSY DIVIDERS
   Positionnés ENTRE les sections, centrés sur la jointure
══════════════════════════════════════════ */
.glossy-divider {
  position: relative;
  height: 0;
  z-index: 20;
  pointer-events: none;
  overflow: visible;
}

.glossy-divider svg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  overflow: visible;
  /* chaque divider est décalé pour coller à la diagonale de la section au-dessus */
}

/* Divider 1 : suit l'angle bas du Hero (91% gauche → 100% droite) */
.glossy-divider-1 svg {
  top: calc(var(--overlap) * -0.5);
}

/* Divider 2 : suit l'angle bas des Services */
.glossy-divider-2 svg {
  top: calc(var(--overlap) * -0.5);
}

/* Divider 3 : suit l'angle bas de À propos */
.glossy-divider-3 svg {
  top: calc(var(--overlap) * -0.5);
}

/* ══════════════════════════════════════════
   SECTION 2 — Activités
══════════════════════════════════════════ */
.section-activ {
  position: relative;
  background: var(--violet-dark);
  padding: 200px 60px;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  margin-bottom: var(--overlap);
  z-index: 3;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 60px;
  max-width: 500px;
  line-height: 1.25;
}

.section-title--brand {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 40px;
}

.section-title--brand .highlight { color: var(--copper); }

.activ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
}

.activ-card {
  background: rgba(13,13,13,0.4);
  border: 1px solid rgba(160,82,45,0.15);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s;
}

.activ-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--copper);
  transition: height 0.4s ease;
}

.activ-card:hover { background: rgba(45,27,105,0.5); border-color: rgba(160,82,45,0.4); }
.activ-card:hover::before { height: 100%; }
.activ-icon { width: 44px; height: 44px; margin-bottom: 22px; opacity: 0.85; }

.activ-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-top: 5px;
}

.activ-name span { color: var(--copper); }

.activ-desc {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(245,243,239,0.5);
}

.placeholder-text {
  font-style: italic;
  color: white;
  font-size: 1.05rem;
}

.activ-intro {
  font-style: italic;
  color: white;
  font-size: 1.4rem;
}

/* ══════════════════════════════════════════
   SECTION 3 — Associations
══════════════════════════════════════════ */
.section-assoc {
  position: relative;
  background: linear-gradient(135deg, #A0522D 0%, #c8783f 40%, #8B3A1A 100%);
  padding: 200px 60px;
  clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 94%);
  margin-bottom: var(--overlap);
  z-index: 2;
  overflow: hidden;
}

.assoc-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(255,200,120,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(80,20,0,0.3) 0%, transparent 55%);
  z-index: 0;
}

.assoc-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.assoc-text { display: flex; flex-direction: column; gap: 0; }

.assoc-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(13,13,13,0.6);
  margin-bottom: 12px;
}

.assoc-title-style {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--black);
  margin-bottom: 24px;
  max-width: 500px;
  line-height: 1.25;
}

.assoc-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2;
  color: rgba(13,13,13,0.65);
  margin-bottom: 40px;
}

.assoc-placeholder {
  font-style: italic;
  color: rgba(13,13,13,0.45);
  font-size: 0.8rem;
}

.btn-assoc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  background: transparent;
  border: 1.5px solid rgba(13,13,13,0.5);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  transition: color 0.35s, box-shadow 0.35s, background 0.35s;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.btn-assoc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-105%);
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-assoc:hover::before { transform: translateX(0); }
.btn-assoc:hover { color: var(--copper-light); }
.btn-assoc span { position: relative; z-index: 1; }

.assoc-cards {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.assoc-card {
  background: rgba(13,13,13,0.15);
  border: 1px solid rgba(13,13,13,0.2);
  border-left: 3px solid rgba(13,13,13,0.4);
  padding: 28px 32px;
  transition: background 0.3s, border-color 0.3s;
}

.assoc-card:hover {
  background: rgba(13,13,13,0.25);
  border-color: rgba(13,13,13,0.5);
}

.assoc-card-number {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: rgba(13,13,13,0.45);
  margin-bottom: 8px;
}

.assoc-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.assoc-card-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(13,13,13,0.6);
}

@media (max-width: 900px) {
  .assoc-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════════
   SECTION 4 — Reparations
══════════════════════════════════════════ */
.section-repa {
  position: relative;
  background: var(--grey);
  padding: 200px 60px;
  clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%);
  margin-bottom: var(--overlap);
  z-index: 1;
}

.repa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.repa-visual { position: relative; }

.repa-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.repa-logo-wrap img {
  width: 280px;
  filter: drop-shadow(0 0 60px rgba(45,27,105,0.7));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

.repa-ring {
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(160,82,45,0.2);
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
}

.repa-ring-2 {
  width: 420px; height: 420px;
  border-color: rgba(45,27,105,0.4);
  animation-duration: 30s;
  animation-direction: reverse;
}

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

.repa-text .section-label { margin-top: 0; }

.repa-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2;
  color: rgba(245,243,239,0.55);
  margin-bottom: 44px;
}

.stats-row { display: flex; gap: 48px; }
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--copper);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.4);
}

/* ══════════════════════════════════════════
   SECTION 4 — CONTACT
══════════════════════════════════════════ */
.section-contact {
  position: relative;
  background: var(--violet);
  padding: 200px 60px 100px;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

.contact-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 80% 50%, rgba(160,82,45,0.15) 0%, transparent 60%);
  z-index: 0;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 28px; }

.contact-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 2;
  color: rgba(245,243,239,0.5);
  margin-bottom: 52px;
}

.contact-details { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  color: rgba(245,243,239,0.6);
}

.contact-item-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(160,82,45,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--copper-light);
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 500;
}

.form-input,
.form-textarea {
  background: rgba(13,13,13,0.5);
  border: 1px solid rgba(160,82,45,0.25);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--copper); background: rgba(45,27,105,0.3); }

.form-textarea { min-height: 120px; }

/* ── Footer ── */
footer {
  background: var(--black);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(160,82,45,0.12);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(245,243,239,0.3);
  text-transform: uppercase;
}

.footer-copy { font-size: 0.72rem; color: rgba(245,243,239,0.2); letter-spacing: 0.1em; }
.footer-links { display: flex; gap: 28px; list-style: none; }

.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.25);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--copper-light); }

/* ── Animations d'entrée ── */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.15s; }
.fade-in-delay-2 { transition-delay: 0.3s; }
.fade-in-delay-3 { transition-delay: 0.45s; }
.fade-in-delay-4 { transition-delay: 0.6s; }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .pres-content { padding: 0 24px; }
  .section-activ, .section-repa, .section-contact { padding: 160px 24px; }
  .repa-grid, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .repa-visual { display: none; }
  .stats-row { gap: 28px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
}
