/* =============================================
   PAGE — Layout commun aux pages services
   ============================================= */

/* Hero page interne */
.ph {
  position: relative;
  z-index: 1;
  padding: 160px 64px 100px;
  background: var(--bg);
}

.ph-inner {
  max-width: 760px;
}

.ph-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.ph-tag a {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--blue);
  text-transform: uppercase;
  text-decoration: none;
}

.ph-tag a:hover { opacity: .7; }

.ph-tag span {
  font-size: 10px;
  color: var(--mut);
}

.ph h1 {
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: .95;
  color: var(--text);
  margin-bottom: 24px;
}

.ph h1 em {
  color: var(--blue);
  font-style: normal;
}

.ph-sub {
  font-size: 18px;
  color: var(--mut);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 36px;
}

/* Section générique */
.ps {
  position: relative;
  z-index: 1;
  padding: 80px 64px;
}

.ps.white { background: var(--white); }
.ps.bg    { background: var(--bg); }
.ps.blue  { background: var(--blue); }

.ps-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ps-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ps.blue .ps-tag { color: rgba(255,255,255,.6); }

.ps h2 {
  font-size: clamp(26px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text);
  margin-bottom: 48px;
}

.ps.blue h2 { color: #fff; }

/* Feature grid */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat {
  background: var(--white);
  border: 1.5px solid var(--bdr);
  border-radius: 14px;
  padding: 28px 26px;
  transition: all .3s;
}

.feat:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(0,129,204,.1);
  transform: translateY(-3px);
}

.feat-ico {
  font-size: 24px;
  margin-bottom: 14px;
}

.feat h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feat p {
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.7;
}

/* Process steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--bdr);
}

.step:last-child { border-bottom: none; }

.step-n {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--blue);
  min-width: 24px;
  padding-top: 3px;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step p {
  font-size: 14px;
  color: var(--mut);
  line-height: 1.7;
}

/* 2-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.rev { direction: rtl; }
.two-col.rev > * { direction: ltr; }

/* CTA block */
.pcta-block {
  background: var(--blue);
  border-radius: 20px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pcta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pcta-block > * { position: relative; z-index: 1; }

.pcta-block h2 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 14px;
}

.pcta-block p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Buttons — hero des pages services */
.bp {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue);
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .4px;
  transition: all .25s;
  box-shadow: 0 6px 24px rgba(0,129,204,.28);
}

.bp:hover {
  background: var(--dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,78,122,.3);
}

.bs {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(0,129,204,.3);
  letter-spacing: .4px;
  transition: all .25s;
  background: rgba(0,129,204,.04);
}

.bs:hover {
  border-color: var(--blue);
  background: rgba(0,129,204,.1);
}

.bw {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--blue);
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .4px;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}

.bw:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}

/* Responsive */
@media (max-width: 768px) {
  .ph, .ps { padding-left: 20px; padding-right: 20px; }
  .ph { padding-top: 120px; }
  .feat-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.rev { direction: ltr; }
  .pcta-block { padding: 40px 24px; }
}
