/* ============================================================
   À PROPOS — Template PhoneHS Apple
   ============================================================ */

/* ====== HERO ====== */
.phs-ap-hero {
  background: #0a0a0a;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.phs-ap-hero-inner {
  padding: 80px 60px 80px max(40px, calc((100vw - 1200px) / 2 + 40px));
}
.phs-ap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,113,227,0.15);
  color: #5ac8fa;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.phs-ap-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 18px;
}
.phs-ap-hero h1 span {
  color: #5ac8fa;
}
.phs-ap-hero p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 480px;
}
.phs-ap-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white !important;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* Hero image */
.phs-ap-hero-visual {
  height: 100%;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.phs-ap-hero-img-wrap {
  position: absolute;
  inset: 0;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phs-ap-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}
.phs-ap-hero-img-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1117 0%, #1a2035 100%);
}

/* ====== STATS ====== */
.phs-ap-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #0071e3;
  padding: 0;
}
.phs-ap-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.phs-ap-stat:last-child { border-right: none; }
.phs-ap-stat-num {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}
.phs-ap-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ====== SECTIONS COMMUNES ====== */
.phs-ap-section {
  padding: 80px 40px;
}
.phs-ap-section-header {
  text-align: center;
  margin-bottom: 52px;
}
.phs-ap-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}
.phs-ap-section-header p {
  color: #666;
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.phs-ap-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0071e3;
  margin-bottom: 8px;
}
.phs-ap-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.phs-ap-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 20px;
}
.phs-ap-text p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.phs-ap-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0071e3;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 12px;
}
.phs-ap-link:hover { text-decoration: underline; }

/* Image card */
.phs-ap-img-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #f0f0f2;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phs-ap-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phs-ap-img-empty {
  background: linear-gradient(135deg, #e8f0ff 0%, #f0e8ff 100%);
}
.phs-ap-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ====== VALEURS ====== */
.phs-ap-values {
  background: #f7f7f8;
}
.phs-ap-values-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.phs-ap-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.phs-ap-value-card {
  background: white;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1.5px solid #e8e8ea;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.phs-ap-value-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  border-color: #d5d5da;
}
.phs-ap-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.phs-ap-value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.phs-ap-value-card p {
  font-size: 0.87rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ====== RÉPARATION ====== */
.phs-ap-repair {
  background: #111;
}
.phs-ap-repair-inner {
  max-width: 900px;
  margin: 0 auto;
}
.phs-ap-repair .phs-ap-section-header h2,
.phs-ap-repair .phs-ap-section-header .phs-ap-eyebrow { color: white; }
.phs-ap-repair .phs-ap-eyebrow { color: #5ac8fa; }
.phs-ap-repair .phs-ap-section-header p { color: rgba(255,255,255,0.5); }
.phs-ap-repair-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.phs-ap-repair-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: background 0.2s;
}
.phs-ap-repair-item:hover { background: rgba(255,255,255,0.1); }
.phs-ap-repair-icon { font-size: 1.6rem; }
.phs-ap-repair-item span:last-child {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

/* ====== LOCALISATION ====== */
.phs-ap-location {
  background: white;
}
.phs-ap-location-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.phs-ap-location-info h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0 28px;
}
.phs-ap-address-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.phs-ap-addr-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f7f7f8;
  border-radius: 12px;
  padding: 16px 18px;
}
.phs-ap-addr-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,113,227,0.1);
  color: #0071e3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.phs-ap-addr-card strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #aaa;
  margin-bottom: 4px;
}
.phs-ap-addr-card p {
  font-size: 0.9rem;
  color: #1d1d1f;
  margin: 0;
  line-height: 1.5;
}
.phs-ap-addr-card a {
  color: #1d1d1f;
  text-decoration: none;
}
.phs-ap-addr-card a:hover { color: #0071e3; }
.phs-ap-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e8e8ea;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.phs-ap-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

/* ====== CTA FINAL ====== */
.phs-ap-cta {
  background: #f7f7f8;
  padding: 80px 40px;
  text-align: center;
}
.phs-ap-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.phs-ap-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.phs-ap-cta p {
  color: #666;
  font-size: 1rem;
  margin: 0 0 36px;
  line-height: 1.6;
}
.phs-ap-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .phs-ap-values-grid { grid-template-columns: repeat(2, 1fr); }
  .phs-ap-repair-grid { grid-template-columns: repeat(4, 1fr); }
  .phs-ap-location-inner { grid-template-columns: 1fr; gap: 32px; }
  .phs-ap-map iframe { height: 280px; }
}
@media (max-width: 768px) {
  .phs-ap-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .phs-ap-hero-inner {
    padding: 60px 24px 48px;
  }
  .phs-ap-hero-visual {
    height: 260px;
    min-height: 260px;
  }
  .phs-ap-stats { grid-template-columns: repeat(2, 1fr); }
  .phs-ap-stat { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .phs-ap-stat:nth-child(2n) { border-right: none; }
  .phs-ap-stat:nth-child(3), .phs-ap-stat:nth-child(4) { border-bottom: none; }
  .phs-ap-section { padding: 56px 24px; }
  .phs-ap-wrap { grid-template-columns: 1fr; gap: 36px; }
  .phs-ap-values-grid { grid-template-columns: 1fr; }
  .phs-ap-repair-grid { grid-template-columns: repeat(2, 1fr); }
  .phs-ap-cta { padding: 56px 24px; }
  .phs-ap-cta-btns { flex-direction: column; align-items: center; }
  .phs-ap-cta-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
}
