:root {
  --pd-primary: #1B2F6E;
  --pd-blue-medium: #2D4FC0;
  --pd-orange: #F26522;
  --pd-white: #FFFFFF;
  --pd-bg-light: #F7F8FA;
  --pd-text-secondary: #6B7280;
  --pd-text: #111827;
}

html { scroll-behavior: smooth; }

body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif; color: var(--pd-text); line-height: 1.6; }

/* ─── NAVBAR ─── */
.pd-navbar {
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid #E5E7EB;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: box-shadow .2s;
}

.pd-navbar.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,.06); }

.pd-navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--pd-primary);
  font-size: 1.1rem;
  text-decoration: none;
}

.pd-navbar__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--pd-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
}

.pd-navbar__nav {
  display: flex;
  gap: 32px;
}

.pd-navbar__nav a {
  color: var(--pd-text);
  font-weight: 500;
  font-size: .95rem;
  transition: color .2s;
  text-decoration: none;
}

.pd-navbar__nav a:hover { color: var(--pd-primary); }

.pd-navbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pd-navbar__phone {
  color: var(--pd-primary);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.pd-navbar__cta {
  background: var(--pd-orange);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
  display: inline-block;
}

.pd-navbar__cta:hover { background: #D85518; }

/* ─── HERO + FORM ─── */
.pd-hero {
  background: var(--pd-primary);
  color: white;
  padding: 80px 24px;
  text-align: center;
}

.pd-hero__label {
  color: var(--pd-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pd-hero__title {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
  color: white;
}

.pd-hero__subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pd-hero__form-wrapper {
  background: white;
  padding: 32px;
  border-radius: 12px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.pd-form-row {
  display: flex;
  gap: 12px;
}

.pd-form-row .pd-input {
  flex: 1;
  padding: 14px 18px 14px 44px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
}

.pd-form-row .pd-input-wrap {
  flex: 1;
  position: relative;
}

.pd-form-row .pd-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--pd-orange);
}

.pd-btn-primary {
  background: var(--pd-orange);
  color: white !important;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.pd-btn-primary:hover { background: #D85518; }

.pd-form-rgpd {
  color: #9CA3AF;
  font-size: 0.75rem;
  margin-top: 12px;
}

.pd-form-rgpd a { color: var(--pd-orange); text-decoration: none; }
.pd-form-rgpd a:hover { text-decoration: underline; }

.pd-form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pd-chip {
  background: #F7F8FA;
  border: 1px solid #E5E7EB;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
}

.pd-chip.active, .pd-chip:hover {
  background: var(--pd-orange);
  color: white;
  border-color: var(--pd-orange);
}

/* ─── STATBAR ─── */
.pd-statbar {
  background: var(--pd-bg-light);
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.pd-stat-item {
  padding: 16px;
}

.pd-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pd-orange);
  display: block;
}

.pd-stat-label {
  color: var(--pd-text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ─── OFFER CARD ─── */
.pd-offer-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  transition: all .2s;
  position: relative;
}

.pd-offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.pd-offer-card__operator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.pd-operator-badge {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1rem;
}

.pd-operator-badge--bouygues { background: #00ABE7; }
.pd-operator-badge--sfr { background: #E2001A; }
.pd-operator-badge--orange { background: #FF7900; }
.pd-operator-badge--free { background: #CD0066; }
.pd-operator-badge--sosh { background: #FFC700; color: #1a1a1a; }
.pd-operator-badge--red { background: #C8002C; }

.pd-offer-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pd-offer-card__badge--top {
  background: var(--pd-orange);
  color: white;
}

.pd-offer-card__badge--promo {
  background: var(--pd-primary);
  color: white;
}

.pd-offer-card__badge--premium {
  background: #7C3AED;
  color: white;
}

.pd-offer-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--pd-text);
}

.pd-offer-card__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--pd-bg-light);
  border-radius: 8px;
}

.pd-spec-item {
  text-align: center;
}

.pd-spec-item span {
  display: block;
  color: var(--pd-text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pd-spec-item strong {
  display: block;
  font-weight: 800;
  color: var(--pd-text);
  margin-top: 2px;
}

.pd-offer-card__price {
  margin-bottom: 16px;
}

.pd-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pd-orange);
}

.pd-price-unit {
  color: var(--pd-text-secondary);
  font-size: 1rem;
}

.pd-price-promo {
  font-size: 0.85rem;
  color: var(--pd-text-secondary);
  margin-top: 4px;
}

.pd-offer-card__details {
  font-size: 0.85rem;
  color: var(--pd-text-secondary);
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid #E5E7EB;
}

.pd-offer-card__actions {
  display: flex;
  gap: 8px;
}

.pd-btn-callback {
  flex: 1;
  background: white;
  border: 1px solid var(--pd-primary);
  color: var(--pd-primary);
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  text-align: center;
}

.pd-btn-callback:hover {
  background: var(--pd-primary);
  color: white;
}

.pd-btn-view {
  flex: 1;
  background: var(--pd-orange);
  color: white !important;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-btn-view:hover { background: #D85518; }

/* ─── STEPS ─── */
.pd-steps {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pd-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pd-step {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  text-align: center;
}

.pd-step__num {
  width: 48px;
  height: 48px;
  background: var(--pd-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  margin: 0 auto 20px;
}

.pd-step h3 {
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--pd-text);
}

.pd-step p {
  color: var(--pd-text-secondary);
  margin: 0;
}

/* ─── FAQ ACCORDION ─── */
.pd-faq {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pd-faq__item {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.pd-faq__q {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--pd-text);
  background: white;
  border: none;
  width: 100%;
}

.pd-faq__q:hover { background: var(--pd-bg-light); }

.pd-faq__toggle {
  display: inline-block;
  transition: transform .2s;
}

.pd-faq__item.open .pd-faq__toggle {
  transform: rotate(180deg);
}

.pd-faq__a {
  padding: 0 24px 20px;
  color: var(--pd-text-secondary);
  line-height: 1.6;
  display: none;
}

.pd-faq__item.open .pd-faq__a {
  display: block;
}

/* ─── CTA BANNER ─── */
.pd-cta-banner {
  background: var(--pd-primary);
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.pd-cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 0 0 24px;
  color: white;
}

.pd-cta-banner__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.pd-cta-banner .pd-btn-primary {
  padding: 16px 32px;
  font-size: 1rem;
}

.pd-cta-banner .pd-btn-outline {
  background: transparent;
  color: white !important;
  border: 2px solid white;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}

.pd-cta-banner .pd-btn-outline:hover {
  background: white;
  color: var(--pd-primary) !important;
}

.pd-cta-banner__hours {
  color: rgba(255,255,255,.7);
  font-size: 0.85rem;
  margin-top: 16px;
}

/* ─── FOOTER ─── */
.pd-footer {
  background: #111827;
  color: white;
  padding: 64px 24px 24px;
}

.pd-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.pd-footer h4 {
  color: var(--pd-orange);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pd-footer a {
  color: #9CA3AF;
  display: block;
  padding: 4px 0;
  transition: color .2s;
  text-decoration: none;
}

.pd-footer a:hover { color: white; }

.pd-footer__legal {
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
  color: #6B7280;
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── SECTIONS GLOBALES ─── */
.pd-section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pd-section--light {
  background: var(--pd-bg-light);
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
}

.pd-section__label {
  color: var(--pd-orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pd-section__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--pd-text);
  margin: 0 0 16px;
}

.pd-section__subtitle {
  color: var(--pd-text-secondary);
  font-size: 1.125rem;
  margin-bottom: 48px;
  max-width: 700px;
}

/* ─── GRIDS ─── */
.pd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pd-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* ─── CARDS GÉNÉRIQUES ─── */
.pd-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all .2s;
}

.pd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.pd-card__icon {
  width: 48px;
  height: 48px;
  color: var(--pd-orange);
  margin-bottom: 16px;
}

.pd-card h3 {
  font-weight: 800;
  margin: 0 0 8px;
}

.pd-card p {
  color: var(--pd-text-secondary);
}

/* ─── INFO BOX ─── */
.pd-info-box {
  background: #EFF6FF;
  border-left: 4px solid var(--pd-primary);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.pd-info-box__title {
  color: var(--pd-primary);
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-info-box p {
  color: var(--pd-text-secondary);
  margin: 0;
}

/* ─── TABLE COMPARATIF ─── */
.pd-table {
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  border-collapse: collapse;
}

.pd-table th {
  background: var(--pd-primary);
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 700;
}

.pd-table td {
  padding: 16px;
  border-bottom: 1px solid #E5E7EB;
}

.pd-table tr:hover {
  background: var(--pd-bg-light);
}

.pd-table__price {
  font-weight: 900;
  color: var(--pd-orange);
  font-size: 1.1rem;
}

/* ─── HIDE OLD ASTRA HEADER ─── */
.ast-builder-html-element, .ast-primary-header-bar { display: none !important; }
.ast-builder-grid-row-container, .site-content { padding-top: 0 !important; }
.ast-footer-copyright { display: none !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .pd-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pd-statbar { grid-template-columns: repeat(2, 1fr); }
  .pd-steps__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pd-hero { padding: 48px 16px; }
  .pd-form-row { flex-direction: column; }
  .pd-grid-3, .pd-grid-4, .pd-grid-2 { grid-template-columns: 1fr; }
  .pd-steps__grid { grid-template-columns: 1fr; }
  .pd-footer__grid { grid-template-columns: 1fr; }
  .pd-navbar__nav { display: none; }
  .pd-section__title { font-size: 1.75rem; }
  .pd-cta-banner h2 { font-size: 1.75rem; }
  .pd-cta-banner__buttons { flex-direction: column; }
  .pd-statbar { grid-template-columns: 1fr; }
}