@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Manrope:wght@300;400;500;600;700&display=swap");

/* =============================================================================
PROJECT  AB OSTÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°OPATHE
Scoped page CSS. Faracs stays the frame, AB OstÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©o stays the content.
============================================================================= */

body.page-project-ab main {
  position: relative;
  z-index: 6;
  max-width: 1320px;
  margin: 0 auto;
  padding: 260px 60px 120px;
}

/* =============================================================================
HERO ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â SAME LOGIC AS FARACS PORTFOLIO / ABOUT / CONTACT
============================================================================= */

body.page-project-ab .ab-hero {
  min-height: calc(100vh - 260px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 70px;
  align-items: center;
  padding-bottom: 110px;
}

body.page-project-ab .project-kicker,
body.page-project-ab .section-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 28px;
}

body.page-project-ab .ab-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 6.5vw, 108px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 48px;
  max-width: 18ch;
  padding-bottom: 0.08em;
  overflow: visible;
}

body.page-project-ab .ab-title .faracs-dot {
  width: 14px;
  height: 14px;
  margin-left: 10px;
  position: relative;
  bottom: 0;
}

body.page-project-ab .ab-rule {
  width: 48px;
  height: 2px;
  background: var(--hanko);
  margin-bottom: 32px;
}

body.page-project-ab .ab-intro {
  max-width: 58ch;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244, 241, 234, 0.82);
}

body.page-project-ab .ab-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

body.page-project-ab .ab-meta-item {
  padding: 20px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

body.page-project-ab .ab-meta-item span {
  display: block;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

body.page-project-ab .ab-meta-item strong {
  font-size: 14px;
  font-weight: 500;
  color: rgba(244, 241, 234, 0.86);
}

/* =============================================================================
HERO THREE.JS VISUAL
============================================================================= */

body.page-project-ab .ab-hero-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  background:
    radial-gradient(circle at 50% 30%, rgba(0, 101, 133, 0.18), transparent 42%),
    radial-gradient(circle at 72% 68%, rgba(107, 229, 242, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: 0 0 120px rgba(154, 0, 2, 0.12);
}

body.page-project-ab .ab-hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 3;
  border: 1px solid rgba(244, 241, 234, 0.06);
  border-radius: 24px;
  pointer-events: none;
}

body.page-project-ab .ab-hero-visual::after {
  content: "CARTE DE VISITE ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â· AB OSTÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°OPATHE";
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 4;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.45);
}

body.page-project-ab #ab-osteo-card {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
}

body.page-project-ab .ab-fallback-mockup {
  display: none;
}

body.page-project-ab .ab-fallback-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 80px;
}

/* =============================================================================
GLOBAL PROJECT SECTIONS
============================================================================= */

body.page-project-ab .ab-section {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 70px;
  padding: 120px 0;
}

body.page-project-ab .ab-section-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(42px, 5vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--bone);
  max-width: 11ch;
}

body.page-project-ab .ab-section-title .faracs-dot {
  width: 10px;
  height: 10px;
  margin-left: 4px;
  position: relative;
  bottom: 1px;
}

body.page-project-ab .ab-copy {
  max-width: 760px;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.72);
}

body.page-project-ab .ab-copy p + p {
  margin-top: 24px;
}

/* =============================================================================
IMMERSIVE BRAND SECTION
============================================================================= */

body.page-project-ab .ab-immersive-brand {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 180px 0;
}

body.page-project-ab .ab-immersive-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

body.page-project-ab .ab-immersive-logo img {
  width: min(900px, 90vw);
  opacity: 0.045;
}

body.page-project-ab .ab-immersive-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

body.page-project-ab .ab-immersive-content h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 6.5vw, 108px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--bone);
  margin-bottom: 30px;
  padding-bottom: 0.08em;
}

body.page-project-ab .ab-immersive-content h2 .faracs-dot {
  width: 14px;
  height: 14px;
  margin-left: 8px;
}

body.page-project-ab .ab-immersive-content p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 21px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.68);
}


/* =============================================================================
04B - APPROCHE / ALIGNEMENT SECTIONS
Force le bloc 01 Ãƒ  reprendre le mÃƒÂªme style que 02 et 03.
============================================================================= */

body.page-project-ab .ab-immersive-brand {
  text-align: left;
}

body.page-project-ab .ab-immersive-content {
  max-width: 100%;
  margin: 0;
}

body.page-project-ab .ab-immersive-content .section-kicker {
  display: block;
  max-width: none;
  margin: 0 0 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

body.page-project-ab .ab-immersive-content h2 {
  display: block;
  width: auto;
  max-width: none;
  white-space: nowrap;
  font-family: "Anton", sans-serif;
  font-size: clamp(42px, 5vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--bone);
  margin: 0 0 30px;
  padding-bottom: 0;
}

body.page-project-ab .ab-immersive-content h2 .faracs-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  position: relative;
  bottom: 1px;
  vertical-align: baseline;
}

body.page-project-ab .ab-immersive-content p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  font-size: 19px;
  line-height: 1.75;
  color: rgba(244, 241, 234, 0.72);
}

body.page-project-ab .ab-immersive-content p:not(.section-kicker) + p:not(.section-kicker) {
  margin-top: 24px;
}

/* =============================================================================
VISUAL SYSTEM
============================================================================= */

body.page-project-ab .ab-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
}

body.page-project-ab .system-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.page-project-ab .system-card span {
  display: block;
  margin-bottom: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cinnabar);
}

body.page-project-ab .system-card strong {
  font-family: "Anton", sans-serif;
  font-size: 36px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--bone);
}

body.page-project-ab .system-card p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.62);
}

body.page-project-ab .system-logo{
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(244,241,234,.08);
}

body.page-project-ab .system-logo img{
  width:100%;
  max-width:260px;
  margin:auto;
  filter:
    drop-shadow(0 18px 34px rgba(0,0,0,.18));
}

body.page-project-ab .system-logo span{
  color: var(--cinnabar);
}

body.page-project-ab .system-logo p{
  color: rgba(244,241,234,.62);
}

body.page-project-ab .system-logo strong{
  color: var(--bone);
}

body.page-project-ab .gradient-strip {
  height: 90px;
  border-radius: 20px;
  margin: 12px 0 20px;
  background: linear-gradient(135deg, #3776a1 0%, #2e8fb0 48%, #6be5f2 100%);
}

body.page-project-ab .ab-brand-serif {
  font-family: "Fraunces", serif !important;
  font-size: 42px !important;
  line-height: 1 !important;
  letter-spacing: -0.02em !important;
}

body.page-project-ab .ab-brand-sans {
  font-family: "Manrope", sans-serif !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
}

/* =============================================================================
PALETTE ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â HANKO CHIPS
============================================================================= */

body.page-project-ab .ab-palette-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

body.page-project-ab .palette-chip {
  position: relative;
  min-height: 180px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 34px 12px 34px 12px;
  background: var(--chip);
  color: #1c2326;
}

body.page-project-ab .palette-chip::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 26px 8px 26px 8px;
  pointer-events: none;
}

body.page-project-ab .palette-chip::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 86px;
  height: 86px;
  border-radius: 26px 8px 26px 8px;
  background: rgba(255, 255, 255, 0.12);
  transform: rotate(12deg);
  pointer-events: none;
}

body.page-project-ab .palette-chip-inner {
  position: relative;
  z-index: 2;
}

body.page-project-ab .palette-chip span,
body.page-project-ab .palette-chip strong {
  display: block;
  color: inherit;
}

body.page-project-ab .palette-chip span {
  font-size: 12px;
  line-height: 1.35;
}

body.page-project-ab .palette-chip strong {
  margin-top: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
}

body.page-project-ab .palette-chip:nth-child(1),
body.page-project-ab .palette-chip:nth-child(3),
body.page-project-ab .palette-chip:nth-child(6) {
  color: var(--bone);
}

/* =============================================================================
ASSETS GRID ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â FARACS COMPACT / CONTENT-FIT
============================================================================= */

body.page-project-ab .ab-assets-section{
  display:block;
  padding:120px 0 90px;
}

body.page-project-ab .ab-assets-section > div:first-child{
  margin-bottom:48px;
}

body.page-project-ab .ab-assets-section > div:nth-child(2){
  width:100%;
}

body.page-project-ab .ab-assets-section .ab-section-title{
  max-width:none;
}

body.page-project-ab .ab-assets-section .ab-copy{
  max-width:900px;
  margin-bottom:52px;
}

/* Grid placement stays the same, but items no longer stretch vertically */
body.page-project-ab .ab-assets-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
  grid-template-areas:
  "paper front"
  "paper back";
  gap:28px;
  margin-top:0;
  align-items:start;
}

body.page-project-ab .ab-asset-paper{
  grid-area:paper;
  margin-top:0;
}

body.page-project-ab .ab-asset-card-front{
  grid-area:front;
}

body.page-project-ab .ab-asset-card-back{
  grid-area:back;
}

/* No forced equal height, no oversized card behavior */
body.page-project-ab .ab-asset{
  overflow:hidden;
  border:1px solid rgba(244,241,234,.065);
  background:rgba(14,14,14,.34);
  box-shadow:0 0 58px rgba(0,0,0,.20);
  display:block;
}

/* Image areas fit their media instead of creating huge empty boxes */
body.page-project-ab .ab-asset-image{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px 38px;
  min-height:auto;
  background:transparent;
}

body.page-project-ab .ab-asset-image.paper{
  padding:34px 38px;
  min-height:auto;
  align-items:center;
}

body.page-project-ab .ab-asset-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  object-fit:contain;
  filter:drop-shadow(0 26px 54px rgba(0,0,0,.26));
}

/* Paper is big, but its text block is compact */
body.page-project-ab .ab-asset-image.paper img{
  max-height:none;
}

/* Captions are now content-fit, closer to the other Faracs pages */
body.page-project-ab .ab-asset-caption{
  padding:18px 24px 22px;
  border-top:1px solid rgba(244,241,234,.06);
  background:rgba(9,9,9,.78);
}

body.page-project-ab .ab-asset-caption span{
  display:block;
  margin-bottom:9px;
  font-family:"JetBrains Mono", monospace;
  font-size:10px;
  line-height:1;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:var(--cinnabar);
}

body.page-project-ab .ab-asset-caption h3{
  font-family:"Anton", sans-serif;
  font-size:clamp(28px, 2.15vw, 38px);
  line-height:.95;
  letter-spacing:-.025em;
  font-weight:400;
  color:var(--bone);
  margin:0 0 9px;
}

body.page-project-ab .ab-asset-caption p{
  max-width:44ch;
  margin:0;
  font-size:14px;
  line-height:1.45;
  color:rgba(244,241,234,.66);
}

/* Smaller right-column captions */
body.page-project-ab .ab-asset-card-front .ab-asset-caption,
body.page-project-ab .ab-asset-card-back .ab-asset-caption{
  padding:16px 22px 19px;
}

body.page-project-ab .ab-asset-card-front .ab-asset-caption h3,
body.page-project-ab .ab-asset-card-back .ab-asset-caption h3{
  font-size:clamp(25px, 1.9vw, 32px);
}

body.page-project-ab .ab-asset-card-front .ab-asset-image,
body.page-project-ab .ab-asset-card-back .ab-asset-image{
  padding:30px 36px;
}

/* =============================================================================
CTA
============================================================================= */

body.page-project-ab .ab-next {
  padding: 120px 0 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

body.page-project-ab .ab-next h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(48px, 6.5vw, 108px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--bone);
  max-width: 18ch;
  padding-bottom: 0.08em;
  overflow: visible;
}

body.page-project-ab .ab-next h2 .faracs-dot {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  position: relative;
  bottom: 0;
}

body.page-project-ab .ab-next p {
  margin-top: 24px;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.7;
  color: rgba(244, 241, 234, 0.82);
}

body.page-project-ab .site-footer {
  position: relative;
  z-index: 6;
}

/* =============================================================================
TABLET
============================================================================= */

@media (max-width: 1100px) {
  body.page-project-ab .ab-hero {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  body.page-project-ab .ab-hero-visual {
    min-height: 560px;
  }

  body.page-project-ab .ab-section {
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 46px;
  }

  body.page-project-ab .ab-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-project-ab .ab-palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =============================================================================
MOBILE
============================================================================= */

@media (max-width: 900px) {
  body.page-project-ab .site-logo img,
  body.page-project-ab .site-logo.scrolled img {
    height: 150px;
  }

  body.page-project-ab main {
    padding: 170px 24px 90px;
  }

  body.page-project-ab .ab-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 46px;
    padding-bottom: 80px;
  }

  body.page-project-ab .ab-title,
  body.page-project-ab .ab-immersive-content h2,
  body.page-project-ab .ab-next h2 {
    font-size: clamp(46px, 15vw, 78px);
    line-height: 1;
  }

  body.page-project-ab .ab-title .faracs-dot,
  body.page-project-ab .ab-immersive-content h2 .faracs-dot,
  body.page-project-ab .ab-next h2 .faracs-dot {
    width: 12px;
    height: 12px;
    margin-left: 5px;
  }

  body.page-project-ab .ab-intro,
  body.page-project-ab .ab-copy {
    font-size: 17px;
    line-height: 1.65;
  }

  body.page-project-ab .ab-meta,
  body.page-project-ab .ab-section,
  body.page-project-ab .ab-system-grid,
  body.page-project-ab .ab-assets-grid {
    grid-template-columns: 1fr;
  }

  body.page-project-ab .ab-palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-project-ab .palette-chip {
    min-height: 150px;
  }

  body.page-project-ab .ab-section {
    gap: 36px;
    padding: 90px 0;
  }

  body.page-project-ab .ab-section-title {
    font-size: clamp(40px, 12vw, 66px);
    max-width: none;
  }

  body.page-project-ab .ab-hero-visual {
    min-height: 460px;
    border-radius: 26px;
  }

  body.page-project-ab .ab-fallback-mockup img {
    padding: 44px;
  }

  body.page-project-ab .ab-immersive-brand {
    padding: 120px 0;
  }

  body.page-project-ab .ab-immersive-logo img {
    width: 520px;
  }

  body.page-project-ab .ab-immersive-content p {
    font-size: 18px;
    line-height: 1.65;
  }

  body.page-project-ab .ab-assets-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: none;
  }

  body.page-project-ab .ab-asset-paper,
  body.page-project-ab .ab-asset-card-front,
  body.page-project-ab .ab-asset-card-back {
    grid-area: auto;
  }

  body.page-project-ab .ab-asset-paper {
    grid-row: auto;
    padding-top: 0;
  }

  body.page-project-ab .ab-asset-image,
  body.page-project-ab .ab-asset-image.paper {
    min-height: 360px;
    padding: 34px;
  }

  body.page-project-ab .ab-asset-image img,
  body.page-project-ab .ab-asset-image.paper img {
    max-height: 320px;
  }

  body.page-project-ab .ab-next {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    padding: 100px 0 30px;
  }
}

/* =============================================================================
SMALL MOBILE
============================================================================= */

@media (max-width: 560px) {
  body.page-project-ab .site-logo,
  body.page-project-ab .site-logo.scrolled {
    top: 22px;
    left: 20px;
  }

  body.page-project-ab .site-logo img,
  body.page-project-ab .site-logo.scrolled img {
    height: 118px;
  }

  body.page-project-ab .menu-toggle {
    top: 24px;
    right: 20px;
  }

  body.page-project-ab main {
    padding: 145px 20px 80px;
  }

  body.page-project-ab .project-kicker,
  body.page-project-ab .section-kicker {
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1.5;
  }

  body.page-project-ab .ab-title,
  body.page-project-ab .ab-immersive-content h2,
  body.page-project-ab .ab-next h2 {
    font-size: clamp(42px, 16vw, 64px);
  }

  body.page-project-ab .ab-meta-item,
  body.page-project-ab .system-card,
  body.page-project-ab .ab-asset-caption {
    padding: 22px;
  }

  body.page-project-ab .ab-hero-visual {
    min-height: 380px;
    border-radius: 22px;
  }

  body.page-project-ab .ab-hero-visual::after {
    left: 20px;
    bottom: 20px;
    max-width: calc(100% - 40px);
    font-size: 9px;
    line-height: 1.4;
  }

  body.page-project-ab .ab-palette-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  body.page-project-ab .palette-chip {
    min-height: 132px;
    border-radius: 26px 10px 26px 10px;
  }

  body.page-project-ab .palette-chip::before {
    inset: 10px;
    border-radius: 20px 8px 20px 8px;
  }

  body.page-project-ab .ab-asset-image,
  body.page-project-ab .ab-asset-image.paper {
    min-height: 300px;
    padding: 24px;
  }
}


/* =============================================================================
FINAL OVERRIDES ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â SUPPORTS CONTENT-FIT
These rules intentionally sit last to prevent older mobile / asset rules from
forcing oversized blocks.
============================================================================= */

body.page-project-ab .ab-assets-section{
  display:block !important;
}

body.page-project-ab .ab-assets-grid{
  align-items:start !important;
}

body.page-project-ab .ab-asset{
  display:block !important;
}

body.page-project-ab .ab-asset-image,
body.page-project-ab .ab-asset-image.paper{
  min-height:0 !important;
  background:transparent !important;
}

body.page-project-ab .ab-asset-caption{
  min-height:0 !important;
}

@media (min-width:901px){
  body.page-project-ab .ab-assets-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr) !important;
    grid-template-areas:
    "paper front"
    "paper back" !important;
  }

  body.page-project-ab .ab-asset-paper{
    grid-area:paper !important;
  }

  body.page-project-ab .ab-asset-card-front{
    grid-area:front !important;
  }

  body.page-project-ab .ab-asset-card-back{
    grid-area:back !important;
  }
}

@media (max-width:900px){
  body.page-project-ab .ab-assets-section{
    padding:90px 0 !important;
  }

  body.page-project-ab .ab-assets-grid{
    grid-template-columns:1fr !important;
    grid-template-areas:
    "paper"
    "front"
    "back" !important;
    gap:22px !important;
  }

  body.page-project-ab .ab-asset-paper{
    grid-area:paper !important;
  }

  body.page-project-ab .ab-asset-card-front{
    grid-area:front !important;
  }

  body.page-project-ab .ab-asset-card-back{
    grid-area:back !important;
  }

  body.page-project-ab .ab-asset-image,
  body.page-project-ab .ab-asset-image.paper{
    padding:26px !important;
  }

  body.page-project-ab .ab-asset-caption,
  body.page-project-ab .ab-asset-card-front .ab-asset-caption,
  body.page-project-ab .ab-asset-card-back .ab-asset-caption{
    padding:16px 20px 19px !important;
  }
}

/* =============================================================================
CHARTE FARACS ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ALIGNEMENT ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ GAUCHE
Override de .ab-immersive-brand : la rÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¨gle Faracs impose le texte alignÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©
ÃƒÆ’Ã†â€™  gauche, toujours. On annule le centrage d'origine.
============================================================================= */

body.page-project-ab .ab-immersive-brand{
  text-align:left !important;
}

body.page-project-ab .ab-immersive-content{
  margin:0 !important;
  max-width:100% !important;
}

body.page-project-ab .ab-immersive-content p{
  max-width:980px !important;
}

body.page-project-ab .ab-immersive-content p{
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:980px !important;
}

body.page-project-ab .ab-immersive-logo{
  justify-content:flex-start !important;
}

/* =============================================================================
GRILLE SYSTÃƒÆ’Ã†â€™Ãƒâ€¹Ã¢â‚¬ ME ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â 3 cartes (Logo ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â· Typographie ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â· Gradient)
La carte typo fusionne Fraunces + Manrope, donc on passe de 4 ÃƒÆ’Ã†â€™  3 colonnes.
============================================================================= */

body.page-project-ab .ab-system-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px){
  body.page-project-ab .ab-system-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  body.page-project-ab .ab-system-grid{
    grid-template-columns:1fr;
  }
}

/* Carte typo fusionnÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©e : la 2e police se dÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©tache de la 1re */
body.page-project-ab .system-type-second{
  margin-top:20px;
  display:block;
}

/* =============================================================================
COHÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°RENCE ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â Supports alignÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©s sur la grammaire Portfolio Faracs
On abandonne les cartes "case study" avec image + lÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©gende sÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©parÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©e.
Les supports deviennent des visuels plein cadre, avec overlay texte en bas,
comme les project-card de la page Portfolio.
============================================================================= */

body.page-project-ab .ab-assets-section{
  display:block !important;
  padding:120px 0 !important;
}

body.page-project-ab .ab-assets-section > div:first-child{
  margin-bottom:48px !important;
}

body.page-project-ab .ab-assets-section > div:nth-child(2){
  width:100% !important;
}

body.page-project-ab .ab-assets-section .ab-section-title{
  max-width:none !important;
}

body.page-project-ab .ab-assets-section .ab-copy{
  max-width:760px !important;
  margin-bottom:70px !important;
}

body.page-project-ab .ab-assets-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(12, 1fr) !important;
  grid-auto-rows:120px !important;
  grid-template-areas:none !important;
  gap:18px !important;
  margin-top:0 !important;
  align-items:stretch !important;
}

body.page-project-ab .ab-asset,
body.page-project-ab .ab-asset-paper,
body.page-project-ab .ab-asset-card-front,
body.page-project-ab .ab-asset-card-back{
  position:relative !important;
  display:block !important;
  overflow:hidden !important;
  background:rgba(244,241,234,.03) !important;
  border:1px solid rgba(244,241,234,.08) !important;
  box-shadow:none !important;
  margin:0 !important;
  padding:0 !important;
  transition:
    transform .45s ease,
    border-color .45s ease,
    box-shadow .45s ease !important;
}

body.page-project-ab .ab-asset:hover{
  transform:translateY(-6px) !important;
  border-color:rgba(220,64,53,.45) !important;
  box-shadow:0 0 80px rgba(154,0,2,.22) !important;
}

body.page-project-ab .ab-asset-paper{
  grid-column:span 12 !important;
  grid-row:span 5 !important;
  min-height:620px !important;
  grid-area:auto !important;
}

body.page-project-ab .ab-asset-card-front,
body.page-project-ab .ab-asset-card-back{
  grid-column:span 6 !important;
  grid-row:span 4 !important;
  min-height:420px !important;
  grid-area:auto !important;
}

body.page-project-ab .ab-asset-image,
body.page-project-ab .ab-asset-image.paper,
body.page-project-ab .ab-asset-card-front .ab-asset-image,
body.page-project-ab .ab-asset-card-back .ab-asset-image{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  padding:0 !important;
  display:block !important;
  background:transparent !important;
}

body.page-project-ab .ab-asset-image img,
body.page-project-ab .ab-asset-image.paper img{
  width:100% !important;
  height:100% !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center !important;
  opacity:.78 !important;
  filter:
    grayscale(.2)
    contrast(1.04) !important;
  transform:scale(1) !important;
  transition:
    transform .8s ease,
    opacity .45s ease,
    filter .45s ease !important;
}

body.page-project-ab .ab-asset:hover .ab-asset-image img{
  transform:scale(1.04) !important;
  opacity:.92 !important;
  filter:
    grayscale(0)
    contrast(1.08) !important;
}

body.page-project-ab .ab-asset-caption,
body.page-project-ab .ab-asset-card-front .ab-asset-caption,
body.page-project-ab .ab-asset-card-back .ab-asset-caption{
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-end !important;
  min-height:0 !important;
  padding:36px !important;
  border-top:none !important;
  background:
    linear-gradient(
      to top,
      rgba(14,14,14,.92) 0%,
      rgba(14,14,14,.58) 36%,
      rgba(14,14,14,.08) 72%
    ) !important;
}

body.page-project-ab .ab-asset-caption span{
  display:inline-flex !important;
  align-items:center !important;
  width:fit-content !important;
  padding:7px 11px !important;
  margin:0 0 18px 0 !important;
  background:rgba(14,14,14,.78) !important;
  backdrop-filter:blur(4px) !important;
  font-family:"JetBrains Mono", monospace !important;
  font-size:10px !important;
  line-height:1 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  color:var(--bone) !important;
}

body.page-project-ab .ab-asset-caption h3{
  font-family:"Anton", sans-serif !important;
  font-size:clamp(42px, 5vw, 86px) !important;
  line-height:.92 !important;
  letter-spacing:-.04em !important;
  font-weight:400 !important;
  color:var(--bone) !important;
  margin:0 0 18px !important;
}

body.page-project-ab .ab-asset-card-front .ab-asset-caption h3,
body.page-project-ab .ab-asset-card-back .ab-asset-caption h3{
  font-size:clamp(42px, 5vw, 72px) !important;
}

body.page-project-ab .ab-asset-caption p{
  max-width:58ch !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:1.55 !important;
  color:rgba(244,241,234,.78) !important;
}

/* Papier en-tÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Âªte : on garde le support lisible, mais dans un vrai cadre Faracs */
body.page-project-ab .ab-asset-paper .ab-asset-image img{
  object-fit:cover !important;
  object-position:center 42% !important;
}

/* Cartes de visite : cadrage plus serrÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â© pour ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â©viter l'effet mockup flottant */
body.page-project-ab .ab-asset-card-front .ab-asset-image img,
body.page-project-ab .ab-asset-card-back .ab-asset-image img{
  object-fit:cover !important;
  object-position:center !important;
}

@media (max-width:900px){
  body.page-project-ab .ab-assets-section{
    padding:90px 0 !important;
  }

  body.page-project-ab .ab-assets-section .ab-copy{
    margin-bottom:48px !important;
  }

  body.page-project-ab .ab-assets-grid{
    grid-template-columns:1fr !important;
    grid-auto-rows:auto !important;
    gap:22px !important;
  }

  body.page-project-ab .ab-asset,
  body.page-project-ab .ab-asset-paper,
  body.page-project-ab .ab-asset-card-front,
  body.page-project-ab .ab-asset-card-back{
    grid-column:auto !important;
    grid-row:auto !important;
    min-height:420px !important;
  }

  body.page-project-ab .ab-asset-caption,
  body.page-project-ab .ab-asset-card-front .ab-asset-caption,
  body.page-project-ab .ab-asset-card-back .ab-asset-caption{
    padding:22px !important;
  }

  body.page-project-ab .ab-asset-caption h3,
  body.page-project-ab .ab-asset-card-front .ab-asset-caption h3,
  body.page-project-ab .ab-asset-card-back .ab-asset-caption h3{
    font-size:clamp(32px, 9vw, 46px) !important;
    line-height:.96 !important;
  }

  body.page-project-ab .ab-asset-caption p{
    font-size:14px !important;
    line-height:1.55 !important;
  }
}

@media (max-width:560px){
  body.page-project-ab .ab-asset,
  body.page-project-ab .ab-asset-paper,
  body.page-project-ab .ab-asset-card-front,
  body.page-project-ab .ab-asset-card-back{
    min-height:360px !important;
  }
}


/* =============================================================================
COHÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°RENCE FARACS ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â SUPPORTS AB OSTÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â°O EN CARTES VISUELLES
La section Applications reprend la logique Portfolio : image plein cadre,
overlay texte, meta pill, mouvement au hover. Le HTML utilise .project-card
pour rester compatible avec le cursor/reveal du core JS.
============================================================================= */

body.page-project-ab .ab-assets-section{
  display:block !important;
  padding:120px 0 !important;
}

body.page-project-ab .ab-assets-heading{
  max-width:840px;
  margin-bottom:70px;
}

body.page-project-ab .ab-assets-heading .ab-section-title{
  max-width:none;
  margin-bottom:28px;
}

body.page-project-ab .ab-assets-heading .ab-copy{
  max-width:760px;
  margin:0;
}

body.page-project-ab .ab-assets-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(12, 1fr) !important;
  grid-template-areas:none !important;
  grid-auto-rows:120px !important;
  gap:18px !important;
  margin-top:0 !important;
  align-items:stretch !important;
}

body.page-project-ab .ab-support-card{
  position:relative;
  grid-column:span 6;
  grid-row:span 4;
  min-height:420px;
  overflow:hidden;
  background:rgba(244,241,234,.03);
  border:1px solid rgba(244,241,234,.08);
  display:block;
  transition:
  transform .45s ease,
  border-color .45s ease,
  box-shadow .45s ease;
}

body.page-project-ab .ab-support-card:hover{
  transform:translateY(-6px);
  border-color:rgba(220,64,53,.45);
  box-shadow:0 0 80px rgba(154,0,2,.22);
}

body.page-project-ab .ab-support-large{
  grid-column:span 12;
  grid-row:span 5;
  min-height:620px;
}

body.page-project-ab .ab-support-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  padding:58px;
  opacity:.84;
  filter:
  grayscale(.08)
  contrast(1.04)
  drop-shadow(0 28px 60px rgba(0,0,0,.28));
  transition:
  transform .8s ease,
  opacity .45s ease,
  filter .45s ease;
}

body.page-project-ab .ab-support-large img{
  padding:70px;
}

body.page-project-ab .ab-support-card:hover img{
  transform:scale(1.035);
  opacity:.95;
  filter:
  grayscale(0)
  contrast(1.08)
  drop-shadow(0 30px 70px rgba(0,0,0,.34));
}

body.page-project-ab .ab-support-overlay{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:36px;
  background:
  linear-gradient(
  to top,
  rgba(14,14,14,.94) 0%,
  rgba(14,14,14,.62) 34%,
  rgba(14,14,14,.10) 72%
  );
  pointer-events:none;
}

body.page-project-ab .ab-support-overlay .project-meta{
  display:inline-flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  width:fit-content;
  padding:7px 11px;
  margin-bottom:18px;
  background:rgba(14,14,14,.78);
  backdrop-filter:blur(4px);
  font-family:"JetBrains Mono", monospace;
  font-size:10px;
  line-height:1;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--bone);
}

body.page-project-ab .ab-support-overlay .project-meta .meta-dot{
  width:4px;
  height:4px;
  background:var(--hanko);
  border-radius:1px;
}

body.page-project-ab .ab-support-overlay h3{
  font-family:"Anton", sans-serif;
  font-size:clamp(42px, 5vw, 86px);
  line-height:.92;
  letter-spacing:-.04em;
  font-weight:400;
  color:var(--bone);
  margin:0 0 18px;
}

body.page-project-ab .ab-support-overlay h3 .faracs-dot{
  width:10px;
  height:10px;
  margin-left:8px;
  position:relative;
  bottom:0;
}

body.page-project-ab .ab-support-overlay p{
  max-width:58ch;
  margin:0;
  font-size:15px;
  line-height:1.55;
  color:rgba(244,241,234,.78);
}

@media (max-width:900px){
  body.page-project-ab .ab-assets-section{
    padding:90px 0 !important;
  }

  body.page-project-ab .ab-assets-heading{
    margin-bottom:48px;
  }

  body.page-project-ab .ab-assets-grid{
    grid-template-columns:1fr !important;
    grid-auto-rows:auto !important;
    gap:22px !important;
  }

  body.page-project-ab .ab-support-card,
  body.page-project-ab .ab-support-large{
    grid-column:auto !important;
    grid-row:auto !important;
    min-height:420px !important;
  }

  body.page-project-ab .ab-support-card img,
  body.page-project-ab .ab-support-large img{
    padding:34px !important;
  }

  body.page-project-ab .ab-support-overlay{
    padding:22px;
  }

  body.page-project-ab .ab-support-overlay h3{
    font-size:clamp(30px, 9vw, 42px);
  }

  body.page-project-ab .ab-support-overlay p{
    font-size:14px;
    line-height:1.55;
  }
}

@media (max-width:560px){
  body.page-project-ab .ab-support-card,
  body.page-project-ab .ab-support-large{
    min-height:380px !important;
  }

  body.page-project-ab .ab-support-card img,
  body.page-project-ab .ab-support-large img{
    padding:26px !important;
  }
}


/* =============================================================================
FIX PROPRE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â largeur texte + dot des titres de section
On ne force plus le titre en inline-flex : ÃƒÆ’Ã‚Â§a ÃƒÆ’Ã‚Â©vite de coller le point et de
perturber la grille. On enlÃƒÆ’Ã‚Â¨ve simplement la largeur trop courte.
============================================================================= */

body.page-project-ab .ab-immersive-content{
  margin:0 !important;
  max-width:100% !important;
}

body.page-project-ab .ab-immersive-content p{
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:980px !important;
}

body.page-project-ab .ab-section-title{
  display:block !important;
  width:auto !important;
  max-width:none !important;
  white-space:nowrap !important;
}

body.page-project-ab .ab-section-title .faracs-dot{
  display:inline-block !important;
  width:10px !important;
  height:10px !important;
  margin-left:6px !important;
  position:relative !important;
  bottom:1px !important;
  vertical-align:baseline !important;
}

@media (max-width:900px){
  body.page-project-ab .ab-section-title{
    white-space:normal !important;
  }
}

/* =============================================================================
FIX PROPRE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â grille Supports
On neutralise les effets parasites et on garde la logique Portfolio uniquement
sur les cartes AB, sans toucher aux autres project-card du site.
============================================================================= */

body.page-project-ab .ab-assets-grid{
  display:grid !important;
  grid-template-columns:repeat(12, 1fr) !important;
  grid-auto-rows:120px !important;
  grid-template-areas:none !important;
  gap:18px !important;
  align-items:stretch !important;
}

body.page-project-ab .ab-support-card{
  grid-column:span 6 !important;
  grid-row:span 4 !important;
}

body.page-project-ab .ab-support-large{
  grid-column:span 12 !important;
  grid-row:span 5 !important;
}

@media (max-width:900px){
  body.page-project-ab .ab-assets-grid{
    grid-template-columns:1fr !important;
    grid-auto-rows:auto !important;
    gap:22px !important;
  }

  body.page-project-ab .ab-support-card,
  body.page-project-ab .ab-support-large{
    grid-column:auto !important;
    grid-row:auto !important;
  }
}

/* =============================================================================
COHÃƒÆ’Ã¢â‚¬Â°RENCE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â la carte 3D respire sans cadre
Ce bloc doit rester tout ÃƒÆ’  la fin du fichier : il neutralise le carrÃƒÆ’Ã‚Â©/support
visuel de .ab-hero-visual aprÃƒÆ’Ã‚Â¨s toutes les autres rÃƒÆ’Ã‚Â¨gles.
============================================================================= */

body.page-project-ab .ab-hero-visual{
  background:none !important;
  border:none !important;
  border-radius:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

body.page-project-ab .ab-hero-visual::before,
body.page-project-ab .ab-hero-visual::after{
  display:none !important;
  content:none !important;
}
/* =============================================================================
AB OSTÃ‰O â€” ALIGNEMENT TYPO + CTA FARACS
Ã€ garder tout Ã  la fin du fichier project-ab-osteo.css
============================================================================= */

/* Titres de sections AB OstÃ©o alignÃ©s sur "Ce quâ€™on peut explorer" de lâ€™index */
body.page-project-ab .ab-section-title,
body.page-project-ab .ab-immersive-content h2,
body.page-project-ab .ab-assets-heading .ab-section-title{
  font-family:"Anton", sans-serif !important;
  font-size:clamp(32px, 3.5vw, 52px) !important;
  line-height:1 !important;
  letter-spacing:-0.025em !important;
  font-weight:400 !important;
  color:var(--bone) !important;
  margin:0 0 28px 0 !important;
  padding:0 !important;
  max-width:none !important;
  white-space:normal !important;
}

body.page-project-ab .ab-section-title .faracs-dot,
body.page-project-ab .ab-immersive-content h2 .faracs-dot,
body.page-project-ab .ab-assets-heading .ab-section-title .faracs-dot{
  width:10px !important;
  height:10px !important;
  margin-left:8px !important;
  position:relative !important;
  bottom:0 !important;
  vertical-align:baseline !important;
}

/* CTA final : mÃªme placement que les autres pages, bouton sous le texte Ã  gauche */
body.page-project-ab .ab-next{
  padding:120px 0 60px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:36px !important;
}

body.page-project-ab .ab-next > div{
  max-width:760px !important;
}

body.page-project-ab .ab-next h2{
  margin:0 !important;
}

body.page-project-ab .ab-next p{
  margin-top:24px !important;
}

body.page-project-ab .ab-next .exit-cta{
  margin-top:0 !important;
}

@media (max-width:900px){
  body.page-project-ab .ab-section-title,
  body.page-project-ab .ab-immersive-content h2,
  body.page-project-ab .ab-assets-heading .ab-section-title{
    font-size:clamp(24px, 7.8vw, 34px) !important;
    line-height:1.05 !important;
    letter-spacing:-.02em !important;
  }

  body.page-project-ab .ab-next{
    padding:100px 0 30px !important;
    gap:30px !important;
  }
}

/* AB Ostéo responsive safety */
@media(max-width:900px){
  body.page-project-ab .ab-asset-card,
  body.page-project-ab .ab-asset-card-front,
  body.page-project-ab .ab-asset-card-back,
  body.page-project-ab .ab-support-card{
    max-width:100%;
  }
}
