.prestations-page{background:#eee3cf}
.prest-hero{height:clamp(210px,27vw,390px);margin:0 3.2%;border:1px solid #c9c0b1;border-radius:0 0 12px 12px;background:#f8f3eb url("assets/prestations/fond-crayon.jpg") center center/contain no-repeat;display:grid;place-items:center;overflow:hidden}
.prest-hero-mark{font-family:Georgia,serif;font-size:clamp(100px,13vw,180px);line-height:.7;color:#f5bd00;position:relative;text-shadow:0 1px #fff}
.prest-hero-mark i{font-style:normal;color:#ed0872;font-size:.42em;position:absolute;right:-.17em;bottom:-.05em}
.prest-title{padding:25px 3.5% 8px}.prest-title h1{display:inline-block;background:#ffd21a;padding:8px 18px;font-size:clamp(20px,2vw,29px);font-weight:500}
.prest-cards{display:flex;justify-content:center;gap:12px;padding:24px 20px 34px;flex-wrap:wrap}
.mini-card{width:clamp(145px,16vw,205px);height:160px;padding:15px 13px;border-radius:9px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-4deg);box-shadow:0 5px 12px #28252215;transition:transform .2s}
.mini-card:nth-child(even){transform:rotate(3deg)}.mini-card:hover{transform:translateY(-7px) rotate(0)}
.mini-card small{font-size:9px}.mini-card strong{font-size:clamp(17px,1.8vw,23px);font-weight:500;line-height:1.05}.mini-card span{font-size:10px;text-transform:uppercase;border-top:1px solid currentColor;padding-top:7px}
.mini-card.yellow,.p-yellow .blob-label,.p-yellow article h3{background:#f8d84c}.mini-card.pink,.p-pink .blob-label,.p-pink article h3{background:#ed0872}.mini-card.green,.p-green .blob-label,.p-green article h3{background:#3f704b;color:#fff}.mini-card.purple,.p-purple .blob-label,.p-purple article h3{background:#bd80e7}
.prest-block{background:#eee3cf;border-top:12px solid #282522;padding:0 3.5% 42px;scroll-margin-top:100px}
.prest-heading{display:grid;grid-template-columns:minmax(210px,26%) 1fr;align-items:start;gap:5%;min-height:145px;position:relative}
.blob-label{margin-left:-3.5%;width:clamp(205px,23vw,300px);min-height:112px;padding:20px 25px 22px 14%;border-radius:0 0 48% 0 / 0 0 38% 0;clip-path:path("M 0 0 H 300 V 58 C 300 88 270 95 235 95 C 205 95 205 120 160 120 H 0 Z");}
.blob-label small{font-size:10px;display:block;margin-bottom:8px}.blob-label h2{font-size:clamp(18px,2vw,26px);font-weight:400;line-height:1.12}
.prest-heading>p{font-family:'Caveat',cursive;font-size:clamp(20px,2vw,27px);padding-top:30px;line-height:1.35;color:#171513}
.prest-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;position:relative;padding-top:0}
.prest-timeline:before{content:"";height:2px;background:#282522;position:absolute;left:-3.5%;right:-3.5%;top:33px}
.prest-timeline article{position:relative;min-width:0;padding-top:0}
.prest-timeline article>img{width:min(78%,165px);height:130px;object-fit:contain;margin:0 auto 12px;position:relative;z-index:1}
.prest-timeline article>img.tilt{transform:rotate(-9deg);filter:drop-shadow(0 3px 2px #0002)}
.prest-timeline article>img.mascot-img{width:110px;object-fit:contain}
.prest-timeline article h3{position:relative;z-index:2;min-height:37px;padding:10px 8px;text-align:center;border:1px solid #282522;font-size:clamp(9px,.8vw,12px);font-weight:500;display:flex;align-items:center;justify-content:center;margin:0 0 12px}
.prest-timeline ul{font-size:clamp(10px,.78vw,12px);line-height:1.55;padding-left:17px}
.prest-timeline.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:7%}
.p-pink .prest-timeline article>img{height:145px}
.p-green .prest-timeline article>img{height:155px}
.purple{color:#282522}
.photo-timeline{padding-top:0}
.photo-timeline article{display:flex;flex-direction:column}
.photo-timeline article>img.capcut{width:76px;height:76px;object-fit:contain;margin:0 auto 4px}
.photo-timeline article>img.photo-example{width:65%;height:175px;object-fit:cover;margin:24px auto 0}
.photo-bottom{width:min(520px,90%);min-height:165px;margin:55px auto 0;border:1px solid #b9ae9d;border-radius:12px;background:#f8f3eb;position:relative;text-align:center;padding:35px 20px 20px;overflow:hidden}
.photo-bottom>img:first-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.22}
.photo-bottom p,.photo-bottom a,.photo-bottom .bottom-p{position:relative;z-index:1}
.photo-bottom p{font-size:13px;margin-bottom:14px}.photo-bottom .yellow-button{display:inline-block}
.photo-bottom .bottom-p{width:42px;height:48px;object-fit:contain;margin:10px auto 0}
@media(max-width:760px){.prest-cards{gap:9px}.mini-card{width:42%;height:135px}.prest-block{padding:0 18px 34px}.prest-heading{grid-template-columns:1fr;gap:0;min-height:155px}.blob-label{margin-left:-18px;width:230px;min-height:100px;padding-left:28px;clip-path:none;border-radius:0 0 45% 0}.prest-heading>p{padding:14px 5px 24px;font-size:21px}.prest-timeline,.prest-timeline.three{grid-template-columns:1fr 1fr;gap:22px 14px}.prest-timeline:before{display:none}.prest-timeline article>img{height:115px}.prest-timeline article h3{min-height:42px}.prest-timeline ul{font-size:11px}.photo-timeline article>img.photo-example{height:145px}.prest-hero{margin:0;height:150px}}
@media(max-width:430px){.prest-timeline,.prest-timeline.three{grid-template-columns:1fr}.prest-timeline article{max-width:330px;margin:auto;width:100%}.prest-timeline article>img{height:150px}.prest-timeline article h3{font-size:11px}.prest-timeline ul{font-size:12px}.photo-timeline article>img.photo-example{height:190px}}


/* Harmonisation avec le P. flottant de l'accueil */
.prest-hero-mark { width: clamp(125px, 15vw, 220px); height: clamp(125px, 15vw, 220px); object-fit: contain; animation: pFloat 4.5s ease-in-out infinite; transform-origin: center; }
.photo-bottom .bottom-p { animation: pFloat 4.5s ease-in-out infinite; }

/* Toutes les images de la page réagissent au survol sans être recadrées. */
.prestations-page .prest-timeline article > img,
.prestations-page .photo-bottom > img:first-child { transition: transform .35s ease, filter .35s ease; }
.prestations-page .prest-timeline article > img.tilt { transform: rotate(-9deg) scale(1); }
.prestations-page .prest-timeline article > img.tilt:hover { transform: rotate(-9deg) scale(1.07); }
.prestations-page .prest-timeline article > img:not(.tilt):not(.capcut):not(.photo-example):hover { transform: scale(1.07); }
.prestations-page .prest-timeline article > img.photo-example { object-fit: contain; width: min(78%, 230px); height: 190px; background: transparent; }
.prestations-page .prest-timeline article > img.photo-example:hover { transform: scale(1.06); }
.prestations-page .prest-timeline article > img.capcut:hover { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) {
  .prest-hero-mark, .photo-bottom .bottom-p { animation: none; }
  .prestations-page .prest-timeline article > img { transition: none; }
}

/* Ajustements de lisibilité et d'espacement — version agrandie */
.prest-block{border-top:0;padding-top:24px}
.prest-timeline:before{display:none}
.prest-heading{min-height:155px;grid-template-columns:minmax(230px,27%) 1fr;gap:4%}
.prest-heading>p{font-size:clamp(25px,2.25vw,34px);line-height:1.3}
.prest-timeline{gap:30px;padding-top:14px}
.prest-timeline article>img{width:min(92%,230px);height:175px;object-fit:contain;margin-bottom:16px}
.prest-timeline article>img.mascot-img{width:min(82%,190px);height:175px}
.prest-timeline article h3{min-height:48px;padding:12px 10px;font-size:clamp(12px,1vw,15px);margin-bottom:15px}
.prest-timeline ul{font-size:clamp(13px,.95vw,15px);line-height:1.7;padding-left:19px}
.p-pink .prest-timeline article>img,.p-green .prest-timeline article>img{height:180px}
.photo-timeline article>img.capcut{width:95px;height:95px}
.photo-timeline article>img.photo-example{width:min(90%,270px);height:230px;object-fit:contain;margin:24px auto 0}
.prestations-page .prest-timeline article>img.photo-example{width:min(90%,270px);height:230px;object-fit:contain}
.photo-bottom{width:min(650px,92%);min-height:185px}
.photo-bottom p{font-size:16px}
@media(max-width:760px){
 .prest-block{padding-top:15px}
 .prest-heading>p{font-size:23px}
 .prest-timeline,.prest-timeline.three{gap:26px 18px}
 .prest-timeline article>img,.p-pink .prest-timeline article>img,.p-green .prest-timeline article>img{height:155px}
 .prest-timeline article h3{font-size:13px}
 .prest-timeline ul{font-size:13px;line-height:1.65}
 .photo-timeline article>img.photo-example,.prestations-page .prest-timeline article>img.photo-example{height:205px;width:min(90%,260px);object-fit:contain}
}

/* Prestations : deux cartes par ligne pour aérer les sections à quatre blocs */
@media (min-width: 761px) {
  .p-yellow .prest-timeline,
  .prest-timeline.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(36px, 6vw, 90px);
    row-gap: 48px;
    max-width: 1050px;
    margin-inline: auto;
  }
}

/* Bande défilante identique aux autres pages */
.prestations-ticker { position: relative; top: auto; }
/* Deux cartes par ligne et visuels plus généreux sur graphisme et sites web */
@media (min-width: 761px) {
  .p-yellow .prest-timeline, .p-pink .prest-timeline.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(42px, 7vw, 110px); row-gap: 56px;
    max-width: 1120px; margin-inline: auto;
  }
  .p-yellow .prest-timeline article > img, .p-pink .prest-timeline.four article > img {
    width: min(100%, 390px); height: clamp(220px, 21vw, 300px);
    object-fit: contain; margin: 0 auto 20px;
  }
  .p-yellow .prest-timeline article > img.mascot-img { width: min(85%, 330px); }
}
/* Zoom d'image subtil au survol, sans déplacer la grille */
.prestations-page .prest-timeline article > img { transition: transform .4s ease, filter .4s ease; }
.prestations-page .prest-timeline article > img.tilt:hover { transform: rotate(-9deg) scale(1.07); }
.prestations-page .prest-timeline article > img:not(.tilt):hover { transform: scale(1.07); }
@media (max-width: 760px) {
  .p-yellow .prest-timeline article > img, .p-pink .prest-timeline.four article > img { height: 190px; width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) { .prestations-page .prest-timeline article > img { transition: none; } }


/* Harmonisation générale V5 — fond, cartes et grilles cohérents */
.prestations-page { background: var(--cream); }
.prestations-page .prest-hero { background-color: var(--cream); margin-top: 0; }
.prestations-page .prest-hero-mark { animation: pFloat 4.5s ease-in-out infinite; }
.prestations-page .prestations-ticker { position: relative; top: auto; margin: 0; }
.prestations-page .prest-title { background: var(--cream); }
.prestations-page .prest-cards { background: var(--cream); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 34px); max-width: 1320px; margin: 0 auto; padding: 28px clamp(22px, 4vw, 60px) 55px; }
.prestations-page .mini-card { width: auto; min-width: 0; height: clamp(250px, 18vw, 330px); padding: clamp(16px, 1.5vw, 25px); border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; color: #24221f; box-shadow: 0 10px 24px #29252217; transform: none; overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.prestations-page .mini-card:nth-child(even) { transform: none; }
.prestations-page .mini-card:hover { transform: translateY(-9px) scale(1.02); box-shadow: 0 18px 30px #17151225; }
.prestations-page .mini-card.yellow { background: #f4d94c; }
.prestations-page .mini-card.pink { background: #ed2580; }
.prestations-page .mini-card.green { background: #2f7045; color: white; }
.prestations-page .mini-card.purple { background: #b879dc; }
.prestations-page .mini-card small, .prestations-page .mini-card span { font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.prestations-page .mini-card strong { font-size: clamp(19px, 1.65vw, 30px); line-height: 1.05; font-weight: 600; text-transform: uppercase; }
.prestations-page .mini-card span { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid currentColor; padding-top: 10px; }
.prestations-page .mini-picture { height: clamp(85px, 8vw, 145px); overflow: hidden; border-radius: 10px; border: 1px solid #29252225; background: #fff2; }
.prestations-page .mini-picture img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .78; transition: transform .5s ease; }
.prestations-page .mini-card:hover .mini-picture img { transform: scale(1.08); }
.prestations-page .prest-block { background: var(--cream); border-top: 0; }
.prestations-page .prest-timeline,
.prestations-page .prest-timeline.three,
.prestations-page .prest-timeline.four,
.prestations-page .photo-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(36px, 6vw, 90px); row-gap: 52px; max-width: 1120px; margin: 0 auto; }
.prestations-page .prest-timeline article { max-width: 100%; }
.prestations-page .prest-timeline article > img,
.prestations-page .p-pink .prest-timeline article > img,
.prestations-page .p-green .prest-timeline article > img { width: min(100%, 390px); height: clamp(210px, 21vw, 290px); object-fit: contain; margin: 0 auto 18px; }
.prestations-page .prest-timeline article > img.tilt { transform: rotate(-5deg); }
.prestations-page .prest-timeline article > img.tilt:hover { transform: rotate(-5deg) scale(1.06); }
.prestations-page .prest-timeline article h3 { min-height: 48px; font-size: clamp(12px, 1vw, 15px); }
.prestations-page .prest-timeline ul { font-size: clamp(13px, .95vw, 15px); line-height: 1.7; }
.prestations-page .photo-timeline article { display: block; }
.prestations-page .photo-timeline article > img.photo-example,
.prestations-page .photo-timeline article > img.capcut { width: min(100%, 390px); height: clamp(210px, 21vw, 290px); object-fit: contain; margin: 0 auto 18px; }
@media (max-width: 900px) {
 .prestations-page .prest-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}
@media (max-width: 760px) {
 .prestations-page .prest-cards { gap: 16px 12px; padding: 22px 18px 38px; }
 .prestations-page .mini-card { height: 230px; padding: 14px; }
 .prestations-page .mini-card strong { font-size: clamp(17px, 4vw, 23px); }
 .prestations-page .mini-picture { height: 95px; }
 .prestations-page .prest-timeline,
 .prestations-page .prest-timeline.three,
 .prestations-page .prest-timeline.four,
 .prestations-page .photo-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
 .prestations-page .prest-timeline article { width: 100%; }
 .prestations-page .prest-timeline article > img,
 .prestations-page .p-pink .prest-timeline article > img,
 .prestations-page .p-green .prest-timeline article > img,
 .prestations-page .photo-timeline article > img.photo-example,
 .prestations-page .photo-timeline article > img.capcut { height: 155px; width: min(100%, 260px); }
 .prestations-page .prest-timeline ul { font-size: 12px; }
}
@media (max-width: 430px) {
 .prestations-page .prest-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .prestations-page .mini-card { height: 205px; }
 .prestations-page .prest-timeline,
 .prestations-page .prest-timeline.three,
 .prestations-page .prest-timeline.four,
 .prestations-page .photo-timeline { grid-template-columns: 1fr; }
 .prestations-page .prest-timeline article { max-width: 330px; margin: auto; }
 .prestations-page .prest-timeline article > img,
 .prestations-page .p-pink .prest-timeline article > img,
 .prestations-page .p-green .prest-timeline article > img,
 .prestations-page .photo-timeline article > img.photo-example,
 .prestations-page .photo-timeline article > img.capcut { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
 .prestations-page .prest-hero-mark { animation: none; }
 .prestations-page .mini-card, .prestations-page .mini-picture img, .prestations-page .prest-timeline article > img { transition: none; }
}

/* La navigation statique sous le ticker a été retirée : le ticker suit directement le P flottant. */

/* Blocs prestations : textes blancs, fonds de couleur inchangés, photos opaques */
.prestations-page .mini-card,
.prestations-page .mini-card small,
.prestations-page .mini-card strong,
.prestations-page .mini-card span,
.prestations-page .mini-card b{color:#fff!important;opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.18)}
.prestations-page .mini-card .mini-picture,
.prestations-page .mini-card .mini-picture img{opacity:1!important;filter:none!important;mix-blend-mode:normal!important}
.prestations-page .mini-card .mini-picture img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.prest-hero{height:220px;background-size:contain}}

/* Bannière horizontale : visuel net, logo P. centré. */
.prestations-page .prest-hero{height:clamp(220px,23vw,330px);margin:0 3.2%;background-image:url("assets/photos/accueil.jpg");background-position:center 48%;background-size:cover;background-repeat:no-repeat;display:grid;place-items:center}
.prestations-page .prest-hero-mark{justify-self:center;align-self:center;z-index:1}
/* Le bloc Formats & diffusion reste équilibré sans sa photo. */
.prestations-page .photo-timeline article.no-photo{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:clamp(12px,2vw,28px);}
.prestations-page .photo-timeline article.no-photo h3{width:100%;}
@media(max-width:760px){.prestations-page .prest-hero{height:200px;background-position:center;background-size:cover}}


/* Bannière Prestations : photo fournie, format horizontal, sans flou ni déformation. */
.prestations-page .prest-hero{height:clamp(230px,24vw,350px);margin:0 3.2%;background-image:url("assets/photos/banniere-prestations.png");background-position:center 48%;background-size:cover;background-repeat:no-repeat;}
.prestations-page .prest-hero-mark{justify-self:center;align-self:center;z-index:2;width:clamp(125px,15vw,220px);height:clamp(125px,15vw,220px);object-fit:contain;}
/* Les quatre prestations photo/vidéo sont alignées deux par deux. */
.prestations-page .photo-timeline{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(36px,6vw,90px);row-gap:52px;max-width:1120px;margin:0 auto;}
.prestations-page .photo-timeline article{display:block;max-width:100%;}
.prestations-page .photo-timeline article.no-photo{display:flex;flex-direction:column;justify-content:center;align-items:stretch;text-align:left;padding:0;}
@media(max-width:760px){.prestations-page .photo-timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;}}
@media(max-width:430px){.prestations-page .photo-timeline{grid-template-columns:1fr;}.prestations-page .photo-timeline article{max-width:330px;margin:auto;width:100%;}}
