/**
 * Landings partagées (.pfcustom-landing) — home, agency, portfolios, etc.
 * Typographie : main.css (variables portfolio via root.css).
 * Chargé par public/pages/home.php lorsque css_main_custom ≠ 0.
 */
@import url("patterns.css");
@import url("cosmos.css");

.pfcustom-landing {
  overflow-x: clip;
}

.pfcustom-landing .text-align-center {
  text-align: center;
}

.pfcustom-landing .pfcustom-section {
  position: relative;
  background: transparent;
  overflow: hidden;
}

/* Équipe cast : styles unifiés dans studio.css (home + contact) */

.pfcustom-landing .pfcustom-features {
  background: transparent;
}

/* --- Hero --- */
.pfcustom-landing .pfcustom-hero {
  position: relative;
  min-height: var(--pfcustom-hero-min-height);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--pfcustom-text);
}

.pfcustom-landing .pfcustom-hero--primary {
  padding-bottom: var(--pfcustom-space-hero-padding-bottom);
}

.pfcustom-landing .pfcustom-hero h1 {
  margin: 0 0 0.75rem;
}

.pfcustom-landing .pfcustom-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: var(--pfcustom-z-hero-bg);
}

.pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__overlay,
.pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__overlay--center {
  background: transparent;
}

.pfcustom-landing .pfcustom-hero--cosmos {
  justify-content: center;
  align-items: center;
  background: #000;
}

/* Header flottant : le hero démarre au sommet du viewport (pas d'espace réservé) */
#portfolio_page.portfolio-font:has(#header.pfcustom-header) main.pfcustom-landing > .pfcustom-hero--cosmos:first-child {
  margin-top: 0;
}

.pfcustom-landing .pfcustom-hero--cosmos.pfcustom-hero--primary {
  padding-bottom: 0;
}

.pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding-top: 0 !important;
  padding-bottom: 3.5rem !important;
  text-align: center;
}

#portfolio_page.portfolio-font:has(#header.pfcustom-header) .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__content {
  padding-top: calc(var(--pfcustom-header-overlap-offset) + var(--pfcustom-hero-content-gap)) !important;
}

body.portfolio-editor #webpage-simulation #portfolio_page.portfolio-font:has(#header.pfcustom-header) .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__content {
  padding-top: calc(var(--pfcustom-header-overlap-offset) + var(--pfcustom-hero-content-gap)) !important;
}

.pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__text {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pfcustom-landing .pfcustom-hero--cosmos h1,
.pfcustom-landing .pfcustom-hero--cosmos h2,
.pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Hero /home : diaporama 5 visuels en fondu */
.pfcustom-landing .pfcustom-hero__slides {
  position: absolute;
  inset: 0;
  z-index: var(--pfcustom-z-hero-bg);
  overflow: hidden;
}

.pfcustom-landing .pfcustom-hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  pointer-events: none;
}

.pfcustom-landing .pfcustom-hero__slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pfcustom-landing .pfcustom-hero__slide {
    transition: none;
  }

  .pfcustom-landing .pfcustom-hero__slide:not(.is-active) {
    opacity: 0;
  }

  .pfcustom-landing .pfcustom-hero__slide.is-active {
    opacity: 1;
  }
}

.pfcustom-landing .pfcustom-hero__bg--blur {
  filter: blur(var(--pfcustom-blur-hero-bg));
  transform: scale(var(--pfcustom-scale-hero-bg));
}

.pfcustom-landing .pfcustom-showcase .pfcustom-hero__bg {
  object-position: center top;
}

.pfcustom-landing .pfcustom-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: var(--pfcustom-z-hero-overlay);
  background: linear-gradient(
    var(--pfcustom-hero-overlay-angle),
    var(--pfcustom-hero-overlay-1) 0%,
    var(--pfcustom-hero-overlay-2) 45%,
    var(--pfcustom-hero-overlay-3) 100%
  );
}

.pfcustom-landing .pfcustom-hero__overlay--center {
  background: linear-gradient(
    var(--pfcustom-hero-overlay-angle),
    var(--pfcustom-hero-overlay-center-1) 0%,
    var(--pfcustom-hero-overlay-center-2) 50%,
    var(--pfcustom-hero-overlay-center-3) 100%
  );
}

.pfcustom-landing .pfcustom-hero__content {
  position: relative;
  z-index: var(--pfcustom-z-hero-content);
}

/* Header flottant au-dessus du hero : fond plein écran, texte repoussé sous la barre */
#portfolio_page.portfolio-font:has(#header.pfcustom-header)
  .pfcustom-landing .pfcustom-hero--primary:not(.pfcustom-hero--secondary)
  .pfcustom-hero__content {
  padding-top: calc(var(--pfcustom-header-overlap-offset) + var(--pfcustom-hero-content-gap));
}

body.portfolio-editor #webpage-simulation #portfolio_page.portfolio-font:has(#header.pfcustom-header)
  .pfcustom-landing .pfcustom-hero--primary:not(.pfcustom-hero--secondary)
  .pfcustom-hero__content {
  padding-top: calc(var(--pfcustom-header-overlap-offset) + var(--pfcustom-hero-content-gap)) !important;
}

@media screen and (max-width: 1100px) {
  #portfolio_page.portfolio-font:has(#header.pfcustom-header)
    .pfcustom-landing .pfcustom-hero--primary:not(.pfcustom-hero--secondary)
    .pfcustom-hero__content,
  body.portfolio-editor #webpage-simulation #portfolio_page.portfolio-font:has(#header.pfcustom-header)
    .pfcustom-landing .pfcustom-hero--primary:not(.pfcustom-hero--secondary)
    .pfcustom-hero__content {
    padding-top: calc(var(--pfcustom-header-overlap-offset) + var(--pfcustom-hero-content-gap-mobile)) !important;
  }
}

.pfcustom-landing .pfcustom-hero__content--center {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pfcustom-landing .pfcustom-hero__text {
  max-width: 40rem;
}

.pfcustom-landing .pfcustom-hero--primary .pfcustom-hero__content:not(.pfcustom-hero__content--center) .pfcustom-hero__text {
  margin-right: auto;
}

.pfcustom-landing .pfcustom-hero__content--center .pfcustom-hero__text {
  margin-left: auto;
  margin-right: auto;
}

.pfcustom-landing .pfcustom-hero__content--center .pfcustom-hero__ctas {
  justify-content: center;
}

/* Plus spécifique que #portfolio_page p (structure/main.css → portfolios-theme-bg-contrast),
   sinon le chapô héros reprend la couleur « contenu » et peut disparaître sur le fond photo. */
#portfolio_page .pfcustom-landing .pfcustom-hero__intro {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--pfcustom-mockup-text-subtle);
}

.pfcustom-landing .pfcustom-hero__ctas {
  gap: var(--pfcustom-space-cta-gap);
}

.pfcustom-landing .pfcustom-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--pfcustom-z-scroll-hint);
  width: var(--pfcustom-size-scroll-hint);
  height: var(--pfcustom-size-scroll-hint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pfcustom-mockup-accent);
  text-decoration: none;
  border-radius: var(--pfcustom-radius-scroll-hint);
  border: var(--pfcustom-page-border-width) solid color-mix(in srgb, var(--pfcustom-mockup-accent-blend) 42%, transparent);
  background: color-mix(in srgb, var(--pfcustom-mockup-navy) 78%, transparent);
}

.pfcustom-landing .pfcustom-scroll-hint__chev {
  width: var(--pfcustom-size-chev);
  height: var(--pfcustom-size-chev);
  border-right: var(--pfcustom-size-chev-border) solid currentColor;
  border-bottom: var(--pfcustom-size-chev-border) solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  animation: pfcustom-chev var(--pfcustom-motion-chev-duration) ease-in-out infinite;
}

@keyframes pfcustom-chev {
  0%,
  100% {
    transform: rotate(45deg) translateY(-3px);
    opacity: 0.6;
  }
  50% {
    transform: rotate(45deg) translateY(2px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfcustom-landing .pfcustom-scroll-hint__chev {
    animation: none;
  }
}

/* Features — séparation entre sections : main.css (#portfolio_page… .pfcustom-landing > section:not(.pfcustom-hero)) */
.pfcustom-landing .pfcustom-features {
  padding-bottom: 4rem;
}

#portfolio_page .pfcustom-landing .pfcustom-features__title {
  margin: 0 0 0.35rem;
  font-weight: var(--pfcustom-type-h1-weight);
  color: var(--pfcustom-type-h1-color);
}

#portfolio_page .pfcustom-landing .pfcustom-features__subtitle {
  margin: 0 0 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--pfcustom-type-h3-weight);
  color: var(--pfcustom-accent-title);
}

.pfcustom-landing .pfcustom-features__lede {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Grille features : la section porte déjà la gouttière — pas de double padding */
.pfcustom-landing .pfcustom-features__layout > div:is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

@media screen and (max-width: 650px) {
  .pfcustom-landing .pfcustom-pricing__intro .pfcustom-muted,
  .pfcustom-landing .pfcustom-pricing__intro .pfcustom-pricing__lede {
    max-width: none;
  }
}

.pfcustom-landing .pfcustom-feature-card {
  position: relative;
  padding-bottom: 2.25rem;
}

.pfcustom-landing .pfcustom-feature-card h3 {
  margin: 0.75rem 0 0.5rem;
}

.pfcustom-landing .pfcustom-feature-card__icon {
  color: var(--pfcustom-mockup-accent);
}

.pfcustom-landing .pfcustom-feature-card__arrow {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  color: var(--pfcustom-mockup-accent);
}

/*
 * Reordonner les cartes pour commencer par les marqueurs d'originalite Plntkstudios.
 */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(10) { order: 1; } /* Architecture modulaire intelligente */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(11) { order: 2; } /* Pages services dediees */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(12) { order: 3; } /* Experience createur complete */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(7) { order: 4; }  /* Galerie */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(8) { order: 5; }  /* Discographie */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(6) { order: 6; }  /* Productions */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(1) { order: 7; }  /* Blog */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(4) { order: 8; }  /* Agenda */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(2) { order: 9; }  /* A propos */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(3) { order: 10; } /* Equipe */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(5) { order: 11; } /* Livres */
.pfcustom-landing .pfcustom-features__layout .pf-cols-4 > .pfcustom-feature-card:nth-child(9) { order: 12; } /* Boutique et Contact */

.pfcustom-landing .pfcustom-sidecard img {
  width: 100%;
  height: auto;
  border-radius: var(--pfcustom-radius-card);
  opacity: var(--pfcustom-opacity-sidecard);
}

/* Temporaire : masquer les side gauche/droite */
.pfcustom-landing .pfcustom-sidecard {
  display: none;
}

/* Quand les side sont masquées, le contenu central reprend toute la largeur */
.pfcustom-landing .pfcustom-features__layout > div:nth-child(2) {
  grid-column: 1 / -1;
}

.pfcustom-landing .pfcustom-features__layout > .pfcustom-sidecard {
  position: relative;
  align-self: start;
}

/* Side visuals: collés aux bords de fenêtre (section avec padding latéral) */
.pfcustom-landing .pfcustom-features__layout {
  max-width: none;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

.pfcustom-landing .pfcustom-features__layout > .pfcustom-sidecard:first-child img {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.pfcustom-landing .pfcustom-features__layout > .pfcustom-sidecard:last-child img {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.pfcustom-landing .pfcustom-features__layout > .pfcustom-sidecard:first-child {
  transform: translate3d(0, 22px, 0);
}

.pfcustom-landing .pfcustom-features__layout > .pfcustom-sidecard:last-child {
  transform: translate3d(0, -34px, 0);
}

@media screen and (max-width: 1100px) {
  .pfcustom-landing .pfcustom-features__layout > div:nth-child(2) {
    grid-column: 1 / -1;
  }
}

.pfcustom-landing .pfcustom-wide-placeholder {
  width: 100%;
  height: auto;
  border-radius: var(--pfcustom-radius-card);
  display: block;
}

.pfcustom-landing .pfcustom-video-slot {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--pfcustom-radius-card);
  overflow: hidden;
  border: var(--pfcustom-page-border-width) solid var(--pfcustom-rgba-white-40);
  background: var(--pfcustom-rgba-black-070);
}

.pfcustom-landing .pfcustom-video-slot__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--pfcustom-radius-card);
  display: block;
}

@media screen and (max-width: 900px) {
  .pfcustom-landing .pfcustom-video-slot {
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 650px) {
  .pfcustom-landing .pfcustom-video-slot {
    aspect-ratio: 1 / 1;
    max-height: min(70vh, 28rem);
  }
}

/* Tarifs — centré, même largeur extérieure que #header.pfcustom-header */
#portfolio_page .pfcustom-landing section.pfcustom-pricing:is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
  padding-left: max(var(--pfcustom-header-float-inset), env(safe-area-inset-left, 0px)) !important;
  padding-right: max(var(--pfcustom-header-float-inset), env(safe-area-inset-right, 0px)) !important;
  box-sizing: border-box;
}

#portfolio_page .pfcustom-landing .pfcustom-pricing__title {
  margin: 0 0 1rem;
  font-weight: var(--pfcustom-type-h1-weight);
  color: var(--pfcustom-type-h1-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--pfcustom-space-heading-split-gap);
  max-width: 100%;
  text-wrap: balance;
}

#portfolio_page .pfcustom-landing .pfcustom-pricing__title .pfcustom-pricing__title-strong {
  font-weight: var(--pfcustom-type-h1-weight);
  display: block;
}

#portfolio_page .pfcustom-landing .pfcustom-pricing__title .pfcustom-pricing__title-light {
  font-weight: var(--pfcustom-type-subtle-weight);
  color: var(--pfcustom-mockup-text-subtle);
  display: block;
}

.pfcustom-landing .pfcustom-pricing__lede {
  margin: 0 auto;
  max-width: 36rem;
  text-align: center;
}

.pfcustom-landing .pfcustom-pricing {
  position: relative;
  overflow: hidden;
  background: var(--pfcustom-bg);
}

/* Laptop : ancré au bord gauche du cadre header (ne déborde pas à gauche) */
.pfcustom-landing .pfcustom-pricing__decor {
  position: absolute;
  z-index: 0;
  left: calc(50% - (min(var(--pfcustom-page-content-max-width), 100%) / 2));
  top: clamp(-1rem, 2vw, 1.5rem);
  width: min(58%, calc(var(--pfcustom-page-content-max-width) * 0.58));
  max-width: 36rem;
  opacity: 1;
  pointer-events: none;
}

.pfcustom-landing .pfcustom-pricing__decor img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--pfcustom-radius-card);
}

/* Bloc texte + cartes : centré, même cadre que la barre header */
.pfcustom-landing .pfcustom-pricing__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--pfcustom-page-content-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pfcustom-header-inner-padding);
  padding-right: var(--pfcustom-header-inner-padding);
  min-width: 0;
}

.pfcustom-landing .pfcustom-pricing__intro {
  text-align: center;
}

.pfcustom-landing p.pfcustom-pricing__empty {
  text-align: center;
}

.pfcustom-landing .pfcustom-pricing__grid {
  position: relative;
  z-index: 1;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-width: 0;
}

.pfcustom-landing .pfcustom-pricing__grid > * {
  min-width: 0;
}

.pfcustom-landing .pfcustom-pricing-card:not(.pfcustom-card--featured) {
  background: var(--pfcustom-glass-sheen), var(--pfcustom-card-bg);
  border-color: var(--pfcustom-glass-border-color);
  backdrop-filter: var(--pfcustom-glass-blur-filter);
  -webkit-backdrop-filter: var(--pfcustom-glass-blur-filter);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card {
  transform: translateY(-0.4rem);
  box-shadow:
    0 22px 48px color-mix(in srgb, var(--pfcustom-color-black) 55%, transparent),
    0 0 0 1px var(--pfcustom-rgba-black-06-on-white);
  color: var(--pfcustom-text-on-light);
}

/* Carte vedette (fond clair) : forcer des couleurs de texte lisibles (override .pfcustom-price / h3 globaux) */
#portfolio_page .pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card h3 {
  color: var(--pfcustom-accent-heading-light);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price:not(.pfcustom-price--old),
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--promo {
  color: var(--pfcustom-accent-strong);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--old {
  color: var(--pfcustom-text-on-light-muted);
  opacity: 1;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-muted,
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__detail {
  color: var(--pfcustom-text-on-featured-muted);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-list,
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-list li {
  color: var(--pfcustom-text-on-light-muted);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-list__missing {
  color: var(--pfcustom-text-on-light-muted);
  opacity: 0.5;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-promo-until {
  color: var(--pfcustom-accent-heading-light);
}

.pfcustom-landing .pfcustom-pricing-badge {
  margin: 0 0 0.5rem;
}

.pfcustom-landing .pfcustom-pricing-badge__label {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--pfcustom-radius-pill);
  background: var(--pfcustom-btn-sheen), var(--pfcustom-btn-cta-bg);
  color: var(--pfcustom-color-white);
}

.pfcustom-landing .pfcustom-pricing-card .pfcustom-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.05rem;
  margin: 0.35rem 0 0;
}

.pfcustom-landing .pfcustom-pricing-card .pfcustom-price--hero {
  font-size: clamp(26px, 1.25vw + 19px, 42px);
  line-height: 1.08;
  font-weight: var(--pfcustom-type-h1-weight, 700);
  margin: 0.25rem 0 0.12rem;
  letter-spacing: -0.025em;
}

/* Promo : prix affiché encore plus dominant */
.pfcustom-landing .pfcustom-pricing-card .pfcustom-price--promo.pfcustom-price--hero {
  font-size: clamp(29px, 1.65vw + 20px, 48px);
  margin: 0.28rem 0 0;
}

/* Carte favori (vedette) : prix très mis en avant — type maquette Premium */
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price-block {
  margin: 0.55rem 0 0.15rem;
  gap: 0.12rem;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--hero:not(.pfcustom-price--promo) {
  font-size: clamp(32px, 2.45vw + 20px, 58px);
  line-height: 1.03;
  margin: 0.4rem 0 0.18rem;
  letter-spacing: -0.035em;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--promo.pfcustom-price--hero {
  font-size: clamp(35px, 2.85vw + 20px, 61px);
  line-height: 1.02;
  margin: 0.45rem 0 0.1rem;
  letter-spacing: -0.04em;
}

/* Favori : « 15 € » massif + « /mois » discret sur la même ligne (maquette) */
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--split {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  column-gap: 0.18em;
  row-gap: 0.05em;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__core {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.045em;
  padding: 0.14em 0.42em 0.2em;
  border-radius: var(--pfcustom-radius-input, 10px);
  background: var(--pfcustom-accent-heading-light);
  color: var(--pfcustom-color-white);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__amount,
.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__currency {
  color: inherit;
  font-weight: var(--pfcustom-type-h1-weight, 700);
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__currency {
  letter-spacing: -0.03em;
  margin-left: 0.06em;
}

.pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price__period {
  font-size: max(13px, 0.26em);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--pfcustom-text-on-featured-muted);
  white-space: nowrap;
}

.pfcustom-landing .pfcustom-pricing-card .pfcustom-price--old {
  font-size: var(--pfcustom-type-sm);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: line-through;
  opacity: 0.72;
  margin: 0.05rem 0 0;
}

.pfcustom-landing .pfcustom-card--featured .pfcustom-price--old {
  opacity: 0.78;
}

.pfcustom-landing .pfcustom-price__detail {
  font-size: var(--pfcustom-type-sm);
  margin: 0.35rem 0 0;
}

.pfcustom-landing .pfcustom-promo-until {
  margin: 0.35rem 0 0;
  color: var(--pfcustom-accent-title);
}

.pfcustom-landing .pfcustom-card--featured .pfcustom-promo-until {
  color: var(--pfcustom-accent-heading-light);
}

.pfcustom-landing .pfcustom-list__missing {
  text-decoration: line-through;
  opacity: 0.55;
}

.pfcustom-landing .pfcustom-pricing-card h3 {
  margin: 0 0 0.5rem;
}

.pfcustom-landing .pfcustom-rule {
  border: none;
  border-top: var(--pfcustom-page-border-width) solid var(--pfcustom-page-border-color);
  margin: 1rem 0;
}

.pfcustom-landing .pfcustom-rule--dark {
  border-top-color: var(--pfcustom-rgba-black-12-on-white);
}

.pfcustom-landing .pfcustom-price {
  font-size: var(--pfcustom-type-h3-size);
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--pfcustom-text);
}

.pfcustom-landing .pfcustom-price--lg {
  font-size: calc(var(--pfcustom-type-h1-size) * 0.95);
  font-weight: var(--pfcustom-type-h1-weight);
}

.pfcustom-landing .pfcustom-price__unit {
  font-size: 0.55em;
  font-weight: 600;
}

.pfcustom-landing .pfcustom-price__note {
  margin: 0 0 0.5rem;
}

.pfcustom-landing .pfcustom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.pfcustom-landing .pfcustom-list li {
  padding: 0.35rem 0;
}

/*
 * Tablette / mobile : colonne unique ; tarifs restent centrés dans le cadre header.
 */
@media screen and (max-width: 1100px) {
  .pfcustom-landing .pfcustom-pricing__decor {
    display: none;
  }

  .pfcustom-landing .pfcustom-pricing__grid.pf-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card {
    transform: none;
    box-shadow: var(--pfcustom-shadow-featured-card);
  }

  .pfcustom-landing .pfcustom-features__layout {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .pfcustom-landing .pfcustom-features__layout > div:nth-child(2):is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #portfolio_page .pfcustom-landing .pfcustom-hero .pfcustom-hero__content:is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md),
  #portfolio_page .pfcustom-landing .pfcustom-hero .pfcustom-hero__overlay:is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
    padding-left: max(var(--pfcustom-page-gutter), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--pfcustom-page-gutter), env(safe-area-inset-right, 0px)) !important;
  }

  #portfolio_page .pfcustom-landing > :is(section, .pfcustom-showcase):not(.pfcustom-pricing):is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
    padding-left: max(var(--pfcustom-page-gutter), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--pfcustom-page-gutter), env(safe-area-inset-right, 0px)) !important;
  }

  #portfolio_page .pfcustom-landing section.pfcustom-pricing:is(.pf-pad-x-md, .pf-pad-md, .pf-pl-md.pf-pr-md) {
    padding-left: max(var(--pfcustom-header-float-inset), env(safe-area-inset-left, 0px)) !important;
    padding-right: max(var(--pfcustom-header-float-inset), env(safe-area-inset-right, 0px)) !important;
  }
}

@media screen and (max-width: 650px) {
  .pfcustom-landing .pfcustom-pricing-card {
    padding: 1.25rem 1rem;
  }

  .pfcustom-landing .pfcustom-pricing__grid {
    gap: 1rem;
  }

  .pfcustom-landing .pfcustom-pricing-card .pfcustom-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--hero:not(.pfcustom-price--promo) {
    font-size: clamp(28px, 8vw, 40px);
  }

  .pfcustom-landing .pfcustom-card--featured.pfcustom-pricing-card .pfcustom-price--promo.pfcustom-price--hero {
    font-size: clamp(29px, 8vw, 41px);
  }

  .pfcustom-landing .pfcustom-pricing-card .pfcustom-price--hero:not(.pfcustom-price--promo) {
    font-size: clamp(24px, 6vw, 32px);
  }

  .pfcustom-landing .pfcustom-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .pfcustom-landing .pfcustom-hero__ctas .pfcustom-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .pfcustom-landing .pfcustom-faq__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pfcustom-landing .pfcustom-faq__actions .pfcustom-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }

  .pfcustom-landing .pfcustom-showcase .pf-w-wide.pf-mt-lg {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Showcase */
.pfcustom-landing .pfcustom-showcase {
  background: var(--pfcustom-bg);
}

.pfcustom-landing .pfcustom-hero--secondary {
  min-height: var(--pfcustom-hero-secondary-min-height);
  justify-content: center;
  border-radius: var(--pfcustom-radius-card);
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--pfcustom-showcase-max-width);
}

#portfolio_page .pfcustom-landing .pfcustom-showcase__intro {
  max-width: 36rem;
  margin: 0 auto 0;
  color: var(--pfcustom-mockup-text-subtle);
}

.pfcustom-landing .pfcustom-project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--pfcustom-radius-card);
  overflow: hidden;
  min-height: var(--pfcustom-project-card-min-height);
  background: var(--pfcustom-glass-sheen), var(--pfcustom-card-bg);
}

.pfcustom-landing a.pfcustom-project-card--link {
  display: grid;
  text-decoration: none;
  color: inherit;
}

.pfcustom-landing .pfcustom-project-card__media--layered {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.pfcustom-landing .pfcustom-project-card__media--layered > img {
  width: 100%;
  height: 100%;
  min-height: var(--pfcustom-project-card-min-height);
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 0.92;
}

.pfcustom-landing .pfcustom-project-card__title {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
}

.pfcustom-landing .pfcustom-project-card__text {
  border: none;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  color: var(--pfcustom-text);
}

.pfcustom-landing .pfcustom-project-card__text p {
  margin: 0;
}

.pfcustom-landing .pfcustom-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: var(--pfcustom-project-card-min-height);
}

.pfcustom-landing .pfcustom-project-card--image {
  position: relative;
  display: block;
  grid-template-columns: none;
}

.pfcustom-landing .pfcustom-project-card--image img {
  min-height: var(--pfcustom-project-card-image-min-height);
}

.pfcustom-landing .pfcustom-project-card__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--pfcustom-color-white);
  font-weight: 600;
  background: linear-gradient(var(--pfcustom-caption-grad-angle), var(--pfcustom-rgba-black-65-caption), transparent 60%);
}

.pfcustom-landing .pfcustom-project-card--light {
  background: var(--pfcustom-color-project-light-bg);
  color: var(--pfcustom-text-on-light);
}

.pfcustom-landing .pfcustom-project-card--light .pfcustom-project-card__text-light {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#portfolio_page .pfcustom-landing .pfcustom-project-card__headline {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-weight: var(--pfcustom-type-project-headline-weight);
  color: var(--pfcustom-text-on-light);
}

.pfcustom-landing .pfcustom-project-card--light p {
  margin: 0;
  color: var(--pfcustom-text-on-light-muted);
}

@media screen and (max-width: 650px) {
  .pfcustom-landing .pfcustom-project-card {
    grid-template-columns: 1fr;
  }

  .pfcustom-landing .pfcustom-project-card__media img {
    min-height: var(--pfcustom-project-card-mobile-min-height);
  }
}

/* FAQ */
.pfcustom-landing .pfcustom-faq {
  position: relative;
  background: var(--pfcustom-mockup-navy);
}

.pfcustom-landing .pfcustom-faq__intro {
  position: relative;
  z-index: 1;
}

.pfcustom-landing .pfcustom-faq__actions {
  gap: var(--pfcustom-space-faq-actions-gap);
  flex-wrap: wrap;
}

.pfcustom-landing .pfcustom-faq .pfcustom-accordion {
  position: relative;
  z-index: 1;
}

#portfolio_page .pfcustom-landing .pfcustom-faq .pfcustom-accordion details .pfcustom-accordion__body.pfcustom-faq__answer {
  padding: 0.2rem 0 1.35rem;
  margin-top: 0;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer {
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer p {
  margin: 0 0 var(--pfcustom-faq-answer-paragraph-gap);
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer p:first-child {
  margin-top: 0;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer p:last-child {
  margin-bottom: 0;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer li {
  margin-bottom: 0.4rem;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer :is(ul, ol) {
  margin: 0 0 var(--pfcustom-faq-answer-paragraph-gap);
  padding-left: 1.15rem;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer :is(ul, ol):last-child {
  margin-bottom: 0;
}

#portfolio_page .pfcustom-landing .pfcustom-faq__answer :is(ul, ol) li:last-child {
  margin-bottom: 0;
}

/* Bandeau fin de page — hébergement & données en France */
.pfcustom-landing .pfcustom-hosting-fr {
  background: var(--pfcustom-bg-elevated);
  border-top: var(--pfcustom-page-border-width) solid rgba(255, 255, 255, 0.07);
}

.pfcustom-landing .pfcustom-hosting-fr__inner {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#portfolio_page .pfcustom-landing p.pfcustom-hosting-fr__kicker {
  margin: 0 0 0.5rem;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--pfcustom-type-h3-weight);
  color: var(--pfcustom-accent-title);
}

#portfolio_page .pfcustom-landing .pfcustom-hosting-fr__title {
  margin: 0 0 1rem;
  text-align: center;
  font-weight: var(--pfcustom-type-h2-weight);
  color: var(--pfcustom-text);
  text-wrap: balance;
}

.pfcustom-landing .pfcustom-hosting-fr__text {
  margin: 0;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

/* Mode éditeur : forcer typo cartes projets (fonts.css / hub après le custom). */
body.portfolio-editor #webpage-simulation #portfolio_page.portfolio-font .pfcustom-landing .pfcustom-project-card__headline {
  margin: 0 0 0.75rem !important;
  line-height: 1.15 !important;
  font-weight: var(--pfcustom-type-project-headline-weight) !important;
  color: var(--pfcustom-text-on-light) !important;
}

body.portfolio-editor #webpage-simulation #portfolio_page.portfolio-font .pfcustom-landing .pfcustom-project-card--light p {
  margin: 0 !important;
  color: var(--pfcustom-text-on-light-muted) !important;
}

/* Mobile — hero aligné à gauche (complète mobile.css) */
@media screen and (max-width: 900px) {
  .pfcustom-landing .pfcustom-hero--cosmos {
    justify-content: flex-end;
    align-items: stretch;
  }

  .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__content,
  .pfcustom-landing .pfcustom-hero__content--center,
  .pfcustom-landing .pfcustom-hero__content.text-align-center {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__text,
  .pfcustom-landing .pfcustom-hero__text,
  .pfcustom-landing .pfcustom-hero--cosmos h1,
  .pfcustom-landing .pfcustom-hero--cosmos h2,
  .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__intro,
  .pfcustom-landing .pfcustom-hero--cosmos .pfcustom-hero__subtitle,
  .pfcustom-landing .pfcustom-hero__content--center .pfcustom-hero__text {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    align-self: flex-start;
    width: 100%;
  }

  .pfcustom-landing .pfcustom-hero__content--center .pfcustom-hero__ctas {
    justify-content: flex-start;
    width: 100%;
  }

  #portfolio_page .pfcustom-landing .pfcustom-hero .pfcustom-hero__intro {
    max-width: none;
  }
}
