@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

/*
  Medidas tiradas do site WordPress/Elementor original com o ecrã a 1905px de largura útil:
  contentor de 1320px, cartão do topo a 94% da largura, tipografia Poppins em px fixos.
*/
:root {
  --green: #0db04b;
  --green-dark: #0a8f3c;
  --lime: #87c540;
  --teal: #11b794;
  --mint: #e6ffee;
  --forest: #00300f;
  --grey: #606060;
  --ink: #000;
  --grad90: linear-gradient(90deg, #87c540 0%, #11b794 100%);
  --grad76: linear-gradient(76deg, #87c540 0%, #11b794 100%);
  --shadow: 0 0 10px rgba(0, 0, 0, .5);
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 19.8px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 16px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; text-decoration: none; border-radius: 10px; cursor: pointer; border: 0; }
.btn-primary { gap: 20px; height: 40px; padding: 10px 20px; background: var(--green); color: #fff; font-size: 18px; line-height: 19.8px; white-space: nowrap; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary svg { width: 18px; height: 18px; flex: none; }
.btn-lime { height: 40px; padding: 10px 20px; background: var(--lime); color: #fff; font-size: 18px; line-height: 19.8px; box-shadow: 0 0 30px rgba(0, 0, 0, .5); }
.btn-lime:hover { background: #76b02f; }

/* ---------- Cabeçalho (dentro do cartão branco) ---------- */
.hero-card { position: relative; width: 94%; margin: 40px auto 0; background: #fff; border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.site-header { position: relative; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 99px; padding: 20px 50px; }
.brand { display: inline-flex; line-height: 0; text-decoration: none; }
.brand-logo { width: 107px; height: 59px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { color: var(--grey); text-decoration: none; font-size: 18px; line-height: 19.8px; display: block; padding: 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #000; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid #e5e7ea; background: #fff; border-radius: 8px; cursor: pointer; padding: 0; place-items: center; }
.nav-toggle img { width: 22px; height: 22px; grid-area: 1 / 1; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Topo da Home ---------- */
.top { background: var(--mint); padding-bottom: 40px; display: flow-root; }
.hero-card { height: auto; }
.top .hero-card { height: 738px; }
.hero-glow { position: absolute; z-index: -1; left: 22.05%; top: 2px; width: 82.8%; height: 736px; max-width: none; object-fit: fill; pointer-events: none; }
.hero-img { position: absolute; z-index: 1; left: 55.28%; top: 168px; width: 39.75%; height: auto; max-width: none; }
.hero-copy { position: absolute; z-index: 2; left: 50px; top: 229px; width: 676px; }
.hero-copy h1 { font-size: 39px; line-height: 46.8px; font-weight: 700; color: var(--green); }
.hero-copy h2.sub { font-size: 25px; line-height: 27.5px; font-weight: 700; color: #000; margin: 21px 0 19px; }
.specs { color: #000; }
.hero-copy .specs { font-size: 19px; line-height: 19.8px; }
.hero-copy .specs li { margin-bottom: 7.2px; }
.specs strong { font-weight: 700; }

/* ---------- Introdução ---------- */
.intro { text-align: center; padding-top: 70px; }
.intro h2 { width: min(949px, 100% - 32px); margin: 0 auto; font-size: 40px; line-height: 48px; font-weight: 500; color: var(--green); }
.intro h2 .l2 { display: block; width: min(800px, 100%); margin: 0 auto; }
.intro-text { width: min(732px, 100% - 32px); margin: 20px auto 0; color: var(--grey); }
.intro-text strong { font-weight: 700; }
.intro h3 { margin-top: 30px; font-size: 25px; line-height: 30px; font-weight: 500; color: var(--grey); }
.intro .mission { width: min(626px, 100% - 32px); margin: 5px auto 0; color: var(--grey); }

/* ---------- Infraestrutura ---------- */
.infrastructure { background: var(--mint); padding-bottom: 4px; }
.infrastructure h2 { text-align: center; font-size: 90px; line-height: 99px; font-weight: 400; color: var(--green); margin-bottom: 20px; }
.slider { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform 1s ease; }
.slide { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1920 / 1287; object-fit: cover; }
.dots { position: absolute; left: 0; right: 0; bottom: 2px; height: 20px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--green); opacity: .35; cursor: pointer; }
.dot[aria-current="true"] { opacity: 1; }
.dot::after { content: ""; position: absolute; width: 24px; height: 24px; margin: -8px 0 0 -8px; }
.dot { position: relative; }

.strip { height: 30px; background: var(--grad90); }

/* ---------- Sobre ---------- */
.about { height: 380px; background: var(--grad90); }
.about-row { display: flex; align-items: flex-start; height: 100%; }
.about h2 { flex: 0 0 540px; margin-top: 126px; font-size: 90px; line-height: 99px; font-weight: 400; color: var(--forest); }
.about-text { flex: 0 0 780px; padding-top: 60px; max-width: 780px; display: flex; flex-direction: column; align-items: flex-end; font-size: 24px; line-height: 26px; color: var(--forest); }
.about-text p { align-self: stretch; }
.about-text p + p { margin-top: 20px; }
.about-text strong { font-weight: 700; }
.about-text .btn { margin-top: 40px; }

/* ---------- Capacidade ---------- */
.capacity { position: relative; height: 720px; background: var(--mint); overflow: hidden; }
.capacity .wrap { position: relative; z-index: 2; padding-top: 80px; }
.capacity-img { position: absolute; z-index: 1; right: 0; top: 30px; height: 691px; width: auto; max-width: none; }
.capacity-col { width: 528px; max-width: 100%; }
.capacity h2 { font-size: 84px; line-height: 84px; font-weight: 400; color: var(--forest); margin-bottom: 20px; }
.capacity .lead { font-size: 21px; line-height: 23.1px; margin-bottom: 20px; }
.capacity .specs { width: 425px; max-width: 100%; font-size: 18px; line-height: 20px; }
.capacity .specs li { margin-bottom: 3px; }
.products-title { font-size: 18px; line-height: 20px; font-weight: 400; margin: 26px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; width: 475px; max-width: 100%; }
.chips li { display: inline-flex; align-items: center; height: 38px; padding: 10px 20px; border-radius: 10px; background: var(--green); color: #ebfff8; font-size: 18px; line-height: 18px; box-shadow: var(--shadow); }

.photo img { width: 100%; height: auto; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--grad76); padding: 80px 0 61px; color: #000; }
.footer-grid { display: grid; grid-template-columns: 367px 235px 400px 318px; align-items: start; }
.footer-logo { width: 292px; height: 162px; max-width: 100%; }
.site-footer h2 { font-size: 24px; line-height: 26.4px; font-weight: 700; margin-bottom: 20px; }
.footer-links { width: 159px; }
.footer-links li { margin-bottom: 5px; }
.footer-links a { display: block; text-decoration: none; line-height: 20px; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact address { width: 340px; max-width: 100%; font-style: normal; line-height: 23.4px; }
.footer-contact address p + p { margin-top: 20px; }
.footer-contact a { text-decoration: none; }
.newsletter h2 { font-size: 23px; line-height: 29.9px; font-weight: 400; margin-bottom: 20px; }
.newsletter p { color: #fff; font-size: 16px; line-height: 19.8px; }
.newsletter form { margin-top: 20px; }
.newsletter input[type="email"] { display: block; width: 100%; height: 40px; font: inherit; font-size: 15px; line-height: 21px; color: #000; background: transparent; border: 0; border-bottom: 1px solid #fff; padding: 8px 16px; border-radius: 0; }
.newsletter input[type="email"]::placeholder { color: rgba(0, 0, 0, .6); }
.newsletter input[type="email"]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.newsletter .actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 11px; }
.recaptcha-note { flex: 1; font-size: 10px !important; line-height: 12px !important; color: #000; }
.recaptcha-note a { text-decoration: underline; }
.grecaptcha-badge { visibility: hidden; }
.newsletter button { width: 117px; height: 40px; background: #fff; color: var(--green); border: 0; border-radius: 10px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.newsletter button:hover { background: #effbf2; }
.newsletter button[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 0; font-size: 13px; line-height: 1.3; color: #fff; margin: 0; }
.form-status:not(:empty) { margin-top: 8px; }
.form-status.is-error { color: #7a0000; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.copyright { text-align: center; margin-top: 66px; }

/* ---------- Seletor de idioma ---------- */
.lang-switch { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .2); }
.lang-switch button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; line-height: 18px; font-weight: 500; color: #555a60; background: transparent; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { color: #111; background: #eef1f3; }
.lang-switch svg { width: 20px; height: 14px; border-radius: 2px; }

/* ---------- Sobre nós (página) ---------- */
.page-top { background: var(--mint); padding-bottom: 40px; display: flow-root; }
.role-card { overflow: hidden; }
.role { position: relative; min-height: 528px; }
.role-copy { position: relative; z-index: 2; width: 846px; max-width: 100%; padding: 70px 0 30px 50px; }
.role-copy h1 { font-size: 71px; line-height: 64px; font-weight: 500; color: var(--green); margin-bottom: 36px; }
.role-copy p { font-size: 18px; line-height: 19.8px; color: #555a60; text-align: justify; }
.role-copy p + p { margin-top: 20px; }
.role-copy strong { font-weight: 700; color: #3a3d41; }
.role-copy .ln { display: block; }
.role-img { position: absolute; z-index: 1; right: 0; bottom: -4px; width: 821px; height: auto; max-width: none; }
.values-card { width: 94%; margin: 82px auto 0; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 30px 50px 62px; }
.values-card h2 { font-size: 71px; line-height: 78px; font-weight: 500; color: var(--green); margin-bottom: 14px; }
.values-card ul { font-size: 18px; line-height: 25px; color: #555a60; }
.values-card strong { font-weight: 700; color: #3a3d41; }
.band { background: #6debaa; min-height: 190px; display: grid; place-items: center; padding: 16px; margin-top: 0; box-shadow: 0 0 6px rgba(0, 0, 0, .35); }
.band h2 { max-width: 960px; text-align: center; font-size: 40px; line-height: 42px; font-weight: 700; color: #111; }

/* ---------- Página de erro ---------- */
.error-page { text-align: center; padding: 96px 24px; width: min(900px, 100%); margin: 0 auto; }
.error-page h1 { color: var(--green); font-size: clamp(64px, 10vw, 120px); font-weight: 700; line-height: 1; }
.error-page p { margin: 16px 0 28px; }
.error-page .btn-primary { display: inline-flex; }


/* ---------- Política de privacidade ---------- */
.legal-card { height: auto; }
.legal { padding: 30px 50px 60px; max-width: 1000px; }
.legal h1 { font-size: 56px; line-height: 62px; font-weight: 500; color: var(--green); margin-bottom: 10px; }
.legal h2 { font-size: 26px; line-height: 32px; font-weight: 500; color: var(--forest); margin: 34px 0 10px; }
.legal p, .legal li { font-size: 18px; line-height: 26px; color: #333; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 24px; }
.legal li + li { margin-top: 8px; }
@media (max-width: 768px) { .legal { padding: 20px 20px 40px; } .legal h1 { font-size: 38px; line-height: 44px; } .legal h2 { font-size: 22px; } .legal p, .legal li { font-size: 16px; line-height: 24px; } }

/* ---------- Ecrãs médios ---------- */
@media (max-width: 1400px) {
  .nav-links { gap: 28px; }
  .hero-copy { width: 50%; }
  .hero-copy h1 { font-size: 32px; line-height: 39px; }
  .infrastructure h2, .about h2 { font-size: 64px; line-height: 72px; }
  .about h2 { flex-basis: 380px; }
  .about-text { flex-basis: auto; flex: 1; font-size: 20px; line-height: 24px; }
  .capacity h2 { font-size: 64px; line-height: 66px; }
  .capacity-img { height: 560px; }
  .footer-grid { grid-template-columns: 1.2fr .9fr 1.3fr 1fr; gap: 24px; }
  .role-copy { width: 54%; padding-right: 20px; }
  .role-copy h1 { font-size: 56px; line-height: 54px; }
  .role-img { width: 46%; }
}

/* ---------- Tablet e telemóvel ---------- */
@media (max-width: 1200px) {
  .hero-card { width: calc(100% - 32px); margin-top: 16px; }
  .nav { flex-wrap: wrap; height: auto; padding: 14px 18px; }
  .js .nav-toggle { display: grid; }
  .nav-menu { flex-basis: 100%; }
  .js .nav-menu { display: none; }
  .js .nav-menu.is-open { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .nav-links a { padding: 12px 4px; border-top: 1px solid #e5e7ea; }
  .nav .nav-cta-wrap { flex-basis: 100%; }
  .nav-cta { width: 100%; }
  .js .nav .nav-cta-wrap { display: none; }
  .js .nav .nav-cta-wrap.is-open { display: block; }


  .intro { padding-top: 40px; }
  .intro h2 { font-size: 26px; line-height: 32px; }
  .intro h3 { font-size: 20px; }
  .intro-text, .intro .mission { font-size: 16px; line-height: 22px; }

  .infrastructure h2 { font-size: 40px; line-height: 48px; }
  .about { height: auto; padding: 48px 0; }
  .about-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .about h2 { margin-top: 0; }
  .about-text { padding-top: 0; }
  .about h2 { flex: none; font-size: 44px; line-height: 50px; }
  .about-text { flex: none; width: 100%; font-size: 18px; line-height: 24px; align-items: flex-start; }
  .about-text .btn { margin-top: 24px; }
  .capacity { height: auto; padding-bottom: 0; }
  .capacity .wrap { padding-top: 40px; }
  .capacity-col { width: 100%; }
  .capacity h2 { font-size: 44px; line-height: 48px; }
  .capacity .lead { font-size: 18px; line-height: 24px; }
  .chips { width: 100%; }
  .capacity-img { position: relative; right: auto; top: auto; height: auto; width: min(100%, 520px); margin: 24px auto 0; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-links, .footer-contact address { width: auto; }
  .site-footer { padding: 48px 0 40px; }
  .copyright { margin-top: 36px; font-size: 15px; }

  .values-card { width: calc(100% - 32px); margin-top: 24px; padding: 24px 20px 32px; }
  .values-card h2 { font-size: 40px; line-height: 46px; }
  .band h2 { font-size: 24px; line-height: 30px; }

  /* Tablet: texto à esquerda e imagem ao lado (sem empilhar) */
  .js .nav-menu.is-open, .js .nav .nav-cta-wrap.is-open { background: #fff; }
  /* Home: imagem por baixo do texto (até 1200px) */
  .top .hero-card { height: auto; display: flex; flex-direction: column; }
  .hero-glow { left: -10%; width: 120%; top: auto; bottom: 0; height: 60%; }
  .hero-img { position: relative; left: auto; top: auto; bottom: auto; width: min(100%, 520px); margin: 0 auto; order: 2; }
  .hero-copy { position: relative; left: auto; top: auto; width: auto; padding: 28px 20px 0; order: 1; }
  .hero-copy h1 { font-size: 30px; line-height: 36px; }
  .hero-copy h2.sub { font-size: 21px; line-height: 24px; margin: 16px 0 14px; }
  .hero-copy .specs { font-size: 16px; line-height: 18px; }
  .role { min-height: clamp(400px, 52vw, 520px); }
  .role-copy { width: 56%; padding: 28px 8px 28px 24px; }
  .role-copy h1 { font-size: 42px; line-height: 44px; margin-bottom: 20px; }
  .role-copy p { font-size: 16px; line-height: 19px; text-align: left; }
  .role-img { width: 46%; }
}

/* ---------- Telemóvel: imagem por baixo do texto ---------- */
@media (max-width: 768px) {
  .top .hero-card { height: auto; display: flex; flex-direction: column; }
  .hero-glow { left: -10%; width: 120%; top: auto; bottom: 0; height: 60%; }
  .hero-img { position: relative; left: auto; top: auto; bottom: auto; width: min(100%, 520px); margin: 0 auto; order: 2; }
  .hero-copy { position: relative; left: auto; top: auto; width: auto; padding: 28px 20px 0; order: 1; }
  .hero-copy h1 { font-size: 30px; line-height: 36px; }
  .hero-copy .specs { font-size: 16px; }
  .role { min-height: 0; display: flex; flex-direction: column; }
  .role-copy { width: auto; padding: 28px 20px 0; }
  .role-copy h1 { font-size: 38px; line-height: 42px; margin-bottom: 20px; }
  .role-img { position: relative; bottom: auto; width: min(100%, 460px); margin: 16px auto 0; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .infrastructure h2 { font-size: 32px; line-height: 40px; }
  .btn-primary { font-size: 16px; }
}
