/* ===================================
   COMPONENTS.CSS - Sections & Modules
   =================================== */

/* ===================================
   SECTION VIDEOS (YouTube)
   =================================== */

.videos-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  position: relative;
  background-color: var(--color-background);
  z-index: 2;
}

.videos-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--spacing-xs);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  color: var(--color-dark-gray);
}

/* Filtres cachés - pas nécessaires avec peu de projets */
.videos-categories {
  display: none;
}

/* ===================================
   VIDÉO EN VEDETTE (Featured)
   =================================== */

.video-featured {
  margin-bottom: var(--spacing-xl);
}

.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: linear-gradient(135deg, var(--color-dark) 0%, #2a2a2a 100%);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.featured-card::before {
  content: "★ EN VEDETTE";
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: white;
  padding: 0.4rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 25px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(186, 95, 79, 0.4);
}

.featured-thumbnail-wrapper {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.featured-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(30%);
  transition: var(--transition-slow);
}

.featured-card:hover .featured-thumbnail {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.featured-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  box-shadow: 0 10px 40px rgba(186, 95, 79, 0.5);
}

.featured-card:hover .featured-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--color-white);
}

.featured-play-icon {
  width: 0;
  height: 0;
  border-left: 24px solid var(--color-white);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}

.featured-card:hover .featured-play-icon {
  border-left-color: var(--color-primary);
}

.featured-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.featured-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 25px;
  margin-bottom: var(--spacing-sm);
  width: fit-content;
  border: 1px solid var(--color-primary);
}

.featured-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  color: white;
}

.featured-description {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Featured */
@media (max-width: 992px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-thumbnail-wrapper {
    min-height: 220px;
  }

  .featured-content {
    padding: var(--spacing-md);
  }
}

@media (max-width: 768px) {
  .video-featured {
    margin-bottom: var(--spacing-md);
  }

  .featured-card::before {
    top: 12px;
    left: 12px;
    font-size: 0.6rem;
    padding: 0.35rem 0.8rem;
  }

  .featured-thumbnail-wrapper {
    min-height: 200px;
  }

  .featured-play-overlay {
    width: 60px;
    height: 60px;
  }

  .featured-play-icon {
    border-left-width: 18px;
    border-top-width: 11px;
    border-bottom-width: 11px;
    margin-left: 5px;
  }

  .featured-content {
    padding: var(--spacing-sm);
  }

  .featured-title {
    font-size: 1.3rem;
  }

  .featured-description {
    font-size: 0.95rem;
  }
}

/* ===================================
   VIDÉO CARDS
   =================================== */

.video-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.video-thumbnail-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
  background-color: var(--color-dark);
}

.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-slow);
}

.video-card:hover .video-thumbnail {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.video-card:hover .video-play-overlay {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: var(--color-white);
}

.video-play-icon {
  width: 0;
  height: 0;
  border-left: 25px solid var(--color-white);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 5px;
}

.video-card:hover .video-play-icon {
  border-left-color: var(--color-primary);
}

.video-card-content {
  padding: var(--spacing-md);
}

.video-type-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: var(--spacing-sm);
}

.video-card-title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}

/* ===================================
   SECTION ARTICLES
   =================================== */

.articles-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  position: relative;
  background-color: var(--color-card-bg);
  z-index: 2;
}

.articles-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===================================
   ARTICLE EN VEDETTE
   =================================== */

.article-featured {
  margin-bottom: var(--spacing-xl);
}

.article-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.article-featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.article-featured-image-wrapper {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.article-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: grayscale(50%);
  transition: var(--transition-slow);
}

.article-featured-card:hover .article-featured-image {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.article-featured-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-featured-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 25px;
  margin-bottom: var(--spacing-sm);
  width: fit-content;
}

.article-featured-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--color-card-bg);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: var(--spacing-sm);
  width: fit-content;
}

.article-featured-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  color: var(--color-dark);
}

.article-featured-date {
  font-size: 0.9rem;
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-sm);
}

.article-featured-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-md);
}

.article-featured-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.article-featured-card:hover .article-featured-link {
  color: var(--color-dark);
}

/* Séparateur décoratif */
.article-featured::after,
.video-featured::after {
  content: "";
  display: block;
  margin: var(--spacing-lg) auto;
  width: 80%;
  max-width: 600px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0.3;
}

/* Responsive Article Featured */
@media (max-width: 992px) {
  .article-featured-card {
    grid-template-columns: 1fr;
  }

  .article-featured-image-wrapper {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .article-featured {
    margin-bottom: var(--spacing-md);
  }

  .article-featured-image-wrapper {
    min-height: 180px;
  }

  .article-featured-content {
    padding: var(--spacing-md);
  }

  .article-featured-title {
    font-size: 1.2rem;
  }
}

/* ===================================
   GRILLE ARTICLES (3 par ligne sur PC)
   =================================== */

/* ===================================
   CARROUSEL / SLIDER HORIZONTAL (SWIPER STYLE)
   =================================== */

.carousel-wrapper {
  position: relative;
  margin-left: calc(-1 * var(--spacing-md));
  margin-right: calc(-1 * var(--spacing-md));
  padding-left: var(--spacing-md);
}

.carousel-container {
  overflow: visible;
  position: relative;
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.carousel-track {
  display: flex;
  gap: var(--spacing-md);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding-right: 20%;
  /* Support tactile */
  touch-action: pan-y pinch-zoom; /* Permet le scroll vertical mais pas horizontal natif */
  user-select: none; /* Empêche la sélection de texte pendant le swipe */
  -webkit-user-select: none;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-track .article-card,
.carousel-track .video-card {
  flex: 0 0 calc(33.333% - var(--spacing-md) * 2 / 3);
  min-width: calc(33.333% - var(--spacing-md) * 2 / 3);
}

/* Flèches de navigation - En bas à droite */
.carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding-right: var(--spacing-md);
}

.carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
  background: transparent;
  color: var(--color-primary);
  transform: none;
}

.carousel-arrow span {
  line-height: 1;
  margin-top: -2px;
}

/* Tablet - 2 items */
@media (max-width: 1200px) {
  .carousel-track .article-card,
  .carousel-track .video-card {
    flex: 0 0 calc(50% - var(--spacing-md) / 2);
    min-width: calc(50% - var(--spacing-md) / 2);
  }

  .carousel-container {
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
  }
}

/* Mobile - 1 item avec aperçu */
@media (max-width: 768px) {
  .carousel-wrapper {
    margin-left: calc(-1 * var(--spacing-sm));
    margin-right: calc(-1 * var(--spacing-sm));
    padding-left: var(--spacing-sm);
  }

  .carousel-track .article-card,
  .carousel-track .video-card {
    flex: 0 0 85%;
    min-width: 85%;
  }

  .carousel-track {
    gap: var(--spacing-sm);
    padding-right: 30%;
  }

  .carousel-container {
    mask-image: linear-gradient(to right, black 75%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 75%, transparent 100%);
  }

  .carousel-nav {
    margin-top: var(--spacing-md);
    padding-right: var(--spacing-sm);
  }

  .carousel-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .carousel-track .article-card,
  .carousel-track .video-card {
    flex: 0 0 90%;
    min-width: 90%;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* ===================================
   STYLES ARTICLES DANS CARROUSEL
   =================================== */

.article-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.article-image-wrapper {
  position: relative;
  padding-top: 40%;
  overflow: hidden;
}

.article-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-slow);
}

.article-card:hover .article-image {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.article-card-body {
  padding: var(--spacing-sm) var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background-color: var(--color-card-bg);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 15px;
  margin-bottom: var(--spacing-xs);
  width: fit-content;
}

.article-title {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  line-height: 1.3;
}

.article-date {
  font-size: 0.85rem;
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-xs);
}

.article-excerpt {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.article-link {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.article-link:hover {
  gap: 1rem;
}

.article-link::after {
  content: "→";
  font-size: 1.2rem;
}

/* ===================================
   SECTION PARALLAX QUOTE
   =================================== */

.quote-parallax-section {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: grayscale(100%);
}

.parallax-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-overlay);
}

.quote-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: var(--spacing-xl) var(--spacing-md);
}

.quote-text {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--color-white);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.quote-text::before {
  content: '"';
  font-size: 6rem;
  color: var(--color-primary);
  position: absolute;
  top: -40px;
  left: -20px;
  font-family: Georgia, serif;
}

.quote-author {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ===================================
   SECTION RADIO & TIKTOK
   =================================== */

.media-mixed-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background-color: var(--color-background);
  position: relative;
  z-index: 2;
}

.media-mixed-section .section-title-bg {
  z-index: 0;
}

.media-mixed-container {
  max-width: 1400px;
  margin: 0 auto;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
  align-items: start;
}

.radio-section {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: var(--spacing-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-section-title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.audio-embed-wrapper {
  margin-top: var(--spacing-md);
  border-radius: 10px;
  overflow: hidden;
}

.audio-embed {
  width: 100%;
  height: 166px;
  border: none;
}

.tiktok-section {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tiktok-embed-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-md);
  min-height: 500px;
  max-height: 600px;
}

.tiktok-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style pour l'embed TikTok officiel */
.tiktok-embed-wrapper blockquote {
  margin: 0 auto !important;
  min-width: 325px !important;
  max-width: 450px !important;
  max-height: 600px !important;
  background: var(--color-white) !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden !important;
}

/* Style pour le lien de fallback/preview */
.tiktok-preview {
  width: 100%;
  max-width: 400px;
  min-height: 600px;
  aspect-ratio: 9/16;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: linear-gradient(135deg, var(--color-card-bg) 0%, var(--color-white) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg);
  text-decoration: none;
  color: var(--color-text);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.tiktok-preview h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

.tiktok-preview p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
}

.tiktok-preview:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 40px rgba(186, 95, 79, 0.3);
  border-color: var(--color-primary);
}

.tiktok-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   SECTION COMPÉTENCES (Skills)
   =================================== */

.skills-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background-color: var(--color-card-bg);
  position: relative;
  z-index: 2;
}

.skills-container {
  max-width: 1400px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-xl);
}

.skill-category {
  background-color: var(--color-white);
  border-radius: 15px;
  padding: var(--spacing-lg);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  z-index: 1;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-category-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.skill-category-icon i {
  font-size: 1.8rem;
  color: var(--color-white);
}

.skill-category-title {
  font-size: 1.5rem;
  color: var(--color-dark);
  margin-bottom: var(--spacing-md);
}

.skill-item {
  margin-bottom: var(--spacing-md);
}

.skill-name {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.skill-level-text {
  display: none; /* Pourcentages cachés */
}

.skill-bar {
  display: none; /* Barres de pourcentage cachées */
}

.skill-bar-fill {
  display: none;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.skill-tag {
  padding: 0.5rem 1rem;
  background-color: var(--color-card-bg);
  border-radius: 20px;
  font-size: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
  padding: var(--spacing-xxl) var(--spacing-md);
  background-color: var(--color-background);
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-card {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

/* Layout en ligne pour les infos de contact */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.contact-clickable {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.contact-clickable:hover {
  transform: translateY(-5px);
}

.contact-clickable:hover .contact-icon-wrapper {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.contact-clickable:hover .contact-icon-wrapper i {
  color: var(--color-white);
}

.contact-clickable:hover .contact-details h4 {
  color: var(--color-primary);
}

.contact-icon-wrapper {
  width: 90px;
  height: 90px;
  background-color: transparent;
  border: 3px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
}

.contact-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-dark);
}

.contact-details p,
.contact-details a {
  font-size: 1.3rem;
  color: var(--color-dark-gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .article-card {
    margin-bottom: var(--spacing-xs);
  }

  /* Réduire les espacements des compétences */
  .skills-grid {
    gap: var(--spacing-sm);
  }
}

.contact-form-card {
  background-color: var(--color-card-bg);
  border-radius: 15px;
  padding: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-xs);
  color: var(--color-dark);
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  background-color: var(--color-white);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 5px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.submit-btn:hover {
  background-color: var(--color-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-dark);
  color: var(--color-white);
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.social-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background-color: var(--color-white);
  transform: translateY(-5px);
}

.social-icon i {
  font-size: 1.3rem;
  color: var(--color-white);
}

.social-icon:hover i {
  color: var(--color-primary);
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===================================
   VIDEO MODAL
   =================================== */

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  width: 90%;
  max-width: 1200px;
  position: relative;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
}

.video-wrapper iframe,
.video-wrapper blockquote {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

/* ===================================
   LOADING SCREEN
   =================================== */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  z-index: var(--z-loading);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.loading-bar {
  width: 300px;
  height: 4px;
  background-color: var(--color-card-bg);
  border-radius: 10px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 10px;
  transition: width 0.3s ease;
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Large Tablet */
@media (max-width: 1200px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .tiktok-embed-wrapper {
    min-height: 450px;
    max-height: 550px;
  }

  .tiktok-embed-wrapper blockquote {
    max-width: 500px !important;
  }

  .radio-section,
  .tiktok-section {
    padding: var(--spacing-lg);
  }
}

/* Tablet */
@media (max-width: 992px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .media-section-title {
    font-size: 1.8rem;
  }

  .tiktok-embed-wrapper {
    min-height: 500px;
    max-height: 600px;
  }

  .tiktok-embed-wrapper blockquote {
    max-width: 450px !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* 1 article par ligne sur mobile */
  .articles-grid {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-sm);
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .video-card {
    margin-bottom: var(--spacing-sm);
  }

  .quote-parallax-section {
    height: 400px;
  }

  /* Media Grid Mobile */
  .media-mixed-section {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .radio-section,
  .tiktok-section {
    padding: var(--spacing-sm);
    border-radius: 12px;
  }

  .media-section-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }

  .tiktok-embed-wrapper {
    min-height: 550px;
    max-height: 700px;
    padding: 0;
  }

  .tiktok-embed-wrapper blockquote {
    max-width: 100% !important;
    min-width: 280px !important;
    margin: 0 auto !important;
  }

  .audio-embed {
    height: 120px;
  }

  .audio-embed-wrapper {
    border-radius: 8px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .media-mixed-section {
    padding: var(--spacing-md) var(--spacing-xs);
  }

  .radio-section,
  .tiktok-section {
    padding: var(--spacing-sm);
  }

  .media-section-title {
    font-size: 1.3rem;
  }

  .tiktok-embed-wrapper {
    min-height: 600px;
    max-height: 750px;
  }

  .tiktok-embed-wrapper blockquote {
    min-width: 260px !important;
  }
}
