*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

    :root {
      --beige:   #ffffff;
      --cream:   #ffffff;
      --sand:    #ffffff;
      --dark:    #1C1410;
      --warm:    #3A2D24;
      --gold:    #B8975A;
      --gold-lt: #D4B98A;
      --white:   #FFFFFF;
      --serif:   'Cormorant Garamond', Georgia, serif;
      --sans:    'Jost', sans-serif;
      --script:  'Dancing Script', cursive;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: var(--sans);
      color: var(--dark);
      background: var(--cream);
      overflow-x: hidden;
    }

    /* ══════════════════════════════
       HEADER — 2 barres, style château
    ══════════════════════════════ */
    #site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      transition: transform .35s ease, background .45s ease;
      z-index: 900;
      background: transparent;
    }

    /* Barre unique */
    .hdr-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2.5rem;
      height: 72px;
      transition: background .45s ease, border-color .45s ease;
    }
    #site-header.scrolled .hdr-top {
      border-bottom: 1px solid rgba(184,151,90,0.2);
    }

    /* Brand gauche */
    .hdr-brand-left { flex-shrink: 0; }
    .hdr-brand-link { text-decoration: none; display: block; }
    .hdr-brand-name {
      display: block;
      font-family: var(--serif);
      font-size: 1.1rem;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-weight: 500;
      color: #ffffff;
      line-height: 1.1;
      transition: color .45s ease;
    }
    #site-header.scrolled .hdr-brand-name { color: var(--dark); }

    .hdr-brand-sub {
      display: block;
      font-family: var(--sans);
      font-size: .52rem;
      letter-spacing: .3em;
      text-transform: uppercase;
      color: rgba(255,255,255,.6);
      font-weight: 400;
      transition: color .45s ease;
    }
    #site-header.scrolled .hdr-brand-sub { color: var(--gold); }

    /* Nav centre */
    .hdr-nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
    .hdr-nav a {
      font-family: var(--sans);
      font-size: .58rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      text-decoration: none;
      color: #ffffff;
      font-weight: 400;
      transition: color .3s ease;
      white-space: nowrap;
    }
    .hdr-nav a:hover { color: var(--gold-lt); }
    #site-header.scrolled .hdr-nav a { color: var(--warm); }
    #site-header.scrolled .hdr-nav a:hover { color: var(--gold); }

    /* CTA droite */
    .hdr-cta {
      display: inline-block;
      padding: .6rem 1.5rem;
      background: var(--dark);
      color: var(--white);
      font-family: var(--sans);
      font-size: .58rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 500;
      white-space: nowrap;
      transition: background .2s;
      flex-shrink: 0;
    }
    .hdr-cta:hover { background: var(--gold); }

    /* ══════════════════════════════
       HERO
    ══════════════════════════════ */
    #hero {
      height: 110vh;
      min-height: 700px;
      max-height: 1400px;
      position: relative;
      display: flex;
      align-items: flex-end;
      padding-bottom: clamp(6rem, 13vh, 13rem);
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      overflow: hidden;
    }
    .hero-bg video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
    .hero-bg img.hero-photo {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center top;
    }
    .hero-bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.05) 0%,
        rgba(28,20,16,0.35) 35%,
        rgba(28,20,16,0.12) 58%,
        rgba(255,255,255,0.6) 78%,
        rgba(255,255,255,1) 100%
      );
    }

    .hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: min(52vw, 900px);
      margin: 0 0 0 5%;
      text-align: left;
      padding: 0 2rem 0 0;
      /* Aucune ombre portée : la lisibilité tient au dégradé du fond et
         à la graisse des petits textes, pas à un halo sous les lettres. */
    }

    .hero-tag {
      display: inline-block;
      font-size: clamp(.6rem, .72vw, .95rem);
      letter-spacing: .5em;
      text-transform: uppercase;
      color: var(--gold-lt);
      font-weight: 500;
      margin-bottom: 1.2rem;
    }

    .hero-name {
      font-family: var(--serif);
      font-size: clamp(3.2rem, 8.4vw, 11rem);
      font-weight: 300;
      color: var(--white);
      line-height: 1;
      letter-spacing: .06em;
      text-transform: uppercase;
      margin-bottom: .4rem;
    }

    .hero-script {
      font-family: var(--script);
      font-size: clamp(1.5rem, 3vw, 2.4rem);
      color: var(--gold-lt);
      font-weight: 500;
      display: block;
      margin-bottom: 1.6rem;
    }

    /* Sans ombre, ce sont les seules lignes qui souffrent : petites,
       très interlettrées, posées sur une image claire. Elles passent en
       graisse 500 et en blanc plein. */
    .hero-spec {
      font-size: clamp(.62rem, .75vw, .98rem);
      letter-spacing: .3em;
      text-transform: uppercase;
      color: #fff;
      font-weight: 500;
      margin-bottom: 2.5rem;
    }

    .hero-btns {
      display: flex;
      gap: 1rem;
      justify-content: flex-start;
      flex-wrap: wrap;
    }

    .btn-primary {
      padding: clamp(.85rem, 1vw, 1.15rem) clamp(2.2rem, 2.6vw, 3rem);
      background: var(--gold);
      color: var(--white);
      font-family: var(--sans);
      font-size: clamp(.6rem, .7vw, .82rem);
      letter-spacing: .25em;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 500;
      transition: background .25s;
    }
    .btn-primary:hover { background: var(--dark); }

    /* Le bouton tombe sur le bas du dégradé, là où l'image vire au blanc :
       en blanc sur transparent il devenait invisible. Il est donc plein,
       texte sombre et liseré sombre, ce qui tient aussi bien sur la partie
       claire que sur la partie foncée du hero. */
    .btn-secondary {
      padding: clamp(.85rem, 1vw, 1.15rem) clamp(2.2rem, 2.6vw, 3rem);
      background: var(--white);
      color: var(--dark);
      font-family: var(--sans);
      font-size: clamp(.6rem, .7vw, .82rem);
      letter-spacing: .25em;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 500;
      border: 1.5px solid var(--dark);
      transition: background .25s, color .25s;
    }
    .btn-secondary:hover { background: var(--dark); color: var(--white); }

    .btn-outline {
      padding: .85rem 2.2rem;
      border: 1px solid rgba(253,250,247,.55);
      color: var(--white);
      font-family: var(--sans);
      font-size: clamp(.6rem, .7vw, .82rem);
      letter-spacing: .25em;
      text-transform: uppercase;
      text-decoration: none;
      font-weight: 400;
      transition: border-color .25s, background .25s;
    }
    .btn-outline:hover {
      background: rgba(253,250,247,.12);
      border-color: rgba(253,250,247,.9);
    }

    /* Scroll indicator */
    .hero-scroll {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: .5rem;
      z-index: 2;
    }
    .hero-scroll span {
      font-size: .52rem;
      letter-spacing: .3em;
      text-transform: uppercase;
      color: rgba(253,250,247,.5);
    }
    .scroll-line {
      width: 1px;
      height: 36px;
      background: linear-gradient(to bottom, rgba(184,151,90,.8), transparent);
      animation: scrollPulse 2s ease-in-out infinite;
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: .4; transform: scaleY(.7); }
      50% { opacity: 1; transform: scaleY(1); }
    }

    /* ══════════════════════════════
       SECTIONS — styles communs
    ══════════════════════════════ */
    section { padding: 4rem 0; }

    .section-inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 2.5rem;
    }

    .section-label {
      display: block;
      font-size: .56rem;
      letter-spacing: .45em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 500;
      margin-bottom: 1.2rem;
    }

    .section-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 300;
      color: var(--dark);
      line-height: 1.2;
      letter-spacing: .02em;
    }

    .section-title em {
      font-style: italic;
      color: var(--gold);
    }

    hr.gold-rule {
      border: none;
      width: 40px;
      height: 1px;
      background: var(--gold);
      margin: 1.8rem 0;
    }

    /* ══════════════════════════════
       PRÉSENTATION
    ══════════════════════════════ */
    #presentation {
      background: #ffffff;
      padding: 6rem 0;
    }
    .pres-inner {
      max-width: 100%;
      padding: 0 3rem;
      display: flex;
      align-items: center;
      gap: 6rem;
    }
    .pres-text {
      flex: 1 1 0;
      min-width: 0;
    }
    .pres-eyebrow {
      font-family: var(--sans);
      font-size: .72rem;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1rem;
    }
    .pres-name {
      font-family: var(--serif);
      font-size: clamp(2.4rem, 4vw, 3.6rem);
      font-weight: 600;
      color: var(--dark);
      line-height: 1.1;
      margin-bottom: 1.6rem;
    }
    .pres-body {
      font-family: var(--sans);
      font-size: 1rem;
      line-height: 1.85;
      color: #5a4e47;
      margin-bottom: 1.4rem;
    }
    .pres-body strong { color: #B8874A; font-weight: 600; }

    /* ── Stats cards ── */
    .pres-stats {
      display: flex;
      gap: 1rem;
      margin: 2rem 0 2.2rem;
    }
    .stat-card {
      flex: 1;
      border: 2px solid #c49a7e;
      border-radius: 10px;
      padding: 1.4rem 1rem 1.3rem;
      background: #c49a7e;
      text-align: center;
      transition: background .2s, border-color .2s, transform .2s;
    }
    .stat-card:hover {
      background: #b8896d;
      border-color: #b8896d;
      transform: translateY(-3px);
    }
    .stat-value {
      font-family: var(--serif);
      font-size: clamp(1.8rem, 3vw, 2.4rem);
      font-weight: 500;
      color: #ffffff;
      line-height: 1;
      margin-bottom: .5rem;
    }
    .stat-label {
      font-family: var(--sans);
      font-size: .6rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: #ffffff;
      line-height: 1.5;
    }

    .pres-btn {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      margin-top: .6rem;
      padding: .75rem 2rem;
      background: var(--dark);
      color: #fff;
      font-family: var(--sans);
      font-size: .78rem;
      letter-spacing: .16em;
      text-transform: uppercase;
      text-decoration: none;
      transition: background .25s;
    }
    .pres-btn:hover { background: #C13584; }
    .pres-btn--insta:hover { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
    .pres-photo-wrap {
      flex: 0 0 340px;
      width: 340px;
    }
    .pres-photo-box {
      width: 100%;
      aspect-ratio: 3/4;
      background: #ede9e4;
      border-radius: 0;
      overflow: hidden;
    }
    .pres-photo-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    @media (max-width: 820px) {
      .pres-inner { flex-direction: column-reverse; gap: 3rem; }
      .pres-photo-wrap { flex: none; width: 100%; max-width: 340px; margin: 0 auto; }
    }

    /* ══════════════════════════════
       MANIFESTE
    ══════════════════════════════ */
    #manifeste {
      position: relative;
      padding: 1rem 0 4rem;
      background: none;
    }
    .manifeste-brush {
      position: absolute;
      top: 50%;
      width: 22%;
      max-width: 500px;
      pointer-events: none;
      user-select: none;
      opacity: .9;
    }
    .manifeste-brush--left {
      left: -10px;
      transform: translateY(-50%);
    }
    .manifeste-brush--right {
      right: -10px;
      transform: translateY(-50%) scaleX(-1);
    }
    #manifeste .manifeste-inner {
      position: relative;
      z-index: 1;
    }

    .manifeste-inner {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 2.5rem;
      text-align: center;
    }

    .manifeste-label {
      font-family: var(--serif);
      font-size: clamp(2.8rem, 5.6vw, 5.6rem);
      letter-spacing: .012em;
      font-weight: 300;
      font-style: italic;
      text-transform: none;
      line-height: 1;
      color: #B8874A;
    }

    .manifeste-quote {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.8vw, 3.6rem);
      font-weight: 600;
      font-style: normal;
      color: var(--dark);
      line-height: 1.05;
      letter-spacing: -.01em;
      text-transform: uppercase;
    }

    .manifeste-text {
      margin-top: 2rem;
      font-size: .88rem;
      line-height: 2;
      color: #111;
      max-width: 580px;
      margin-left: auto;
      margin-right: auto;
      font-weight: 300;
    }
    .manifeste-text strong {
      font-weight: 600;
      color: #B8874A;
    }

    /* ══════════════════════════════
       PRESTATIONS
    ══════════════════════════════ */
    #prestations { background: var(--cream); margin-top: -2rem; }
    #prestations .section-inner {
      max-width: 100%;
      padding: 0 3rem;
    }

    .prestations-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 3.5rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .link-gold {
      font-size: .6rem;
      letter-spacing: .25em;
      text-transform: uppercase;
      color: var(--gold);
      text-decoration: none;
      border-bottom: 1px solid rgba(184,151,90,.35);
      padding-bottom: 2px;
      transition: border-color .2s, color .2s;
    }
    .link-gold:hover { color: var(--dark); border-color: var(--dark); }

    .prestations-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }

    .presta-card {
      position: relative;
      overflow: hidden;
      aspect-ratio: 4/5;
      cursor: pointer;
    }

    .presta-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .7s cubic-bezier(.25,.46,.45,.94);
      display: block;
    }
    .presta-card:hover img { transform: scale(1.05); }

    .presta-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(28,20,16,.7) 0%, transparent 55%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 2rem 1.5rem;
    }

    .presta-name {
      font-family: var(--serif);
      font-size: 1.5rem;
      font-weight: 300;
      color: var(--white);
      letter-spacing: .05em;
      margin-bottom: .4rem;
    }

    .presta-desc {
      font-size: .7rem;
      line-height: 1.5;
      color: rgba(253,250,247,.75);
      font-weight: 300;
    }

    .presta-arrow {
      display: inline-block;
      margin-top: .8rem;
      font-size: .55rem;
      letter-spacing: .3em;
      text-transform: uppercase;
      color: var(--gold-lt);
      text-decoration: none;
      opacity: 0;
      transition: opacity .3s;
    }
    .presta-card:hover .presta-arrow { opacity: 1; }
    /* Toute la carte mène à la page de la prestation */
    .presta-arrow::after { content: ''; position: absolute; inset: 0; z-index: 4; }
    .presta-arrow:focus-visible { opacity: 1; outline: 1px solid var(--gold-lt); outline-offset: 4px; }
    @media (hover: none) { .presta-arrow { opacity: 1; } }

    /* ═══ DERNIERS ARTICLES ═══ */
    #articles { background: var(--cream); padding: 5rem 0 6rem; }
    #articles .section-inner { max-width: 100%; padding: 0 3rem; }
    .ar-titre {
      font-family: var(--serif); font-size: clamp(2rem, 3.8vw, 3.6rem);
      font-weight: 600; color: var(--dark); letter-spacing: -.01em;
      text-transform: uppercase; line-height: 1.05; margin-bottom: 2.5rem;
    }
    .ar-titre a { color: inherit; text-decoration: none; }
    .ar-rail {
      display: flex; gap: 2.5rem;
      overflow-x: auto; overscroll-behavior-x: contain;
      scroll-snap-type: x mandatory; scroll-padding: 0 3rem;
      padding: 0 3rem .5rem;
      scrollbar-width: none; cursor: grab;
    }
    .ar-rail::-webkit-scrollbar { display: none; }
    .ar-rail.is-glisse { cursor: grabbing; scroll-snap-type: none; user-select: none; }
    .ar-rail.is-glisse a { pointer-events: none; }
    .ar-carte { flex: 0 0 clamp(280px, 38vw, 560px); scroll-snap-align: start; }
    .ar-lien { display: block; text-decoration: none; color: inherit; }
    .ar-visuel { aspect-ratio: 4 / 3; overflow: hidden; background: #f4efe7; }
    .ar-visuel img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform .7s cubic-bezier(.25,.46,.45,.94);
    }
    .ar-lien:hover .ar-visuel img { transform: scale(1.03); }
    .ar-nom {
      font-family: var(--serif); font-weight: 600;
      font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.2;
      color: var(--dark); margin-top: 1.4rem; text-wrap: balance;
      transition: color .3s;
    }
    .ar-lien:hover .ar-nom, .ar-lien:focus-visible .ar-nom { color: var(--gold); }
    .ar-meta {
      display: flex; align-items: center; gap: .6rem; margin-top: .8rem;
      font-family: var(--sans); font-size: .85rem; color: rgba(28,20,16,.5);
    }
    .ar-cat { color: var(--gold); font-weight: 500; text-decoration: none; }
    .ar-cat:hover { color: var(--dark); }
    @media (max-width: 700px) {
      #articles { padding: 3.5rem 0 4.5rem; }
      .ar-rail { gap: 1.5rem; }
      .ar-carte { flex-basis: 72vw; }
    }

    /* Marquee défilant au survol */
    .presta-marquee {
      position: absolute;
      left: 0; right: 0;
      top: 50%;
      transform: translateY(-50%);
      height: 32%;
      overflow: hidden;
      opacity: 0;
      transition: opacity .4s ease;
      pointer-events: none;
      z-index: 3;
    }
    .presta-card:hover .presta-marquee { opacity: 1; }

    .marquee-track {
      display: flex;
      align-items: center;
      gap: 10px;
      height: 100%;
      will-change: transform;
    }
    .marquee-track img {
      height: 100%;
      width: auto;
      aspect-ratio: 3/4;
      object-fit: cover;
      flex-shrink: 0;
      pointer-events: none;
    }

    /* ══════════════════════════════
       TARIFS
    ══════════════════════════════ */
    #tarifs {
      background: var(--beige);
      padding: 6rem 0;
    }

    .tarifs-inner {
      max-width: 680px;
      margin: 0 auto;
      padding: 0 2.5rem;
    }

    .tarif-list { list-style: none; margin-top: 2.5rem; }

    .tarif-item {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      padding: 1.2rem 0;
      border-bottom: 1px solid rgba(184,151,90,.2);
    }
    .tarif-item:first-child { border-top: 1px solid rgba(184,151,90,.2); }

    .tarif-label {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 400;
      color: var(--dark);
    }
    .tarif-price {
      font-size: .75rem;
      letter-spacing: .12em;
      color: var(--warm);
      font-weight: 300;
    }
    .tarif-price strong {
      font-family: var(--serif);
      font-size: 1.3rem;
      font-weight: 400;
      color: var(--dark);
    }

    /* ══════════════════════════════
       PORTFOLIO
    ══════════════════════════════ */
    #portfolio { background: var(--cream); }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      grid-template-rows: auto auto;
      gap: 1.5px;
      margin-top: 3rem;
    }

    .portfolio-item {
      overflow: hidden;
      cursor: pointer;
    }
    .portfolio-item:nth-child(1) { grid-row: span 2; }

    .portfolio-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .7s ease;
    }
    .portfolio-item:hover img { transform: scale(1.04); }
    .portfolio-item:nth-child(1) { height: 580px; }
    .portfolio-item:nth-child(2),
    .portfolio-item:nth-child(3) { height: 286px; }

    .portfolio-footer {
      display: flex;
      justify-content: flex-end;
      margin-top: 1.5rem;
    }

    /* ══════════════════════════════
       MARQUES GRILLE
    ══════════════════════════════ */
    .marques-grid-wrap {
      width: 100%;
      padding: 0 4rem;
      box-sizing: border-box;
    }
    .marques-label {
      text-align: center;
      font-family: var(--serif);
      font-size: clamp(2rem, 3.8vw, 3.6rem);
      font-weight: 600;
      letter-spacing: -.01em;
      text-transform: uppercase;
      line-height: 1.05;
      color: var(--dark);
      margin-bottom: 3rem;
    }
    .marques-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .marques-row + .marques-row { margin-top: 3rem; }
    .marques-logo-item {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: default;
    }
    .marques-logo-item img {
      height: 72px;
      width: auto;
      max-width: 180px;
      object-fit: contain;
      opacity: .9;
      transition: opacity .2s, transform .2s;
    }
    .marques-logo-item:hover img { opacity: 1; transform: scale(1.06); }
    .marques-logo-item[data-brand="France 3"] img   { max-width: 60px; }
    .marques-logo-item[data-brand="Pink Lady"] img  { height: 86px; }
    .marques-logo-item[data-brand="Orchestra"] img  { height: 72px; max-width: 220px; }
    .marques-logo-item[data-brand="Red Bull"] img   { height: 84px; }

    /* ── Tooltip avis ── */
    #marque-tooltip {
      position: fixed;
      z-index: 9999;
      pointer-events: none;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity .18s ease, transform .18s ease;
      max-width: 280px;
    }
    #marque-tooltip.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* ── Marquee logos partenaires ── */
    @keyframes mq-scroll-left  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
    @keyframes mq-scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

    .mq-track-wrap {
      overflow: hidden;
      width: 100%;
    }
    .mq-track {
      display: flex;
      align-items: center;
      gap: 5rem;
      width: max-content;
    }
    .mq-track img {
      height: 56px;
      width: auto;
      max-width: 160px;
      object-fit: contain;
      opacity: .7;
      filter: grayscale(30%);
      flex-shrink: 0;
      transition: opacity .2s;
    }
    .mq-track img:hover { opacity: 1; filter: none; }
    .mq-left  { animation: mq-scroll-left  28s linear infinite; }
    .mq-right { animation: mq-scroll-right 28s linear infinite; }
    /* Safari (iPhone) : la rangée animée reste sur sa propre couche, sans
       clignoter ; les logos sont chargés d'avance (pas de chargement différé,
       que Safari ne déclenche pas quand l'image arrive en glissant). */
    .mq-track { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }
    @media (max-width: 700px) {
      .mq-track { gap: 2.6rem; }
      .mq-track img { height: 44px; max-width: 120px; }
      .mq-left, .mq-right { animation-duration: 22s; }
    }

    /*
       CLIENTS
    ══════════════════════════════ */
    #clients {
      background: var(--beige);
      padding: 4rem 0;
    }

    .clients-label {
      text-align: center;
      font-size: .56rem;
      letter-spacing: .45em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2.5rem;
    }

    .clients-strip {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      flex-wrap: wrap;
    }

    .client-name {
      font-family: var(--serif);
      font-size: 1rem;
      font-weight: 400;
      font-style: italic;
      color: rgba(58,45,36,.45);
      letter-spacing: .05em;
      transition: color .2s;
    }
    .client-name:hover { color: var(--warm); }

    /* ══════════════════════════════
       FX
    ══════════════════════════════ */
    #fx {
      background: var(--dark);
      padding: 0;
      position: relative;
      overflow: hidden;
      min-height: 520px;
      display: flex;
      align-items: center;
    }

    .fx-bg {
      position: absolute;
      inset: 0;
      background: url('https://elodie-pawlik-atelier.lovable.app/assets/fx-hero-BWCaT9_o.jpg') center/cover no-repeat;
      opacity: .38;
    }

    .fx-inner {
      position: relative;
      z-index: 2;
      max-width: 1240px;
      margin: 0 auto;
      padding: 7rem 2.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .fx-content .section-label { color: var(--gold-lt); }

    .fx-title {
      font-family: var(--serif);
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 300;
      color: var(--cream);
      line-height: 1.15;
      margin-bottom: 1.5rem;
    }

    .fx-text {
      font-size: .85rem;
      line-height: 1.85;
      color: rgba(253,250,247,.65);
      font-weight: 300;
      margin-bottom: 2rem;
    }

    .btn-outline-beige {
      display: inline-block;
      padding: .85rem 2rem;
      border: 1px solid rgba(184,151,90,.55);
      color: var(--gold-lt);
      font-family: var(--sans);
      font-size: clamp(.6rem, .7vw, .82rem);
      letter-spacing: .25em;
      text-transform: uppercase;
      text-decoration: none;
      transition: background .25s, border-color .25s;
    }
    .btn-outline-beige:hover {
      background: rgba(184,151,90,.1);
      border-color: var(--gold-lt);
    }

    /* ══════════════════════════════
       À PROPOS
    ══════════════════════════════ */
    #apropos { background: var(--cream); }

    .apropos-inner {
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 2.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
    }

    .apropos-img {
      position: relative;
    }
    .apropos-img img {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
      display: block;
    }
    .apropos-img::before {
      content: '';
      position: absolute;
      top: -1.5rem;
      left: -1.5rem;
      right: 1.5rem;
      bottom: 1.5rem;
      border: 1px solid rgba(184,151,90,.3);
      z-index: -1;
    }

    .apropos-text {
      font-size: .9rem;
      line-height: 1.85;
      color: var(--warm);
      font-weight: 300;
      margin: 1.5rem 0 2.5rem;
    }

    .apropos-stats {
      display: flex;
      gap: 2.5rem;
      margin-top: 2.5rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(184,151,90,.2);
    }
    .stat-number {
      font-family: var(--serif);
      font-size: 2.5rem;
      font-weight: 300;
      color: var(--dark);
      display: block;
      line-height: 1;
    }
    .stat-label {
      font-size: .6rem;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: #ffffff;
      margin-top: .3rem;
      display: block;
    }

    /* ══════════════════════════════
       CONTACT
    ══════════════════════════════ */
    #contact {
      background: var(--beige);
      text-align: center;
      padding: 8rem 0;
    }

    .contact-inner {
      max-width: 560px;
      margin: 0 auto;
      padding: 0 2rem;
    }

    .contact-text {
      font-size: .9rem;
      line-height: 1.8;
      color: var(--warm);
      font-weight: 300;
      margin: 1.5rem 0 2.5rem;
    }

    /* ══════════════════════════════
       FOOTER
    ══════════════════════════════ */
    footer {
      background: #C2A98A;
      position: relative;
      overflow: hidden;
      padding: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    /* Dégradé hero → footer */
    footer::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 110px;
      background: linear-gradient(to bottom, #ffffff 0%, rgba(194,169,138,0) 100%);
      z-index: 2;
      pointer-events: none;
    }
    .ft-google-btn {
      display: inline-block;
      margin-top: .6rem;
      padding: .75rem 1.6rem;
      background: transparent;
      border: 2px solid rgba(255,255,255,.45);
      color: #fff;
      font-family: var(--sans);
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 100px;
      transition: border-color .2s, background .2s;
      width: fit-content;
    }
    .ft-google-btn:hover { border-color: #fff; background: rgba(255,255,255,.1); }

    /* ══════════════════════════════
       SCROLL REVEAL léger
    ══════════════════════════════ */
    .reveal {
      opacity: 0;
      transform: translateY(48px);
      transition: opacity .85s cubic-bezier(.76,0,.24,1), transform .85s cubic-bezier(.76,0,.24,1);
    }
    .reveal.in { opacity: 1; transform: translateY(0); }
    .reveal-delay-1 { transition-delay: .12s; }
    .reveal-delay-2 { transition-delay: .24s; }
    .reveal-delay-3 { transition-delay: .36s; }
    .reveal-left  { transform: translateX(-40px) translateY(20px); }
    .reveal-left.in  { transform: translateX(0) translateY(0); }
    .reveal-right { transform: translateX(40px) translateY(20px); }
    .reveal-right.in { transform: translateX(0) translateY(0); }

    /* ══════════════════════════════
       RESPONSIVE — mobile minimal
    ══════════════════════════════ */
    @media (max-width: 900px) {
      .prestations-grid { grid-template-columns: repeat(2, 1fr); }
      .portfolio-grid { grid-template-columns: 1fr; }
      .portfolio-item:nth-child(1) { grid-row: auto; height: 320px; }
      .portfolio-item:nth-child(2),
      .portfolio-item:nth-child(3) { height: 280px; }
      .fx-inner { grid-template-columns: 1fr; gap: 2rem; }
      .apropos-inner { grid-template-columns: 1fr; gap: 3rem; }
      .apropos-img::before { display: none; }
      .footer-top { grid-template-columns: 1fr; text-align: center; }
      .footer-social { align-items: center; }
      .hdr-brand-name { font-size: 1.35rem; }
    }

    @media (max-width: 900px) {
      .hero-content { max-width: 100%; margin-left: 0; padding: 0 1.4rem; }
      #hero { padding-bottom: clamp(4rem, 10vh, 8rem); }
    }

    @media (max-width: 640px) {
      .prestations-grid { grid-template-columns: 1fr; }
      .hdr-nav { display: none; }
      #site-header { height: auto; }
      .footer-bottom { flex-direction: column; text-align: center; }
    }

    /* ══ LA MAISON DES FX ══ */
    #fx {
      background: #111;
      padding: 4rem 2rem 5rem;
      margin: 0 3rem;
    }
    /* #fx est déclaré plus haut en conteneur flex. Sans largeur explicite,
       ce bloc est un élément flex qui se dimensionne sur son contenu au
       lieu de remplir la section. Tant que les images n'avaient pas de
       srcset, c'est leur largeur intrinsèque, 1672 px, qui donnait sa
       largeur au bloc. Depuis, le navigateur se sert de l'attribut sizes
       pour le calcul de mise en page : le bloc s'est retrouvé bien plus
       étroit, et collé à gauche puisque flex aligne au début.
       width: 100% rend la largeur indépendante des images. */
    .mdfx-inner {
      width: 100%;
      max-width: 100%;
      padding: 0 3rem;
    }
    .mdfx-section-title {
      font-family: var(--serif);
      font-size: clamp(2rem, 3.8vw, 3.6rem);
      font-weight: 600;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: -.01em;
      line-height: 1.05;
      margin-bottom: 2rem;
    }
    /* ── FX Before/After Slider ── */
    .fx-slider {
      position: relative;
      width: 70%;
      margin: 0 auto;
      overflow: hidden;
      cursor: col-resize;
      user-select: none;
      -webkit-user-select: none;
      border: 2px solid rgba(255,255,255,.15);
      /* Sur téléphone : le doigt qui glisse à l'horizontale déplace la barre,
         le glissement vertical fait défiler la page. */
      touch-action: pan-y;
    }
    .fx-slider img { -webkit-user-drag: none; pointer-events: none; }
    .fx-slider-left,
    .fx-slider-right {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
    }
    .fx-slider-left img,
    .fx-slider-right img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    /* Right side is the "base" — sets height */
    .fx-slider-right {
      position: relative;
    }
    .fx-slider-right img {
      height: auto;
    }
    /* Left side clips at the handle position */
    .fx-slider-left {
      clip-path: inset(0 50% 0 0);
      z-index: 1;
      transition: clip-path .05s linear;
    }
    /* Handle */
    .fx-slider-handle {
      position: absolute;
      top: 0; bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      pointer-events: none;
    }
    .fx-handle-line {
      width: 2px;
      flex: 1;
      background: rgba(255,255,255,.8);
    }
    .fx-handle-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 42px; height: 42px;
      border-radius: 50%;
      background: rgba(30,30,30,.85);
      border: 2px solid rgba(255,255,255,.6);
      display: flex;
      align-items: center;
      justify-content: center;
      /* Le liseré blanc de 2 px suffit à détacher la poignée de la photo,
         l'ombre qui était ici faisait double emploi. */
    }
    .mdfx-img-wrap {
      border: 2px solid #111;
      border-radius: 10px;
      overflow: hidden;
      line-height: 0;
      max-width: 70%;
      margin: 0 auto;
    }
    .mdfx-img-wrap img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* ══════════════════════════════════
       MENU MOBILE
    ══════════════════════════════════ */
    .hdr-burger {
      display: none; background: none; border: 0; cursor: pointer;
      width: 40px; height: 40px; padding: 8px; flex-shrink: 0;
    }
    .hdr-burger span {
      display: block; height: 1.5px; background: #fff; margin: 5px 0;
      transition: transform .3s ease, opacity .3s ease, background .45s ease;
    }
    #site-header.scrolled .hdr-burger span { background: var(--dark); }
    .hdr-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
    .hdr-burger.open span:nth-child(2) { opacity: 0; }
    .hdr-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

    #mobile-panel {
      position: fixed; inset: 0; z-index: 899; background: var(--dark);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 1.5rem; opacity: 0; visibility: hidden;
      transition: opacity .35s ease, visibility .35s ease;
    }
    #mobile-panel.open { opacity: 1; visibility: visible; }
    #mobile-panel a {
      font-family: var(--serif); font-size: 1.55rem; letter-spacing: .05em;
      color: #fff; text-decoration: none; transition: color .25s;
    }
    #mobile-panel a:hover { color: var(--gold-lt); }
    #mobile-panel .mp-devis {
      margin-top: 1rem; font-family: var(--sans); font-size: .66rem;
      letter-spacing: .24em; text-transform: uppercase;
      border: 1px solid var(--gold); padding: .85rem 2rem; border-radius: 100px;
      color: var(--gold-lt);
    }
    @media (max-width: 900px) {
      .hdr-nav, .hdr-cta { display: none; }
      .hdr-burger { display: block; }
      .hdr-top { padding: 0 1.4rem; }
    }

    /* ══════════════════════════════════
       ENTRÉE DE PAGE
       Un fondu sur l'en-tête, une montée douce sur le premier bloc.
       Rien n'est animé si le visiteur a demandé la réduction des
       animations dans les réglages de son système.
    ══════════════════════════════════ */
    @keyframes entreeFondu {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes entreeMontee {
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: none; }
    }
    @media (prefers-reduced-motion: no-preference) {
      #site-header { animation: entreeFondu .9s .15s ease-out both; }
      body > section:first-of-type,
      body > main:first-of-type {
        animation: entreeMontee 1s .05s cubic-bezier(.22,.61,.36,1) both;
      }
    }

    /* ══════════════════════════════════════════════════════════
       FOOTER · direction artistique en annuaire
       Une barre d'identité en haut (marque, note Google, réseaux),
       puis le plan du site en colonnes. Bloc identique sur toutes
       les pages : toute retouche ici doit être reportée partout.
    ══════════════════════════════════════════════════════════ */
    .ft-barre {
      position: relative; z-index: 1;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 2rem;
      padding: clamp(4.5rem, 8vw, 7rem) clamp(1.4rem, 3vw, 3rem) clamp(2rem, 3.5vw, 3rem);
    }
    .ft-marque { text-decoration: none; display: block; flex-shrink: 0; }
    .ft-marque-nom {
      display: block; font-family: var(--serif); font-size: 1.35rem;
      letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
      color: #fff; line-height: 1.1;
    }
    .ft-marque-sub {
      display: block; font-family: var(--sans); font-size: .54rem;
      letter-spacing: .3em; text-transform: uppercase;
      color: rgba(255,255,255,.62); margin-top: .15rem;
    }

    /* Bloc note : le logo Google détouré, les étoiles, la note. */
    .ft-note { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
    .ft-note-logo { height: 22px; width: auto; display: block; }
    .ft-note-detail { display: flex; flex-direction: column; gap: .12rem; }
    .ft-note-etoiles { display: flex; gap: .1rem; }
    .ft-note-etoiles svg { width: 13px; height: 13px; fill: #fff; display: block; }
    .ft-note-texte {
      font-family: var(--sans); font-size: .68rem; font-weight: 500;
      letter-spacing: .12em; text-transform: uppercase;
      color: rgba(255,255,255,.8); transition: color .2s;
    }
    .ft-note:hover .ft-note-texte { color: #fff; }

    /* Réseaux : pictogrammes de trait dessinés ici, pas les logos des
       marques. C'est le libellé à côté qui nomme le service. */
    .ft-reseaux { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); flex-wrap: wrap; }
    .ft-reseau {
      display: inline-flex; align-items: center; gap: .55rem;
      font-family: var(--sans); font-size: .82rem; font-weight: 500;
      color: rgba(255,255,255,.85); text-decoration: none; transition: color .2s;
    }
    .ft-reseau svg {
      width: 19px; height: 19px; display: block; flex-shrink: 0;
      fill: none; stroke: currentColor; stroke-width: 1.5;
      stroke-linecap: round; stroke-linejoin: round;
    }
    .ft-reseau:hover { color: #fff; }

    .ft-rule {
      position: relative; z-index: 1;
      margin: 0 clamp(1.4rem, 3vw, 3rem); height: 1px; background: rgba(255,255,255,.25);
    }

    /* Plan du site : les colonnes se replient d'elles-mêmes selon la
       largeur, il n'y a pas de palier à écrire. */
    .ft-nav-grid {
      position: relative; z-index: 1;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
      padding: clamp(2.5rem, 4vw, 3.5rem) clamp(1.4rem, 3vw, 3rem) clamp(2rem, 3vw, 3rem);
      align-items: start;
    }
    .ft-col { display: flex; flex-direction: column; gap: .7rem; }
    .ft-col-title {
      font-family: var(--sans); font-size: .68rem; font-weight: 600;
      letter-spacing: .16em; text-transform: uppercase;
      color: #fff; margin-bottom: .5rem;
    }
    .ft-col a, .ft-col span {
      font-family: var(--sans); font-size: .88rem; font-weight: 300;
      color: rgba(255,255,255,.78); text-decoration: none;
      line-height: 1.4; transition: color .2s;
    }
    .ft-col a:hover { color: #fff; }

    .ft-bottom {
      position: relative; z-index: 1;
      padding: 1.2rem clamp(1.4rem, 3vw, 3rem) 2rem;
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 1rem;
      border-top: 1px solid rgba(255,255,255,.15);
    }
    .footer-copy { font-family: var(--sans); font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .1em; }
    .footer-legal {
      font-family: var(--sans); font-size: .65rem; font-weight: 600;
      letter-spacing: .15em; text-transform: uppercase; text-decoration: none;
      color: #1C1410; background: #fff; padding: .45rem 1.1rem;
      border-radius: 3px; transition: opacity .2s;
    }
    .footer-legal:hover { opacity: .8; }

    @media (max-width: 900px) {
      /* Les trois blocs de la barre passent les uns sous les autres. */
      .ft-barre { flex-direction: column; align-items: flex-start; gap: 2rem; }
    }
    /* Sur téléphone, auto-fit avec un minimum de 180 px ne loge qu'une
       colonne : les cinq rubriques s'empilaient et le footer devenait
       interminable, avec la moitié droite vide. Deux colonnes imposées
       le ramènent à trois rangées. */
    @media (max-width: 700px) {
      .ft-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem 1.2rem;
        padding: 2rem 1.4rem 1.5rem;
      }
      .ft-col { gap: .5rem; }
      .ft-col-title { font-size: .62rem; letter-spacing: .12em; margin-bottom: .3rem; }
      .ft-col a, .ft-col span { font-size: .8rem; line-height: 1.35; }
      .ft-barre { padding: 3.5rem 1.4rem 1.8rem; gap: 1.5rem; }
      /* La hauteur d'écran entière n'a pas de sens ici : le footer doit
         faire la taille de son contenu. */
      footer#site-footer, footer { min-height: 0; }
    }
    @media (max-width: 560px) {
      .ft-reseaux { flex-direction: column; align-items: flex-start; gap: .9rem; }
      footer#site-footer, footer { min-height: 0; }
    }
    /* ══════════════════════════════════════════════════════════
       HERO SUR TÉLÉPHONE
       Trois corrections, et rien qui touche au bureau.

       1. Le bandeau blanc en haut venait d'un margin-top: 68px posé sur
          le hero. L'en-tête étant en position: fixed, il ne pousse rien :
          cette marge ne faisait qu'ajouter du vide au-dessus de l'image.

       2. Le hero mesurait 110vh avec un plancher de 700px, donc plus d'un
          écran de haut sur un téléphone. Il tient maintenant dans la
          fenêtre. On utilise svh plutôt que vh : sur mobile, vh se base
          sur la fenêtre barre d'adresse rétractée, ce qui déborde tant
          qu'elle est visible.

       3. Le nom et la ligne des univers sont ramenés à une taille qui
          laisse voir les boutons sans défiler.
    ══════════════════════════════════════════════════════════ */
    @media (max-width: 700px) {
      #hero {
        margin-top: 0;
        height: 100svh;
        min-height: 520px;
        max-height: none;
        padding-bottom: clamp(2rem, 6vh, 3.5rem);
      }
      /* Le cadrage remonte : sur un format vertical, le visage se centre
         mieux un peu plus haut que le milieu de l'image. */
      .hero-bg img.hero-photo { object-position: center 18%; }

      .hero-tag { font-size: .58rem; letter-spacing: .34em; margin-bottom: .7rem; }
      .hero-name { font-size: clamp(2.4rem, 13vw, 3.6rem); letter-spacing: .04em; }
      .hero-script { font-size: 1.25rem; margin-bottom: 1rem; }
      .hero-spec {
        font-size: .56rem; letter-spacing: .18em;
        margin-bottom: 1.4rem; line-height: 1.9;
      }
      /* Les deux boutons prennent la même largeur plutôt que de se
         partager la ligne au hasard de leur libellé. */
      .hero-btns { gap: .7rem; width: 100%; }
      .hero-btns .btn-primary,
      .hero-btns .btn-secondary {
        flex: 1 1 100%;
        text-align: center;
        padding: .9rem 1rem;
        font-size: .62rem;
        letter-spacing: .18em;
      }

      /* ── EFFETS SPÉCIAUX ──
         Trois rembourrages s'additionnaient : 3rem de marge sur la section,
         2rem de son rembourrage, puis 3rem de celui du bloc intérieur. Sur
         un écran de 375 px il ne restait que 119 px, dont le comparateur
         prenait 70 %, soit 83 px. On dégage la largeur et le comparateur
         occupe toute la colonne. Le min-height de 520 px, hérité du bureau,
         laissait en prime un grand vide noir sous l'image. */
      #fx {
        margin: 0;
        padding: 2.5rem 0 3rem;
        min-height: 0;
      }
      .mdfx-inner { padding: 0 .9rem; }
      /* Le titre tient sur une seule ligne : la taille est bornée par la
         largeur de l'écran, et white-space empêche la coupure. */
      .mdfx-section-title {
        font-size: clamp(1.1rem, 6.4vw, 1.9rem);
        white-space: nowrap;
        margin-bottom: 1.2rem;
      }
      .fx-slider { width: 100%; }
    }

    /* ══════════════════════════════════════════════════════════
       MENU MOBILE · fond blanc, écriture noire
       Le panneau était sombre avec du texte blanc. Trois éléments
       doivent basculer ensemble, sinon il en reste un illisible :
       le panneau lui-même, les barres du bouton de fermeture, et le
       nom de la marque, qui appartiennent à l'en-tête posé au-dessus.
       Bloc placé en fin de feuille : à spécificité égale, c'est la
       dernière déclaration qui l'emporte.
    ══════════════════════════════════════════════════════════ */
    #mobile-panel { background: #FFFFFF; }
    #mobile-panel a { color: #1C1410; }
    #mobile-panel a:hover { color: #9A7B42; }
    #mobile-panel .mp-devis {
      border-color: #1C1410;
      color: #1C1410;
    }
    #mobile-panel .mp-devis:hover { background: #1C1410; color: #FFFFFF; }

    /* Quand le panneau est ouvert, l'en-tête se détache sur du blanc.
       La croix s'appuie sur la classe que le script pose déjà sur le
       bouton, sans dépendre de :has. */
    .hdr-burger.open span { background: #1C1410; }
    body:has(#mobile-panel.open) .hdr-brand-name { color: #1C1410; }
    body:has(#mobile-panel.open) .hdr-brand-sub { color: #9A7B42; }
