/* ==========================================================
   Maureen’s Studio — portfolio
   Tokens issus de la maquette Figma
   ========================================================== */
:root {
  --rose: #ec4f8a;
  --rose-fonce: #d6246e;
  --creme: #fff8f1;
  --blanc: #ffffff;
  --jaune: #ffe29a;
  --encre: #2b1424;
  --encre-2: #2a0e2f;
  --texte: #5e4756;
  --bord-rose: rgba(236, 79, 138, 0.35);
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --pad-x: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ---------- Éléments partagés ---------- */
.gradient-card {
  position: relative;
  overflow: hidden;
  background: var(--rose);
  border-radius: 36px;
  isolation: isolate;
}
.decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; container-type: size; }
/* Fond « dégradé signature » (Figma, identité 2027) : 5 halos flous sur Rose.
   Positions proportionnelles au cadre (tuile « Logo / Sur dégradé »). */
.decor img { position: absolute; height: auto; }
.decor img:nth-child(1) { width: 183.89cqw; left: -86.94cqw; top: calc(-63.75cqh - 37.86cqw); }
.decor img:nth-child(2) { width: 167.17cqw; left: -28.58cqw; top: calc(32.96cqh - 34.42cqw); }
.decor img:nth-child(3) { width: 140.42cqw; left: 27.79cqw;  top: calc(-56.32cqh - 28.91cqw); }
.decor img:nth-child(4) { width: 117.02cqw; left: -36.51cqw; top: calc(78.07cqh - 24.09cqw); }
.decor img:nth-child(5) { width: 117.02cqw; left: 26.49cqw;  top: calc(58.07cqh - 24.09cqw); }
/* Cadres verticaux : disposition du « Fond / Dégradé signature » 4:5 */
@container (aspect-ratio < 1) {
  .decor img:nth-child(1) { width: 188.89cqw; left: -90.74cqw; top: calc(5.93cqh - 94.44cqw); }
  .decor img:nth-child(2) { width: 157.41cqw; left: -17.59cqw; top: calc(60.74cqh - 78.70cqw); opacity: .8; }
  .decor img:nth-child(3) { width: 119.63cqw; left: 36.48cqw;  top: calc(14.30cqh - 59.81cqw); opacity: .8; }
  .decor img:nth-child(4) { width: 129.07cqw; left: -64.54cqw; top: calc(101.48cqh - 64.54cqw); opacity: .8; }
  .decor img:nth-child(5) { width: 113.33cqw; left: 28.89cqw;  top: calc(94.52cqh - 56.67cqw); opacity: .8; }
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43, 20, 36, .15); }
.btn--white { background: var(--blanc); color: var(--rose-fonce); }
.btn--glass {
  background: rgba(255, 255, 255, .16);
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: var(--blanc);
  font-weight: 600;
}
.btn--gradient { background: linear-gradient(166deg, #d6246e 0%, #ff9f6b 71.43%); color: var(--blanc); }
.btn--outline { border: 1.5px solid var(--encre); color: var(--encre); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--blanc);
  border: 1.2px solid var(--bord-rose);
  color: var(--encre);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
button.chip:hover { border-color: var(--rose); }
.chip.is-active { background: var(--encre); border-color: var(--encre); color: var(--blanc); font-weight: 600; }
.chip--glass {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
  color: var(--blanc);
}
a.chip--glass:hover { background: rgba(255, 255, 255, .3); }
.chips { display: flex; gap: 10px; }
.chips--wrap { flex-wrap: wrap; }

.eyebrow { color: var(--rose-fonce); font-weight: 700; font-size: 16px; letter-spacing: 1px; }
.eyebrow--yellow { color: var(--jaune); }

.h2 {
  font-weight: 800;
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--encre);
}
.h2 em { font-size: 72px; color: var(--rose-fonce); letter-spacing: -2px; }
.h2--normal { line-height: normal; }
.dot { font-size: 1.095em; }

.section { padding: 130px var(--pad-x) 120px; }
.section__head { display: flex; flex-direction: column; gap: 14px; }
.section__head > div:not(.chips) { display: flex; flex-direction: column; gap: 14px; }
.section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__lead { max-width: 720px; font-size: 19px; line-height: 1.55; color: var(--texte); }

/* ---------- Logo ---------- */
/* Logo 2027 « hibiscus apostrophe » (Figma : Logo / Principal et Logo / Sur dégradé).
   Mesures en em de la taille du nom : la fleur remplace l’apostrophe, « studio » centré dessous. */
.logo {
  --logo-gap: .449em;      /* espace entre « Maureen » et « s » */
  --logo-fx: -.1902em;     /* décalage de la fleur dans cet espace */
  --logo-fy: -.0735em;
  position: relative;
  display: grid;
  grid-template-columns: auto var(--logo-gap) auto;
  justify-items: start;
  width: max-content;
  font-size: 31.916px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.logo__name { grid-area: 1 / 1; }
.logo__s { grid-area: 1 / 3; }
.logo__flower { grid-area: 1 / 2; align-self: start; width: .8333em; height: .8333em; margin: var(--logo-fy) 0 0 var(--logo-fx); }
.logo__studio {
  grid-area: 2 / 1 / 3 / 4;
  justify-self: center;
  margin-top: -.275em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: .9524em;
  letter-spacing: 0;
}
.logo--light { --logo-gap: .487em; --logo-fx: -.1786em; --logo-fy: -.0498em; color: var(--blanc); }
.logo--light .logo__studio { color: var(--jaune); }
.logo--dark { color: var(--encre-2); font-size: 28.161px; }
.logo--dark .logo__studio { color: var(--rose-fonce); }

/* ---------- Hero ---------- */
.hero-wrap { padding: 20px 20px 0; }
.hero { max-width: 1400px; min-height: 860px; margin: 0 auto; padding: 28px 80px 80px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 16px 0; }
.nav__links { display: flex; gap: 36px; }
.nav__links a { color: var(--blanc); font-weight: 600; font-size: 16px; position: relative; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--jaune); border-radius: 2px; transform: scaleX(0); transition: transform .2s;
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

.hero__body { position: relative; padding-top: 102px; }
.hero__text { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 800px; }
.hero__title {
  color: var(--blanc);
  font-weight: 800;
  font-size: 84px;
  line-height: .98;
  letter-spacing: -3px;
}
.hero__title em { font-size: 112px; color: var(--jaune); }
.hero__lead { max-width: 640px; color: var(--blanc); font-weight: 500; font-size: 20px; line-height: 1.55; }

/* Visuel : photo + hibiscus (repère = coin haut-gauche de la fleur lilas) */
.hero__visual { position: absolute; right: -63px; top: 60px; width: 540px; height: 541px; }
.hero__photo { position: absolute; left: 62px; top: 47px; border-radius: 50%; }
.flower { position: absolute; animation: float 6s ease-in-out infinite; }
.flower--rose   { left: 303.84px; top: 6.82px; }
.flower--corail { left: 421.84px; top: 259.82px; animation-delay: -1.5s; }
.flower--lilas  { left: 6.84px;   top: 247.82px; animation-delay: -3s; }
.flower--mangue { left: 217.84px; top: 423.82px; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(4deg); } }

/* ---------- Projets ---------- */
.projets { display: flex; flex-direction: column; gap: 48px; }
.projets__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
.project { display: flex; flex-direction: column; gap: 18px; }
.project[hidden] { display: none; }
.project__img {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 600 / 420;
  border-radius: 28px;
  overflow: hidden;
  color: var(--blanc);
  font-weight: 600;
  font-size: 15px;
  transition: transform .3s ease;
}
.project__img span { opacity: .85; padding: 0 20px; text-align: center; }
.project__img:hover { transform: scale(1.015); }
.project__meta { color: var(--rose-fonce); font-weight: 600; font-size: 14px; }
.project__title { color: var(--encre-2); font-weight: 800; font-size: 32px; letter-spacing: -.8px; }
.project__sub { margin-top: 2px; color: var(--texte); font-family: var(--serif); font-style: italic; font-size: 24px; }
.project__link { color: var(--encre-2); font-weight: 700; font-size: 15px; }
.project__link:hover { color: var(--rose-fonce); }

.cta-card { border-radius: 28px; min-height: 592px; display: flex; align-items: center; padding: 56px; }
.cta-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 488px; }
.cta-card__title { color: var(--blanc); font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -1.2px; }
.cta-card__title em { font-size: 52px; color: var(--jaune); }
.cta-card__text { color: var(--blanc); font-weight: 500; font-size: 18px; line-height: 1.5; }

/* ---------- Services ---------- */
.services { background: var(--blanc); display: flex; flex-direction: column; gap: 56px; padding-top: 110px; }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service {
  display: flex; flex-direction: column; gap: 16px;
  padding: 34px 30px;
  background: var(--creme);
  border: 1.2px solid rgba(236, 79, 138, .18);
  border-radius: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(236, 79, 138, .12); }
.service__title { color: var(--encre-2); font-weight: 800; font-size: 24px; line-height: 1.15; }
.service__text { color: var(--texte); font-size: 16px; line-height: 1.5; }
.service__list { color: var(--encre-2); font-weight: 500; font-size: 15px; line-height: 1.7; }
.service__list li::before { content: "✦  "; white-space: pre; }

/* ---------- À propos ---------- */
.about { display: flex; align-items: center; gap: 90px; padding-bottom: 130px; }
.about__portrait {
  flex: 0 0 520px; height: 660px; border-radius: 36px;
  display: grid; place-items: center;
  color: var(--blanc); font-weight: 600; font-size: 15px;
}
.about__portrait span { opacity: .85; }
.about__text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.h2--about { font-size: 56px; line-height: 1.06; letter-spacing: -1.8px; }
.h2--about em { font-size: 68px; }
.about__body { color: var(--texte); font-size: 18px; line-height: 1.6; }
.about__body p + p { margin-top: 1.6em; }
.timeline { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; width: 100%; }
.timeline div { display: flex; gap: 20px; }
.timeline dt { flex: 0 0 120px; color: var(--rose-fonce); font-weight: 700; font-size: 15px; }
.timeline dd { color: var(--encre); font-weight: 500; font-size: 16px; }

/* ---------- Galerie ---------- */
.galerie { background: var(--blanc); display: flex; flex-direction: column; gap: 44px; padding-top: 110px; padding-bottom: 130px; }
.galerie__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.tile { display: flex; flex-direction: column; gap: 12px; }
.tile[hidden] { display: none; }
.tile__img {
  aspect-ratio: 1; border-radius: 24px;
  background: rgba(255, 179, 207, .35);
  display: grid; place-items: center;
  color: var(--rose-fonce); font-weight: 600; font-size: 15px;
  transition: transform .25s ease;
}
.tile__img span { opacity: .85; }
.tile:hover .tile__img { transform: scale(1.02); }
.tile figcaption { color: var(--texte); font-size: 14px; }
.tile figcaption b { color: var(--encre); font-weight: 700; }
.galerie__empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--texte); font-size: 16px; }

/* ---------- Contact ---------- */
.contact-wrap { padding: 20px; }
.contact {
  max-width: 1400px; min-height: 660px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 80px;
  padding: 100px 80px;
}
.contact__flower { left: 568.8px; top: 426.4px; transform: rotate(12deg); }
.contact__text { flex: 0 1 620px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.contact__title { color: var(--blanc); font-weight: 800; font-size: 68px; line-height: 1.02; letter-spacing: -2.2px; }
.contact__title em { font-size: 82px; color: var(--jaune); }
.contact__lead { color: var(--blanc); font-weight: 500; font-size: 19px; line-height: 1.55; }
.contact__cards { flex: 0 1 540px; display: flex; flex-direction: column; gap: 18px; margin-top: 50px; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, .2);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--blanc);
}
.contact-card__eyebrow { color: var(--jaune); font-weight: 700; font-size: 14px; }
.contact-card__title { font-weight: 800; font-size: 24px; }
.contact-card__mail { font-weight: 500; font-size: 17px; word-break: break-word; }

/* ---------- Pied de page ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px var(--pad-x) 46px;
  border-top: 1px solid rgba(42, 14, 47, .08);
}
.footer__copy { color: var(--texte); font-size: 14px; }
.footer__links { display: flex; gap: 28px; color: var(--encre-2); font-weight: 600; font-size: 14px; }
.footer__links a:hover { color: var(--rose-fonce); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1300px) {
  :root { --pad-x: 60px; }
  .hero { padding: 28px 60px 80px; }
  .hero__title { font-size: 72px; }
  .hero__title em { font-size: 96px; }
  .hero__text { max-width: 640px; }
  .hero__visual { transform: scale(.85); transform-origin: top right; right: -30px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 60px; }
  .about__portrait { flex-basis: 420px; height: 560px; }
}

@media (max-width: 1080px) {
  .nav { flex-wrap: wrap; height: auto; gap: 16px; }
  .nav__cta { display: none; }
  .nav__toggle {
    display: inline-flex; padding: 10px 18px; border-radius: 99px;
    background: rgba(255,255,255,.18); border: 1.2px solid rgba(255,255,255,.5);
    color: var(--blanc); font-weight: 600;
  }
  .nav__links {
    display: none; width: 100%; flex-direction: column; gap: 14px;
    padding: 18px 22px; border-radius: 22px; background: rgba(255,255,255,.16);
  }
  .nav__links.is-open { display: flex; }
  .hero { min-height: 0; }
  .hero__body { padding-top: 48px; display: flex; flex-direction: column; gap: 40px; }
  .hero__visual { position: relative; right: auto; top: auto; transform: none; align-self: center; }
  .projets__grid { gap: 48px 28px; }
  .cta-card { min-height: 480px; padding: 40px; }
  .about { flex-direction: column; align-items: stretch; }
  .about__portrait { flex-basis: auto; height: 480px; }
  .galerie__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .chips { flex-wrap: wrap; }
  .contact { flex-direction: column; gap: 40px; }
  .contact__cards { margin-top: 0; width: 100%; max-width: 540px; }
  .contact__flower { display: none; }
  .contact__text, .contact__cards { flex: none; } /* en colonne, la largeur prévue devenait une hauteur */
}

@media (max-width: 720px) {
  :root { --pad-x: 22px; }
  .hero-wrap, .contact-wrap { padding: 10px; }
  .hero, .contact { border-radius: 26px; padding-left: 24px; padding-right: 24px; }
  .contact { padding-top: 44px; padding-bottom: 32px; min-height: 0; gap: 32px; }
  .contact__text { gap: 18px; }
  .contact__lead { font-size: 17px; }
  .contact__cards { gap: 14px; }
  .logo--light { font-size: 26px; }
  /* Haut de l'accueil sur téléphone : portrait en haut, texte resserré, boutons côte à côte */
  .hero { padding-bottom: 36px; }
  .hero__body { padding-top: 12px; gap: 6px; }
  .hero__visual { order: -1; transform: scale(.44); transform-origin: top center; margin-bottom: -303px; }
  .hero__text { gap: 18px; }
  .hero__title { font-size: 40px; letter-spacing: -1.3px; }
  .hero__title em { font-size: 54px; }
  .hero__lead { font-size: 16px; line-height: 1.5; }
  .hero .btn-row { flex-wrap: nowrap; gap: 10px; width: 100%; }
  .hero .btn-row .btn { padding: 13px 18px; font-size: 15px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .h2 { font-size: 38px; letter-spacing: -1px; }
  .h2 em { font-size: 46px; }
  .h2--about em { font-size: 46px; }
  .projets__grid, .services__grid { grid-template-columns: 1fr; }
  .galerie__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .cta-card { padding: 32px; min-height: 420px; }
  .cta-card__title { font-size: 34px; }
  .cta-card__title em { font-size: 40px; }
  .about__portrait { height: 400px; }
  .timeline div { flex-direction: column; gap: 2px; }
  .timeline dt { flex-basis: auto; }
  .contact__title { font-size: 40px; letter-spacing: -1.3px; }
  .contact__title em { font-size: 48px; }
  .contact-card { padding: 22px; gap: 12px; }
  .contact-card__title { font-size: 20px; }
  .contact-card__mail { font-size: 15px; word-break: normal; overflow-wrap: anywhere; }
  .footer { flex-direction: column; text-align: center; }
  .footer__links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flower { animation: none; }
}

/* ==========================================================
   Navigation — variantes pages intérieures
   ========================================================== */
.nav__links a.is-active { font-weight: 700; }
.nav__links a.is-active::after { display: none; }
.nav__dot { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); }
.nav--light .nav__links a.is-active { color: var(--jaune); }
.nav--cream .nav__links a { color: var(--encre-2); }
.nav--cream .nav__links a.is-active { color: var(--rose-fonce); }
.nav--cream .nav__links a::after { background: var(--rose); }
.logo--nav-dark { color: var(--encre-2); }
.logo--nav-dark .logo__studio { color: var(--rose-fonce); }
.page-top { padding: 12px var(--pad-x); }

/* ---------- Étiquettes ---------- */
.chip--magenta { background: rgba(236, 79, 138, .12); border-color: transparent; color: var(--rose-fonce); font-weight: 600; }
a.chip--magenta:hover { background: rgba(236, 79, 138, .2); }
.chips--center { justify-content: center; }
.eyebrow--sm { font-size: 15px; }
.h3 { font-weight: 800; font-size: 44px; line-height: 1.08; letter-spacing: -1.4px; color: var(--encre); }
.h3 em { font-size: 54px; color: var(--rose-fonce); letter-spacing: -1px; }

/* ==========================================================
   Page projet
   ========================================================== */
.p-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 56px var(--pad-x) 48px; }
.p-back { color: var(--texte); font-weight: 600; font-size: 15px; }
.p-back:hover { color: var(--rose-fonce); }
.p-head__title { font-weight: 800; font-size: 104px; line-height: 1; letter-spacing: -3.5px; color: var(--encre); }
.p-head__title--long { font-size: 88px; }
.p-head__sub { margin-top: 4px; font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1.1; color: var(--rose-fonce); }
.p-infos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; width: 100%; padding-top: 18px; }
.p-infos div { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1.5px solid rgba(43, 20, 36, .15); }
.p-infos dt { color: var(--rose-fonce); font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.p-infos dd { color: var(--encre); font-weight: 600; font-size: 17px; line-height: 1.4; }

.p-img {
  display: grid; place-items: center; overflow: hidden;
  border-radius: 28px; color: var(--blanc); font-weight: 600; font-size: 16px;
}
.p-img span { opacity: .85; padding: 0 20px; text-align: center; }
.p-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-img--cover { aspect-ratio: 1240 / 700; }
.p-img--wide  { aspect-ratio: 1240 / 620; }
.p-img--half  { aspect-ratio: 608 / 480; }
.p-img--third { aspect-ratio: 397 / 420; }
.p-cover { padding: 0 var(--pad-x); }

.p-section { padding: 90px var(--pad-x) 40px; display: flex; flex-direction: column; }
.p-title { display: flex; flex-direction: column; gap: 10px; }

.p-context { flex-direction: row; gap: 80px; padding-top: 110px; }
.p-context__title { flex: 0 0 420px; }
.p-context__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.p-context__text { color: var(--texte); font-size: 21px; line-height: 1.65; }
.p-goal { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border-radius: 22px; background: rgba(236, 79, 138, .08); }
.p-goal__label { color: var(--rose-fonce); font-weight: 700; font-size: 14px; letter-spacing: .5px; }
.p-goal__text { color: var(--encre); font-weight: 600; font-size: 21px; line-height: 1.5; }

.p-done { gap: 40px; }
.p-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.p-card {
  display: flex; flex-direction: column; gap: 12px; padding: 30px 28px;
  background: var(--blanc); border: 1.2px solid rgba(236, 79, 138, .18); border-radius: 24px;
}
.p-card h3 { color: var(--encre); font-weight: 800; font-size: 21px; }
.p-card p { color: var(--texte); font-size: 16px; line-height: 1.5; }

.p-palette { gap: 32px; padding-bottom: 20px; }
.swatches { display: flex; gap: 16px; }
.swatch { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.swatch__color { height: 150px; border-radius: 20px; border: 1px solid rgba(43, 20, 36, .08); }
.swatch__name { color: var(--encre); font-weight: 700; font-size: 16px; }
.swatch__code { color: var(--texte); font-size: 13px; }

.p-gallery { gap: 24px; }
.p-row { display: grid; gap: 24px; }
.p-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.p-bilan { display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 100px var(--pad-x) 110px; text-align: center; }
.p-bilan__quote { margin: 0; max-width: 1000px; font-family: var(--serif); font-style: italic; font-size: 52px; line-height: 1.15; color: var(--encre); }

/* ---------- Bandeau projet suivant ---------- */
.next-wrap { padding: 0 20px 20px; }
.next {
  max-width: 1400px; min-height: 420px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 90px 80px 80px;
}
.next__flower { left: 1067.06px; top: 50.05px; transform: rotate(15deg); }
.next__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--blanc); }
.next__title { font-weight: 800; font-size: 64px; letter-spacing: -2px; transition: transform .25s; }
.next__text:hover .next__title { transform: translateX(8px); }
.next__sub { font-family: var(--serif); font-style: italic; font-size: 32px; }
.next__btn { align-self: flex-end; }

/* ==========================================================
   Page contact
   ========================================================== */
.c-hero { max-width: 1400px; min-height: 760px; margin: 0 auto; padding: 24px 80px 80px; }
.c-hero__flower { left: 452.76px; top: 573.95px; transform: rotate(12deg); }
.c-hero__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 80px; padding-top: 96px; }
.c-hero__text { flex: 0 1 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.c-hero__title { color: var(--blanc); font-weight: 800; font-size: 76px; line-height: 1; letter-spacing: -2.4px; }
.c-hero__title em { font-size: 92px; color: var(--jaune); }
.c-hero__lead { color: var(--blanc); font-weight: 500; font-size: 20px; line-height: 1.55; }
.c-hero__cards { margin-top: 10px; gap: 20px; }

.c-main { display: flex; align-items: flex-start; gap: 70px; padding: 110px var(--pad-x) 120px; }
.c-form { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.c-form__eyebrow { display: flex; align-items: center; gap: 10px; }
.c-form__title { font-weight: 800; font-size: 52px; letter-spacing: -1.6px; color: var(--encre-2); }
.c-form__title em { font-size: 62px; color: var(--rose-fonce); }
.field { display: flex; flex-direction: column; gap: 10px; width: 100%; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { padding: 0; margin-bottom: 0; color: var(--encre-2); font-weight: 700; font-size: 14px; }
fieldset.field .chips { margin-top: 10px; }
.field-row { display: flex; gap: 20px; width: 100%; }
.field-row .field { flex: 1; }
.field__input {
  width: 100%; padding: 16px 20px; border-radius: 16px;
  background: var(--blanc); border: 1.2px solid rgba(42, 14, 47, .15);
  font: inherit; font-size: 16px; color: var(--encre-2);
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--texte); opacity: .6; }
.field__input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(236, 79, 138, .15); }
.field__input--area { height: 160px; resize: vertical; }
.chip--radio { cursor: pointer; }
.chip--radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip--radio:has(input:checked) { background: var(--encre-2); border-color: var(--encre-2); color: var(--blanc); font-weight: 600; }
.chip--radio:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.c-form__submit { border: 0; }
.c-form__error { color: var(--rose-fonce); font-weight: 600; font-size: 14px; }

.c-info {
  flex: 0 0 440px; display: flex; flex-direction: column; gap: 22px; padding: 44px 40px;
  background: var(--blanc); border: 1.2px solid rgba(236, 79, 138, .18); border-radius: 32px;
}
.c-info__title { color: var(--encre-2); font-weight: 800; font-size: 26px; }
.c-info__list { display: flex; flex-direction: column; gap: 22px; }
.c-info__list li { display: flex; align-items: center; gap: 14px; }
.c-info__list div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-info__list span { color: var(--rose-fonce); font-weight: 700; font-size: 13px; }
.c-info__list a, .c-info__list p { color: var(--encre-2); font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.c-info__list a:hover { color: var(--rose-fonce); }
.c-info__rule { width: 100%; height: 1px; margin: 0; border: 0; background: rgba(42, 14, 47, .1); }
.c-info__follow { color: var(--encre-2); font-weight: 700; font-size: 14px; }

/* ---------- Responsive pages intérieures ---------- */
@media (max-width: 1300px) {
  .p-head__title { font-size: 84px; }
  .p-head__title--long { font-size: 72px; }
  .p-context { gap: 50px; }
  .p-context__title { flex-basis: 300px; }
  .p-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .next__flower { left: auto; right: 60px; }
  .c-hero { padding-left: 60px; padding-right: 60px; }
  .c-hero__title { font-size: 64px; }
  .c-hero__title em { font-size: 78px; }
  .c-main { gap: 40px; }
  .c-info { flex-basis: 380px; }
}
@media (max-width: 1080px) {
  .nav--cream .nav__toggle { background: var(--blanc); border-color: var(--bord-rose); color: var(--encre-2); }
  .nav--cream .nav__links { background: var(--blanc); border: 1.2px solid rgba(236, 79, 138, .18); }
  .nav__dot { left: auto; right: -14px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .p-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-context { flex-direction: column; gap: 24px; }
  .p-context__title { flex-basis: auto; }
  .swatches { flex-wrap: wrap; }
  .swatch { flex: 1 1 calc(33% - 16px); }
  .p-bilan__quote { font-size: 40px; }
  .next__flower { opacity: .5; }
  .c-hero { min-height: 0; }
  .c-hero__body { flex-direction: column; gap: 40px; padding-top: 48px; }
  .c-hero__text, .c-hero__cards { flex: none; }
  .c-hero__cards { width: 100%; max-width: 540px; }
  .c-hero__flower { display: none; }
  .c-main { flex-direction: column; align-items: stretch; }
  .c-info { flex-basis: auto; }
}
@media (max-width: 720px) {
  .page-top { padding: 8px var(--pad-x); }
  .p-head { padding-top: 32px; }
  .p-head__title, .p-head__title--long { font-size: 46px; letter-spacing: -1.5px; }
  .p-head__sub { font-size: 30px; }
  .p-infos, .p-cards { grid-template-columns: 1fr; }
  .p-section { padding-top: 64px; }
  .h3 { font-size: 34px; }
  .h3 em { font-size: 42px; }
  .p-context__text, .p-goal__text { font-size: 18px; }
  .swatch { flex-basis: calc(50% - 16px); }
  .swatch__color { height: 110px; }
  .p-row--2, .p-row--3 { grid-template-columns: 1fr; }
  .p-img--half, .p-img--third { aspect-ratio: 4 / 3; }
  .p-img { border-radius: 22px; }
  .p-bilan { padding-top: 70px; padding-bottom: 80px; }
  .p-bilan__quote { font-size: 32px; }
  .next-wrap { padding: 0 10px 10px; }
  .next { padding: 48px 24px; border-radius: 26px; min-height: 0; }
  .next__title { font-size: 36px; letter-spacing: -1px; }
  .next__sub { font-size: 22px; }
  .next__btn { align-self: flex-start; }
  .next__flower { display: none; }
  .c-hero { border-radius: 26px; padding: 24px 24px 48px; }
  .c-hero__title { font-size: 40px; letter-spacing: -1.3px; }
  .c-hero__title em { font-size: 48px; }
  .c-hero__lead { font-size: 17px; }
  .c-main { padding-top: 70px; padding-bottom: 80px; }
  .c-form__title { font-size: 36px; letter-spacing: -1px; }
  .c-form__title em { font-size: 44px; }
  .field-row { flex-direction: column; }
  .c-info { padding: 32px 24px; }
}

/* ---------- Images réelles ---------- */
.project__img img, .tile__img img, .about__portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.tile__img, .about__portrait { overflow: hidden; }
.about__portrait img { object-position: 50% 20%; }
a.contact-card__mail { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); text-underline-offset: 4px; }
a.contact-card__mail:hover { text-decoration-color: var(--jaune); }

/* ==========================================================
   Galerie par projet + visionneuse
   ========================================================== */
.tile__open { all: unset; display: block; cursor: zoom-in; border-radius: 24px; }
.tile__open:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.tile__img { position: relative; display: grid; }
.tile__count {
  position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 99px;
  background: rgba(43, 20, 36, .78); color: var(--blanc); font-size: 13px; font-weight: 600;
  backdrop-filter: blur(6px);
}

.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1c0a16; color: var(--blanc); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb::backdrop { background: transparent; }
.lb__top { display: flex; align-items: center; gap: 16px; padding: 18px 24px; }
.lb__title { flex: 1; min-width: 0; font-size: 16px; }
.lb__title span { opacity: .7; }
.lb__count { font-size: 14px; opacity: .8; }
.lb__close { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; line-height: 1; background: rgba(255,255,255,.12); }
.lb__close:hover { background: rgba(255,255,255,.22); }
.lb__stage { min-height: 0; overflow: auto; display: grid; place-items: center; padding: 0 84px; overscroll-behavior: contain; }
.lb__img { max-width: 100%; max-height: calc(100dvh - 200px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lb__stage.is-long { place-items: start center; }
.lb__stage.is-long .lb__img { max-height: none; margin: 8px 0 24px; }
.lb__nav {
  all: unset; cursor: pointer; position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%;
  background: var(--blanc); color: var(--rose-fonce); font-size: 22px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.lb__nav--prev { left: 20px; }
.lb__nav--next { right: 20px; }
.lb__nav[hidden] { display: none; }
.lb__nav:focus-visible, .lb__close:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.lb__thumbs { display: flex; justify-content: center; gap: 8px; padding: 14px 24px 20px; overflow-x: auto; }
.lb__thumbs:empty { display: none; }
.lb__thumb { all: unset; cursor: pointer; flex: 0 0 auto; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; opacity: .5; outline: 2px solid transparent; }
.lb__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb__thumb.is-active { opacity: 1; outline-color: var(--jaune); }
@media (max-width: 720px) {
  .lb__stage { padding: 0 12px; }
  .lb__nav { top: auto; bottom: 92px; transform: none; width: 44px; height: 44px; }
  .lb__thumb { width: 44px; height: 44px; }
}

/* Images des pages projet cliquables */
button.p-img { width: 100%; padding: 0; border: 0; font: inherit; cursor: zoom-in; transition: transform .3s ease, box-shadow .3s ease; }
button.p-img:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(43, 20, 36, .14); }
button.p-img:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.swatches { flex-wrap: wrap; }
.swatch { min-width: 120px; }

/* 6 projets + carte « Et si le prochain » : la carte prend toute la largeur */
.projets__grid .cta-card { grid-column: 1 / -1; min-height: 380px; }

/* Vidéos des pages projet */
.p-videos { gap: 24px; }
.p-video { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.p-video video { width: 100%; display: block; border-radius: 28px; background: #1c0a16; }
.p-video--h video { aspect-ratio: 16 / 9; }
.p-video--v video { aspect-ratio: 9 / 16; }
.p-video figcaption { color: var(--texte); font-size: 14px; font-weight: 600; }
.p-video-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 720px) { .p-video-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .p-video video { border-radius: 20px; } }

/* Pages simples (mentions légales, 404) */
.legal { max-width: 820px; padding: 60px var(--pad-x) 120px; display: flex; flex-direction: column; gap: 16px; }
.legal h1 { margin-bottom: 20px; }
.legal h2 { margin-top: 24px; font-size: 20px; font-weight: 800; color: var(--encre-2); }
.legal p { color: var(--texte); font-size: 16px; line-height: 1.65; }
.legal a:not(.btn) { color: var(--rose-fonce); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================
   Animations
   ========================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes pop  { from { opacity: 0; transform: scale(.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes bloom { 0% { opacity: 0; scale: 0; rotate: -160deg; } 70% { opacity: 1; scale: 1.12; } 100% { scale: 1; rotate: 0deg; } }

/* Entrée du haut de page (accueil, contact, projets) */
.js-anim :is(.hero__text, .c-hero__text, .p-head, .sv-intro .section__head, .cv-intro .section__head, .p-hero__text) > *,
.js-anim .hero__photo {
  animation: rise .8s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: calc(var(--i, 0) * 110ms + 100ms);
}
.js-anim .hero__photo { animation-name: pop; animation-duration: 1s; }
/* Fleurs : éclosion, suivi de la souris, rotation au survol et au défilement */
.js-anim .flower {
  animation: bloom 1.1s cubic-bezier(.3, 1.4, .5, 1) backwards, float 6s ease-in-out infinite;
  animation-delay: calc(var(--f, 0) * 160ms + 500ms), var(--float-delay, 0s);
  translate: var(--mx, 0px) var(--my, 0px);
  transition: translate .6s cubic-bezier(.2, .7, .2, 1), rotate .8s cubic-bezier(.3, 1.4, .5, 1), scale .4s ease;
  cursor: pointer;
}
.flower--corail { --float-delay: -1.5s; }
.flower--lilas  { --float-delay: -3s; }
.flower--mangue { --float-delay: -4.5s; }
.js-anim .flower:hover { rotate: 180deg; scale: 1.12; }
.js-anim .flower.is-spin { rotate: 360deg; transition: rotate .9s cubic-bezier(.3, 1.4, .5, 1); }
.js-anim :is(.c-hero__flower, .next__flower, .contact__flower, .sv-end__flower) {
  animation: bloom 1.3s cubic-bezier(.3, 1.4, .5, 1) backwards .4s;
  rotate: var(--scroll-rot, 0deg);
}
.js-anim :is(.c-hero__flower, .next__flower, .contact__flower, .sv-end__flower):not(.is-bloom) { animation-play-state: paused; }
/* Grandes fleurs blanches : comme celles du haut (flottent, tournent au survol et au clic) */
.contact__flower, .c-hero__flower { position: absolute; }
.contact__flower, .c-hero__flower { --base-rot: 12deg; }
.js-anim :is(.contact__flower, .c-hero__flower, .sv-end__flower) {
  pointer-events: auto; cursor: pointer; z-index: 1;
  animation: bloom 1.3s cubic-bezier(.3, 1.4, .5, 1) backwards .4s, float-big 6s ease-in-out 1.7s infinite;
  transition: rotate .8s cubic-bezier(.3, 1.4, .5, 1), scale .4s ease;
}
.js-anim :is(.contact__flower, .c-hero__flower, .sv-end__flower):hover { rotate: calc(var(--scroll-rot, 0deg) + 180deg); scale: 1.12; }
.js-anim :is(.contact__flower, .c-hero__flower, .sv-end__flower).is-spin { rotate: calc(var(--scroll-rot, 0deg) + 360deg); transition: rotate .9s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes float-big {
  0%, 100% { transform: rotate(var(--base-rot, 0deg)) translateY(0); }
  50% { transform: rotate(calc(var(--base-rot, 0deg) + 4deg)) translateY(-10px); }
}
.logo__flower { transition: rotate .7s cubic-bezier(.3, 1.4, .5, 1); }
.logo:hover .logo__flower { rotate: 180deg; }

/* Apparition au défilement */
.js-anim .reveal { opacity: 0; transform: translateY(36px); }
.js-anim .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js-anim .swatch.is-in .swatch__color { transform-origin: bottom; animation: grow .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 150ms); }

/* Images : léger zoom au survol */
.project__img img, .tile__img img, .p-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.project:hover .project__img img, .tile__open:hover .tile__img img, button.p-img:hover img { transform: scale(1.04); }

/* Galerie : les tuiles réapparaissent quand on change d'onglet */
.tile.is-swap { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms); }

/* Visionneuse */
.lb[open] { animation: fade .25s ease both; }
.lb__img.is-swap { animation: pop .35s cubic-bezier(.2, .7, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .js-anim *, .js-anim *::before, .js-anim *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js-anim .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Projets : accueil condensé + page /projets
   ========================================================== */
.projets__more { display: flex; justify-content: center; margin-top: 64px; }
.projets--page { padding-top: 60px; }
.projets--page .section__lead { max-width: 560px; }
@media (max-width: 700px) {
  .projets__more { margin-top: 40px; }
  .projets--page { padding-top: 32px; }
}

/* ==========================================================
   Page Services
   ========================================================== */
.services__more { margin-top: 0; }
.sv-intro { padding-top: 60px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 32px; }
.sv-anchors .chip { text-decoration: none; }
.sv-anchors .chip:hover { border-color: var(--rose); color: var(--rose-fonce); }
.sv {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start;
  margin: 0 var(--pad-x); padding: 80px 0; border-top: 1px solid rgba(43, 20, 36, .12);
  scroll-margin-top: 20px;
}
.sv:nth-of-type(even) .sv__main { order: 2; }
.sv__main { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.sv__num { display: flex; align-items: center; gap: 16px; }
.sv__num span { font-family: "Instrument Serif", serif; font-style: italic; font-size: 64px; line-height: 1; color: var(--rose-fonce); }
.sv__title { color: var(--encre-2); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -1.2px; }
.sv__hook { color: var(--encre-2); font-weight: 700; font-size: 24px; line-height: 1.3; }
.sv__hook em { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 1.2em; color: var(--rose-fonce); }
.sv__text { color: var(--texte); font-size: 17px; line-height: 1.6; max-width: 560px; }
.sv__q { width: 100%; border-top: 1px solid rgba(43, 20, 36, .12); }
.sv__q li { border-bottom: 1px solid rgba(43, 20, 36, .12); }
.sv__q a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; color: var(--encre-2); text-decoration: none; }
.sv__q span { display: flex; flex-direction: column; gap: 4px; }
.sv__q b { font-weight: 700; font-size: 17px; line-height: 1.35; transition: color .2s; }
.sv__q small { color: var(--rose-fonce); font-weight: 600; font-size: 13px; letter-spacing: .3px; }
.sv__q a:hover b { color: var(--rose-fonce); }
.sv__deliver { display: flex; flex-direction: column; gap: 12px; }
.sv__label { color: var(--rose-fonce); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.sv__deliver .chip { cursor: default; }
.sv__proofs { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.sv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sv-proof { display: flex; flex-direction: column; gap: 10px; color: var(--encre-2); text-decoration: none; }
.sv-proof--big { grid-column: 1 / -1; }
.sv-proof__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--blanc); }
.sv-proof--big .sv-proof__img { aspect-ratio: 10 / 7; }
.sv-proof__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sv-proof:hover .sv-proof__img img { transform: scale(1.05); }
.sv-proof__play { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(28, 10, 22, .7); color: var(--blanc); font-style: normal; font-weight: 600; font-size: 13px; }
.sv-proof__cap { font-size: 14px; color: var(--texte); line-height: 1.4; }
.sv-proof__cap b { display: block; color: var(--encre-2); font-weight: 800; font-size: 17px; }
.sv-proof:hover .sv-proof__cap b { color: var(--rose-fonce); }
.sv-end { padding: 40px var(--pad-x) 120px; }
.sv-end__card { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.sv-end__title { color: var(--blanc); font-weight: 800; font-size: 52px; line-height: 1.05; letter-spacing: -1.5px; }
.sv-end__title em { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 1.15em; color: var(--jaune); }
.sv-end__text { color: var(--blanc); font-size: 18px; line-height: 1.5; max-width: 520px; }
.sv-end__flower { position: absolute; right: 64px; top: 50%; margin-top: -75px; rotate: var(--scroll-rot, 0deg); }
@media (max-width: 1000px) {
  .sv { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
  .sv:nth-of-type(even) .sv__main { order: 0; }
  .sv__proofs { position: static; }
  .sv-end__flower { display: none; }
}
@media (max-width: 700px) {
  .sv-intro { padding-top: 32px; }
  .sv__num span { font-size: 48px; }
  .sv__title { font-size: 34px; }
  .sv__hook { font-size: 20px; }
  .sv__grid { gap: 12px; }
  .sv-end__card { padding: 40px 28px; }
  .sv-end__title { font-size: 36px; }
}

/* ==========================================================
   Page projet immersive (test Man'Nicol)
   ========================================================== */
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
.p-hero { position: relative; margin: 8px 20px 0; height: min(86vh, 860px); min-height: 520px; border-radius: 28px; overflow: hidden; color: var(--blanc); }
.p-hero__img { all: unset; position: absolute; inset: 0; cursor: zoom-in; background-size: cover; }
.p-hero__img img { width: 100%; height: 100%; object-fit: cover; display: block; animation: hero-zoom 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.p-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(28, 10, 22, 0) 40%, rgba(28, 10, 22, .7) 100%), linear-gradient(90deg, rgba(28, 10, 22, .45) 0%, rgba(28, 10, 22, 0) 55%); }
.p-hero__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 80px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; pointer-events: none; }
.p-hero__text a, .p-hero__text .chip { pointer-events: auto; }
.p-hero__title { color: var(--blanc); }
.p-hero__sub { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1.1; color: var(--jaune); }
.p-back--light { color: rgba(255, 255, 255, .85); }
.p-back--light:hover { color: var(--jaune); }
.p-head--infos { padding-top: 24px; padding-bottom: 8px; }
.p-head--infos .p-infos { padding-top: 0; }

/* Bande horizontale */
.p-gallery--strip { padding-right: 0; gap: 0; }
.p-strip__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-right: var(--pad-x); margin-bottom: 32px; }
.p-strip__nav { display: flex; gap: 10px; }
.p-strip__btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--encre); background: transparent; color: var(--encre); font-size: 20px; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.p-strip__btn:hover { background: var(--encre); color: var(--blanc); }
.p-strip__btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--encre); }
.p-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-left: 0; padding-right: var(--pad-x); scrollbar-width: none; cursor: grab; outline: none; }
.p-strip::-webkit-scrollbar { display: none; }
.p-strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.p-strip.is-drag .p-strip__item { pointer-events: none; }
.p-strip__item { all: unset; flex: 0 0 auto; height: clamp(320px, 52vh, 520px); border-radius: 22px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in; background: var(--blanc); box-shadow: 0 10px 30px rgba(43, 20, 36, .08); }
.p-strip__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); -webkit-user-drag: none; user-select: none; }
.p-strip__item:hover img { transform: scale(1.04); }
.p-strip__item:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.p-strip__bar { margin: 28px var(--pad-x) 0 0; height: 3px; border-radius: 3px; background: rgba(43, 20, 36, .1); overflow: hidden; }
.p-strip__bar span { display: block; height: 100%; width: 20%; border-radius: 3px; background: var(--rose-fonce); transform-origin: left; transition: transform .15s linear; }

/* Découvrez aussi */
.p-more { padding-top: 110px; padding-bottom: 60px; }
.p-more .section__head { margin-bottom: 48px; }

@media (max-width: 1000px) {
  .p-hero__text { padding: 0 40px 48px; }
  .p-hero__sub { font-size: 34px; }
}
@media (max-width: 700px) {
  .p-hero { margin: 6px 10px 0; height: 78vh; min-height: 460px; border-radius: 22px; }
  .p-hero__text { padding: 0 22px 32px; gap: 12px; }
  .p-hero__sub { font-size: 26px; }
  .p-strip__nav { display: none; }
  .p-strip { gap: 12px; }
  .p-strip__item { height: 300px; border-radius: 16px; }
  .p-more { padding-top: 70px; }
}

/* ==========================================================
   Sur les réseaux : téléphones animés (profil Instagram + story)
   ========================================================== */
@keyframes feed-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes phone-float { 0%, 100% { translate: 0 0; rotate: var(--tilt); } 50% { translate: 0 -22px; rotate: calc(var(--tilt) + var(--sway)); } }
.p-social { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.p-social__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.p-social__lead { color: var(--texte); font-size: 18px; line-height: 1.6; max-width: 480px; }
.p-social__text .chip { cursor: default; }
.p-social__phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.p-social__phones::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(178, 34, 34, .16), rgba(245, 240, 225, 0) 68%); }

.phone { position: relative; width: 290px; aspect-ratio: 9 / 19.2; padding: 10px; border-radius: 48px; background: #17121a; box-shadow: 0 0 0 2px #3a3340 inset, 0 30px 60px rgba(43, 20, 36, .25); flex: 0 0 auto; }
.phone::before { content: ""; position: absolute; z-index: 3; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #000; }
.phone__screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
.phone--ig { --tilt: -5deg; --sway: 2deg; rotate: var(--tilt); margin-right: -40px; z-index: 1; animation: phone-float 5s ease-in-out infinite; }
.phone--story { --tilt: 4deg; --sway: -2deg; rotate: var(--tilt); margin-top: 70px; z-index: 2; animation: phone-float 5s ease-in-out infinite -2.5s; }
.phone__status { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 26px 0 30px; font-weight: 700; font-size: 13px; color: #111; }
.phone__icons { display: flex; gap: 4px; align-items: center; }
.phone__icons i { display: block; width: 14px; height: 9px; border-radius: 2px; background: #111; }
.phone__icons i:nth-child(1) { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.phone__icons i:nth-child(2) { width: 12px; border-radius: 50% 50% 2px 2px; }

/* Profil Instagram */
.ig { display: flex; flex-direction: column; height: calc(100% - 46px); color: #111; font-size: 11px; }
.ig__user { padding: 0 14px 8px; font-weight: 800; font-size: 15px; }
.ig__head { display: flex; align-items: center; gap: 22px; padding: 0 14px; }
.ig__avatar { width: 64px; height: 64px; padding: 2.5px; border-radius: 50%; background: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #feda75); }
.ig__avatar img { width: 100%; height: 100%; border-radius: 50%; border: 2.5px solid #fff; object-fit: cover; }
.ig__stat { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.ig__stat b { font-size: 14px; }
.ig__name { padding: 8px 14px 0; font-weight: 700; font-size: 12px; }
.ig__bio { padding: 2px 14px 0; line-height: 1.35; color: #333; }
.ig__hls { display: flex; gap: 12px; padding: 12px 14px 8px; }
.ig__hl { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9.5px; color: #333; }
.ig__hl img { width: 46px; height: 46px; border-radius: 50%; padding: 2px; border: 1px solid #ddd; background: #fff; object-fit: cover; }
.ig__tabs { display: flex; border-top: 1px solid #eee; }
.ig__tabs span { flex: 1; height: 28px; position: relative; }
.ig__tabs span::after { content: ""; position: absolute; left: 50%; top: 9px; width: 11px; height: 11px; margin-left: -5.5px; border: 1.5px solid #999; border-radius: 2px; }
.ig__tabs span.is-on { box-shadow: inset 0 -1.5px #111; }
.ig__tabs span.is-on::after { border-color: #111; }
.ig__feed { flex: 1; overflow: hidden; }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; animation: feed-scroll 60s linear infinite; }
.ig__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.phone--ig:hover .ig__grid { animation-play-state: paused; }

/* Story */
.story { display: flex; flex-direction: column; background: #111; cursor: pointer; outline: none; }
.story:focus-visible { box-shadow: inset 0 0 0 3px var(--rose); }
.story__media { position: relative; flex: 1; min-height: 0; margin: 0 4px; border-radius: 10px; overflow: hidden; }
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.story__img[hidden] { display: none; }
.story__img.is-in { animation: fade .35s ease both; }
.story__top { flex: 0 0 auto; padding: 50px 12px 8px; color: #fff; }
.story__bars { display: flex; gap: 3px; }
.story__bars span { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.story__bars i { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.story__bars span.is-done i { transform: none; }
.story__who { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; }
.story__reply { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 12px 14px; color: #fff; }
.story__reply span { flex: 1; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; font-size: 11px; opacity: .85; }
.story__reply i { font-style: normal; font-size: 18px; }
.story__who img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.story__who small { opacity: .75; }

@media (max-width: 1100px) {
  .p-social { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 700px) {
  .p-social__phones { min-height: 0; }
  .phone { width: 190px; border-radius: 34px; padding: 7px; }
  .phone::before { top: 14px; width: 60px; height: 18px; margin-left: -30px; }
  .phone__screen { border-radius: 28px; }
  .phone--ig { margin-right: -30px; }
  .phone--story { margin-top: 50px; }
  .phone__status { height: 34px; padding: 0 18px 0 20px; font-size: 10px; }
  .ig { height: calc(100% - 34px); font-size: 8px; }
  .ig__user { font-size: 11px; padding: 0 10px 6px; }
  .ig__head { padding: 0 10px; gap: 14px; }
  .ig__avatar { width: 44px; height: 44px; }
  .ig__stat b { font-size: 11px; }
  .ig__name { font-size: 9px; padding: 6px 10px 0; }
  .ig__bio { padding: 2px 10px 0; }
  .ig__hls { gap: 7px; padding: 8px 10px 6px; }
  .ig__hl { font-size: 7px; }
  .ig__hl img { width: 32px; height: 32px; }
  .story__top { padding: 34px 8px 6px; }
  .story__reply { padding: 6px 8px 10px; }
  .story__reply span { font-size: 8px; padding: 4px 8px; }
  .story__reply i { font-size: 13px; }
  .story__who { font-size: 9px; }
  .story__who img { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ig__grid, .phone--ig, .phone--story { animation: none; }
}

/* ---------- Projet : site web dans un navigateur ---------- */
.p-web__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.p-web__lead { color: var(--texte); font-size: 18px; line-height: 1.6; max-width: 520px; }
.web { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: center; }
.web__tabs { display: flex; flex-direction: column; gap: 6px; }
.web__tab { all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: 12px 18px; border-radius: 14px; font-size: 16px; font-weight: 600; color: var(--texte); white-space: nowrap; border: 1px solid rgba(43, 20, 36, .12); transition: background .3s, border-color .3s, transform .3s; }
.web__tab:hover { transform: translateX(4px); }
.web__tab.is-on { color: var(--encre); background: #fff; border-color: transparent; box-shadow: 0 12px 30px rgba(43, 20, 36, .1); }
.web__tab:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.browser { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(43, 20, 36, .08), 0 30px 70px rgba(43, 20, 36, .18); }
.browser__bar { display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: #f1ece4; }
.browser__dots { display: flex; gap: 7px; }
.browser__dots i { width: 12px; height: 12px; border-radius: 50%; background: #e0574f; }
.browser__dots i:nth-child(2) { background: #e9b23c; }
.browser__dots i:nth-child(3) { background: #5fb760; }
.browser__url { flex: 1; max-width: 420px; margin: 0 auto; padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 13px; color: var(--texte); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser__screen { all: unset; display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in; }
.browser__screen:focus-visible { outline: 3px solid var(--rose-fonce); outline-offset: -3px; }
.web__shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; animation: web-in .6s ease both, web-pan var(--pan, 6.5s) ease-in-out .8s both; }
.web__shot[hidden] { display: none; }
.browser.is-paused .web__shot { animation-play-state: paused; }
@keyframes web-in { from { opacity: 0; scale: 1.03; } }
@keyframes web-pan { to { translate: 0 calc(-100% + var(--screen-h, 0px)); } }
.web__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(43, 20, 36, .08); }
.web__bar span { display: block; height: 100%; width: 0; background: var(--rose-fonce); }
@media (max-width: 900px) {
  .web { grid-template-columns: 1fr; }
  .web__tabs { flex-direction: row; overflow-x: auto; order: 2; }
  .web__tab { flex: 0 0 auto; padding: 10px 14px; }
  .web__tab:hover { transform: none; }
  .browser__bar { padding: 9px 12px; }
  .browser__dots i { width: 9px; height: 9px; }
}
@media (prefers-reduced-motion: reduce) { .web__shot { animation: none; } }

/* ---------- Page parcours (CV rédigé) ---------- */
.cv-intro { padding-top: 60px; padding-bottom: 24px; }
.cv-intro .section__head { max-width: 820px; }
.cv-intro .section__head > .btn-row { margin-top: 8px; display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-self: flex-start; align-items: center; }
.cv-intro .btn-row .btn { flex: 0 0 auto; }
.cv-block { padding-top: 40px; padding-bottom: 56px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.cv-block__head { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; }
.cv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cv-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid rgba(43, 20, 36, .12); }
.cv-item:last-child { border-bottom: 1px solid rgba(43, 20, 36, .12); }
.cv-item__date { color: var(--rose-fonce); font-weight: 700; font-size: 15px; padding-top: 4px; }
.cv-item__body { display: flex; flex-direction: column; gap: 6px; }
.cv-item__title { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--encre); }
.cv-item__where { color: var(--encre-2); font-weight: 500; font-size: 16px; }
.cv-item__text { color: var(--texte); font-size: 17px; line-height: 1.6; max-width: 640px; margin-top: 6px; }
.cv-skills__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cv-skill { background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 0 0 1px rgba(43, 20, 36, .06); }
.cv-skill__title { font-size: 18px; font-weight: 700; color: var(--encre); }
.cv-skill .chip { cursor: default; }
.cv-skill__text { color: var(--texte); font-size: 16px; line-height: 1.6; }
.cv-langs { display: flex; flex-direction: column; gap: 8px; }
.cv-langs div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed rgba(43, 20, 36, .15); }
.cv-langs div:last-child { border-bottom: 0; padding-bottom: 0; }
.cv-langs dt { font-weight: 600; color: var(--encre); }
.cv-langs dd { color: var(--texte); }
@media (max-width: 1000px) {
  .cv-block { grid-template-columns: 1fr; gap: 24px; }
  .cv-block__head { position: static; }
}
@media (max-width: 700px) {
  .cv-intro { padding-top: 32px; }
  .cv-item { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .cv-item__title { font-size: 19px; }
  .cv-item__text { font-size: 16px; }
  .cv-skills__grid { grid-template-columns: 1fr; }
  .cv-skill { padding: 22px; }
}

/* ---------- Bouton « remonter » (hibiscus) ---------- */
.to-top {
  all: unset; box-sizing: border-box; cursor: pointer;
  position: fixed; right: 28px; bottom: 92px; z-index: 50; /* au-dessus du badge « Powered by Netlify » */
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--blanc);
  background: linear-gradient(140deg, var(--rose-fonce) 0%, var(--rose) 55%, #f59a6a 100%);
  box-shadow: 0 10px 28px rgba(214, 36, 110, .35), inset 0 0 0 1px rgba(255, 255, 255, .25);
  opacity: 0; visibility: hidden; translate: 0 16px; scale: .7;
  transition: opacity .35s ease, translate .5s cubic-bezier(.3, 1.4, .5, 1), scale .5s cubic-bezier(.3, 1.4, .5, 1), visibility 0s .35s, box-shadow .3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; scale: 1; transition-delay: 0s; }
.to-top__arrow { width: 12px; height: 8px; transition: translate .3s ease; }
.to-top__flower { width: 30px; height: 30px; transition: rotate .8s cubic-bezier(.3, 1.4, .5, 1); }
.to-top:hover { box-shadow: 0 14px 34px rgba(214, 36, 110, .45), inset 0 0 0 1px rgba(255, 255, 255, .35); }
.to-top:hover .to-top__flower { rotate: 180deg; }
.to-top:hover .to-top__arrow { translate: 0 -3px; }
.to-top.is-spin .to-top__flower { rotate: 360deg; transition: rotate .9s cubic-bezier(.3, 1.4, .5, 1); }
.to-top:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
@media (max-width: 700px) {
  .to-top { right: 16px; bottom: 80px; width: 50px; height: 50px; }
  .to-top__flower { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top__flower, .to-top__arrow { transition: opacity .2s ease, visibility 0s; translate: none; scale: 1; }
}

/* Bouton « Voir le détail » des services : seulement sur téléphone */
.sv__toggle, .cv-toggle { display: none; }

/* ==========================================================
   Version téléphone compacte (≤ 720 px) : plus court, toujours lisible
   ========================================================== */
@media (max-width: 720px) {
  .section { padding-top: 60px; padding-bottom: 60px; }
  .section__head { gap: 10px; }
  .section__lead { font-size: 16px; }

  /* Cartes projets : plus compactes */
  .project { gap: 8px; }
  .project__img { border-radius: 22px; }
  .project__meta { font-size: 12.5px; }
  .project__title { font-size: 24px; letter-spacing: -.5px; }
  .project__sub { font-size: 18px; }
  .project__link { font-size: 14px; }
  .projets { gap: 32px; }
  .projets__grid { gap: 36px; }

  /* Accueil + « autres projets » : carrousel à faire glisser */
  #projets .projets__grid, .p-more .projets__grid {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 6px;
    scroll-padding: 0 var(--pad-x); scrollbar-width: none;
  }
  #projets .projets__grid::-webkit-scrollbar, .p-more .projets__grid::-webkit-scrollbar { display: none; }
  #projets .projets__grid > *, .p-more .projets__grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .projets__more { margin-top: 32px; }

  /* Services (accueil) : grille 2 × 2 */
  .services { gap: 28px; padding-top: 60px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .service { gap: 8px; padding: 18px 16px; border-radius: 22px; }
  .service img { width: 52px; height: 52px; }
  .service__title { font-size: 16.5px; }
  .service__text { font-size: 13.5px; line-height: 1.45; }
  .services__more .btn { font-size: 15px; padding: 13px 20px; }

  /* À propos : le portrait est déjà en haut de page */
  .about { padding-bottom: 60px; }
  .about__portrait { display: none; }
  .about__text { gap: 18px; }
  .h2--about { font-size: 36px; letter-spacing: -1px; }
  .h2--about em { font-size: 44px; }
  .about__body { font-size: 16px; line-height: 1.55; }
  .about__body p + p { margin-top: 1em; }

  /* Galerie : filtres sur une ligne qui défile */
  .galerie { gap: 24px; padding-top: 60px; padding-bottom: 60px; }
  .galerie .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 4px; scrollbar-width: none; }
  .galerie .chips::-webkit-scrollbar { display: none; }
  .galerie .chips > * { flex: 0 0 auto; }
  .galerie .section__head .chips { align-self: stretch; min-width: 0; }
  .p-social { overflow-x: clip; }
  body { overflow-x: clip; } /* rien ne doit faire glisser la page sur le côté */
  .galerie__grid {
    grid-template-columns: none; grid-template-rows: auto auto; grid-auto-flow: column; grid-auto-columns: 42%;
    gap: 20px 12px; align-items: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 6px; scroll-padding: 0 var(--pad-x); scrollbar-width: none;
  }
  .galerie__grid::-webkit-scrollbar { display: none; }
  .galerie__grid > .tile { scroll-snap-align: start; }
  .galerie__empty { grid-row: 1 / -1; width: calc(100vw - 2 * var(--pad-x)); }
  .tile { gap: 8px; }
  .tile figcaption { font-size: 13px; line-height: 1.35; }

  /* Page Projets : grille 2 colonnes, cartes réduites à l'essentiel */
  .projets--page { padding-top: 32px; }
  .projets--page .projets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .projets--page .project { gap: 6px; }
  .projets--page .project__img { border-radius: 16px; aspect-ratio: 1 / 1; }
  .projets--page .project__meta, .projets--page .project__link { display: none; }
  .projets--page .project__title { font-size: 17px; letter-spacing: -.3px; line-height: 1.15; }
  .projets--page .project__sub { font-size: 14px; line-height: 1.25; }
  .projets--page .cta-card { min-height: 0; padding: 28px 24px; }
  .cta-card__title { font-size: 28px; }
  .cta-card__title em { font-size: 34px; }
  .cta-card__text { font-size: 16px; }

  /* Page Services : sections resserrées, exemples en carrousel */
  .sv-intro { gap: 20px; padding-bottom: 8px; }
  .sv-anchors { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 4px; scrollbar-width: none; }
  .sv-anchors::-webkit-scrollbar { display: none; }
  .sv-anchors .chip { flex: 0 0 auto; }
  .sv { gap: 24px; padding: 40px 0; }
  .sv__main { gap: 14px; }
  .sv__num span { font-size: 40px; }
  .sv__num img { width: 44px; height: 44px; }
  .sv__title { font-size: 30px; }
  .sv__hook { font-size: 18px; }
  .sv__text { font-size: 15.5px; line-height: 1.55; }
  .sv__q a { padding: 13px 2px; }
  .sv__q b { font-size: 15.5px; }
  .sv__q small { font-size: 12.5px; }
  .sv__main > .btn { font-size: 15px; padding: 13px 20px; }
  .sv__deliver { align-self: stretch; gap: 10px; }
  .sv__deliver .chips { gap: 8px; }
  .sv__deliver .chip { font-size: 13.5px; padding: 6px 12px; }
  .sv__grid {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 6px; scroll-padding: 0 var(--pad-x); scrollbar-width: none;
  }
  .sv__grid::-webkit-scrollbar { display: none; }
  .sv__grid > .sv-proof { flex: 0 0 70%; scroll-snap-align: start; }
  .sv-proof--big .sv-proof__img { aspect-ratio: 4 / 3; }
  .sv-proof__img { border-radius: 18px; }
  .sv-proof__cap { font-size: 13px; }
  .sv-proof__cap b { font-size: 15.5px; }

  /* Services repliés : titre + accroche, le reste au clic */
  .sv-anchors { display: none; }
  .sv { padding: 26px 0; gap: 18px; }
  .sv + .sv { border-top: 1px solid rgba(43, 20, 36, .1); }
  .sv__toggle, .cv-toggle {
    all: unset; box-sizing: border-box; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 99px;
    border: 1.5px solid var(--bord-rose); color: var(--rose-fonce);
    font-weight: 700; font-size: 14px;
  }
  :is(.sv__toggle, .cv-toggle) svg { width: 12px; height: 8px; transition: rotate .3s ease; }
  :is(.sv.is-open .sv__toggle, .cv-block.is-open .cv-toggle) svg { rotate: 180deg; }
  :is(.sv__toggle, .cv-toggle):focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
  .sv:not(.is-open) :is(.sv__text, .sv__q, .sv__deliver, .sv__main > .btn, .sv__proofs) { display: none; }
  .sv:not(.is-open) { gap: 0; }

  /* Page Parcours : expériences et compétences resserrées */
  .cv-intro { padding-top: 32px; padding-bottom: 8px; }
  .cv-intro .btn-row .btn { font-size: 15px; padding: 12px 18px; }
  .cv-block { gap: 14px; padding-top: 28px; padding-bottom: 32px; }
  .cv-item { gap: 4px; padding: 16px 0; }
  .cv-item__date { font-size: 13px; padding-top: 0; }
  .cv-item__title { font-size: 17px; }
  .cv-item__where { font-size: 14px; }
  .cv-item__text { font-size: 14.5px; line-height: 1.5; margin-top: 2px; }
  .cv-skills__grid { gap: 12px; }
  .cv-skill { padding: 18px; gap: 10px; border-radius: 20px; }
  .cv-skill__title { font-size: 16px; }
  .cv-skill__text { font-size: 14.5px; line-height: 1.5; }
  .cv-skill .chips { gap: 6px; }
  .cv-skill .chip { font-size: 13px; padding: 5px 11px; }
  .cv-langs dt, .cv-langs dd { font-size: 14.5px; }
  .cv-intro .section__lead { font-size: 15px; line-height: 1.5; }
  .cv-item { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; }
  .cv-block:not(.is-open) .cv-item__text { display: none; }
  .cv-toggle { justify-self: start; margin-top: 4px; }
  /* Compétences : carrousel horizontal */
  .cv-skills__grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(-1 * var(--pad-x)); padding: 0 var(--pad-x) 6px; scroll-padding: 0 var(--pad-x); align-items: stretch; }
  .cv-skills__grid::-webkit-scrollbar { display: none; }
  .cv-skill { flex: 0 0 84%; scroll-snap-align: start; }
  /* Couleurs de marque : rien ne se touche */
  .swatch { min-width: 0; flex: none; }

  /* Pages projet : sections resserrées */
  .p-hero { height: 62vh; min-height: 400px; }
  .p-head--infos { padding-top: 20px; }
  .p-infos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .p-infos div { padding-top: 10px; gap: 3px; }
  .p-infos dt { font-size: 12px; }
  .p-infos dd { font-size: 14.5px; line-height: 1.35; }
  .p-section { padding-top: 48px; padding-bottom: 8px; }
  .p-context { padding-top: 44px; gap: 18px; }
  .p-context__body { gap: 16px; }
  .p-context__text { font-size: 16px; line-height: 1.6; }
  .p-goal { padding: 16px 18px; border-radius: 18px; }
  .p-goal__text { font-size: 16px; }
  .p-done { gap: 22px; }
  .p-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-card { padding: 16px 14px; gap: 6px; border-radius: 18px; }
  .p-card img { width: 34px; height: 34px; }
  .p-card h3 { font-size: 16px; }
  .p-card p { font-size: 13.5px; line-height: 1.45; }
  .p-palette { gap: 20px; }
  .swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .swatch { gap: 6px; }
  .swatch__color { height: 64px; border-radius: 14px; }
  .swatch__name { font-size: 13.5px; }
  .swatch__code { font-size: 12px; }
  .p-social { gap: 24px; }
  .p-social__lead, .p-web__lead { font-size: 15.5px; }
  .p-web__head { margin-bottom: 20px; gap: 14px; }
  .p-strip__head { margin-bottom: 18px; }
  .p-strip__item { height: 240px; }
  .p-strip__bar { margin-top: 16px; }
  .p-videos { gap: 16px; }
  .p-bilan { gap: 18px; padding-top: 56px; padding-bottom: 56px; }
  .p-bilan__quote { font-size: 30px; }
  .p-more { padding-top: 56px; padding-bottom: 24px; }
  .p-more .section__head { margin-bottom: 24px; }

  /* Bloc de fin « on en parle ? » (Services, Parcours, pages projet) */
  .sv-end { padding: 24px var(--pad-x) 60px; }
  .sv-end__card { padding: 32px 24px; gap: 14px; border-radius: 24px; }
  .sv-end__title { font-size: 30px; }
  .sv-end__text { font-size: 16px; }

  /* Page Contact : formulaire et coordonnées resserrés */
  .c-main { gap: 28px; padding-top: 48px; padding-bottom: 56px; }
  .c-form { gap: 16px; }
  .c-form__title { font-size: 34px; letter-spacing: -1px; }
  .c-form__title em { font-size: 42px; }
  .field { gap: 7px; }
  .field-row { gap: 16px; }
  .field__input { padding-top: 12px; padding-bottom: 12px; } /* 16 px : évite le zoom automatique sur iPhone */
  .field__input--area { height: 120px; }
  .c-info { flex: none; width: 100%; padding: 24px 22px; gap: 16px; }
  .c-info__title { font-size: 22px; }
  .c-info__list { gap: 14px; }
  .c-info__list img { width: 36px; height: 36px; }
  .c-info__list a, .c-info__list p { font-size: 14px; }
  /* Contact en un coup d'œil : les coordonnées remontent dans l'en-tête (script.js), à la place des cartes e-mail */
  .c-hero { padding-bottom: 24px; }
  .c-hero__body { padding-top: 20px; gap: 20px; }
  .c-hero__text { gap: 12px; }
  .c-hero__title { font-size: 34px; }
  .c-hero__title em { font-size: 40px; }
  .c-hero__lead { font-size: 15px; line-height: 1.45; }
  .c-hero__body:has(.c-info) .c-hero__cards { display: none; }
  .c-hero .c-info { border: 0; box-shadow: 0 10px 30px rgba(43, 20, 36, .12); padding: 20px 16px; gap: 14px; }
  .c-hero .c-info__list li { gap: 10px; }
  .c-hero .c-info__list img { width: 28px; height: 28px; }
  .c-hero .c-info__list a { font-size: 13px; }
  .c-main { padding-top: 36px; }
  .c-form__eyebrow { display: none; }
  .c-form__title { font-size: 30px; }
  .c-form__title em { font-size: 36px; }

  /* Pied de page : place pour le bouton « remonter » */
  .footer { padding-bottom: 150px; }
}

/* ---------- Zones tactiles : petits liens plus faciles à toucher (zone ≈ 42 px de haut), sans changer la mise en page ---------- */
.project__link, .contact-card__mail, .footer__links a, .c-info__list a { position: relative; }
.project__link::after, .contact-card__mail::after, .footer__links a::after, .c-info__list a::after {
  content: ""; position: absolute; inset: -12px -6px;
}

/* ---------- Page 404 : « Cette page s'est envolée » ---------- */
.nf { min-height: 760px; }
.hero__visual.nf__visual {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 540px; height: 420px; top: 110px; right: 0;
}
.nf__digit { color: var(--blanc); font-weight: 800; font-size: 230px; line-height: 1; letter-spacing: -8px; text-shadow: 0 18px 40px rgba(120, 10, 60, .18); }
.nf__zero { width: 170px; height: 170px; margin: 0 4px; animation: nf-spin 14s linear infinite; filter: drop-shadow(0 14px 30px rgba(120, 10, 60, .2)); }
.nf__fly { position: absolute; left: 46%; top: 46%; opacity: 0; animation: nf-envol 7s ease-in infinite; }
.nf__fly--rose   { animation-delay: 0s;    --dx: 250px;  --dy: -330px; --r: 220deg; }
.nf__fly--corail { animation-delay: -1.75s; --dx: 330px;  --dy: -150px; --r: -200deg; }
.nf__fly--lilas  { animation-delay: -3.5s;  --dx: -220px; --dy: -300px; --r: 180deg; }
.nf__fly--mangue { animation-delay: -5.25s; --dx: 120px;  --dy: -380px; --r: -240deg; }
.nf .btn-row { flex-wrap: wrap; }
@keyframes nf-spin { to { rotate: 360deg; } }
@keyframes nf-envol {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0) scale(.4); }
  12%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(1); }
}
@media (max-width: 1300px) {
  .hero__visual.nf__visual { transform: scale(.8); transform-origin: top right; }
}
@media (max-width: 1080px) {
  .hero__visual.nf__visual { transform: none; height: 300px; top: auto; right: auto; }
  .nf__digit { font-size: 170px; letter-spacing: -6px; }
  .nf__zero { width: 124px; height: 124px; }
}
@media (max-width: 720px) {
  .nf { min-height: 0; }
  .hero__visual.nf__visual { order: -1; transform: none; margin-bottom: 0; width: 100%; height: 200px; }
  .nf__digit { font-size: 120px; letter-spacing: -4px; }
  .nf__zero { width: 88px; height: 88px; }
  .nf .btn-row { flex-wrap: wrap; }
  .nf .btn-row .btn:first-child { flex-basis: 100%; justify-content: center; }
  .nf .btn-row .btn:not(:first-child) { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .nf__zero { animation: none; }
  .nf__fly { display: none; }
}

/* ---------- Intro « Mélange · éclosion longue » (ordinateur, première visite) ----------
   Durée : changer --intro-x (2 = ≈ 4,6 s ; 2.5 = ≈ 5,8 s ; 1 = ≈ 2,3 s). */
:root { --intro-x: 2; }
html.has-intro::after { /* couvre la page dès le premier affichage, avant que le script ne crée l'intro */
  content: ""; position: fixed; inset: 0; z-index: 9998;
  background: radial-gradient(60% 70% at 0% 0%, #d6246e 0%, transparent 70%), radial-gradient(45% 55% at 100% 0%, #ff9f6b 0%, transparent 70%), radial-gradient(40% 50% at 0% 100%, #b57edc 0%, transparent 70%), radial-gradient(45% 55% at 85% 100%, #ffb3cf 0%, transparent 70%), #ec4f8a;
}
.intro-screen {
  --x: var(--intro-x);
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background: radial-gradient(60% 70% at 0% 0%, #d6246e 0%, transparent 70%), radial-gradient(45% 55% at 100% 0%, #ff9f6b 0%, transparent 70%), radial-gradient(40% 50% at 0% 100%, #b57edc 0%, transparent 70%), radial-gradient(45% 55% at 85% 100%, #ffb3cf 0%, transparent 70%), #ec4f8a;
  animation: intro-out calc(.35s * var(--x)) ease calc(1.95s * var(--x)) forwards;
}
.intro-screen.is-skip { animation: intro-out .3s ease forwards; }
.intro-screen .logo { font-size: 52px; animation: intro-logo calc(.6s * var(--x)) cubic-bezier(.2, .9, .3, 1.2) calc(.55s * var(--x)) both; }
.intro-screen .logo__flower { transition: none; animation: intro-spin calc(1.2s * var(--x)) cubic-bezier(.3, 1.4, .5, 1) calc(.6s * var(--x)) both; }
.intro-screen__bloom {
  position: absolute; width: 360px; height: 360px; opacity: 0;
  animation: intro-bloom calc(1.4s * var(--x)) cubic-bezier(.2, .9, .3, 1) calc(.38s * var(--x)) both,
             intro-grow calc(1.95s * var(--x)) ease-out calc(.38s * var(--x)) both;
}
.intro-screen__p {
  position: absolute; width: 70px; height: 70px; left: calc(50% - 35px); top: calc(50% - 35px);
  animation: intro-fly calc(.5s * var(--x)) cubic-bezier(.3, .8, .3, 1) both;
}
.intro-screen__p--1 { --dx: -46vw; --dy: -42vh; }
.intro-screen__p--2 { --dx: 46vw;  --dy: -42vh; animation-delay: calc(.04s * var(--x)); }
.intro-screen__p--3 { --dx: -46vw; --dy: 42vh;  animation-delay: calc(.08s * var(--x)); }
.intro-screen__p--4 { --dx: 46vw;  --dy: 42vh;  animation-delay: calc(.12s * var(--x)); }
@keyframes intro-fly { from { transform: translate(var(--dx), var(--dy)) rotate(-200deg) scale(1.2); opacity: 1; } 85% { opacity: 1; } to { transform: none; opacity: 0; } }
@keyframes intro-bloom { from { transform: scale(.2) rotate(-90deg); opacity: 0; } to { transform: none; opacity: .22; } }
@keyframes intro-grow { to { scale: 1.12; } }
@keyframes intro-logo { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes intro-spin { from { rotate: -180deg; scale: .3; } to { rotate: 0deg; scale: 1; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
