.elementor-498 .elementor-element.elementor-element-95e2a74{--display:flex;}/* Start custom CSS for html, class: .elementor-element-d5513df *//* Import Google Fonts : Playfair Display &amp; Outfit (identique au reste du site) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&amp;family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&amp;display=swap');

/* ============================================================
   CAMPUS FRANCE - ALIANZA FRANCESA DE TORREÓN
   Palette : #da002e (rouge AF), #1a171b (encre), #f8f9fa (fond alt)
   Typographie : Playfair Display (titres) + Outfit (texte)
   Motif directeur : trajectoire pointillée = mobilité
   ============================================================ */

.af-cf-wrapper {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a171b;
  line-height: 1.65;
  background-color: #ffffff;
  overflow-x: hidden;
}

.af-cf-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.af-cf-title,
.af-cf-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.3px;
  color: #1a171b;
  font-weight: 700;
}

.af-cf-eyebrow {
  display: inline-block;
  color: #da002e;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}

.af-cf-tag {
  display: inline-block;
  background: rgba(218, 0, 46, 0.08);
  color: #da002e;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.af-cf-highlight {
  position: relative;
  white-space: nowrap;
}
.af-cf-highlight::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 0.32em;
  background: rgba(218, 0, 46, 0.16);
  z-index: -1;
}

.af-cf-header { max-width: 680px; margin: 0 0 46px; }
.af-cf-lead { font-size: 1.12rem; color: #57585a; max-width: 540px; }

/* ---------- SECTIONS ---------- */
.af-cf-section { padding: 84px 0; position: relative; }
.af-cf-bg-alt { background-color: #f8f9fa; }
.af-cf-bg-dark { background-color: #1a171b; color: #ffffff; }
.af-cf-bg-dark .af-cf-stat-label { color: #b9babc; }

/* ---------- HERO ---------- */
.af-cf-hero {
  position: relative;
  padding: 96px 0 84px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
}

/* trajectoire pointillée animée en fond : seul geste graphique du hero */
@keyframes af-cf-drift { to { background-position: 260px 0, 0 0, 0 0; } }

.af-cf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 24%, rgba(218,0,46,0.55) 0 4px, transparent 4px),
    radial-gradient(circle at 92% 70%, rgba(218,0,46,0.55) 0 4px, transparent 4px),
    linear-gradient(100deg, transparent 49.4%, rgba(218,0,46,0.28) 49.4% 49.9%, transparent 49.9%);
  background-size: 100% 100%, 100% 100%, 26px 26px;
  background-repeat: no-repeat, no-repeat, repeat;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000 0%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 60% at 30% 45%, #000 0%, transparent 72%);
  animation: af-cf-drift 18s linear infinite;
  pointer-events: none;
}

.af-cf-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.af-cf-hero h1 { font-size: 2.7rem; font-weight: 800; line-height: 1.16; margin: 6px 0 20px; }
.af-cf-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- ESPACE LOGO ---------- */
.af-cf-logo-slot {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 28px rgba(26, 23, 27, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.af-cf-logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ---------- CARTES DE RÔLES (nous / Campus France) ---------- */
.af-cf-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.af-cf-role-card {
  position: relative;
  border-radius: 18px;
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.af-cf-role-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.af-cf-role-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 18px;
}

/* AJOUT : paragraphe dans les cartes (formulaires, événements) */
.af-cf-role-card p {
  color: #3f4042;
  font-size: 0.96rem;
  margin: 0 0 22px;
}

.af-cf-check-list { list-style: none; margin: 0; padding: 0; }
.af-cf-check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.96rem;
  color: #3f4042;
}
.af-cf-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 5px;
}

/* AJOUT : liens dans les listes */
.af-cf-check-list a {
  color: #da002e;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.af-cf-check-list a:hover { color: #1a171b; }

/* AJOUT : liste sous les cartes (calendrier, réseaux) */
.af-cf-note-list {
  margin-top: 40px;
  max-width: 820px;
}
.af-cf-note-list li::before { background: #da002e; }

.af-cf-role-us {
  background: #fff5f6;
  border: 1px solid rgba(218, 0, 46, 0.18);
}
.af-cf-role-us .af-cf-role-tag { background: #da002e; color: #ffffff; }
.af-cf-role-us .af-cf-check-list li::before { background: #da002e; }
.af-cf-role-us:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(218,0,46,0.12); }

.af-cf-role-cf {
  background: #f4f6fb;
  border: 1px solid rgba(26, 23, 27, 0.10);
}
.af-cf-role-cf .af-cf-role-tag { background: #1a171b; color: #ffffff; }
.af-cf-role-cf .af-cf-check-list li::before { background: #1a171b; }
.af-cf-role-cf:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(26,23,27,0.10); }

/* ---------- RECORRIDO : étapes (vraie séquence) ---------- */
.af-cf-steps { list-style: none; margin: 0; padding: 0; position: relative; max-width: 760px; }
.af-cf-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #da002e 0 6px, transparent 6px 12px);
}
.af-cf-step { position: relative; display: flex; gap: 24px; padding: 0 0 40px 0; }
.af-cf-step:last-child { padding-bottom: 0; }
.af-cf-step-num {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #da002e;
  color: #da002e;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: background 0.25s ease, color 0.25s ease;
}
.af-cf-step:hover .af-cf-step-num { background: #da002e; color: #ffffff; }
.af-cf-step h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; font-weight: 700; margin: 4px 0 6px; }
.af-cf-step p { color: #57585a; margin: 0; }

/* ---------- GRILLE STATS ---------- */
.af-cf-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.af-cf-stat { text-align: left; }
.af-cf-stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.af-cf-stat-label { font-size: 0.9rem; }

/* ---------- FAQ ACCORDÉON ---------- */
.af-cf-faq-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: start;
}

.af-cf-faq-cat {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #da002e;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1d3da;
}

.af-cf-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.af-cf-faq-item[open] { border-color: #da002e; }

.af-cf-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 40px 15px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  color: #1a171b;
}
.af-cf-faq-item summary::-webkit-details-marker { display: none; }

.af-cf-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #da002e;
  transition: rotate 0.25s ease;
}
.af-cf-faq-item[open] summary::after { rotate: 45deg; }

.af-cf-faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #57585a;
  font-size: 0.92rem;
}

/* ---------- CTA FINAL ---------- */
.af-cf-cta { text-align: center; }
.af-cf-cta .af-cf-lead { max-width: 560px; }

/* ---------- BOUTONS ---------- */
.af-cf-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.af-cf-btn-primary {
  background: #da002e;
  color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(218, 0, 46, 0.22);
}
.af-cf-btn-primary:hover { background: #1a171b; transform: translateY(-2px); }
.af-cf-btn-outline {
  border: 2px solid #1a171b;
  color: #1a171b !important;
  background: transparent;
}
.af-cf-btn-outline:hover { background: #1a171b; color: #ffffff !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .af-cf-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .af-cf-faq-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .af-cf-hero-grid,
  .af-cf-split { grid-template-columns: 1fr; }
  .af-cf-logo-slot { max-width: 220px; margin: 0 auto; }
  .af-cf-hero h1 { font-size: 2.1rem; }
  .af-cf-title { font-size: 1.7rem; }
  .af-cf-faq-columns { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .af-cf-grid-4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .af-cf-hero::before { animation: none; }
}/* End custom CSS */