
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --bg: #FDF6EC;
      --charcoal: #4A3F3F;
      --terracotta: #B85C38;
      --cream-tile: #FFF7ED;
      --green-tile: #B7CEBD;
      --gold-tile: #D4A843;
      --terra-tile: #C06B3E;
      --prune-tile: var(--banner-1);  /* tuile astro : suit la palette des bandeaux */
      --lavender-tile: #D5C8E6;
      --sky-tile: #A8C8E8;
      --rose-tile: #E8B4B8;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Quicksand', sans-serif; background: var(--bg); color: var(--charcoal); overflow-x: hidden; }


    /* ===== HERO (maquette client 06/2026 : portrait Françoise + 2 CTA) ===== */
    .hero {
      position: relative; overflow: hidden;
      background: linear-gradient(180deg, #FAECE3 0%, #FBF0E5 76%, var(--bg) 100%);
      padding: 10px 20px 0;
    }
    .hero-inner {
      max-width: 1180px; margin: 0 auto;
      display: grid; grid-template-columns: 1.05fr 0.95fr;
      align-items: end; gap: 30px;
    }
    .hero-copy { padding: 56px 0 64px; position: relative; z-index: 3; }
    .hero-title { font-size: clamp(2.5rem, 4.6vw, 3.9rem); line-height: 1.06; font-weight: 700; margin-bottom: 30px; }
    .hero-title-red { color: var(--terracotta); }
    .hero-title-green { color: #7E8C50; position: relative; display: inline-block; padding-right: 44px; }
    .hero-underline { position: absolute; left: 4px; bottom: -15px; width: 78%; height: auto; }
    .hero-heart-tip { position: absolute; right: 2px; bottom: -4px; width: 30px; height: auto; }
    .hero-sub { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; color: var(--charcoal); line-height: 1.32; margin-bottom: 16px; }
    .hero-sub span { color: var(--terracotta); }
    .hero-lead { font-size: 1.03rem; font-weight: 500; color: #6b5e5e; line-height: 1.65; max-width: 480px; margin-bottom: 32px; }
    .hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
    .hero-btn-primary {
      display: inline-flex; align-items: center; gap: 12px;
      background: var(--terracotta); color: #fff; text-decoration: none;
      font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.92rem;
      letter-spacing: 1.4px; text-transform: uppercase;
      padding: 16px 32px; border-radius: 50px;
      box-shadow: 0 10px 26px rgba(184,92,56,0.32);
      transition: background 0.2s, transform 0.2s;
    }
    .hero-btn-primary:hover { background: #a04e2e; transform: translateY(-2px); }
    .hero-btn-primary svg { width: 19px; height: 17px; flex-shrink: 0; }
    .hero-btn-quiz {
      display: inline-block; background: rgba(255,255,255,0.85); color: var(--terracotta); text-decoration: none;
      font-weight: 700; font-size: 0.88rem; line-height: 1.45;
      padding: 13px 24px; border-radius: 28px; border: 2px solid var(--terracotta);
      max-width: 460px; transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .hero-btn-quiz:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }

    .hero-visual { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; min-height: 520px; }
    .hero-blob {
      position: absolute; bottom: -150px; left: 50%; transform: translateX(-50%);
      width: 580px; height: 580px; border-radius: 50%;
      background: #F7DACC; z-index: 0;
    }
    .hero-portrait { position: relative; z-index: 1; width: min(470px, 94%); height: auto; display: block; }
    .hero-mission {
      position: absolute; z-index: 2; right: -10px; bottom: 36px;
      display: flex; gap: 14px; align-items: flex-start;
      background: #fff; border-radius: 18px; padding: 20px 22px;
      box-shadow: 0 16px 40px rgba(74,63,63,0.16);
      max-width: 330px;
    }
    .hero-mission p { font-size: 0.88rem; font-weight: 600; color: var(--charcoal); line-height: 1.5; margin: 0; }
    .hero-mission .mission-heart { flex-shrink: 0; width: 32px; height: 30px; margin-top: 3px; }
    .hero-mission-script { font-family: 'Caveat', cursive; font-size: 1.55rem !important; line-height: 1.1 !important; color: var(--terracotta); font-weight: 700; margin-top: 7px !important; }
    .hero-heart-deco { position: absolute; top: 35%; right: 12%; width: 50px; z-index: 1; }
    .hero-leaf { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); height: 82%; width: auto; z-index: 0; opacity: 0.95; pointer-events: none; }

    @media (max-width: 980px) {
      .hero-inner { grid-template-columns: 1fr; gap: 0; }
      .hero-copy { padding: 40px 0 8px; text-align: center; }
      .hero-lead { margin-inline: auto; }
      .hero-ctas { align-items: center; }
      .hero-underline { left: 50%; transform: translateX(-58%); }
      .hero-visual { flex-direction: column; align-items: center; min-height: 0; margin-top: 30px; }
      .hero-blob { width: 400px; height: 400px; bottom: auto; top: 30px; }
      .hero-portrait { width: min(320px, 82%); margin-bottom: 0; }
      .hero-mission { position: static; margin: -26px auto 30px; }
      .hero-leaf, .hero-heart-deco { display: none; }
    }
    .btn-decouvrir { display: inline-block; background: var(--terracotta); color: #fff; padding: 12px 32px; border-radius: 50px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.95rem; text-decoration: none; transition: background 0.2s, transform 0.2s; border: none; cursor: pointer; }
    .btn-decouvrir:hover { background: #a04e2e; transform: translateY(-2px); }

    /* ===== PUZZLE GRID ===== */
    /* ===== Médaillon vidéo — mot de bienvenue ===== */
    .welcome-section { background: var(--bg); padding: 10px 20px 34px; scroll-margin-top: 90px; }
    .welcome-inner {
      max-width: 1080px; margin: 0 auto;
      display: grid; grid-template-columns: auto minmax(0, 1fr);
      align-items: center; gap: clamp(30px, 5vw, 66px);
    }
    .welcome-copy { min-width: 0; }
    .welcome-media { --medallion: 320px; position: relative; display: flex; flex-direction: column; align-items: center; }
    .welcome-ring {
      position: absolute; top: -14px; left: 50%;
      transform: translateX(-50%);
      width: calc(var(--medallion) + 28px); height: calc(var(--medallion) + 28px);
      border-radius: 50%; background: #F7DACC; z-index: 0;
    }
    .welcome-heart {
      position: absolute; top: 2px; left: 50%; width: 34px; height: auto; z-index: 4;
      transform: translateX(calc(var(--medallion) / 2 - 6px)) rotate(12deg);
    }
    .welcome-medallion {
      position: relative; z-index: 2;
      width: var(--medallion); height: var(--medallion);
      border-radius: 50%; overflow: hidden;
      background: #EADFD4;
      border: 6px solid #fff;
      box-shadow: 0 18px 44px rgba(74,63,63,0.18);
      cursor: pointer;
    }
    .welcome-video {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center 22%;
      display: block; background: #EADFD4;
    }
    .welcome-progress {
      position: absolute; inset: 0; width: 100%; height: 100%;
      z-index: 3; pointer-events: none;
      transform: rotate(-90deg);
      opacity: 0; transition: opacity 0.3s;
    }
    .welcome-medallion.is-playing .welcome-progress { opacity: 1; }
    .welcome-progress-bar {
      fill: none; stroke: var(--terracotta); stroke-width: 3; stroke-linecap: round;
      stroke-dasharray: 100; stroke-dashoffset: 100;
      filter: drop-shadow(0 0 2px rgba(255,255,255,0.9));
    }

    .welcome-play {
      position: absolute; inset: 0; margin: auto;
      width: 74px; height: 74px; border: none; border-radius: 50%;
      background: rgba(184,92,56,0.94); color: #fff;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; padding: 0;
      transition: background 0.2s, transform 0.2s, opacity 0.25s;
      box-shadow: 0 8px 22px rgba(61,39,68,0.28);
    }
    .welcome-play svg { width: 34px; height: 34px; }
    .welcome-play .icon-play { margin-left: 3px; }
    .welcome-play .icon-pause { display: none; margin-left: 0; }
    .welcome-play::before {
      content: ''; position: absolute; inset: -8px;
      border-radius: 50%; border: 2px solid rgba(255,255,255,0.7);
      animation: welcome-pulse 2.6s ease-out infinite;
    }
    .welcome-play:hover { background: var(--terracotta-dark, #a04e2e); transform: scale(1.06); }
    /* Lecture en cours : le bouton s'efface, et réapparaît au survol en « pause » */
    .welcome-medallion.is-playing .welcome-play { opacity: 0; }
    .welcome-medallion.is-playing:hover .welcome-play { opacity: 1; }
    .welcome-medallion.is-playing .welcome-play .icon-play { display: none; }
    .welcome-medallion.is-playing .welcome-play .icon-pause { display: block; }
    .welcome-medallion.is-playing .welcome-play::before { animation: none; opacity: 0; }
    @keyframes welcome-pulse {
      0%   { transform: scale(1);    opacity: 0.75; }
      70%  { transform: scale(1.35); opacity: 0; }
      100% { transform: scale(1.35); opacity: 0; }
    }
    .welcome-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
      line-height: 1.22; color: var(--prune, #3D2744); margin-bottom: 16px;
    }
    .welcome-text {
      font-size: 1.02rem; font-weight: 500; color: #6b5e5e;
      line-height: 1.68; max-width: 480px; margin-bottom: 26px;
    }

    @media (max-width: 900px) {
      .welcome-inner { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 30px; }
      .welcome-title br { display: none; }
      .welcome-text { margin-left: auto; margin-right: auto; }
      .welcome-media { --medallion: 260px; }
    }
    @media (max-width: 480px) {
      .welcome-section { padding: 6px 20px 34px; }
      .welcome-media { --medallion: 220px; }
      .welcome-play { width: 62px; height: 62px; }
      .welcome-play svg { width: 28px; height: 28px; }
      /* Pas de survol sur mobile : un appui sur le médaillon met en pause,
         ce qui fait réapparaître le bouton avec l'icône lecture. */
    }
    @media (prefers-reduced-motion: reduce) {
      .welcome-play::before { animation: none; }
    }

    .puzzle-section { padding: 80px 20px 80px; scroll-margin-top: 20px; }
    .puzzle-grid {
      display: grid;
      grid-template-areas:
        "familles dodo    couple  emotion"
        "familles astro   manger  manger"
        "vacances vacances ecrans  ecrans";
      grid-template-columns: 1.2fr 1fr 1fr 1fr;
      grid-template-rows: 315px 315px 280px;
      gap: 10px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* ===== TILE ===== */
    .tile {
      position: relative;
      display: flex; align-items: center; justify-content: center;
      padding: 18px 16px; cursor: pointer;
      transition: transform 0.3s ease-in-out;
      /* Profondeur des formes du puzzle (encoches + ergots) — pilotée par variables */
      --sock-r: 32px; --sock-off: -9px; --tab-size: 60px; --tab-off: -27px;
    }
    .tile:hover { transform: scale(1.08); z-index: 30 !important; }
    .tile.active { transform: scale(1.25); z-index: 30 !important; }
    .tile:hover .tile-shape, .tile.active .tile-shape {
      filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3)) drop-shadow(0 2px 8px rgba(0,0,0,0.15));
    }

    .tile-familles  { grid-area: familles;  z-index: 1; }
    .tile-dodo      { grid-area: dodo;      z-index: 2; }
    .tile-couple    { grid-area: couple;    z-index: 3; }
    .tile-emotion   { grid-area: emotion;   z-index: 4; }
    .tile-astro     { grid-area: astro;     z-index: 5; }
    .tile-manger    { grid-area: manger;    z-index: 6; }
    .tile-vacances  { grid-area: vacances;  z-index: 7; }
    .tile-ecrans    { grid-area: ecrans;    z-index: 8; }

    /* ===== TILE SHAPE (masked background) ===== */
    .tile-shape {
      position: absolute; inset: 0; border-radius: inherit;
      filter: drop-shadow(0 3px 10px rgba(0,0,0,0.22)) drop-shadow(0 1px 3px rgba(0,0,0,0.1));
    }
    .tile-shape::after {
      content: ''; position: absolute; inset: -1px;
      border-radius: inherit; background: var(--tile-bg);
    }

    .tile-familles  { border-radius: 16px 4px 4px 16px; }
    .tile-dodo      { border-radius: 4px; }
    .tile-couple    { border-radius: 4px; }
    .tile-emotion   { border-radius: 4px 16px 4px 4px; }
    .tile-astro     { border-radius: 4px; }
    .tile-manger    { border-radius: 4px; }
    .tile-vacances  { border-radius: 4px 4px 4px 16px; }
    .tile-ecrans    { border-radius: 4px 16px 16px 4px; }

    .tile-familles  { --tile-bg: var(--cream-tile); }
    .tile-dodo      { --tile-bg: var(--green-tile); }
    .tile-couple    { --tile-bg: var(--gold-tile); }
    .tile-emotion   { --tile-bg: var(--lavender-tile); }
    .tile-astro     { --tile-bg: var(--prune-tile); }
    .tile-manger    { --tile-bg: var(--terra-tile); }
    .tile-vacances  { --tile-bg: var(--sky-tile); }
    .tile-ecrans    { --tile-bg: var(--rose-tile); }
    .tile-astro, .tile-manger { color: #fff; }
    /* Remove drop-shadow on these two to avoid line artifact at their shared edge */
    .tile-astro .tile-shape,
    .tile-manger .tile-shape {
      filter: none;
    }
    .tile-astro:hover .tile-shape, .tile-astro.active .tile-shape,
    .tile-manger:hover .tile-shape, .tile-manger.active .tile-shape {
      filter: none;
    }

    /* ===== SOCKET MASKS =====
       All sockets use CSS mask with radial-gradient.
       Multi-socket tiles use mask-composite: intersect / -webkit-mask-composite: source-in.
       Socket r=32, center at -9px from edge.
    */

    /* Single left socket at 50% */
    .tile-dodo .tile-shape::after,
    .tile-couple .tile-shape::after,
    .tile-emotion .tile-shape::after {
      -webkit-mask-image: radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      mask-image: radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r));
    }

    /* Left 50% + top 50% */
    .tile-astro .tile-shape::after {
      -webkit-mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      -webkit-mask-composite: source-in;
      mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      mask-composite: intersect;
    }

    /* Left 50% + top ~25% */
    .tile-manger .tile-shape::after {
      -webkit-mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 25% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      -webkit-mask-composite: source-in;
      mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 25% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      mask-composite: intersect;
    }

    /* Top ~27% (from Familles) + top ~77% (from Astro) */
    .tile-vacances .tile-shape::after {
      -webkit-mask-image:
        radial-gradient(circle var(--sock-r) at 27% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 77% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      -webkit-mask-composite: source-in;
      mask-image:
        radial-gradient(circle var(--sock-r) at 27% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 77% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      mask-composite: intersect;
    }

    /* Left 50% + top 50% */
    .tile-ecrans .tile-shape::after {
      -webkit-mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      -webkit-mask-composite: source-in;
      mask-image:
        radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
        radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r));
      mask-composite: intersect;
    }

    /* ===== TABS (60px circles, protrude 27px from tile edge) ===== */
    .tab {
      position: absolute;
      width: var(--tab-size); height: var(--tab-size);
      border-radius: 50%;
      pointer-events: none;
    }
    .tab-r { right: var(--tab-off); transform: translateY(-50%); }
    .tab-b { bottom: var(--tab-off); transform: translateX(-50%); }

    .tile-familles .tab  { background: var(--cream-tile); }
    .tile-dodo .tab      { background: var(--green-tile); }
    .tile-couple .tab    { background: var(--gold-tile); }
    .tile-emotion .tab   { background: var(--lavender-tile); }
    .tile-astro .tab     { background: var(--prune-tile); }
    .tile-manger .tab    { background: var(--terra-tile); }
    .tile-vacances .tab  { background: var(--sky-tile); }
    .tab-m { display: none; }

    /* ===== TILE CONTENT ===== */
    .tile-default, .tile-hover {
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      text-align: center; width: 100%; position: relative; z-index: 1;
      transition: opacity 0.3s ease;
    }
    .tile-hover { position: absolute; inset: 0; padding: 28px 60px; opacity: 0; pointer-events: none; }
    .tile:hover .tile-hover, .tile.active .tile-hover { opacity: 1; pointer-events: auto; }
    .tile:hover .tile-default, .tile.active .tile-default { opacity: 0; }

    .tile-icon {
      width: 210px; height: 140px; margin-bottom: 12px; flex-shrink: 0;
      border-radius: 14px; overflow: hidden;
      border: 4px solid rgba(255,255,255,0.92);
      box-shadow: 0 8px 22px rgba(0,0,0,0.22);
      transform: scale(0.95); /* images du puzzle 5% plus petites (demande client) */
    }
    .tile-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .tile-title { font-size: 1.35rem; font-weight: 700; line-height: 1.3; }
    .tile-soon {
      display: inline-block; margin-top: 12px;
      background: rgba(255,255,255,0.85); color: var(--terracotta);
      font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
      padding: 6px 15px; border-radius: 50px;
    }

    /* Hover content */
    .tile-hover .tile-icon { width: 96px; height: 64px; margin-bottom: 6px; border-width: 3px; border-radius: 10px; }
    .tile-hover .tile-title { font-size: 0.9rem; margin-bottom: 6px; }
    .tile-hover .tile-desc { font-size: 0.78rem; font-weight: 500; line-height: 1.4; margin-bottom: 10px; opacity: 0.9; }
    .btn-cta {
      display: inline-block; background: var(--terracotta); color: #fff;
      padding: 8px 18px; border-radius: 50px; font-family: 'Quicksand', sans-serif;
      font-weight: 700; font-size: 0.75rem; text-decoration: none;
      transition: background 0.2s; white-space: nowrap;
    }
    .btn-cta:hover { background: #a04e2e; }
    .tile-astro .btn-cta, .tile-manger .btn-cta { background: #fff; color: var(--charcoal); }
    .tile-astro .btn-cta:hover, .tile-manger .btn-cta:hover { background: #f0e8e0; }

    /* Familles tall tile : photo plus grande (portrait-ish 5:4) */
    .tile-familles .tile-default .tile-icon { width: 250px; height: 200px; }
    /* Maman tile (large, 2 colonnes) */
    .tile-manger .tile-default .tile-icon { width: 240px; height: 150px; }

    /* Row 3 wide tiles : photo centrée comme les autres */
    .tile-vacances .tile-default .tile-icon { width: 280px; height: 165px; }
    .tile-ecrans .tile-default .tile-icon   { width: 250px; height: 165px; }
    .tile-vacances .tile-title, .tile-ecrans .tile-title { font-size: 1.2rem; }

    /* ===== BOUTIQUE & CONSULTATIONS (sections reprises de V5, demande client 12/06) ===== */
    .categories { padding: 88px 20px 70px; }
    .categories-container { max-width: 1200px; margin: 0 auto; }
    .cat-section-title { text-align: center; font-size: 2.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 14px; }
    .cat-section-subtitle { text-align: center; font-size: 1.08rem; font-weight: 500; color: #6b5e5e; line-height: 1.6; margin-bottom: 50px; }
    .category-label { font-size: 1.02rem; font-weight: 700; color: var(--terracotta); text-transform: uppercase; letter-spacing: 1.5px; margin: 52px 0 20px; padding-bottom: 8px; border-bottom: 2px solid rgba(184,92,56,0.25); }
    .category-label:first-of-type { margin-top: 0; }
    .categories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .category-card {
      background: #fff; border-radius: 20px; overflow: hidden; display: block;
      border: 1px solid rgba(74,63,63,0.07); box-shadow: 0 6px 20px rgba(74,63,63,0.06);
      text-decoration: none; color: inherit;
      transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .category-card:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: 0 20px 50px rgba(74,63,63,0.16); border-color: rgba(184,92,56,0.35); }
    .category-card .card-image { height: 210px; overflow: hidden; position: relative; }
    .category-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
    .category-card:hover .card-image img { transform: scale(1.08); }
    .card-image.bg-terracotta { background: linear-gradient(135deg, #D1865F, #B85C38); }
    .card-image.bg-lavender   { background: linear-gradient(135deg, #D5C8E6, #8B7AB8); }
    .card-image.bg-prune      { background: linear-gradient(135deg, var(--banner-2), var(--banner-1)); }
    .card-image.bg-gold       { background: linear-gradient(135deg, #E3BC66, #C99934); }
    .card-image.bg-sage-light { background: linear-gradient(135deg, #A8C5B5, #6BA890); }
    .card-tag { position: absolute; top: 16px; left: 16px; background: var(--terracotta); color: #fff; padding: 5px 14px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
    .card-body { padding: 22px 24px 24px; }
    .card-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
    .card-body p { font-size: 0.92rem; color: var(--charcoal); opacity: 0.8; line-height: 1.55; margin-bottom: 16px; }
    .card-price { font-size: 1.1rem; font-weight: 700; color: var(--terracotta); }
    .card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--terracotta); font-size: 0.9rem; }
    .card-link svg { transition: transform 0.25s ease; }
    .category-card:hover .card-link svg { transform: translateX(4px); }
    /* reveal au scroll, comme la timeline */
    .js .category-card { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease; }
    .js .category-card.reveal { opacity: 1; transform: none; }
    .js .category-card.reveal:hover { transform: translateY(-8px) rotate(-0.5deg); }
    @media (max-width: 980px) {
      .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 620px) {
      .categories { padding: 60px 16px 50px; }
      .categories-grid { grid-template-columns: 1fr; }
      .cat-section-title { font-size: 1.6rem; }
    }

    /* ===== MOBILE ===== */
    @media (max-width: 768px) {
      .hero { padding: 6px 16px 0; }
      .hero-title { font-size: 2.1rem; }
      .hero-sub { font-size: 1.15rem; }
      .hero-blob { width: 300px; height: 300px; }
      .hero-portrait { width: min(270px, 84%); }
      .puzzle-grid {
        grid-template-areas: "familles familles" "dodo couple" "emotion astro" "manger manger" "vacances ecrans";
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; max-width: 500px;
      }
      .tile { min-height: 200px; padding: 20px 14px; }
      /* Formes du puzzle 20% moins profondes sur mobile (encoches + ergots) */
      .tile { --sock-r: 25.6px; --sock-off: -7.2px; --tab-size: 48px; --tab-off: -21.6px; }
      .tile-default .tile-icon { width: min(160px, 100%) !important; height: auto !important; aspect-ratio: 3 / 2; }
      .tile-familles .tile-default .tile-icon,
      .tile-manger .tile-default .tile-icon { width: min(220px, 100%) !important; }

      /* Show only mobile tabs, hide desktop tabs */
      .tab-d { display: none !important; }
      .tab-m { display: block !important; }

      /* Mobile puzzle border-radius: round only outer corners of the grid */
      .tile { border-radius: 4px !important; }
      .tile-familles { border-radius: 16px 16px 4px 4px !important; }
      .tile-vacances { border-radius: 4px 4px 4px 16px !important; }
      .tile-ecrans   { border-radius: 4px 4px 16px 4px !important; }

      /* Mobile socket masks — different layout than desktop */
      /* Dodo: top socket at 50% (from familles bottom tab) */
      .tile-dodo .tile-shape::after {
        -webkit-mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
      }
      /* Emotion: top socket at 50% (from dodo bottom tab) */
      .tile-emotion .tile-shape::after {
        -webkit-mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
      }
      /* Couple: top 50% (familles) + left 50% (dodo) */
      .tile-couple .tile-shape::after {
        -webkit-mask-image:
          radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
          radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        -webkit-mask-composite: source-in !important;
        mask-image:
          radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
          radial-gradient(circle var(--sock-r) at var(--sock-off) 50%, transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        mask-composite: intersect !important;
      }
      /* Manger: top sockets at 25% + 75% (from emotion & astro bottom tabs) */
      .tile-manger .tile-shape::after {
        -webkit-mask-image:
          radial-gradient(circle var(--sock-r) at 25% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
          radial-gradient(circle var(--sock-r) at 75% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        -webkit-mask-composite: source-in !important;
        mask-image:
          radial-gradient(circle var(--sock-r) at 25% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)),
          radial-gradient(circle var(--sock-r) at 75% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        mask-composite: intersect !important;
      }
      /* Vacances: top socket at 50% (from manger bottom tab at 25%) */
      .tile-vacances .tile-shape::after {
        -webkit-mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
        mask-image: radial-gradient(circle var(--sock-r) at 50% var(--sock-off), transparent calc(var(--sock-r) - 1px), black var(--sock-r)) !important;
      }
      /* Astro & Ecrans keep desktop masks (top 50% + left 50%) — positions match */
      .tile-icon { width: 90px !important; height: 90px !important; }
      .tile-familles .tile-icon { width: 100px !important; height: 100px !important; }
      /* Familles : cadrer sur le haut de la photo (demande client) */
      .tile-familles .tile-default .tile-icon img { object-position: top !important; }
      .tile-manger .tile-default .tile-icon { width: min(160px, 100%) !important; height: auto !important; aspect-ratio: 3 / 2; }
      .tile-manger .tile-default .tile-icon img { object-position: center !important; }
      .tile-title { font-size: 1.1rem; }
      .tile-hover .tile-icon { width: 44px !important; height: 44px !important; }
      .tile-hover .tile-desc { font-size: 0.72rem; }

      /* Kill all hover effects on mobile — only .active via JS */
      .tile:hover { transform: none !important; z-index: auto !important; }
      .tile:hover .tile-shape { filter: drop-shadow(0 3px 10px rgba(0,0,0,0.22)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)) !important; }
      .tile:hover .tile-hover { opacity: 0 !important; pointer-events: none !important; }
      .tile:hover .tile-default { opacity: 1 !important; }

      /* On mobile tap: scale the tile up in place, keeping the full puzzle
         shape intact (sockets + tabs). Content is tightened to fit in the
         original 180px box so nothing overflows the shape. Grid cell stays
         the same size so siblings don't shift. */
      .tile.active {
        transform: scale(1.5) !important;
        z-index: 50 !important;
      }
      /* Tuiles larges (pleine largeur) : agrandissement réduit pour ne pas
         déborder de l'écran et couper le texte (demande client) */
      .tile-familles.active, .tile-manger.active {
        transform: scale(1.08) !important;
      }
      /* Tuiles normales : s'ouvrir vers l'intérieur de l'écran pour ne pas
         déborder (colonne gauche → vers la droite, droite → vers la gauche) */
      .tile-dodo.active, .tile-emotion.active, .tile-vacances.active {
        transform-origin: left center !important;
      }
      .tile-couple.active, .tile-astro.active, .tile-ecrans.active {
        transform-origin: right center !important;
      }
      .tile.active .tile-icon img { mix-blend-mode: normal !important; }
      .tile.active .tile-default { opacity: 0 !important; }
      .tile.active .tile-hover {
        opacity: 1 !important; pointer-events: auto !important;
        padding: 14px 30px !important; /* marge latérale pour éviter les encoches du puzzle */
      }
      .tile.active .tile-hover .tile-icon {
        width: 38px !important; height: 38px !important; margin-bottom: 4px;
      }
      .tile.active .tile-hover .tile-title {
        font-size: 0.8rem !important; margin-bottom: 4px;
      }
      .tile.active .tile-hover .tile-desc {
        font-size: 0.62rem !important; line-height: 1.35; margin-bottom: 8px;
      }
      .tile.active .tile-hover .btn-cta {
        padding: 6px 12px; font-size: 0.68rem;
      }
      .puzzle-backdrop {
        display: none; position: fixed; inset: 0;
        background: rgba(0,0,0,0.15); z-index: 40;
      }
      .puzzle-backdrop.show { display: block; }
    }
    @media (max-width: 400px) {
      .hero h1 { font-size: 1.45rem; }
      .tile { min-height: 160px; padding: 16px 10px; }
      .tile-title { font-size: 1rem; }
    }

    /* ===== QUIZ SECTION ===== */
    .quiz-section {
      padding: 80px 20px;
      background: linear-gradient(135deg, #EDE4F3 0%, var(--bg) 100%);
    }
    .quiz-box { max-width: 680px; margin: 0 auto; text-align: center; }
    .quiz-title {
      font-size: 2rem; font-weight: 700; color: var(--charcoal);
      line-height: 1.2; margin-bottom: 14px;
    }
    .quiz-subtitle {
      font-size: 1.05rem; font-weight: 500; color: #6b5e5e;
      line-height: 1.5; margin-bottom: 32px;
    }
    .quiz-container { margin-top: 8px; }
    .quiz-step { display: none; }
    .quiz-step.active { display: block; animation: quizFadeIn 0.4s ease; }
    @keyframes quizFadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .quiz-question {
      font-size: 1.2rem; font-weight: 700; color: var(--charcoal);
      margin-bottom: 22px;
    }
    .quiz-options { display: flex; flex-direction: column; gap: 12px; }
    .quiz-option {
      padding: 16px 24px;
      border: 2px solid var(--lavender-tile);
      border-radius: 14px;
      background: #fff;
      font-family: 'Quicksand', sans-serif;
      font-size: 0.98rem; font-weight: 500;
      color: var(--charcoal);
      cursor: pointer;
      transition: border-color 0.25s, background 0.25s, transform 0.25s;
      text-align: left;
    }
    .quiz-option:hover {
      border-color: var(--terracotta);
      background: rgba(184,92,56,0.05);
      transform: translateX(4px);
    }
    .quiz-option.selected {
      border-color: var(--terracotta);
      background: rgba(184,92,56,0.12);
      font-weight: 700;
    }
    .quiz-progress {
      display: flex; justify-content: center; gap: 10px; margin-top: 28px;
    }
    .quiz-dot {
      width: 10px; height: 10px; border-radius: 50%;
      background: var(--lavender-tile);
      transition: background 0.25s, transform 0.25s;
    }
    .quiz-dot.active { background: var(--terracotta); transform: scale(1.25); }
    .quiz-result {
      padding: 34px 28px;
      background: #fff;
      border-radius: 20px;
      box-shadow: 0 6px 28px rgba(74,63,63,0.12);
      text-align: left;
    }
    .quiz-result h3 {
      margin-bottom: 14px; color: var(--terracotta);
      font-size: 1.25rem; font-weight: 700; line-height: 1.35;
    }
    .quiz-result-text {
      margin-bottom: 22px; line-height: 1.65;
      font-size: 0.98rem; color: var(--charcoal);
    }
    .quiz-result .btn-decouvrir { padding: 12px 28px; font-size: 0.9rem; }
    .quiz-result-extra {
      margin-top: 16px; font-size: 0.88rem;
      color: #6b5e5e; font-style: italic;
    }
    .quiz-result-outro { margin: 22px 0 26px; padding-top: 20px; border-top: 1px dashed rgba(184,92,56,0.35); }
    .quiz-result-outro p { font-size: 0.95rem; color: var(--charcoal); opacity: 0.9; line-height: 1.6; margin-bottom: 12px; }
    .quiz-outro-welcome { font-weight: 700; color: var(--terracotta) !important; opacity: 1 !important; font-size: 1.02rem !important; }
    .quiz-result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .btn-quiz-rdv {
      display: inline-block; background: #fff; color: var(--terracotta); text-decoration: none;
      padding: 12px 28px; border-radius: 50px; border: 2px solid var(--terracotta);
      font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 0.9rem;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .btn-quiz-rdv:hover { background: var(--terracotta); color: #fff; transform: translateY(-2px); }
    @media (max-width: 768px) {
      .quiz-section { padding: 50px 18px; }
      .quiz-title { font-size: 1.55rem; }
      .quiz-subtitle { font-size: 0.95rem; }
      .quiz-question { font-size: 1.05rem; }
      .quiz-option { padding: 14px 18px; font-size: 0.92rem; }
      .quiz-result { padding: 26px 20px; }
      .quiz-result h3 { font-size: 1.1rem; }
    }

    /* ===== LE COIN DE FRANÇOISE ===== */
    .francoise-section {
      padding: 90px 20px 100px;
      background: linear-gradient(180deg, var(--bg) 0%, #FAEFD6 100%);
    }
    .francoise-container { max-width: 960px; margin: 0 auto; }
    .francoise-header { text-align: center; margin-bottom: 60px; }
    .francoise-eyebrow {
      display: inline-block;
      font-size: 0.82rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 2px;
      color: var(--terracotta);
      padding: 6px 16px; border-radius: 50px;
      background: rgba(184,92,56,0.1);
      margin-bottom: 18px;
    }
    .francoise-title {
      font-size: 2.3rem; font-weight: 700;
      color: var(--charcoal); line-height: 1.2;
      margin-bottom: 22px;
    }
    .francoise-intro {
      font-size: 1.1rem; font-weight: 500; font-style: italic;
      color: #6b5e5e; line-height: 1.7;
      max-width: 680px; margin: 0 auto;
    }
    .francoise-intro::before { content: '« '; color: var(--terracotta); font-weight: 700; }
    .francoise-intro::after  { content: ' »'; color: var(--terracotta); font-weight: 700; }

    .francoise-timeline {
      position: relative; margin: 20px auto 0;
    }
    .francoise-timeline::before {
      content: ''; position: absolute;
      left: 50%; top: 20px; bottom: 20px;
      width: 3px; background: linear-gradient(180deg, var(--terracotta), var(--gold-tile));
      transform: translateX(-50%); border-radius: 3px;
    }
    .francoise-step {
      position: relative; width: 50%;
      padding: 22px 56px; box-sizing: border-box;
    }
    .francoise-step:nth-child(odd)  { left: 0;   text-align: right; }
    .francoise-step:nth-child(even) { left: 50%; text-align: left;  }
    .francoise-step::before {
      content: ''; position: absolute; top: 36px;
      width: 20px; height: 20px; border-radius: 50%;
      background: var(--bg);
      border: 3px solid var(--terracotta);
      box-sizing: border-box; z-index: 2;
      transition: background 0.45s ease 0.25s;
    }
    .francoise-step:nth-child(odd)::before  { right: -10px; }
    .francoise-step:nth-child(even)::before { left:  -10px; }

    /* Scroll reveal : les étapes apparaissent et leur point se remplit en descendant */
    .js .francoise-step { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
    .js .francoise-step.reveal { opacity: 1; transform: none; }
    .js .francoise-step.reveal::before { background: var(--terracotta); }
    .francoise-step-card {
      display: inline-block; max-width: 360px;
      padding: 20px 24px;
      background: #fff; border-radius: 16px;
      box-shadow: 0 4px 18px rgba(74,63,63,0.08);
      text-decoration: none;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .francoise-step-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(74,63,63,0.14);
    }
    .francoise-step-card:hover .francoise-step-link { gap: 10px; }
    .francoise-step-link {
      display: inline-flex; align-items: center; gap: 6px;
      margin-top: 12px;
      font-size: 0.82rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.8px;
      color: var(--terracotta);
      transition: gap 0.25s ease;
    }
    .francoise-step.highlight .francoise-step-link { color: #fff; }
    .francoise-step-label {
      display: block;
      font-size: 0.78rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1.2px;
      color: var(--terracotta); margin-bottom: 8px;
    }
    .francoise-step-title {
      font-size: 1.2rem; font-weight: 700;
      color: var(--charcoal); line-height: 1.3;
      margin-bottom: 10px;
    }
    .francoise-step-detail {
      font-size: 0.92rem; font-weight: 500;
      color: #6b5e5e; line-height: 1.55;
      font-style: italic; margin: 0;
    }
    .francoise-step.highlight .francoise-step-card {
      background: linear-gradient(135deg, var(--terracotta), #d47a4e);
    }
    .francoise-step.highlight .francoise-step-label,
    .francoise-step.highlight .francoise-step-title,
    .francoise-step.highlight .francoise-step-detail { color: #fff; }
    .francoise-step.highlight .francoise-step-label { opacity: 0.9; }
    .francoise-step.highlight .francoise-step-detail { opacity: 0.95; }

    .francoise-note {
      max-width: 680px; margin: 60px auto 0;
      padding: 26px 32px; border-radius: 18px;
      background: #fff;
      border-left: 4px solid var(--terracotta);
      box-shadow: 0 4px 20px rgba(74,63,63,0.08);
      text-align: left;
    }
    .francoise-note-title {
      font-size: 1rem; font-weight: 700;
      color: var(--terracotta);
      text-transform: uppercase; letter-spacing: 1px;
      margin-bottom: 10px;
    }
    .francoise-note-text {
      font-size: 0.98rem; color: var(--charcoal);
      line-height: 1.65; margin: 0;
    }

    @media (max-width: 768px) {
      .francoise-section { padding: 60px 18px 70px; }
      .francoise-title { font-size: 1.7rem; }
      .francoise-intro { font-size: 0.98rem; }
      .francoise-header { margin-bottom: 30px; }
      .francoise-timeline::before { left: 18px; top: 14px; bottom: 14px; }
      .francoise-step {
        width: 100%; left: 0 !important;
        padding: 14px 6px 14px 46px; text-align: left !important;
      }
      .francoise-step::before {
        left: 9px !important; right: auto !important; top: 26px;
        width: 18px; height: 18px;
      }
      .francoise-step-card { max-width: 100%; padding: 16px 18px; }
      .francoise-step-title { font-size: 1.05rem; }
      .francoise-note { padding: 22px 22px; margin-top: 40px; }
    }

    /* ===== FOOTER ===== */
    .site-footer {
      background: var(--footer-bg);
      color: rgba(255,255,255,0.90);
      padding: 70px 20px 24px;
      font-size: 0.92rem;
    }
    .footer-container { max-width: 1200px; margin: 0 auto; }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
      gap: 44px;
      margin-bottom: 44px;
    }
    .footer-logo { display: block; margin-bottom: 14px; }
    .footer-logo img { height: 130px; width: auto; }
    .footer-brand p {
      font-size: 0.92rem; line-height: 1.65;
      margin-bottom: 22px; max-width: 340px;
    }
    .footer-socials { display: flex; gap: 12px; }
    .footer-socials a {
      width: 42px; height: 42px; border-radius: 50%;
      background: rgba(255,255,255,0.08);
      display: flex; align-items: center; justify-content: center;
      color: #fff; text-decoration: none;
      transition: background 0.25s, transform 0.25s;
    }
    .footer-socials a:hover {
      background: var(--terracotta);
      transform: translateY(-3px);
    }
    .footer-col h4 {
      color: #fff; font-size: 0.9rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1.2px;
      margin-bottom: 18px;
    }
    .footer-links { list-style: none; padding: 0; margin: 0; }
    .footer-links li { margin-bottom: 10px; }
    .footer-links a {
      color: rgba(255,255,255,0.85);
      font-size: 0.9rem; text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--footer-gold); }

    .footer-newsletter { display: flex; gap: 8px; margin-bottom: 16px; }
    .footer-newsletter input {
      flex: 1; min-width: 0;
      padding: 11px 16px; border-radius: 50px;
      border: 1px solid rgba(255,255,255,0.18);
      background: rgba(255,255,255,0.08);
      color: #fff;
      font-family: 'Quicksand', sans-serif; font-size: 0.88rem;
      outline: none;
      transition: border-color 0.25s;
    }
    .footer-newsletter input::placeholder { color: rgba(255,255,255,0.68); }
    .footer-newsletter input:focus { border-color: var(--footer-gold); }
    .footer-newsletter button {
      padding: 11px 20px; border-radius: 50px; border: none;
      background: var(--terracotta); color: #fff;
      font-family: 'Quicksand', sans-serif;
      font-weight: 700; font-size: 0.82rem;
      text-transform: uppercase; letter-spacing: 0.6px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .footer-newsletter button:hover { background: #a04e2e; }
    .footer-newsletter-hint {
      font-size: 0.82rem; line-height: 1.5;
      color: rgba(255,255,255,0.85); margin-bottom: 20px;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.14);
      padding-top: 22px;
      display: flex; justify-content: space-between; align-items: center;
      gap: 16px; flex-wrap: wrap;
      font-size: 0.82rem;
      /* pas d'`opacity` ici : elle se multipliait avec le rgba des liens */
      color: rgba(255,255,255,0.88);
    }
    .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
    .footer-legal a {
      color: rgba(255,255,255,0.88);
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-legal a:hover { color: var(--footer-gold); }
    .footer-credit {
      text-align: center; margin-top: 14px;
      font-size: 0.78rem; color: rgba(255,255,255,0.80);
    }
    .footer-credit a { color: var(--footer-gold); text-decoration: none; }
    .footer-credit a:hover { color: #fff; }

    @media (max-width: 980px) {
      .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    }
    @media (max-width: 640px) {
      .site-footer { padding: 50px 18px 20px; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
      .footer-logo img { height: 96px; }
      .footer-bottom { flex-direction: column; text-align: center; }
      .footer-legal { justify-content: center; }
    }
  

  
