/* ==========================================================================
   Gribko Studio — feuille de style
   Couleurs et typographies reprises du mini-book.
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100; font-display: swap; src: url("../fonts/montserrat-100.woff2") format("woff2"); }

:root {
  --bordeaux: #7c0a1d;
  --bordeaux-dark: #5e0716;
  --cream: #fbf5ef;
  --cream-2: #f4ebe3;
  --teal: #56c0d1;
  --coral: #e5533d;        /* accents sur fond crème */
  --coral-light: #f49278;  /* accents sur fond bordeaux */
  --ink: #1e1214;
  --muted: #6b5457;
  --line: #e6d8ce;
  --white: #fff;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-thin: "Montserrat", "Poppins", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Typo ---------- */
.eyebrow {
  font-family: var(--font-thin);
  font-weight: 100;
  font-size: 1rem;
  letter-spacing: .2em;
  color: var(--coral);
  margin: 0 0 1.1rem;
  -webkit-text-stroke: .25px currentColor; /* Montserrat Thin reste lisible à petite taille */
}
.on-dark .eyebrow { color: var(--coral-light); }
.title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  color: var(--bordeaux);
  letter-spacing: -.01em;
}
.on-dark .title { color: var(--white); }
.lead { font-size: 1.05rem; max-width: 34em; }
.muted { color: var(--muted); }
.caps {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.6em;
  border-radius: var(--radius);
  font: 400 .95rem/1 var(--font);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--light { background: var(--cream); color: var(--bordeaux); }
.btn--light:hover { background: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--primary { background: var(--bordeaux); color: var(--white); }
.btn--primary:hover { background: var(--bordeaux-dark); }
.link-arrow { color: var(--bordeaux); font-weight: 400; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--coral); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,245,239,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; color: var(--ink); }
.brand img { width: 36px; height: 36px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 400; }
.nav a:not(.btn):hover { color: var(--bordeaux); }
.nav .btn { padding: .7em 1.2em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav li:last-child { margin-top: 16px; }
  .nav .btn { justify-content: center; width: 100%; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { background: var(--bordeaux); color: var(--white); }
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px);
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: -.015em; margin-bottom: 1.6rem; }
.hero-tags { list-style: none; padding: 0; margin: 0 0 2.4rem; display: flex; flex-wrap: wrap; gap: .3em 0; font-size: .95rem; }
.hero-tags li:not(:last-child)::after { content: "·"; margin: 0 .8em; color: var(--coral-light); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-sign { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.2); }
.hero-sign .caps { color: var(--white); }
.hero-sign p { color: var(--coral-light); font-size: .85rem; margin: .3rem 0 0; }

.hero-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 1 / 1; }
.hero-mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); position: relative; }
.hero-mosaic figure:first-child { grid-row: span 2; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mosaic { aspect-ratio: 4 / 3; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 5vw, 72px); }
.services-intro .title { margin-bottom: 1.4rem; }
.services-intro img { margin-top: 2.5rem; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service { padding: 1.8rem 2rem 2.4rem 0; border-bottom: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 2rem; padding-right: 0; border-left: 1px solid var(--line); }
.service .num { color: var(--coral); font-size: .8rem; font-weight: 400; margin-bottom: 1.2rem; display: block; }
.service h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .9rem; }
.service p { font-size: .93rem; }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services-intro img { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 1.6rem 0 2rem; border-left: 0; }
}

/* ---------- Réalisations ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.section-head .lead { max-width: 26em; font-size: .95rem; }
.project-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 1.1rem 0 .6rem; }
.tag { font-size: .7rem; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--cream-2); color: var(--muted); font-weight: 400; }

/* Chapitres des réalisations */
.chapter-head { display: grid; grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: baseline; margin: clamp(56px, 8vw, 104px) 0 1.8rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.chapter-head:first-of-type { margin-top: 0; }
.chapter-head .num { color: var(--coral); font-size: .95rem; }
.chapter-head h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--bordeaux); }
.chapter-head p { grid-column: 2; max-width: 40em; font-size: .95rem; margin: .7rem 0 0; }
.chapter-head a { color: var(--bordeaux); }

.feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; text-decoration: none; color: inherit; margin-bottom: clamp(24px, 3vw, 36px); }
.feature--reverse { grid-template-columns: 1fr 1.4fr; }
.feature--reverse .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feature--reverse .feature-media img { aspect-ratio: 16 / 10; }
.feature:hover .feature-media img { transform: scale(1.03); }
.feature--phone .feature-media { display: flex; justify-content: center; padding: clamp(24px, 4vw, 48px); background: var(--bordeaux); }
.feature--phone .feature-media img { width: auto; height: auto; max-height: 520px; aspect-ratio: auto; border-radius: 18px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.feature-text h4 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 500; margin: .8rem 0 .8rem; }
.feature-text p { font-size: .95rem; }
.feature-text .more { display: inline-block; margin-top: 1rem; color: var(--bordeaux); font-weight: 400; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 800px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .chapter-head { grid-template-columns: 1fr; }
  .chapter-head p { grid-column: 1; }
}

/* Grille de sites */
.site-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.site-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.site-card img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 10px 30px -18px rgba(30,18,20,.35); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.site-card a:hover img { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(30,18,20,.45); }
.site-card img + div { padding-top: 1rem; }
.site-card .project-meta { margin: 0 0 .5rem; }
.site-card h4 { font-size: 1.15rem; font-weight: 500; margin: 0 0 .15rem; }
.site-card .sector { display: block; font-size: .78rem; color: var(--muted); }
.site-card p { font-size: .88rem; margin-top: .6rem; }
.site-card .more { display: block; margin-top: .6rem; font-size: .85rem; color: var(--bordeaux); font-weight: 400; }
@media (max-width: 900px) {
  .site-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .site-grid { grid-template-columns: 1fr; } }

/* Mur de logos */
.logo-wall { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.logo-tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.logo-tile > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.logo-tile:has(a) { transition: border-color .2s, transform .2s; }
.logo-tile:has(a):hover { border-color: var(--bordeaux); transform: translateY(-2px); }
.logo-tile .project-meta { margin: 0; }
.logo-tile .more { display: block; margin-top: .7rem; font-size: .82rem; color: var(--bordeaux); font-weight: 400; }
.tag--site { background: var(--teal); color: var(--ink); }
.logo-tile img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; border-bottom: 1px solid var(--line); }
.logo-tile img + div { padding: 1rem 1.2rem 1.3rem; }
.logo-tile h4 { font-size: 1.05rem; font-weight: 500; margin: .6rem 0 .15rem; }
.logo-tile .sector { display: block; font-size: .78rem; color: var(--muted); }
.logo-tile p { font-size: .85rem; margin-top: .6rem; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .logo-wall { gap: 10px; }
  .logo-tile img + div { padding: .7rem .8rem .9rem; }
  .logo-tile h4 { font-size: .9rem; }
  .logo-tile .sector { font-size: .72rem; }
  .logo-tile p { display: none; }
}

/* ---------- Mise en situation (bloc vedette) ---------- */
.concept { background: var(--cream-2); }
.concept-grid { display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(32px, 5vw, 64px); }
.concept-intro h3 { font-size: clamp(2.2rem, 4vw, 3rem); color: var(--bordeaux); font-weight: 400; }
.concept-intro .sub { font-size: 1.2rem; margin: .2rem 0 2rem; }
.concept-intro .quote { font-size: 1.35rem; font-weight: 400; line-height: 1.35; margin-bottom: 2rem; }
.disclaimer { border-left: 3px solid var(--teal); padding: .2rem 0 .2rem 1rem; font-size: .85rem; margin-bottom: 2rem; }
.disclaimer strong { display: block; font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--bordeaux); font-weight: 500; }
.concept-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 12px; }
.concept-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.concept-gallery .g-wide { grid-column: span 2; aspect-ratio: 1 / 1; }
.concept-gallery .g-tall { aspect-ratio: 9 / 16; }

@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.reviews-score .title { margin-bottom: 2rem; }
.score { display: flex; align-items: center; gap: 1.2rem; background: var(--bordeaux); color: var(--white); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1.6rem; }
.score-value { font-size: 3.2rem; font-weight: 300; line-height: 1; }
.score div span { font-size: .85rem; opacity: .9; }
.stars { color: #f5b544; letter-spacing: .12em; font-size: 1.05rem; line-height: 1; margin-bottom: .35rem; }
.reviews-list { display: grid; gap: clamp(14px, 2vw, 20px); }
.review { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.review blockquote { margin: .6rem 0 1rem; font-size: 1rem; line-height: 1.6; font-weight: 300; }
.review blockquote::before { content: "« "; color: var(--coral); }
.review blockquote::after { content: " »"; color: var(--coral); }
.review figcaption { font-size: .85rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.method-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 3rem; }
.steps { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); counter-reset: step; }
.steps li { border-top: 1px solid var(--ink); padding-top: 1.2rem; counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-size: 2rem; font-weight: 300; color: var(--coral); line-height: 1; margin-bottom: 1rem; }
.steps h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: .6rem; }
.steps p { font-size: .9rem; }

.stats { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); }
.stats li { background: var(--cream-2); border-radius: var(--radius); padding: 1.4rem; }
.stats strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 400; color: var(--bordeaux); line-height: 1.1; margin-bottom: .5rem; }
.nowrap { white-space: nowrap; }
.stats span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }

.duo { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.duo-card { border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; min-height: 260px; }
.duo-card .caps { margin-bottom: 1rem; }
.duo-card p { font-weight: 400; }
.duo-card .bio { font-weight: 300; font-size: .9rem; opacity: .92; margin-top: .6rem; }
.duo-card .who { margin-top: auto; padding-top: 1.5rem; font-size: .9rem; }
.duo-card .who a { font-weight: 500; }
.duo-card--image { background: var(--bordeaux); color: var(--white); }
.duo-card--image .caps { color: var(--coral-light); }
.duo-card--web { background: var(--teal); color: var(--ink); }
.duo-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.duo-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }

@media (max-width: 900px) {
  .method-head { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .duo { grid-template-columns: 1fr 1fr; }
  .duo-photo { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .steps, .duo { grid-template-columns: 1fr; }
  .duo-photo { grid-column: auto; }
}

/* ---------- Pour qui ---------- */
.sectors { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.sectors li { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--line); }
.sectors li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.sectors strong { display: block; font-weight: 500; font-size: 1.05rem; margin-bottom: .4rem; }
.sectors span { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) {
  .sectors { grid-template-columns: 1fr 1fr; }
  .sectors li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .sectors { grid-template-columns: 1fr; }
  .sectors li, .sectors li + li { padding: 1.3rem 0; border-left: 0; }
}

/* ---------- Contact ---------- */
.contact { background: var(--bordeaux); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact h2 { font-size: clamp(2.5rem, 5.5vw, 4rem); margin-bottom: 2rem; }
.contact-text p { max-width: 30em; opacity: .92; }
.contact-card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.contact-card h3 { color: var(--bordeaux); font-size: 1.35rem; font-weight: 400; line-height: 1.35; padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.contact-card li { margin-bottom: .6rem; }
.contact-card li a { text-decoration: none; font-weight: 400; }
.contact-card li a:hover { color: var(--bordeaux); text-decoration: underline; }
.contact-card .sign .caps { font-size: .7rem; }
.contact-card .sign p { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bordeaux-dark); color: rgba(255,255,255,.8); font-size: .85rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.site-footer .brand { color: var(--white); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Page étude de cas ---------- */
.case-hero { background: var(--bordeaux); color: var(--white); }
.case-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(40px, 7vw, 88px); }
.case-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.case-hero .sub { font-size: 1.3rem; color: var(--coral-light); margin: .3rem 0 1.6rem; }
.case-hero img { border-radius: var(--radius); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.case-hero .disclaimer { border-left-color: var(--teal); color: rgba(255,255,255,.9); }
.case-hero .disclaimer strong { color: var(--teal); }
.breadcrumb { font-size: .85rem; margin-bottom: 2rem; opacity: .85; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.case-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.case-facts dt { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--coral); margin-bottom: .4rem; }
.case-facts dd { margin: 0; }
@media (max-width: 700px) { .case-facts { grid-template-columns: 1fr; } }

.case-block { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0; border-bottom: 1px solid var(--line); }
.case-block:last-of-type { border-bottom: 0; }
.case-block--reverse { grid-template-columns: 1.6fr 1fr; }
.case-block--reverse .case-text { order: 2; }
.case-text .num { color: var(--coral); font-size: .8rem; display: block; margin-bottom: 1rem; }
.case-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--bordeaux); margin-bottom: 1.2rem; }
.case-text ul { padding-left: 1.1em; margin: 1rem 0 0; }
.case-text li { margin-bottom: .35rem; }
.case-media img { border-radius: var(--radius); width: 100%; }
.case-media--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.case-media--pair img { aspect-ratio: 9 / 16; object-fit: cover; max-height: 560px; }
@media (max-width: 800px) {
  .case-block, .case-block--reverse { grid-template-columns: 1fr; }
  .case-block--reverse .case-text { order: 0; }
}

.case-next { background: var(--cream-2); text-align: center; }
.case-next .title { margin-bottom: 1.4rem; }
.case-next p { max-width: 36em; margin: 0 auto 2rem; }

/* ---------- Page 404 ---------- */
.page-simple { padding: clamp(48px, 8vw, 96px) 0; }
.page-simple .wrap { max-width: 820px; }
.page-simple h1 { color: var(--bordeaux); font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 2rem; }
.page-simple h2 { font-size: 1.2rem; font-weight: 500; margin: 2.2rem 0 .8rem; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
