/* ===================================
   PAGE ACCUEIL CRÉATEURS DE CONTENU - PIXMATCH
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800;9..144,900&family=Manrope:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url('../images/FondPageAccueilCdc.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Manrope', sans-serif;
}

.page-cdc .pixmatch-accueil-cdc {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.page-cdc .image-accueil {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.page-cdc .hero-text {
    position: absolute;
    top: 15%;  /* Ajuste cette valeur pour monter/descendre */
    left: 50%;
    transform: translateX(-50%);  /* Centrage horizontal uniquement */
    text-align: center;
    color: black;
    padding: 0 20px;
    z-index: 10;
    width: 100%;  /* Prend toute la largeur */

}

.page-cdc .hero-text h1 {
    font-size: 100px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);  /* Optionnel */
}

.page-cdc .hero-text p {
    font-size: 34px;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* ===== SWITCH HERO ===== */
.page-cdc .hero-switch {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    background: #FFEB99 !important;
    border: 3px solid #000;
    border-radius: 50px;
    padding: 5px;
    gap: 5px;
    z-index: 30;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.page-cdc .switch-btn {
    background: transparent;
    border: none;
    padding: 12px 35px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 800;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Fraunces', serif;
    cursor: pointer;
    display: inline-block;
}

.page-cdc .switch-active {
    background: #fff !important;
    box-shadow: inset 0 0 0 2px #000;
}

/* ===== TEXTE SECTION ===== */
.page-cdc .texte-section {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 60px;
  text-align: justify;
}

.page-cdc .colonne {
  flex: 1;
  min-width: 0;
}

.page-cdc .colonne p {
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

/* ===== PROFESSIONNELS ===== */
.page-cdc .pro-section {
  width: 100%;
  padding: 70px 0;
}

.page-cdc .pro-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  font-family: 'Fraunces', serif;
  margin-bottom: 40px;
  color: #000;
}

.page-cdc .pro-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  gap: 10px;
}

.page-cdc .nav-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #333;
  background: #bdb5d6;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.page-cdc .nav-dot:hover {
  background: #9a8db3;
  transform: scale(1.1);
}

/* CARDS PROFESSIONNELS */
.page-cdc .pro-card {
  position: relative;
  width: 220px;
  height: 320px;
  background: #ABAED8 !important;  /* Bleu pour CDC */
  padding: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0,0,0,0.1);
}

.page-cdc .pro-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(0,0,0,0.15);
  pointer-events: none;
}

.page-cdc .pro-img {
  display: none;
}

.page-cdc .pro-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 15px 10px;
  background: rgba(255,235,153, 0.85) !important;  /* Jaune pour l'overlay */
  color: black;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.1);
}

.page-cdc .pro-name {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  font-family: 'Fraunces', serif;
  letter-spacing: 1px;
}

.page-cdc .pro-job {
  margin: 5px 0 0 0;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.page-cdc .pro-stars {
  margin-top: 8px;
  font-size: 16px;
  color: #000;
  letter-spacing: 3px;
}

/* ===== POURQUOI NOUS ===== */
.page-cdc .why {
  background: #FFEB99 !important;  /* Jaune pour CDC */
  border-top: 10px solid #ABAED8 !important;  /* Bleu */
  border-bottom: 10px solid #ABAED8 !important;
  padding: 50px 60px;
  margin: 40px 0;
}

.page-cdc .why-title {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 30px 0;
  color: #000;
}

.page-cdc .why-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.page-cdc .why-item {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #000;
}

.page-cdc .why-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cdc .why-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-cdc .why-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 8px;
}

.page-cdc .why-payments {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-cdc .why-pay {
  height: 32px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  padding: 4px;
}

/* ===== AVIS ===== */
.page-cdc .avis-wrap {
  width: 100%;
  padding: 70px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-cdc .avis-arrow-img {
  width: 64px;
  height: 64px;
  padding: 16px;
  box-sizing: border-box;
  background: #f3efe7;
  border: 3px solid #ABAED8 !important;  /* Bleu pour CDC */
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  cursor: pointer;
  object-fit: contain;
  transition: all 0.3s ease;
}

.page-cdc .avis-arrow-img:hover {
  transform: scale(1.1);
  background: #fff;
}

.page-cdc .avis-box {
  width: min(1300px, 78vw);
  background: #FFEB99 !important;  /* Jaune pour CDC */
  border: 10px solid #ABAED8 !important;  /* Bleu */
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.page-cdc .avis-inner {
  border: 3px solid rgba(255,255,255,0.25);
  padding: 45px 55px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.page-cdc .avis-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-cdc .avis-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(171, 174, 216, 0.3) !important;  /* Violet clair */
  border: 4px solid #ABAED8 !important;  /* Bleu */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-cdc .avis-img {
  display: none;
}

.page-cdc .avis-meta {
  width: 100%;
  text-align: center;
  font-family: 'Fraunces', serif;
}

.page-cdc .avis-name {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  color: #000;
}

.page-cdc .avis-date {
  font-size: 16px;
  font-weight: 600;
  margin: 8px 0;
  opacity: 0.8;
  color: #333;
}

.page-cdc .avis-job {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0;
  color: #222;
}

.page-cdc .avis-right {
  padding-top: 10px;
}

.page-cdc .avis-head {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.page-cdc .avis-title {
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  font-family: 'Fraunces', serif;
  color: #000;
}

.page-cdc .avis-hearts {
  font-size: 32px;
  color: #e30000;
  letter-spacing: 12px;
}

.page-cdc .avis-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  color: #222;
}

/* ===== WORK SECTION ===== */
.page-cdc .work2 {
  width: 100%;
  padding: 70px 80px 90px;
}

.page-cdc .work2-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 900;
  margin: 0 0 20px 0;
  color: #000;
}

.page-cdc .work2-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-rows: auto;
  column-gap: 70px;
  align-items: start;
}

.page-cdc .work2-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: #000;
}

.page-cdc .work2-text p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
  color: #222;
}

.page-cdc .work2-img {
  display: none;
}

.page-cdc .work2-right-block h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 20px 0;
  color: #000;
}

.page-cdc .work2-right-block p {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-align: justify;
  color: #222;
}

.page-cdc .work2-text-1 { 
  grid-column: 1; 
  grid-row: 1; 
}

.page-cdc .work2-right-block { 
  grid-column: 2; 
  grid-row: 1; 
  width: 100%;
}

/* ===== FAQ ===== */
.page-cdc .faq {
  width: 100%;
  padding: 60px 20px 100px;
}

.page-cdc .faq-title {
  text-align: center;
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 50px;
  color: #000;
}

.page-cdc .faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

.page-cdc .faq-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 2px solid rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-cdc .faq-item:hover {
  background: rgba(171, 174, 216, 0.1);  /* Violet clair */
  padding-left: 15px;
}

.page-cdc .faq-item p {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.page-cdc .faq-chevron {
  margin-left: auto;
  margin-right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  transition: transform 0.3s ease;
}

.page-cdc .faq-item:hover .faq-chevron {
  transform: translateY(5px);
  color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .page-cdc .hero-text h1 { font-size: 80px; }
  .page-cdc .hero-text p { font-size: 28px; }
  .page-cdc .pro-row { flex-wrap: wrap; }
  .page-cdc .pro-card { width: 200px; height: 300px; }
  .page-cdc .why-row { justify-content: center; }
}

@media (max-width: 992px) {
  .page-cdc .hero-text { left: 30%; }
  .page-cdc .hero-text h1 { font-size: 60px; }
  .page-cdc .hero-text p { font-size: 22px; }
  .page-cdc .texte-section { flex-direction: column; padding: 40px; }
  .page-cdc .pro-title { font-size: 32px; }
  .page-cdc .avis-inner { 
    grid-template-columns: 1fr; 
    padding: 30px;
  }
  .page-cdc .avis-left { flex-direction: row; }
  .page-cdc .avis-photo { width: 150px; height: 150px; }
  .page-cdc .work2 { padding: 40px; }
  .page-cdc .work2-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
  .page-cdc .work2-right-block { grid-column: 1; grid-row: auto; }
  .page-cdc .why { padding: 30px; }
  .page-cdc .why-item { font-size: 22px; }
}

@media (max-width: 768px) {
  .page-cdc .hero-switch {
    position: relative;
    bottom: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    width: fit-content;
  }
  
  .page-cdc .hero-text { 
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding: 30px 20px;
    text-align: center;
  }
  .page-cdc .hero-text h1 { font-size: 48px; }
  .page-cdc .hero-text p { font-size: 20px; }
  .page-cdc .why { padding: 30px 20px; }
  .page-cdc .why-item { font-size: 20px; }
  .page-cdc .why-row { flex-direction: column; align-items: flex-start; }
  .page-cdc .faq-title { font-size: 28px; }
}

@media (max-width: 576px) {
  .page-cdc .hero-text h1 { font-size: 36px; }
  .page-cdc .hero-text p { font-size: 16px; }
  .page-cdc .switch-btn { padding: 8px 20px; font-size: 14px; }
  .page-cdc .pro-card { width: 180px; height: 260px; }
  .page-cdc .pro-name { font-size: 22px; }
  .page-cdc .avis-wrap { flex-direction: column; }
  .page-cdc .avis-arrow-img { width: 50px; height: 50px; }
  .page-cdc .avis-name { font-size: 26px; }
  .page-cdc .avis-title { font-size: 28px; }
  .page-cdc .avis-hearts { font-size: 24px; }
}
/* ===== WORK SECTION AVEC PHOTOS - VERSION CDC ===== */
.page-cdc .work2 {
    width: 100%;
    padding: 80px 60px;
}

.page-cdc .work2-title {
    text-align: center;
    font-family: 'Fraunces', serif;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 60px;
    color: #000;
    position: relative;
}

.page-cdc .work2-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #ABAED8 !important;  /* Bleu pour CDC */
    border-radius: 2px;
}

.page-cdc .work2-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-cdc .work2-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 235, 153, 0.1);  /* Fond jaune très clair */
    backdrop-filter: blur(5px);
    border-radius: 30px;
    padding: 30px;
    border: 2px solid #ABAED8;  /* Bordure bleue */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-cdc .work2-card:hover {
    transform: translateY(-5px);
    border-color: #000;
}

.page-cdc .work2-card-reverse {
    flex-direction: row-reverse;
}

.page-cdc .work2-img-container {
    flex: 0 0 300px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #ABAED8 !important;  /* Bordure bleue */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.page-cdc .work2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-cdc .work2-img-container:hover .work2-img {
    transform: scale(1.05);
}

.page-cdc .work2-content {
    flex: 1;
}

.page-cdc .work2-content h3 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
    position: relative;
    padding-bottom: 10px;
}

.page-cdc .work2-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ABAED8 !important;  /* Ligne bleue */
    border-radius: 2px;
}

.page-cdc .work2-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

/* ===== RESPONSIVE WORK SECTION CDC ===== */
@media (max-width: 992px) {
    .page-cdc .work2 {
        padding: 60px 30px;
    }
    
    .page-cdc .work2-title {
        font-size: 36px;
    }
    
    .page-cdc .work2-card {
        flex-direction: column !important;
        gap: 30px;
        padding: 25px;
    }
    
    .page-cdc .work2-img-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 250px;
    }
    
    .page-cdc .work2-content h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .page-cdc .work2-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .page-cdc .work2 {
        padding: 40px 20px;
    }
    
    .page-cdc .work2-title {
        font-size: 28px;
    }
    
    .page-cdc .work2-img-container {
        height: 200px;
    }
    
    .page-cdc .work2-content h3 {
        font-size: 22px;
    }
    
    .page-cdc .work2-content p {
        font-size: 14px;
    }
}