/* Bitoques, etc. — estilos globais */
@font-face{font-family:Figtree;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/figtree-400.woff2) format("woff2")}
@font-face{font-family:Figtree;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/figtree-500.woff2) format("woff2")}
@font-face{font-family:Figtree;font-style:italic;font-weight:800;font-display:swap;src:url(fonts/figtree-800-italic.woff2) format("woff2")}
@font-face{font-family:Figtree;font-style:normal;font-weight:800;font-display:swap;src:url(fonts/figtree-800.woff2) format("woff2")}
html,body{margin:0;background:#FFFFFF}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:90px}
body{padding-bottom:env(safe-area-inset-bottom,0px)}
a{color:#000000}a:hover{color:#DC0E0E}
img{max-width:100%;height:auto}
img[style*="aspect-ratio"]{height:auto}
button{font:inherit}
:focus-visible{outline:3px solid #FFB800;outline-offset:3px}

/* Regra: botões sempre totalmente arredondados (1000px) */
button, a[style*="display: inline-block"][style*="padding"]{border-radius:1000px!important}

/* animações */
@keyframes bitoques-zoom{from{transform:scale(1.08);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes bitoques-rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@media (min-width:900px) and (max-width:1199px){[data-hero-text] h1{font-size:84px!important}}
@media (max-width:899px){[data-hero]{align-items:flex-end!important;min-height:720px!important}[data-hero-img]{object-position:50% 0%!important}[data-hero-text]{padding:0 20px 40px!important}}
@media (max-width:640px){[data-nav]{order:3;width:100%;justify-content:center;gap:24px!important;padding:14px 0 10px}}
@media (prefers-reduced-motion:reduce){[data-hero-img],[data-hero-text]{animation:none!important}}

@keyframes bitoques-land{from{transform:rotate(-30deg) scale(.85);opacity:0}to{transform:rotate(0) scale(1);opacity:1}}
@keyframes bitoques-spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){[data-plate]{animation:none!important}}

@keyframes land{from{transform:rotate(-30deg) scale(.85);opacity:0}to{transform:none;opacity:1}}
@keyframes rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease-out,transform .7s ease-out}
.reveal.in{opacity:1;transform:none}

/* carrosséis */
.carousel{cursor:grab;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.carousel::-webkit-scrollbar{display:none}
.carousel.drag{cursor:grabbing;scroll-snap-type:none!important;user-select:none}
.carousel img{-webkit-user-drag:none;pointer-events:none}
.carousel > *{transition:opacity .35s}
[data-story-arrow]{transition:opacity .2s,transform .15s}
[data-story-arrow]:active{transform:scale(.94)}

/* telemóvel */
@media (max-width:640px){
  header > div{padding:10px 16px!important;row-gap:6px!important}
  header nav{gap:18px!important}
  header img{height:30px!important}
  html{scroll-padding-top:120px}
  h1, h1[style*="font-size: 104px"]{font-size:54px!important}
  h2{font-size:34px!important}
  [style*="font-size: 104px"]{font-size:72px!important}
  [style*="font-size: 80px"]{font-size:52px!important}
  [style*="font-size: 56px"]{font-size:36px!important}
  [style*="font-size: 88px"]{font-size:60px!important}
  [style*="padding: 40px"]{padding:28px!important}
  [style*="flex: 0 0 150px"]{flex-basis:110px!important;width:110px!important}
  [data-story-arrow]{width:44px!important;height:44px!important}
  [data-story-year]{font-size:12px!important;padding:4px!important}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}}
