/* ============================================================
   FICHE PRESTATION : design partage entre les 12 fiches
   Depend de aqua-theme.css
   ============================================================ */

/* Reset main padding (le page-header gere l'offset du header fixe) */
.fiche-page main { padding-top: 0 !important; }

/* ===== Page-header ===== */
.fiche-page .page-header {
  position: relative;
  width: 100%;
  padding: 130px 6vw 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(56, 189, 248, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(125, 211, 252, 0.32) 0%, transparent 50%),
    linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
}
.fiche-page .page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(14, 165, 233, 0.18) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 90%, transparent 100%);
  pointer-events: none;
  opacity: 0.45;
}
.fiche-page .page-header-inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  z-index: 2;
  text-align: center;
}

.fiche-page .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  color: var(--blue);
  font-size: 12px;
  margin-bottom: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 1px solid rgba(2, 24, 51, 0.08);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}
.fiche-page .badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
  animation: nav-pulse 2.4s ease-in-out infinite;
}

.fiche-page .page-title {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.fiche-page .page-title .accent {
  background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 50%, #7DD3FC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fiche-page .page-subtitle {
  font-size: 15px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 20px;
  color: var(--text-soft);
}
.fiche-page .page-subtitle strong { color: var(--blue); font-weight: 700; }

.fiche-page .page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ===== Sections ===== */
.fiche-page .section-fiche {
  padding: 50px 6vw;
  max-width: 1200px;
  margin: 0 auto;
}
.fiche-page .section-title-block {
  text-align: center;
  margin-bottom: 30px;
}
.fiche-page .section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}
.fiche-page .section-fiche h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.fiche-page .section-intro {
  max-width: 720px;
  margin: 0 auto 26px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
  text-align: center;
}
.fiche-page .section-intro strong { color: var(--blue); font-weight: 700; }

/* ===== Grid 2 colonnes mini-cards ===== */
.fiche-page .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
@media (max-width: 760px) { .fiche-page .grid-2 { grid-template-columns: 1fr; } }

.fiche-page .mini-card {
  padding: 24px 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(2, 24, 51, 0.08);
  box-shadow: 0 12px 28px -10px rgba(2, 24, 51, 0.10);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.fiche-page .mini-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 20px 44px -14px rgba(14, 165, 233, 0.30);
}
.fiche-page .mini-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
  padding-left: 18px;
  position: relative;
  letter-spacing: -0.01em;
}
.fiche-page .mini-card h3::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-aqua);
}
.fiche-page .mini-card ul { list-style: none; padding: 0; margin: 0; }
.fiche-page .mini-card li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-main);
}
.fiche-page .mini-card li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--grad-aqua);
  transform: rotate(45deg);
}
.fiche-page .mini-card a { color: var(--cyan) !important; font-weight: 700; }
.fiche-page .mini-card a:hover { text-decoration: underline; }

/* ===== Chips ===== */
.fiche-page .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  justify-content: center;
}
.fiche-page .chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.10);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ===== Media grid ===== */
.fiche-page .media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
@media (max-width: 880px) { .fiche-page .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .fiche-page .media-grid { grid-template-columns: 1fr; } }
.fiche-page .media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(2, 24, 51, 0.06);
  box-shadow: 0 10px 24px -10px rgba(2, 24, 51, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fiche-page .media:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -14px rgba(14, 165, 233, 0.30); }
.fiche-page .media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.fiche-page .media figcaption {
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.fiche-page .faq-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fiche-page .faq-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(2, 24, 51, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fiche-page .faq-item[open],
.fiche-page .faq-item:hover {
  border-color: var(--cyan);
  box-shadow: 0 12px 28px -12px rgba(14, 165, 233, 0.25);
}
.fiche-page .faq-item summary {
  cursor: pointer;
  padding: 16px 22px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.fiche-page .faq-item summary::-webkit-details-marker { display: none; }
.fiche-page .faq-item summary .chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--grad-aqua);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.fiche-page .faq-item summary .chev svg { width: 14px; height: 14px; }
.fiche-page .faq-item[open] summary .chev { transform: rotate(180deg); }
.fiche-page .faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}
.fiche-page .faq-body strong { color: var(--blue); font-weight: 700; }
.fiche-page .faq-body a { color: var(--cyan) !important; font-weight: 700; }

/* ===== CTA finale ===== */
.fiche-page .cta-final-fiche {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 40px 32px;
  border-radius: 24px;
  background: var(--grad-aqua);
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px -16px rgba(14, 165, 233, 0.45);
  position: relative;
  overflow: hidden;
}
.fiche-page .cta-final-fiche::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.fiche-page .cta-final-fiche h2 {
  color: #fff !important;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.fiche-page .cta-final-fiche p {
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
  max-width: 540px;
  margin: 0 auto 22px;
  position: relative;
  z-index: 1;
}
.fiche-page .cta-final-fiche .btn-primary {
  background: #fff !important;
  color: var(--blue) !important;
  padding: 13px 26px !important;
  font-size: 14px !important;
  position: relative;
  z-index: 1;
}

/* ===== Reveal animation ===== */
.js-anim .fiche-page .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js-anim .fiche-page .reveal.visible { opacity: 1; transform: translateY(0); }
