/* ============================================================
   E.E.S SOLUÇÕES — stylesheet
   Design tokens: navy + gold, condensed industrial headings,
   restrained colour use, generous whitespace.
   ============================================================ */

@font-face {
  font-family: 'Archivo Black';
  src: url('../assets/fonts/ArchivoBlack-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Oswald';
  src: url('../assets/fonts/Oswald-Variable.woff2') format('woff2-variations'), url('../assets/fonts/Oswald-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-Variable.woff2') format('woff2-variations'), url('../assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour */
  --navy: #18375B;
  --navy-deep: #0E2036;
  --navy-mid: #1F4470;
  --gold: #FDB918;
  --gold-deep: #E0A200;
  --cream: #F7F5F1;
  --white: #FFFFFF;
  --ink: #1C2733;
  --ink-soft: #4A5561;
  --gray-500: #7A8592;
  --gray-100: #F3F5F7;
  --border: #E4E8ED;

  /* Type */
  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-w: 1220px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(14, 32, 54, 0.08);
  --shadow-md: 0 12px 32px rgba(14, 32, 54, 0.12);
  --transition: 220ms cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: 0.2px;
}
.section-title.on-dark { color: var(--white); }
.section-lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
}
.section-lede.on-dark { color: rgba(255,255,255,0.78); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 3px;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  padding: 12px 0;
  box-shadow: 0 2px 18px rgba(14,32,54,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; transition: opacity var(--transition); }
.logo-color { display: none; }
.logo-white { display: block; }
.site-header.is-scrolled .logo-color { display: block; }
.site-header.is-scrolled .logo-white { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.site-header.is-scrolled .nav-links a { color: var(--navy); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.site-header.is-scrolled .header-phone { color: var(--navy); }
.header-phone svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.site-header.is-scrolled .nav-toggle { color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 90px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    linear-gradient(100deg, rgba(14,32,54,0.94) 10%, rgba(14,32,54,0.82) 40%, rgba(14,32,54,0.55) 75%, rgba(14,32,54,0.4) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.08;
  letter-spacing: 0.2px;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--gold); }
.hero-lede {
  font-size: 18px;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item svg { color: var(--gold); flex-shrink: 0; }

.hero-edge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 62% 100%, 38% 10%, 0 60%);
  z-index: 2;
}

/* ---------- About ---------- */
.about {
  padding: 120px 0 100px;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}
.about-copy p + p { margin-top: 18px; }
.about-copy p { color: var(--ink-soft); font-size: 16.5px; }
.about-media { position: relative; }
.about-media .frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-media img { width: 100%; height: 480px; object-fit: cover; }
.about-media .frame-accent {
  position: absolute;
  width: 130px; height: 130px;
  border: 6px solid var(--gold);
  bottom: -22px; left: -22px;
  z-index: -1;
  border-radius: var(--radius);
}

/* ---------- Mission / Vision ---------- */
.mv {
  padding: 100px 0;
  background: var(--navy);
  background-image: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}
.mv .section-head { max-width: 640px; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.mv-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.mv-card .icon-badge { margin-bottom: 22px; }
.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--white);
}
.mv-card p { color: rgba(255,255,255,0.78); font-size: 15.5px; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(253,185,24,0.12);
  color: var(--gold);
}

/* ---------- Values ---------- */
.values { padding: 120px 0 110px; background: var(--white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.value-card {
  background: var(--white);
  padding: 40px 34px;
  transition: background var(--transition);
}
.value-card:hover { background: var(--cream); }
.value-card .icon-badge {
  background: rgba(24,55,91,0.06);
  color: var(--navy);
  margin-bottom: 20px;
}
.value-card:hover .icon-badge { background: var(--gold); color: var(--navy-deep); }
.value-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Services ---------- */
.services {
  padding: 120px 0 110px;
  background: var(--gray-100);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 32px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-card .icon-badge {
  background: var(--navy);
  color: var(--gold);
  border-radius: 8px;
  margin-bottom: 22px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--gold);
}

/* ---------- Photo band ---------- */
.photo-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.photo-band-overlay {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(100deg, rgba(14,32,54,0.92) 20%, rgba(14,32,54,0.55) 60%, rgba(14,32,54,0.3) 100%);
}
.photo-band-content {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
}
.photo-band-text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--white);
  max-width: 520px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- Advantage ---------- */
.advantage {
  padding: 120px 0;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.advantage-list { display: flex; flex-direction: column; gap: 30px; }
.advantage-item { display: flex; gap: 20px; }
.advantage-item .num {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  width: 44px;
}
.advantage-item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.advantage-item p { color: rgba(255,255,255,0.72); font-size: 15px; }
.advantage-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.advantage-media img { width: 100%; height: 460px; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { padding: 120px 0 110px; background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-card .icon-badge { background: rgba(24,55,91,0.06); color: var(--navy); flex-shrink: 0; }
.contact-card h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}
.contact-card p, .contact-card a { font-size: 16px; color: var(--navy); font-weight: 500; }
.contact-card a:hover { color: var(--gold-deep); }
.contact-whatsapp {
  margin-top: 6px;
  align-self: flex-start;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gold);
  padding: 56px 0;
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--navy-deep);
  max-width: 560px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 76px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 320px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .advantage-grid, .contact-grid { grid-template-columns: 1fr; }
  .advantage-media, .about-media { order: -1; }
  .about-media img, .advantage-media img { height: 340px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .mv-grid { gap: 20px; }
}

@media (max-width: 760px) {
  .nav-links, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-trust { flex-direction: column; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .about-media .frame-accent { display: none; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--navy-deep);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform 320ms ease;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.mobile-nav-close { color: var(--white); width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav .header-phone { color: var(--gold); margin-top: 24px; font-size: 18px; }
