/* v3-lettre : fenêtre « guide offert + −5 % » */
.ol { --ol-creme: #faf4ec; --ol-sable: #ead7c2; --ol-taupe: #4a4540; --ol-taupe-2: #7a716a; position: fixed; inset: 0; z-index: 9990; pointer-events: none; font-family: var(--sans, system-ui, sans-serif); color: var(--ol-taupe); }
.ol-voile { position: absolute; inset: 0; background: rgba(74, 69, 64, .28); opacity: 0; transition: opacity .35s ease; }
.ol-boite { position: absolute; left: 50%; top: 50%; width: min(820px, calc(100vw - 48px)); display: grid; grid-template-columns: 300px 1fr; background: var(--ol-creme); border-radius: 22px; box-shadow: 0 30px 80px rgba(74, 69, 64, .22), 0 2px 8px rgba(74, 69, 64, .08); overflow: hidden; opacity: 0; transform: translate(-50%, -46%) scale(.98); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.ol.ol-on .ol-voile, .ol.ol-on .ol-boite { pointer-events: auto; }
.ol.ol-on .ol-voile { opacity: 1; }
.ol.ol-on .ol-boite { opacity: 1; transform: translate(-50%, -50%); }
.ol-poignee { display: none; }
.ol-visuel { background: var(--ol-sable); display: flex; align-items: center; justify-content: center; padding: 36px 30px; }
.ol-visuel img { width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 18px 36px rgba(74, 69, 64, .22), 0 1px 0 rgba(255, 255, 255, .6) inset; transform: rotate(-2deg); }
.ol-corps { padding: 44px 44px 30px; }
.ol-sur { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ol-taupe-2); margin: 0 0 12px; }
.ol .ol-titre { font-family: var(--sans); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.08; color: var(--ol-taupe); margin: 0; text-wrap: balance; outline: none; }
.ol-remise { font-family: var(--sans); font-style: italic; font-size: 1.22rem; margin: 6px 0 12px; color: var(--ol-taupe); text-wrap: balance; }
.ol-nw, .pied-guide .ol-nw { white-space: nowrap; }
.ol-texte { font-size: .95rem; line-height: 1.55; color: var(--ol-taupe-2); margin: 0 0 18px; text-wrap: pretty; }
.ol-form { display: grid; gap: 10px; margin: 0; }
.ol .ol-form input[type=email] { width: 100%; height: 50px; padding: 0 16px; border: 1px solid rgba(74, 69, 64, .22) !important; border-radius: 12px; background: #fffdf9 !important; color: var(--ol-taupe) !important; font: inherit; font-size: 1rem; box-shadow: none !important; }
.ol .ol-form input[type=email]:focus { outline: 2px solid rgba(74, 69, 64, .35); outline-offset: 1px; border-color: var(--ol-taupe) !important; }
.ol .ol-form input[aria-invalid=true] { border-color: #a3341f !important; }
.ol .ol-bouton { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--ol-taupe) !important; color: var(--ol-creme) !important; font: inherit; font-weight: 600; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, opacity .2s; white-space: nowrap; }
.ol .ol-bouton:hover { opacity: .92; }
.ol .ol-bouton:active { transform: scale(.985); }
.ol .ol-bouton[disabled] { opacity: .6; cursor: default; }
.ol-erreur { min-height: 0; margin: 0; font-size: .85rem; color: #a3341f; }
.ol-erreur:empty { display: none; }
.ol-legal { font-size: .74rem; line-height: 1.5; color: var(--ol-taupe-2); margin: 14px 0 6px; text-wrap: pretty; }
.ol-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.ol .ol-non { display: block; margin: 4px auto 0; padding: 10px 14px; background: none !important; border: 0; color: var(--ol-taupe-2) !important; font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; box-shadow: none !important; }
.ol .ol-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(234, 215, 194, .7) !important; color: var(--ol-taupe) !important; cursor: pointer; padding: 0; z-index: 2; }
.ol-x svg { width: 18px; height: 18px; }
.ol-code { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; padding: 10px 10px 10px 18px; border: 1px dashed rgba(74, 69, 64, .4); border-radius: 12px; background: var(--ol-sable); }
.ol-code-val { flex: 1; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 1.1rem; letter-spacing: .08em; color: var(--ol-taupe); word-break: break-all; }
.ol .ol-copier { border: 0; border-radius: 9px; padding: 9px 14px; background: var(--ol-creme) !important; color: var(--ol-taupe) !important; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.ol-etape-2 .ol-bouton { margin-top: 4px; }

/* Téléphone : feuille du bas, douce et non bloquante */
.ol.ol-mobile .ol-voile { background: rgba(74, 69, 64, .08); }
.ol.ol-mobile.ol-on .ol-voile { pointer-events: none; }
.ol.ol-mobile .ol-boite { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 88vh; overflow-y: auto; grid-template-columns: 1fr; border-radius: 22px 22px 0 0; transform: translateY(104%); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -12px 40px rgba(74, 69, 64, .18); transition: opacity .3s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.ol.ol-mobile.ol-on .ol-boite { transform: translateY(0); }
.ol.ol-mobile .ol-poignee { display: block; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(74, 69, 64, .22); z-index: 2; }
.ol.ol-mobile .ol-visuel { padding: 26px 20px 0; background: none; justify-content: flex-start; }
.ol.ol-mobile .ol-visuel img { width: 74px; transform: rotate(-3deg); box-shadow: 0 8px 18px rgba(74, 69, 64, .2); }
.ol.ol-mobile .ol-corps { padding: 14px 20px 14px; }
.ol.ol-mobile .ol-titre { font-size: 1.6rem; }
.ol.ol-mobile .ol-remise { font-size: 1.08rem; margin: 4px 0 8px; }
.ol.ol-mobile .ol-texte { font-size: .9rem; margin-bottom: 14px; }
.ol.ol-mobile .ol-x { top: 16px; right: 14px; }
.ol.ol-mobile.ol-fait .ol-visuel { display: none; }
.ol.ol-mobile.ol-fait .ol-corps { padding-top: 30px; }

@media (prefers-reduced-motion: reduce) { .ol-boite, .ol-voile { transition: opacity .2s linear !important; } }

/* Déclencheur au pied de page */
.pied .pied-guide { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px 10px 12px; border: 1px solid currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-size: .88rem; line-height: 1.35; text-align: left; cursor: pointer; opacity: .9; text-wrap: balance; }
.pied .pied-guide::before { content: ""; flex: none; width: 22px; height: 28px; border-radius: 2px; background: url("../img/hero-ambre.webp") center / cover, #ead7c2; box-shadow: 0 2px 6px rgba(74, 69, 64, .25); }
.pied .pied-guide:hover { opacity: 1; }

/* Accueil : bloc « guide offert » (livre en 3D) */
.guide-offert .go { --go-creme: #faf4ec; --go-sable: #ead7c2; --go-taupe: #4a4540; --go-taupe-2: #7a716a; --go-ivoire: #fffaf4; --go-bronze: #8a6a4f;
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px); align-items: center;
	padding: clamp(40px, 6vw, 88px) clamp(28px, 6vw, 96px); border-radius: 32px; overflow: hidden; color: var(--go-taupe);
	background: radial-gradient(120% 90% at 18% 40%, #f6ebde 0%, var(--go-sable) 58%, #e2c9ae 100%); }
.go-scene { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1400px; }
.go-ondes { position: absolute; width: 150%; max-width: 760px; aspect-ratio: 1; color: var(--go-taupe); opacity: .14; pointer-events: none; }
.go-ondes circle { stroke-width: .6; }
.go-livre { position: relative; width: min(330px, 74%); aspect-ratio: 800 / 1134; transform-style: preserve-3d;
	rotate: y -26deg; transform: rotateX(4deg) rotateZ(1deg); transition: transform .9s cubic-bezier(.2, .8, .2, 1); z-index: 1; }
.go-face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px 8px 8px 3px; display: block;
	box-shadow: inset 0 0 0 1px rgba(74, 69, 64, .06); transform: translateZ(10px); backface-visibility: hidden; }
.go-livre::after { content: ""; position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; transform: translateZ(10.5px); pointer-events: none;
	background: linear-gradient(105deg, rgba(255, 250, 244, 0) 30%, rgba(255, 250, 244, .32) 46%, rgba(255, 250, 244, 0) 62%); background-size: 260% 100%; background-position: 90% 0; transition: background-position 1.1s cubic-bezier(.2, .8, .2, 1); }
.go-tranche { position: absolute; top: 1.2%; right: 0; width: 20px; height: 97.6%; transform-origin: right center; transform: translateZ(10px) rotateY(90deg);
	background: repeating-linear-gradient(90deg, #fffaf4 0 1px, #efe3d4 1px 2px), var(--go-ivoire); box-shadow: inset 6px 0 8px -6px rgba(74, 69, 64, .35); }
.go-livre::before { content: ""; position: absolute; inset: 0; border-radius: 3px 8px 8px 3px; background: #d9c2a8; transform: translateZ(-10px); box-shadow: -30px 40px 60px -20px rgba(110, 72, 40, .45); }
.go-sol { position: absolute; bottom: 7%; left: 50%; width: 62%; height: 34px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 72, 40, .32), rgba(110, 72, 40, 0)); filter: blur(4px); }
.go:hover .go-livre { transform: rotateX(2deg) rotateZ(0deg) rotateY(18deg) translateY(-8px); }
.go:hover .go-livre::after { background-position: 10% 0; }

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.go-livre { animation: go-entree linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
		@keyframes go-entree { from { rotate: y -48deg; translate: 0 40px; } to { rotate: y -26deg; translate: 0 0; } }
	}
}

.go-sur { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--go-taupe-2); margin: 0 0 18px; }
.go-sur::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-right: 12px; vertical-align: middle; }
.guide-offert .go-titre { font-family: var(--sans); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.012em; color: var(--go-taupe); margin: 0 0 18px; text-wrap: balance; }
.guide-offert .go-titre em { font-style: italic; color: var(--go-bronze); }
.go-chapeau { font-size: 1.06rem; line-height: 1.6; color: var(--go-taupe-2); max-width: 44ch; margin: 0 0 30px; text-wrap: pretty; }
.go-promesses { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid rgba(74, 69, 64, .16); }
.go-promesses li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(74, 69, 64, .16); }
.go-n { grid-row: span 2; font-family: var(--sans); font-style: italic; font-size: 1.05rem; color: var(--go-bronze); line-height: 1.3; }
.go-promesses strong { font-family: var(--sans); font-weight: 400; font-size: 1.12rem; line-height: 1.3; color: var(--go-taupe); }
.go-promesses li > span:last-child { font-size: .9rem; line-height: 1.45; color: var(--go-taupe-2); margin-top: 2px; text-wrap: pretty; }
.go-offre { display: flex; align-items: center; gap: 18px 26px; flex-wrap: wrap; padding: 14px 14px 14px 22px; background: var(--go-ivoire); border-radius: 22px; box-shadow: 0 18px 40px -26px rgba(110, 72, 40, .5); }
.go-remise { display: flex; align-items: center; gap: 14px; margin: 0; flex: 1 1 auto; }
.go-moins { font-family: var(--sans); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--go-bronze); white-space: nowrap; letter-spacing: -.02em; }
.go-remise-txt { font-size: .98rem; line-height: 1.35; color: var(--go-taupe); text-wrap: balance; }
.go-remise-txt small { font-size: .84rem; color: var(--go-taupe-2); }
.guide-offert .go-bouton { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--go-taupe); color: var(--go-ivoire); font: inherit; font-size: 1rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: transform .25s ease, background-color .25s ease; }
.guide-offert .go-bouton:hover { background: #5d564f; transform: translateY(-1px); }
.guide-offert .go-bouton:focus-visible { outline: 2px solid var(--go-taupe); outline-offset: 3px; }
.guide-offert .go-bouton svg { transition: transform .25s ease; }
.guide-offert .go-bouton:hover svg { transform: translateX(3px); }
.go-mention { font-size: .82rem; color: var(--go-taupe-2); margin: 14px 0 0 22px; }

@media (max-width: 900px) {
	.guide-offert .go { grid-template-columns: 1fr; padding: 28px 20px 24px; border-radius: 26px; gap: 8px; margin-inline: 12px; }
	.go-scene { min-height: 0; padding: 18px 0 30px; }
	.go-ondes { width: 130%; }
	.go-livre { width: min(210px, 58%); }
	.go-sol { bottom: 10px; }
	.go-texte { text-align: left; }
	.go-promesses { grid-template-columns: 1fr; }
	.go-offre { flex-direction: column; align-items: stretch; padding: 18px; gap: 16px; }
	.guide-offert .go-bouton { justify-content: center; width: 100%; }
	.go-mention { margin-left: 0; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .go-livre, .go-livre::after, .guide-offert .go-bouton, .guide-offert .go-bouton svg { transition: none; } }
