/* ===== Tema (azul-marinho + dourado do logótipo) ===== */
:root {
  --navy: #16244f;
  --navy-2: #1f3169;
  --navy-deep: #0e1733;
  --gold: #b8902f;
  --gold-light: #d8b659;
  --gold-soft: #f3e9cf;
  --cream: #faf7ef;
  --ink: #11182c;
  --muted: #5b6275;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 60px -28px rgba(22, 36, 79, .55);
  --gold-grad: linear-gradient(120deg, #d8b659 0%, #a9842c 100%);
  --navy-grad: linear-gradient(135deg, #1f3169 0%, #0e1733 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* Dourado com brilho animado */
.grad-gold {
  background: linear-gradient(100deg, #a9842c, #d8b659, #f0d784, #d8b659, #a9842c);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 250% 0; } }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .7rem;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 3rem); }

/* ===== Barra de progresso de scroll ===== */
.progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 200;
  background: var(--gold-grad); box-shadow: 0 0 12px rgba(216,182,89,.7); transition: width .1s linear; }

/* ===== Botões (com brilho deslizante) ===== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-weight: 700; font-size: .98rem; cursor: pointer; border: 0;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 140%; }
.btn--gold { background: var(--gold-grad); color: var(--navy-deep); box-shadow: 0 14px 30px -12px rgba(184,144,47,.7); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(184,144,47,.85); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { transform: translateY(-3px); background: var(--navy-2); }
.btn--ghost { border: 2px solid rgba(22,36,79,.25); color: var(--navy); }
.btn--ghost:hover { background: rgba(22,36,79,.06); transform: translateY(-3px); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.22); transform: translateY(-3px); }

/* ===== Navegação ===== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.scrolled { background: rgba(250,247,239,.9); backdrop-filter: blur(14px); box-shadow: 0 8px 26px -18px rgba(0,0,0,.5); }
.brand { display: flex; align-items: center; }
.brand__logo { height: 54px; width: auto; transition: transform .3s ease; }
.nav.scrolled .brand__logo { height: 46px; }
.brand:hover .brand__logo { transform: scale(1.05); }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links a {
  position: relative; padding: .55rem .95rem; border-radius: 100px;
  font-weight: 600; font-size: .95rem; color: var(--navy);
  transition: background .2s ease, color .2s ease;
}
.nav__links a:hover { background: rgba(22,36,79,.08); }
.nav__links a.active { color: var(--gold); }
.nav__links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 3px; background: var(--gold-grad);
}
.nav__cta { background: var(--navy) !important; color: #fff !important; }
.nav__cta:hover { background: var(--navy-2) !important; }
/* No topo (sobre fundo escuro) os links ficam claros */
.nav:not(.scrolled) .nav__links a { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.nav:not(.scrolled) .nav__links a.active { color: var(--gold-light); }
.nav:not(.scrolled) .nav__burger span { background: #fff; }
.nav:not(.scrolled) .brand__logo { filter: drop-shadow(0 2px 8px rgba(0,0,0,.45)); }
@media (max-width: 880px) { .nav:not(.scrolled) .nav__links a { color: var(--navy); text-shadow: none; } }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; z-index: 110; }
.nav__burger span { width: 26px; height: 3px; background: var(--navy); border-radius: 3px; transition: .3s; }

/* ===== HERO (slideshow de fundo) ===== */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 8rem 1.5rem 4rem; overflow: hidden; background: var(--navy-deep);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease; }
.hero__slide.active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.active img { animation: kenburns 8s ease-out both; }
.hero__slide.leaving img { animation: kenburns-out 1.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@keyframes kenburns-out { from { transform: scale(1.04); } to { transform: scale(0.95); } }
/* Camada escura para legibilidade do texto */
.hero__overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(14,23,51,.62) 0%, rgba(14,23,51,.5) 40%, rgba(14,23,51,.78) 100%); }
@keyframes aurora { from { transform: translate3d(-3%, -2%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.12); } }
/* Holofote que segue o rato */
.hero__spot { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.18), transparent 70%);
  transition: background .15s ease; }
/* Flash dourado entre transições de slide */
.hero__flash { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(184,144,47,.35) 0%, rgba(255,255,255,.08) 45%, transparent 70%);
  opacity: 0; transition: opacity .25s ease; }
.hero__flash.flash { opacity: 1; }
/* Gotas de água a cair */
.drop { position: absolute; top: -10%; width: 8px; height: 8px; border-radius: 50% 50% 50% 0;
  background: rgba(216,182,89,.6); transform: rotate(45deg); z-index: 2; animation: fall linear infinite; }
@keyframes fall { to { transform: rotate(45deg) translateY(120vh); opacity: 0; } }

.hero__content { position: relative; z-index: 3; max-width: 880px; }
.hero__logobadge { display: inline-grid; place-items: center; padding: 1rem 1.4rem; margin: 0 auto 1.5rem;
  background: rgba(255,255,255,.94); border-radius: 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  animation: dropin 1s cubic-bezier(.2,.8,.2,1) both, floaty 6s ease-in-out 1s infinite; }
.hero__logobadge img { width: clamp(150px, 22vw, 210px); height: auto; }
.hero__badge { display: inline-block; background: rgba(216,182,89,.22); color: var(--gold-light);
  border: 1px solid rgba(216,182,89,.5); padding: .45rem 1.1rem; border-radius: 100px;
  font-weight: 700; font-size: .85rem; margin-bottom: 1.3rem; backdrop-filter: blur(4px); }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; color: #fff; letter-spacing: -.02em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #e7ecf7; margin: 1.5rem auto 2.2rem; max-width: 640px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__actions .btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.hero__actions .btn--ghost:hover { background: rgba(255,255,255,.14); }
.hero__stats { display: flex; gap: clamp(1.5rem,5vw,3.5rem); justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: "Fraunces", serif; font-size: 2rem; color: var(--gold-light); }
.hero__stats span { color: #d9e0f3; font-size: .9rem; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3;
  color: #fff; font-size: 1.5rem; animation: bob 1.8s ease-in-out infinite; opacity: .7; }
@keyframes dropin { from{opacity:0; transform: translateY(-30px) scale(.85);} to{opacity:1; transform:none;} }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }
@keyframes float { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(40px,-30px) scale(1.12);} }

/* ===== Cabeçalho de página interna ===== */
.page-head { position: relative; padding: 9rem 1.5rem 4rem; text-align: center; overflow: hidden; background: var(--navy-grad); color: #fff; }
.page-head::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -20%, rgba(216,182,89,.3), transparent 60%); animation: aurora 16s ease-in-out infinite alternate; }
.page-head__inner { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; }
.page-head p { color: #c7cfe6; margin-top: .8rem; font-size: 1.1rem; }
.page-head .eyebrow { color: var(--gold-light); }
.breadcrumb { font-size: .85rem; color: #aeb8d6; margin-top: 1rem; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ===== Faixa rolante ===== */
.marquee { background: var(--navy); color: #fff; overflow: hidden; padding: 1rem 0; }
.marquee__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: scroll 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-weight: 600; opacity: .92; }
.marquee__track b { color: var(--gold-light); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Secções ===== */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--alt { background: #fff; }
.section__head { text-align: center; max-width: 660px; margin: 0 auto 3.2rem; }
.section__head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; color: var(--navy); }
.section__head p { color: var(--muted); margin-top: .8rem; font-size: 1.1rem; }

/* ===== Cartões de produtos (com tilt 3D) ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.tilt { transform-style: preserve-3d; transition: transform .2s ease; }
.card {
  position: relative; background: var(--white); border: 1px solid rgba(22,36,79,.08);
  border-radius: var(--radius); padding: 2rem 1.8rem; overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease, transform .2s ease;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.card:hover { box-shadow: var(--shadow); border-color: rgba(184,144,47,.35); }
.card:hover::before { transform: scaleX(1); }
.card > * { transform: translateZ(30px); }
.card__icon { width: 66px; height: 66px; display: grid; place-items: center; font-size: 2rem;
  border-radius: 18px; margin-bottom: 1.1rem; transition: transform .3s ease;
  background: linear-gradient(135deg, var(--gold-soft), rgba(22,36,79,.06)); }
.card:hover .card__icon { transform: translateZ(45px) scale(1.1) rotate(-6deg); }
.card h3 { font-size: 1.3rem; margin-bottom: .4rem; color: var(--navy); }
.card p { color: var(--muted); font-size: .97rem; }

/* ===== Cartões de produto com foto ===== */
.prod__img { height: 190px; display: grid; place-items: center; margin-bottom: 1rem;
  background: #fff; border-radius: 14px; padding: .6rem; }
.prod__img img { max-height: 175px; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.14)); transition: transform .35s ease; }
.card:hover .prod__img img { transform: scale(1.07) rotate(-1deg); }
.prod__tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }

/* ===== Carrossel (Termas de Caldelas) ===== */
.carousel { position: relative; max-width: 1080px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/8; background: #0b1330; }
.carousel__track { position: absolute; inset: 0; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease; }
.carousel__slide.active { opacity: 1; transform: scale(1); }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 3rem 1.8rem 1.3rem; color: #fff;
  background: linear-gradient(transparent, rgba(11,19,48,.88)); }
.carousel__cap b { font-family: "Fraunces", serif; font-size: clamp(1.2rem, 2.6vw, 1.7rem); display: block; }
.carousel__cap span { color: #d9e0f3; font-size: .92rem; }
.carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--navy); font-size: 1.4rem; display: grid; place-items: center;
  transition: background .2s, transform .2s; }
.carousel__nav:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.carousel__nav--prev { left: 1rem; } .carousel__nav--next { right: 1rem; }
.carousel__dots { position: absolute; bottom: 1.1rem; right: 1.5rem; z-index: 3; display: flex; gap: .5rem; }
.carousel__dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%;
  cursor: pointer; background: rgba(255,255,255,.45); transition: all .3s ease; }
.carousel__dots button.active { background: var(--gold-light); width: 30px; border-radius: 6px; }
@media (max-width: 600px) { .carousel { aspect-ratio: 4/3; } .carousel__nav { width: 40px; height: 40px; } }

/* ===== A nossa loja ===== */
.storefront { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: center; }
.storefront__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.storefront__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.storefront__ph { aspect-ratio: 16/10; display: grid; place-items: center; text-align: center; padding: 2rem;
  background: linear-gradient(160deg, #fff, var(--gold-soft)); color: var(--muted); border: 1px dashed rgba(184,144,47,.5); }
.storefront h2 { font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 900; color: var(--navy); margin-bottom: 1rem; }
.storefront p { color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 880px) { .storefront { grid-template-columns: 1fr; } }

/* ===== CTA band ===== */
.cta-band { background: var(--navy-grad); color: #fff; border-radius: 28px; padding: clamp(2.5rem,6vw,4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(70% 120% at 80% 0, rgba(216,182,89,.3), transparent 60%); animation: aurora 14s ease-in-out infinite alternate; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; }
.cta-band p { color: #c7cfe6; margin: .9rem auto 1.8rem; max-width: 540px; }

/* ===== Vantagens ===== */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 1.4rem; }
.perk { text-align: center; padding: 1.5rem; }
.perk__ico { width: 70px; height: 70px; margin: 0 auto 1rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold-soft); font-size: 1.9rem; transition: transform .3s ease; }
.perk:hover .perk__ico { transform: translateY(-6px) scale(1.08); }
.perk h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: .3rem; }
.perk p { color: var(--muted); font-size: .95rem; }

/* ===== Quem somos ===== */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,6vw,5rem); align-items: center; }
.about__media { position: relative; }
.about__photo { aspect-ratio: 4/5; border-radius: 32px;
  background: linear-gradient(160deg, #fff, var(--gold-soft));
  display: grid; place-items: center; box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(184,144,47,.25); }
.about__photo img { width: 72%; }
.about__chip { position: absolute; background: #fff; padding: .7rem 1.1rem; border-radius: 100px;
  font-weight: 600; font-size: .9rem; box-shadow: 0 16px 34px -16px rgba(0,0,0,.35); }
.about__chip--1 { top: 7%; right: -12px; animation: bob 5s ease-in-out infinite; }
.about__chip--2 { bottom: 7%; left: -12px; animation: bob 6s ease-in-out infinite reverse; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }
.about__text h2 { font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 900; color: var(--navy); margin-bottom: 1rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__list { list-style: none; margin-top: 1.4rem; display: grid; gap: .6rem; }
.about__list li { font-weight: 600; color: var(--ink); display: flex; gap: .6rem; align-items: center; }
.about__list li::before { content: "✓"; color: var(--gold); font-weight: 900; }

/* ===== Valores ===== */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.4rem; }
.value { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(22,36,79,.08); transition: transform .3s ease, box-shadow .3s ease; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value__num { font-family: "Fraunces", serif; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.value h3 { color: var(--navy); margin: .6rem 0 .3rem; }
.value p { color: var(--muted); font-size: .95rem; }

/* ===== Onde estamos / Contactos ===== */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.4rem; align-items: stretch; }
.info-stack { display: flex; flex-direction: column; gap: 1.3rem; justify-content: center; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__ico { flex: none; width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--gold-soft); border-radius: 14px; font-size: 1.3rem; }
.info-item h4 { font-size: 1.1rem; color: var(--navy); }
.info-item p, .info-item a { color: var(--muted); }
.info-item a:hover { color: var(--gold); }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ===== Formulário ===== */
.form { background: #fff; border-radius: var(--radius); padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: 14px; font: inherit;
  border: 1.5px solid rgba(22,36,79,.15); background: var(--cream); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,144,47,.15); }
.form__ok { display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: 14px; background: var(--gold-soft); color: var(--navy); font-weight: 600; }
.form__ok.show { display: block; animation: pageFade .4s ease both; }

/* ===== Horário ===== */
.hours { list-style: none; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours li { display: flex; justify-content: space-between; padding: .9rem 1.4rem; border-bottom: 1px solid rgba(22,36,79,.07); }
.hours li:last-child { border: 0; }
.hours li span:first-child { font-weight: 600; color: var(--navy); }
.hours li span:last-child { color: var(--muted); }
.hours li.today { background: var(--gold-soft); }
.hours li.today span:last-child { color: var(--navy); font-weight: 700; }

/* ===== Rodapé ===== */
.footer { background: var(--navy-deep); color: #c2cae3; padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer__logo { background: #fff; border-radius: 16px; padding: .7rem 1rem; display: inline-block; }
.footer__logo img { height: 60px; width: auto; }
.footer__tag { color: #93a0c6; margin-top: .6rem; max-width: 280px; }
.footer__wordmark { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .8rem; }
.footer__wm-sup { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer__wm-name { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.footer__wm-sub { font-size: .65rem; letter-spacing: .2em; color: var(--gold-light); opacity: .55; margin-top: .5rem; text-transform: uppercase; }
.footer h4 { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.footer__grid a { display: block; color: #aab4d6; padding: .25rem 0; transition: color .2s; }
.footer__grid a:hover { color: var(--gold-light); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: #8590b5; }

/* ===== Voltar ao topo ===== */
.to-top { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 90; width: 50px; height: 50px;
  border-radius: 50%; background: var(--gold-grad); color: var(--navy-deep); font-size: 1.4rem;
  display: grid; place-items: center; box-shadow: var(--shadow); border: 0; cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== Animações de scroll + entrada ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.left { transform: translateX(-50px); }
.reveal.right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.9); }
.reveal.in { opacity: 1; transform: none; }
.page-fade { animation: pageFade .6s ease both; }
@keyframes pageFade { from { opacity: 0; transform: translateY(12px);} to { opacity: 1; transform: none; } }

/* ===== Responsivo ===== */
@media (max-width: 880px) {
  .about__grid, .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Menu mobile: dropdown vertical, sem deslize lateral */
  .nav__links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); box-shadow: 0 12px 30px -8px rgba(0,0,0,.2);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
    padding: 0;
  }
  .nav__links.open { max-height: 400px; }
  .nav__links a {
    width: 100%; font-size: 1.05rem;
    padding: .95rem 1.5rem;
    border-bottom: 1px solid rgba(22,36,79,.07);
    border-radius: 0;
  }
  .nav__links a:last-child { border-bottom: 0; }
  /* Botão CTA no menu mobile */
  .nav__cta { border-radius: 0 !important; }

  /* Animação do burger → X */
  .nav__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .nav__burger { display: flex; }
  .about__media { max-width: 380px; margin: 0 auto; }
  .form__row { grid-template-columns: 1fr; }

  /* Desactivar deslize horizontal nas animações de reveal */
  .reveal.left, .reveal.right { transform: translateY(40px); }

  /* Chips flutuantes ficam dentro do ecrã */
  .about__chip--1 { right: 0; }
  .about__chip--2 { left: 0; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
  /* Hero: texto mais pequeno, stats em coluna */
  .hero__stats { gap: 1.2rem; }
  .hero__logobadge img { width: clamp(120px, 40vw, 160px); }
  /* Cards: 1 coluna */
  .cards { grid-template-columns: 1fr; }
  /* Botões lado a lado mesmo em mobile */
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
