/* Habillage « nouveau design » des anciennes pages (devis, documents, forfaits, etc.).
   Chargé en dernier par includes/footer-psi.blade.php. Les ids :not(#_) servent à gagner sur les CSS des pages. */

/* 1. Police du site d'accueil : Montserrat pour tout le texte (icônes exclues) */
body, body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not(svg):not(.bi):not([class^="bi-"]):not(.material-icons) {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif !important;
}

/* 2. Titres d'impact en Anton, comme sur l'accueil */
html body .psi-page-hero h1:not(#_), html body .psi-page-hero h2:not(#_), html body .psi-page-hero h3:not(#_),
html body .psi-breadcrumb h1:not(#_), html body .pg-head h1:not(#_), html body .lg-hero h1:not(#_) {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif !important;
  font-weight: 400 !important; letter-spacing: .02em; text-transform: uppercase; line-height: 1.08;
  color: #fff !important; text-shadow: none !important;
}

/* 3. Bannières (hero) identiques aux pages du nouveau design : bleu nuit, arcs en filigrane, titre à gauche */
.psi-page-hero, .psi-breadcrumb, .pg-head {
  background: #0A1B33 !important; color: #C3CEDF; position: relative; overflow: hidden;
  border: 0 !important; text-align: left !important;
}
.psi-page-hero::before, .psi-breadcrumb::before, .pg-head::before {
  content: ""; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background: repeating-radial-gradient(circle at 100% 0, transparent 0 22px, #fff 22px 23px) !important;
}
/* .psi-page-hero (forfaits, billets…) : conteneur 1200 px, fil d'Ariane au-dessus du titre */
.psi-page-hero { padding: 64px 0 56px !important; }
.psi-page-hero .container, .psi-page-hero .container.text-center.py-5 {
  position: relative; z-index: 1; max-width: 1200px !important; padding: 0 24px !important; margin: 0 auto !important;
  display: flex !important; flex-direction: column; align-items: flex-start !important; text-align: left !important;
}
.psi-page-hero .breadcrumb { order: -1; justify-content: flex-start !important; background: transparent !important; padding: 0 !important; margin: 0 0 14px !important; }
.psi-page-hero h1, .psi-page-hero h2, .psi-page-hero h3 { font-size: clamp(28px, 3.8vw, 48px) !important; margin: 0 !important; }
.psi-page-hero .breadcrumb-item, .psi-page-hero .breadcrumb-item a { color: #fff !important; font-size: 13.6px !important; font-weight: 600; text-decoration: none !important; }
.psi-page-hero .breadcrumb-item.active { color: #9FB0C8 !important; font-weight: 500; background: transparent !important; padding: 0 !important; }
.psi-page-hero .breadcrumb-item + .breadcrumb-item::before { color: #9FB0C8 !important; content: "\203A"; }
.psi-page-hero .breadcrumb-item + .breadcrumb-item { padding-left: 0 !important; }
.psi-page-hero .breadcrumb-item + .breadcrumb-item::before { padding: 0 8px !important; float: none !important; }
.psi-page-hero .breadcrumb-item a:hover { color: #EE7B1E !important; }
/* .psi-breadcrumb (forfaits voyages, contact, faq, services…) */
.psi-breadcrumb { padding: 64px 0 56px !important; }
.psi-breadcrumb .psi-bc-inner { position: relative; max-width: 1200px !important; padding: 0 24px !important; display: flex; flex-direction: column; }
.psi-breadcrumb .psi-bc-trail { order: -1; margin-bottom: 14px; }
.psi-breadcrumb .psi-bc-inner h1 { font-size: clamp(34px, 5vw, 58px) !important; margin: 0 0 6px !important; }
.psi-breadcrumb .psi-bc-inner h1 i { display: none; }
.psi-breadcrumb .psi-bc-inner p { color: #C3CEDF !important; font-size: 18px !important; max-width: 60ch; margin: 0 !important; }
.psi-breadcrumb .psi-bc-trail a { color: #fff !important; font-weight: 600; font-size: 13.6px !important; }
.psi-breadcrumb .psi-bc-trail span { color: #9FB0C8 !important; font-size: 13.6px !important; }
/* .pg-head (devis et liste des documents) : reste aligné sur la colonne de contenu */
.pg-head-in { position: relative; padding-top: 64px !important; padding-bottom: 56px !important; }
.pg-head h1 { font-size: clamp(30px, 4vw, 46px) !important; max-width: none !important; margin-bottom: 10px !important; }
.pg-head p { color: #C3CEDF !important; font-size: 18px !important; }
@media (max-width: 760px) {
  .psi-page-hero, .psi-breadcrumb { padding: 40px 0 34px !important; }
  .pg-head-in { padding-top: 40px !important; padding-bottom: 34px !important; }
}

/* 4. Forfaits : cartes, étiquettes et boutons au style du nouveau design
   (cartes à bordure fine, boutons rectangulaires en majuscules, titres et prix en Anton) */
:root { --pn-navy:#0A1B33; --pn-navy3:#24477F; --pn-red:#C8102E; --pn-red-d:#A00D25; --pn-orange:#EE7B1E; --pn-mist:#EEF1F5; --pn-line:#D9DFE8; }
html body .lf-section, html body .forfaits-section { background: var(--pn-mist) !important; padding: 80px 0 !important; }
html body .lf-inner, html body .forfaits-inner { max-width: 1200px !important; }
/* étiquettes « Autres offres » / « Forfaits » */
html body .lf-eyebrow, html body .section-eyebrow {
  background: transparent !important; color: var(--pn-orange) !important; padding: 0 !important; border-radius: 0 !important;
  font-size: 13px !important; font-weight: 800 !important; letter-spacing: .12em !important; text-transform: uppercase;
}
/* titres de section */
html body .lf-title:not(#_), html body .forfaits-heading:not(#_) {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif !important; font-weight: 400 !important;
  font-size: clamp(30px, 3.4vw, 42px) !important; letter-spacing: .01em; text-transform: uppercase; color: var(--pn-navy) !important;
}
html body .forfaits-sub { font-size: 16px !important; color: #5A6578 !important; }
/* cartes */
html body .lf-card, html body .forfait-card {
  border: 1px solid var(--pn-line) !important; border-radius: 12px !important; box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s !important; transform: none !important;
}
html body .lf-card:hover, html body .forfait-card:hover { border-color: var(--pn-navy) !important; box-shadow: 0 18px 50px -20px rgba(10,27,51,.45) !important; transform: none !important; }
html body .lf-card-title:not(#_), html body .forfait-title:not(#_) { font-size: 16px !important; font-weight: 700 !important; color: var(--pn-navy) !important; line-height: 1.35; }
html body .lf-resume, html body .forfait-desc { font-size: 14px !important; color: #5A6578 !important; }
html body .lf-date, html body .forfait-date { font-size: 12.5px !important; color: #5A6578 !important; }
html body .lf-footer, html body .forfait-footer { border-top: 1px solid var(--pn-line) !important; }
html body .lf-price:not(#_), html body .forfait-price:not(#_), html body .psi-price-badge:not(#_) {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif !important; font-weight: 400 !important; letter-spacing: .02em; color: var(--pn-red) !important;
}
html body .lf-price { font-size: 26px !important; }
html body .forfait-price { font-size: 26px !important; }
html body .lf-price small, html body .forfait-price small { font-size: 13px !important; font-family: 'Montserrat', sans-serif !important; color: #5A6578 !important; }
/* boutons : rectangulaires, majuscules, comme .btn du nouveau design */
html body .lf-btn-detail, html body .lf-btn-souscris, html body .btn-details, html body .btn-souscris,
html body .psi-souscris-cta a.btn-souscris, html body .psi-souscris-cta a.btn-retour {
  border-radius: 6px !important; font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: .05em !important;
  text-transform: uppercase; padding: 11px 16px !important; border: 2px solid transparent !important; box-shadow: none !important; transform: none !important;
}
html body .lf-btn-detail, html body .btn-details { background: var(--pn-navy) !important; color: #fff !important; }
html body .lf-btn-detail:hover, html body .btn-details:hover { background: var(--pn-navy3) !important; }
html body .lf-btn-souscris, html body .btn-souscris, html body .psi-souscris-cta a.btn-souscris { background: var(--pn-red) !important; color: #fff !important; }
html body .lf-btn-souscris:hover, html body .btn-souscris:hover, html body .psi-souscris-cta a.btn-souscris:hover { background: var(--pn-red-d) !important; }
html body .psi-souscris-cta a.btn-retour { background: transparent !important; color: var(--pn-navy) !important; border-color: var(--pn-line) !important; }
html body .psi-souscris-cta a.btn-retour:hover { border-color: var(--pn-navy) !important; background: transparent !important; color: var(--pn-navy) !important; }
/* fiche détail d'un forfait */
html body .psi-section { background: var(--pn-mist) !important; padding: 64px 0 !important; }
html body .psi-detail-card { border: 1px solid var(--pn-line); border-radius: 12px !important; box-shadow: none !important; }
html body .psi-detail-header { background: var(--pn-navy) !important; padding: 28px 40px !important; }
html body .psi-detail-header h1:not(#_) {
  font-family: 'Anton', 'Arial Narrow', Impact, sans-serif !important; font-weight: 400 !important; letter-spacing: .02em;
  text-transform: uppercase; font-size: clamp(24px, 3vw, 34px) !important;
}
html body .psi-price-badge { background: #fff !important; border-radius: 6px !important; font-size: 28px !important; padding: 8px 22px !important; }
html body .psi-section-heading h2:not(#_) { font-family: 'Anton', 'Arial Narrow', Impact, sans-serif !important; font-weight: 400 !important; text-transform: uppercase; color: var(--pn-navy) !important; }
html body .psi-section-heading .psi-label { background: transparent !important; color: var(--pn-orange) !important; padding: 0 !important; border-radius: 0 !important; letter-spacing: .12em; }
