/* === Témoignages – Alpha Parachutisme (Divi) ===============================
   - Hérite de la typo/couleurs Divi
   - Utilise la couleur d'accent Divi via --ap-brand (injectée en inline style)
   - Styles légers, compatibles modules Divi/Woo
============================================================================= */

/* Sélecteur racine namespacé pour éviter les conflits */
.ap {
  /* fallback si l'inline style n'est pas injecté */
  --ap-brand: #2ea3f2;
  --muted: #64748b;
  --card: #f8fafc;
  --edge: #e2e8f0;
}

/* Laisse Divi gérer la police/tailles globales */
.ap { font-family: inherit; }

/* Breadcrumb */
.ap .ap-bc { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.ap .ap-bc a {
  color: var(--ap-brand);
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}
.ap .ap-bc a:hover { border-bottom-style: solid; }

/* Header */
.ap .ap-h1 { margin: 0 0 6px; font-weight: 700; font-size: clamp(28px, 3.2vw, 36px); }
.ap .ap-sub { color: var(--muted); margin: 0 0 16px; }

/* Grille intro */
.ap .ap-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .ap .ap-grid { grid-template-columns: 1fr .6fr; } }

/* Cartes intro + aside confiance */
.ap .ap-card {
  background: #fff; /* mieux que gris bleuté sur Divi */
  border-radius: 12px;
  padding: 18px;
  border: none;
  box-shadow: 0 10px 20px rgba(0,0,0,.04);
}

/* Rating et étoiles */
.ap .ap-rating { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ap .ap-stars { letter-spacing: 2px; font-size: 20px; line-height: 1; }

/* Chips (filtres) – aspect boutons Divi */
.ap .ap-filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.ap .ap-chip {
  font-weight: 600;
  line-height: 1.2;
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid var(--ap-brand);
  color: var(--ap-brand);
  background: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.ap .ap-chip:hover {
  background: var(--ap-brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.ap .ap-chip[aria-pressed="true"] {
  background: var(--ap-brand);
  color: #fff;
}
.ap .ap-chip:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ap-brand) 25%, transparent);
  outline-offset: 2px;
}

/* Liste d’avis */
.ap .ap-list { margin-top: 28px; display: grid; gap: 14px; }

/* Carte avis */
.ap .ap-r {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  border: none;
  box-shadow: 0 6px 14px rgba(0,0,0,.04);
}
@media (max-width: 480px) {
  .ap .ap-r { grid-template-columns: 48px 1fr; padding: 14px; }
}

/* Avatar + meta */
/* .ap .ap-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--edge);
}
@media (max-width: 480px) { .ap .ap-avatar { width: 48px; height: 48px; } } */

.ap .ap-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ap .ap-name { font-weight: 700; }
.ap .ap-city, .ap .ap-date { color: var(--muted); font-size: 14px; }

/* Badge source */
.ap .ap-badge {
  background: #edf2f7;
  color: #2d3748;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Note sous la carte intro */
.ap .ap-note { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Liste checkmarks */
.ap .ap-checks { padding-left: 18px; margin: 0; }
.ap .ap-checks li { margin: 6px 0; }

/* Rythme vertical global dans la section */
.ap { padding-top: 40px; padding-bottom: 40px; }

/* Accessibilité : réduire mouvements si demandé */
@media (prefers-reduced-motion: reduce) {
  .ap .ap-chip { transition: none; }
}

/* Supprimer les lignes verticales de séparation dans Divi */
/* Nettoyage des séparateurs/“dividers” de certaines rows Divi dans ce template */
#main-content .container .et_pb_row::before,
#main-content .container .et_pb_row::after {
  background: none !important;
  box-shadow: none !important;
  content: none !important;
}
#content-area .et_pb_row {
  border: none !important;
}
/* fallback ultra-ciblé pour notre page */
.page-template-page-temoignages-divi #content-area { background-image: none !important; }



/* Optionnel : si tu préfères des VRAIS boutons Divi
   ajoute la classe .et_pb_button aux chips dans le template
   et active le bloc suivant :

.ap .et_pb_button.ap-chip {
  border: 2px solid var(--ap-brand);
  background: #fff;
  color: var(--ap-brand);
}
.ap .et_pb_button.ap-chip:hover,
.ap .et_pb_button.ap-chip[aria-pressed="true"] {
  background: var(--ap-brand);
  color: #fff;
}
*/


/* ====== HERO bandeau ====== */
/* Hero pleine largeur + hauteur augmentée */
/* ==============================
   HERO AVEC SÉPARATEUR VAGUE + FONDU
   ============================== */

/* Container du hero */
.ap-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: clamp(400px, 50vw, 600px);
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 12px;
}

.ap-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) 20px;
  text-align: center;
}

.ap-hero__title {
  color: #fff;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px;
  text-shadow: 0 3px 16px rgba(0,0,0,.35);
}

.ap-hero__subtitle {
  color: #fff;
  font-size: clamp(16px, 2vw, 22px);
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .95;
  margin: 0;
}

/* Overlay du hero */
.ap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15) 40%, transparent 70%);
}

/* Vague de séparation */
.ap-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.ap-hero__wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ap-hero__wave path {
  fill: #fff; /* couleur de la vague */
}

/* Fondu progressif vers la section blanche */
.ap-hero__wave.separator-wave::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px; /* Ajuste selon la force du fondu */
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

/* Forcer les étoiles jaunes */
.ap .ap-stars {
  color: #fbbf24 !important;
  font-size: 20px;
  letter-spacing: 2px;
  display: inline-block;
}	
.star-full { color: #fbbf24 !important; }  /* jaune */
.star-empty { color: #e5e7eb !important; } /* gris clair */

/* Unifie le style partout (solo + bloc) */
.ap .ap-stars{font-size:20px;letter-spacing:2px;display:inline-block}
.ap .ap-stars .star-full{color:#fbbf24!important}   /* jaune */
.ap .ap-stars .star-empty{color:#e5e7eb!important}  /* gris clair */

/* Si nécessaire dans la colonne résumé Woo */
.summary .ap-stars .star-full{color:#fbbf24!important}
.summary .ap-stars .star-empty{color:#e5e7eb!important}

/* Avis sans avatar : utiliser une seule colonne */
.ap .ap-r {
  grid-template-columns: 1fr !important;
}

/* Au cas où un avatar trainerait via cache -> on le masque */
.ap .ap-r img.ap-avatar { display: none !important; }

/* Petits réglages d'espacement */
.ap .ap-r .ap-meta,
.ap .ap-r .ap-stars,
.ap .ap-r p { margin-left: 0; }

.ap-title-avis {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 15px;
  color: #222;
}

/* Responsive */
@media (max-width:980px) {
  .ap-hero__wave { height: 90px; }
}
@media (max-width:480px) {
  .ap-hero__wave { height: 70px; }
}
