/* =========================================================
   Certiflow — design layer (2026-11)
   Ink navy + certificate green, Archivo (wide, heavy headings
   echoing the logo), left-aligned, one memorable element:
   the "path to certification" in the home hero.
   ========================================================= */
:root {
  --ink: #10243a;
  --ink-2: #1c3653;
  --green: #18794e;
  --green-dark: #11603d;
  --green-soft: #e6f2ec;
  --mist: #eef2f5;
  --line: #d6dee5;
  --text: #33414e;
  --muted: #5d6b78;
  --paper: #ffffff;
  --wrap: 1140px;
  --radius: 6px;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  font-family: "Archivo", Arial, sans-serif;
  font-variation-settings: "wdth" 100;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  background: var(--paper);
}

h1, h2, h3, h4, h5, .cf-h1, .cf-h2 {
  font-family: "Archivo", Arial, sans-serif;
  font-stretch: 112%;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}
h2 { text-align: left; font-weight: 800; font-size: 30px; line-height: 1.2; }
h3 { letter-spacing: -0.005em; font-weight: 700; font-size: 20px; line-height: 1.3; }
h5 { letter-spacing: 0; font-weight: 700; font-size: 15px; }

a { color: var(--green); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.cf-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- Navigation ---------- */
.navigation { background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: none; }
.navigation-wrap { max-width: var(--wrap); margin: 0 auto; padding: 14px 28px; }
.logo-image { width: 150px; }
.navigation-item {
  font-family: "Archivo", Arial, sans-serif;
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 500;
  color: var(--ink); opacity: 1; padding: 10px 14px;
}
.navigation-item:first-letter { text-transform: uppercase; }
.navigation-item:hover { color: var(--green); }
.navigation-item.w--current { color: var(--green); font-weight: 700; }
.navigation-item.w--current:hover { color: var(--green-dark); }

/* ---------- Buttons ---------- */
.primary-button, .cf-btn {
  display: inline-block; background: var(--green); color: #fff;
  font-family: "Archivo", Arial, sans-serif; font-weight: 700; font-size: 15px;
  letter-spacing: 0; text-transform: none; text-decoration: none;
  padding: 13px 22px; border-radius: var(--radius); border: 2px solid var(--green);
  transition: background-color .15s ease, border-color .15s ease;
}
.primary-button:hover, .cf-btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.primary-button div:first-letter { text-transform: uppercase; }
.primary-button.cc-contact-us { padding: 10px 18px; }
.cf-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.cf-btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Home hero ---------- */
.cf-hero {
  background:
    linear-gradient(100deg, rgba(16,36,58,.97) 0%, rgba(16,36,58,.92) 55%, rgba(16,36,58,.80) 100%),
    url("../images/minhovida.jpg") center / cover no-repeat;
  color: #fff; padding: 88px 0 96px;
}
.cf-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.cf-h1 {
  color: #fff; font-size: 54px; line-height: 1.04; font-weight: 800; font-stretch: 118%;
  letter-spacing: -0.02em; margin: 0 0 22px; max-width: 13ch;
}
.cf-lead { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 54ch; margin: 0 0 32px; }
.cf-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* the memorable element: path to certification */
.cf-path { list-style: none; margin: 0; padding: 28px 28px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; counter-reset: step; }
.cf-path-title { font-weight: 700; font-size: 14px; color: rgba(255,255,255,.7); margin: 0 0 18px; }
.cf-path li { position: relative; padding: 0 0 22px 48px; counter-increment: step; }
.cf-path li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.55); color: #fff;
  font-weight: 700; font-size: 14px; line-height: 26px; text-align: center; background: var(--ink);
}
.cf-path li::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: rgba(255,255,255,.22); }
.cf-path li:last-child { padding-bottom: 4px; }
.cf-path li:last-child::after { display: none; }
.cf-path li strong { display: block; color: #fff; font-size: 17px; font-stretch: 112%; margin-bottom: 2px; }
.cf-path li span { display: block; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.45; }
.cf-path li.is-final::before { content: "✓"; background: var(--green); border-color: var(--green); font-size: 16px; }
.cf-path li.is-final strong { color: #8fe0b6; }

/* standards row */
.cf-standards { border-bottom: 1px solid var(--line); background: var(--paper); }
.cf-standards .cf-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.cf-standards p { margin: 0; color: var(--muted); font-size: 15px; }
.cf-standards ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cf-standards a {
  display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; font-stretch: 108%;
}
.cf-standards a:hover { border-color: var(--green); color: var(--green); }

/* sections */
.cf-section { padding: 88px 0; }
.cf-band { background: var(--mist); }
.cf-h2 { font-size: 34px; line-height: 1.15; font-weight: 800; margin: 0 0 14px; }
.cf-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.cf-split-head p { color: var(--muted); margin: 0 0 18px; max-width: 36ch; }
.cf-split-head { position: sticky; top: 100px; }
.cf-link { font-weight: 700; color: var(--green); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.cf-link:hover { color: var(--green-dark); }

.cf-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.cf-area { padding: 26px 0 28px; border-top: 1px solid var(--line); }
.cf-area h3 { font-size: 21px; margin: 0 0 8px; }
.cf-area h3 a { color: var(--ink); text-decoration: none; }
.cf-area h3 a:hover { color: var(--green); }
.cf-area p { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }

.cf-why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.cf-why div { border-top: 3px solid var(--green); padding-top: 18px; }
.cf-why h3 { font-size: 18px; margin: 0 0 8px; }
.cf-why p { margin: 0; font-size: 15.5px; color: var(--text); }

.cf-local p { max-width: 62ch; }
.cf-local a { color: var(--green); }

/* CTA band (all pages) */
.cf-cta { background: var(--ink); color: #fff; padding: 72px 0; }
.cf-cta .cf-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.cf-cta h2 { color: #fff; font-size: 32px; margin: 0 0 10px; }
.cf-cta p { color: rgba(255,255,255,.8); margin: 0; max-width: 52ch; }
.cf-cta .cf-actions { justify-content: flex-end; }
.cf-cta .cf-tel { color: #fff; font-weight: 700; text-decoration: none; font-size: 18px; margin-left: 8px; }
.cf-cta .cf-tel small { display: block; font-weight: 400; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- FAQ ---------- */
.faq-section { max-width: none; margin: 0; text-align: left; }
.faq-heading { text-align: left; font-size: 26px; font-weight: 800; margin: 0 0 8px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary { font-size: 17px; font-weight: 700; color: var(--ink); font-stretch: 106%; padding-right: 36px; }
.faq-item summary::after { color: var(--green); font-weight: 400; font-size: 26px; top: -3px; }
.faq-item p { color: var(--text); max-width: 68ch; }

/* ---------- Inner page banners ---------- */
.section-3, .section-4, .section-5, .section-6, .heading-33 {
  box-shadow: inset 0 0 0 2000px rgba(16, 36, 58, .84);
}
.section-3 { background-size: cover; }
.section-4, .section-5, .section-6 { padding: 72px 0 64px; }
.section-3 > .heading-33, .section-3 > .heading-34 { padding: 72px 28px 64px; }
.heading-33, .heading-34, .heading-35 {
  color: #fff; text-align: left; font-size: 44px; line-height: 1.08; font-weight: 800; font-stretch: 116%;
  max-width: var(--wrap); margin: 0 auto; padding-left: 28px; padding-right: 28px; letter-spacing: -0.02em;
}
.heading-33 { padding-top: 72px; padding-bottom: 64px; }
.section-4 > .heading-34 { padding: 0 28px; }

.cf-crumbs { background: var(--mist); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.cf-crumbs .cf-wrap { padding-top: 12px; padding-bottom: 12px; }
.cf-crumbs a { color: var(--muted); text-decoration: none; }
.cf-crumbs a:hover { color: var(--green); text-decoration: underline; }
.cf-crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.cf-crumbs .sep { margin: 0 8px; color: #9aa7b3; }

/* ---------- Inner page content ---------- */
.w-layout-blockcontainer.w-container { max-width: 820px; padding-left: 28px; padding-right: 28px; box-sizing: content-box; }
.heading-36, .heading-47, .heading-48 {
  text-align: left; color: var(--ink); font-size: 26px; line-height: 1.25; font-weight: 800;
  font-stretch: 110%; margin: 48px 0 18px;
}
.heading-36 br, .heading-47 br, .heading-48 br { display: none; }
.w-richtext p, .paragraph-3, .paragraph-4 { font-size: 17px; line-height: 1.65; color: var(--text); text-align: left; }
.w-richtext h3, .w-richtext h4, .as-h4 { color: var(--ink); font-stretch: 110%; }
.w-richtext h3.as-h4, .w-richtext h4 { font-size: 20px; line-height: 1.3; margin: 36px 0 12px; }
.w-richtext figure img { border-radius: var(--radius); }
.w-richtext ul { padding-left: 0; list-style: none; margin: 0 0 18px; }
.w-richtext ul li { position: relative; padding: 6px 0 6px 30px; line-height: 1.55; }
.w-richtext ul li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg);
}
.w-richtext ul.cf-steps { counter-reset: s; }
.w-richtext ul.cf-steps li { counter-increment: s; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
.w-richtext ul.cf-steps li:last-child { border-bottom: 0; }
.w-richtext ul.cf-steps li::before {
  content: counter(s); transform: none; border: 0; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark); font-weight: 700; font-size: 14px; line-height: 28px; text-align: center;
}
.section-8, section.section-8 { padding-bottom: 24px; }
.w-layout-blockcontainer .primary-button { margin-top: 18px; }

.seo-extra { max-width: 820px; padding: 24px 28px 64px; box-sizing: content-box; }
.seo-extra .faq-section { margin-top: 24px; }
.related-services { margin: 40px 0 0; max-width: none; background: var(--mist); border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; }
.related-services h3 { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.related-services ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.related-services a { color: var(--green); font-weight: 600; }

/* ---------- Services grid (Certificações) ---------- */
.projects-grid-2 { grid-column-gap: 32px; grid-row-gap: 40px; margin-bottom: 40px; }
.project-cover-link { border-radius: var(--radius); overflow: hidden; display: block; margin-bottom: 0; }
.project-cover-pic-3 { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .25s ease; }
.project-cover-link:hover .project-cover-pic-3 { transform: scale(1.03); }
.project-name-wrap { text-align: left; padding: 16px 0 0; }
.project-name-link-3 { color: var(--ink); font-size: 20px; line-height: 1.25; font-weight: 800; font-stretch: 110%; text-decoration: none; letter-spacing: -0.005em; text-transform: none; }
.project-name-link-3:hover { color: var(--green); }
.paragraph-light-3 { color: var(--text); font-size: 15.5px; line-height: 1.55; margin-top: 8px; opacity: 1; }
.container-6 { text-align: left; }

/* ---------- Footer ---------- */
footer.footer { background: #0c1c2e; color: rgba(255,255,255,.75); padding: 64px 0 40px; border-top: 0; }
footer.footer .w-container { max-width: var(--wrap); padding: 0 28px; }
footer.footer h5 { color: #fff; font-size: 15px; letter-spacing: 0; text-transform: none; font-weight: 700; margin-bottom: 16px; }
footer.footer h5:first-letter { text-transform: uppercase; }
footer.footer p { color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.6; }
footer.footer .footer-link { color: rgba(255,255,255,.78); border-bottom: 0; padding: 4px 0; font-size: 14.5px; text-decoration: none; }
footer.footer .footer-link:hover { color: #fff; text-decoration: underline; }
footer.footer .info-icon { filter: invert(1); opacity: .75; }
footer.footer sup { color: rgba(255,255,255,.5); }
.footer-address { color: rgba(255,255,255,.7); }
.footer.center { background: #08131f; padding: 22px 0; }
.footer.center .footer-text { color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer.center .image-3 { width: 120px; opacity: .85; }

/* ---------- Contact page ---------- */
.heading { text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cf-hero-grid, .cf-split, .cf-cta .cf-wrap { grid-template-columns: 1fr; gap: 40px; }
  .cf-split-head { position: static; }
  .cf-why { grid-template-columns: 1fr 1fr; }
  .cf-cta .cf-actions { justify-content: flex-start; }
  .cf-h1 { font-size: 44px; }
  .navigation-wrap { padding: 10px 20px; }
}
@media (max-width: 767px) {
  .cf-hero { padding: 56px 0 64px; }
  .cf-h1 { font-size: 36px; max-width: none; }
  .cf-lead { font-size: 17px; }
  .cf-section { padding: 60px 0; }
  .cf-areas, .cf-why { grid-template-columns: 1fr; }
  .cf-h2 { font-size: 28px; }
  .heading-33, .heading-34, .heading-35 { font-size: 32px; }
  .cf-wrap { padding: 0 20px; }
  .primary-button.cc-contact-us { display: none; }
}

/* page specifics */
.cf-page-sistemas-de-gestao .w-layout-blockcontainer.w-container,
.cf-page-sistemas-de-gestao .container-6 { max-width: var(--wrap); }
.cf-contact .cf-area h3 { font-size: 15px; color: var(--muted); font-weight: 600; font-stretch: 100%; margin-bottom: 6px; }
.cf-contact .cf-area p { font-size: 18px; color: var(--ink); }
.cf-contact .cf-area a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cf-contact .cf-area a:hover { color: var(--green); }
.cf-contact small { color: var(--muted); font-size: 13px; }
.cf-contact .cf-wide { grid-column: 1 / -1; }
.cf-contact .cf-wide p { font-size: 16px; color: var(--text); }
.utility-page-wrap { font-family: "Archivo", Arial, sans-serif; }

/* fixes after review */
.navigation { position: sticky !important; top: 0; z-index: 1000; border-bottom: 1px solid var(--line); padding: 0; }
.navigation-wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }
p { font-size: 16px; font-weight: 400; line-height: 1.65; }
.rich-text-block-9 { line-height: 1.6; padding-left: 0; padding-right: 0; color: var(--text); }
.section-8, .section-9 { padding-left: 0; padding-right: 0; }
.cf-split-head p, .cf-cta p, .cf-local p { font-size: 16.5px; }
.cf-why p { font-size: 15.5px; }
footer.footer .info-icon { filter: none; opacity: .8; }
.related-services a { text-decoration: none; border-bottom: 1px solid currentColor; }
.project-name-wrap { align-items: flex-start; justify-content: flex-start; margin-bottom: 0; }
.project-name-link-3 { line-height: 1.25; margin-bottom: 0; align-self: stretch; }
.projects-grid-2 { grid-template-rows: auto; grid-auto-rows: auto; }
.cf-page-sistemas-de-gestao .container-6 { display: none; }
.cf-page-sistemas-de-gestao .heading-36 { margin-top: 56px; margin-bottom: 28px; }
@media (max-width: 767px) { .projects-grid-2 { grid-template-columns: 1fr; } }
.w-richtext li, .rich-text-block-9 li { font-size: 16px; color: var(--text); }

/* ---------- Academy (formacao.html) ---------- */
.cf-page-formacao .w-layout-blockcontainer.w-container { max-width: var(--wrap); }
.cf-academy-intro { max-width: 760px; margin: 56px 0 40px; }
.cf-academy-intro p { font-size: 18px; color: var(--text); }
.cf-academy-toc { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-academy-toc a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.cf-academy-toc a:hover { border-color: var(--green); color: var(--green); }
.cf-courses { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cf-course {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid var(--ink);
  border-radius: 0 0 var(--radius) var(--radius); padding: 28px 28px 26px; background: #fff; scroll-margin-top: 110px;
}
.cf-course:target { border-top-color: var(--green); }
.cf-course-title { font-size: 22px; line-height: 1.25; font-weight: 800; font-stretch: 110%; margin: 0 0 12px; color: var(--ink); text-transform: none; letter-spacing: -0.01em; }
.cf-course-desc { font-size: 16.5px; margin: 0 0 8px; }
.cf-course-who { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.cf-course .cf-course-sub { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.cf-course-topics { list-style: none; padding: 0; margin: 0 0 20px; }
.cf-course-topics li { position: relative; padding: 4px 0 4px 26px; font-size: 15.5px; line-height: 1.5; }
.cf-course-topics li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 11px; height: 6px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.cf-course-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: auto 0 20px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.cf-course-meta dt { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 0 0 2px; }
.cf-course-meta dd { margin: 0; font-size: 14.5px; color: var(--ink); font-weight: 600; line-height: 1.35; }
.cf-course-btn { align-self: flex-start; }
.cf-academy-custom { margin: 56px 0 24px; padding: 36px; background: var(--mist); border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cf-academy-custom p { margin: 0; max-width: 64ch; }
@media (max-width: 991px) { .cf-courses { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .cf-academy-custom { grid-template-columns: 1fr; padding: 26px; }
  .cf-course { padding: 22px 20px; }
  .cf-course-meta { grid-template-columns: 1fr 1fr; }
}
.cf-course-img { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 640 / 300; margin: -28px -28px 24px; }
@media (max-width: 767px) { .cf-course-img { width: calc(100% + 40px); margin: -22px -20px 20px; } }
