/* Page HTML statique — style aligné sur StickyNavbar + FooterSection */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Dinosaur";
  src: url("/font/Dinosaur.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --pl-orange: #ea580c;
  --pl-amber: #f59e0b;
  --pl-nav-height: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pl-static-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, sans-serif;
  background: #0a0a0a;
  color: #ededed;
}

.pl-skip {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #111;
}
.pl-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ----- Navigation (fixe, comme StickyNavbar) ----- */
.pl-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    padding 0.3s,
    background 0.3s,
    box-shadow 0.3s;
  padding: 1rem 0;
  background: transparent;
}
.pl-nav--scrolled {
  padding: 0.5rem 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.pl-nav__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .pl-nav__inner {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .pl-nav__inner {
    padding: 0 2rem;
  }
}

.pl-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.pl-nav__logo img {
  height: 3rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

.pl-nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .pl-nav__links {
    display: flex;
  }
}

.pl-nav__link {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.3s,
    transform 0.15s;
}
.pl-nav__link:hover {
  background: rgba(255, 255, 255, 0.2);
}
.pl-nav--scrolled .pl-nav__link:hover {
  background: linear-gradient(90deg, var(--pl-orange), var(--pl-amber));
}

.pl-nav__cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #ea580c, #f59e0b);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
  white-space: nowrap;
}
.pl-nav__cta:hover {
  filter: brightness(1.05);
}

/* Bouton menu mobile */
.pl-nav__toggle {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.25rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
@media (min-width: 768px) {
  .pl-nav__toggle {
    display: none;
  }
}

.pl-nav__burger {
  position: relative;
  width: 1.5rem;
  height: 1.25rem;
}
.pl-nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background: #fff;
  transition:
    transform 0.25s,
    opacity 0.25s,
    top 0.25s,
    bottom 0.25s;
}
.pl-nav__burger span:nth-child(1) {
  top: 0;
}
.pl-nav__burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.pl-nav__burger span:nth-child(3) {
  bottom: 0;
}

.pl-nav__toggle[aria-expanded="true"] .pl-nav__burger span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.pl-nav__toggle[aria-expanded="true"] .pl-nav__burger span:nth-child(2) {
  opacity: 0;
}
.pl-nav__toggle[aria-expanded="true"] .pl-nav__burger span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Panel mobile */
.pl-nav__mobile {
  display: none;
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.pl-nav__mobile.is-open {
  display: block;
}
@media (min-width: 768px) {
  .pl-nav__mobile.is-open {
    display: none;
  }
}

.pl-nav__mobile-inner {
  position: relative;
  padding: 1rem;
}
.pl-nav__mobile a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.pl-nav__mobile a:hover {
  border-left-color: var(--pl-orange);
  background: #fff7ed;
}
.pl-nav__mobile-cta {
  margin: 1rem 1rem 0;
  display: block;
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, #ea580c, #f59e0b);
}

/* ----- Contenu principal ----- */
.pl-main {
  padding-top: var(--pl-nav-height);
  min-height: 50vh;
}

.pl-hero {
  padding: 4rem 1rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), #0f172a);
}
@media (min-width: 640px) {
  .pl-hero {
    padding: 5rem 1.5rem 4rem;
  }
}

.pl-hero h1 {
  margin: 0 0 1rem;
  font-family: "Dinosaur", "Montserrat", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  letter-spacing: 0.02em;
}

.pl-hero p {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd5e1;
}

/* Sections de contenu sous le hero */
.pl-section {
  background: #0f172a;
}

.pl-section__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
@media (min-width: 640px) {
  .pl-section__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .pl-section__inner {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Section 1 : grille 2 colonnes (image | texte) */
.pl-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .pl-split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
  }
}

.pl-split__figure {
  margin: 0;
}
.pl-split__figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
}

.pl-split__col--text h2 {
  margin: 0 0 1rem;
  font-family: "Dinosaur", "Montserrat", sans-serif;
  color: #f97316;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  line-height: 1.25;
}
.pl-split__col--text p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: #e2e8f0;
  font-size: 0.95rem;
}
.pl-split__col--text p:last-child {
  margin-bottom: 0;
}
.pl-split__col--text code {
  font-size: 0.85em;
  padding: 0.15em 0.35em;
  border-radius: 0.25rem;
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
}

/* Section 2 : texte seul */
.pl-section--text {
  background: #111827;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pl-text-block {
  max-width: 48rem;
}

.pl-text-block h2 {
  margin: 0 0 1.25rem;
  font-family: "Dinosaur", "Montserrat", sans-serif;
  color: #f97316;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.pl-text-block p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: #e2e8f0;
}
.pl-text-block p:last-child {
  margin-bottom: 0;
}

.pl-section:last-of-type .pl-section__inner {
  padding-bottom: 4rem;
}

/* ----- Footer (comme FooterSection) ----- */
.pl-footer {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.pl-footer__bg {
  position: absolute;
  inset: 0;
  background-image: url("/Footer.jpg");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.35;
}

.pl-footer__inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
@media (min-width: 640px) {
  .pl-footer__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .pl-footer__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.pl-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .pl-footer__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.pl-footer__logo img {
  height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}
.pl-footer__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 24rem;
}

.pl-footer h3 {
  margin: 0 0 1rem;
  font-family: "Dinosaur", "Montserrat", sans-serif;
  font-size: 1.125rem;
  color: #fff;
}

.pl-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pl-footer__list li {
  margin-bottom: 0.5rem;
}
.pl-footer__list a {
  font-size: 0.875rem;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}
.pl-footer__list a:hover {
  color: #fb923c;
}

.pl-footer__social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pl-footer__social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.15s;
}
.pl-footer__social a:hover {
  background: var(--pl-orange);
  color: #fff;
  transform: scale(1.05);
}
.pl-footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.pl-footer__contact {
  font-size: 0.875rem;
  color: #d1d5db;
  line-height: 1.6;
}
.pl-footer__contact p {
  margin: 0 0 0.25rem;
}

.pl-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
}
.pl-footer__copyright {
  margin: 0;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
}
@media (min-width: 640px) {
  .pl-footer__copyright {
    text-align: left;
  }
}
