/*
 Theme Name: Hello Elementor Child - Network Background
 Theme URI: https://example.com/
 Description: Child theme for Hello Elementor with full-CSS animated backgrounds (no JS).
 Author: Agence Victor'S
 Template: hello-elementor
 Version: 1.0
 Text Domain: hello-elementor-child
*/


/* ============================================================
   3. GRILLE PORTFOLIO PRESTATAIRE
============================================================ */

.prestataire-portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 0;
}

.prestataire-portfolio-grid .ppg-item {
  flex: 0 0 calc(33.333% - 16px);
  overflow: hidden;
  border-radius: 14px;
  position: relative;
}

.prestataire-portfolio-grid .ppg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.prestataire-portfolio-grid .ppg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 106, 0, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prestataire-portfolio-grid .ppg-item:hover img {
  transform: scale(1.04);
  opacity: 0.9;
}

.prestataire-portfolio-grid .ppg-item:hover::after {
  opacity: 1;
}

@media (max-width: 1024px) {
  .prestataire-portfolio-grid .ppg-item {
    flex: 0 0 calc(50% - 16px);
  }
}

@media (max-width: 600px) {
  .prestataire-portfolio-grid .ppg-item {
    flex: 0 0 100%;
  }
}

/* ============================================================
   0. BASE GLOBALE
============================================================ */

/* ===== Fond global (toutes les pages) ===== */
body {
  
  margin: 0;
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, #2a1206 0%, transparent 55%),
    radial-gradient(circle at 80% 100%, #150806 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, #060304 0%, #000000 70%);
  background-color: #050203;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f5f5f5;
  overflow-x: hidden; /* pour éviter un scroll horizontal éventuel */
}

/* Home : juste pour être sûr qu'on n’empêche pas le scroll */
body.home {
  position: relative;
}

/* Canvas du réseau animé (injecté par JS) */
#neural-bg {
  position: fixed;
  inset: 0;
  z-index: -2;          /* derrière le voile + le contenu */
  pointer-events: none; /* clics OK */
}

/* ===== Voile plus sombre + animation plus discrète sur toutes les pages sauf home ===== */
body:not(.home)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;          /* au-dessus du canvas, en-dessous du contenu */
  pointer-events: none;

   background: rgba(0, 0, 0, 0.55);
  /* background:
    radial-gradient(circle at 20% 0%, rgba(0, 0, 0, 0.8) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(0, 0, 0, 0.85) 0, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(0, 0, 0, 0.75) 0, rgba(0, 0, 0, 0.95) 70%);
  mix-blend-mode: normal; */
}

/********************************************
 * FILTRES ARCHIVE PRESTATAIRES - PREMIUM DARK
 ********************************************/

/* Conteneur global du formulaire */
.presta-filters {
  display: flex;
  justify-content: center;      /* centrer horizontalement */
  align-items: center;           /* centrer verticalement */
  flex-wrap: wrap;
  gap: 22px;
  text-align: center;
  margin: 0 auto 40px auto;      /* espace avec la grille */
  width: 100%;
  padding: 10px 0;
}

/* Groupes (label + select) */
.presta-filters__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;           /* centrer ensemble */
}

/* Label */
.presta-filters__group label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 500;
  display: none;
}

/* Selects premium */
.presta-filters select {
  min-width: 220px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(15, 20, 28, 0.92);
  color: #e5e7eb;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  appearance: none;
  cursor: pointer;
}

.presta-filters select:hover {
  border-color: rgba(219, 203, 179, 0.5);
}

/********************************************
 * Actions (Bouton Filtrer + Reset)
 ********************************************/
.presta-filters__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* Bouton filtrer - cuivre premium */
.presta-filters__actions button {
  padding: 10px 26px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;

  background: radial-gradient(180deg, #1d1c1c 0%, #0D0D0D 100%);
  color: #ffffff;

  box-shadow:
    0 6px 16px rgba(0,0,0,0.6),
    inset 0 2px 3px rgba(255,255,255,0.25);

  transition: all 0.2s ease;
}

.presta-filters__actions button:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.75),
    inset 0 2px 3px rgba(255,255,255,0.25);
  background: radial-gradient( #e1c8a7 0%, #0D0D0D 100%) !important;
}
.presta-filters__actions button:active,
.presta-filters__actions button:focus,
.presta-filters__actions button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  background: radial-gradient(#e1c8a7 0%, #0D0D0D 100%) !important;
  color: #fff !important;
}


/* Lien reset */
.presta-filters__reset {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.presta-filters__reset:hover {
  color: #cbd5e1;
}

/********************************************
 * Responsive
 ********************************************/
@media (max-width: 767px) {
  .presta-filters {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
  }

  .presta-filters__group select {
    min-width: 200px;
  }
}

/* ===========================
   FIX ÉVÉNEMENTS
   =========================== */

/* 3 colonnes, centrées */
.newsletter-events.elementor-widget-acf-repeater > .elementor-widget-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-items: center;
}

/* Carte event */
.newsletter-events.elementor-widget-acf-repeater > .elementor-widget-container > * {
  width: 100%;
  max-width: 260px;
  background: #fff7ee;
  border-radius: 18px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 6px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
}

/* Image event */
.newsletter-events.elementor-widget-acf-repeater
  > .elementor-widget-container
  > *
  .elementor-widget-image img {
  width: 140px;
  height: auto;
  max-height: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 10px;
}

/* Titre + textes avec couleur forcée (fond noir) */
.newsletter-events.elementor-widget-acf-repeater
  > .elementor-widget-container
  > *
  .elementor-widget-heading .elementor-heading-title {
  font-size: 15px;
  font-weight: 700;
  color: #111111 !important;
}

.newsletter-events.elementor-widget-acf-repeater
  > .elementor-widget-container
  > *
  .elementor-widget-text-editor p {
  font-size: 13px;
  line-height: 1.5;
  color: #222222 !important;
}

/* Bouton en bas */
.newsletter-events.elementor-widget-acf-repeater
  > .elementor-widget-container
  > *
  .elementor-widget-button {
  margin-top: auto;
  padding-top: 12px;
}

/* Bouton beige type newsletter */
.newsletter-events.elementor-widget-acf-repeater .elementor-button {
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #e6c298;
  color: #ffffff !important;
  border: none;
}

/* Responsive */
@media (max-width: 991px) {
  .newsletter-events.elementor-widget-acf-repeater > .elementor-widget-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .newsletter-events.elementor-widget-acf-repeater > .elementor-widget-container {
    grid-template-columns: 1fr;
  }
}


/* =========================
   BASE GÉNÉRALE PAGE NEWSLETTER
========================= */

body.page-template-newsletter {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;  /* ton fond sombre avec motif */
  color: #f9fafb;
}

/* Lien par défaut sur fond noir */
body.page-template-newsletter a {
  color: #f472b6;
}

/* =========================
   HERO (titre principal + intro)
========================= */

.newsletter-hero {
  max-width: 900px;
  margin: 60px auto 40px;
  text-align: center;
}

.newsletter-hero .elementor-heading-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #5fd3ff; /* bleu de ton titre */
  margin-bottom: 8px;
}

.newsletter-hero .elementor-widget-text-editor p {
  font-size: 15px;
  line-height: 1.6;
  color: #d1d5db;
  margin: 0;
}

/* =========================
   TITRES DE SECTION
========================= */

.newsletter-section-title {
  max-width: 900px;
  margin: 40px auto 24px;
  text-align: center;
}

.newsletter-section-title .elementor-heading-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: #5fd3ff;
  margin-bottom: 6px;
}

.newsletter-section-title .elementor-widget-text-editor p {
  font-size: 14px;
  color: #e5e7eb;
  margin: 0;
}

.newsletter-section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, #5fd3ff, #f472b6);
  border-radius: 999px;
}

/* =========================
   ÉVÉNEMENTS (newsletter-events + style "events")
========================= */

.newsletter-events .arce-repeater-grid.arce-style-events {
  max-width: 1050px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Carte event */
.newsletter-events .arce-style-events .arce-card {
  background: #0b0b0b;
  border-radius: 18px;
  padding: 18px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

/* Affiche */
.newsletter-events .arce-style-events .arce-card-img img.arce-card-img-el {
  width: 150px;
  height: auto;
  max-height: 210px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Titre + dates + texte */
.newsletter-events .arce-style-events .arce-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.newsletter-events .arce-style-events .arce-card-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  
}

.newsletter-events .arce-style-events .arce-card-text,
.newsletter-events .arce-style-events .arce-card-intro {
  font-size: 13px;
  line-height: 1.6;
  color: #e5e7eb;
}

/* Bouton en bas de la carte */
.newsletter-events .arce-style-events .arce-card-btn {
  margin-top: 12px;
}

.newsletter-events .arce-style-events .arce-card-btn a {
    border-radius: 10px;
    padding: 7px 20px;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: #f4e9db00;
    color: #fff;
    text-decoration: none;
    border-style: solid;
    border-color: #f4e9db;
    border-width: 1px;

}

.newsletter-events .arce-style-events .arce-card-btn a:hover {
  background: #d6ad7a58;

}

/* Responsive events */
@media (max-width: 991px) {
  .newsletter-events .arce-repeater-grid.arce-style-events {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .newsletter-events .arce-repeater-grid.arce-style-events {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PARTENAIRES (newsletter-partners + style "partners")
========================= */

.newsletter-partners .arce-repeater-grid.arce-style-partners {
  max-width: 900px;
  margin: 20px auto 40px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* Bloc partenaire */
.newsletter-partners .arce-style-partners .arce-card {
  padding: 20px 0 10px;
  border-bottom: 1px solid rgba(148,163,184,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo taille logo */
.newsletter-partners .arce-style-partners .arce-card-img img.arce-card-img-el {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
}


/* Textes partenaire */
.newsletter-partners .arce-style-partners .arce-card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.newsletter-partners .arce-style-partners .arce-card-subtitle,
.newsletter-partners .arce-style-partners .arce-card-city {
  font-size: 13px;
  line-height: 1.4;
  
}

.newsletter-partners .arce-style-partners .arce-card-intro,
.newsletter-partners .arce-style-partners .arce-card-text,
.newsletter-partners .arce-style-partners .arce-card-extra {
  font-size: 14px;
  line-height: 1.7;
  color: #f9fafb;
}

/* Galerie partenaire (images plus grandes) */
.newsletter-partners .arce-style-partners .arce-card-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}

.newsletter-partners .arce-style-partners .arce-card-gallery-img {
  width: 190px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

/* Liens site / RS */
.newsletter-partners .arce-style-partners .arce-card-social {
  margin-top: 12px;
}

.newsletter-partners .arce-style-partners .arce-card-social a {
  margin: 0 6px;
  font-size: 13px;
}

/* =========================
   BOUGIE DU MOIS
========================= */

.newsletter-candle {
  max-width: 1000px;
  margin: 60px auto 40px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

/* Si tu as mis plusieurs colonnes avec la même image,
   on ne garde que la première */
.newsletter-candle .elementor-container > .elementor-column:not(:first-child) {
  display: none;
}

/* On suppose que la section a l image ACF en background */
.newsletter-candle {
  background-size: cover;
  background-position: center;
}

/* Overlay sombre pour le texte */
.newsletter-candle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
}

/* Contenu interne */
.newsletter-candle > .elementor-container {
  position: relative;
  z-index: 1;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.newsletter-candle .elementor-heading-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #f9fafb;
}

.newsletter-candle .elementor-widget-text-editor p {
  font-size: 15px;
  line-height: 1.7;
  color: #e5e7eb;
}

/* Bouton bougie */
.newsletter-candle .elementor-widget-button .elementor-button {
  margin-top: 16px;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #22c55e;
  color: #051014;
  border: none;
}

.newsletter-candle .elementor-widget-button .elementor-button:hover {
  background: #16a34a;
}

/* Texte de description en dessous (autre section) */
.newsletter-candle + .elementor-section .elementor-widget-text-editor p {
  max-width: 900px;
  margin: 24px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: #e5e7eb;
}

/* =========================
   RESPONSIVE GLOBAL
========================= */

@media (max-width: 767px) {
  .newsletter-hero {
    margin-top: 40px;
  }

  .newsletter-hero .elementor-heading-title {
    font-size: 24px;
  }

  .newsletter-candle > .elementor-container {
    padding: 28px 18px;
  }

  .newsletter-candle .elementor-heading-title {
    font-size: 20px;
  }
}
/* === PARTENAIRES : ajuster titre et sous-titre === */

.newsletter-partners .arce-style-partners .arce-card-title {
    font-size: 22px;         /* plus grand */
    font-weight: 700;        /* bien visible */
    margin-bottom: 4px;
    color: #ffffff;          /* lisible sur fond sombre */
}

.newsletter-partners .arce-style-partners .arce-card-subtitle {
    font-size: 14px;         /* plus petit */
    font-weight: 400;        /* plus léger */
    opacity: 0.85;           /* moins dominant */
    margin-bottom: 26px;
    color: #e5e7eb;
}
/* Liens partenaires en beige */
.newsletter-partners .arce-style-partners .arce-card-social a {
    color: #e6c298 !important;   /* ton beige */
}

/* Au survol : beige un peu plus clair */
.newsletter-partners .arce-style-partners .arce-card-social a:hover {
    color: #f4d9b8 !important;
}
