/* ================================================================
   PACK VISIBILITÉ LOCALE — CSS isolé
   Préfixe BEM : pvl-*
   Variables globales : voir global.css :root
   ─────────────────────────────────────────────────────────────────
   RÉUTILISÉ depuis global.css :
     .eyebrow, .eyebrow--underline, .tag, .tag--dark
     .btn, .btn-primary, .btn-secondary
     .step-num, .icon-box, .checklist, .pricing-badge, .trust-badge
   INCLUS ICI (isolation CSS — chargé de façon conditionnelle) :
     .service-section, .service-section--dark/--light/--white
     .service-section__inner, __header, __title, __intro
     .faq-item (accordéon)
================================================================ */


/* ================================================================
   SECTIONS GÉNÉRIQUES
================================================================ */

.service-section { padding: 80px 0; }

.service-section--dark  { background: var(--couleur-principale); }
.service-section--light { background: var(--couleur-fond); }
.service-section--white { background: var(--couleur-carte); }

.service-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-section__header {
  text-align: center;
  margin-bottom: 52px;
}

.service-section__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: var(--lh-heading);
  margin-bottom: 16px;
}

.service-section__intro {
  font-size: var(--fs-body);
  max-width: 620px;
  margin: 0 auto;
  line-height: var(--lh-body);
}

h2.service-section__title--on-dark   { color: #ffffff !important; }
h2.service-section__title--on-dark span { color: var(--couleur-accentuation) !important; }
p.service-section__intro--on-dark    { color: rgba(255, 255, 255, 0.72) !important; }

h2.service-section__title--on-light  { color: var(--couleur-titre) !important; }
h2.service-section__title--on-light span { color: var(--couleur-accentuation) !important; }
p.service-section__intro--on-light   { color: var(--couleur-texte) !important; }


/* ================================================================
   FAQ — accordéon <details>
================================================================ */

.faq-item {
  background: var(--couleur-carte);
  border: 1px solid var(--couleur-bordure);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--couleur-accentuation);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-item__question {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--couleur-titre);
  user-select: none;
}

summary.faq-item__question span { color: var(--couleur-titre); }
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::marker { display: none; }

.faq-item__icon {
  font-size: var(--fs-h3);
  font-weight: 300;
  color: var(--couleur-accentuation);
  transition: rotate 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] .faq-item__icon { rotate: 45deg; }

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: var(--fs-card);
  color: var(--couleur-texte);
  line-height: var(--lh-body);
  margin: 0 !important;
}


/* ================================================================
   SECTION 1 — HERO
================================================================ */

.pvl-hero {
  padding: 110px 40px 60px;
  background: var(--couleur-principale);
  min-height: 100svh;
  overflow: visible;
  color: var(--couleur-titre-secondaire);
}

.pvl-hero__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

h1.pvl-hero__title {
  font-size: var(--fs-h1);
  font-weight: 800 !important;
  line-height: var(--lh-h1) !important;
  color: var(--couleur-titre-secondaire) !important;
  margin-bottom: 20px !important;
}

h1.pvl-hero__title span {
  color: var(--couleur-accentuation);
}

.pvl-hero__intro {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--lh-body);
  margin-bottom: 28px;
}

.pvl-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pvl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pvl-hero__visual {
  position: relative;
  width: 100%;
  max-width: 750px;
}


/* ── Animations ── */

@keyframes pvlMockIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pvlSlideLeft {
  from { opacity: 0; transform: translateX(-60px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pvlSlideRight {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes pvlSlideUp {
  from { opacity: 0; transform: translateY(60px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pvlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}


/* ── Mockup navigateur (principal, pleine largeur) ── */

.pvl-mock {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
  font-family: 'Arial', 'Helvetica', sans-serif;
  opacity: 0;
  animation: pvlMockIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}

.pvl-mock__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f3f4;
  padding: 10px 14px;
  border-bottom: 1px solid #e8eaed;
}

.pvl-mock__dot {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
}
.pvl-mock__dot--r { background: #ff5f57; }
.pvl-mock__dot--y { background: #febc2e; }
.pvl-mock__dot--g { background: #28c840; }

.pvl-mock__url {
  flex: 1;
  margin-left: 14px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  color: #5f6368;
  border: 1px solid #e8eaed;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pvl-mock__lock { font-size: 9px; }

.pvl-mock__viewport {
  background: #f8f9fa;
  font-size: 10px;
  line-height: 1.3;
}

.pvl-mock__header {
  background: #ffffff;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e8eaed;
}

.pvl-mock__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1a3a5f;
  font-size: 15px;
  flex-shrink: 0;
}

.pvl-mock__logo-icon { font-size: 14px; }

.pvl-mock__nav {
  display: flex;
  gap: 12px;
  flex: 1;
  font-size: 13px;
  color: #5f6368;
  font-weight: 500;
}

.pvl-mock__site-cta {
  background: #ea4335;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.pvl-mock__hero-zone {
  background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
  color: #ffffff;
  padding: 18px 16px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pvl-mock__tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--couleur-accentuation);
  text-transform: uppercase;
}

.pvl-mock__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 6px 0 8px;
}

.pvl-mock__title strong {
  color: var(--couleur-accentuation);
}

.pvl-mock__text {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  margin-bottom: 10px;
}

.pvl-mock__cta-row {
  display: flex;
  gap: 8px;
}

.pvl-mock__btn {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

.pvl-mock__btn--primary {
  background: var(--couleur-accentuation);
  border-color: var(--couleur-accentuation);
}

.pvl-mock__hero-image {
  position: relative;
}

.pvl-mock__hero-placeholder {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.pvl-mock__hero-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pvl-mock__services {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
}

.pvl-mock__service {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: #1A2E4A;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px 6px;
}

.pvl-mock__service-ico {
  font-size: 16px;
  margin-bottom: 4px;
}

.pvl-mock__service-name {
  font-size: 10px;
}


/* ── Cartes flottantes ── */

.pvl-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 14px 16px;
  border-radius: 14px;
  opacity: 0;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(0, 0, 0, 0.10);
  z-index: 5;
  font-family: 'Arial', 'Helvetica', sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.pvl-float__icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pvl-float__icon--gmb  { background: #e8f0fe; }
.pvl-float__icon--post  { background: var(--couleur-accentuation); }
.pvl-float__icon--secure { background: #1A2E4A; }

.pvl-float__body { flex: 1; min-width: 0; }

.pvl-float__title {
  font-size: 13px;
  font-weight: 700;
  color: #202124;
  line-height: 1.2;
}

.pvl-float__stars {
  font-size: 12px;
  color: #f9ab00;
  margin-top: 2px;
}

.pvl-float__stars span {
  color: #5f6368;
  font-weight: 600;
}

.pvl-float__meta {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
}

.pvl-float__status {
  font-size: 11px;
  color: #5f6368;
  margin-top: 3px;
}

.pvl-float__open {
  color: #0d9e5f;
  font-weight: 600;
}

.pvl-float__sub {
  font-size: 11px;
  color: #5f6368;
  margin-top: 2px;
}

.pvl-float__check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--couleur-accentuation);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pvl-float__pulse {
  position: absolute;
  top: 14px; left: 14px;
  width: 12px; height: 12px;
}

.pvl-float__pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #10b981;
  animation: pvlPulse 2s ease-out infinite;
}

@keyframes pvlPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0;   }
}


/* ── Positionnement des flottants (chevauchement du mockup) ── */

.pvl-float--gmb {
  right: -30px;
  bottom: 12%;
  animation: pvlSlideRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

.pvl-float--post {
  right: -20px;
  top: 8%;
  animation: pvlSlideRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.6s forwards;
}

.pvl-float--secure {
  left: -40px;
  bottom: 15%;
  animation: pvlSlideLeft 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 2.4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .pvl-mock,
  .pvl-float {
    animation: none !important;
    opacity: 1;
  }
}


/* ================================================================
   SECTION 2 — PROBLÈME (5 cartes)
================================================================ */

.pvl-probleme__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.pvl-probleme__grid > [data-aos] { display: flex; }

.pvl-probleme__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--couleur-carte);
  border: 1px solid var(--couleur-bordure);
  border-radius: 14px;
  transition: translate 0.25s ease-out, box-shadow 0.25s ease-out;
}

.pvl-probleme__card:hover {
  translate: var(--hover-lift);
  box-shadow: var(--hover-shadow-a);
}

.pvl-probleme__icon {
  font-size: 2rem;
  line-height: 1;
}

.pvl-probleme__text {
  font-size: var(--fs-card);
  font-weight: 600;
  color: var(--couleur-titre);
  line-height: var(--lh-other);
  margin: 0 !important;
}


/* ================================================================
   SECTION 3 — SOLUTION (3 cartes)
================================================================ */

.pvl-solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pvl-solution__grid > [data-aos] { display: flex; }

.pvl-solution__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 36px 28px;
  background: var(--couleur-fond);
  border: 1px solid var(--couleur-bordure);
  border-radius: 18px;
  transition: translate 0.28s ease-out, box-shadow 0.28s ease;
}

.pvl-solution__card:hover {
  translate: var(--hover-lift);
  box-shadow: var(--hover-shadow-a);
}

h3.pvl-solution__title {
  color: var(--couleur-titre);
  margin: 0 !important;
}

.pvl-solution__text {
  font-size: var(--fs-card);
  color: var(--couleur-texte);
  line-height: var(--lh-body);
  margin: 0 !important;
}


/* ================================================================
   SECTION 4 — CE QUI EST INCLUS (cartes détaillées)
================================================================ */

.pvl-inclus__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pvl-inclus__cards > [data-aos] { display: flex; }

.pvl-inclus__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--couleur-carte);
  border: 1px solid var(--couleur-bordure);
  border-radius: 16px;
  transition: translate 0.28s ease-out, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pvl-inclus__card:hover {
  translate: var(--hover-lift);
  box-shadow: var(--hover-shadow-a);
  border-color: var(--couleur-accentuation);
}

.pvl-inclus__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(26, 171, 119, 0.1);
  color: var(--couleur-accentuation);
  margin-bottom: 20px;
}

h3.pvl-inclus__card-title {
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--couleur-titre) !important;
  margin: 0 0 12px !important;
}

.pvl-inclus__card-text {
  font-size: var(--fs-card);
  color: var(--couleur-texte);
  line-height: var(--lh-body);
  margin: 0 0 20px !important;
}

.pvl-inclus__card-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--couleur-bordure);
  padding-top: 16px;
}

.pvl-inclus__card-list li {
  font-size: var(--fs-small);
  color: var(--couleur-titre);
  font-weight: 500;
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.pvl-inclus__card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--couleur-accentuation);
  font-weight: 700;
}


/* ================================================================
   SECTION 5 — PROCESSUS (4 étapes)
================================================================ */

.pvl-process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.pvl-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

h3.pvl-process__title {
  color: var(--couleur-titre-secondaire) !important;
  margin: 0 !important;
}

.pvl-process__text {
  font-size: var(--fs-card);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-body);
  margin: 0 !important;
}


/* ================================================================
   SECTION 6 — TARIF (carte pricing)
================================================================ */

.pvl-pricing {
  display: flex;
  justify-content: center;
}

.pvl-pricing__card {
  position: relative;
  max-width: 550px;
  width: 100%;
  background: var(--couleur-carte);
  border: 2px solid var(--couleur-accentuation);
  border-radius: 24px;
  padding: 48px 40px 40px;
  text-align: center;
  box-shadow:
    0 20px 60px rgba(26, 171, 119, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.08);
}

.pvl-pricing__price {
  font-family: 'orbitron', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--couleur-accentuation);
  line-height: 1;
  margin-bottom: 12px;
}

.pvl-pricing__price small {
  font-size: 0.35em;
  font-weight: 600;
  opacity: 0.7;
}

.pvl-pricing__phrase {
  font-size: var(--fs-body);
  color: var(--couleur-texte);
  margin-bottom: 28px !important;
  font-style: italic;
}

.pvl-pricing__card .checklist {
  text-align: left;
  margin-bottom: 32px;
}

.pvl-pricing__cta {
  width: 100%;
}


/* ================================================================
   SECTION 7 — FAQ
================================================================ */

.pvl-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ================================================================
   SECTION 9 — CTA FINAL
================================================================ */

.pvl-cta-final {
  padding: 80px 40px;
  background: var(--couleur-principale);
  text-align: center;
}

.pvl-cta-final__inner {
  max-width: 700px;
  margin: 0 auto;
}

h2.pvl-cta-final__title {
  color: var(--couleur-titre-secondaire) !important;
  margin-bottom: 16px !important;
}

h2.pvl-cta-final__title span {
  color: var(--couleur-accentuation);
}

.pvl-cta-final__text {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px !important;
}


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

@media (max-width: 1150px) {
  .pvl-hero { padding: 60px 30px 30px; min-height: auto; }
}


@media (max-width: 1150px) {
  .pvl-hero__inner { grid-template-columns: 1fr; gap: 40px; justify-items: center; }
}

@media (max-width: 991px) {
  .pvl-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .pvl-hero__visual { max-width: 90vw; margin: 0 auto; }

  .pvl-float { transform: scale(0.9); }
  .pvl-float--post { right: -15px; }
  .pvl-float--gmb { right: -10px; }
  .pvl-float--secure { left: -20px; }

  .pvl-probleme__grid { grid-template-columns: repeat(3, 1fr); }
  .pvl-solution__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pvl-inclus__cards { grid-template-columns: repeat(2, 1fr); }
  .pvl-process__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 767px) {
  .pvl-hero { padding: 80px 16px 24px; }
  .pvl-hero__ctas { flex-direction: column; }
  .pvl-hero__ctas .btn { width: 100%; }

  .pvl-mock__logo { font-size: 12px; }
  .pvl-mock__nav { font-size: 10px; gap: 8px; }
  .pvl-mock__site-cta { font-size: 8px; padding: 4px 8px; }
  .pvl-mock__title { font-size: 15px; }
  .pvl-mock__header { padding: 8px 10px; gap: 8px; }

  .pvl-float { padding: 10px 12px; gap: 10px; }
  .pvl-float__icon { width: 36px; height: 36px; }
  .pvl-float__title { font-size: 12px; }
  .pvl-float__stars, .pvl-float__meta, .pvl-float__status, .pvl-float__sub { font-size: 10px; }
  .pvl-float--post { right: -10px; top: 5%; }
  .pvl-float--gmb { right: -5px; bottom: 15%; }
  .pvl-float--secure { left: -10px; top: 15%; }

  .service-section { padding: 60px 0; }
  .service-section__inner { padding: 0 16px; }

  .pvl-probleme__grid { grid-template-columns: repeat(2, 1fr); }
  .pvl-inclus__cards { grid-template-columns: 1fr; }
  .pvl-process__grid { grid-template-columns: 1fr; }

  .pvl-pricing__card { padding: 40px 24px 32px; }

  .pvl-cta-final { padding: 60px 16px; }
}

@media (max-width: 480px) {
  .pvl-probleme__grid { grid-template-columns: 1fr; }
  .pvl-float--post, .pvl-float--secure { display: none; }
}
