/* ══════════════════════════════════════════════════════════════
   bcorp — CSS partagé des pages services piliers SEO
   Chargé par : /services/creation-site-internet.php
                /services/graphisme.php
                /services/social-media.php
   ══════════════════════════════════════════════════════════════ */

body { background: #ffffff; margin: 0; }

/* ── Layout split identique au reste du site ── */
.service-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 16px;
  gap: 16px;
}
.service-panel {
  background: #2e7dff;
  border-radius: 28px;
  min-height: 62vh;
  padding: 32px 28px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  view-transition-name: hero-panel;
}
.service-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.12) 0, transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,0.06) 0, transparent 45%);
  pointer-events: none;
}
.service-back {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 400;
  color: #1a1a1a; text-decoration: none;
  padding: 14px 22px 14px 18px; background: #ffffff; border-radius: 100px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1); z-index: 3;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.service-back i { font-size: 1rem; transition: transform 0.25s; }
.service-back:hover { transform: translateX(-6px); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
.service-back:hover i { transform: translateX(-3px); }
.service-panel-logo {
  height: clamp(280px, 56vh, 520px);
  width: auto; max-width: 92%;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.15));
  view-transition-name: hero-logo;
  position: relative; z-index: 2;
  will-change: transform;
}
.service-panel-legal {
  position: absolute; bottom: 24px; left: 28px;
  display: flex; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; font-weight: 600;
  color: rgba(255,255,255,0.6);
  z-index: 3;
}
.service-panel-legal a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.service-panel-legal a:hover { color: #ffffff; }
.service-panel-legal .sep { opacity: 0.4; }

/* Mobile : panel-legal centré pour éviter le chevauchement */
@media (max-width: 899.98px) {
  .service-panel-legal {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.62rem;
    gap: 8px;
  }
  .service-panel-legal a { white-space: nowrap; }
}

.service-content {
  padding: 32px 20px 60px;
  width: 100%;
  view-transition-name: right-content;
}

/* ── Eyebrow + titre ── */
.service-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #999;
  margin-bottom: 10px;
  display: inline-flex; align-items: center; gap: 10px;
}
.service-eyebrow::before { content: ''; width: 20px; height: 1px; background: #ccc; }

.service-title {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 900; letter-spacing: -0.045em;
  line-height: 1.02; margin: 0 0 18px;
  color: #1a1a1a;
}
.service-title .accent { color: #2e7dff; }

.service-intro-lead {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  color: #666;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 28px;
}

/* ── Section générique ── */
.service-section { margin-top: 48px; }
.service-section h2 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 900; letter-spacing: -0.035em;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.15;
}
.service-section p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.7;
  margin: 0 0 14px;
  max-width: 620px;
}
.service-section p.lead-paragraph {
  font-size: 1rem;
  color: #333;
}
.service-section strong { color: #1a1a1a; font-weight: 700; }

/* ── Cartes : ce que je fais ── */
.offer-cards {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.offer-card {
  border: 1px solid #e1e3e4;
  border-radius: 16px;
  padding: 22px 22px;
  background: #ffffff;
  transition: border-color 0.2s, transform 0.2s;
}
.offer-card:hover { border-color: #1a1a1a; transform: translateY(-2px); }
.offer-card h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.offer-card p {
  font-size: 0.9rem; color: #555; line-height: 1.6;
  margin: 0;
}

/* ── Processus en étapes ── */
.steps-list {
  list-style: none; padding: 0; margin: 24px 0 0;
  counter-reset: step;
}
.steps-list li {
  padding: 18px 0 18px 58px;
  position: relative;
  border-bottom: 1px solid #e1e3e4;
  counter-increment: step;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 18px;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 0.82rem; font-weight: 900;
  color: #2e7dff;
  letter-spacing: 0.04em;
}
.steps-list h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1rem; font-weight: 900;
  color: #1a1a1a; margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.steps-list p {
  font-size: 0.9rem; color: #555; line-height: 1.6;
  margin: 0; max-width: 560px;
}

/* ── Liste "ce qui est inclus" (coche bleue) ── */
.included-list {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: grid; gap: 10px;
}
.included-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: 0.93rem; color: #333;
  line-height: 1.5;
}
.included-list li::before {
  content: ''; position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  background: #2e7dff;
  border-radius: 50%;
}
.included-list li::after {
  content: ''; position: absolute;
  left: 4px; top: 19px;
  width: 8px; height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

/* ── Encart éthique / mise en avant ── */
.ethic-block {
  margin-top: 24px;
  padding: 26px 24px;
  background: #f7f7f5;
  border-radius: 18px;
  border-left: 3px solid #2e7dff;
}
.ethic-block p { margin: 0 0 10px; font-size: 0.95rem; color: #333; }
.ethic-block p:last-child { margin: 0; }

/* ── Grille écosystème (au-delà du service) ── */
.beyond-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin-top: 18px;
  max-width: 620px;
}
.beyond-grid span {
  font-size: 0.88rem; color: #444;
  padding: 8px 0;
  border-bottom: 1px dashed #e1e3e4;
}

/* ── Colonnes print/digital ── */
.supports-columns {
  display: grid;
  gap: 24px;
  margin-top: 18px;
}
.supports-columns h3 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2e7dff;
  margin: 0 0 12px;
}
.supports-columns ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.supports-columns li {
  font-size: 0.9rem; color: #444;
  padding: 6px 0;
  border-bottom: 1px dashed #e1e3e4;
}
.supports-columns li:last-child { border-bottom: none; }

/* ── FAQ accordéon ── */
.faq-list { margin-top: 22px; border-top: 1px solid #e1e3e4; }
.faq-item { border-bottom: 1px solid #e1e3e4; }
.faq-q {
  all: unset; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 1rem; font-weight: 800;
  color: #1a1a1a;
  gap: 16px;
}
.faq-q:hover { color: #2e7dff; }
.faq-q i {
  font-size: 1rem; color: #888;
  transition: transform 0.25s cubic-bezier(0.76, 0, 0.24, 1);
  flex-shrink: 0;
}
.faq-item.open .faq-q i { transform: rotate(45deg); color: #2e7dff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner {
  padding: 0 0 22px;
  font-size: 0.93rem; color: #555; line-height: 1.7;
  max-width: 640px;
}

/* ── CTA final ── */
.final-cta {
  margin-top: 56px;
  padding: 34px 28px;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 22px;
  text-align: left;
}
.final-cta h2 {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900; letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 10px;
}
.final-cta p {
  font-size: 0.95rem; color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 540px;
}
.final-cta .btn-big {
  display: inline-flex; align-items: center; gap: 12px;
  background: #2e7dff; color: #ffffff;
  padding: 18px 28px;
  border-radius: 14px;
  text-decoration: none; font-weight: 700; font-size: 0.98rem;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.final-cta .btn-big:hover { background: #1a5fd6; color: #ffffff; transform: translateY(-2px); }
.final-cta .btn-big i { font-size: 1rem; transition: transform 0.25s; }
.final-cta .btn-big:hover i { transform: translateX(4px); }

/* ── Desktop ── */
@media (min-width: 900px) {
  .service-page { flex-direction: row; padding: 24px; gap: 24px; align-items: stretch; }
  .service-panel { flex: 0 0 50%; min-height: calc(100vh - 48px); border-radius: 36px; padding: 48px; }
  .service-panel-logo { height: clamp(340px, 55vh, 560px); }
  .service-content {
    flex: 1;
    padding: 64px 64px 80px;
    overflow-y: auto;
    max-height: calc(100vh - 48px);
    scrollbar-width: thin;
  }
  .service-content::-webkit-scrollbar { width: 6px; }
  .service-content::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }
  .offer-cards { grid-template-columns: repeat(3, 1fr); }
  .service-section { margin-top: 64px; }
  .supports-columns { grid-template-columns: 1fr 1fr; gap: 48px; }
}
