/* Botões Elite — folha de estilos (valores copiados do site Elementor original) */
:root {
  --text: #333333;
  --black: #000000;
  --heading: #0D0F10;
  --accent: #605BE5;
  --accent-dark: #4A45D2;
  --header-bg: #FCFFF0;
  --line: #E8E8E8;
  --muted: #6A6A6A;
  --max: 1215px;
  --font-head: "Michroma", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-nav: "Abel", "Roboto", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--black); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.hide-mobile { display: block; }
.only-mobile { display: none; }
@media (max-width: 767px) { .hide-mobile { display: none !important; } .only-mobile { display: block; } }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 116px; gap: 20px; }
.logo { display: block; padding: 4px 0; }
.logo img { height: 92px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav a {
  display: block; text-decoration: none; font-family: var(--font-nav); font-size: 18px; font-weight: 600; letter-spacing: .03em;
  color: var(--text); padding: 15px 8px; margin: 0 16px; transition: color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { display: none; width: 50px; background: none; border: 0; padding: 8px 6px; cursor: pointer; }
.nav-toggle span { display: block; height: 4px; background: var(--text); margin-bottom: 6px; transition: transform .2s, opacity .2s, background .2s; }
.nav-toggle span:last-child { margin-bottom: 0; }
.nav-toggle:hover span { background: var(--accent); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
@media (max-width: 767px) {
  .header-inner { height: 88px; }
  .logo img { height: 68px; width: auto; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.06); }
  .main-nav.open { display: block; animation: menuIn .2s ease-out; }
  .main-nav ul { flex-direction: column; text-align: center; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { margin: 0; padding: 14px 10px; font-size: 18px; }
  .main-nav a:hover { background: var(--accent); color: #fff; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 1. Hero (slider com Ken Burns) ---------- */
/* O banner ocupa exatamente o ecrã por baixo do cabeçalho (116px), sem ficar maior do que a janela */
.hero { position: relative; height: calc(100vh - 116px); height: calc(100svh - 116px); min-height: 480px; overflow: hidden; clip-path: inset(0); isolation: isolate; background: #2b2724; color: #fff; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  transform-origin: center; will-change: transform;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns { from { transform: scale(1); } to { transform: scale(1.2); } }
.hero-content {
  position: relative; height: 100%; max-width: var(--max); margin: 0 auto;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 1% 0 0 50%;
}
.hero h1, .hero .tagline { font-family: var(--font-head); color: #fff; margin: 0; padding: 5px 10px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero h1 { font-size: 3.5vw; font-weight: 700; line-height: 1.2; animation: heroIn 1s .3s both; }
.hero .tagline { font-size: 1.6vw; font-weight: 800; animation: heroIn 1s .6s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@media (max-width: 1024px) {
  .motion-slot { padding: 2vh 8px; }
  .hero { height: 671px; min-height: 0; }
  .hero-content { padding: 0 20px; }
  .hero h1 { font-size: 40px; }
  .hero .tagline { font-size: 22px; }
}
@media (max-width: 767px) {
  .hero { height: 662px; }
  .hero h1 { font-size: 35px; }
  .hero .tagline { font-size: 23px; }
}

/* ---------- 2. Produtos ---------- */
.products { position: relative; background-size: cover; background-repeat: no-repeat; background-position: center; overflow: hidden; }
.products::before { content: ""; position: absolute; inset: 0; }
.products > .container { position: relative; }

/* Desktop: fundo horizontal + imagens com movimento ao fazer scroll */
.products-desktop { background-color: #1b1a19; background-image: url("../img/originalHo.jpg"); min-height: 100vh; padding: 14vh 0; }
.products-desktop::before { background-color: #050404D1; }
/* Ziguezague: linha 1 esquerda/direita, linha 2 centro, linha 3 esquerda/direita (larguras no HTML, como no Elementor) */
.motion-grid { display: flex; flex-wrap: wrap; gap: 0; }
.motion-slot, .motion-spacer { flex: 0 0 auto; }
.motion-slot { padding: 3vh 10px; }
/* O atraso suave do Elementor: cada movimento chega com ~1s de inércia */
.motion-item { will-change: transform, opacity; transition: transform 1s cubic-bezier(0, .33, .07, 1.03), opacity 1s cubic-bezier(0, .33, .07, 1.03); }
.motion-item img { width: 100%; }
.js .motion-item { opacity: 0; }

/* Telemóvel: fundo vertical, 2 imagens por linha */
.products-mobile { background-color: #383838; background-image: url("../img/originalVe.jpg"); padding: 48px 0; }
.products-mobile::before { background-color: #383838ED; }
.mobile-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 12px; }
.mobile-grid .item { width: calc(50% - 6px); }
.mobile-grid .item:last-child { width: 317px; max-width: 90%; }
.mobile-grid img { width: 100%; }
.mobile-grid .motion-slot { padding: 0; }
.products-mobile { padding: 90px 0; }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease-out, transform .8s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 3. A Elite ---------- */
.spacer-6 { height: 6vh; }
/* Espaço branco entre o banner e os produtos (como no original: 50px de margem + 50px de espaçador) */
.spacer-hero { height: 60px; background: #fff; }
@media (max-width: 767px) { .spacer-hero { height: 28px; } }
.about { padding: 6vh 0; }
.about-row { display: flex; gap: 40px; align-items: center; }
.about-text { flex: 0 0 61%; }
.about-img { flex: 1; display: flex; justify-content: center; }
.about-img img { width: 100%; max-width: 387px; }
.section-title { font-family: var(--font-head); font-weight: 600; color: var(--black); font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; line-height: 1.3; }
.about-sub { font-family: var(--font-head); color: var(--heading); font-size: 1.2rem; font-weight: 600; margin: 27px 0 24px; }
.about-text ul { margin: 0; padding-left: 20px; }
.about-text li { margin-bottom: 12px; }
@media (max-width: 767px) {
  .about-row { flex-direction: column; align-items: stretch; }
  .about-text { flex-basis: auto; }
}

/* ---------- 4. Inspirações (Instagram) ---------- */
.insta { padding: 6vh 0 8vh; }
.insta .section-title { text-align: center; margin-bottom: 6vh; }
.insta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.insta-post { position: relative; display: block; padding: 10px; border: 1px solid var(--line); background: #fff; }
.insta-post .media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f3f3f3; }
.insta-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta-post .media::after { content: ""; position: absolute; inset: 0; background: #3E00E542; opacity: 0; transition: opacity .3s; }
.insta-post:hover .media::after, .insta-post:focus-visible .media::after { opacity: 1; }
.insta-post:hover img { transform: scale(1.05); }
.insta-post .video-icon { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; fill: #fff; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.insta-skeleton { aspect-ratio: 1 / 1; border: 1px solid var(--line); background: linear-gradient(90deg, #f1f1f1 0%, #fafafa 50%, #f1f1f1 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 767px) { .insta-grid { gap: 6px; } .insta-post { padding: 4px; } }
.insta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.insta-fallback { text-align: center; color: var(--muted); }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-body); font-size: 15px; font-weight: 500;
  padding: 8px 20px; border: 0; border-radius: 3px; background: var(--accent); color: #fff; cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--accent-dark); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Contactos ---------- */
.page-title { padding-top: 48px; padding-bottom: 8px; }
.page-title h1 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--black); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.map-wrap { margin: 24px 0 48px; aspect-ratio: 16 / 7; background: #f3f3f3; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 600px) { .map-wrap { aspect-ratio: 4 / 3; } }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding-bottom: 72px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-form label { display: block; font-weight: 500; margin: 0 0 6px; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; color: inherit; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 3px; background: #fff; margin-bottom: 18px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .btn { padding: 12px 32px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 500; }
.form-status.ok { color: #1d6b35; }
.form-status.err { color: #a32020; }
.contact-info h2 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--black); margin: 0 0 8px; }
.contact-info section { margin-bottom: 28px; }
.contact-info p { margin: 0 0 6px; }
.contact-info small { color: var(--muted); }
.contact-info a { text-decoration: none; color: var(--accent); }

/* ---------- Rodapé ---------- */
.site-footer { padding: 40px 0 20px; color: var(--black); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-col { text-align: center; }
.footer-col.links, .footer-col.logo-col, .footer-col.contact { width: 33.333%; }
.footer-col.logo-col { display: flex; justify-content: center; }
.footer-col.logo-col img { width: auto; height: 76px; }
.footer-col p { margin: 0 0 6px; }
.site-footer address { font-style: normal; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.social { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: opacity .2s, transform .2s; }
.social a:hover { color: #fff; opacity: .9; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social .fb { background: #3b5998; }
.social .ig { background: #262626; }
.social .pin { background: #bd081c; }
.footer-bottom { margin-top: 24px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 767px) {
  .footer-row { flex-wrap: wrap; justify-content: center; }
  .footer-col.links, .footer-col.logo-col, .footer-col.contact { width: 100%; }
  .footer-col.logo-col img { height: 56px; }
}

/* ---------- Seletor de idioma (canto inferior direito) ---------- */
.lang-switcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-family: var(--font-body); font-size: 15px; }
.lang-switcher .flag { width: 24px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-switcher button {
  display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 14px; font: inherit; font-weight: 600;
  background: #fff; color: var(--text); border: 2px solid var(--accent); border-radius: 999px; cursor: pointer;
  box-shadow: 0 6px 20px rgba(96, 91, 229, .25); transition: transform .2s, box-shadow .2s;
}
.lang-switcher button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(96, 91, 229, .35); }
.lang-switcher .chev { width: 12px; height: 12px; color: var(--accent); transition: transform .2s; }
.lang-switcher.open .chev { transform: rotate(180deg); }
.lang-switcher ul {
  position: absolute; right: 0; bottom: calc(100% + 10px); min-width: 100%; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.16);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-switcher.open ul { opacity: 1; visibility: visible; transform: none; }
.lang-switcher li a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; text-decoration: none; white-space: nowrap; font-weight: 500; }
.lang-switcher li a:hover { background: var(--accent); color: #fff; }
@media (max-width: 767px) {
  .lang-switcher { right: 14px; bottom: 14px; font-size: 14px; }
  .lang-switcher button { padding: 9px 14px 9px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .insta-skeleton { animation: none; }
}
