/* Dem-Tukki — en-tête animé de la page Offices de tourisme : phare de la Vieille (photo PtrQs, CC BY-SA 4.0) en alternance avec une carte ancienne dessinée — 2026-11-02 */
header.hero.ot{position:relative;overflow:hidden;min-height:360px;background:#2a1d10}
header.hero.ot>.ph{display:none!important}
header.hero.ot>.voile{background:transparent!important;z-index:3}
.ot-scene{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;opacity:0;transition:opacity 1.6s ease}
.ot-scene.on{opacity:1}
.ot-frame{position:absolute;animation:otKB 30s ease-in-out infinite alternate;transform-origin:50% 45%}
@keyframes otKB{from{transform:scale(1)}to{transform:scale(1.1) translate(-2%,-1.5%)}}
.ot-img{position:absolute;inset:0;background:url(/img/ot-phare-raz.jpg) center/100% 100% no-repeat;filter:sepia(1) saturate(1.2) contrast(1.06) brightness(.82)}
.ot-lamp{position:absolute;width:0;height:0}
.ot-glow{position:absolute;left:-40px;top:-40px;width:80px;height:80px;border-radius:50%;background:radial-gradient(circle,rgba(255,246,214,1),rgba(255,226,160,.5) 25%,transparent 70%);mix-blend-mode:screen;animation:otFlash 8s linear infinite}
@keyframes otFlash{0%,100%{opacity:.35;transform:scale(.8)}22%,28%{opacity:1;transform:scale(1.6)}72%,78%{opacity:1;transform:scale(1.6)}50%{opacity:.35;transform:scale(.8)}}
.ot-bw{position:absolute;left:0;top:0;perspective:900px}
.ot-beam{position:absolute;left:0;top:-60px;width:900px;height:120px;transform-origin:0 50%;background:linear-gradient(90deg,rgba(255,240,200,.75),rgba(255,236,190,.25) 45%,transparent 85%);clip-path:polygon(0 47%,100% 0,100% 100%,0 53%);mix-blend-mode:screen;filter:blur(3px);animation:otSweep 8s linear infinite}
@keyframes otSweep{to{transform:rotateY(360deg)}}
.ot-sea{position:absolute;left:0;right:0;top:48%;bottom:0;background:repeating-linear-gradient(0deg,transparent 0 5px,rgba(255,232,186,.22) 5px 7px);-webkit-mask:radial-gradient(ellipse 40% 50% at 30% 30%,#000 20%,transparent 75%);mask:radial-gradient(ellipse 40% 50% at 30% 30%,#000 20%,transparent 75%);mix-blend-mode:screen;animation:otGl 2.6s linear infinite}
@keyframes otGl{from{background-position:0 0;opacity:.55}50%{opacity:.95}to{background-position:0 14px;opacity:.55}}
.ot-tint{position:absolute;inset:0;background:linear-gradient(180deg,rgba(120,72,25,.22),rgba(90,52,18,.32));mix-blend-mode:multiply}
.ot-mist{position:absolute;inset:-10% -40%;background:radial-gradient(ellipse 30% 14% at 30% 55%,rgba(255,232,195,.18),transparent 70%),radial-gradient(ellipse 25% 12% at 75% 50%,rgba(255,232,195,.14),transparent 70%);animation:otMi 40s linear infinite alternate;mix-blend-mode:screen}
@keyframes otMi{from{transform:translateX(-8%)}to{transform:translateX(8%)}}
.ot-birds{position:absolute;inset:0;width:100%;height:100%}
.ot-bird{animation:otFly 30s linear infinite}.ot-bird.b2{animation-duration:40s;animation-delay:-14s}
@keyframes otFly{from{transform:translate(-60px,0)}to{transform:translate(1100px,-30px)}}
.ot-wing{animation:otFlap .8s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
@keyframes otFlap{to{transform:scaleY(.35)}}
.ot-map{position:absolute;inset:0;width:100%;height:100%}
.ot-route{fill:none;stroke:#5a3b17;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:1000;stroke-dashoffset:1000;animation:otDraw 14s ease-in-out infinite}
@keyframes otDraw{0%{stroke-dashoffset:1000}45%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:0;opacity:0}}
.ot-stamp{opacity:0;transform-box:fill-box;transform-origin:center;animation:otSt 14s ease-out infinite}
@keyframes otSt{0%,8%{opacity:0;transform:scale(2.2) rotate(-25deg)}12%{opacity:.85;transform:scale(1) rotate(-12deg)}85%{opacity:.85;transform:scale(1) rotate(-12deg)}100%{opacity:0}}
.ot-rose{transform-box:fill-box;transform-origin:center;animation:otRo 60s linear infinite}
@keyframes otRo{to{transform:rotate(360deg)}}
.ot-ship{offset-path:path('M150 300 C 260 230, 380 250, 470 190 S 690 140, 820 210');animation:otSail 14s ease-in-out infinite}
@keyframes otSail{0%{offset-distance:0%;opacity:0}6%{opacity:1}80%{offset-distance:100%;opacity:1}100%{offset-distance:100%;opacity:0}}
.ot-band{position:absolute;left:50%;top:52%;width:80%;height:72%;transform:translate(-50%,-50%);background:radial-gradient(ellipse at center,rgba(30,18,6,.6),transparent 70%)}
.ot-map-band{width:72%;height:82%;background:radial-gradient(ellipse at center,rgba(40,24,8,.82),rgba(40,24,8,.45) 50%,transparent 75%)}
.ot-vig{position:absolute;inset:0;background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 45%,rgba(25,15,5,.6) 100%)}
.ot-grain{position:absolute;inset:0;opacity:.12;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");animation:otGr .6s steps(3) infinite}
@keyframes otGr{33%{transform:translate(-3px,2px)}66%{transform:translate(2px,-3px)}}
header.hero.ot h1,header.hero.ot p{text-shadow:0 2px 14px rgba(20,12,4,.75)}
header.hero.ot>.ot-credit{position:absolute;right:10px;bottom:6px;z-index:4;font-size:10px;line-height:1.2;color:rgba(255,240,215,.75);text-shadow:0 1px 3px rgba(0,0,0,.6);transition:opacity 1.2s}
header.hero.ot>.ot-credit a{color:inherit;text-decoration:underline}
header.hero.ot>.ot-credit.off{opacity:0;pointer-events:none}
@media (max-width:640px){header.hero.ot{min-height:320px}}
@media (prefers-reduced-motion:reduce){.ot-scene *{animation:none!important}.ot-route{stroke-dashoffset:0}.ot-stamp{opacity:.85}}
header.hero.ot .kicker{color:#f0a24a!important;font-weight:600;text-shadow:0 1px 8px rgba(20,12,4,.7)}
