/* =========================================================
   PatoDelivery — surcouche de la charte (rouge / noir)
   à charger APRÈS style.css
   ========================================================= */
:root {
  --pg-red: #E5132C;
  --pg-red-dark: #C20F24;
  --pg-red-soft: #FDECEE;
  --pg-black: #1B1C1B;
  --pg-ink: #111111;
  --pg-gray: #5F6368;
  --pg-line: #E9E9EB;
  --pg-soft: #F6F6F7;
  --pg-white: #FFFFFF;
  --pg-radius: 18px;
  --pg-shadow: 0 20px 50px -20px rgba(17, 17, 17, .25);

  --primary-color: var(--pg-red);
  --secondary-color: var(--pg-black);
  --primary-black: var(--pg-ink);
  --paragraph: var(--pg-gray);
}

html, body { overflow-x: clip; }
body { color: var(--pg-ink); }
::selection { background: var(--pg-red); color: #fff; }

/* ---------- Header ---------- */
header.pg-header { padding: 18px 0; z-index: 99; width: 100%; left: 0; top: 0; }
header.pg-header.sticky { background: rgba(17, 17, 17, .96); backdrop-filter: blur(8px); padding: 10px 0 !important; }
header.pg-header .container-custom { padding-left: 4% !important; padding-right: 4% !important; }
header.pg-header .header-logo a img { width: 170px; }
header.pg-header .main-menu > ul > li > a { color: #fff; font-weight: 500; letter-spacing: .04em; font-size: 15px; }
header.pg-header .main-menu > ul > li.active > a,
header.pg-header .main-menu > ul > li:hover > a { color: var(--pg-red); }
header.pg-header .main-menu > ul > li > i.dropdown-icon { color: #fff; }
header.pg-header .main-menu > ul > li .sub-menu { border-top: 3px solid var(--pg-red); border-radius: 0 0 12px 12px; }
header.pg-header .main-menu > ul > li .sub-menu li a:hover { color: var(--pg-red); }
header.pg-header .nav-right { gap: 22px; }
.pg-header-link { color: #fff; font-weight: 500; align-items: center; gap: 8px; font-size: 15px; transition: color .2s; }
.pg-header-link i { font-size: 20px; color: var(--pg-red); }
.pg-header-link:hover { color: var(--pg-red); }
header.pg-header .mobile-menu-btn i { font-size: 30px; color: #fff; line-height: 1; cursor: pointer; }
header.pg-header .mobile-logo-wrap img { width: 150px; }
@media (max-width: 991px) {
  header.pg-header .main-menu { background: #fff; }
  header.pg-header .main-menu > ul > li > a { color: var(--pg-ink); }
  header.pg-header .main-menu > ul > li > i.dropdown-icon { color: var(--pg-ink); }
  header.pg-header .main-menu .menu-close-btn i { color: var(--pg-ink); font-size: 30px; }
  header.pg-header .btn-area { margin-top: 30px; }
  header.pg-header .main-menu .sub-menu li a { color: var(--pg-gray) !important; }
  header.pg-header .main-menu .sub-menu li a:hover { color: var(--pg-red) !important; }
  header.pg-header .header-logo a img { width: 140px; }
}

/* ---------- Boutons ---------- */
.pg-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pg-red); color: #fff !important;
  font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 28px; border-radius: 100px; border: 2px solid var(--pg-red);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  white-space: nowrap; cursor: pointer;
}
.pg-btn:hover { background: var(--pg-red-dark); border-color: var(--pg-red-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(229, 19, 44, .6); }
.pg-btn i { font-size: 15px; }
.pg-btn--dark { background: var(--pg-ink); border-color: var(--pg-ink); }
.pg-btn--dark:hover { background: #000; border-color: #000; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.pg-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); }
.pg-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--pg-ink) !important; box-shadow: none; }
.pg-btn--white { background: #fff; border-color: #fff; color: var(--pg-red) !important; }
.pg-btn--white:hover { background: var(--pg-ink); border-color: var(--pg-ink); color: #fff !important; }
.pg-link { color: var(--pg-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--pg-red); padding-bottom: 4px; }
.pg-link:hover { color: var(--pg-red); }

/* ---------- Titres / textes ---------- */
.pg-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--pg-red); font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px;
}
.pg-eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--pg-red); border-radius: 3px; }
.pg-eyebrow i { font-size: 15px; }
.pg-eyebrow--light { color: #fff; }
.pg-eyebrow__num { background: var(--pg-red); color: #fff; border-radius: 6px; padding: 2px 8px; letter-spacing: 0; }
.pg-title { font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; color: var(--pg-ink); }
.pg-title--light { color: #fff; }
.pg-text { color: var(--pg-gray); font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.pg-text--light { color: rgba(255, 255, 255, .72); }
/* sec-title : garder l'animation sans couper les mots (toujours mettre un <br>) */
.sec-title { white-space: normal !important; overflow: visible !important; word-break: normal !important; height: auto !important; max-width: 100%; display: block; }
@media (max-width: 1199px) { .pg-title { font-size: 40px; } }
/* Sur tablette/mobile : lettres en inline pour que les mots ne soient jamais coupés (fondu conservé) */
@media (max-width: 991px) { .sec-title .char { display: inline !important; } .sec-title br { display: none; } }
@media (max-width: 767px) {
  .pg-title { font-size: 31px; }
  .pg-text { font-size: 16px; }
}

/* ---------- Sections ---------- */
.pg-section { padding: 110px 0; position: relative; }
.pg-section--tight { padding: 70px 0 40px; }
.pg-section--soft { background: var(--pg-soft); }
.pg-section--dark { background: var(--pg-ink); color: #fff; overflow: hidden; }
.pg-section--dark::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(229, 19, 44, .28), transparent 65%); pointer-events: none;
}
@media (max-width: 767px) { .pg-section { padding: 75px 0; } }
.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 50px; flex-wrap: wrap; }
.pg-head .pg-title { margin-bottom: 0; }
.pg-head--center { justify-content: center; text-align: center; }
.pg-head--center .pg-eyebrow::after { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.pg-section--dark .pg-head--center .pg-eyebrow::before,
.pg-section--dark .pg-head--center .pg-eyebrow::after { background: var(--pg-red); }

.pg-checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.pg-checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--pg-ink); line-height: 1.5; }
.pg-checklist li i { color: var(--pg-red); font-size: 19px; line-height: 1.2; }
.pg-checklist--light li { color: #fff; }

/* ---------- Effet vitesse (reprend les traits du logo) ---------- */
.pg-hero__speed { position: absolute; left: 0; bottom: 22px; width: 16%; display: grid; gap: 22px; pointer-events: none; opacity: .5; }
.pg-hero__speed span { display: block; height: 14px; border-radius: 0 20px 20px 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08)); animation: pg-speed 3.5s ease-in-out infinite; }
.pg-hero__speed span:nth-child(2) { width: 80%; animation-delay: .3s; }
.pg-hero__speed span:nth-child(3) { width: 60%; animation-delay: .6s; }
@keyframes pg-speed { 0%, 100% { transform: translateX(-8%); } 50% { transform: translateX(4%); } }

/* ---------- Hero accueil ---------- */
.pg-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(229, 19, 44, .35), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(229, 19, 44, .14), transparent 60%),
    var(--pg-ink);
  padding: 190px 0 120px;
}
.pg-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.pg-hero .container { z-index: 2; }
.pg-hero__title { color: #fff; font-size: 68px; line-height: 1.04; font-weight: 700; letter-spacing: -.03em; margin-bottom: 26px; }
.pg-hero__title em { font-style: normal; color: var(--pg-red); }
.pg-hero__lead { color: rgba(255, 255, 255, .75); font-size: 18px; line-height: 1.7; max-width: 560px; margin-bottom: 36px; }
.pg-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.pg-hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; max-width: 600px; }
.pg-hero__facts li { flex: 1 1 150px; padding-right: 20px; }
.pg-hero__facts li + li { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 22px; }
.pg-hero__facts strong { display: block; font-size: 22px; color: #fff; font-weight: 700; line-height: 1.3; }
.pg-hero__facts span { color: rgba(255, 255, 255, .6); font-size: 14px; line-height: 1.4; display: block; }
@media (max-width: 1199px) { .pg-hero__title { font-size: 56px; } }
@media (max-width: 767px) {
  .pg-hero { padding: 140px 0 80px; }
  .pg-hero__title { font-size: 40px; }
  .pg-hero__title br { display: none; }
  .pg-hero__facts li + li { border-left: 0; padding-left: 0; }
  .pg-hero__facts { gap: 16px; }
}

/* ---------- Carte de connexion ---------- */
.pg-login {
  background: #fff; color: var(--pg-ink); border-radius: 24px; padding: 38px 36px 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); position: relative;
}
.pg-login::before { content: ""; position: absolute; left: 36px; right: 36px; top: 0; height: 4px; background: var(--pg-red); border-radius: 0 0 6px 6px; }
.pg-login__head { display: flex; gap: 16px; align-items: center; margin-bottom: 26px; }
.pg-login__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--pg-red-soft); color: var(--pg-red); display: grid; place-items: center; font-size: 26px; flex: none; }
.pg-login__head h2 { font-size: 24px; margin: 0; line-height: 1.2; }
.pg-login__head p { margin: 2px 0 0; color: var(--pg-gray); font-size: 15px; line-height: 1.4; }
.pg-login__foot { text-align: center; margin: 18px 0 0; font-size: 15px; color: var(--pg-gray); }
.pg-login__foot a { color: var(--pg-red); font-weight: 600; }
@media (max-width: 575px) { .pg-login { padding: 30px 22px 24px; } }

/* ---------- Formulaires ---------- */
.pg-form { display: grid; gap: 16px; }
.pg-field { display: block; width: 100%; margin: 0; }
.pg-field > span:first-child { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--pg-ink); }
.pg-field em { font-style: normal; color: var(--pg-gray); font-weight: 400; }
.pg-input { display: flex; align-items: center; gap: 10px; background: var(--pg-soft); border: 1.5px solid var(--pg-line); border-radius: 12px; padding: 0 14px; transition: border-color .2s, background .2s, box-shadow .2s; }
.pg-input:focus-within { border-color: var(--pg-red); background: #fff; box-shadow: 0 0 0 4px rgba(229, 19, 44, .1); }
.pg-input > i { color: #9AA0A6; font-size: 17px; }
.pg-input:focus-within > i { color: var(--pg-red); }
.pg-input input, .pg-input textarea { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; height: 52px; font-size: 16px; color: var(--pg-ink); font-family: inherit; }
.pg-input--area { padding: 12px 14px; align-items: stretch; }
.pg-input textarea { height: auto; resize: vertical; line-height: 1.6; }
.pg-input__toggle { background: none; border: 0; color: #9AA0A6; padding: 6px; font-size: 18px; cursor: pointer; }
.pg-input__toggle:hover { color: var(--pg-ink); }
.pg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-alert { display: flex; gap: 12px; align-items: flex-start; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; line-height: 1.5; }
.pg-alert i { font-size: 20px; line-height: 1.2; }
.pg-alert--error { background: var(--pg-red-soft); color: #A30C1E; border: 1px solid #F7C5CB; }
.pg-alert--success { background: #E9F7EF; color: #146C3C; border: 1px solid #BFE6CF; }

/* ---------- Bandeau défilant ---------- */
.pg-ticker { background: var(--pg-red); color: #fff; overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: -16px -1% 0; width: 102%; position: relative; z-index: 3; box-shadow: 0 10px 30px -10px rgba(229, 19, 44, .5); }
.pg-ticker__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: pg-marquee 30s linear infinite; }
.pg-ticker span { font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.pg-ticker i { font-size: 18px; opacity: .7; }
@keyframes pg-marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .pg-ticker span { font-size: 19px; } .pg-ticker { padding: 14px 0; } }

/* ---------- Visuel « qui sommes-nous » ---------- */
.pg-about-visual { position: relative; padding: 0 40px 60px 0; }
.pg-about-visual__main {
  background: radial-gradient(500px 340px at 80% 0%, rgba(229, 19, 44, .5), transparent 60%), var(--pg-ink);
  border-radius: 28px; padding: 60px 48px; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative;
}
.pg-about-visual__icon { width: 190px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .4)); }
.pg-about-visual__main p { color: #fff; font-size: 26px; line-height: 1.35; font-weight: 600; margin: 40px 0 0; max-width: 380px; }
.pg-about-visual__badge { position: absolute; right: 0; bottom: 20px; background: #fff; border-radius: 18px; padding: 20px 24px; display: flex; gap: 14px; align-items: center; box-shadow: var(--pg-shadow); }
.pg-about-visual__badge i { width: 48px; height: 48px; border-radius: 14px; background: var(--pg-red); color: #fff; display: grid; place-items: center; font-size: 22px; }
.pg-about-visual__badge strong { display: block; font-size: 17px; line-height: 1.3; }
.pg-about-visual__badge span { color: var(--pg-gray); font-size: 14px; line-height: 1.3; }
.pg-about-visual__route { position: absolute; left: 48px; bottom: 18px; display: flex; align-items: center; gap: 8px; }
.pg-about-visual__route .dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--pg-ink); }
.pg-about-visual__route .dot--end { background: var(--pg-red); border-color: var(--pg-red); }
.pg-about-visual__route .line { width: 120px; border-top: 3px dashed #C9C9CC; }
@media (max-width: 575px) {
  .pg-about-visual { padding: 0 0 80px; }
  .pg-about-visual__main { padding: 40px 28px; min-height: 340px; }
  .pg-about-visual__icon { width: 130px; }
  .pg-about-visual__main p { font-size: 21px; }
  .pg-about-visual__badge { right: 12px; bottom: 0; }
  .pg-about-visual__route { display: none; }
}

/* ---------- Cartes services ---------- */
.pg-service-card {
  display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--pg-radius);
  padding: 34px 28px 30px; position: relative; overflow: hidden; border: 1px solid var(--pg-line);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.pg-service-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--pg-red); transition: width .35s; }
.pg-service-card:hover { transform: translateY(-8px); box-shadow: var(--pg-shadow); }
.pg-service-card:hover::after { width: 100%; }
.pg-service-card__num { position: absolute; right: 22px; top: 16px; font-size: 54px; font-weight: 800; color: var(--pg-soft); line-height: 1; transition: color .3s; }
.pg-service-card:hover .pg-service-card__num { color: var(--pg-red-soft); }
.pg-service-card__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--pg-ink); color: #fff; display: grid; place-items: center; font-size: 28px; margin-bottom: 26px; position: relative; transition: background .3s; }
.pg-service-card:hover .pg-service-card__icon { background: var(--pg-red); }
.pg-service-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--pg-ink); }
.pg-service-card p { color: var(--pg-gray); font-size: 15.5px; line-height: 1.65; margin-bottom: 22px; flex: 1; }
.pg-service-card__more { color: var(--pg-red); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; font-size: 15px; }
.pg-service-card__more i { transition: transform .25s; }
.pg-service-card:hover .pg-service-card__more i { transform: translateX(5px); }

/* ---------- Étapes ---------- */
.pg-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.pg-steps::before { content: ""; position: absolute; top: 40px; left: 12%; right: 12%; border-top: 2px dashed rgba(255, 255, 255, .2); }
.pg-step { text-align: center; position: relative; padding: 0 8px; }
.pg-step__icon { width: 80px; height: 80px; border-radius: 50%; background: #222; border: 2px solid rgba(255, 255, 255, .12); display: grid; place-items: center; margin: 0 auto 24px; font-size: 30px; color: #fff; position: relative; transition: background .3s, border-color .3s; }
.pg-step:hover .pg-step__icon { background: var(--pg-red); border-color: var(--pg-red); }
.pg-step__icon em { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--pg-red); color: #fff; font-style: normal; font-size: 14px; font-weight: 700; display: grid; place-items: center; border: 3px solid var(--pg-ink); }
.pg-step h3 { color: #fff; font-size: 20px; margin-bottom: 10px; }
.pg-step p { color: rgba(255, 255, 255, .65); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 991px) { .pg-steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; } .pg-steps::before { display: none; } }
@media (max-width: 575px) { .pg-steps { grid-template-columns: 1fr; } }

/* ---------- Atouts ---------- */
.pg-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--pg-line); }
.pg-feature { display: flex; gap: 18px; padding: 30px 24px 30px 0; border-bottom: 1px solid var(--pg-line); }
.pg-feature:nth-child(odd) { border-right: 1px solid var(--pg-line); }
.pg-feature:nth-child(even) { padding-left: 30px; }
.pg-feature > i { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--pg-red-soft); color: var(--pg-red); display: grid; place-items: center; font-size: 23px; transition: background .25s, color .25s; }
.pg-feature:hover > i { background: var(--pg-red); color: #fff; }
.pg-feature h3 { font-size: 19px; margin-bottom: 6px; }
.pg-feature p { color: var(--pg-gray); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 767px) {
  .pg-features { grid-template-columns: 1fr; }
  .pg-feature:nth-child(odd) { border-right: 0; }
  .pg-feature:nth-child(even) { padding-left: 0; }
  .pg-feature { padding-right: 0; }
}

/* ---------- Hero pages internes ---------- */
.pg-page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(800px 420px at 50% 0%, rgba(229, 19, 44, .38), transparent 65%), var(--pg-ink);
  padding: 200px 0 100px;
}
.pg-page-hero .container { z-index: 2; }
.pg-page-hero h1 { color: #fff; font-size: 62px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 18px; }
.pg-page-hero h1 em { font-style: normal; color: var(--pg-red); }
.pg-page-hero p { color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.7; max-width: 640px; margin: 0 auto; }
.pg-crumb { list-style: none; padding: 8px 18px; margin: 0 0 24px; display: inline-flex; gap: 10px; align-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 100px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.pg-crumb a { color: #fff; }
.pg-crumb a:hover { color: var(--pg-red); }
.pg-crumb i { font-size: 11px; color: var(--pg-red); }
@media (max-width: 767px) { .pg-page-hero { padding: 150px 0 70px; } .pg-page-hero h1 { font-size: 38px; } .pg-page-hero p { font-size: 16px; } }

/* ---------- Qui sommes-nous ---------- */
.pg-mvv { display: grid; gap: 18px; }
.pg-mvv__item { display: flex; gap: 20px; background: var(--pg-soft); border-radius: var(--pg-radius); padding: 28px; transition: transform .3s; }
.pg-mvv__item:hover { transform: translateX(6px); }
.pg-mvv__item--red { background: var(--pg-red); color: #fff; }
.pg-mvv__item--red h3, .pg-mvv__item--red p { color: #fff !important; }
.pg-mvv__icon { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--pg-ink); color: #fff; display: grid; place-items: center; font-size: 24px; }
.pg-mvv__item--red .pg-mvv__icon { background: #fff; color: var(--pg-red); }
.pg-mvv__item h3 { font-size: 21px; margin-bottom: 6px; }
.pg-mvv__item p { color: var(--pg-gray); margin: 0; line-height: 1.65; font-size: 15.5px; }

.pg-value { background: #fff; border-radius: var(--pg-radius); padding: 34px 28px; height: 100%; border: 1px solid var(--pg-line); text-align: center; transition: transform .3s, box-shadow .3s; }
.pg-value:hover { transform: translateY(-6px); box-shadow: var(--pg-shadow); }
.pg-value__icon { width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; background: var(--pg-red-soft); color: var(--pg-red); display: grid; place-items: center; font-size: 30px; transition: background .3s, color .3s; }
.pg-value:hover .pg-value__icon { background: var(--pg-red); color: #fff; }
.pg-value h3 { font-size: 21px; margin-bottom: 10px; }
.pg-value p { color: var(--pg-gray); font-size: 15px; line-height: 1.65; margin: 0; }

.pg-commit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; position: relative; z-index: 1; }
.pg-commit li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--pg-radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, background .3s; }
.pg-commit li:hover { border-color: var(--pg-red); background: rgba(229, 19, 44, .08); }
.pg-commit span { font-size: 15px; font-weight: 700; color: var(--pg-red); }
.pg-commit h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.pg-commit p { color: rgba(255, 255, 255, .65); margin: 0; font-size: 15px; line-height: 1.6; }
@media (max-width: 575px) { .pg-commit { grid-template-columns: 1fr; } }

/* ---------- Services : navigation + maquettes ---------- */
.pg-service-nav { position: sticky; top: 72px; z-index: 50; background: #fff; border-bottom: 1px solid var(--pg-line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .3); }
.pg-service-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.pg-service-nav .container::-webkit-scrollbar { display: none; }
.pg-service-nav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; font-weight: 600; font-size: 15px; color: var(--pg-ink); transition: background .2s, color .2s; }
.pg-service-nav a i { color: var(--pg-red); }
.pg-service-nav a:hover { background: var(--pg-red); color: #fff; }
.pg-service-nav a:hover i { color: #fff; }
.pg-service { scroll-margin-top: 130px; }
@media (max-width: 991px) { .pg-service-nav { top: 60px; } }

.pg-mock { background: #fff; border-radius: 24px; box-shadow: 0 30px 70px -30px rgba(17, 17, 17, .35); overflow: hidden; border: 1px solid var(--pg-line); max-width: 540px; margin: 0 auto; position: relative; z-index: 1; }
.pg-mock__bar { background: var(--pg-ink); color: #fff; padding: 16px 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pg-mock__bar i { color: var(--pg-red); font-size: 18px; }
.pg-mock__online { margin-left: auto; font-size: 13px; font-weight: 500; color: #7CDA9E; display: inline-flex; align-items: center; gap: 6px; }
.pg-mock__online::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ECF73; box-shadow: 0 0 0 4px rgba(62, 207, 115, .2); }
.pg-section--dark .pg-mock { border-color: rgba(255, 255, 255, .1); }

.pg-chat { padding: 28px 22px; display: grid; gap: 14px; background: var(--pg-soft); }
.pg-chat__msg { margin: 0; max-width: 82%; padding: 14px 18px; border-radius: 18px; font-size: 15px; line-height: 1.55; }
.pg-chat__msg--in { background: #fff; color: var(--pg-ink); border-bottom-left-radius: 4px; box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .2); }
.pg-chat__msg--out { background: var(--pg-red); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }

.pg-pickup { padding: 26px 24px; }
.pg-pickup__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--pg-line); font-size: 15px; }
.pg-pickup__row span { color: var(--pg-gray); }
.pg-pickup__route { display: flex; align-items: center; gap: 12px; margin: 30px 0 24px; }
.pg-pickup__pin { width: 54px; height: 54px; border-radius: 16px; background: var(--pg-ink); color: #fff; display: grid; place-items: center; font-size: 22px; flex: none; }
.pg-pickup__pin--red { background: var(--pg-red); }
.pg-pickup__line { flex: 1; border-top: 3px dashed #D5D5D8; position: relative; height: 0; }
.pg-pickup__line i { position: absolute; left: 50%; top: -19px; transform: translateX(-50%); background: #fff; color: var(--pg-red); font-size: 24px; padding: 0 8px; animation: pg-drive 3s ease-in-out infinite; }
@keyframes pg-drive { 0%, 100% { left: 25%; } 50% { left: 75%; } }
.pg-pickup__status { background: #E9F7EF; color: #146C3C; border-radius: 12px; padding: 13px 16px; font-weight: 500; font-size: 15px; display: flex; gap: 10px; align-items: center; }

.pg-timeline { list-style: none; margin: 0; padding: 28px 26px; display: grid; gap: 0; }
.pg-timeline li { display: flex; gap: 16px; position: relative; padding-bottom: 26px; }
.pg-timeline li:last-child { padding-bottom: 0; }
.pg-timeline li::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--pg-line); }
.pg-timeline li:last-child::before { display: none; }
.pg-timeline li.done::before { background: var(--pg-ink); }
.pg-timeline li > i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--pg-soft); color: #9AA0A6; font-size: 18px; border: 2px solid var(--pg-line); position: relative; z-index: 1; }
.pg-timeline li.done > i { background: var(--pg-ink); color: #fff; border-color: var(--pg-ink); }
.pg-timeline li.current > i { background: var(--pg-red); color: #fff; border-color: var(--pg-red); box-shadow: 0 0 0 6px rgba(229, 19, 44, .15); }
.pg-timeline strong { display: block; font-size: 16px; line-height: 1.3; padding-top: 2px; }
.pg-timeline span { color: var(--pg-gray); font-size: 14px; }
.pg-timeline li:not(.done):not(.current) strong { color: #9AA0A6; }

.pg-dash { padding: 22px; }
.pg-dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pg-dash__kpis > div { background: var(--pg-soft); border-radius: 14px; padding: 14px; }
.pg-dash__kpis span { display: block; color: var(--pg-gray); font-size: 13px; line-height: 1.3; }
.pg-dash__kpis strong { font-size: 24px; color: var(--pg-ink); line-height: 1.3; }
.pg-dash__kpis small { font-size: 13px; }
.pg-dash__kpis .red { background: var(--pg-red); }
.pg-dash__kpis .red span, .pg-dash__kpis .red strong { color: #fff; }
.pg-dash__bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 18px 6px 0; border-bottom: 2px solid var(--pg-line); margin-bottom: 16px; }
.pg-dash__bars span { flex: 1; background: var(--pg-ink); border-radius: 6px 6px 0 0; }
.pg-dash__bars span:nth-child(6) { background: var(--pg-red); }
.pg-dash__rows { display: grid; gap: 8px; }
.pg-dash__rows div { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--pg-line); font-weight: 500; font-size: 15px; color: var(--pg-ink); }
.pg-dash__rows div i:first-child { color: var(--pg-red); font-size: 18px; }
.pg-dash__rows div i:last-child { margin-left: auto; color: #9AA0A6; font-size: 13px; }
@media (max-width: 575px) { .pg-dash__kpis strong { font-size: 19px; } }

/* ---------- Contact ---------- */
.pg-info { background: var(--pg-soft); border-radius: var(--pg-radius); padding: 32px 28px; height: 100%; transition: transform .3s; }
.pg-info:hover { transform: translateY(-5px); }
.pg-info--red { background: var(--pg-red); }
.pg-info--red h3, .pg-info--red p, .pg-info--red a { color: #fff !important; }
.pg-info__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--pg-ink); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; }
.pg-info--red .pg-info__icon { background: #fff; color: var(--pg-red); }
.pg-info h3 { font-size: 20px; margin-bottom: 6px; }
.pg-info p { margin: 0; color: var(--pg-gray); line-height: 1.7; font-size: 16px; }
.pg-info a { color: var(--pg-ink); font-weight: 600; }
.pg-info a:hover { color: var(--pg-red); }

.pg-contact { display: grid; grid-template-columns: 5fr 7fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--pg-shadow); scroll-margin-top: 100px; }
.pg-contact__side { background: radial-gradient(500px 300px at 100% 0%, rgba(229, 19, 44, .45), transparent 60%), var(--pg-ink); color: #fff; padding: 54px 46px; display: flex; flex-direction: column; }
.pg-contact__side h2 { color: #fff; font-size: 36px; line-height: 1.15; margin-bottom: 16px; }
.pg-contact__side > p { color: rgba(255, 255, 255, .72); line-height: 1.7; margin-bottom: 30px; }
.pg-contact__steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.pg-contact__steps li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.pg-contact__steps span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pg-red); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.pg-contact__call { margin-top: auto; display: flex; gap: 14px; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 16px 18px; }
.pg-contact__call i { width: 46px; height: 46px; border-radius: 12px; background: var(--pg-red); display: grid; place-items: center; font-size: 20px; flex: none; }
.pg-contact__call span { display: block; color: rgba(255, 255, 255, .65); font-size: 14px; line-height: 1.3; }
.pg-contact__call a { color: #fff; font-weight: 700; font-size: 19px; }
.pg-contact__form { padding: 50px 46px; }
@media (max-width: 991px) { .pg-contact { grid-template-columns: 1fr; } }
@media (max-width: 575px) { .pg-contact__side, .pg-contact__form { padding: 36px 22px; } .pg-contact__side h2 { font-size: 28px; } }

.pg-map { line-height: 0; filter: grayscale(.85) contrast(1.05); }
.pg-map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.pg-footer { background: var(--pg-ink); color: rgba(255, 255, 255, .7); padding-top: 80px; border-top: 1px solid rgba(255, 255, 255, .08); position: relative; overflow: hidden; }
.pg-footer .container { position: relative; }
.pg-footer__cta {
  background: var(--pg-red); border-radius: 26px; padding: 44px 50px; margin: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative;
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 18px);
}
.pg-footer__cta h3 { color: #fff; font-size: 32px; margin-bottom: 6px; line-height: 1.2; }
.pg-footer__cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 17px; }
.pg-footer__main { padding: 70px 0 50px; }
.pg-footer__logo img { width: 190px; margin-bottom: 22px; }
.pg-footer__about { line-height: 1.75; font-size: 15.5px; max-width: 360px; margin-bottom: 24px; }
.pg-footer__social { display: flex; gap: 10px; }
.pg-footer__social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; display: grid; place-items: center; font-size: 17px; transition: background .2s, border-color .2s; }
.pg-footer__social a:hover { background: var(--pg-red); border-color: var(--pg-red); }
.pg-footer__title { color: #fff; font-size: 18px; margin-bottom: 22px; }
.pg-footer__list, .pg-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pg-footer__list a { color: rgba(255, 255, 255, .7); font-size: 15.5px; transition: color .2s, padding .2s; }
.pg-footer__list a:hover { color: var(--pg-red); padding-left: 4px; }
.pg-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.pg-footer__contact i { color: var(--pg-red); font-size: 17px; line-height: 1.4; }
.pg-footer__contact a { color: rgba(255, 255, 255, .7); }
.pg-footer__contact a:hover { color: #fff; }
.pg-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.pg-footer__bottom p { margin: 0; }
.pg-footer__bottom a { color: #fff; }
.pg-footer__bottom a:hover { color: var(--pg-red); }
@media (max-width: 767px) {
  .pg-footer__cta { padding: 32px 26px; }
  .pg-footer__cta h3 { font-size: 24px; }
}
/* page contact : pas de CTA rouge */
.pg-footer .container > .row.pg-footer__main:first-child { padding-top: 0; }

/* Correctifs template */
.circle-container { z-index: 98; }
.circle-container .circle-progress path { stroke: var(--pg-red) !important; }