:root{
  /* Palette inspirée du logo */
  --pd-orange:#F36A1C;
  --pd-orange-2:#FF8A3D;
  --pd-blue:#0B4F86;
  --pd-blue-2:#1C6AA8;
  --pd-sun:#F7B733;

  --pd-ink:#132235;
  --pd-text:#2B2F36;
  --pd-muted:#6B7280;

  --pd-bg:#FFF9F4;
  --pd-card:#FFFFFF;
  --pd-border:rgba(19,34,53,0.12);
  --pd-shadow: 0 10px 30px rgba(19,34,53,0.10);
  --pd-radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color:var(--pd-text);
  background:var(--pd-bg);
}

/* Layout */
.pd-container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

/* Header */
.pd-header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--pd-border);
}
.pd-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}

.pd-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.pd-brand__logo{
  height:44px;
  width:auto;
  display:block;
}
.pd-brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.pd-kicker{
  font-size:11px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--pd-muted);
}
.pd-brand__name{
  font-weight:900;
  letter-spacing:.02em;
  color:var(--pd-ink);
}

.pd-nav{
  display:none;
  align-items:center;
  gap:18px;
  font-size:14px;
}
.pd-nav__link{
  color:var(--pd-text);
  text-decoration:none;
  opacity:.85;
}
.pd-nav__link:hover{ opacity:1; color:var(--pd-blue); }
.pd-nav__cta{
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(11,79,134,.18);
  background:linear-gradient(135deg, var(--pd-blue), var(--pd-blue-2));
  color:#fff;
  box-shadow: 0 8px 22px rgba(11,79,134,0.22);
}
.pd-nav__cta:hover{ filter:brightness(1.04); }

/* Burger */
.pd-burger{
  display:inline-flex;
  flex-direction:column;
  gap:5px;
  padding:10px;
  border-radius:999px;
  border:1px solid var(--pd-border);
  background:#fff;
  cursor:pointer;
}
.pd-burger span{
  width:18px;
  height:2px;
  background:var(--pd-ink);
  display:block;
}

/* Mobile menu */
.pd-mobile{
  border-top:1px solid var(--pd-border);
  background:#fff;
}
.pd-mobile__inner{
  display:flex;
  flex-direction:column;
  padding:10px 0 14px;
  gap:8px;
}
.pd-mobile__link{
  padding:10px 0;
  text-decoration:none;
  color:var(--pd-text);
}
.pd-mobile__cta{
  margin-top:6px;
  text-align:center;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:12px 14px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--pd-orange), var(--pd-orange-2));
  color:#fff;
  box-shadow: 0 10px 26px rgba(243,106,28,0.22);
}

@media (min-width: 860px){
  .pd-nav{ display:flex; }
  .pd-burger{ display:none; }
}

/* Hero */
.pd-hero{
  position:relative;
  padding:56px 0 54px;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(11,79,134,.10), rgba(243,106,28,.10));
}
.pd-hero__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 15% 20%, rgba(247,183,51,.22), transparent 60%),
    radial-gradient(900px 420px at 85% 30%, rgba(243,106,28,.20), transparent 60%),
    radial-gradient(900px 420px at 55% 85%, rgba(11,79,134,.18), transparent 60%);
  pointer-events:none;
}
.pd-hero__inner{
  position:relative;
  display:grid;
  z-index: 1;
  gap:18px;
  grid-template-columns:1fr;
  align-items:start;
}
/* Landing only: hero en 1 colonne même en desktop */
@media (min-width: 920px){
  .pd-hero__inner{ grid-template-columns: 1fr; }
}

.pd-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(247,183,51,.35);
  color:var(--pd-ink);
  font-weight:800;
  width:fit-content;
  margin:0;
}

.pd-h1{
  margin:14px 0 10px;
  font-size:clamp(30px, 3.6vw, 52px);
  line-height:1.05;
  letter-spacing:-0.02em;
  color:var(--pd-ink);
}
.pd-h1__accent{
  display:block;
  margin-top:8px;
  color:var(--pd-blue);
  text-shadow: 0 6px 24px rgba(11,79,134,.12);
}

.pd-lead{
  margin:0;
  font-size:16px;
  line-height:1.65;
  color:rgba(19,34,53,.82);
  max-width:62ch;
}

.pd-hero__ctas{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:18px;
}
@media (min-width: 520px){
  .pd-hero__ctas{ flex-direction:row; align-items:center; }
}

.pd-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  border:1px solid transparent;
}

.pd-btn--primary{
  background:linear-gradient(135deg, var(--pd-orange), var(--pd-orange-2));
  color:#fff;
  box-shadow: 0 12px 30px rgba(243,106,28,.24);
}
.pd-btn--primary:hover{ filter:brightness(1.03); }

.pd-btn--ghost{
  background:rgba(255,255,255,.60);
  border-color:rgba(11,79,134,.22);
  color:var(--pd-blue);
}
.pd-btn--ghost:hover{ background:#fff; }

.pd-btn--ghostLight{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.22);
  color:#fff;
}
.pd-btn--ghostLight:hover{ background:rgba(255,255,255,.18); }

.pd-hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}
.pd-badge{
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.65);
  border:1px solid rgba(19,34,53,.10);
  font-size:12px;
  color:rgba(19,34,53,.78);
}

.pd-hero__card{
  background:var(--pd-card);
  border:1px solid var(--pd-border);
  border-radius:var(--pd-radius);
  box-shadow: var(--pd-shadow);
  padding:18px 18px 16px;
}
.pd-card__title{
  margin:0 0 10px;
  color:var(--pd-ink);
  font-size:16px;
  letter-spacing:.02em;
}
.pd-list{
  margin:0;
  padding-left:16px;
  color:rgba(19,34,53,.86);
  line-height:1.75;
}
.pd-card__note{
  margin:10px 0 0;
  font-size:13px;
  color:var(--pd-muted);
}

/* Sections */
.pd-section{
  background: var(--pd-bg); /* ou #fff si tu veux plus net */
  padding:56px 0;
}

.pd-section--alt{
  background:rgba(11,79,134,.06);
  border-top:1px solid var(--pd-border);
  border-bottom:1px solid var(--pd-border);
}

.pd-section--story{
  padding: 22px 0 40px;
  background: var(--pd-bg);
}

.pd-grid-2{
  display:grid;
  gap:18px;
  grid-template-columns:1fr;
  align-items:start;
}
@media (min-width: 900px){
  .pd-grid-2{ grid-template-columns:1fr 1fr; gap:22px; }
}

.pd-h2{
  margin:10px 0 10px;
  font-size:clamp(22px, 2.2vw, 34px);
  letter-spacing:-0.01em;
  color:var(--pd-ink);
  line-height:1.15;
}
.pd-h3{
  margin:0 0 10px;
  font-size:16px;
  color:var(--pd-ink);
}

.pd-text{
  margin:0 0 10px;
  color:rgba(43,47,54,.86);
  line-height:1.75;
  font-size:15px;
}
.pd-center{ text-align:center; }

.pd-panel{
  background:#fff;
  border:1px solid var(--pd-border);
  border-radius:var(--pd-radius);
  padding:18px;
  box-shadow: 0 8px 22px rgba(19,34,53,0.08);
}

.pd-checks{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pd-checks li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.55;
  color:rgba(19,34,53,.88);
}
.pd-checks li span{
  color:var(--pd-sun);
  font-weight:900;
  margin-top:1px;
}

/* Steps */
.pd-steps{
  margin-top:20px;
  display:grid;
  gap:14px;
  grid-template-columns:1fr;
}
@media (min-width: 680px){
  .pd-steps{ grid-template-columns:1fr 1fr; }
}
@media (min-width: 1020px){
  .pd-steps{ grid-template-columns:repeat(4, 1fr); }
}
.pd-step{
  background:#fff;
  border:1px solid var(--pd-border);
  border-radius:var(--pd-radius);
  padding:16px;
}

/* =========================================================
   Mobile optimisations (petitsdej.fr)
   Objectif : lisibilité, confort tactile, rythme vertical
   ========================================================= */

html {
  scroll-padding-top: 84px; /* évite que les ancres passent sous le header sticky */
}

@media (max-width: 860px){
  .pd-header__inner{
    padding: 10px 0;
    gap: 12px;
  }

  .pd-brand__logo{
    height: 38px;
  }

  .pd-brand__name{
    font-size: 14px;
  }

  /* Menu mobile : plus "tap-friendly" */
  .pd-mobile__link{
    padding: 12px 0;
    font-size: 15px;
  }
  .pd-mobile__cta{
    padding: 14px 16px;
  }
}

@media (max-width: 680px){
  /* Rythme vertical plus compact */
  .pd-section{ padding: 40px 0; }
  .pd-hero{ padding: 42px 0 40px; }

  /* Titres un peu plus denses sur petit écran */
  .pd-h1{ letter-spacing: -0.015em; }
  .pd-lead{ font-size: 15px; }

  /* Boutons : largeur confortable */
  .pd-hero__ctas{ gap: 10px; }
  .pd-btn{
    width: 100%;
    padding: 14px 16px;
  }

  /* Badges : meilleur wrapping */
  .pd-badge{
    font-size: 11px;
    padding: 7px 9px;
  }

  /* Cartes/panneaux : padding un peu réduit */
  .pd-hero__card,
  .pd-panel{
    padding: 16px;
  }

  /* Steps : mieux respirer */
  .pd-step{
    padding: 14px;
  }

  /* Kicker : un peu plus lisible */
  .pd-kicker{
    letter-spacing: .20em;
  }
}

@media (max-width: 520px){
  /* Le pill du hero : un peu plus compact */
  .pd-pill{
    font-size: 12px;
    padding: 7px 10px;
  }

  /* Footer */
  .pd-footer__inner{
    font-size: 12px;
    gap: 8px;
  }

  /* Screenshot : meilleure lisibilité sur mobile (limite la hauteur) */
  .pd-screenshot{
    width: 100%;
    height: auto;
    max-height: 72vh;
    object-fit: contain;
    display: block;
  }
}

/* Amélioration légère du focus (accessibilité clavier) */
.pd-btn:focus-visible,
.pd-nav__link:focus-visible,
.pd-nav__cta:focus-visible,
.pd-mobile__link:focus-visible,
.pd-mobile__cta:focus-visible{
  outline: 3px solid rgba(247,183,51,.55);
  outline-offset: 2px;
}

.pd-hero__media img,
.pd-storyCard img,
.pd-personaMedia img{
  transform: scale(1.02);
}

.pd-hero__media::after,
.pd-storyCard::after,
.pd-personaMedia::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}
.pd-hero__content--wide{
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pd-hero__content--wide .pd-hero__ctas{
  justify-content: center;
}

.pd-hero__content--wide .pd-hero__badges{
  justify-content: center;
}
.pd-storyCard{
  position: relative;
}

.pd-ratingIcon{
  font-size: 14px;
}
.pd-ratingText{
  font-weight: 500;
  font-size: 12px;
  opacity: .95;
}

.pd-ratingBadge{
  position:absolute;
  right:12px;
  bottom:12px;
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:14px;
  background: rgba(12, 20, 36, 0.65);
  color:#fff;
  font-size:13px;
  line-height:1;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

.pd-ratingStars{ letter-spacing: 1px; }

.pd-header__inner{
  display: flex;
  align-items: center;
}

.pd-brand--centered{
  margin: 0 auto;
}
.map-legend {
  background: white;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.85em;
  box-shadow: 0 1px 6px rgba(0,0,0,.2);
}
.map-legend img {
  vertical-align: middle;
  margin-right: 4px;
}

/* ============================================
   COMMON STYLES FOR PAGE LAYOUTS
   ============================================ */

/* Typography */
a { color: inherit; text-decoration: none; }

h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 12px 0 8px;
  font-size: clamp(30px, 4.4vw, 44px);
}
h1 span { color: var(--pd-orange); }

h2 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 0;
}

/* Main content wrapper */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 18px 54px;
}

/* Hero section */
.hero {
  background:
    radial-gradient(900px 480px at 20% 10%, rgba(255,255,255,.80), rgba(255,255,255,.00) 60%),
    radial-gradient(900px 480px at 90% 0%, rgba(255,255,255,.55), rgba(255,255,255,.00) 55%);
  border: 1px solid rgba(75,47,36,.08);
  border-radius: calc(var(--pd-radius) + 6px);
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
  padding: 18px;
  overflow: hidden;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(75,47,36,.12);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--pd-muted);
}

.lead {
  margin: 0 0 14px;
  color: var(--pd-muted);
  font-size: 16px;
  max-width: 70ch;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.badge {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(75,47,36,.12);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  font-weight: 650;
}

/* Grid layout */
.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
}

/* Card links */
.cardLink {
  text-decoration: none;
  display: block;
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: calc(var(--pd-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--pd-shadow);
  transform: translateY(0);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.cardLink:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border-color: rgba(217,120,43,.35);
}

.cardImg {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background: #ddd;
}

@media (max-width: 860px) {
  .cardImg { height: 240px; }
}

.cardBody {
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(244,239,231,.66), rgba(244,239,231,.22));
}

.cardPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(75,47,36,.12);
  background: rgba(255,255,255,.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pd-muted);
}

.cardTitle {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin: 10px 0 6px;
  font-size: 20px;
  color: var(--pd-ink);
}

.cardText {
  margin: 0 0 12px;
  color: var(--pd-muted);
  font-size: 14px;
  max-width: 62ch;
}

.ctaRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-weight: 850;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 22px rgba(0,0,0,.10);
  background: var(--pd-orange);
  color: #fff;
}

.cta:hover { filter: brightness(1.05); }

.arrow { font-weight: 900; }

.miniLinks {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: var(--pd-muted);
  font-size: 13px;
}

.miniLinks a {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 26px;
  color: var(--pd-muted);
  font-size: 12px;
}
