/* Essai Transformé 2026 — pages « riches » : grands titres, volets pleine largeur, photos qui se dévoilent, défilement horizontal.
   Les animations sont pilotées par assets/app.js (GSAP). Sans script, tout reste visible et lisible. */

/* Barre de progression de lecture */
.progression { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; background: linear-gradient(90deg, var(--dore), var(--corail)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Bouton Instagram de l'en-tête */
.entete .insta-rond { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--brun); color: var(--brun); transition: background .2s ease, color .2s ease, transform .2s ease; }
.entete .insta-rond:hover { background: var(--brun); color: #fff; transform: rotate(-8deg); }
.entete .insta-rond svg { width: 20px; height: 20px; }

/* ---------- Grand héros des pages ---------- */
.pano { position: relative; overflow: hidden; padding: 84px 0 0; background: var(--creme); }
.pano .halo { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; will-change: transform; }
.pano .halo.a { width: 520px; height: 520px; right: -120px; top: -160px; background: rgba(238, 117, 77, .38); }
.pano .halo.b { width: 460px; height: 460px; left: -160px; bottom: -120px; background: rgba(195, 138, 43, .34); }
.pano .conteneur { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: end; }
.pano .mots { padding-bottom: 84px; }
.pano h1 { font-size: clamp(42px, 6.4vw, 104px); font-weight: 200; line-height: 1.02; letter-spacing: -.04em; margin-top: 22px; }
.pano h1 em, .pano h1 strong { font-weight: 700; font-style: italic; color: var(--corail-titre); }
.pano .chapo { margin-top: 28px; max-width: 560px; font-size: 19px; line-height: 1.65; color: var(--doux); }
.pano .boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pano .arche { position: relative; align-self: end; aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--sable); box-shadow: 0 50px 90px -50px rgba(58, 36, 24, .6); }
.pano .arche img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.pano .tourne { position: absolute; right: calc(42.5% - 78px); bottom: 54px; z-index: 2; width: 156px; height: 156px; pointer-events: none; }
.pano .tourne svg { width: 100%; height: 100%; animation: tourne 22s linear infinite; }
.pano .tourne text { font: 600 11.5px 'Montserrat', Arial, sans-serif; letter-spacing: .32em; text-transform: uppercase; fill: var(--brun); }
.pano .tourne i { position: absolute; inset: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--corail-texte); color: #fff; font-style: normal; font-size: 26px; }
@keyframes tourne { to { transform: rotate(360deg); } }
.pano.simple .conteneur { grid-template-columns: 1fr; } .pano.simple .mots { padding-bottom: 70px; max-width: 980px; }

/* ---------- Volets ---------- */
.riche > .volet:first-child { padding-top: 110px; }
.volet { position: relative; padding: 120px 0; }
/* (règle retirée : elle collait les titres en haut des blocs ; voir v2.css, « air en haut des blocs ») */
.volet.sable { background: var(--sable); }
.volet.blanc { background: #fff; }
.volet.brun { background: var(--brun); color: #e8dcd3; }
.volet.brun h2, .volet.brun h3 { color: #fff; } .volet.brun h2 em { color: #ff9a76; } .volet.brun .sur { color: #e2b25e; } .volet.brun p, .volet.brun li { color: #e8dcd3; }
.volet.arrondi { border-radius: 56px 56px 0 0; margin-top: -56px; }
.tete2 { max-width: 900px; margin-bottom: 64px; }
.tete2.centre { margin-inline: auto; text-align: center; }
.tete2 h2, .duo2 h2 { font-size: clamp(32px, 4.6vw, 68px); font-weight: 200; line-height: 1.06; letter-spacing: -.035em; margin-top: 18px; }
.tete2 .intro { margin-top: 24px; font-size: 18.5px; line-height: 1.7; color: var(--doux); max-width: 680px; }
.tete2.centre .intro { margin-inline: auto; }
.volet p + p { margin-top: 1em; }
.volet strong { font-weight: 600; color: var(--brun); } .volet.brun strong { color: #fff; }
.volet .texte p, .volet .texte li { color: #4a372d; font-size: 17px; } .volet.brun .texte p, .volet.brun .texte li { color: #e8dcd3; }
.volet .texte a:not(.btn) { color: var(--corail-texte); text-decoration: underline; text-underline-offset: 3px; }
.volet .boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.volet.brun .btn.trait { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); color: #fff; }

/* Texte + photo */
.duo2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.duo2.inverse .photo { order: -1; }
.duo2 + .duo2 { margin-top: 120px; }
.photo { position: relative; margin: 0; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sable); }
.photo.paysage { aspect-ratio: 4 / 3; } .photo.carre { aspect-ratio: 1; } .photo.arche { border-radius: 999px 999px 32px 32px; } .photo.rond { border-radius: 50%; aspect-ratio: 1; max-width: 420px; margin-inline: auto; }
.photo img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.photo.entier { aspect-ratio: auto; background: none; } .photo.entier img { height: auto; object-fit: contain; }
.photo figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .94); font: 600 13px/1.2 'Montserrat', Arial, sans-serif; color: var(--brun); }

/* Phrase manifeste : les mots s'allument au défilement */
.manifeste { max-width: 1040px; margin-inline: auto; font: 300 clamp(28px, 4.2vw, 60px)/1.18 'Montserrat', Arial, sans-serif; letter-spacing: -.03em; color: var(--brun); text-align: center; }
.manifeste em { font-style: italic; font-weight: 700; color: var(--corail-titre); }
.volet.brun .manifeste { color: #fff; } .volet.brun .manifeste em { color: #ff9a76; }
.manifeste + .signature { margin-top: 30px; text-align: center; font: 700 11.5px/1.4 'Montserrat', Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; color: var(--dore-texte); }
.volet.brun .signature { color: #e2b25e; }

/* Tuiles (photo + titre + texte) et points numérotés */
.tuiles { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.tuile { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--ligne); transition: transform .35s ease, box-shadow .35s ease; transform-style: preserve-3d; }
.tuile:hover { box-shadow: 0 34px 60px -34px rgba(58, 36, 24, .5); }
.tuile .image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sable); }
.tuile .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.tuile:hover .image img { transform: scale(1.07); }
.tuile .corps { padding: 28px 28px 30px; }
.tuile h3 { font-size: 21px; margin-bottom: 8px; } .tuile p { color: var(--doux); font-size: 16px; }
.tuile .fleche { margin-top: 18px; display: inline-block; font: 600 12.5px/1 'Montserrat', Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--corail-texte); }
.volet.brun .tuile { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); } .volet.brun .tuile h3 { color: #fff; } .volet.brun .tuile p { color: #e0d2c8; }
.points { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; counter-reset: point; border-top: 1px solid rgba(58, 36, 24, .16); }
.point { counter-increment: point; padding: 34px 30px 38px 0; border-bottom: 1px solid rgba(58, 36, 24, .16); }
.point::before { content: "0" counter(point); display: block; margin-bottom: 18px; font: 800 13px/1 'Montserrat', Arial, sans-serif; letter-spacing: .14em; color: var(--dore-texte); }
.point h3 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; } .point p { margin-top: 10px; color: var(--doux); font-size: 16px; }
.volet.brun .points, .volet.brun .point { border-color: rgba(255, 255, 255, .18); } .volet.brun .point::before { color: #e2b25e; } .volet.brun .point h3 { color: #fff; }

/* Listes à coches, étiquettes */
.coches { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 26px; }
.coches li { position: relative; padding-left: 40px; font-size: 17px; color: #4a372d; }
.coches li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--corail-texte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 15px no-repeat; }
.volet.brun .coches li { color: #f1e6de; } .volet.brun .coches li::before { background-color: #e2b25e; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.etiquettes li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font: 500 15px/1.2 'Montserrat', Arial, sans-serif; color: var(--brun); }
.volet.brun .etiquettes li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }

/* Défilement horizontal épinglé (ordinateur) ; simple bande à faire glisser ailleurs */
.defile { overflow: hidden; }
.defile .piste2 { display: flex; gap: 22px; padding-inline: max(24px, calc((100vw - 1200px) / 2)); will-change: transform; }
.defile .etape { flex: none; width: min(78vw, 420px); min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px 34px; border-radius: 32px; background: #fff; border: 1px solid var(--ligne); position: relative; overflow: hidden; }
.defile .etape .num { position: absolute; right: 22px; top: 6px; font: 200 130px/1 'Montserrat', Arial, sans-serif; letter-spacing: -.06em; color: rgba(195, 138, 43, .2); }
.defile .etape h3 { font-size: 26px; font-weight: 500; letter-spacing: -.025em; } .defile .etape p { margin-top: 12px; color: var(--doux); }
.defile .etape.forte { background: var(--corail-texte); border-color: transparent; } .defile .etape.forte h3, .defile .etape.forte p { color: #fff; } .defile .etape.forte .num { color: rgba(255, 255, 255, .22); }
.volet.brun .defile .etape:not(.forte) { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); } .volet.brun .defile .etape h3 { color: #fff; } .volet.brun .defile .etape p { color: #e0d2c8; } .volet.brun .defile .etape .num { color: rgba(226, 178, 94, .28); }
.defile:not(.epingle) .piste2 { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; } .defile:not(.epingle) .piste2::-webkit-scrollbar { display: none; }
.defile:not(.epingle) .etape { scroll-snap-align: center; }

/* Grande photo pleine largeur */
.plein-cadre { position: relative; height: min(82vh, 760px); overflow: hidden; background: var(--brun); }
.plein-cadre img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.plein-cadre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58, 36, 24, .05), rgba(58, 36, 24, .62)); }
.plein-cadre .dessus { position: absolute; inset: auto 0 0 0; z-index: 1; padding: 0 0 64px; }
.plein-cadre .dessus p { max-width: 900px; font: 300 clamp(26px, 3.8vw, 54px)/1.16 'Montserrat', Arial, sans-serif; letter-spacing: -.03em; color: #fff; }
.plein-cadre .dessus em { font-weight: 700; font-style: italic; color: #ffb497; }

/* Encadré d'appel dans un volet */
.encadre { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 30px; align-items: center; padding: 54px 56px; border-radius: 36px; background: var(--brun); }
.encadre h2, .encadre h3 { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 300; letter-spacing: -.03em; } .encadre h2 em, .encadre h3 em { font-style: italic; font-weight: 700; color: #ff9a76; }
.encadre p { margin-top: 10px; color: #e8dcd3; }
.encadre .btn.trait { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); color: #fff; }
.encadre .boutons { margin-top: 0; }

/* Boutique dans un volet */
.volet .woocommerce ul.products { margin-top: 0; }
.volet .woocommerce ul.products li.product a:not(.button) { color: inherit; text-decoration: none; }

/* ---------- Instagram ---------- */
.insta { position: relative; overflow: hidden; padding: 110px 0 104px; background: var(--brun); color: #fff; }
.insta .defilant { display: flex; width: max-content; animation: ruban 46s linear infinite; margin-bottom: 54px; }
.insta .defilant span { flex: none; padding: 0 34px; font: 800 clamp(54px, 9vw, 150px)/1 'Montserrat', Arial, sans-serif; letter-spacing: -.045em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .34); white-space: nowrap; }
.insta .defilant span:nth-child(even) { color: #ff9a76; -webkit-text-stroke: 0; font-style: italic; font-weight: 300; }
.insta .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.insta h2 { color: #fff; font-size: clamp(30px, 3.8vw, 54px); font-weight: 200; letter-spacing: -.035em; margin-top: 16px; } .insta h2 em { color: #ff9a76; }
.insta .sur { color: #e2b25e; }
.insta p.texte { margin-top: 18px; max-width: 560px; color: #e8dcd3; font-size: 17.5px; }
.insta .btn { min-height: 64px; padding: 0 34px; background: linear-gradient(120deg, #f6a13a, #ee754d 45%, #c13584); color: #fff; font-size: 13.5px; box-shadow: 0 24px 44px -22px rgba(238, 117, 77, .9); }
.insta .btn:hover { transform: translateY(-3px) scale(1.02); }
.insta .btn svg { width: 22px; height: 22px; }

/* ---------- Avant / après : la galerie ---------- */
.aa-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.aa { position: relative; display: block; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid var(--ligne); transition: box-shadow .35s ease, transform .35s ease; }
.aa:hover { box-shadow: 0 38px 70px -38px rgba(58, 36, 24, .55); }
.aa .image { aspect-ratio: 5 / 4; overflow: hidden; background: #fff; }
.aa .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.aa:hover .image img { transform: scale(1.05); }
.aa .bas { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px 22px; }
.aa .bas strong { font: 500 22px/1.2 'Montserrat', Arial, sans-serif; letter-spacing: -.02em; color: var(--brun); }
.aa .bas span { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sable); color: var(--brun); transition: background .25s ease, color .25s ease, transform .25s ease; }
.aa:hover .bas span { background: var(--corail-texte); color: #fff; transform: rotate(-45deg); }
.aa.grande { grid-column: span 2; } .aa.grande .image { aspect-ratio: 16 / 8.1; }
.aa-autres { margin-top: 80px; }

/* Mots découpés par le script : pas de césure visible */
.ligne-masque { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }

@media (max-width: 960px) {
  .entete .insta-rond { display: none; }
  .pano { padding-top: 44px; } .pano .conteneur { grid-template-columns: 1fr; gap: 34px; } .pano .mots { padding-bottom: 0; }
  .pano .arche { width: min(100%, 420px); margin-inline: auto; } .pano .tourne { right: 8px; bottom: 30px; width: 112px; height: 112px; } .pano .tourne i { inset: 28px; font-size: 20px; } .pano .tourne text { font-size: 13px; }
  .pano.simple .mots { padding-bottom: 48px; }
  .riche > .volet:first-child { padding-top: 72px; } .volet { padding: 76px 0; } .volet.arrondi { border-radius: 34px 34px 0 0; margin-top: -34px; }
  .tete2 { margin-bottom: 40px; }
  .duo2 { grid-template-columns: 1fr; gap: 34px; } .duo2.inverse .photo { order: 0; } .duo2 + .duo2 { margin-top: 72px; }
  .tuiles, .points { grid-template-columns: 1fr; } .tuiles.deux-tel { grid-template-columns: 1fr 1fr; gap: 12px; } .tuiles.deux-tel .corps { padding: 18px 16px 20px; } .tuiles.deux-tel h3 { font-size: 16.5px; }
  .point { padding-right: 0; }
  .defile .etape { min-height: 300px; } .defile .etape .num { font-size: 100px; }
  .plein-cadre { height: 68vh; } .plein-cadre .dessus { padding-bottom: 40px; }
  .encadre { grid-template-columns: 1fr; padding: 38px 28px; }
  .insta { padding: 76px 0 84px; } .insta .conteneur { grid-template-columns: 1fr; } .insta .btn { width: 100%; }
  .aa-grille { grid-template-columns: 1fr; } .aa.grande { grid-column: auto; } .aa.grande .image { aspect-ratio: 5 / 4; }
}
@media (min-width: 961px) and (max-width: 1180px) { .tuiles[style*="--cols:4"], .points[style*="--cols:4"] { grid-template-columns: 1fr 1fr; } .aa-grille { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .pano .tourne svg, .insta .defilant { animation: none; } }
