/* ============================================================
   Effectio Energy Services — corporate site
   Palette A "Corporate Classic"
   ============================================================ */
:root {
  --ef-blue: #366A9E;
  --ef-blue-dark: #2A5480;
  --ef-slate: #1F3346;
  --ef-green: #A2BF5B;
  --ef-green-dark: #8FAE45;
  --ef-wash: #EEF3F8;
  --ef-tint-blue: #C1D1E1;
  --ef-tint-green: #BFD38E;
  --ef-body: #2C3E50;
  /* Secondary text tones. Both clear WCAG AA (4.5:1) for normal text:
     --ef-muted-2 is checked against the wash background (the harder case,
     4.61:1) and so also passes on white at 5.65:1. */
  --ef-muted: #667686;
  --ef-muted-2: #5B7082;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ef-body);
  background: #fff;
}

h1, h2, h3, .display-font {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ef-slate);
}

h1 .accent, h2 .accent { color: var(--ef-blue); }

a { color: var(--ef-blue); }
a:hover { color: var(--ef-blue-dark); }

/* ---- Navbar ---- */
.navbar-effectio {
  background: #fff;
  border-bottom: 1px solid #E3EAF2;
}
.navbar-effectio .navbar-brand img { height: 44px; }
.navbar-effectio .nav-link {
  color: var(--ef-slate);
  font-weight: 500;
}
.navbar-effectio .nav-link:hover,
.navbar-effectio .nav-link.active { color: var(--ef-blue); }
.lang-switch {
  font-size: .85rem;
  color: var(--ef-muted) !important;
}

/* ---- Buttons ---- */
.btn-ef-green {
  background: var(--ef-green);
  border: 1px solid var(--ef-green);
  color: #24330E;
  font-weight: 600;
}
/* Keeps the dark ink on hover: white on --ef-green-dark is only 2.53:1, while
   #24330E holds 5.34:1. The background shift alone reads as the hover cue. */
.btn-ef-green:hover {
  background: var(--ef-green-dark);
  border-color: var(--ef-green-dark);
  color: #24330E;
}
/* Current-page cue for the nav CTA. Driven off aria-current rather than
   Bootstrap's .active: on a .btn, .active means "pressed toggle" and pulls
   --bs-btn-active-* variables this custom button never defines, which would
   blank out its colours. */
.btn-ef-green[aria-current="page"] {
  background: var(--ef-green-dark);
  border-color: var(--ef-green-dark);
  color: #24330E;
}
.btn-ef-outline {
  border: 1px solid var(--ef-blue);
  color: var(--ef-blue);
  font-weight: 600;
}
.btn-ef-outline:hover {
  background: var(--ef-blue);
  color: #fff;
}

/* ---- Hero ---- */
.hero {
  padding: 5rem 0 4.5rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.15;
}
.hero .lead { color: #51667B; max-width: 34rem; }

/* Tile mosaic motif (echoes the logo mark) */
.mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 340px;
  aspect-ratio: 1;
  margin-left: auto;
}
.mosaic span { border-radius: 4px; }
.mosaic .b  { background: var(--ef-blue); }
.mosaic .g  { background: var(--ef-green); }
.mosaic .lb { background: var(--ef-tint-blue); }
.mosaic .lg { background: var(--ef-tint-green); }
.mosaic .w  { background: #F4F7FA; }

/* ---- Sections ---- */
.section { padding: 4.5rem 0; }
.section-wash { background: var(--ef-wash); }
.section-title { margin-bottom: .5rem; }
.section-sub { color: var(--ef-muted-2); max-width: 44rem; margin-bottom: 2.5rem; }

/* ---- Cards ---- */
.card-ef {
  position: relative;          /* anchor for .stretched-link on linked cards */
  border: 1px solid #E3EAF2;
  border-radius: 10px;
  background: #fff;
  height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}
/* Cards that lead to a detail page get a visible affordance; the stretched
   link makes the whole card clickable while keeping one real link in the DOM. */
.card-ef .card-more {
  display: inline-block;
  margin-top: .9rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.card-ef:hover .card-more { color: var(--ef-blue-dark); }
.card-ef:hover {
  box-shadow: 0 8px 24px rgba(31, 51, 70, .10);
  transform: translateY(-2px);
}
.card-ef .card-body { padding: 1.6rem; }
.card-ef h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card-ef p { color: var(--ef-muted-2); font-size: .95rem; margin-bottom: 0; }

.icon-tile {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.icon-tile.blue  { background: var(--ef-tint-blue);  color: var(--ef-blue-dark); }
.icon-tile.green { background: var(--ef-tint-green); color: #4F6420; }

/* ---- Module rows (plataforma) ---- */
.module-row { padding: 2.2rem 0; border-bottom: 1px solid #E9EFF5; }
.module-row:last-child { border-bottom: 0; }
.module-row h3 { font-size: 1.3rem; }
.module-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ef-blue);
  background: var(--ef-wash);
  border-radius: 999px;
  padding: .25rem .7rem;
  margin-bottom: .6rem;
}

/* ---- Industry strip ---- */
.industry-pill {
  background: #fff;
  border: 1px solid #E3EAF2;
  border-radius: 999px;
  padding: .55rem 1.2rem;
  font-weight: 500;
  color: var(--ef-slate);
  white-space: nowrap;
}

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--ef-blue) 0%, var(--ef-blue-dark) 100%);
  border-radius: 14px;
  color: #fff;
  padding: 3rem;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #E3E9F6; }

/* ---- Footer ---- */
.footer {
  background: var(--ef-slate);
  color: #B9C7D4;
  padding: 3rem 0 2rem;
  font-size: .92rem;
}
.footer a { color: #D5E2EF; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .footer-title { color: #fff; font-weight: 600; margin-bottom: .8rem; }
.footer hr { border-color: #3A5068; }

/* ---- Contact ---- */
.contact-box {
  background: #fff;
  border: 1px solid #E3EAF2;
  border-radius: 12px;
  padding: 2rem;
}

/* ---- Platform detail pages ---- */
.breadcrumb-ef {
  font-size: .88rem;
  color: var(--ef-muted);
  margin-bottom: .9rem;
}
.breadcrumb-ef a { text-decoration: none; }
.breadcrumb-ef span { color: var(--ef-muted); padding: 0 .4rem; }

/* Screenshot frame. The platform UI is dark, so the figure carries its own
   dark surround rather than floating on the light page. */
.shot {
  margin: 1.6rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #14202C;
  border: 1px solid #D8E2EC;
  box-shadow: 0 6px 20px rgba(31, 51, 70, .12);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: .7rem 1.1rem;
  font-size: .84rem;
  color: #C7D5E3;
  background: #1F3346;
}

.criterion { padding: 2.6rem 0; border-bottom: 1px solid #E9EFF5; }
.criterion:last-child { border-bottom: 0; }
.criterion h3 { font-size: 1.35rem; margin-bottom: .8rem; }

.limit-list { list-style: none; padding-left: 0; margin-bottom: 1rem; }
.limit-list li { position: relative; padding: .3rem 0 .3rem 1.3rem; }
.limit-list li::before {
  content: "▸";
  position: absolute; left: 0;
  color: var(--ef-blue);
}

/* Compliance rule callout */
.rule {
  border-left: 3px solid var(--ef-green);
  background: var(--ef-wash);
  border-radius: 0 8px 8px 0;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  margin-top: 1.1rem;
}
.rule strong { color: var(--ef-slate); }
/* --ef-wash is also the .section-wash background, so the callout would read as a
   bare border there. Flip it to white to keep it a distinct block on both. */
.section-wash .rule { background: #fff; }

.spec-table { width: 100%; font-size: .93rem; }
.spec-table th {
  text-align: left;
  color: var(--ef-slate);
  border-bottom: 2px solid var(--ef-tint-blue);
  padding: .6rem .7rem;
}
.spec-table td {
  padding: .6rem .7rem;
  border-bottom: 1px solid #E9EFF5;
  color: var(--ef-muted-2);
}
.spec-table td:first-child { color: var(--ef-slate); font-weight: 500; }

/* ---- Misc ---- */
.text-ef-blue { color: var(--ef-blue) !important; }
.text-ef-green { color: var(--ef-green-dark) !important; }
img { max-width: 100%; }
