/* ===========================
   Connivence Digitale – Neo‑Gradient Premium
   Juillet 2026
   =========================== */

/* Design tokens */
:root {
  /* Palette principale */
  --cd-red: #E71D36;
  --cd-orange-intense: #F63E02;
  --cd-orange: #EF8A17;
  --cd-yellow: #F5B700;
  --cd-green: #89FC00;

  /* Texte & surfaces */
  --cd-text-main: #2B2B2B;
  --cd-text-secondary: #5F5F5F;
  --cd-card-bg: #FFF8EF;
  --cd-border: #EAEAEA;

  /* Dégradé signature (Neo‑Gradient Premium) */
  --cd-gradient-main: linear-gradient(
    135deg,
    #F5B700 0%,
    #EF8A17 50%,
    #F5B700 100%
  );

  /* Glow lumineux */
  --cd-glow: radial-gradient(
    circle at 30% 20%,
    rgba(255,255,255,0.45),
    transparent 60%
  );

  /* Rayons & ombres */
  --cd-radius-card: 24px;
  --cd-radius-button: 14px;
  --cd-shadow-soft: 0 18px 45px rgba(0,0,0,0.12);
}

/* Reset minimal */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Core Label Ex", system-ui, -apple-system, sans-serif;
  color: var(--cd-text-main);

  /* Dégradé global sur toute la page */
  background: linear-gradient(
    135deg,
    #F5B700 0%,
    #EF8A17 100%
  );
  background-attachment: fixed; /* IMPORTANT */
}



/* Typo titres */
h1, h2, h3 {
  font-family: "Core Gungseo SemiBold", system-ui, sans-serif;
  margin: 0;
}

/* Layout global */
.cd-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===========================
   Header
   =========================== */

.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 5rem 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,248,239,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234,234,234,0.7);
 
}

.cd-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cd-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: conic-gradient(
    from 180deg,
    #E71D36,
    #F63E02,
    #EF8A17,
    #F5B700,
    #89FC00,
    #E71D36
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
}

.cd-logo-text {
  display: flex;
  flex-direction: column;
  padding-left: 100px;
  
}

.cd-logo-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cd-logo-subtitle {
  font-size: 1rem;
  color: var(--cd-text-secondary);
}

.cd-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cd-nav a {
  text-decoration: none;
  font-size: 1.2rem;
  color: var(--cd-text-main);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.cd-nav a:hover {
  background: rgba(0,0,0,0.04);
}

.cd-nav-cta {
  border-radius: var(--cd-radius-button);
  border: 1px solid var(--cd-red);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

/* ===========================
   Hero – Neo‑Gradient Premium
   =========================== */

.cd-hero {
  min-height: 100vh;
  padding: 7rem 5vw 5rem;
  padding-top: 12rem; /* espace entre header et hero */
  background: var(--cd-gradient-main);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cd-glow);
  pointer-events: none;
}

.cd-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 3rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: var(--cd-shadow-soft);
}

.cd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,248,239,0.9);
  border: 1px solid rgba(234,234,234,0.9);
  font-size: 0.8rem;
  color: var(--cd-text-secondary);
}

.cd-hero-title {
  margin-top: 1.6rem;
  font-size: 3.4rem;
  line-height: 1.1;
}

.cd-hero-subtitle {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  color: var(--cd-text-main);
}

.cd-hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Boutons */
.cd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: var(--cd-radius-button);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cd-btn-primary {
  background: var(--cd-red);
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(231,29,54,0.35);
}

.cd-btn-primary:hover {
  background: var(--cd-orange-intense);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(246,62,2,0.45);
}

.cd-btn-secondary {
  background: transparent;
  color: var(--cd-red);
  border: 1px solid var(--cd-red);
}

.cd-btn-secondary:hover {
  background: rgba(245,183,0,0.35);
}

/* ===========================
   Sections
   =========================== */

.cd-main {
  background: var(--cd-gradient-main);
}

.cd-section {
  padding: 4rem 5vw;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(18px);
}

.cd-section-inner {
  max-width: 1100px;
  margin: 0 auto;

  /* Dégradé transparent */
  background: linear-gradient(
    135deg,
    rgba(245, 183, 0, 0.35) 0%,
    rgba(239, 138, 23, 0.35) 100%
  );

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 28px;
  padding: 3rem;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}




/* Grids */
.cd-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
}

.cd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 10px;
}

/* Cartes premium */
.cd-card {
  border-radius: var(--cd-radius-card);
  padding: 1.8rem;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(234,234,234,0.9);
  box-shadow: var(--cd-shadow-soft);
  backdrop-filter: blur(12px);
}

.cd-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.cd-card p {
  margin: 0.4rem 0;
  color: var(--cd-text-secondary);
}

.cd-card-highlight {
  border-color: var(--cd-red);
}

/* Listes */
.cd-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.cd-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--cd-text-secondary);
}

/* Formulaire contact */
.cd-contact {
  background: #FFF8EF;
}

.cd-form {
  border-radius: var(--cd-radius-card);
  padding: 2rem;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(234,234,234,0.9);
  box-shadow: var(--cd-shadow-soft);
}

.cd-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.cd-form input,
.cd-form textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--cd-border);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Témoignages */
.cd-testimonial {
  position: relative;
}

.cd-testimonial p {
  font-style: italic;
}

.cd-testimonial-author {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Tarifs */
.cd-price {
  margin-top: 0.8rem;
  font-weight: 600;
}

/* ===========================
   Footer
   =========================== */

.cd-footer {
  padding: 1.8rem 5vw;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cd-text-secondary);
  background: #FFF8EF;
  border-top: 1px solid rgba(234,234,234,0.9);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 1024px) {
  .cd-hero-title {
    font-size: 2.8rem;
  }

  .cd-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cd-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .cd-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cd-hero {
    padding: 6rem 5vw 4rem;
    align-items: flex-start;
  }

  .cd-hero-inner {
    padding: 2.2rem;
    border-radius: 22px;
  }

  .cd-hero-title {
    font-size: 2.2rem;
  }

  .cd-grid-2,
  .cd-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .cd-hero-title {
    font-size: 1.9rem;
  }

  .cd-hero-subtitle {
    font-size: 1rem;
  }

  .cd-btn {
    width: 100%;
    justify-content: center;
  }
}

