/* Minecorp International — folha de estilos (referência de design: 1920px)
   Fonte: Arial · Cores: #AEF9DA (menta) e #101C1C (escuro) */

:root {
  --mint: #aef9da;
  --ink: #101c1c;
  --paper: #f3fffb;
  --muted: #8fa9a1;
  --card: #0d2220;
  --container: 1160px;
  --shadow: 0 3px 8px rgba(0, 0, 0, .28);
  --black: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
}

@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  background: var(--paper);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--mint); padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
.sr-only, .contact-form label, .subscribe-form label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 3px solid #0a7a55; outline-offset: 3px; }
.contact :focus-visible, .site-footer :focus-visible, .mission :focus-visible, .values :focus-visible, .sector-bar :focus-visible { outline-color: var(--mint); }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; top: 25px; left: 0; right: 0; z-index: 50; height: 87px; background: var(--mint); box-shadow: var(--shadow); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 164px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 70px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 18px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--ink); }
/* Botão único de idioma, flutuante (canto inferior esquerdo): um clique alterna EN / PT */
.lang-switch {
  position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; padding: 4px; gap: 0; cursor: pointer;
  border-radius: 999px; background: var(--ink); border: 2px solid var(--mint); box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  font: 700 16px/1 Arial, Helvetica, sans-serif; letter-spacing: .03em; color: var(--mint);
}
.lang-switch span { min-width: 44px; padding: 13px 12px; border-radius: 999px; text-align: center; transition: background-color .2s, color .2s; }
.lang-switch[data-current="en"] span[data-l="en"], .lang-switch[data-current="pt"] span[data-l="pt"] { background: var(--mint); color: var(--ink); }
.lang-switch:hover { filter: brightness(1.15); }
.lang-switch:focus-visible { outline: 3px solid #0a7a55; outline-offset: 3px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* ---------- Tipografia comum ---------- */
h2.icon-title, h2, .icon-title { font-weight: 400; font-size: 72px; line-height: 1.1; }
[data-page="about"] .icon-title { font-size: 74px; }
.icon-title { display: flex; align-items: center; gap: 16px; }
.icon-title img { height: 64px; width: auto; flex: none; }
.upper { text-transform: uppercase; }
.pill {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0; border-radius: 999px;
  font-size: 18px; line-height: 1.2; padding: 9px 21px; text-align: center; transition: filter .15s;
}
.pill:hover { filter: brightness(1.12); }
.pill-dark { background: var(--ink); color: var(--mint); }
.pill-mint { background: var(--mint); color: var(--ink); text-transform: uppercase; padding: 10px 24px; }
.pill-ghost { background: rgba(16, 28, 28, .55); color: var(--mint); border: 1px solid var(--mint); text-transform: uppercase; font-size: 16px; padding: 7px 24px; }
.pill-lg { background: var(--mint); color: var(--ink); font-size: 26px; padding: 0; width: 216px; height: 76px; }
.pill-sm { background: var(--mint); color: var(--ink); font-weight: 700; padding: 10px 31px; }

/* ---------- Home: ecrã de abertura ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; cursor: pointer;
  background: radial-gradient(ellipse 58% 62% at 50% 50%, #4a9d8b 0%, #2c6659 30%, #1a3a35 58%, #101c1c 85%);
  animation: splash-out .8s ease 1.2s forwards;
}
.splash p {
  text-align: center; white-space: nowrap; font-family: "Poppins", Arial, sans-serif; font-weight: 600;
  font-size: clamp(18px, 3.04vw, 64px); line-height: 1.08; color: var(--mint);
  animation: splash-in .6s ease both;
}
.splash.gone { display: none; }
@keyframes splash-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

/* ---------- Home: hero ---------- */
.hero-home { position: relative; height: clamp(560px, 49.9vw, 960px); overflow: hidden; background: #2e8a52; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 69%; }
.hero-in { position: relative; height: 100%; }
.hero-left { position: absolute; left: 0; top: 13.4vw; width: 312px; }
.hero-left h1 { font-family: var(--black); font-size: 33px; line-height: 1.2; font-weight: 900; color: #000; }
.hero-left p { margin-top: 18px; color: #0b1a1a; }
.hero-right { position: absolute; left: 775px; top: 21.3vw; width: 381px; }
.hero-right h2 { font-family: var(--black); font-size: 16px; line-height: .95; font-weight: 900; text-transform: uppercase; color: #000; }
.hero-right p { margin-top: 20px; text-align: justify; color: #0b1a1a; }
.hero-right .pill { float: right; margin-top: 22px; }
.hero-right::after { content: ""; display: block; clear: both; }

/* ---------- Home: fundos com padrão ---------- */
.bg-about { background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), var(--paper) url("../img/bg-about.webp") center top / 100% auto no-repeat; }
.bg-sectors { background: var(--paper) url("../img/bg-sectors.webp") center top / 100% auto no-repeat; }
.bg-footprint { background: var(--paper) url("../img/bg-footprint.webp") center top / 100% auto no-repeat; }

.intro { padding: 170px 0 40px; }
.intro-in { display: grid; grid-template-columns: 422px 1fr; gap: 0; align-items: start; }
.intro-text h2 { font-size: 30px; line-height: 1.2; font-weight: 700; }
.intro-eyebrow { font-size: 30px; line-height: 1.2; margin: 22px 0 14px; }
.intro-text .pill { margin-top: 22px; }
.intro-img { justify-self: end; width: 580px; margin-top: 52px; }

.about { position: relative; padding: 128px 0 100px; }
.about .container > p { max-width: 748px; text-align: justify; margin-top: 22px; }
.about .container > p:first-of-type { margin-top: 28px; }
.about .pill { margin-top: 30px; }
.about-turbine { position: absolute; right: 0; bottom: 0; width: 21.7vw; max-width: 416px; }

/* faixas mentas com sombra */
.band { background: var(--mint); box-shadow: var(--shadow); position: relative; }
.partners { padding: 52px 0 49px; text-align: center; }
.partner-list { display: grid; grid-template-columns: repeat(4, 215px); justify-content: center; gap: 20px; margin-top: 26px; padding: 0 20px; }
.partner-list li { height: 130px; background: rgba(16, 28, 28, .08); border-radius: 8px; padding: 16px; }
.partner-list img { width: 100%; height: 100%; object-fit: contain; }

.sectors-home { padding-top: 120px; text-align: center; }
.sector-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; margin-top: 30px; }
.sector-thumbs a { display: block; text-decoration: none; }
.sector-thumbs span { display: block; margin-bottom: 14px; }
.sector-thumbs img { width: 100%; aspect-ratio: 640 / 440; object-fit: cover; }
.sectors-home .center { margin-top: 58px; }

.diff { padding-top: 70px; text-align: center; }
.diff-band { margin-top: 50px; padding: 58px 0 62px; text-align: left; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px 19px; }
.diff-grid h3 { font-family: var(--black); font-weight: 900; font-size: 16px; line-height: 1.3; text-transform: uppercase; text-align: justify; }
.diff-grid p { margin-top: 20px; text-align: justify; }

.footprint { padding: 53px 0 160px; text-align: center; }
.fp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 21px; text-align: left; }
.fp-card { display: flex; flex-direction: column; box-shadow: var(--shadow); }
.fp-top { height: 295px; background: var(--mint); display: grid; place-items: center; }
.fp-top span { font-size: 110px; line-height: 1; color: #8c8c8c; font-weight: 300; transform: translateY(-4px); }
.fp-bottom { flex: 1; background: var(--ink); color: var(--mint); padding: 28px 12px 14px; }
.fp-city { font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: #9bb3aa; }
.fp-bottom h3 { margin-top: 20px; font-family: var(--black); font-weight: 900; font-size: 17.5px; line-height: 1.1; }
.fp-bottom p:last-child { margin-top: 4px; font-size: 18px; line-height: .95; text-align: justify; }
.fp-map { width: 1120px; max-width: 100%; margin: 200px auto 0; }

/* ---------- Sobre nós ---------- */
.hero-vision { position: relative; height: clamp(590px, 53.8vw, 1050px); overflow: hidden; background: #0aa874; }
.hero-vision .container { position: relative; padding-top: 182px; }
.vision-text { width: 486px; }
.vision-text p { line-height: 1.4; margin-top: 30px; text-align: justify; color: #0b1a1a; }

.mission { position: relative; isolation: isolate; background: var(--ink); border-top: 10px solid var(--mint); min-height: 45.7vw; padding: 155px 0 100px; color: var(--mint); }
.mission::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background: url("../img/mission-target.webp") 0.1vw 0.6vw / 55vw auto no-repeat; }
.mission-text { margin-left: 580px; width: 484px; }
.mission-text p { line-height: 1.4; margin-top: 18px; text-align: justify; }
.mission-text h2 { margin-bottom: 26px; }

.values { background: var(--ink) url("../img/values-bg.webp") center top / cover no-repeat; border-top: 6px solid var(--mint); padding: 98px 0 255px; color: var(--mint); }
.center-title { justify-content: center; }
.value-grid { width: min(862px, 100% - 40px); margin: 100px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 19px; align-items: stretch; }
.value-card { background: var(--card); border-radius: 10px; padding: 32px 24px 32px; box-shadow: 0 4px 10px rgba(0, 0, 0, .45); }
.value-card h3 { font-size: 18px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.value-card p { margin-top: 24px; font-size: 17px; line-height: 1.27; text-align: justify; }

/* ---------- Setores ---------- */
.sector img.sector-img { width: 100%; height: auto; }
.sector-bar { background: var(--ink); color: var(--mint); padding: 46px 0; border-top: 2px solid rgba(174, 249, 218, .35); }
.sector-in { display: flex; align-items: center; gap: 30px; }
.sector-in h2 { flex: none; width: 270px; font-size: 45px; line-height: 1.05; }
.sector-in ul { list-style: disc; padding-left: 16px; flex: 1; max-width: 860px; text-align: justify; }
.sector-in li::marker { color: var(--mint); }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; background: var(--ink); color: var(--mint); }
.contact-media { position: relative; overflow: hidden; min-height: 300px; }
.contact-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-cta { position: absolute; left: 121px; right: 70px; bottom: 62px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.contact-cta h2 { font-size: 13px; line-height: 1.15; font-weight: 700; text-transform: uppercase; color: var(--mint); }
.contact-form-wrap { padding: 40px 20px 40px 62px; }
.contact-form { width: min(669px, 100%); }
.field input, .field textarea {
  display: block; width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(174, 249, 218, .55);
  border-radius: 0; color: var(--mint); font-size: 18px; padding: 22px 0 8px; outline-offset: 2px;
}
.field input { height: 60px; }
.field textarea { min-height: 119px; resize: vertical; padding-top: 22px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--mint); outline: none; }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 2px 0 0 var(--mint); }
.form-note { margin-top: 26px; font-size: 13px; line-height: 1.4; color: var(--muted); max-width: 520px; }
.form-note a { color: var(--mint); }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-status { font-size: 14px; min-height: 1.35em; }
.form-status.ok { color: var(--mint); }
.form-status.err { color: #ffb4a8; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: var(--mint); border-top: 6px solid var(--mint); padding: 100px 0 0; font-size: 18px; }
.footer-grid { display: grid; grid-template-columns: 273px 198px 406px 1fr; align-items: start; }
.footer-brand img { width: 156px; height: auto; }
.footer-brand p { margin-top: 46px; line-height: 1.35; }
.site-footer h2 { font-size: 24px; line-height: 1.2; font-weight: 700; margin-bottom: 30px; }
.site-footer h2.regular { font-weight: 400; font-size: 19px; margin-bottom: 0; }
.site-footer li { line-height: 30px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address p + p { margin-top: 12px; }
.site-footer address { line-height: 1.45; }
.sub-text { font-size: 18px; color: #9bb3aa; line-height: 1.2; max-width: 274px; margin-top: 30px; }
.subscribe-form { margin-top: 8px; max-width: 285px; text-align: right; }
.subscribe-form .field { text-align: left; }
.subscribe-form .field input { height: 44px; padding-top: 14px; font-size: 18px; }
.subscribe-form .pill { margin-top: 14px; }
.subscribe-form .form-status { text-align: left; margin-top: 10px; font-size: 13px; }
.copy { margin-top: 128px; padding-bottom: 38px; font-size: 18px; }
.copy a { text-decoration: none; }
.copy a:hover { text-decoration: underline; }
.copy .sep { margin: 0 8px; opacity: .6; }

/* ---------- Páginas legais e 404 ---------- */
.legal { padding: 190px 0 100px; }
.legal-in { max-width: 820px; }
.legal h1 { font-size: 56px; font-weight: 400; line-height: 1.1; margin-bottom: 24px; }
.legal h2 { font-size: 24px; font-weight: 700; margin: 30px 0 8px; }
.legal p { margin-top: 10px; }
.legal a { text-decoration: underline; }
.error-page { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 22px; text-align: center; padding: 40px 20px; background: var(--mint); }
.error-page h1 { font-size: 96px; font-weight: 400; line-height: 1; }

/* ---------- Ecrãs médios ---------- */
@media (max-width: 1000px) {
  .partner-list { grid-template-columns: repeat(2, minmax(0, 215px)); }
}

@media (max-width: 1200px) {
  h2, .icon-title { font-size: 56px; }
  .hero-right { left: auto; right: 0; }
  .contact-cta { left: 40px; right: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 30px; }
  .mission-text { margin-left: 50%; width: min(484px, 45%); }
  .sector-in h2 { font-size: 36px; width: 230px; }
}

/* ---------- Telemóvel / tablet ---------- */
@media (max-width: 860px) {
  h2, .icon-title { font-size: 40px; }
  .icon-title img { height: 44px; }
  .site-header { top: 0; height: 72px; }
  .nav-toggle { display: block; }
  .lang-switch { left: 12px; bottom: 12px; }
  .lang-switch span { min-width: 40px; padding: 11px 10px; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: var(--mint); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 16px; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(16, 28, 28, .15); }

  .partners { padding: 40px 0 40px; }
  .partner-list { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 20px; max-width: 460px; margin-inline: auto; }
  .partner-list li { height: 96px; padding: 12px; }
  .hero-home { height: auto; min-height: 0; }
  .hero-home .hero-img { height: 100%; }
  .hero-in { padding: 120px 0 56px; display: grid; gap: 40px; }
  .hero-left, .hero-right { position: static; width: auto; }
  .hero-right { background: rgba(174, 249, 218, .82); padding: 22px; border-radius: 14px; }
  .hero-right h2 { line-height: 1.15; }
  .hero-right p { text-align: left; }
  .hero-left h1 { font-size: 32px; }

  .intro { padding: 56px 0 20px; }
  .intro-in { grid-template-columns: 1fr; gap: 30px; }
  .intro-img { width: 100%; margin-top: 0; justify-self: stretch; }
  .about { padding: 56px 0 60px; }
  .about-turbine { position: static; width: 55%; margin: 24px 0 -60px auto; }

  .sectors-home { padding-top: 70px; }
  .sector-thumbs { grid-template-columns: 1fr; padding: 0 20px; }
  .diff-grid { grid-template-columns: 1fr; }
  .fp-cards { grid-template-columns: 1fr; }
  .fp-top { height: 180px; }
  .fp-map { margin-top: 60px; }
  .footprint { padding-bottom: 80px; }

  .hero-vision { height: auto; min-height: 0; }
  .legal { padding-top: 120px; }
  .hero-vision .container { padding: 130px 0 56px; }
  .hero-vision .hero-img { height: 100%; }
  .vision-text { width: auto; }
  .vision-text { background: rgba(174, 249, 218, .8); padding: 20px; border-radius: 14px; }
  .vision-text p { text-align: left; }
  .mission { padding: 70px 0; min-height: 0; }
  .mission::before { background-size: 140vw auto; background-position: -40vw center; }
  .mission-text { margin-left: 0; width: auto; }
  .values { padding: 70px 0 80px; }
  .value-grid { grid-template-columns: 1fr; margin-top: 50px; }

  .sector-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sector-in h2 { width: auto; font-size: 32px; }

  .contact { grid-template-columns: 1fr; }
  .contact-media { min-height: 380px; }
  .contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(16, 28, 28, .85) 0%, rgba(16, 28, 28, .35) 45%, transparent 70%); }
  .contact-cta { z-index: 1; left: 20px; right: 20px; bottom: 28px; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .contact-cta h2 { font-size: 16px; line-height: 1.25; }
  .contact-cta .pill-ghost { background: var(--mint); color: var(--ink); font-size: 18px; padding: 10px 28px; }
  .contact-form-wrap { padding: 30px 20px 50px; }

  .site-footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copy { margin-top: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .splash, .splash p { animation-duration: .01s; }
  .splash { animation-delay: 1.2s; }
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}

/* ---------- reCAPTCHA ---------- */
.captcha { margin-top: 22px; min-height: 78px; max-width: 100%; overflow: hidden; }
