/* Page /about (préfixe ab-) — Design éditorial moderne, élégant & premium fidèle à la charte Prime Vision Solutions */

/* 1. HÉROS ÉDITORIAL */
.ab-hero {
  position: relative;
  padding-bottom: clamp(3.8rem, 6vw, 5.4rem);
  overflow: hidden;
}

.ab-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 68% 60% at 50% 36%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 68% 60% at 50% 36%, #000 20%, transparent 100%);
  animation: abMeshDrift 22s linear infinite;
}

.ab-kicker,
.ab-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.05rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ab-kicker {
  padding: .42rem 1rem;
  border-radius: 980px;
  background: rgba(11, 92, 255, .14);
  border: 1px solid rgba(77, 141, 255, .28);
  color: #7DB0FF;
}

.ab-dot {
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: #00B8FF;
  box-shadow: 0 0 0 0 rgba(0, 184, 255, .65);
  animation: abPulse 2.6s ease-out infinite;
}

.ab-eyebrow::before {
  content: "";
  width: 1.9rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #00B8FF);
}

.ab-hero h1 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.ab-grad {
  background: linear-gradient(110deg, #6EA8FF 0%, #00C8FF 55%, #8BE9FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ab-hero .lead {
  max-width: 62ch;
  margin-inline: auto;
}

.ab-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 58rem;
  margin: clamp(2.4rem, 4.5vw, 3.4rem) auto 0;
  padding: 0;
  text-align: left;
}

.ab-fact {
  position: relative;
  padding: 1.25rem 1.4rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .35s, background .35s;
}

.ab-fact:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 141, 255, .45);
  background: rgba(255, 255, 255, .065);
}

.ab-fact dd {
  margin: 0;
  display: grid;
  gap: .3rem;
}

.ab-fact strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(1.65rem, 2.7vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  background: linear-gradient(120deg, #FFFFFF 20%, #82B7FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ab-fact span {
  font-size: .9rem;
  line-height: 1.45;
  color: rgba(232, 238, 252, .74);
}

/* 2. PREMIER BLOC : NOTRE ADN & VISUEL COMPACT ARCHITECTURAL */
.ab-story {
  padding-block: clamp(4rem, 6.5vw, 5.8rem);
}

.ab-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 21.5rem);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

.ab-story-copy h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}

.ab-story-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 62ch;
}

.ab-story-copy p:last-child {
  margin-bottom: 0;
}

/* Conteneur image volontairement compact, raffiné et proportionné */
.ab-visual-wrap {
  width: 100%;
  max-width: 21.5rem; /* 344px max : image compacte et élégante */
  margin-inline: auto;
}

.ab-visual-card {
  position: relative;
  padding: .75rem;
  border-radius: 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -26px rgba(5, 11, 30, .2);
  isolation: isolate;
}

.ab-vis-glow {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 2rem;
  background: radial-gradient(circle at 70% 25%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%);
  filter: blur(18px);
  opacity: .85;
  pointer-events: none;
}

.ab-photo-frame {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 13.5rem; /* ~216px de haut max */
  background: var(--soft);
}

.ab-photo-frame .pic-c {
  display: block;
  width: 100%;
  height: 100%;
}

.ab-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.1rem;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.ab-visual-card:hover .ab-photo {
  transform: scale(1.045);
}

.ab-vis-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 980px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px -14px rgba(5, 11, 30, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}

.ab-vis-badge .ico-s {
  width: .95rem;
  height: .95rem;
  color: var(--accent);
  flex-shrink: 0;
}

.ab-vis-badge--top {
  margin-bottom: .6rem;
  animation: abFloatA 5.5s ease-in-out infinite;
}

.ab-vis-badge--bot {
  margin-top: .6rem;
  display: flex;
  justify-content: center;
  animation: abFloatB 6.2s ease-in-out infinite;
}

/* 3. BLOC NOS EXPERTISES — DESIGN BENTO PREMIUM, ENRICHI SEO, SANS PRIX */
.ab-exps-band {
  position: relative;
  scroll-margin-top: 4.5rem;
  overflow: hidden;
  padding-block: clamp(4.5rem, 7.5vw, 6.5rem);
}

.ab-exp-aura {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(640px circle at 12% 14%, rgba(11, 92, 255, .2), transparent 65%),
    radial-gradient(560px circle at 88% 82%, rgba(0, 184, 255, .14), transparent 65%);
}

.ab-exps-band .ab-eyebrow {
  color: #7DB0FF;
}

.ab-exp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.4rem);
}

.ab-exp-title h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: -.028em;
}

.ab-exp-intro {
  padding: 1.35rem 1.55rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .09);
  border-left: 3px solid #3B82F6;
}

.ab-exp-lead {
  margin: 0 0 .8rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(244, 247, 255, .94);
  font-weight: 500;
}

.ab-exp-seo {
  margin: 0;
  font-size: .93rem;
  line-height: 1.68;
  color: rgba(220, 230, 248, .74);
}

.ab-exp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ab-exp-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.55rem, 2.6vw, 2rem);
  border-radius: 1.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .022) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s, box-shadow .45s;
}

.ab-exp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(59, 130, 246, .2), transparent 65%);
  transition: opacity .4s;
  pointer-events: none;
}

.ab-exp-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.6rem;
  right: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 176, 255, .55), transparent);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.ab-exp-card:hover,
.ab-exp-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, .48);
  box-shadow: 0 28px 54px -30px rgba(0, 120, 255, .55);
}

.ab-exp-card:hover::before,
.ab-exp-card:focus-within::before,
.ab-exp-card:hover::after,
.ab-exp-card:focus-within::after {
  opacity: 1;
}

.ab-exp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.05rem;
}

.ab-exp-ic {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: .95rem;
  background: rgba(59, 130, 246, .16);
  border: 1px solid rgba(125, 176, 255, .25);
  color: #7DB0FF;
  transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), background .35s, color .35s, border-color .35s;
}

.ab-exp-ic .ico-s {
  width: 1.45rem;
  height: 1.45rem;
}

.ab-exp-card:hover .ab-exp-ic,
.ab-exp-card:focus-within .ab-exp-ic {
  transform: scale(1.08) rotate(-6deg);
  background: linear-gradient(135deg, #0B5CFF, #00A6FF);
  border-color: transparent;
  color: #FFFFFF;
}

.ab-exp-num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: .28rem .68rem;
  border-radius: 980px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  color: rgba(190, 212, 255, .68);
}

.ab-exp-card h3 {
  margin: 0 0 .65rem;
  font-size: 1.32rem;
  line-height: 1.22;
  letter-spacing: -.018em;
}

.ab-exp-title-link {
  color: #FFFFFF;
  text-decoration: none;
  transition: color .25s;
}

.ab-exp-title-link:hover,
.ab-exp-title-link:focus-visible {
  color: #82B7FF;
}

.ab-exp-desc {
  margin: 0 0 1.45rem;
  font-size: .96rem;
  line-height: 1.68;
  color: rgba(226, 234, 250, .78);
}

.ab-exp-foot {
  margin-top: auto;
  padding-top: .25rem;
}

.ab-exp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .68rem 1.25rem;
  border-radius: 980px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #FFFFFF;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
}

.ab-exp-btn svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .32s cubic-bezier(.2, .7, .2, 1);
}

.ab-exp-btn:hover,
.ab-exp-btn:focus-visible,
.ab-exp-card:hover .ab-exp-btn {
  background: linear-gradient(115deg, #0B5CFF, #0095FF);
  border-color: transparent;
  box-shadow: 0 12px 26px -10px rgba(11, 92, 255, .7);
}

.ab-exp-btn:hover svg,
.ab-exp-btn:focus-visible svg,
.ab-exp-card:hover .ab-exp-btn svg {
  transform: translateX(5px);
}

/* 4. MANIFESTE, VALEURS & GARANTIES */
.ab-vals-band {
  padding-block: clamp(4.2rem, 7vw, 6rem);
}

.ab-scrub {
  margin: 0 auto clamp(3.2rem, 5.5vw, 4.6rem);
}

.ab-vals-head {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.ab-vals-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  letter-spacing: -.025em;
}

.ab-val-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.ab-val-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.55rem;
  border-radius: 1.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: transform .42s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .4s;
}

.ab-val-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 13%, transparent), transparent 68%);
  transition: opacity .35s;
  pointer-events: none;
}

.ab-val-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 24px 46px -28px rgba(11, 92, 255, .42);
}

.ab-val-card:hover::before {
  opacity: 1;
}

.ab-val-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}

.ab-val-ic {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: .9rem;
  background: var(--soft);
  color: var(--accent);
  transition: background .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1);
}

.ab-val-ic .ico-s {
  width: 1.35rem;
  height: 1.35rem;
}

.ab-val-card:hover .ab-val-ic {
  background: var(--accent);
  color: var(--on-accent);
  transform: rotate(-6deg) scale(1.06);
}

.ab-val-idx {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--muted);
  opacity: .6;
}

.ab-val-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.12rem;
  line-height: 1.28;
}

.ab-val-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.62;
}

/* Bandeau compact des garanties de travail */
.ab-guarantees {
  margin-top: clamp(2rem, 3.8vw, 2.8rem);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  border-radius: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2.2rem;
  align-items: center;
}

.ab-guar-head {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.ab-guar-ic {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: .85rem;
  background: color-mix(in srgb, var(--accent) 12%, var(--soft));
  color: var(--accent);
  flex-shrink: 0;
}

.ab-guar-ic .ico-s {
  width: 1.25rem;
  height: 1.25rem;
}

.ab-guar-head h3 {
  margin: 0;
  font-size: 1.12rem;
  white-space: nowrap;
}

.ab-guar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.5rem;
}

.ab-guar-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .93rem;
  line-height: 1.48;
  color: var(--ink);
}

.ab-guar-list .ico-s {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .16rem;
}

/* 5. ANIMATIONS CLÉS */
@keyframes abPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 184, 255, .7); }
  70% { box-shadow: 0 0 0 8px rgba(0, 184, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 184, 255, 0); }
}

@keyframes abMeshDrift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}

@keyframes abFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes abFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* 6. RESPONSIVE */
@media (max-width: 1080px) {
  .ab-val-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-guarantees {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
}

@media (max-width: 920px) {
  .ab-story-grid,
  .ab-exp-head {
    grid-template-columns: 1fr;
  }
  .ab-visual-wrap {
    max-width: 20rem; /* Encore plus mesuré sur tablette/mobile */
    margin-top: .4rem;
  }
}

@media (max-width: 780px) {
  .ab-facts,
  .ab-exp-grid,
  .ab-guar-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ab-val-grid {
    grid-template-columns: 1fr;
  }
  .ab-guar-head h3 {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-mesh,
  .ab-dot,
  .ab-vis-badge--top,
  .ab-vis-badge--bot {
    animation: none;
  }
  .ab-fact,
  .ab-photo,
  .ab-exp-card,
  .ab-exp-card::before,
  .ab-exp-card::after,
  .ab-exp-ic,
  .ab-exp-btn,
  .ab-exp-btn svg,
  .ab-val-card,
  .ab-val-card::before,
  .ab-val-ic {
    transition: none;
  }
  .ab-fact:hover,
  .ab-visual-card:hover .ab-photo,
  .ab-exp-card:hover,
  .ab-exp-card:hover .ab-exp-ic,
  .ab-exp-btn:hover svg,
  .ab-exp-card:hover .ab-exp-btn svg,
  .ab-val-card:hover,
  .ab-val-card:hover .ab-val-ic {
    transform: none;
  }
}
